/* Airport Files uses the shared AVA dark palette. */
#airport-files-mount { min-height:320px; }
.ava-files-icon { display:inline-block; flex:none; width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; vertical-align:middle; }
.ava-files-intro { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:-8px 0 24px; }
.ava-files-intro>p { margin:0; color:var(--muted); font-size:12px; line-height:1.8; }
.ava-files-access { display:inline-flex; align-items:center; gap:7px; flex:none; color:var(--accent-secondary); font-size:10px; }
.ava-files-access>.ava-files-icon { width:13px; height:13px; }
.ava-files-toolbar { display:flex; align-items:center; gap:12px; padding:15px 17px; border:1px solid var(--border); border-radius:11px; background:var(--surface); }
.ava-files-search { position:relative; flex:1; margin:0; }
.ava-files-search>.ava-files-icon { position:absolute; left:13px; top:12px; width:17px; height:17px; color:var(--muted); pointer-events:none; }
.ava-files-search input { height:42px; margin:0; padding-left:40px; font-size:12px; }
.ava-files-sort { display:flex; align-items:center; gap:10px; flex:none; margin:0; }
.ava-files-sort>span { color:var(--muted); font-size:10px; font-weight:400; }
.ava-files-sort>select { width:169px; height:42px; margin:0; font-size:11px; }
.ava-files-refresh { display:grid; place-items:center; width:42px; height:42px; padding:8px; }
.ava-files-refresh>.ava-files-icon { width:17px; height:17px; }
.ava-files-results { margin:20px 0 13px; color:var(--muted); font-size:10px; }
.ava-files-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px; }
.ava-files-folder { display:flex; flex-direction:column; min-width:0; min-height:211px; padding:22px; border:1px solid var(--border); border-radius:12px; background:var(--surface); color:var(--text); text-decoration:none; transition:background .15s,border-color .15s,transform .15s; }
.ava-files-folder:hover { transform:translateY(-2px); border-color:var(--accent-border); background:var(--surface-raised); }
.ava-files-folder-top { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:19px; }
.ava-files-folder-icon { display:grid; place-items:center; width:42px; height:39px; border-radius:9px; background:var(--violet-soft); color:var(--accent-secondary); }
.ava-files-folder-icon>.ava-files-icon { width:24px; height:24px; }
.ava-files-folder-survey { background:var(--success-soft); color:var(--success); }
.ava-files-folder-siting { background:var(--accent-soft); color:var(--accent); }
.ava-files-code { padding:4px 7px; border:1px solid var(--border); border-radius:5px; color:var(--muted); font-size:10px; font-weight:600; letter-spacing:.7px; }
.ava-files-folder-body { flex:1; min-width:0; }
.ava-files-folder-body h2 { margin:0 0 7px; overflow-wrap:anywhere; font-size:15px; font-weight:600; line-height:1.45; letter-spacing:-.2px; }
.ava-files-folder-body p { margin:0 0 15px; color:var(--muted); font-size:10px; line-height:1.75; }
.ava-files-folder-footer { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:20px; padding-top:14px; border-top:1px solid var(--border-soft); color:var(--muted); font-size:10px; }
.ava-files-folder-footer>.ava-files-icon { width:16px; height:16px; color:var(--accent); }
.ava-files-load-more { display:block; margin:24px auto 0; font-size:11px; }
.ava-files-breadcrumbs { display:flex; flex-wrap:wrap; align-items:baseline; gap:9px; margin:-3px 0 26px; color:var(--muted); font-size:11px; }
.ava-files-breadcrumbs a { color:var(--accent-secondary); text-decoration:none; }
.ava-files-breadcrumbs a:hover { text-decoration:underline; }
.ava-files-divider { color:var(--border); }
.ava-files-current { color:var(--muted); }
.ava-files-airport-heading,.ava-files-list-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:25px; }
.ava-files-airport-heading h2 { margin:0 0 10px; font-size:clamp(21px,2vw,29px); line-height:1.4; font-weight:550; letter-spacing:-.6px; }
.ava-files-airport-heading p:last-child,.ava-files-list-heading p { margin:0; color:var(--muted); font-size:12px; line-height:1.8; }
.ava-files-list-heading h2 { margin:0 0 9px; font-size:25px; font-weight:550; letter-spacing:-.5px; }
.ava-files-secondary { display:inline-flex; align-items:center; gap:8px; flex:none; font-size:11px; }
.ava-files-secondary>.ava-files-icon { width:15px; height:15px; }
.ava-files-heading-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:10px; }
.ava-files-subfolders { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:870px; }
.ava-files-subfolders .ava-files-folder { min-height:230px; padding:27px; }
.ava-files-subfolders .ava-files-folder-body h2 { font-size:20px; }
.ava-files-subfolders .ava-files-folder-body p { max-width:280px; font-size:11px; }
.ava-files-action-link { display:inline-flex; align-items:center; justify-content:center; flex:none; min-height:38px; padding:9px 13px; border:1px solid var(--accent-border); border-radius:7px; background:var(--accent-soft); color:var(--accent); font-size:11px; font-weight:550; text-decoration:none; }
.ava-files-action-link:hover { border-color:var(--accent); }
.ava-files-table-wrap { overflow:hidden; border:1px solid var(--border); border-radius:11px; background:var(--surface); }
.ava-files-table { width:100%; border-collapse:collapse; font-size:11px; }
.ava-files-table th { padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface-raised); color:var(--muted); font-size:9px; font-weight:500; text-align:left; white-space:nowrap; }
.ava-files-table td { padding:21px 18px; border-bottom:1px solid var(--border-soft); vertical-align:middle; }
.ava-files-table tr:last-child td { border-bottom:0; }
.ava-files-table tbody tr:hover { background:var(--surface-raised); }
.ava-files-file-label { display:flex; align-items:flex-start; gap:12px; }
.ava-files-file-label>.ava-files-icon { width:23px; height:23px; margin-top:4px; color:var(--accent-secondary); }
.ava-files-file-label>div { min-width:0; }
.ava-files-file-label small { display:block; margin-top:6px; color:var(--muted); font-size:9px; }
.hub-page .ava-files-name-button { display:block; min-height:0; margin:0; padding:0; border:0; border-radius:2px; background:transparent; color:var(--text); font-size:12px; font-weight:550; line-height:1.5; text-align:left; overflow-wrap:anywhere; }
.hub-page .ava-files-name-button:hover:not(:disabled) { background:transparent; color:var(--accent); }
.ava-files-person { display:flex; align-items:center; gap:9px; min-width:0; }
.ava-files-person-avatar { display:grid; place-items:center; flex:none; width:29px; height:29px; border-radius:50%; background:var(--violet-soft); color:var(--accent-secondary); font-size:9px; font-weight:600; }
.ava-files-person strong { display:block; color:var(--text); font-size:11px; font-weight:500; overflow-wrap:anywhere; }
.ava-files-person small { display:block; margin-top:3px; color:var(--muted); font-size:9px; overflow-wrap:anywhere; }
.ava-files-date { color:var(--muted); font-size:10px; }
.ava-files-row-actions { white-space:nowrap; }
.ava-files-row-actions button { min-height:32px; padding:7px 10px; font-size:10px; }
.ava-files-row-actions button+button { margin-left:6px; }
.ava-files-download>.ava-files-icon { width:14px; height:14px; }
.ava-files-feedback { min-height:18px; margin:14px 0 0; color:var(--success); font-size:11px; }
.ava-files-feedback[data-kind="error"] { color:var(--danger); }
.ava-files-delete-survey { border-color:var(--danger-soft); color:var(--danger); }
.ava-files-delete-survey:hover:not(:disabled) { border-color:var(--danger); background:var(--danger-soft); }
.ava-files-delete-dialog { width:min(490px,calc(100vw - 32px)); max-width:490px; max-height:calc(100dvh - 32px); margin:auto; padding:28px; overflow:auto; border:1px solid var(--border); border-radius:13px; background:var(--surface); color:var(--text); box-shadow:0 30px 100px #0009; color-scheme:dark; }
.ava-files-delete-dialog::backdrop { background:#050a14d9; backdrop-filter:blur(3px); }
.ava-files-delete-dialog h2 { margin:0 0 12px; font-size:23px; font-weight:550; letter-spacing:-.4px; }
.ava-files-delete-dialog > p:not(.hub-eyebrow) { margin:0; color:var(--muted); font-size:13px; line-height:1.8; }
.ava-files-delete-details { display:grid; gap:15px; margin:22px 0 0; padding:18px; border:1px solid var(--border); border-radius:8px; background:var(--field); }
.ava-files-delete-details dt { margin-bottom:4px; color:var(--muted); font-size:11px; }
.ava-files-delete-details dd { margin:0; color:var(--text); font-size:13px; line-height:1.7; overflow-wrap:anywhere; }
.ava-files-delete-dialog > .ava-files-delete-status { min-height:22px; margin-top:14px!important; font-size:12px!important; }
.ava-files-delete-dialog > .ava-files-delete-status[data-kind="error"] { color:var(--danger); }
.ava-files-delete-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-top:14px; }
.ava-files-delete-actions button { min-height:42px; font-size:12px; }
.ava-files-delete-actions .ava-files-delete-confirm { border-color:var(--danger); background:var(--danger); color:var(--bg); }
.ava-files-delete-actions .ava-files-delete-confirm:hover:not(:disabled) { border-color:var(--danger); background:var(--danger); filter:brightness(1.08); }
.ava-files-loading { display:flex; align-items:center; justify-content:center; gap:11px; min-height:250px; color:var(--muted); font-size:12px; }
.ava-files-spinner { width:19px; height:19px; border:2px solid var(--border); border-top-color:var(--accent-secondary); border-radius:50%; animation:ava-files-spin .8s linear infinite; }
@keyframes ava-files-spin { to { transform:rotate(360deg); } }
.ava-files-empty { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:265px; padding:35px 25px; text-align:center; }
.ava-files-empty>.ava-files-icon { width:35px; height:35px; margin-bottom:19px; color:var(--accent-secondary); }
.ava-files-empty h2 { margin:0 0 9px; font-size:18px; font-weight:550; }
.ava-files-empty p { max-width:470px; margin:0 0 18px; color:var(--muted); font-size:12px; line-height:1.8; }
.ava-files-error { border:1px solid var(--border); border-radius:11px; background:var(--surface); }
.ava-files-error>.ava-files-icon { color:var(--danger); }
.ava-files-error button { font-size:11px; }
.ava-files-report-dialog { width:min(960px,calc(100vw - 48px)); max-width:960px; max-height:calc(100dvh - 48px); margin:auto; padding:0; overflow:auto; border:1px solid var(--border); border-radius:14px; background:var(--bg); color:var(--text); box-shadow:0 30px 100px #0008; color-scheme:dark; }
.ava-files-report-dialog::backdrop { background:#050a14c9; backdrop-filter:blur(3px); }
.ava-files-dialog-header { position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 30px; border-bottom:1px solid var(--border); background:var(--surface); }
.ava-files-dialog-header .hub-eyebrow { margin-bottom:7px; }
.ava-files-dialog-header h2 { margin:0; font-size:24px; font-weight:550; letter-spacing:-.5px; }
.ava-files-dialog-close { display:grid; place-items:center; flex:none; width:35px; min-height:35px; padding:7px; border-color:var(--border); }
.ava-files-dialog-close>.ava-files-icon { width:17px; height:17px; }
.ava-files-dialog-body { padding:24px 30px 32px; }
.ava-files-report-actions { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:22px; }
.ava-files-report-actions p { margin:0; color:var(--muted); font-size:11px; }
.ava-files-report-actions button { display:inline-flex; align-items:center; gap:9px; font-size:11px; }
.ava-files-report-actions button>.ava-files-icon { width:15px; height:15px; }
.ava-files-report-meta { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 30px; margin:0 0 27px; padding:23px; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.ava-files-report-meta dt { margin-bottom:5px; color:var(--muted); font-size:10px; }
.ava-files-report-meta dd { margin:0; font-size:12px; overflow-wrap:anywhere; }
.ava-files-final-score { display:grid; grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr); gap:24px; margin-bottom:22px; padding:23px; border:1px solid var(--accent-border); border-radius:10px; background:var(--accent-soft); }
.ava-files-final-score-value { display:block; color:var(--accent); font-size:30px; font-weight:600; line-height:1.3; letter-spacing:-.8px; }
.ava-files-final-score p:not(.hub-eyebrow) { margin:8px 0 0; font-size:12px; line-height:1.8; }
.ava-files-review-source { align-self:center; color:var(--muted); }
.ava-files-review-source > strong { color:var(--text); font-size:13px; font-weight:550; }
.ava-files-report-jumps { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px; }
.ava-files-report-jumps button { min-height:38px; padding:8px 15px; font-size:12px; }
.ava-files-report-section[data-report-jump] { scroll-margin-top:115px; }
.ava-files-report-part { margin:31px 0 13px; color:var(--accent-secondary); font-size:12px; font-weight:600; }
.ava-files-report-section { margin-bottom:18px; padding:24px; border:1px solid var(--border); border-radius:10px; background:var(--surface); }
.ava-files-report-section h3 { margin:0 0 20px; font-size:17px; font-weight:550; line-height:1.5; }
.ava-files-report-section h4 { margin:23px 0 10px; padding-top:19px; border-top:1px solid var(--border-soft); font-size:12px; font-weight:550; line-height:1.8; }
.ava-files-report-section h3+h4 { margin-top:0; padding-top:0; border-top:0; }
.ava-files-answers { display:grid; gap:15px; margin:0; }
.ava-files-answer dt { margin-bottom:4px; color:var(--muted); font-size:10px; font-weight:500; }
.ava-files-answer dd { margin:0; font-size:12px; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; }
.ava-files-answer.is-empty dd { color:var(--muted); font-style:italic; font-size:11px; }
.ava-files-answer-signal dd { color:var(--accent-secondary); }
.ava-files-score-section { overflow-x:auto; }
.ava-files-score-table { width:100%; border-collapse:collapse; font-size:11px; }
.ava-files-score-table th { padding:10px 8px; border-bottom:1px solid var(--border); color:var(--muted); font-size:10px; font-weight:500; text-align:left; }
.ava-files-score-table td { padding:12px 8px; border-bottom:1px solid var(--border-soft); }
.ava-files-score-table td small { display:block; max-width:300px; margin-top:4px; color:var(--muted); font-size:10px; line-height:1.6; }
.ava-files-score-table tr:last-child td { border:0; }
.ava-files-score-explanation { margin:-7px 0 14px; color:var(--muted); font-size:11px; line-height:1.8; }
.ava-files-report-total { margin:15px 0 0; padding-top:16px; border-top:1px solid var(--border); color:var(--accent); font-size:14px; font-weight:550; }
.ava-files-template-warning { margin:0 0 20px; padding:14px 16px; border:1px solid var(--accent-border); border-radius:8px; background:var(--accent-soft); color:var(--muted); font-size:11px; line-height:1.8; }
.ava-files-sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@media(min-width:1500px) { .ava-files-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } .ava-files-subfolders { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:1200px) { .ava-files-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ava-files-intro { align-items:flex-start; } .ava-files-access { margin-top:4px; font-size:9px; } .ava-files-table th,.ava-files-table td { padding-left:13px; padding-right:13px; } .ava-files-person-avatar { display:none; } }
@media(max-width:1030px) and (min-width:761px),(max-width:620px) {
  .ava-files-table,.ava-files-table tbody,.ava-files-table tr,.ava-files-table td { display:block; }
  .ava-files-table thead { display:none; }
  .ava-files-table tbody tr { padding:19px; border-bottom:1px solid var(--border); }
  .ava-files-table tbody tr:last-child { border-bottom:0; }
  .ava-files-table td { padding:0; border:0; }
  .ava-files-table .ava-files-owner { margin:16px 0 11px 35px; }
  .ava-files-person-avatar { display:none; }
  .ava-files-table .ava-files-date { margin:0 0 17px 35px; }
  .ava-files-table .ava-files-date::before { content:attr(data-label) ": "; }
  .ava-files-table .ava-files-row-actions { margin-left:35px; }
}
@media(max-width:760px) { .ava-files-intro { flex-direction:column; align-items:flex-start; gap:10px; } .ava-files-access { margin:0; } .ava-files-toolbar { gap:9px; padding:12px; } .ava-files-sort>span { display:none; } .ava-files-sort>select { width:149px; } .ava-files-dialog-header { padding:21px; } .ava-files-dialog-header h2 { font-size:21px; } .ava-files-dialog-body { padding:21px; } }
@media(max-width:520px) {
  .ava-files-final-score { grid-template-columns:minmax(0,1fr); gap:17px; padding:19px 17px; }
  .ava-files-delete-dialog { padding:23px 20px; }
  .ava-files-toolbar { flex-wrap:wrap; }
  .ava-files-search { flex-basis:100%; }
  .ava-files-sort { flex:1; }
  .ava-files-sort>span { display:block; font-size:10px; }
  .ava-files-sort>select { width:auto; flex:1; }
  .ava-files-grid { grid-template-columns:minmax(0,1fr); gap:13px; }
  .ava-files-folder { min-height:194px; padding:21px; }
  .ava-files-folder-top { margin-bottom:16px; }
  .ava-files-folder-footer { margin-top:17px; }
  .ava-files-airport-heading,.ava-files-list-heading { align-items:flex-start; gap:16px; }
  .ava-files-airport-heading { flex-direction:column; }
  .ava-files-list-heading { flex-wrap:wrap; }
  .ava-files-list-heading h2 { font-size:23px; }
  .ava-files-subfolders .ava-files-folder { min-height:215px; padding:23px; }
  .ava-files-report-dialog { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); border-radius:11px; }
  .ava-files-dialog-header { padding:19px 17px; }
  .ava-files-dialog-header h2 { font-size:19px; }
  .ava-files-dialog-body { padding:18px 14px; }
  .ava-files-report-actions { align-items:flex-start; gap:10px; }
  .ava-files-report-actions p { max-width:135px; line-height:1.8; }
  .ava-files-report-actions button { font-size:10px; }
  .ava-files-report-actions .ava-files-heading-actions { flex-direction:column; align-items:stretch; }
  .ava-files-report-meta { grid-template-columns:1fr; gap:17px; padding:18px; }
  .ava-files-report-section { padding:19px 16px; }
  .ava-files-report-section h3 { font-size:16px; }
  .ava-files-score-table { min-width:355px; }
}
@media(prefers-reduced-motion:reduce) { .ava-files-folder { transition:none; } .ava-files-spinner { animation:none; } }
