@charset "UTF-8";
/* Compact, quiet archive layout; all styles are local and CSP compatible. */
:root{color-scheme:dark;--bg:#111315;--panel:#191c1f;--line:#2b3034;--muted:#9ba3aa;--text:#edf0f2;--accent:#a3c5b7;--danger:#ed9b99;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:#23272b;color:var(--text);padding:.65rem 1rem;border-radius:8px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem}button:hover{background:#30363b}button:disabled{opacity:.5;cursor:wait}button.primary,#create-remote-transfer{background:var(--accent);color:#15241e;border-color:var(--accent);font-weight:600}button.primary:hover,#create-remote-transfer:hover{background:#bcdbce}button.quiet{background:transparent}button.danger{color:var(--danger)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{width:100%;background:#121517;color:var(--text);border:1px solid #394147;border-radius:8px;padding:.75rem;min-height:46px}textarea{resize:vertical}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.045em;font-weight:600;line-height:1.2}h2{font-size:1.35rem;font-weight:600}h3{font-size:1rem}small,.muted{color:var(--muted)}small{font-size:.8125rem}svg.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.brand{display:flex;gap:.8rem;align-items:center;font-weight:600;letter-spacing:-.025em;font-size:1.15rem}.brand-mark{width:38px;height:38px;background:#26332e;color:var(--accent);border:1px solid #3a4d43;border-radius:10px;display:grid;place-items:center}.brand-mark svg{width:23px;height:23px}.login{min-height:100dvh;display:grid;place-items:center;padding:1.5rem}.login-card{width:100%;max-width:420px}.login .brand{margin-bottom:3.5rem}.login h1{font-size:2.4rem;margin-bottom:.7rem}.login form{margin-top:2rem}.login footer{margin-top:2.5rem;padding-top:1rem;border-top:1px solid var(--line);font-size:.875rem;color:var(--muted)}label{display:block;font-size:.875rem;margin-bottom:1rem}label input,label select,label textarea{margin-top:.4rem}.full{width:100%}.error{color:var(--danger);font-size:.875rem;min-height:1.4rem}.shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100dvh}.sidebar{border-right:1px solid var(--line);padding:2rem 1.25rem;display:flex;flex-direction:column;gap:2.5rem;background:#141719}.sidebar .brand{padding:0 .4rem}.nav-title{font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin:0 .7rem .8rem}.categories{display:flex;flex-direction:column;gap:.35rem}.category{border-color:transparent;background:transparent;justify-content:flex-start;width:100%;color:var(--muted);font-size:.9375rem;padding:.7rem}.category.active{background:#25322c;color:#c0d9ce}.category .count{margin-left:auto;color:inherit;font-size:.8rem}.sidebar-bottom{margin-top:auto;padding:.8rem .5rem;border-top:1px solid var(--line);font-size:.8125rem;color:var(--muted)}.storage-track{height:3px;background:var(--line);margin:.7rem 0;overflow:hidden;border-radius:4px}.storage-fill{height:100%;background:var(--accent);width:0}.main{padding:0 2.75rem 3rem;min-width:0}.topbar{min-height:88px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:1rem}.topbar small{font-size:.875rem}.profile{background:transparent;padding:.5rem .7rem;border-color:transparent;text-align:left}.avatar{width:32px;height:32px;display:grid;place-items:center;background:#2d3534;border-radius:50%;color:#cadcd3;font-size:.875rem}.profile .profile-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.3}.profile small{font-size:.75rem}.heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:2.75rem 0 1.75rem}.heading h1{margin-bottom:.4rem}.heading p{margin:0;color:var(--muted);font-size:.9375rem}.toolbar{display:flex;gap:1rem;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.search{position:relative;max-width:520px;flex:1}.search input{padding-left:2.7rem;background:var(--panel)}.search svg{position:absolute;left:.9rem;top:.9rem;color:var(--muted)}.view-switch{display:flex;gap:.2rem}.view-switch button{padding:.55rem .7rem;background:transparent}.view-switch button.active{background:#2b3236;color:var(--accent)}.files{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem}.file-card{padding:0;text-align:left;display:block;background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;width:100%;min-width:0;transition:border-color .15s,transform .15s}.file-card:hover{background:var(--panel);border-color:#687e73;transform:translateY(-2px)}.file-visual{height:146px;background:#1e2327;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.file-visual>.icon{width:44px;height:44px;color:#879e92;stroke-width:1.1}.file-visual img{width:100%;height:100%;object-fit:cover}.extension{position:absolute;right:12px;top:12px;background:#161a1de8;border:1px solid #3a4247;color:#c8d0d5;border-radius:4px;padding:.15rem .4rem;font-size:.6875rem;letter-spacing:.07em;max-width:100px;overflow:hidden}.file-info{padding:1rem 1rem .85rem}.file-info h3{margin:0 0 .35rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.file-info p{font-size:.8125rem;color:var(--muted);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:.7rem 1rem;color:var(--muted);font-size:.75rem}.files.list{display:flex;flex-direction:column;gap:.6rem}.list .file-card{display:flex;align-items:center}.list .file-visual{width:68px;height:70px;flex-shrink:0}.list .file-visual>.icon{width:28px;height:28px}.list .extension{display:none}.list .file-info{flex:1;min-width:0}.list .file-meta{border:0;gap:1.5rem}.empty{grid-column:1/-1;text-align:center;border:1px dashed #353d42;border-radius:12px;padding:4rem 1.5rem;color:var(--muted)}.empty .icon{width:48px;height:48px;color:#7b9788;margin-bottom:1rem}.empty h2{color:var(--text);margin-bottom:.5rem;font-size:1.25rem}.empty p{max-width:420px;margin:0 auto 1.5rem;font-size:.9375rem}.catalog-footer{display:flex;justify-content:space-between;gap:1rem;margin-top:1.5rem;color:var(--muted);font-size:.8125rem}.boot{padding:4rem;color:var(--muted)}dialog{background:var(--panel);color:var(--text);border:1px solid #454e54;border-radius:14px;padding:1.5rem;width:min(640px,calc(100% - 2rem));max-height:calc(100dvh - 2rem);overflow:auto}dialog::backdrop{background:#07090bc7;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.2rem}.dialog-head h2{margin:.35rem 0;overflow-wrap:anywhere}.close{padding:.4rem;background:transparent;min-width:44px}.actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1.5rem}.actions a{display:inline-flex;align-items:center;padding:.65rem 1rem;background:var(--accent);color:#15241e;border-radius:8px;min-height:44px;font-weight:600}.actions a:hover{text-decoration:none;background:#bcdbce}.preview{background:#0e1113;display:flex;justify-content:center;align-items:center;border-radius:8px;min-height:180px;margin-bottom:1.2rem;overflow:hidden}.preview img,.preview video{width:100%;max-height:420px;object-fit:contain}.preview>.icon{width:56px;height:56px;color:#8da99b}.details{display:grid;grid-template-columns:110px minmax(0,1fr);gap:.65rem;font-size:.875rem}.details dt{color:var(--muted)}.details dd{margin:0;overflow-wrap:anywhere}.description{white-space:pre-wrap;overflow-wrap:anywhere;color:#c4cbd0;font-size:.9375rem}.dropzone{display:block;border:1px dashed #4a5a51;border-radius:10px;background:#1c2521;padding:1.25rem}.dropzone input{background:transparent;padding:.5rem 0;border:0;margin-top:.6rem}.hint{font-size:.8125rem;color:var(--muted);margin-top:-.4rem;margin-bottom:1rem}.progress{display:flex;gap:.8rem;align-items:center;margin:1rem 0}.progress progress{width:100%;accent-color:var(--accent)}.user-list{display:flex;flex-direction:column;gap:.8rem}.user-row{border:1px solid var(--line);padding:1rem;border-radius:8px}.user-row header{display:flex;justify-content:space-between;gap:.5rem}.user-row strong{overflow-wrap:anywhere}.user-edit{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin-top:.8rem}.user-edit label{margin:0}.user-edit .full-row{grid-column:1/-1}.divider{border-top:1px solid var(--line);margin:1.5rem 0;padding-top:1.5rem}.check{display:flex;align-items:center;gap:.6rem}.check input{width:18px;min-height:18px;margin:0}#toast{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);background:#303c35;color:#e2f0e8;border:1px solid #577363;border-radius:8px;padding:.8rem 1.2rem;max-width:calc(100% - 2rem);z-index:10;box-shadow:0 8px 30px #0005;display:none}#toast.visible{display:block}.audit-row{padding:.7rem 0;border-bottom:1px solid var(--line);font-size:.875rem}.audit-row small{display:block}.limit-note{font-size:.875rem;color:var(--muted);margin-top:1rem}
@media(min-width:1500px){.main{padding-left:4rem;padding-right:4rem}.files{grid-template-columns:repeat(auto-fill,minmax(270px,1fr))}}
@media(max-width:1000px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:1.5rem .8rem}.main{padding:0 1.5rem 2rem}.files{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}.list .file-meta{flex-direction:column;gap:.2rem}}
@media(max-width:700px){.shell{display:flex;flex-direction:column}.sidebar{padding:1rem;border-right:0;border-bottom:1px solid var(--line);gap:1.1rem}.sidebar .brand{padding:0}.nav-title,.sidebar-bottom{display:none}.categories{flex-direction:row;overflow-x:auto;padding-bottom:.2rem}.category{white-space:nowrap;width:auto;font-size:.875rem;padding:.55rem .8rem;gap:.5rem}.category .count{margin-left:.15rem}.category .icon{display:none}.main{padding:0 1rem 2rem}.topbar{min-height:66px}.topbar>small{font-size:.8125rem}.profile-text>span{max-width:125px;overflow:hidden;text-overflow:ellipsis}.heading{margin:1.75rem 0 1.4rem;align-items:flex-start}.heading h1{font-size:1.65rem}.heading p{font-size:.8125rem}.heading>.primary{padding:.65rem .85rem;font-size:.875rem}.heading>.primary .icon{display:none}.files{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.file-visual{height:116px}.file-info{padding:.75rem}.file-info h3{font-size:.9375rem}.file-meta{padding:.6rem .75rem;font-size:.6875rem}.file-meta time{display:none}.toolbar{gap:.6rem}.view-switch{gap:0}.view-switch button{padding:.5rem}.list .file-meta{padding:.5rem}.list .file-meta time{display:block}.list .file-info{padding:.7rem}.list .file-visual{width:55px}.catalog-footer{font-size:.75rem}.details{grid-template-columns:90px minmax(0,1fr)}dialog{padding:1.1rem}.empty{padding:3rem 1rem}.empty p{font-size:.875rem}}
@media(max-width:360px){.files{grid-template-columns:1fr}.heading{flex-wrap:wrap}.profile-text{display:none!important}.view-switch{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

[hidden]{display:none!important}.search{margin:0}

:root{--bg:#0f1113;--panel:#181c1f;--line:#2a3034;--muted:#99a4aa;--accent:#b0d2c1}
.brand>span:last-child{display:flex;flex-direction:column;line-height:1.3}.brand small{font-size:.66rem;letter-spacing:.15em;text-transform:uppercase;font-weight:400;margin-top:4px}
.eyebrow{display:block;color:var(--accent);font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px}.sidebar{gap:2rem}.collections{display:grid;gap:.3rem}.sidebar .brand{margin-bottom:.3rem}.storage-heading{display:flex;justify-content:space-between;gap:.6rem;font-size:.72rem}.storage-heading #storage-label{font-variant-numeric:tabular-nums}.breadcrumb{color:var(--muted);font-size:.82rem}.breadcrumb>span:first-child{margin:0 .65rem;color:#57636a}.breadcrumb>span:last-child{color:#d2dcda}
.filters{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding-bottom:1.5rem}.compact{margin:0;display:flex;align-items:center;gap:.6rem;border:1px solid var(--line);border-radius:8px;padding:0 .8rem;color:var(--muted);background:var(--panel);max-width:260px}.compact select,.compact input{border:0;background:transparent;padding:.5rem 0;margin:0;min-height:42px;font-size:.82rem;width:160px;outline-offset:0}.filter-button{font-size:.82rem;background:transparent;min-height:44px}.filter-button.active{background:#26372e;border-color:#446351;color:var(--accent)}.filters>.quiet{font-size:.82rem;margin-left:auto}.toolbar label{margin-bottom:0}.heading h1{font-size:2.2rem}.heading{margin-top:2.3rem}.file-card{border-radius:12px}.file-visual{height:155px;background:linear-gradient(145deg,#222b29,#19201e)}.file-visual.documents{background:linear-gradient(145deg,#262c35,#1c2128)}.file-visual.videos{background:linear-gradient(145deg,#30272f,#201a24)}.file-info{padding:1.1rem 1.15rem .65rem}.file-info h3{font-size:.98rem;margin-bottom:.35rem}.file-info p{font-size:.79rem;line-height:1.45;color:var(--muted);height:2.3rem;overflow:hidden}.card-tags{display:flex;gap:5px;min-height:23px;flex-wrap:wrap}.card-tags>span{font-size:.63rem;line-height:1.6;background:#27322d;color:#c4d8cd;padding:2px 7px;border-radius:4px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-meta{padding:.65rem 1.15rem .95rem;font-size:.72rem;border-top:1px solid #252d2b;margin-top:.45rem}.favorite-mark{position:absolute;top:11px;right:11px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#18261ddd;color:#d7d9a0}.favorite-mark svg{width:15px;height:15px;fill:#d7d9a0}.catalog-footer{display:flex;justify-content:space-between;gap:1rem;font-size:.7rem;color:var(--muted);padding-top:1.8rem}.catalog-footer>span:last-child{display:flex;gap:.4rem;align-items:center}.catalog-footer svg{width:13px;height:13px}
.login{position:relative;grid-template-columns:minmax(0,420px) minmax(0,460px);gap:8vw;max-width:1160px;margin:auto}.login-aside{border-left:1px solid var(--line);padding:3rem 0 3rem 4rem;color:var(--muted)}.login-aside h2{color:var(--text);font-size:2.3rem;letter-spacing:-.04em;line-height:1.2}.login-aside p{font-size:.94rem;max-width:320px}.login-aside ul{padding:0;list-style:none;margin-top:2.5rem;display:grid;gap:1.2rem}.login-aside li{display:flex;align-items:center;gap:.8rem;font-size:.8rem}.login-aside svg{color:var(--accent)}.login-card form{padding:1.5rem;border:1px solid var(--line);background:var(--panel);border-radius:14px}.login-card>p{max-width:370px;font-size:.88rem}.login .brand{margin-bottom:3rem}.login h1{font-size:2.6rem}.login footer{font-size:.74rem}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 1rem}.notice{padding:.9rem 1rem;border:1px solid #394941;background:#1d2823;border-radius:8px;font-size:.82rem;line-height:1.55;margin-bottom:1.2rem}.notice.warning{border-color:#594e34;background:#29271e;color:#d7ceb1}.notice strong{color:inherit}.stack{display:grid;gap:1rem}.row-card{border:1px solid var(--line);background:#1c2124;border-radius:10px;padding:1rem}.row-card header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:.6rem}.row-card header>div{display:grid;gap:4px}.row-card h3,.row-card p{margin-bottom:.5rem}.row-card small{overflow-wrap:anywhere}.row-card .actions{display:flex;gap:.5rem;flex-wrap:wrap}.row-card .actions button{font-size:.76rem;min-height:40px;padding:.4rem .7rem}.check{display:flex;align-items:center;gap:.6rem;font-size:.85rem}.check input{width:18px;min-height:18px;margin:0;accent-color:var(--accent)}.grant-row{display:grid;grid-template-columns:minmax(80px,1fr) 1fr 1fr;align-items:center;gap:.7rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.grant-row .check{margin:0}.grant-row small{display:block}.grant-row input{width:18px;min-height:18px}.actions{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.6rem 1rem;border-radius:8px;border:1px solid var(--line)}.secret{font-family:ui-monospace,Consolas,monospace;letter-spacing:.07em;overflow-wrap:anywhere;padding:1rem;border:1px dashed #566a5e;border-radius:8px;background:#111a15;user-select:all}.recovery-codes{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;font-family:ui-monospace,Consolas,monospace}.recovery-codes code{padding:.5rem;background:#111a15;border-radius:5px;user-select:all}.metadata{display:grid;grid-template-columns:110px minmax(0,1fr);gap:.7rem;font-size:.8rem}.metadata dt{color:var(--muted)}.metadata dd{margin:0;overflow-wrap:anywhere}.detail-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem}.link-output{display:grid;gap:.8rem}.link-output input{font-size:.8rem}.share-page{max-width:530px;min-height:100dvh;display:flex;flex-direction:column;justify-content:center;margin:auto;padding:2rem}.share-page .brand{margin-bottom:3rem}.share-page h1{font-size:2rem;overflow-wrap:anywhere}.share-page .share-card{border:1px solid var(--line);padding:1.5rem;border-radius:14px;background:var(--panel)}.share-meta{display:flex;gap:1rem;color:var(--muted);font-size:.8rem}.share-page footer{margin-top:1.5rem;color:var(--muted);font-size:.75rem}progress{width:100%;height:7px;accent-color:var(--accent)}dialog{max-height:90dvh;overflow:auto}dialog .dialog-body{overflow-wrap:anywhere}.danger.full{background:#322122;border-color:#704446}.empty{min-height:300px}
@media(min-width:1400px){.main{padding-left:3.5rem;padding-right:3.5rem}.files{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}}
@media(max-width:950px){.login{grid-template-columns:minmax(0,420px);gap:0}.login-aside{display:none}.main{padding-left:1.5rem;padding-right:1.5rem}.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:1.5rem .8rem}.brand{font-size:1rem}.files{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}.storage-heading{display:block}.storage-heading span{display:block;margin-top:5px}}
@media(max-width:680px){.shell{display:block}.sidebar{display:block;position:static;padding:1rem;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin-bottom:1rem}.sidebar nav{margin-top:.8rem}.nav-title{display:none}.collections,.categories{display:flex;flex-direction:row;overflow-x:auto;gap:5px;scrollbar-width:none}.category{width:auto;flex-shrink:0;white-space:nowrap;font-size:.73rem;padding:.45rem .65rem;min-height:40px}.category .icon{width:15px;height:15px}.category .count{margin-left:4px}.sidebar-bottom{display:none}.main{padding:0 1rem 2rem}.topbar{min-height:64px}.topbar .breadcrumb{font-size:.7rem}.profile .profile-text{font-size:.75rem}.profile small{font-size:.65rem}.heading{margin:1.6rem 0 1.3rem;align-items:flex-start}.heading h1{font-size:1.75rem}.heading p{font-size:.76rem}.heading>.primary{font-size:0;width:44px;height:44px;padding:0;flex-shrink:0}.heading>.primary svg{width:20px;height:20px}.eyebrow{font-size:.58rem;letter-spacing:.13em;margin-bottom:8px}.toolbar{gap:.5rem;margin-bottom:.9rem}.search input{font-size:.8rem}.filters{gap:.4rem;padding-bottom:1rem}.compact{flex:1;max-width:none;min-width:0;padding:0 .55rem}.compact input,.compact select{width:100%;min-width:0;font-size:.75rem}.compact .icon{width:15px}.filter-button,.filters>.quiet{font-size:.71rem;padding:.45rem .7rem}.filters>.quiet{margin-left:0}.files{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.file-visual{height:112px}.file-visual>.icon{width:34px;height:34px}.file-info{padding:.75rem .7rem .5rem}.file-info h3{font-size:.8rem;overflow-wrap:anywhere}.file-info p{font-size:.67rem;height:2rem}.card-tags{gap:3px}.card-tags>span{font-size:.54rem;max-width:110px}.file-meta{font-size:.59rem;padding:.55rem .7rem .7rem;gap:.4rem}.catalog-footer{font-size:.61rem}.catalog-footer>span:last-child{max-width:140px}.two-column,.form-grid{grid-template-columns:1fr}.login{padding:1.4rem}.login .brand{margin-bottom:2.6rem}.login h1{font-size:2.2rem}.login-card form{padding:1.1rem}dialog{width:calc(100% - 1.2rem);padding:1rem;max-height:94dvh}.grant-row{grid-template-columns:1fr 1fr;gap:.5rem}.grant-row>span:first-child{grid-column:1/-1}.grant-row .check{font-size:.75rem}.metadata{grid-template-columns:90px minmax(0,1fr);font-size:.75rem}.row-card{padding:.8rem}.row-card header{flex-direction:column;gap:.2rem}.share-page{padding:1.4rem}.files.list .file-card{grid-template-columns:55px minmax(0,1fr)}.files.list .file-meta{grid-column:2;padding:.2rem .7rem .65rem}.files.list .file-visual{height:80px}.files.list .file-info{padding:.6rem .7rem}.files.list .card-tags{display:none}}

.brand small,.eyebrow,.nav-title,.card-tags>span,.extension,.catalog-footer,.storage-heading,.file-meta{font-size:.75rem}.compact input,.compact select,.filter-button,.filters>.quiet{font-size:.875rem}.login-aside>p{font-size:2.6rem;line-height:1.25;color:var(--text);letter-spacing:-.04em}.login-aside>span{font-size:.75rem;letter-spacing:.14em}.login-aside>small{font-size:.9rem}
@media(max-width:680px){.heading>.primary .icon{display:block}.category{font-size:.875rem}.category .icon{display:block}.compact{flex-basis:calc(50% - .4rem)}.compact input,.compact select{font-size:.875rem}.file-info h3{font-size:.875rem}.file-info p{font-size:.75rem;height:2.4rem}.file-meta{font-size:.75rem;flex-wrap:wrap}.card-tags>span{font-size:.75rem}.file-visual{height:120px}.filter-button,.filters>.quiet{font-size:.875rem}.catalog-footer{font-size:.75rem}.profile .profile-text{font-size:.875rem}.profile small{font-size:.75rem}.topbar .breadcrumb{font-size:.75rem}.eyebrow{font-size:.75rem}.grant-row .check{font-size:.875rem}.metadata{font-size:.875rem}.files.list .file-visual{width:55px}.category .count{font-size:.75rem}}

.account-summary{display:flex;align-items:center;gap:.85rem;margin:1rem 0 1.5rem}.account-summary>div{display:grid;gap:3px}.account-summary small{font-size:.8rem}.account-menu{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.account-menu>button{justify-content:flex-start;text-align:left;font-size:.875rem}.account-menu #logout{color:var(--danger)}@media(max-width:680px){.account-menu{grid-template-columns:1fr}.account-menu>button{width:100%}}

/* Mobile file glyphs keep the shared 24-unit outline system and full card targets. */
@media(max-width:680px){
 .file-visual>.icon{width:26px;height:26px;stroke-width:1.5;color:#a3bdb0}
 .files.list .file-visual>.icon{width:22px;height:22px;stroke-width:1.5}
 .file-visual.documents>.icon{color:#a7b7cb}
 .file-visual.videos>.icon{color:#c0a9bd}
 .file-visual.other>.icon{color:#aeb8b6}
}

/* Drawer controls are absent from the unchanged desktop layout. */
.nav-toggle,.nav-close,.nav-backdrop{display:none}.drawer-heading{display:block}
@media(max-width:800px){
 .shell{display:block}.main{width:100%;min-width:0}
 .sidebar{position:fixed;inset:0 auto 0 0;width:290px;max-width:calc(100vw - 36px);height:100dvh;z-index:40;padding:1.25rem;display:flex;flex-direction:column;gap:1.5rem;overflow-y:auto;overscroll-behavior:contain;border-right:1px solid #35403b;border-bottom:0;background:#14191b;transform:translateX(-100%);visibility:hidden;transition:transform .18s ease,visibility .18s;box-shadow:12px 0 40px #0005}
 .navigation-open{overflow:hidden}.navigation-open .sidebar{transform:translateX(0);visibility:visible}
 .drawer-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.drawer-heading .brand{margin:0;padding:0}.drawer-heading .brand small{font-size:.65rem}
 .nav-toggle,.nav-close{display:inline-flex;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;flex-shrink:0}.nav-toggle{background:transparent;border-color:var(--line)}.nav-close{background:transparent;border-color:transparent}
 .nav-backdrop:not([hidden]){display:block;position:fixed;inset:0;width:100%;height:100dvh;z-index:35;border:0;border-radius:0;padding:0;background:#0008;backdrop-filter:blur(2px)}
 .sidebar nav{margin:0}.sidebar .nav-title{display:block;margin:0 .65rem .55rem;font-size:.75rem}.sidebar .collections,.sidebar .categories{display:flex;flex-direction:column;overflow:visible;gap:.3rem;padding:0}.sidebar .category{width:100%;min-height:44px;justify-content:flex-start;font-size:.875rem;padding:.65rem .75rem}.sidebar .category .icon{display:block;width:18px;height:18px}.sidebar .category .count{margin-left:auto}.sidebar-bottom{display:block;margin-top:auto;font-size:.75rem;padding:.8rem .5rem}.sidebar .storage-heading{display:flex}.sidebar .storage-heading span{margin:0}
 .topbar{gap:.6rem}.breadcrumb{min-width:0;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile{flex-shrink:0;padding:.4rem}.heading{margin-top:1.5rem}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}

.mobile-tabs{display:none}
@media(max-width:800px){
 .nav-toggle{display:none}.main{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
 .sidebar{transition:transform .18s ease}.mobile-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;z-index:30;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:calc(100% - 24px);max-width:520px;padding:6px;gap:3px;background:#202529f2;border:1px solid #3c434b;border-radius:28px;box-shadow:0 8px 30px #0007;backdrop-filter:blur(16px)}
 .mobile-tab{position:relative;display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:60px;min-width:0;padding:7px 1px;border:0;border-radius:22px;background:transparent;color:#cbd2d8;font-size:12px;line-height:1.2;font-weight:500;white-space:nowrap}.mobile-tab>.icon{width:21px;height:21px;stroke-width:1.65}.mobile-tab.active{color:#86bcff;background:#294462}.mobile-tab:hover{background:#303a45}.mobile-tab.active:hover{background:#304e70}.mobile-tab:focus-visible{outline-offset:1px}
 .keyboard-open .mobile-tabs{visibility:hidden;pointer-events:none}.keyboard-open .main{padding-bottom:1.5rem}
}
@media(max-width:350px){.mobile-tabs{width:calc(100% - 16px);gap:0;padding:5px}.mobile-tab{font-size:12px}.mobile-tab>.icon{width:20px;height:20px}}

.nav-account{display:none}@media(max-width:800px){.nav-account{display:flex;justify-content:flex-start;min-height:44px;background:transparent;border-color:var(--line);font-size:.875rem}.mobile-tab{padding:4px 1px}.mobile-tab>span{white-space:normal;text-align:center;min-height:28px;display:flex;align-items:center;justify-content:center;max-width:100%}}
@media(max-width:800px){.view-switch{display:flex}.view-switch button{width:44px;min-width:44px;height:44px}.search{min-width:0}}
@media(max-width:800px){.file-visual>.icon{width:26px;height:26px;stroke-width:1.5;color:#a3bdb0}.files.list .file-visual>.icon{width:22px;height:22px}.file-visual.documents>.icon{color:#a7b7cb}.file-visual.videos>.icon{color:#c0a9bd}.file-visual.other>.icon{color:#aeb8b6}}

.file-visual>img.app-icon{width:44px;height:44px;object-fit:contain;border-radius:7px;flex-shrink:0}.icon-fallback{display:flex;align-items:center;justify-content:center}.icon-fallback>.icon{width:44px;height:44px;stroke-width:1.1;color:#a3bdb0}.files.list .file-visual>img.app-icon{width:28px;height:28px}.preview>img.detail-icon{width:64px;height:64px;object-fit:contain;border-radius:10px}@media(max-width:800px){.file-visual>img.app-icon,.icon-fallback>.icon{width:26px;height:26px}.files.list .file-visual>img.app-icon,.files.list .icon-fallback>.icon{width:22px;height:22px}.icon-fallback>.icon{stroke-width:1.5}}

#qr-preview{display:flex;justify-content:center;margin:20px 0}.share-qr{display:block;width:min(280px,100%);height:auto;image-rendering:pixelated;background:#fff;border-radius:0}

/* Account administration: same line icons and keyboard-visible controls. */
.account-list{display:grid;gap:14px}.account-row{border:1px solid var(--line,#dce2e6);border-radius:16px;padding:16px}.account-row header{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.account-row header div{flex:1;min-width:100px}.account-row header strong,.account-row header small{display:block;overflow-wrap:anywhere}.account-row header small,.account-summary-line{color:var(--muted,#66717b)}.account-summary-line{font-size:13px;margin:12px 0}.account-status{font-size:12px;border-radius:20px;padding:6px 10px;background:#293139;color:#c5cfd6}.status-active{background:#253b30;color:#acd9bb}.account-actions{display:flex;gap:8px;flex-wrap:wrap}.account-actions button,.account-file-list button,.account-back,.account-create{min-height:44px}.account-actions button{font-size:13px;display:inline-flex;align-items:center;gap:6px}.account-create,.account-back{margin-top:16px}.account-file-list{display:grid;gap:8px}.account-file-list button{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px}.account-file-list span{min-width:0}.account-file-list strong,.account-file-list small{display:block;overflow-wrap:anywhere}.account-file-list small{font-size:12px;color:var(--muted,#66717b);margin-top:4px}.account-row button:focus-visible,.account-file-list button:focus-visible{outline:3px solid #2877b7;outline-offset:3px}@media(max-width:480px){.account-row{padding:12px}.account-status{flex-basis:auto}.account-actions button{flex:1 1 140px}.account-actions .hint{flex-basis:100%}.account-row .avatar{width:36px;height:36px}}

.account-modal button,.account-modal .close{min-height:44px}

/* Decimal account quotas: allocation is separate from physical disk capacity. */
.storage-stats{display:grid;gap:6px;font-size:12px;margin:12px 0}.storage-stats>div{display:flex;justify-content:space-between;gap:8px}.storage-stats dt{color:var(--muted)}.storage-stats dd{margin:0;text-align:right;overflow-wrap:anywhere}.sidebar-bottom .storage-heading{display:block}.sidebar-bottom small{line-height:1.6}.quota-modal{width:min(840px,calc(100vw - 32px))}.quota-pool,.quota-physical{border:1px solid var(--line);border-radius:14px;padding:16px;margin:16px 0}.quota-pool h3,.quota-physical h3{margin:0 0 12px}.quota-physical{background:var(--surface,#191d20)}.quota-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.quota-metrics>div{min-width:0}.quota-metrics dt{font-size:12px;color:var(--muted);line-height:1.5}.quota-metrics dd{margin:4px 0 0;font-size:15px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.quota-metrics .quota-emphasis dd{font-size:20px;color:var(--accent,#b3ddbd);font-weight:600}.quota-account-list{margin-top:16px}.quota-account-row [data-quota-edit]{width:100%;min-height:44px}.quota-footer{margin-top:20px}.quota-modal input{min-width:0;width:100%}.personal-quota{padding-top:12px;border-top:1px solid var(--line)}#users-storage-settings{margin-bottom:16px}#personal-storage>.error{font-size:12px}.quota-modal [hidden]{display:none!important}@media(max-width:480px){.quota-modal{width:calc(100vw - 20px);padding:18px}.quota-pool,.quota-physical{padding:12px}.quota-metrics{gap:12px 10px}.quota-metrics dd{font-size:14px}.quota-footer button{flex:1 1 100%}.personal-quota dd{font-size:13px}}
.account-qr-setting{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.account-qr-setting p{margin:0 0 10px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px}.account-qr-setting [data-qr-status]{color:var(--muted)}.account-qr-setting button{width:100%;min-height:44px}
/* The supplied Archive logo is displayed in full, without recoloring or cropping. */
.archive-brand{justify-content:center;padding:0;line-height:1;margin-bottom:16px}.archive-brand img{display:block;width:124px;height:124px;object-fit:contain;border-radius:12px;background:#fff}.login .archive-brand{justify-content:flex-start;margin-bottom:26px}.login .archive-brand img{width:150px;height:150px}.mobile-brand{display:none}.sidebar{overflow-y:auto}.sidebar .drawer-heading .archive-brand{margin-bottom:12px}.nav-users,.nav-mass-send{display:flex;width:100%;justify-content:flex-start;text-align:left;min-height:48px;gap:10px;font-size:.85rem;margin:6px 0}.nav-users{background:#253d32;border-color:#587961;color:#d0edd9;font-weight:700;letter-spacing:.04em}.nav-mass-send{background:#1d282e;border-color:#40555e}.account-name{display:block;min-height:44px;font-size:1.05rem;font-weight:700;padding:0 8px;margin-left:-8px;border-color:transparent;background:transparent;text-align:left;color:var(--accent);overflow-wrap:anywhere;max-width:100%}.account-name:hover{background:#273c30}.account-modal,.feature-modal{width:min(760px,calc(100vw - 32px))}.account-file-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.account-file-tabs button{flex:1;min-height:44px}.section-permissions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 24px}.section-permissions .check{margin:0;min-height:44px;border:1px solid var(--line);border-radius:8px;padding:10px}.access-grant{grid-template-columns:minmax(100px,1fr) 135px 145px}.access-grant strong{overflow-wrap:anywhere}.feature-modal h3,.account-modal h3{margin-top:24px}.mass-mode{border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:18px 0}.mass-mode legend{padding:0 8px;font-weight:600}.mass-mode .check{min-height:40px;margin:0}.mass-mode input{flex:none}.recipient-list{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:8px}.recipient-row{min-height:44px;margin:0;padding:8px;overflow-wrap:anywhere}.recipient-row:nth-child(even){background:#202b26}.recipient-row input{flex:none}.recipient-snapshot{display:flex;gap:8px;flex-wrap:wrap;max-height:220px;overflow:auto;margin:16px 0}.recipient-snapshot>span{padding:8px 10px;background:#202b26;border:1px solid var(--line);border-radius:6px;font-size:.85rem;overflow-wrap:anywhere}.recipient-snapshot .recipient-unavailable{background:#342723;border-color:#6d4a37}.recipient-snapshot small{display:block;color:#e1c3aa;max-width:280px;margin-top:4px}.mass-result-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.mass-result-row strong{min-width:90px;max-width:50%}.mass-result-row span{text-align:right}.success{color:#b8ddb6}.mass-results{max-height:380px;overflow:auto}#mass-more{width:100%;margin-top:8px}#mass-compose [hidden],.feature-modal [hidden]{display:none!important}
@media(max-width:800px){.mobile-brand{display:block;width:64px;height:64px;object-fit:contain;background:#fff;border-radius:8px;flex-shrink:0}.topbar{min-height:88px}.topbar .breadcrumb{font-size:.75rem}.topbar .profile-text{display:none}.sidebar .drawer-heading .archive-brand{margin:0}.sidebar .archive-brand img{width:124px;height:124px}.drawer-heading{align-items:flex-start}.mobile-tabs{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;grid-template-columns:none}.nav-users,.nav-mass-send{margin:0;flex-shrink:0}.sidebar{gap:18px}.sidebar-bottom{margin-top:0}.archive-brand img{width:112px;height:112px}.login .archive-brand img{width:132px;height:132px}}
@media(max-width:480px){.account-modal,.feature-modal{width:calc(100vw - 20px);padding:16px}.access-grant{grid-template-columns:1fr 1fr}.access-grant strong{grid-column:1/-1}.section-permissions{grid-template-columns:1fr}.mass-result-row{flex-direction:column;gap:5px}.mass-result-row strong{max-width:100%}.mass-result-row span{text-align:left}.feature-modal .actions>button{flex:1 1 100%}.feature-modal select{font-size:14px}.recipient-snapshot>span{max-width:100%}.account-file-tabs button{font-size:13px;padding:9px}}
@media(min-width:801px){.sidebar{gap:22px}.sidebar>.nav-users{margin:-8px 0 0}.sidebar>.nav-mass-send{margin:0}.sidebar .collections .category{min-height:44px;padding:.5rem .7rem}.sidebar .categories{gap:0}}
@media(max-width:800px){.mobile-users{color:#bfdcc6}.mobile-tabs:has(.mobile-users) .mobile-tab{font-size:12px}.mobile-tabs:has(.mobile-users){gap:1px;padding:5px}.mobile-tabs:has(.mobile-users) .mobile-tab>span{overflow-wrap:anywhere}.mobile-users .icon{color:#bfdcc6}}
.receive-header .archive-brand{margin:0}.receive-header .archive-brand img{width:96px;height:96px}.access-grant input{flex-shrink:0}#access-no-folders[hidden]{display:none!important}

/* Compact account list; other account/quota screens retain their layout. */
.users-list{display:grid;gap:0;border-top:1px solid var(--line);margin-top:12px}.user-list-row{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:12px;padding:10px 8px;min-height:56px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}.user-list-row>span:first-child{display:grid;gap:4px;min-width:0}.user-list-row strong{overflow-wrap:anywhere}.user-list-row small{color:var(--muted);font-size:.8rem}.user-list-row:hover{background:#25332c}.users-search{margin:0}
@media(max-width:800px){.sidebar>.nav-users{width:100%;min-height:44px;height:auto;padding:.5rem .7rem;font-size:.875rem;font-weight:400;letter-spacing:normal;text-transform:none;justify-content:flex-start;background:transparent;border-color:var(--line)}.sidebar>.nav-users .icon{width:20px;height:20px}}

/* Additive suite panels, safe at narrow widths. */
.suite-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.suite-heading{display:flex;align-items:end;gap:12px}.suite-heading label{flex:1}.subscription-totals{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.subscription-totals>div{padding:12px 16px;border:1px solid var(--line);border-radius:12px}.subscription-totals small,.subscription-row small,.suite-section-list small,.vpn-history small,.vpn-preview small,.vpn-assignment-list small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.subscription-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.subscription-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.subscription-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;color:white;background:#64748b;font-weight:700}.icon-chatgpt{background:#167d69}.icon-timeweb{background:#d47a32}.icon-yandex,.icon-netflix{background:#b13232}.icon-google,.icon-telegram{background:#286bbc}.icon-spotify{background:#25834b}.subscription-notices .notice{margin:10px 0}.suite-section-list>div,.vpn-history>div,.vpn-preview>div,.vpn-assignment-list>div{border-bottom:1px solid var(--line);padding:10px 0;overflow-wrap:anywhere}.vpn-preview strong,.vpn-history strong,.vpn-assignment-list strong{display:inline-block;min-width:72px}.software-links{margin:16px 0;padding-top:12px;border-top:1px solid var(--line)}.vpn-history{max-height:360px;overflow:auto}.suite-section-list{margin-bottom:20px}#vpn-upload-form .recipient-list{max-height:240px;overflow:auto}
@media(max-width:480px){.suite-grid{grid-template-columns:1fr}.subscription-row{flex-wrap:wrap}.subscription-row>button{margin-left:54px}.suite-heading{align-items:center}.suite-heading button{font-size:13px}.vpn-preview strong,.vpn-history strong,.vpn-assignment-list strong{display:block}}

/* Scope the reminder group spacing; .hint otherwise has a negative top margin. */
#subscription-channels{min-width:0}
#subscription-channels + .hint{margin-top:.75rem}
#subscription-channels .check{align-items:flex-start;overflow-wrap:anywhere}
#subscription-channels .check input{flex:0 0 18px;margin-top:.15rem}

/* External delivery: keep status and explanation on separate lines. */
.external-results .mass-result-row>span{display:grid;gap:.45rem;min-width:0;overflow-wrap:anywhere}
.external-results .mass-result-row>span>small{display:block;line-height:1.5}
.external-results+.hint{margin-top:.85rem}

/* One active contact card; retain the full previous layout. */
.integration-cards.email-only-cards{grid-template-columns:minmax(0,1fr)}

/* File-detail buttons only. Existing account, transfer, mail and form layouts stay independent. */
.actions.file-card-actions{display:grid;gap:10px;margin:22px 0 0;padding-top:16px;border-top:1px solid var(--line)}
.file-card-actions>button,.file-card-actions>a,.file-card-secondary-actions>button,.file-card-destructive>button,.file-card-more>summary,.file-card-more-list>button,.file-card-more-list>a{width:100%;min-width:0;min-height:48px;border-radius:12px;padding:11px 14px;font-size:.875rem;line-height:1.35;gap:8px;white-space:normal;overflow-wrap:anywhere;box-sizing:border-box}
.file-card-actions .icon{width:18px;height:18px;flex:0 0 18px;stroke-width:1.8}
.file-card-actions>.file-card-primary{justify-content:center;background:linear-gradient(180deg,#b7dac9,var(--accent));border:1px solid #b7dac9;color:#14261d;font-weight:650;min-height:50px;box-shadow:0 2px 8px #07150b22}
.file-card-actions>.file-card-primary:hover{background:#c0dfcf;border-color:#c0dfcf;text-decoration:none}
.file-card-secondary-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:stretch}
.file-card-secondary-actions>button{background:#232c29;border-color:#3a4841;font-weight:500}
.file-card-secondary-actions>button:only-child{grid-column:1/-1}
.file-card-secondary-actions>button:hover{background:#2b3831;border-color:#668575}
.file-card-more{min-width:0;border:1px solid #35413b;border-radius:12px;background:#1b2420}
.file-card-more>summary{display:flex;align-items:center;cursor:pointer;list-style:none;color:#d3dfd8;font-weight:500;user-select:none}
.file-card-more>summary::-webkit-details-marker{display:none}
.file-card-more>summary::after{content:'';width:7px;height:7px;border-right:2px solid #9ab6a5;border-bottom:2px solid #9ab6a5;transform:rotate(45deg);flex:0 0 7px;margin:0 2px 4px 4px}
.file-card-more[open]>summary::after{transform:rotate(225deg);margin-top:5px;margin-bottom:0}
.file-card-more>summary:hover{background:#25322b}
.file-card-more>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.file-card-more-count{margin-left:auto;border-radius:20px;padding:2px 7px;background:#2b3a31;color:#bbcfbf;font-size:.75rem;font-variant-numeric:tabular-nums;line-height:1.4}
.file-card-more-list{display:grid;gap:6px;padding:8px;border-top:1px solid #35413b}
.file-card-more-list>.file-card-menu-action{display:flex;align-items:center;justify-content:flex-start;text-align:left;background:#222b26;border:1px solid #303e35;color:var(--text)}
.file-card-more-list>.file-card-menu-action:hover{background:#2c3931;border-color:#5f7d6b}
.file-card-more-list>.file-card-menu-action.danger,.file-card-destructive>.danger{color:#efb2b2;background:#302322;border-color:#60403f}
.file-card-more-list>.file-card-menu-action.danger{margin-top:6px}
.file-card-more-list>.file-card-menu-action.danger:hover,.file-card-destructive>.danger:hover{background:#412b2a;border-color:#a36160}
.file-card-action-note{margin:2px 0 0;line-height:1.5}
@media(max-width:360px){.file-card-secondary-actions{grid-template-columns:minmax(0,1fr)}}

.sites-modal{width:min(900px,calc(100vw - 24px))}.sites-toolbar{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto;gap:12px;align-items:end}.sites-toolbar label{min-width:0}.sites-toolbar input,.sites-toolbar select{width:100%;min-width:0}.sites-owner-actions,.sites-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.sites-modal button,.sites-modal .site-actions a{min-height:46px}.sites-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.site-card{padding:20px;border:1px solid var(--line,#d8e0e5);border-radius:16px;background:var(--panel);min-width:0;display:flex;flex-direction:column;gap:12px}.site-card-head{display:flex;align-items:center;gap:10px;color:var(--muted,#5b6878);overflow-wrap:anywhere}.site-card-head .icon{flex-shrink:0;width:28px;height:28px}.site-card h3,.site-description{margin:0;overflow-wrap:anywhere}.site-description{white-space:pre-wrap;line-height:1.5;flex:1}.site-category{font-size:12px;color:var(--muted,#5b6878)}.site-actions{display:flex;flex-wrap:wrap;gap:8px}.site-actions>*{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;min-width:0;overflow-wrap:anywhere}.site-actions .primary{flex:1;padding:12px 14px;border-radius:10px;background:var(--accent);color:#15241e}.site-category-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line,#d8e0e5)}.site-category-list strong{overflow-wrap:anywhere;min-width:0}.sites-form-actions>*{flex:1;min-width:140px}@media(max-width:600px){.sites-grid,.sites-toolbar{grid-template-columns:minmax(0,1fr)}.site-card{padding:16px}.sites-toolbar button{width:100%}}

/* Focused Sites card treatment. No global controls, filters or file cards. */
.sites-modal .site-card{padding:18px;border-color:#39463e;border-radius:18px;background:linear-gradient(140deg,#222d27 0%,#1a211e 62%,#191f1d 100%);gap:14px;box-shadow:0 5px 18px #0002}
.sites-modal .site-card-head{align-items:flex-start;gap:12px;color:var(--text)}
.sites-modal .site-mark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #466052;border-radius:12px;background:#2c4034;color:#b7d8c6}
.sites-modal .site-mark .icon{width:23px;height:23px;stroke-width:1.5}
.sites-modal .site-identity{min-width:0;flex:1;padding-top:1px}
.sites-modal .site-card h3{margin:0 0 3px;font-size:1.125rem;line-height:1.35;letter-spacing:-.02em;font-weight:600;overflow-wrap:anywhere}
.sites-modal .site-domain{display:block;font-size:.8125rem;line-height:1.5;color:#aabdb2;overflow-wrap:anywhere}
.sites-modal .site-description{margin:0;color:#d0d9d3;font-size:.9375rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.sites-modal .site-category{align-self:flex-start;max-width:100%;padding:4px 10px;border:1px solid #405447;border-radius:8px;background:#293b30;color:#c1d6c7;font-size:.75rem;line-height:1.45;overflow-wrap:anywhere}
.sites-modal .site-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-top:14px;margin-top:2px;border-top:1px solid #34483b}
.sites-modal .site-actions>*{min-width:0;min-height:46px;padding:10px 12px;gap:8px;border-radius:11px;font-size:.875rem;line-height:1.4}
.sites-modal .site-actions>.primary{padding:10px 12px;background:var(--accent);border:1px solid var(--accent);font-weight:600;justify-content:space-between;color:#15241e}
.sites-modal .site-actions>.primary:hover{background:#bedbce;border-color:#bedbce;text-decoration:none}
.sites-modal .site-actions>button{background:#212c25;border-color:#405548;color:#c9d9ce}
.sites-modal .site-actions>button:hover{background:#2d3e32;border-color:#749580}
.sites-modal .site-actions .icon{width:18px;height:18px}
.sites-modal .site-actions>*:focus-visible{outline:2px solid #c1dfce;outline-offset:3px}
@media(max-width:480px){
 .sites-modal .site-card{padding:16px;gap:13px}
 .sites-modal .site-actions>button{width:46px;padding:10px}
 .sites-modal .site-edit-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}

/* Only the catalog folder selector opens this separate native modal drawer. */
.folder-control{padding:0!important;display:block!important}
.folder-control>select[hidden]{display:none!important}
.folder-trigger{width:100%;min-height:46px;border:0;background:transparent;justify-content:flex-start;gap:10px;padding:10px 12px;color:var(--text);font-size:.875rem;text-align:left}
.folder-trigger:hover{background:#25312b}.folder-trigger>span{min-width:0;flex:1;overflow-wrap:anywhere}.folder-trigger>.folder-chevron{width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);flex:0 0 7px;margin:0 4px}
/* Compact, centered folder selector; touch rows remain at least44 px. */
dialog.folder-picker{position:fixed;inset:0;margin:auto;width:min(380px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:auto;max-height:min(72dvh,460px);padding:0;border:1px solid #435449;border-radius:16px;background:#18201c;color:var(--text);box-shadow:0 16px 50px #0007;overflow:hidden}
dialog.folder-picker[open]{display:flex;flex-direction:column}
dialog.folder-picker::backdrop{background:#050a08a8;backdrop-filter:blur(2px)}
.folder-picker-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border-bottom:1px solid #34453a;flex:0 0 auto;min-width:0}
.folder-picker-head h2{margin:0;font-size:1.0625rem;line-height:1.3;overflow-wrap:anywhere}
.folder-picker-head button{width:44px;height:44px;min-height:44px;padding:10px;background:#243228;border-color:#3d5345;flex:0 0 44px}
.folder-picker-list{display:flex;flex-direction:column;gap:4px;padding:8px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;min-height:0;min-width:0;flex:1 1 auto;scrollbar-gutter:stable}
.folder-picker-list>button{width:100%;min-height:44px;justify-content:flex-start;gap:10px;padding:9px 10px;text-align:left;border:1px solid transparent;background:transparent;color:#c4d0c8;border-radius:10px;font-size:.875rem;line-height:1.35;flex-shrink:0;min-width:0}
.folder-picker-list>button>.icon{width:20px;height:20px;flex:0 0 20px}
.folder-picker-list>button>span:not(.folder-choice-check){min-width:0;flex:1;overflow-wrap:anywhere;white-space:normal}.folder-picker-list strong{font-weight:500;display:block}.folder-picker-list small{display:block;font-size:.75rem;color:#a3b2a7;margin-top:2px}.folder-choice-check{visibility:hidden;color:#c5e3d0;flex:0 0 14px}
.folder-picker-list>button:hover{background:#26372b}.folder-picker-list>button[aria-pressed=true]{background:#2c4635;border-color:#658d71;color:#e1f0e5}.folder-picker-list>button[aria-pressed=true] .folder-choice-check{visibility:visible}
.folder-picker button:focus-visible{outline:2px solid #badac6;outline-offset:-2px}
@media(max-height:360px){dialog.folder-picker{max-height:calc(100dvh - 20px)}}

/* Dense Site cards retain full data and 44+ px actions. */
.sites-modal{width:min(1160px,calc(100vw - 24px))}
.sites-modal .sites-grid{grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));gap:12px;align-items:start}
.sites-modal .site-card{padding:14px;gap:9px;border-radius:14px;box-shadow:none}
.sites-modal .site-card-head{gap:10px}
.sites-modal .site-mark{flex-basis:34px;width:34px;height:34px;border-radius:10px}
.sites-modal .site-mark .icon{width:20px;height:20px}
.sites-modal .site-card h3{font-size:1rem;line-height:1.3;margin-bottom:2px}
.sites-modal .site-domain{font-size:.75rem}
.sites-modal .site-description-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:7px;min-width:0}
.sites-modal .site-description{font-size:.875rem;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex:none;min-width:0}
.sites-modal .site-description.is-expanded{display:block;overflow:visible}
.sites-modal .site-description-toggle{width:44px;height:44px;min-height:44px;padding:10px;border-color:#3c5343;background:#23332a}
.sites-modal .site-description-toggle[hidden]{display:none!important}
.site-description-toggle i{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-4px}
.site-description-toggle[aria-expanded=true] i{transform:rotate(225deg);margin-top:4px}
.sites-modal .site-description-toggle span,.sites-modal .site-edit-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.sites-modal .site-category{padding:3px 8px;font-size:.75rem;border-radius:6px}
.sites-modal .site-actions{padding-top:9px;margin-top:0}
.sites-modal .site-actions>button{width:46px;padding:10px}
.sites-modal .site-actions>.primary{justify-content:center}
/* Bottom label margins caused Add/Find to sit below their input edges. */
.sites-modal .sites-toolbar>label,.feature-modal .subscription-toolbar>label{margin:0;min-width:0}
.sites-modal .sites-toolbar input,.sites-modal .sites-toolbar select,.feature-modal .subscription-toolbar input{height:46px;min-height:46px}
.sites-modal .sites-toolbar>button,.feature-modal .subscription-toolbar>button{height:46px;min-height:46px;padding:10px 16px;white-space:nowrap}
.feature-modal .subscription-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-bottom:16px}
@media(max-width:600px){.sites-modal .sites-grid{grid-template-columns:minmax(0,1fr)}.sites-modal .site-card{padding:12px;gap:8px}.feature-modal .subscription-toolbar{grid-template-columns:minmax(0,1fr)}.feature-modal .subscription-toolbar>button{width:100%}}

.account-modal .users-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.account-modal .users-actions>button{margin:0;min-height:46px;height:auto;min-width:0;padding:10px 12px;font-size:.875rem;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:600px){.account-modal .users-actions{grid-template-columns:minmax(0,1fr)}}

.owner-mail-file-list{max-height:320px;overflow:auto;overscroll-behavior:contain;padding:10px;border:1px solid var(--line);border-radius:12px;min-width:0}
.owner-mail-file{display:flex;align-items:flex-start;gap:10px;min-height:48px;margin:0;padding:10px 6px;border-bottom:1px solid var(--line)}
.owner-mail-file input{width:18px;min-height:18px;flex:0 0 18px;margin-top:3px}.owner-mail-file span{min-width:0;overflow-wrap:anywhere}.owner-mail-file strong,.owner-mail-file small,.owner-mail-preview-files small{display:block}.owner-mail-file strong{font-size:.875rem}.owner-mail-file small,.owner-mail-preview-files small{font-size:.75rem;color:var(--muted)}
.owner-mail-recipient,.owner-mail-preview-files{overflow-wrap:anywhere}.owner-mail-preview-files{padding-left:20px}.owner-mail-preview-files li{margin:12px 0}.owner-mail-modal fieldset{min-width:0}.owner-mail-modal .check{min-height:44px}.owner-mail-modal button{min-height:46px}

.account-modal .users-actions>#users-storage-settings{margin:0}

[data-collection="trash"],[data-collection="trash"]>span,#account-trash{text-transform:none}

/* Personal/Bulk styles use the existing allowed style.css route. */
#dialog.private-modal,#dialog.batch-modal,#dialog.panels-modal{width:min(780px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;box-sizing:border-box;}
.private-tools,.next-tabs,.next-actions,.private-book-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:12px 0;}
.next-tabs button.active{background:var(--accent,#f3ae65);color:#111;}
.private-modal button,.batch-modal button,.panels-modal button,.vpn-panel-card a{min-height:44px;white-space:normal;overflow-wrap:anywhere;}
.private-modal label,.batch-modal label,.panels-modal label{min-width:0;display:block;margin:12px 0;}
.private-modal input,.batch-modal input,.panels-modal input,.private-modal select,.batch-modal select{width:100%;min-width:0;max-width:100%;box-sizing:border-box;min-height:44px;}
.next-file-list{display:flex;flex-direction:column;gap:8px;max-height:min(48dvh,380px);overflow-y:auto;overflow-x:hidden;min-width:0;}
.next-file-row{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border,#333);border-radius:10px;min-width:0;flex-shrink:0;}
.next-file-row>div,.next-file-row>strong{min-width:0;flex:1;overflow-wrap:anywhere;}.next-file-row strong,.next-file-row small{display:block;overflow-wrap:anywhere;}.next-file-row small{opacity:.7;margin-top:5px;}.next-file-row>span{max-width:40%;overflow-wrap:anywhere;}
.vpn-panel-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}.vpn-panel-card{border:1px solid var(--border,#333);padding:14px;border-radius:12px;min-width:0;}.vpn-panel-card h3{overflow-wrap:anywhere;}.vpn-panel-card a{display:flex;align-items:center;justify-content:center;text-align:center;}.vpn-panel-card button{width:100%;margin-top:10px;}
.batch-drop-active{outline:2px dashed var(--accent,#f3ae65);outline-offset:-5px;}
@media(max-width:600px){.vpn-panel-grid{grid-template-columns:1fr;}.private-tools>button,.next-actions>button{flex:1 1 130px;}.next-file-row{flex-wrap:wrap;}.next-file-row>div,.next-file-row>strong{flex:1 1 60%;}.private-modal .dialog-head h2,.batch-modal .dialog-head h2,.panels-modal .dialog-head h2{overflow-wrap:anywhere;}.batch-modal .dropzone{padding:16px 10px;overflow-wrap:anywhere;}}

.protected-library-entry>span{min-width:0;flex:1;text-align:left;}.protected-library-entry small,.collections [data-collection] small{display:block;font-size:.7rem;line-height:1.4;opacity:.7;margin-top:3px;white-space:normal;}.protected-library-entry{min-height:52px;}.managed-section-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;}.managed-section-row>div{flex:1;min-width:0;}.managed-section-row strong{overflow-wrap:anywhere;text-transform:none;}.managed-section-row button,.protected-section-link{min-height:44px;}.protected-section-link{display:flex;gap:8px;width:100%;margin:12px 0;justify-content:center;}.check input[type=checkbox]{width:auto;min-height:0;}

/* Compact VPN rows and a vertical action menu in the protected library. */
.private-action-list{display:grid;grid-template-columns:minmax(0,1fr);gap:.5rem;margin:1rem 0 1.4rem}
.private-action-list .next-tabs{display:contents}
.private-action-list button{width:100%;min-height:44px;text-align:left;justify-content:flex-start;margin:0;padding:.75rem 1rem;border-radius:10px}
.private-action-list button.active{background:var(--accent);color:#18372d}
.vpn-service-list{display:grid;gap:0;margin-top:1rem}
.vpn-service-row{display:flex;align-items:center;gap:1rem;justify-content:space-between;padding:1rem 0;border-bottom:1px solid var(--line)}
.vpn-service-row>div:first-child{min-width:0;flex:1}.vpn-service-row strong{display:block;overflow-wrap:anywhere}
.vpn-service-row small{display:block;color:var(--muted);margin-top:.25rem}
.vpn-service-actions{display:flex;gap:.5rem;flex-wrap:wrap}.vpn-service-actions button,.vpn-service-actions a{min-height:44px;margin:0;padding:.5rem .75rem}
#batch-back{min-height:44px}#batch-back-hint{flex-basis:100%;margin:0}
@media(max-width:600px){.vpn-service-row{align-items:stretch;flex-direction:column;gap:.65rem}.vpn-service-actions>*{flex:1}.vpn-service-actions{width:100%}.private-action-list button{padding:.7rem .9rem}}

@media(max-width:600px){.vpn-service-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.vpn-service-actions a{grid-column:1/-1}.vpn-service-actions button,.vpn-service-actions a{white-space:nowrap;word-break:normal;overflow-wrap:normal;min-width:0;text-align:center;justify-content:center}}

/* Archive music UI 20261017 */
:root{color-scheme:dark;--am-bg:#111315;--am-panel:#191e22;--am-line:#30383e;--am-muted:#a6b2bd;--am-text:#f2f6fa;--am-blue:#285780}
.am-view,.am-dock{font:16px/1.5 Inter,"Segoe UI",sans-serif;color:var(--am-text);box-sizing:border-box}
.am-view *,.am-dock *{box-sizing:border-box}.am-view button,.am-dock button,.am-menu summary{font:inherit;min-width:44px;min-height:44px;border:1px solid var(--am-line);border-radius:12px;background:#232b31;color:var(--am-text);cursor:pointer;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;touch-action:manipulation}
.am-view button:hover,.am-dock button:hover,.am-menu summary:hover{background:#34424e}.am-view button:disabled,.am-dock button:disabled{opacity:.4;cursor:default}
.am-view :focus-visible,.am-dock :focus-visible{outline:3px solid #a1d0ff;outline-offset:3px}
.am-heading{display:flex;align-items:center;justify-content:space-between;margin:36px 0 24px}.am-heading h1{font-size:34px;letter-spacing:-1px;line-height:1.2;margin:0 0 10px}.am-heading p{margin:0}.am-eyebrow{font-size:11px;letter-spacing:2px;color:#9fb9cf;margin-bottom:12px!important}.am-muted,.am-note{color:var(--am-muted)}.am-tools{display:flex;gap:10px;flex-wrap:wrap}.am-tools .am-primary{background:#abd0ed;color:#102737;font-weight:600}.am-view h2{font-size:18px;font-weight:500;margin-top:28px}.am-view-status{min-height:24px;color:#e5cda8;font-size:14px}.am-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.am-track{display:flex;gap:14px;align-items:center;background:var(--am-panel);border:1px solid var(--am-line);border-radius:16px;padding:12px 16px;min-width:0}.am-track.am-active{background:#1d3448;border-color:#4a779a}.am-track>button{border-radius:50%;width:46px;height:46px;flex-shrink:0}.am-track-info{min-width:0;flex:1;display:grid;gap:3px}.am-track-info strong,.am-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.am-track-state{font-size:12px;color:var(--am-muted)}.am-note{font-size:13px;max-width:640px;margin-top:28px}.am-empty{display:grid;gap:8px;min-height:180px;place-content:center;text-align:center;border:1px dashed var(--am-line);border-radius:18px}.am-empty span{font-size:14px}
.am-dock{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:calc(240px + (100vw - 240px)/2);transform:translateX(-50%);width:min(680px,calc(100vw - 280px));z-index:25;display:grid;grid-template-columns:58px minmax(0,1fr) 44px 44px 44px;gap:8px 12px;align-items:center;padding:18px 20px 12px;border-radius:24px;background:linear-gradient(115deg,#234a6d,#2d608c);box-shadow:0 12px 44px #0007;border:1px solid #5180a5}
.am-dock[hidden]{display:none}.am-dock .am-cover{border-radius:50%;width:58px;height:58px;background:radial-gradient(circle at 30% 25%,#6098c3,#162f48 65%);border:3px solid #8cb5d54d;font-size:21px;padding:0;grid-row:span 2}.am-now{min-width:0;display:grid;gap:2px}.am-title{font-size:15px}.am-subtitle{font-size:11px;color:#c4d8e9;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.am-dock>button:not(.am-cover),.am-dock>.am-menu>summary{background:transparent;border-color:transparent;padding:4px}.am-timeline{grid-column:2/-1;min-width:0}.am-seek{display:block;accent-color:#f4f9ff;width:100%;height:22px;cursor:pointer;margin:0;padding:0;touch-action:pan-x}.am-times{display:flex;justify-content:space-between;font-size:11px;color:#d1e2f1;font-variant-numeric:tabular-nums}.am-status{grid-column:1/-1;margin:0;font-size:12px;color:#fff0d2}.am-status:empty{display:none}.am-has-player{padding-bottom:190px}.am-menu{position:relative;flex-shrink:0}.am-menu summary{list-style:none;letter-spacing:2px}.am-menu summary::-webkit-details-marker{display:none}.am-menu[open]{z-index:30}.am-menu[open]>button{position:relative;display:block;min-width:192px;text-align:left;border-radius:0;white-space:nowrap;background:#222e39;letter-spacing:0;font-size:14px}.am-menu[open]>button:first-of-type{margin-top:5px;border-radius:12px 12px 0 0}.am-menu[open]>button:last-child{border-radius:0 0 12px 12px}.am-menu[open]{filter:drop-shadow(0 8px 12px #0006)}.am-track .am-menu[open]{position:absolute;right:16px}.am-track:has(.am-menu[open]){position:relative;align-items:flex-start}.am-dock>.am-menu[open]>button{position:absolute;right:0;bottom:50px;border-radius:12px 12px 0 0}.am-dock>.am-menu[open]>button:last-child{bottom:94px;border-radius:12px 12px 0 0}
@media(max-width:800px){.am-dock{left:50%;width:calc(100vw - 24px);bottom:max(12px,env(safe-area-inset-bottom));padding:14px 14px 10px;gap:5px 8px;grid-template-columns:52px minmax(0,1fr) 44px 44px 44px;border-radius:22px}.am-dock .am-cover{width:52px;height:52px}.am-track{padding:12px;gap:10px}.am-heading{margin-top:26px}.am-title{font-size:14px}.am-subtitle{font-size:10px}.am-view button{font-size:14px}.am-tools>button{flex:1}.am-note{font-size:12px}}
@media(max-width:380px){.am-dock{grid-template-columns:48px minmax(0,1fr) 44px 44px 44px;gap:4px}.am-dock .am-cover{width:46px;height:46px}.am-title{font-size:12px}.am-subtitle{font-size:9px}}

.main.am-mode>.heading,.main.am-mode>.toolbar,.main.am-mode>.filters,.main.am-mode>#files,.main.am-mode>.catalog-footer{display:none}.am-view .am-tools input[hidden]{display:none}.am-dock .am-seek{min-height:22px;padding:0;border:0}.am-has-player{padding-bottom:0}.am-has-player .main{padding-bottom:220px}.am-search{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:24px}.am-search label{font-size:13px;margin:0;min-width:0}.am-search input,.am-search select{width:100%;min-width:0}.am-search button{height:46px}.am-view-status[role=alert]{padding:12px;border:1px solid #99774c;background:#322919;border-radius:12px}@media(max-width:800px){.am-dock{bottom:calc(92px + env(safe-area-inset-bottom,0px))}.am-has-player .main{padding-bottom:290px}.keyboard-open .am-dock{visibility:hidden;pointer-events:none}.am-search{grid-template-columns:minmax(0,1fr);gap:12px}.am-search button{width:100%}}

/* Archive translucent music panel 20261018 */
/* Scoped presentation only. Fully opaque fallback remains readable without blur. */
.am-dock{width:min(600px,calc(100vw - 280px));padding:12px 14px 10px;border-radius:22px;grid-template-columns:48px minmax(0,1fr) 44px 44px 44px 44px;gap:2px 8px;background:#182736;border:1px solid #d4eaff36;box-shadow:0 12px 38px #0005,inset 0 1px #ffffff0c;color:#f6faff;isolation:isolate}
@supports ((backdrop-filter:blur(18px)) or (-webkit-backdrop-filter:blur(18px))){.am-dock,.am-restore{background:linear-gradient(120deg,#162432ed,#203c50e0);-webkit-backdrop-filter:blur(18px) saturate(135%);backdrop-filter:blur(18px) saturate(135%)}}
.am-audio{display:none}
.am-dock .am-cover{grid-column:1;grid-row:1;width:48px;height:48px;border:1px solid #d4eeff60;background:linear-gradient(145deg,#c5e9ff,#86b9df);color:#102737;box-shadow:0 3px 12px #0003}
.am-dock .am-cover:hover{background:#d5f0ff}
.am-dock .am-now{grid-column:2;grid-row:1;gap:1px}
.am-dock .am-title{font-size:14px;color:#f6faff;line-height:1.5}
.am-dock .am-subtitle{font-size:11px;color:#c5d7e6}
.am-dock>button:not(.am-cover),.am-dock>.am-menu>summary{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:12px;color:#e6f3ff;border:1px solid transparent;background:transparent;padding:10px;letter-spacing:0}
.am-dock>button:not(.am-cover):hover,.am-dock>.am-menu>summary:hover{background:#d1eaff18;border-color:#c8e6ff24}
.am-dock>button:nth-of-type(2){grid-column:3;grid-row:1}.am-dock>button:nth-of-type(3){grid-column:4;grid-row:1}
.am-dock>.am-menu{grid-column:5;grid-row:1}
.am-dock>.am-minimize{grid-column:6;grid-row:1;color:#b6ccdd}
.am-dock svg,.am-restore svg{display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.am-dock .am-cover svg{width:23px;height:23px;stroke-width:2.2}
.am-dock .am-timeline{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:32px minmax(0,1fr) 32px;gap:8px;align-items:center;margin-top:4px}
.am-dock .am-times{display:contents}.am-dock .am-times>span{color:#c5d7e6;font-size:10px;line-height:24px;font-variant-numeric:tabular-nums}
.am-dock .am-times>span:first-child{grid-column:1;grid-row:1;text-align:left}.am-dock .am-times>span:last-child{grid-column:3;grid-row:1;text-align:right}
.am-dock .am-seek{grid-column:2;grid-row:1;accent-color:#bfdef5;height:24px;min-height:24px}
.am-dock .am-status{font-size:12px;color:#fff1cc;line-height:1.5;grid-row:3;overflow-wrap:anywhere}
.am-dock>.am-menu[open]>button{right:0;bottom:50px;border:1px solid #4b6376;background:#172b3c;box-shadow:0 6px 20px #0003}
.am-dock>.am-menu[open]>button:last-child{bottom:94px}
.am-dock :focus-visible,.am-restore:focus-visible{outline:3px solid #bce4ff;outline-offset:2px}
.am-restore{position:fixed;z-index:25;right:24px;bottom:max(16px,env(safe-area-inset-bottom));display:inline-flex;align-items:center;gap:10px;min-height:48px;min-width:44px;max-width:calc(100vw - 24px);padding:10px 15px;border:1px solid #d4eaff45;border-radius:18px;background:#182736;color:#edf7ff;font:600 13px/1.5 Inter,"Segoe UI",sans-serif;box-shadow:0 7px 24px #0005;cursor:pointer;touch-action:manipulation}
.am-restore::after{content:'';width:6px;height:6px;flex:none;border-radius:50%;background:#8fabc1}
.am-restore.am-is-playing::after{background:#9aeacb;box-shadow:0 0 0 4px #9aeacb16}
.am-restore.am-has-message::after{background:#ffd68a}
.am-restore:hover{border-color:#d4eaff80}.am-restore[hidden]{display:none}
.am-has-player .main{padding-bottom:180px}.am-player-collapsed .main{padding-bottom:110px}
@media(max-width:800px){
  .am-dock{left:50%;width:calc(100vw - 24px);bottom:calc(92px + env(safe-area-inset-bottom,0px));padding:10px 12px;border-radius:20px;grid-template-columns:48px minmax(0,1fr) 44px 44px;gap:2px 6px}
  .am-dock .am-cover{grid-column:1;grid-row:1}.am-dock .am-now{grid-column:2/4;grid-row:1}
  .am-dock>.am-minimize{grid-column:4;grid-row:1}
  .am-dock>button:nth-of-type(2){grid-column:1;grid-row:2}.am-dock>button:nth-of-type(3){grid-column:2;grid-row:2;justify-self:start}
  .am-dock>.am-menu{grid-column:4;grid-row:2;justify-self:end}
  .am-dock .am-timeline{grid-column:1/-1;grid-row:3;margin-top:0}.am-dock .am-status{grid-row:4}
  .am-dock .am-title{font-size:13px}.am-dock .am-subtitle{font-size:10px}
  .am-restore{right:12px;bottom:calc(92px + env(safe-area-inset-bottom,0px));border-radius:16px;min-height:46px}
  .am-has-player .main{padding-bottom:300px}.am-player-collapsed .main{padding-bottom:180px}
  .keyboard-open .am-restore{visibility:hidden;pointer-events:none}
}
@media(prefers-reduced-transparency:reduce){.am-dock,.am-restore{background:#182736;backdrop-filter:none;-webkit-backdrop-filter:none}}
@media(forced-colors:active){.am-dock,.am-restore{background:Canvas;color:CanvasText;border:1px solid CanvasText;backdrop-filter:none;-webkit-backdrop-filter:none}.am-dock .am-title,.am-dock .am-subtitle,.am-dock .am-times>span,.am-dock>button{color:CanvasText}.am-dock .am-cover{background:ButtonFace;color:ButtonText}}
