:root {
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI Variable Text","Segoe UI",Arial,sans-serif;
  color:#20232c; background:#fff; font-synthesis:none; text-rendering:optimizeLegibility;
  --ink:#20232c; --muted:#626a78; --blue:#1862dc; --blue-hover:#1256ca; --line:#e4e7ed; --wash:#f7f8fb;
}
*,*::before,*::after { box-sizing:border-box; }
body { margin:0; min-width:280px; }
button,input,select { font:inherit; }
button,a,select,input { -webkit-tap-highlight-color:transparent; }
button,a { touch-action:manipulation; }
button { cursor:pointer; }
button { background:none; border:0; color:inherit; }
a { color:inherit; text-decoration:none; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #7aaaff; outline-offset:3px; }
button:disabled { opacity:.6; cursor:wait; }
h1,h2,h3,p { margin:0; }
h1,h2,h3,strong,b { font-weight:640; }
h1 { font-size:clamp(2.125rem,4vw,3rem); letter-spacing:-.055em; line-height:1.08; }
h2 { font-size:1.2rem; letter-spacing:-.035em; }
h3 { font-size:1.04rem; letter-spacing:-.022em; }
[hidden] { display:none!important; }
.icon { flex:0 0 auto; vertical-align:middle; }
.boot { min-height:100dvh; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; padding:32px; text-align:center; }
.brand { display:inline-flex; align-items:center; gap:11px; font-size:1.22rem; letter-spacing:-.05em; font-weight:690; color:#242b39; }
.brand em { font-style:normal; font-weight:450; }
.brand-mark { display:block; filter:drop-shadow(0 2px 3px #2e68c51c); }
button,.primary,.secondary,.quiet { transition:background-color 120ms ease,color 120ms ease,box-shadow 120ms ease; }
.primary,.secondary,.quiet,.danger { display:inline-flex; justify-content:center; align-items:center; gap:8px; padding:0 15px; border-radius:10px; min-height:39px; font-size:.875rem; font-weight:590; white-space:nowrap; }
.primary { color:#fff; background:var(--blue); box-shadow:0 1px 2px #184e9d26,inset 0 1px 0 #ffffff24; }
.primary:hover { background:var(--blue-hover); }
.secondary { background:#fff; border:1px solid #dce0e7; box-shadow:0 1px 2px #17293908; }
.secondary:hover,.quiet:hover,.icon-button:hover { background:#f0f3f8; }
.quiet,.text-button { color:#485367; }
.danger { background:#b53339; color:#fff; }
.danger:hover { background:#9b252c; }
.icon-button { width:35px; height:35px; display:inline-grid; place-items:center; padding:0; border-radius:9px; color:#657080; flex:none; }
.text-link,.text-button { font-size:.875rem; color:var(--blue); font-weight:560; }
.text-link:hover,.text-button:hover { text-decoration:underline; }
.field { display:block; margin-bottom:18px; font-size:.875rem; font-weight:600; }
.field>span:first-child { display:block; margin-bottom:8px; }
.field input,.field select { width:100%; height:46px; border:1px solid #ced4de; border-radius:10px; background:#fff; padding:0 12px; color:var(--ink); font-size:1rem; }
.field select { padding-right:26px; }
.field input:focus,.field select:focus { outline:3px solid #1967eb24; outline-offset:0; border-color:#5e95eb; }
.error { color:#ab2e37; font-size:.875rem; line-height:1.45; margin:0 0 14px; }
.error:empty { display:none; }
.form-note,.hint { display:block; color:var(--muted); font-size:.875rem; line-height:1.5; margin:0 0 18px; }
.hint { font-size:.8125rem; margin-top:-7px; }
.boot p { color:var(--muted); }
.auth-page { min-height:100dvh; display:grid; grid-template-rows:auto 1fr auto; background:radial-gradient(ellipse at 80% 82%,#eaf0fd70,transparent 49%),#f8f9fc; padding:0 clamp(22px,4.5vw,76px) 8vh; }
.auth-page>header { height:94px; display:flex; align-items:center; }
.auth-window { align-self:center; justify-self:center; width:min(980px,100%); display:grid; grid-template-columns:1fr 1fr; min-height:535px; border-radius:30px; overflow:hidden; border:1px solid #dbe1ec; background:#fff; box-shadow:0 30px 90px -58px #344d87a8,0 2px 5px #29426507; }
.auth-form { display:grid; place-items:center; padding:50px clamp(28px,4.5vw,64px); }
.auth-inner { width:100%; max-width:344px; }
.auth-mini { display:grid; place-items:center; width:43px; height:43px; background:#f0f5ff; color:#2867ce; border:1px solid #e2eafb; border-radius:14px; margin-bottom:23px; }
.auth-inner h1 { font-size:clamp(2rem,3.2vw,2.75rem); line-height:1.12; }
.auth-inner>p { color:var(--muted); font-size:.98rem; line-height:1.5; margin:10px 0 31px; }
.auth-submit { width:100%; min-height:46px; margin-top:5px; font-size:.95rem; }
.password-field { display:block; position:relative; }
.password-field input { padding-right:45px; }
.password-field button { display:grid; place-items:center; position:absolute; right:2px; top:2px; width:42px; height:42px; border-radius:8px; color:#697486; }
.auth-art { position:relative; overflow:hidden; isolation:isolate; background:radial-gradient(ellipse at 98% 0%,#edecff 0%,transparent 58%),radial-gradient(ellipse at 10% 95%,#cdddff 0%,transparent 65%),linear-gradient(147deg,#e4f2ff 0%,#cfedff 36%,#b3d1f8 73%,#cad1fc 100%); border-left:1px solid #dce5f6; }
.art-glow { position:absolute; inset:0; background:linear-gradient(112deg,transparent 32%,#ffffff60 49%,transparent 68%); }
.art-orbit { position:absolute; height:115%; width:150%; border:1px solid #fff6; border-radius:49%; transform:rotate(-36deg); }
.orbit-one { top:-13%; left:-25%; }
.orbit-two { width:175%; height:131%; top:-23%; left:-40%; border-color:#ffffff4a; }
.art-folder { position:absolute; z-index:2; top:49%; left:50%; width:64%; aspect-ratio:1.24; transform:translate(-50%,-50%) rotate(-12deg) skewY(2deg); filter:drop-shadow(3px 17px 14px #375fc933); }
.art-back { position:absolute; inset:4% 4% 5% 4%; background:linear-gradient(160deg,#87bcff,#387fec 55%,#5075dc); clip-path:polygon(0 6%,2% 2%,5% 0,34% 0,40% 4%,47% 13%,94% 13%,98% 15%,100% 20%,100% 93%,97% 99%,4% 100%,0 94%); border-radius:6%; }
.art-page { position:absolute; width:82%; height:77%; border:1px solid #fff; border-radius:7%; box-shadow:0 1px 4px #356bd035; }
.page-one { top:6%; left:11%; transform:rotate(-7deg); background:linear-gradient(140deg,#e1f0ff,#99bbfc); }
.page-two { top:12%; left:14%; transform:rotate(4deg); background:linear-gradient(155deg,#fafeff,#e7f0fc 65%,#b7d6f8); padding:7%; }
.page-two span { display:block; margin-bottom:5%; height:3%; width:42%; border-radius:999px; background:#c5dbf3; }
.page-two span:nth-child(2) { width:60%; }
.art-front { position:absolute; inset:36% 0 0; overflow:hidden; border:1px solid #98d2ff; border-top:2px solid #e2f3ff; border-radius:6% 7% 9% 9%; transform:perspective(600px) rotateX(-13deg) skewX(-3deg); transform-origin:bottom; background:linear-gradient(147deg,#a7deff 1%,#78c3ff 25%,#5ca6fa 47%,#518cf4 74%,#6485ee); box-shadow:inset 0 0 2px 1px #ffffff6b,inset 0 -3px 5px #426ce466; }
.art-front::after { content:""; position:absolute; inset:0; background:linear-gradient(120deg,transparent 10%,#ffffff25 41%,transparent 48%); }
.art-front i { position:absolute; width:14%; height:3%; background:#c4e4ffab; top:16%; left:8%; border-radius:9px; }
.art-shadow { position:absolute; z-index:0; width:54%; height:8%; top:71%; left:27%; border-radius:50%; background:#718bcc53; filter:blur(18px); transform:rotate(-6deg); }
.workspace { min-height:100dvh; display:grid; grid-template-columns:244px minmax(0,1fr); }
#sidebar { position:sticky; top:0; height:100dvh; display:flex; flex-direction:column; background:linear-gradient(155deg,#f8f9fd,#f4f6fa 87%); border-right:1px solid var(--line); z-index:4; overflow-y:auto; }
.side-brand { min-height:88px; padding:0 25px; display:flex; align-items:center; justify-content:space-between; }
#nav { padding:9px 13px 0; }
.nav-set+.nav-set { margin-top:31px; }
.nav-set h2 { font-size:.75rem; font-weight:640; color:#707888; letter-spacing:.01em; margin:0 0 9px 12px; }
.nav-link { display:flex; align-items:center; gap:12px; min-height:41px; margin:2px 0; padding:0 12px; border-radius:10px; color:#495365; font-size:.925rem; font-weight:520; }
.nav-link .icon { width:18px; }
.nav-link:hover { background:#eceff6; }
.nav-link.active { color:#1559c0; background:#e3ecfb; font-weight:640; }
.nav-set.admin-nav { margin-top:25px; padding-top:19px; border-top:1px solid var(--line); }
.side-foot { margin-top:auto; padding:25px 20px 15px; }
#storage { margin:0 6px 22px; }
.storage-title { display:flex; align-items:center; gap:8px; color:#596478; font-size:.8125rem; }
progress { width:100%; accent-color:var(--blue); color:var(--blue); background:#dce2ed; border:none; height:5px; border-radius:9px; overflow:hidden; }
progress::-webkit-progress-bar { background:#dce2ed; border-radius:9px; }
progress::-webkit-progress-value { background:var(--blue); border-radius:9px; }
progress::-moz-progress-bar { background:var(--blue); }
#storage progress { display:block; margin:12px 0 8px; }
#storage p { color:var(--muted); font-size:.758rem; }
.account { width:100%; border-top:1px solid var(--line); padding:17px 4px 1px; display:flex; align-items:center; gap:10px; text-align:left; }
.avatar { width:35px; height:35px; border-radius:50%; display:inline-grid; place-items:center; flex-shrink:0; color:#3e577b; background:linear-gradient(145deg,#e0eaf7,#ccd9ed); font-size:.9rem; font-weight:650; }
.account>span:nth-child(2),.member-name { min-width:0; flex:1; }
.account b,.account small,.member b,.member small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account b,.member b { font-size:.9rem; }
.account small,.member small { color:var(--muted); font-size:.76rem; margin-top:2px; }
.workspace-main { min-width:0; }
.topbar { min-height:74px; padding:0 clamp(22px,4vw,65px); display:flex; align-items:center; gap:16px; border-bottom:1px solid var(--line); }
.route-buttons { display:flex; flex:none; align-items:center; gap:2px; }
.route-buttons .icon-button { width:33px; height:35px; color:#48556a; }
.route-buttons .icon-button:disabled { color:#b6beca; background:transparent; cursor:default; }
#crumbs { display:flex; align-items:center; gap:9px; min-width:0; flex:1; overflow:hidden; white-space:nowrap; font-size:.81rem; color:#6f7888; }
#crumbs b,#crumbs a { text-overflow:ellipsis; overflow:hidden; }
#crumbs b { color:#414d61; font-weight:560; }
#crumbs a:hover { color:var(--blue); }
#crumbs .icon { flex-shrink:0; }
#search-form { display:flex; gap:8px; align-items:center; padding:0 9px 0 13px; height:36px; width:clamp(170px,20vw,285px); color:#768190; background:#f4f6f9; border:1px solid #e9ebf0; border-radius:10px; }
#search-form:focus-within { background:white; outline:2px solid #5995ed; }
#search-form input { width:100%; min-width:0; background:transparent; border:0; outline:0; color:var(--ink); font-size:.865rem; }
#search-form input::placeholder { color:#707988; }
kbd { font:inherit; font-size:.72rem; background:#fff; border:1px solid #dee2eb; color:#748095; border-radius:4px; padding:1px 5px; }
.content { max-width:1500px; margin:0 auto; padding:clamp(33px,4.2vw,66px) clamp(22px,4vw,65px) 80px; min-height:calc(100dvh - 75px); }
.content.dragging { outline:2px dashed #417fe1; outline-offset:-12px; border-radius:15px; background:#f6faff; }
.page-heading,.section-heading,.collection-bar { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.page-heading { margin-bottom:34px; }
.page-heading h1 { overflow-wrap:anywhere; min-width:0; }
.page-actions,.collection-bar>div { display:flex; gap:9px; align-items:center; }
.locations { margin-bottom:39px; }
.locations h2,.members h2,.section-heading { margin-bottom:15px; }
.feed-switch { display:inline-flex; align-items:center; gap:3px; background:#f0f2f6; border:1px solid #e6e9ee; padding:3px; border-radius:11px; }
.feed-switch a { display:inline-flex; align-items:center; min-height:32px; padding:0 14px; border-radius:8px; font-size:.9rem; font-weight:580; color:var(--muted); }
.feed-switch a[aria-current] { background:white; color:var(--ink); box-shadow:0 1px 4px #152b481c; }
.activity-day+.activity-day { margin-top:25px; }
.activity-day h3 { margin:0; padding:8px 2px; font-size:.85rem; font-weight:620; color:#536070; border-bottom:1px solid var(--line); }
.activity-day ol { padding:0; margin:0; list-style:none; }
.activity-row { display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:12px; padding:11px 2px; min-height:54px; border-bottom:1px solid #edf0f4; }
.activity-symbol { display:grid; place-items:center; width:32px; height:32px; color:#667e9d; background:#f0f4fa; border-radius:9px; }
.activity-description { font-size:.91rem; line-height:1.48; overflow-wrap:anywhere; }
.activity-row time { font-size:.78rem; color:var(--muted); white-space:nowrap; }
.older-activity { display:flex; margin:20px auto 0; }
.location-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.location-card { position:relative; display:flex; flex-direction:column; gap:17px; align-items:start; justify-content:center; padding:22px 24px; min-height:176px; border:1px solid #dce6f5; border-radius:18px; background:radial-gradient(ellipse at 13% 0%,#eaf4ff,transparent 73%),linear-gradient(130deg,#f2f7fd,#f8fbff); transition:box-shadow .15s,transform .15s; }
.location-card.private { border-color:#e1e0f4; background:radial-gradient(ellipse at 13% 0%,#eeecff,transparent 76%),linear-gradient(130deg,#f6f4ff,#fbfaff); }
.location-card:hover { transform:translateY(-2px); box-shadow:0 7px 14px -8px #475a8c38; }
.location-card h3 { font-size:1.05rem; margin-bottom:4px; }
.location-card div>span { color:#647085; font-size:.8125rem; }
.location-chevron { position:absolute; right:17px; top:17px; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; color:#757f92; background:#ffffff94; }
.folder-glyph { --back:#5595e9; --light:#8ccfff; --front:#4f9cef; position:relative; display:inline-flex; width:31px; height:26px; margin:2px 0; vertical-align:middle; flex:none; filter:drop-shadow(0 1px 1px #315a8d30); }
.folder-glyph.violet { --back:#8978d9; --light:#bcaaff; --front:#9b86ea; }
.folder-glyph i { position:absolute; inset:0 4% 6% 2%; background:var(--back); clip-path:polygon(0 11%,4% 0,34% 0,45% 15%,95% 15%,100% 22%,100% 94%,94% 100%,7% 100%,0 94%); border-radius:11%; }
.folder-glyph b { position:absolute; inset:27% 0 0; border-radius:9% 11% 12% 12%; border-top:1px solid #ffffffc0; display:grid; place-items:center; color:#ffffffee; background:linear-gradient(150deg,var(--light),var(--front)); box-shadow:inset 0 -1px 1px #49599220; }
.folder-glyph.big { width:65px; height:52px; filter:drop-shadow(0 4px 3px #445ba41c); }
.folder-glyph.big b { border-top-width:2px; }
.file-glyph { width:31px; height:31px; display:inline-grid; place-items:center; background:#eaf0fa; color:#5176aa; border-radius:8px; flex:none; }
.file-glyph.image { background:#e6f4ee; color:#318263; }.file-glyph.video { background:#eeeafd; color:#785ab8; }.file-glyph.audio { background:#fcecf0; color:#ad5d76; }
.file-glyph.big { width:48px; height:56px; border-radius:11px; }
.empty { min-height:210px; border:1px dashed #d7dce7; border-radius:17px; background:linear-gradient(135deg,#fcfdff,#fafbfd); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:34px 20px; }
.empty-icon { display:grid; place-items:center; width:55px; height:55px; border-radius:17px; background:#eef2f9; color:#7184a0; margin-bottom:14px; }
.empty h2,.empty h3 { margin-bottom:6px; }
.empty p { font-size:.89rem; color:var(--muted); line-height:1.45; max-width:390px; overflow-wrap:anywhere; }
.empty button { margin-top:16px; }
.collection-bar { margin-bottom:16px; color:var(--muted); font-size:.875rem; }
.collection-bar>span { min-width:0; overflow-wrap:anywhere; }
.segmented { display:inline-flex; padding:3px; border-radius:9px; background:#eff1f5; }
.segmented .icon-button { width:31px; height:27px; border-radius:6px; }
.segmented .icon-button .icon { width:16px; }
.segmented .selected { color:#344259; background:#fff; box-shadow:0 1px 3px #11264b26; }
.entries.list .entry,.row-labels { display:grid; grid-template-columns:minmax(120px,1fr) minmax(95px,18%) minmax(58px,11%) 36px; align-items:center; gap:10px; padding:0 8px; }
.row-labels { min-height:34px; color:var(--muted); font-size:.75rem; font-weight:570; border-bottom:1px solid var(--line); }
.entries.list .entry { min-height:56px; border-bottom:1px solid #edf0f4; }
.entry-open { display:flex; align-items:center; gap:12px; min-width:0; text-align:left; padding:5px 2px; border-radius:7px; font-size:.91rem; font-weight:550; }
.entry-open span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.entry-open:hover { color:var(--blue); }
.entry-date,.entry-size { color:var(--muted); font-size:.81rem; white-space:nowrap; }
.entries.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(158px,1fr)); gap:13px; }
.grid .entry { position:relative; min-width:0; border:1px solid var(--line); border-radius:15px; padding:18px 14px 14px; }
.grid .entry-open { flex-direction:column; align-items:flex-start; width:100%; gap:13px; }
.grid .entry-open>span:last-child { width:100%; }
.grid .entry-date { display:block; margin:1px 0; }
.grid .entry-size { display:none; }
.grid .entry>.icon-button { position:absolute; right:6px; top:6px; }
.admin-stats { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:35px; }
.admin-stats>div { border:1px solid var(--line); background:#f9fafd; border-radius:16px; padding:24px; display:flex; align-items:center; gap:15px; }
.stat-symbol { border-radius:13px; width:44px; height:44px; background:#e3efff; color:#3278ce; display:grid; place-items:center; }.stat-symbol.lilac { background:#eeebfc; color:#7360ac; }
.admin-stats strong { font-size:1.4rem; letter-spacing:-.04em; }
.admin-stats small { display:block; font-size:.8rem; color:var(--muted); margin-top:3px; }
.member { min-height:69px; display:flex; gap:13px; align-items:center; border-bottom:1px solid var(--line); }
.member .owner { background:#e8e4fb; color:#70529d; }
.member-name b { font-size:.95rem; }
.enabled,.disabled { color:#546378; font-size:.75rem; background:#f0f3f7; border-radius:7px; padding:4px 8px; }
.disabled { background:#f5eded; color:#8b5757; }
.dialog { width:min(405px,calc(100vw - 32px)); max-height:calc(100dvh - 34px); overflow:auto; border:1px solid #ffffffb3; border-radius:21px; padding:22px; color:var(--ink); box-shadow:0 28px 95px #0a1e443b; }
.dialog::backdrop { background:#18274755; backdrop-filter:blur(4px); }
.dialog-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; }
.dialog-header h2 { overflow-wrap:anywhere; }
.dialog-header>.icon-button { width:29px; height:29px; background:#f0f2f6; border-radius:50%; }
.dialog-header>.icon-button svg { width:16px; }
.actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; margin-top:22px; }
.destinations { display:grid; gap:8px; }
.destinations button { display:flex; align-items:center; gap:13px; width:100%; padding:13px; border-radius:12px; background:#f6f8fc; }
.destinations button:hover { background:#edf2fa; }
.destinations b { text-align:left; flex:1; font-size:.94rem; }
.action-menu { position:fixed; z-index:12; min-width:180px; padding:5px; background:#fffffffa; border:1px solid #dfe4ec; border-radius:13px; box-shadow:0 9px 32px #1d335026,0 1px 3px #1324390d; }
.action-menu button { width:100%; display:flex; align-items:center; gap:10px; min-height:38px; padding:0 10px; border-radius:8px; text-align:left; font-size:.875rem; }
.action-menu { max-height:calc(100dvh - 16px); overflow-y:auto; }
.action-menu button:hover,.action-menu button:focus-visible { background:#eff3f9; outline:0; }
.action-menu .negative { color:#ab303d; }
.preview-dialog { width:min(840px,calc(100vw - 28px)); }
.preview-body { min-height:180px; background:#f4f6fa; border-radius:12px; overflow:hidden; display:grid; place-items:center; }
.preview-body img,.preview-body video { max-width:100%; max-height:65dvh; display:block; object-fit:contain; }
.preview-body audio { max-width:95%; }
.text-preview { align-self:stretch; width:100%; max-height:60dvh; overflow:auto; padding:20px; margin:0; white-space:pre-wrap; overflow-wrap:anywhere; text-align:left; font: .9rem/1.65 ui-monospace,Consolas,monospace; color:#334058; }
.pdf-reader { width:100%; min-width:0; }
.pdf-pages { overflow:auto; height:min(59dvh,660px); padding:12px; background:#edf0f5; }
.pdf-pages canvas { display:block; width:100%; height:auto; margin:auto; background:white; box-shadow:0 1px 5px #1f30421c; }
.pdf-controls { display:flex; align-items:center; justify-content:center; gap:14px; padding:8px; font-size:.82rem; color:var(--muted); }
.pdf-controls button { min-height:35px; }
.pdf-controls button:disabled { cursor:default; }
.preview-foot { display:flex; justify-content:space-between; align-items:center; margin-top:15px; font-size:.82rem; color:var(--muted); }
.unsupported { text-align:center; padding:25px; }
.unsupported p { margin-top:14px; color:var(--muted); font-size:.9rem; }
#notices { pointer-events:none; position:fixed; z-index:25; left:50%; bottom:23px; transform:translate(-50%,10px); max-width:calc(100vw - 30px); border-radius:12px; color:#fff; background:#293346; padding:12px 18px; font-size:.875rem; box-shadow:0 5px 20px #1b26462b; transition:.18s ease; opacity:0; }
#notices.on { transform:translate(-50%,0); opacity:1; }
.transfers { position:fixed; z-index:8; right:22px; bottom:20px; width:min(365px,calc(100vw - 32px)); border-radius:15px; border:1px solid #dce2ec; background:white; box-shadow:0 9px 36px #23344b27; overflow:hidden; }
.transfers header,.transfer { display:flex; justify-content:space-between; align-items:center; gap:9px; padding:10px 13px; }
.transfers header { background:#f6f8fc; }.transfers header>div,.transfer>div:last-child { display:flex; align-items:center; gap:5px; }
.transfers header strong { font-size:.84rem; display:flex; gap:7px; align-items:center; }
.transfers header .text-button { font-size:.74rem; }
.transfer-jobs { max-height:220px; overflow:auto; }
.transfer { border-top:1px solid #edf0f5; }
.transfer>div:first-child { flex:1; min-width:0; }
.transfer strong,.transfer small { display:block; font-size:.81rem; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.transfer small { font-size:.75rem; margin-top:3px; color:var(--muted); white-space:normal; }
.transfer progress { display:block; margin-top:7px; }
.transfer .icon-button,.transfers header .icon-button { width:27px; height:27px; }
.mobile-only,.nav-scrim { display:none; }
@media (min-width:1400px) {
  .workspace { grid-template-columns:265px minmax(0,1fr); }
  .auth-window { min-height:575px; width:min(1050px,100%); }
}
@media (max-width:980px) {
  .workspace { grid-template-columns:207px minmax(0,1fr); }
  .side-brand { padding:0 20px; }
  .content { padding-left:25px; padding-right:25px; }
  .topbar { padding:0 25px; }
  .page-actions { gap:6px; }
  .auth-window { min-height:500px; }
}
@media (max-width:720px) {
  .workspace { display:block; }
  #sidebar { position:fixed; left:0; top:0; width:min(280px,85vw); transform:translateX(-102%); visibility:hidden; transition:transform .18s ease,visibility .18s; z-index:11; }
  .nav-open #sidebar { transform:translateX(0); visibility:visible; box-shadow:0 0 40px #2638582f; }
  .nav-open .nav-scrim { display:block; position:fixed; inset:0; z-index:10; background:#16283e55; width:100%; height:100%; }
  .mobile-only { display:inline-grid; }
  .topbar { position:sticky; top:0; z-index:3; background:#ffffffed; backdrop-filter:blur(15px); min-height:61px; gap:9px; padding:0 16px; }
  .topbar>.icon-button { width:40px; height:42px; color:#33445c; }
  .route-buttons { gap:0; }
  .route-buttons .icon-button { width:40px; height:44px; }
  .route-buttons .icon-button[data-act=forward]:disabled { display:none; }
  #crumbs { gap:5px; }
  #crumbs a:not(:first-child),#crumbs a:not(:first-child)+svg { display:none; }
  #search-form { margin-left:auto; width:clamp(130px,35vw,240px); }
  #search-form kbd { display:none; }
  .content { padding:30px 20px 100px; }
  .page-heading { flex-wrap:wrap; align-items:flex-start; gap:17px; margin-bottom:26px; }
  .page-heading h1 { font-size:2.25rem; }
  .location-card { gap:15px; padding:17px; min-height:150px; }
  .folder-glyph.big { width:55px; height:44px; }
  .locations { margin-bottom:30px; }
  .page-actions>.primary,.page-actions>.secondary { min-height:42px; }
  .entries.list .entry,.row-labels { grid-template-columns:minmax(80px,1fr) minmax(64px,15%) 36px; padding:0 1px; gap:6px; }
  .entry-date,.row-labels span:nth-child(2) { display:none; }
  .grid .entry-date { display:block; }
  .entry-open { min-height:48px; }
  .entry .icon-button,.member .icon-button { width:44px; height:44px; }
  #search-form input,.field input,.field select { font-size:1rem; }
  .entries.list .entry,.row-labels { grid-template-columns:minmax(80px,1fr) minmax(58px,15%) 44px; }
  .action-menu button { min-height:43px; }
  .admin-stats>div { padding:15px; gap:9px; }
  .auth-page { padding:0 22px 7vh; }
  .auth-page>header { height:76px; }
  .auth-window { min-height:470px; grid-template-columns:1fr minmax(180px,.68fr); }
  .auth-form { padding:30px 25px; }
  .transfers { bottom:12px; right:12px; }
}
@media (max-width:540px) {
  .auth-page { background:radial-gradient(ellipse at 90% 5%,#e8f0ff,transparent 52%),#f8f9fc; padding:0 17px 26px; }
  .auth-page>header { height:68px; padding:0 5px; }
  .auth-window { display:flex; flex-direction:column-reverse; justify-content:flex-end; min-height:0; border-radius:22px; margin:8px 0; max-width:400px; }
  .auth-art { height:clamp(95px,19dvh,166px); border-left:0; border-bottom:1px solid #dce5f6; }
  .art-folder { width:clamp(88px,24vw,119px); left:51%; top:49%; }
  .art-shadow { top:79%; left:38%; width:24%; height:6%; filter:blur(6px); }
  .art-orbit { height:220%; width:115%; left:-8%; top:-56%; transform:rotate(-16deg); }
  .orbit-two { width:134%; height:263%; left:-16%; top:-76%; }
  .auth-form { padding:25px 24px 29px; }.auth-mini { display:none; }
  .auth-inner>p { margin:7px 0 24px; }.auth-inner h1 { font-size:2rem; }
  .field { margin-bottom:16px; }
  .location-grid { gap:10px; }
  .page-heading { display:block; }.page-actions:not(:empty){ margin-top:17px; }
  #crumbs { font-size:.77rem; }.topbar { padding:0 10px; }
  .content { padding:25px 16px 100px; }
  .location-card { min-height:148px; padding:16px 13px; border-radius:15px; }
  .location-card div>span { font-size:.76rem; }
  .collection-bar>div { gap:3px; }.collection-bar .quiet { padding:0 8px; }
  .entries.grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
  .admin-stats { gap:9px; }.admin-stats>div { flex-direction:column; align-items:start; }
  .dialog { padding:18px; }
  .topbar { gap:3px; }
  .route-buttons { margin-right:3px; }
  #crumbs>a:first-child,#crumbs>a:first-child+svg { display:none; }
  .feed-switch a { min-height:38px; padding:0 12px; }
  .activity-row { grid-template-columns:29px minmax(0,1fr) auto; gap:9px; }
  .activity-symbol { width:29px; height:29px; }
}
@media (max-width:360px) {
  #search-form { min-width:90px; width:32vw; }
}
@media (max-height:620px) and (min-width:541px) {
  .auth-page { padding-bottom:22px; }.auth-page>header { height:60px; }.auth-window { min-height:0; }.auth-form { padding-top:25px; padding-bottom:25px; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition:none!important; scroll-behavior:auto!important; }
}
