.files-page{background:#f2f6f8;color:#133b52}
.files-hero{padding:58px 0 42px;background:linear-gradient(115deg,#082d43,#0b4057);color:#fff;position:relative;overflow:hidden}
.files-hero:after{content:"";position:absolute;width:470px;height:470px;border:1px solid #91c3cb26;border-radius:50%;right:8%;top:-150px;box-shadow:0 0 0 60px #91c3cb08,0 0 0 120px #91c3cb05;pointer-events:none}
.files-hero .shell{position:relative;z-index:1}
.files-eyebrow{display:flex;align-items:center;gap:9px;font-size:.72rem;letter-spacing:.14em;font-weight:700;color:#a6d8de}
.files-eyebrow svg{width:17px;height:17px}
.files-hero h1{font-size:clamp(3.4rem,6.5vw,5.4rem);line-height:.98;margin:20px 0;letter-spacing:-.015em}
.files-hero h1 span{color:#b6d7e0}
.files-hero p{max-width:540px;font-size:1rem;line-height:1.8;color:#d7e5eb}
.files-hero-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:26px}
.files-hero-actions .button span{font-size:1.35rem;line-height:1}
.files-text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;text-decoration:none;color:#174963;font:inherit;font-size:.88rem;font-weight:700;border:0;padding:0;background:none;cursor:pointer}
.files-hero .files-text-link{color:#fff}
.files-text-link:hover{text-decoration:underline;text-underline-offset:4px}
.files-content{padding:42px 0 72px}
.files-shell{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:36px;align-items:start}
.files-panel{border:1px solid #d7e3e9;background:#fff;border-radius:16px;box-shadow:0 15px 40px #133b5206;min-width:0;overflow:hidden}
.files-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:25px 28px 22px}
.files-kicker{font-size:.64rem;letter-spacing:.14em;font-weight:800;color:#6d8796}
.files-panel-heading h2{font-size:2.1rem;margin:5px 0 0;line-height:1.15}
.files-refresh{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid #dae5eb;border-radius:9px;padding:10px 13px;background:#fff;color:#285268;font:inherit;font-size:.8rem;cursor:pointer;flex-shrink:0}
.files-refresh svg{width:17px;height:17px}
.files-refresh:hover{background:#f2f7f9;border-color:#86a9ba}
.files-refresh:disabled{opacity:.6;cursor:wait}
.files-tabs{display:flex;gap:5px;border-bottom:1px solid #e3ebef;padding:0 28px}
.files-tabs[hidden],.files-tabs button[hidden]{display:none}
.files-tabs button{background:none;border:0;border-bottom:2px solid transparent;color:#647f8d;font:inherit;font-size:.88rem;font-weight:700;padding:15px 4px;min-height:48px;margin-right:20px;cursor:pointer}
.files-tabs button[aria-selected=true]{color:#113e55;border-bottom-color:#cd590e}
.files-status{font-size:.78rem;line-height:1.65;color:#577383;padding:0 28px 15px}
.files-tabs:not([hidden])+.files-status{padding-top:15px}
.files-status.is-error{color:#a33029}
.files-results{padding:0 28px 26px;min-height:220px}
.files-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:190px;color:#648090;font-size:.88rem}
.files-loading-dot{width:8px;height:8px;border-radius:50%;background:#379ca8;box-shadow:0 0 0 6px #379ca815}
.files-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px 5px 23px}
.files-empty-icon{display:flex;align-items:center;justify-content:center;width:62px;height:62px;margin-bottom:16px;border-radius:18px;background:#edf5f7;color:#598898;font-size:1.75rem;font-weight:400}
.files-empty h3{font-size:1.8rem;line-height:1.15;margin:0 0 10px}
.files-empty p{color:#658090;font-size:.875rem;line-height:1.8;max-width:430px;margin:0 0 21px}
.files-empty .button{min-height:44px}
.files-more{margin-top:18px;min-height:44px}
.files-panel-foot{display:flex;align-items:flex-start;gap:10px;background:#f8fafb;border-top:1px solid #e6edf0;padding:17px 28px;color:#637e8c}
.files-panel-foot svg{width:16px;height:16px;flex-shrink:0;margin-top:3px}
.files-panel-foot p{margin:0;font-size:.74rem;line-height:1.7}
.files-help{padding:12px 0}
.files-help-icon{width:46px;height:46px;background:#e2edf1;display:flex;align-items:center;justify-content:center;border-radius:13px;margin-bottom:18px;color:#32677b}
.files-help-icon svg{width:24px;height:24px}
.files-help h2{font-size:2rem;line-height:1.12;margin:0 0 14px}
.files-help p{font-size:.875rem;line-height:1.8;color:#627e8d;margin:0 0 18px}
.files-help-note{padding-top:24px;margin-top:24px;border-top:1px solid #d6e3e9}
.files-help-note strong{font-size:.82rem}
.files-help-note p{font-size:.76rem;line-height:1.8;margin-top:9px}
.files-privacy-link{font-size:.75rem;font-weight:600;color:#3d6a80;text-decoration:underline;text-underline-offset:4px}
.file-record{border:1px solid #dce6eb;border-radius:11px;padding:18px;margin-top:12px;background:#fff;overflow-wrap:anywhere}
.file-record-head{display:flex;gap:12px;align-items:flex-start}
.file-record-icon{width:36px;height:42px;flex-shrink:0;border:1px solid #c4d9e2;border-radius:5px 10px 5px 5px;display:flex;align-items:center;justify-content:center;color:#497b90;background:#f1f7fa;font-size:.66rem;font-weight:800;letter-spacing:.04em}
.file-record-title{flex:1;min-width:0}
.file-record h3{font-family:var(--font-body),sans-serif;font-size:.94rem;font-weight:700;line-height:1.5;margin:0;color:#173f54}
.file-record-meta{margin:3px 0 0;font-size:.71rem;line-height:1.7;color:#6c8491}
.file-record-state{font-size:.64rem;font-weight:700;white-space:nowrap;letter-spacing:.02em;background:#eaf4f3;color:#347165;padding:5px 8px;border-radius:5px}
.file-record-details{display:grid;grid-template-columns:90px minmax(0,1fr);gap:6px 14px;margin:17px 0 0;font-size:.76rem;line-height:1.7}
.file-record-details dt{color:#738b97}.file-record-details dd{margin:0;color:#355d71;white-space:pre-wrap;overflow-wrap:anywhere}
.file-record-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;border-top:1px solid #eaf0f3;margin-top:16px;padding-top:10px}
.file-record-actions a,.file-record-actions button{font:inherit;font-size:.76rem;font-weight:700;min-height:38px;display:inline-flex;align-items:center;border:0;padding:3px 0;background:none;text-decoration:none;cursor:pointer;color:#1d5a75}
.file-record-actions button.file-delete{margin-left:auto;color:#8d5751;font-weight:500}
.file-record-actions button:disabled{opacity:.5;cursor:wait}
.file-delete-confirm{padding:14px;background:#fcf5f3;border:1px solid #e9d4cd;border-radius:8px;margin-top:10px}
.file-delete-confirm p{font-size:.76rem;line-height:1.65;margin:0 0 10px;color:#82554b}
.file-delete-confirm div{display:flex;gap:10px;flex-wrap:wrap}
.file-delete-confirm button{min-height:40px;padding:8px 13px;border:1px solid #d4b6ad;border-radius:6px;background:#fff;color:#75483f;font:inherit;font-size:.75rem;cursor:pointer}
.file-delete-confirm button:first-child{background:#8a4036;border-color:#8a4036;color:#fff}
.file-inline-status{font-size:.76rem;line-height:1.65;color:#915246;margin:10px 0 0}
.files-page :focus-visible{outline:3px solid #2a8da9;outline-offset:4px}
.files-hero :focus-visible{outline-color:#8fdee3}
@media(max-width:960px){.files-shell{grid-template-columns:minmax(0,1fr) 230px;gap:25px}.files-panel-heading,.files-results{padding-left:22px;padding-right:22px}.files-status,.files-tabs{padding-left:22px;padding-right:22px}}
@media(max-width:760px){.files-hero{padding:38px 0 34px}.files-hero h1{font-size:3.75rem}.files-hero p{font-size:.9rem;max-width:340px}.files-hero:after{right:-210px}.files-shell{grid-template-columns:1fr;gap:27px}.files-content{padding:25px 0 42px}.files-panel-heading{padding:22px 18px 18px}.files-panel-heading h2{font-size:1.85rem}.files-refresh{padding:10px}.files-refresh span{display:none}.files-results,.files-status,.files-tabs{padding-left:18px;padding-right:18px}.files-panel-foot{padding:16px 18px}.files-help{padding:0 5px}.files-help h2{font-size:1.8rem}.files-help-note{margin-top:18px;padding-top:18px}.files-eyebrow{font-size:.63rem}.file-record{padding:14px}.file-record-head{flex-wrap:wrap;gap:10px}.file-record-title{min-width:130px}.file-record-state{margin-left:46px;margin-top:-4px}.file-record-details{grid-template-columns:70px 1fr;gap:5px 10px}.files-hero-actions{gap:21px}.files-empty{padding-top:18px}.files-empty h3{font-size:1.6rem}}
@media(prefers-reduced-motion:reduce){.files-page *{scroll-behavior:auto}}
