@charset "UTF-8";
/* A silver workspace, with clear type and glass that has weight and an edge. */
:root { --ink:#20232a; --secondary:#69717d; --muted:#7f8793; --canvas:#f3f5f8; --line:#e1e6ed; --blue:#0071e3; --blue-hover:#0077ed; --header:72px; --sidebar:224px; font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif; }
body { background:radial-gradient(ellipse 70% 650px at 100% 5%,#dae9fa 0,transparent 75%),radial-gradient(ellipse 45% 600px at 0 100%,#e4e9f4 0,transparent 90%),#f3f5f8; background-attachment:fixed; color:var(--ink); }
.topbar { height:var(--header); padding:0 30px; gap:30px; border-bottom:1px solid #ffffffb8; background:#fafcffa8; box-shadow:0 1px #c0cddd24; backdrop-filter:blur(28px) saturate(170%); -webkit-backdrop-filter:blur(28px) saturate(170%); }
.brand { gap:10px; min-width:164px; }
.brand strong { font-size:20px; font-weight:650; letter-spacing:-.7px; }
.brand-mark { width:34px; height:34px; color:white; background:linear-gradient(145deg,#4fa4ff,#0070df); border:1px solid #89c0ff; border-radius:11px; box-shadow:0 3px 8px #0866c321,inset 0 1px 1px #ffffff7a; }
.brand-mark .icon { width:24px; height:24px; stroke-width:1.6; }
.top-location { color:#737d8c; font-size:11px; gap:8px; }
.top-location .status-dot { background:#b1bac5; }
.search-box { height:37px; max-width:310px; background:#dfe5ed66; border:1px solid #ffffffb0; border-radius:11px; box-shadow:inset 0 1px 2px #677f9b05; }
.search-box input { font-size:12px; }
.search-box:focus-within { border-color:#85b7f0; background:#ffffffd9; box-shadow:0 0 0 3px #0071e310; }
.top-actions { gap:20px; }
.public-badge { font-size:11px; color:#6c798a; }
.status-dot { background:#70a894; }
.login-button { min-height:36px; padding:9px 18px; font-size:12px; border:1px solid #006cdf; background:linear-gradient(#1681ee,#0071e3); box-shadow:0 3px 7px #0071e314,inset 0 1px #ffffff26; }
.login-button:hover { background:#0077ed; }
.sidebar { width:var(--sidebar); top:var(--header); padding:32px 16px 20px; border-right:1px solid #ffffffb0; background:#f8fbff7d; box-shadow:1px 0 #b6c4d31a; backdrop-filter:blur(30px) saturate(140%); -webkit-backdrop-filter:blur(30px) saturate(140%); }
.sidebar-heading { padding:0 14px; }
.sidebar-heading>span { font-size:15px; font-weight:600; letter-spacing:0; }
.sidebar-heading small { font-size:8px; letter-spacing:1.8px; color:#8c98a9; }
.space-label { font-size:10px; color:#7f8a99; margin:12px 14px 27px; }
.nav-group { gap:5px; }
.nav-item { min-height:45px; border:1px solid transparent; padding:11px 14px; gap:12px; font-size:13px; color:#647081; border-radius:11px; }
.nav-item .icon { width:18px; height:18px; color:#8290a2; }
.nav-item:hover { background:#ffffff8a; }
.nav-item.active { color:#006fdf; font-weight:550; border-color:#fff; background:linear-gradient(120deg,#fff,#ffffffb3); box-shadow:0 4px 15px #4c678209,inset 0 1px white; }
.nav-count { font-size:10px; border-radius:5px; color:#207bdb; background:#e7f1ff; padding:2px 6px; }
.nav-label { margin:29px 15px 12px; color:#8793a3; font-size:10px; }
.categories-nav { gap:2px; }
.sidebar-bottom { padding-top:32px; }
.public-note { padding:21px 18px; border:1px solid #ffffffef; border-radius:17px; background:linear-gradient(135deg,#ffffffb8,#ffffff47); box-shadow:0 5px 18px #7083a005,inset 0 1px white; }
.note-icon { color:#7495bf; margin-bottom:13px; }
.note-icon .icon { width:26px; height:26px; }
.public-note strong { font-size:13px; color:#596675; font-weight:550; }
.public-note p { font-size:11px; color:#7b8798; margin:9px 0 15px; line-height:1.85; }
.public-note .text-button { color:#517daa; font-size:10px; }
.storage-info { margin-top:18px; padding:19px 10px 14px; border-color:#d8e0ebaa; }
.storage-info>span { font-size:10px; color:#737f8f; } .storage-info b { color:#5c6a7a; }
.storage-info small { color:#8a94a3; font-size:9px; }
.sidebar-footer { padding:0 10px; font-size:8px; color:#919cac; }
.workspace { margin-left:var(--sidebar); padding-top:var(--header); }
main { max-width:1440px; margin:auto; padding:34px 40px 0; }
.page-heading { align-items:flex-end; margin-bottom:26px; gap:20px; }
.page-heading>div { min-width:0; }
.eyebrow { color:#8390a2; font-size:9px; letter-spacing:2px; font-weight:500; }
.page-heading h1 { font-size:32px; font-weight:650; letter-spacing:-1.2px; line-height:1.3; margin:9px 0 8px; overflow-wrap:anywhere; }
.page-heading p { font-size:13px; color:#6a788a; line-height:1.75; overflow-wrap:anywhere; }
.collection-count { display:flex; flex-direction:column; align-items:flex-end; gap:6px; padding-bottom:2px; flex-shrink:0; }
.collection-label { font-size:10px; color:#8290a1; }
.collection-count>div { display:flex; align-items:baseline; gap:8px; }
.collection-count strong { font-size:30px; line-height:1; font-weight:350; letter-spacing:-1px; color:#57667c; font-variant-numeric:tabular-nums; }
.collection-count>div>span { font-size:10px; color:#8390a1; }
.collection-hero { min-height:294px; border:1px solid #fff; border-radius:24px; background:radial-gradient(ellipse at 87% 64%,#bfdafa85,transparent 48%),linear-gradient(120deg,#ffffffdb 20%,#f0f7ffaa 70%,#e5f0ffb0); box-shadow:0 16px 35px -22px #4274b740,inset 0 1px 1px white; margin-bottom:29px; isolation:isolate; }
.collection-hero::after { content:""; position:absolute; inset:1px; border-radius:23px; border:1px solid #ffffff52; pointer-events:none; }
.collection-copy { position:relative; z-index:2; padding:29px 37px 32px; width:55%; }
.hero-kicker { display:flex; align-items:center; gap:7px; font-size:10px; color:#6885ab; letter-spacing:1px; }
.hero-kicker>span { width:5px; height:5px; border-radius:50%; background:#4798ed; box-shadow:0 0 0 3px #73b7ff18; }
.collection-copy h2 { font-size:42px; line-height:1.21; letter-spacing:-1.7px; margin:15px 0 12px; font-weight:650; }
.collection-copy h2 span { color:#4386cd; background:linear-gradient(95deg,#2673c5,#77a6d8); background-clip:text; -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.collection-copy p { color:#677e99; font-size:13px; line-height:1.85; margin:0 0 19px; max-width:none; }
.collection-copy .hero-link { display:inline-flex; gap:18px; color:#fff; background:linear-gradient(#1c88f0,#0874df); border:1px solid #1781e6; border-radius:100px; padding:10px 17px; font-size:11px; box-shadow:0 4px 10px #1676cc12,inset 0 1px #ffffff25; text-decoration:none; transition:box-shadow .2s,transform .2s; }
.collection-copy .hero-link:hover { box-shadow:0 6px 15px #1676cc30; transform:translateY(-1px); }
.hero-link .icon { width:14px; height:14px; }
.collection-art { position:absolute; right:-8px; top:-19px; bottom:0; width:51%; max-width:600px; pointer-events:none; }
.collection-art>img { position:absolute; width:100%; height:100%; object-fit:contain; }
.art-badge { position:absolute; display:flex; align-items:center; justify-content:center; gap:9px; bottom:33px; left:44%; transform:translateX(-50%); padding:12px 18px; white-space:nowrap; color:#5b7fa9; font-size:10px; background:linear-gradient(120deg,#ffffffd9,#f1f8ff9c); border:1px solid white; border-radius:13px; backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); box-shadow:0 7px 20px #466c9e0d,inset 0 1px #fff; }
.art-badge .icon { width:15px; height:15px; } .art-badge i { width:1px; height:9px; background:#b5c8df; }
.hero-edition { position:absolute; right:28px; bottom:17px; font-size:7px; color:#899eb7; letter-spacing:1.5px; }
.admin-upload { margin:0 0 29px; min-height:253px; padding:33px 39px; gap:28px; border:1px solid #fff; border-radius:24px; background:radial-gradient(ellipse at 95% 90%,#b6d7ff66,transparent 55%),linear-gradient(120deg,#ffffffed,#eef6ffc4); box-shadow:0 14px 30px -22px #4274b740,inset 0 1px #fff; }
.admin-upload::after { inset:10px; border-color:#b9cfe570; border-radius:17px; }
.upload-eyebrow { color:#7189a5; font-size:10px; }
.admin-upload h2 { margin:14px 0 12px; font-size:34px; color:#25354b; letter-spacing:-1px; line-height:1.35; }
.admin-upload h2 span { display:block; color:#5d8fc4; }
.admin-upload p { font-size:12px; color:#75869b; max-width:none; }
.upload-destination { margin-top:17px; font-size:10px; color:#8191a4; }
.upload-destination strong { color:#607793; }
.admin-upload-action { padding:0 20px; gap:12px; }
.upload-orb { display:grid; place-items:center; width:66px; height:66px; border:1px solid #fff; border-radius:20px; background:linear-gradient(140deg,#ffffffed,#bedbff8c); box-shadow:0 7px 18px #5290cc12,inset 0 1px white; color:#5992d2; margin-bottom:5px; transform:rotate(-6deg); filter:none; }
.upload-orb .icon { width:32px; height:32px; stroke-width:1.4; }
.upload-main-button { min-height:46px; padding:12px 25px; font-size:13px; background:linear-gradient(#1987ef,#0574e3); border:1px solid #0876e4; box-shadow:0 5px 13px #0071e31a,inset 0 1px #ffffff30; }
.admin-upload-action>span:last-child { font-size:10px; color:#7c8ea5; }
.category-section-heading { display:flex; justify-content:space-between; margin:0 1px 13px; }
.category-section-heading h2 { font-size:13px; color:#596777; letter-spacing:0; font-weight:550; }
.category-section-heading>span { font-size:10px; color:#8b97a6; }
.category-cards { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:0 0 31px; }
.category-card { min-height:85px; padding:18px 19px; gap:13px; border:1px solid #fff; border-radius:17px; background:linear-gradient(125deg,#ffffffda,#ffffff80); box-shadow:0 8px 20px -17px #49628224,inset 0 1px white; }
.category-card:hover { transform:translateY(-3px); background:#fff; box-shadow:0 10px 23px -12px #42679329; }
.category-icon { width:38px; height:43px; border-radius:11px; box-shadow:inset 0 1px #ffffffb0,0 2px 5px #38506b06; border:1px solid #ffffffab; }
.category-icon .icon { width:24px; height:24px; stroke-width:1.4; }
.category-icon.document { color:#448cdf; background:linear-gradient(#eaf3ff,#deedff); }
.category-icon.image { color:#bd9361; background:linear-gradient(#fff7e9,#f6ebd8); }
.category-icon.video { color:#5f9d8e; background:linear-gradient(#eff9f6,#e0f0ea); }
.category-icon.audio { color:#9b86c4; background:linear-gradient(#f5f1fc,#ebe5f7); }
.category-copy { gap:6px; } .category-copy strong { font-size:13px; color:#536174; font-weight:550; }
.category-copy small { font-size:11px; color:#718097; }
.category-arrow { color:#a4b0c0; }
.files-toolbar { gap:16px; margin-bottom:16px; }
.files-heading { gap:10px; }
.files-heading h2 { font-size:21px; letter-spacing:-.6px; font-weight:600; }
.files-heading>span { font-size:10px; color:#7f8ea2; background:#e5ebf37a; border:1px solid #ffffff70; border-radius:6px; padding:4px 7px; }
.file-controls { gap:10px; }
.sort-label select { font-size:11px; color:#7d8999; }
.view-switch { border:1px solid #dce3ed; background:#e3e9f299; border-radius:9px; padding:3px; }
.view-switch .active { color:#4b7bae; background:#ffffffed; box-shadow:0 1px 4px #526c8910; }
.button { border-radius:10px; font-size:12px; border-color:#d5dfeb; }
.button.primary { background:#0071e3; border-color:#0071e3; }
.button.subtle { background:#ffffffa0; color:#69809a; border-color:#fff; }
.file-controls .button { font-size:11px; padding:8px 13px; min-height:35px; }
.file-content { border:1px solid #fff; border-radius:18px; background:#ffffffbb; box-shadow:0 9px 30px -22px #47628528,inset 0 1px white; }
.file-table th { height:44px; padding-top:13px; padding-bottom:13px; font-size:11px; color:#708199; background:#f6f9fd99; border-color:#e1e8f3b0; }
.file-table td { height:77px; font-size:12px; color:#6c7b91; border-color:#e9eef5; }
.file-date { font-size:11px!important; }
.file-table tr:hover td { background:#edf5ff70; }
.entry-name { gap:14px; } .entry-text { gap:5px; }
.entry-label { font-size:14px; color:#414e63; line-height:1.55; font-weight:450; }
.entry-subtitle { font-size:11px; color:#78869a; }
.entry-mobile-size { display:none; }
.file-type-icon { width:34px; flex-basis:34px; height:40px; border-radius:7px; border:1px solid #ffffffab; box-shadow:inset 0 1px #ffffff9c; }
.file-type-icon.document { color:#6c96c8; background:#eaf1fa; } .file-type-icon.image { color:#aa90c3; background:#f0ebf7; }
.file-type-icon.archive { color:#b2986d; background:#f8f1e7; }
.file-type-icon.folder { background:linear-gradient(145deg,#9dceff,#75aef0); border:0; box-shadow:inset 0 1px #d3eaff,0 2px 3px #579be010; }
.file-type-icon.folder:before { background:#98c7f6; }
.row-actions .icon-button { color:#91a2b6; width:31px; height:32px; }
.row-actions .row-download { color:#5d92cf; }
.row-actions .icon { width:17px; height:17px; }
.row-actions .icon-button:hover { background:#e6f0ff; color:#0071e3; }
.row-actions .delete-action:hover { color:#c1534d; background:#fff0ed; }
.file-grid { background:#ffffff66; padding:21px; gap:17px; }
.file-card { border:1px solid #e7edf5; border-radius:13px; background:linear-gradient(150deg,#fff,#f7faff); }
.file-card:hover { box-shadow:0 7px 20px #31558512; }
.file-card-footer { background:#f9fbfd; border-color:#e8eef6; }
.file-card-main { min-height:157px; }
.file-card-main .entry-label { font-size:12px; }
.folder-path { font-size:12px; margin-bottom:17px; color:#72839a; }
.folder-path button { color:#527dab; }
.list-footer { font-size:10px; color:#909cac; min-height:46px; }
.page-footer { margin-top:18px; padding:23px 0; border-color:#dce4ee; color:#98a2af; font-size:9px; }
.page-footer .text-button { color:#8491a3; font-size:10px; }
body[data-context="browse"] .collection-hero,body[data-context="browse"] .category-cards,body[data-context="browse"] .category-section-heading { display:none; }
body[data-context="browse"] .page-heading { margin-bottom:31px; }
body[data-context="browse"] .admin-upload { min-height:0; padding:24px 33px; }
body[data-context="browse"] .admin-upload h2 { font-size:25px; }
body[data-context="browse"] .admin-upload h2 span { display:inline; }
body[data-context="browse"] .upload-orb { display:none; }
.modal { border:1px solid #ffffffed; border-radius:24px; background:#f9fcffe6; box-shadow:0 25px 100px #172c4c38,inset 0 1px white; backdrop-filter:blur(35px) saturate(160%); -webkit-backdrop-filter:blur(35px) saturate(160%); }
.modal::backdrop,.preview-modal::backdrop { background:#2030474d; backdrop-filter:blur(12px) saturate(85%); -webkit-backdrop-filter:blur(12px) saturate(85%); }
.modal input { background:#ffffffc9; border-color:#d4dfed; }
.modal input:focus { border-color:#88b6ed; box-shadow:0 0 0 3px #0071e310; }
.modal-symbol { background:linear-gradient(135deg,#f5faff,#dfeeff); border:1px solid white; color:#6395cf; }
.danger-symbol { color:#c4675c; background:#fff0ee; }
.toast-region { left:calc(50% + var(--sidebar)/2); }
.toast { color:#4c617c; background:#fafdffe8; border:1px solid white; box-shadow:0 8px 30px #2538581a; backdrop-filter:blur(25px); -webkit-backdrop-filter:blur(25px); }
.toast.error { color:#a13a31; background:#fff1edf2; border-color:#fff; }
.upload-item-head { flex-wrap:wrap; gap:7px; } .upload-item-name { flex:1; min-width:130px; }
.upload-item-status { color:#7c8c9f; font-variant-numeric:tabular-nums; }
.upload-progress { height:5px; background:#e5ebf5; } .upload-progress>span { background:#0071e3; }
.preview-modal { width:min(1180px,calc(100vw - 56px)); height:min(760px,calc(100dvh - 72px)); padding:0; border:1px solid #ffffffec; border-radius:22px; overflow:hidden; background:#f9f9fbdc; color:#4c5360; box-shadow:0 35px 110px #1c293d44; backdrop-filter:blur(35px) saturate(160%); -webkit-backdrop-filter:blur(35px) saturate(160%); }
.preview-topbar { height:60px; display:flex; align-items:center; justify-content:space-between; padding:0 24px; border-bottom:1px solid #dbe0e64d; background:#ffffff55; }
.preview-caption { display:flex; align-items:center; gap:9px; font-size:10px; letter-spacing:1.2px; color:#8d97a7; }
.preview-caption>span:last-child { letter-spacing:0; font-size:11px; border-left:1px solid #d9dfe7; padding-left:13px; margin-left:5px; }
.preview-dot { width:6px; height:6px; border-radius:50%; background:#96accb; }
.preview-topbar .icon-button { color:#8f9aab; background:#ffffff7a; border-radius:50%; }
.preview-layout { display:grid; grid-template-columns:minmax(0,1fr) 280px; height:calc(100% - 60px); }
.preview-stage { display:flex; align-items:center; justify-content:center; min-width:0; min-height:0; padding:28px; overflow:auto; position:relative; background:#e9edf380; }
.preview-sidebar { padding:32px 27px; border-left:1px solid #dbe1e966; overflow:auto; display:flex; flex-direction:column; }
.preview-sidebar h2 { font-size:20px; font-weight:550; line-height:1.55; letter-spacing:-.6px; margin:13px 0 0; color:#344157; }
.preview-sidebar .eyebrow { font-size:8px; margin-top:10px; color:#929da9; }
.preview-sidebar .file-details { margin:28px 0; font-size:11px; }
.preview-sidebar .file-details>div { gap:12px; margin-bottom:18px; }
.preview-sidebar .file-details dt { color:#959dac; }
.preview-sidebar .file-details dd { color:#6c7b91; }
.preview-actions { display:flex; flex-direction:column; gap:10px; margin-top:auto; padding-top:20px; }
.preview-actions .button { justify-content:center; min-height:42px; font-size:12px; }
.preview-footnote { display:flex; justify-content:center; align-items:center; gap:5px; font-size:10px; color:#a0a8b5; text-align:center; margin:18px 0 0; }
.preview-footnote .icon { width:12px; height:12px; }
.preview-image { max-width:100%; max-height:100%; object-fit:contain; border-radius:3px; box-shadow:0 10px 30px #1c2f5110; }
.preview-video { max-width:100%; max-height:100%; background:#171b23; border-radius:5px; }
.preview-audio { width:min(430px,100%); display:flex; flex-direction:column; align-items:center; gap:30px; }
.audio-art { height:190px; width:190px; display:grid; place-items:center; border:1px solid #ffffffdd; border-radius:21px; background:linear-gradient(135deg,#fff9,#c8d6ec80); color:#90a7c7; box-shadow:0 20px 45px #4b64831a; }
.audio-art .icon { width:65px; height:65px; stroke-width:1; }
.preview-audio audio { max-width:100%; }
.preview-stage:has(.preview-text),.preview-stage:has(.archive-list) { display:block; }
.preview-text { padding:28px; margin:0; min-height:100%; border:1px solid #ffffffcc; border-radius:5px; background:#ffffffe0; color:#536178; font:13px/1.95 "Cascadia Code","SFMono-Regular",Consolas,monospace; white-space:pre-wrap; overflow-wrap:anywhere; tab-size:4; }
.preview-note { margin:0 0 14px; color:#8b99ad; font-size:11px; line-height:1.8; }
.preview-placeholder { max-width:370px; padding:25px; display:flex; flex-direction:column; align-items:center; text-align:center; gap:15px; }
.preview-placeholder>.icon { width:63px; height:63px; stroke-width:1; color:#a4b3c8; }
.preview-placeholder h3 { font-size:18px; font-weight:500; margin:0; color:#72849f; }
.preview-placeholder p { font-size:12px; line-height:1.9; margin:0; color:#8f9db2; }
.archive-list { padding:0; list-style:none; border:1px solid #ffffffcc; border-radius:8px; background:#ffffffc0; margin:0; overflow:hidden; }
.archive-list li { display:flex; align-items:center; gap:10px; padding:13px 17px; border-bottom:1px solid #e8edf4; font-size:12px; }
.archive-list li:last-child { border:0; }
.archive-list .icon { width:17px; height:17px; color:#8fa6c5; }
.archive-name { flex:1; min-width:0; overflow-wrap:anywhere; color:#617898; }
.archive-size { color:#9aa7bb; flex-shrink:0; font-size:10px; }
.pdf-reader { width:100%; height:100%; display:flex; flex-direction:column; min-width:0; }
.preview-stage:has(.pdf-reader) { padding:0; }
.pdf-controls { display:flex; justify-content:center; align-items:center; gap:18px; padding:12px; background:#e6ebf380; flex-shrink:0; }
.pdf-controls .button { min-height:32px; font-size:11px; padding:5px 10px; background:#ffffffb8; }
.pdf-controls [role=status] { font-size:11px; color:#7c8da6; text-align:center; }
.pdf-page { overflow:auto; scrollbar-gutter:stable; flex:1; min-height:0; text-align:center; padding:18px; }
.pdf-page canvas { display:block; max-width:100%; margin:auto; background:white; box-shadow:0 4px 22px #2333151a; }

@media(min-width:1600px) { main { padding-top:42px; } .collection-hero { min-height:320px; } .collection-copy { padding:35px 45px; } .collection-copy h2 { font-size:46px; } }
@media(max-width:1200px) {
 :root { --sidebar:202px; } .topbar { padding:0 24px; gap:23px; } .brand { min-width:155px; }
 main { padding:29px 28px 0; } .top-location { display:none; }
 .sidebar { padding-left:13px; padding-right:13px; } .sidebar-heading { padding:0 12px; }
 .sidebar-heading small { display:none; } .space-label { font-size:9px; margin-left:12px; }
 .nav-item { font-size:12px; padding-left:12px; padding-right:12px; }
 .collection-copy { padding:27px 30px; width:56%; } .collection-copy h2 { font-size:38px; }
 .collection-hero { min-height:284px; } .collection-art { right:-20px; width:53%; }
 .art-badge { bottom:36px; font-size:9px; padding:10px 13px; }
 .category-cards { gap:10px; } .category-card { padding:17px 14px; gap:10px; }
 .category-icon { width:33px; height:39px; } .category-copy strong { font-size:11px; } .category-arrow { display:none; }
 .admin-upload { padding:30px; } .admin-upload h2 { font-size:30px; } .admin-upload-action { padding:0 6px; }
}
@media(max-width:960px) {
 :root { --sidebar:190px; } main { padding:28px 24px 0; }
 .public-badge { display:none; } .sidebar { padding-left:12px; padding-right:12px; }
 .public-note { padding:17px 14px; } .public-note strong { font-size:12px; }
 .collection-copy { padding:26px 25px; width:61%; } .collection-copy h2 { font-size:34px; }
 .collection-copy p { font-size:11px; } .collection-hero { min-height:275px; }
 .collection-art { right:-44px; width:55%; top:5px; bottom:10px; }
 .art-badge { bottom:43px; font-size:8px; padding:8px 10px; gap:6px; }
 .hero-edition { right:17px; font-size:6px; }
 .category-card { padding:15px 10px; gap:8px; } .category-icon { width:29px; height:36px; }
 .category-copy strong { font-size:10px; } .category-copy small { font-size:9px; }
 .admin-upload { gap:15px; padding:26px; } .admin-upload h2 { font-size:27px; }
 .upload-main-button { font-size:12px; padding:11px 17px; } .admin-upload-action { padding:0; }
 .entry-label { font-size:12px; } .file-controls { gap:7px; }
}
@media(max-width:760px) {
 :root { --header:66px; --sidebar:230px; }
 .workspace { margin-left:0; } .sidebar { padding:27px 16px 20px; background:#f4f8ffe8; }
 .sidebar-heading small { display:inline; } .space-label { font-size:10px; }
 .nav-item { font-size:13px; } .topbar { padding:0 21px; gap:12px; }
 .brand { min-width:0; gap:8px; } .brand strong { font-size:19px; }
 .brand-mark { width:31px; height:31px; } .brand-mark .icon { width:22px; height:22px; }
 .search-box { max-width:205px; margin-left:0; } .login-button { padding:8px 13px; font-size:11px; }
 main { padding:29px 25px 0; } .page-heading h1 { font-size:30px; }
 .collection-copy { width:57%; padding:29px 30px; } .collection-copy h2 { font-size:37px; }
 .collection-art { right:-20px; width:52%; } .collection-hero { min-height:288px; }
 .art-badge { bottom:41px; left:45%; font-size:9px; }
 .category-card { padding:17px 13px; gap:10px; } .category-copy strong { font-size:11px; }
 .category-icon { width:32px; height:39px; }
 .admin-upload { min-height:239px; padding:29px; } .admin-upload h2 { font-size:29px; }
 .toast-region { left:50%; }
 .preview-modal { width:calc(100vw - 24px); height:calc(100dvh - 32px); border-radius:18px; }
 .preview-layout { grid-template-columns:1fr; grid-template-rows:minmax(230px,1fr) auto; }
 .preview-sidebar { max-height:230px; border-left:0; border-top:1px solid #dfe4eb; padding:18px 22px; display:grid; grid-template-columns:1fr auto; gap:10px 18px; }
 .preview-sidebar>#detail-icon,.preview-sidebar>.eyebrow,.preview-footnote { display:none; }
 .preview-sidebar h2 { margin:0; font-size:15px; grid-column:1/-1; }
 .preview-sidebar .file-details { margin:0; font-size:10px; }
 .preview-sidebar .file-details>div { margin-bottom:7px; }
 .preview-sidebar .file-details>div:nth-child(3),.preview-sidebar .file-details>div:nth-child(4) { display:none; }
 .preview-actions { margin:0; padding:0; justify-content:center; }
 .preview-actions .button { min-height:35px; font-size:10px; padding:8px 12px; }
 .preview-topbar { height:53px; padding:0 18px; }
 .preview-layout { height:calc(100% - 53px); } .preview-stage { padding:18px; }
}
@media(max-width:540px) {
 :root { --header:111px; }
 .topbar { padding:12px 19px; gap:0 8px; }
 .brand { height:34px; gap:8px; } .brand strong { font-size:18px; }
 .brand-mark { width:29px; height:29px; border-radius:9px; } .brand-mark .icon { width:21px; height:21px; }
 .search-box { height:34px; min-height:34px; max-width:none; margin:12px 0 0; border-radius:9px; }
 .login-button { padding:8px 13px; min-height:32px; font-size:11px; }
 main { padding:26px 19px 0; }
 .page-heading { margin-bottom:21px; gap:13px; } .eyebrow { font-size:8px; letter-spacing:1.6px; }
 .page-heading h1 { font-size:28px; margin:8px 0 7px; letter-spacing:-1px; }
 .page-heading p { font-size:11px; }
 .collection-count { gap:8px; padding-bottom:4px; } .collection-label { display:none; }
 .collection-count>div { flex-direction:column; gap:6px; align-items:flex-end; }
 .collection-count strong { font-size:25px; } .collection-count>div>span { font-size:9px; }
 .collection-hero { min-height:300px; border-radius:20px; margin-bottom:25px; background:radial-gradient(ellipse at 88% 84%,#bbd9fa91,transparent 69%),linear-gradient(120deg,#ffffffe8,#f3f8ffe0); }
 .collection-copy { width:100%; padding:25px 25px 28px; }
 .collection-copy h2 { font-size:34px; letter-spacing:-1.3px; margin:14px 0 13px; }
 .hero-kicker { font-size:9px; }
 .collection-copy p { font-size:11px; line-height:1.9; margin-bottom:24px; max-width:235px; }
 .collection-copy .hero-link { font-size:11px; padding:10px 15px; gap:12px; }
 .collection-art { width:235px; height:160px; right:-30px; top:auto; bottom:-9px; z-index:1; }
 .collection-art>img { transform:rotate(-5deg); }
 .art-badge,.hero-edition { display:none; }
 .category-section-heading { margin-bottom:13px; } .category-section-heading h2 { font-size:12px; } .category-section-heading>span { font-size:9px; }
 .category-cards { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-bottom:28px; }
 .category-card { min-height:107px; flex-direction:column; align-items:center; padding:13px 3px 11px; gap:8px; border-radius:14px; }
 .category-icon { width:32px; height:36px; border-radius:9px; } .category-icon .icon { width:22px; height:22px; }
 .category-copy { align-items:center; gap:5px; } .category-copy strong { font-size:11px; } .category-copy small { font-size:10px; }
 .admin-upload,body[data-context="browse"] .admin-upload { min-height:0; flex-direction:column; align-items:stretch; padding:25px; gap:22px; border-radius:20px; margin-bottom:25px; }
 .admin-upload h2 { font-size:29px; margin:12px 0; } .admin-upload p { font-size:11px; }
 .upload-eyebrow { font-size:10px; } .upload-destination { margin-top:13px; font-size:10px; }
 .upload-orb { display:none; } .admin-upload-action { align-items:stretch; gap:10px; }
 .upload-main-button { width:100%; min-height:45px; font-size:13px; }
 .admin-upload-action>span:last-child { font-size:9px; }
 body[data-context="browse"] .admin-upload h2 { font-size:24px; }
 body[data-context="browse"] .admin-upload h2 span { display:block; }
 body[data-context="browse"] .page-heading { margin-bottom:25px; }
 .files-toolbar { gap:14px; margin-bottom:15px; } .files-heading { gap:8px; }
 .files-heading h2 { font-size:20px; } .files-heading>span { font-size:9px; padding:3px 5px; }
 .file-controls { gap:5px; } .sort-label select { font-size:10px; } .view-switch { padding:2px; }
 .file-controls .button { padding:8px 11px; min-height:34px; font-size:10px; }
 .file-content { border-radius:15px; }
 .file-table th { height:42px; font-size:10px; } .file-table td { height:77px; font-size:10px; }
 .file-table th:nth-child(2),.file-table td:nth-child(2) { display:none; }
 .file-table th:first-child { width:79%; } .file-table th:last-child { width:21%; }
 .admin-table th:first-child { width:65%; } .admin-table th:last-child { width:35%; }
 .entry-mobile-size { display:inline; }
 .entry-subtitle { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 .file-table th:first-child,.file-table td:first-child { padding-left:14px; } .file-table td:last-child { padding-right:9px; }
 .file-type-icon { width:29px; flex-basis:29px; height:35px; } .entry-name { gap:9px; }
 .entry-label { font-size:12px; } .entry-subtitle { font-size:10px; }
 .row-actions .icon-button { width:27px; } .row-actions .icon { width:16px; height:16px; }
 .file-grid { padding:12px; gap:11px; } .file-card-main { min-height:135px; padding:18px 12px; }
 .list-footer { font-size:9px; } .page-footer { margin-top:17px; padding:22px 0; font-size:8px; }
 .modal { padding:30px 25px; }
 .preview-text { padding:19px; font-size:12px; } .preview-note { font-size:10px; }
 .preview-caption { font-size:9px; } .preview-caption>span:last-child { font-size:10px; }
 .archive-list li { padding:11px; font-size:11px; } .pdf-controls { gap:8px; } .pdf-controls [role=status] { font-size:10px; }
}
@media(max-width:359px) {
 main { padding-left:15px; padding-right:15px; } .topbar { padding-left:16px; padding-right:16px; }
 .brand strong { font-size:17px; } .brand { gap:6px; } .brand-mark { width:27px; height:27px; }
 .login-button { padding:8px 10px; font-size:10px; }
 .page-heading h1 { font-size:26px; } .page-heading p { font-size:10px; }
 .collection-copy { padding-left:22px; padding-right:22px; } .collection-copy h2 { font-size:32px; }
 .collection-copy p { font-size:10px; } .collection-art { width:195px; right:-40px; bottom:-15px; }
 .category-cards { gap:6px; } .category-copy strong { font-size:10px; } .category-copy small { font-size:9px; }
 .files-heading h2 { font-size:18px; } .files-toolbar { gap:12px; }
 .file-controls { gap:4px; } .file-controls .button { font-size:10px; padding:7px 9px; }
 .file-type-icon { width:26px; flex-basis:26px; } .entry-name { gap:7px; } .entry-label { font-size:11px; }
 .preview-sidebar { padding:16px; }
}
@media(prefers-reduced-transparency:reduce) { .topbar,.sidebar,.modal,.preview-modal { background:#f6f9fd; backdrop-filter:none; -webkit-backdrop-filter:none; } }
@media(prefers-reduced-motion:reduce) { .category-card:hover,.collection-copy .hero-link:hover { transform:none; } }
