@charset "UTF-8";
.delete-list{max-height:220px;overflow:auto;padding:0;list-style:none;border:1px solid var(--line);border-radius:8px}.delete-list li{display:flex;gap:8px;padding:7px 12px;align-items:center}.delete-list li span{overflow-wrap:anywhere;min-width:0}.delete-ack{display:flex;align-items:flex-start;gap:8px;margin:16px 0;line-height:1.5}.destructive{background:var(--danger);color:white}#recycle-error{color:var(--danger)}
.sidebar-search{display:flex;align-items:center;gap:6px;padding:7px 8px;margin:0 0 8px;background:var(--panel);border:1px solid var(--line);border-radius:7px}.sidebar-search input{min-width:0;width:100%;background:transparent;border:0;color:var(--text);font-size:11px;padding:4px 0}.sidebar-search svg{width:15px;height:15px;color:var(--muted)}.folder-drop-target{outline:2px solid var(--accent);background:var(--accent-soft)!important}#organize-error{color:var(--danger)}[draggable=true]{cursor:grab}[draggable=true]:active{cursor:grabbing}
.sidebar{overflow-y:auto}.sidebar-folders{margin:22px 0 12px}.sidebar-folders h2{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:10px}.sidebar-folders nav{display:grid;gap:2px}.sidebar-folders button{display:flex;gap:9px;align-items:center;text-align:left;padding:8px;border-radius:7px;width:100%;min-width:0;font-size:12px}.sidebar-folders button>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-folders small{margin-left:auto;color:var(--muted)}.sidebar-folders .active,.sidebar-folders button:hover{background:var(--panel);color:var(--accent)}.sidebar-folders svg{width:16px;height:16px}.sidebar>*{flex-shrink:0}#file-picked{white-space:pre-line;max-height:150px;overflow:auto;font-size:12px;overflow-wrap:anywhere}#upload-error,#folder-error{color:var(--danger)}.breadcrumbs{flex-wrap:wrap}.breadcrumbs button{overflow-wrap:anywhere;max-width:100%}.upload-panel{max-height:60vh;overflow:auto}
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(100%,430px);padding:38px;background:var(--panel);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.login-card h1{margin-top:36px;font-size:25px}.login-card .subtitle{margin:12px 0 24px}.login-card form{display:grid;gap:18px}.login-card input{width:100%;min-width:0}.login-languages{display:flex;justify-content:center;gap:24px;margin-top:28px;color:var(--muted)}.login-languages [aria-current]{color:var(--accent);font-weight:700}.login-error{background:var(--accent-soft);padding:12px;margin:16px 0;border-radius:8px;color:var(--danger)}.logout-form{padding-bottom:20px}.logout-form button{width:100%}.profile strong{overflow-wrap:anywhere}.demo-banner{line-height:1.5}
:root{--bg:#f6f7f5;--panel:#fff;--side:#edf0ea;--text:#202e29;--muted:#758078;--line:#e5e9e2;--accent:#245b47;--accent-soft:#e3ecdf;--accent-text:#fff;--hover:#f3f6f0;--shadow:0 16px 60px #19362915;--radius:14px;--danger:#b54640;--focus:#378462;color-scheme:light;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}button svg,svg.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button{border:0;background:none}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.skip{position:fixed;top:-60px;left:20px;background:var(--accent);color:white;padding:12px;z-index:100}.skip:focus{top:10px}h1,h2,p{margin:0}.sidebar{position:fixed;inset:0 auto 0 0;width:246px;padding:34px 22px 0;background:var(--side);display:flex;flex-direction:column;z-index:30;border-right:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:32px;letter-spacing:-1.7px;line-height:1}.brand-dot{color:var(--accent)}.brand small{display:block;font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);margin-top:8px;font-weight:550}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:9px;min-height:43px;padding:10px 16px;font-weight:600;font-size:13px;transition:background .15s,transform .15s}.button:active{transform:translateY(1px)}.primary{background:var(--accent);color:var(--accent-text)}.primary:hover{filter:brightness(1.1)}.secondary{background:var(--panel);border:1px solid var(--line)}.secondary:hover{background:var(--hover)}.new-button{margin:37px 0 24px;justify-content:flex-start;min-height:46px}.new-button>:last-child{margin-left:auto}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px;border-radius:8px;font-weight:550;color:var(--muted)}.nav button:hover{background:var(--hover);color:var(--text)}.nav button.active{background:var(--panel);color:var(--accent);box-shadow:0 2px 4px #00000003}.nav button .nav-count{margin-left:auto;font-size:11px}.sidebar-bottom{margin-top:auto}.storage-title{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;margin:25px 0 14px}.storage-title svg{width:16px}.demo-pill{font-size:8px;letter-spacing:1px;margin-left:auto;color:var(--muted);border:1px solid var(--line);padding:3px 5px;border-radius:4px}.meter{height:5px;border-radius:5px;background:var(--line)}.meter span{display:block;width:28%;height:100%;background:var(--accent);border-radius:5px}.storage-value{font-size:10px;color:var(--muted);margin-top:9px}.profile{display:flex;align-items:center;text-align:left;width:100%;gap:11px;padding:22px 0;margin-top:26px;border-top:1px solid var(--line)}.avatar,.top-avatar{display:grid;place-items:center;border-radius:50%;width:35px;height:35px;background:#e1ceb5;color:#63523c;font-weight:650}.profile strong{font-size:12px;display:block}.profile small{font-size:10px;color:var(--muted);display:block;margin-top:4px}.profile>:last-child{margin-left:auto;color:var(--muted)}.workspace{margin-left:246px}.topbar{height:90px;padding:0 42px;display:flex;align-items:center;gap:20px;background:var(--panel);border-bottom:1px solid var(--line)}.search{display:flex;gap:12px;align-items:center;color:var(--muted);max-width:540px;flex:1}.search input{border:0;background:transparent;min-width:0;width:100%;color:var(--text);outline:0;font-size:13px;padding:12px 0}.search input::placeholder{color:var(--muted)}kbd{border:1px solid var(--line);padding:2px 7px;border-radius:4px;font-size:11px}.preferences{display:flex;gap:17px;align-items:center;margin-left:auto}.language-picker{display:flex;align-items:center;gap:6px;color:var(--muted)}.language-picker svg{width:17px}.language-picker select{border:0;color:var(--text);background:var(--panel);font-size:11px;font-weight:650;padding:6px 0}.icon-button{display:inline-flex;justify-content:center;align-items:center;width:35px;height:35px;border-radius:7px;color:var(--muted);flex-shrink:0}.icon-button:hover{background:var(--hover);color:var(--text)}.top-avatar{width:31px;height:31px;font-size:12px}.mobile-menu{display:none}main{padding:20px 42px 34px;max-width:1700px;margin:auto}.demo-banner{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);min-height:25px}.live-dot{height:5px;width:5px;background:#ba9853;border-radius:50%}.demo-banner button{margin-left:auto;color:var(--muted);text-decoration:underline;text-underline-offset:3px;font-size:10px}.breadcrumbs{display:flex;gap:8px;align-items:center;font-size:11px;color:var(--muted);margin:22px 0}.breadcrumbs button{padding:0;color:var(--muted)}.breadcrumbs svg{width:13px;height:13px;transform:rotate(-90deg)}.breadcrumbs strong{font-weight:500;color:var(--text)}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:25px 0 34px}.eyebrow{font-size:9px;font-weight:650;letter-spacing:2px;text-transform:uppercase;color:var(--accent);margin-bottom:11px}h1{font-size:31px;font-weight:650;letter-spacing:-1px}.subtitle{font-size:12px;color:var(--muted);margin-top:10px}.heading-actions{display:flex;gap:9px}.heading-actions .button svg{width:17px}.quick-access{margin-bottom:33px}.section-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-label h2{font-size:12px;font-weight:650}.section-label>span{font-size:10px;color:var(--muted)}.quick-folders{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.folder-card{text-align:left;border:1px solid var(--line);background:var(--panel);padding:18px;border-radius:var(--radius);transition:transform .16s,box-shadow .16s;min-width:0}.folder-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.folder-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.folder-card-top>svg{height:32px;width:36px;stroke-width:1.3;color:var(--accent);fill:var(--accent-soft)}.folder-card-top>span{font-size:9px;color:var(--muted);border-radius:5px;background:var(--bg);padding:4px 6px}.folder-card strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.folder-card small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.content-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;min-height:38px}.tabs{display:flex;gap:6px}.tabs button{font-size:11px;padding:9px 12px;color:var(--muted);border-radius:6px}.tabs button.active{background:var(--accent-soft);color:var(--accent);font-weight:650}.view-tools{display:flex;gap:5px;align-items:center}.sort-label{display:flex;align-items:center;gap:4px;color:var(--muted)}.sort-label svg{width:15px}.sort-label select{font-size:11px;border:0;background:var(--bg);color:var(--muted);max-width:155px;padding:7px 3px}.view-switch{display:flex;gap:2px;border:1px solid var(--line);padding:2px;background:var(--panel);border-radius:7px;margin-left:12px}.view-switch .icon-button{height:29px;width:32px}.view-switch .active{background:var(--accent-soft);color:var(--accent)}.file-surface{border:1px solid var(--line);background:var(--panel);border-radius:var(--radius);position:relative;min-height:280px;overflow:hidden}.file-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left}.file-table th{font-size:10px;font-weight:500;color:var(--muted);height:45px;border-bottom:1px solid var(--line);background:var(--panel)}.file-table td{height:68px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.file-table tr:last-child td{border-bottom:0}.file-table th:first-child,.file-table td:first-child{width:44px;text-align:center}.file-table th:nth-child(2){width:44%}.file-table th:last-child{width:50px}.file-table th button{padding:0;color:inherit;font:inherit;text-align:left}.file-table tr:hover td{background:var(--hover)}input[type=checkbox]{accent-color:var(--accent);width:14px;height:14px;cursor:pointer}.file-name{display:flex;gap:13px;align-items:center;min-width:0}.file-name>div:last-child{min-width:0}.name-button{font-size:12px;font-weight:550;display:block;text-align:left;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0;color:var(--text)}.name-button:hover{color:var(--accent)}.file-name small{display:block;font-size:10px;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.file-glyph{width:34px;height:39px;border-radius:7px;background:#e7edf7;color:#5075ad;display:grid;place-items:center;flex-shrink:0}.file-glyph svg{width:20px;height:20px}.file-glyph.folder{background:#f7efd9;color:#ba9447}.file-glyph.pdf{background:#f9e9e5;color:#ba6a5b}.file-glyph.image{background:#e9ecf8;color:#8875b4}.file-glyph.zip{background:#eee9dd;color:#a08b5f}.file-glyph.sheet{background:#e3efe5;color:#568163}.inline-star{color:#b8944e;display:inline-flex;margin-left:7px}.inline-star svg{width:12px;height:12px;fill:#b8944e33}.shared-badge{display:inline-flex;align-items:center;gap:4px;font-size:9px;color:var(--accent)}.shared-badge svg{width:12px;height:12px}.file-table tr.selected td{background:var(--accent-soft)}.explorer-footer{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);padding:16px 3px}.explorer-footer>span:last-child{display:flex;align-items:center;gap:6px}.small-dot{height:5px;width:5px;background:var(--accent);border-radius:50%}.upload-tip{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:var(--muted);padding:22px}.upload-tip svg{width:15px;height:15px}.selection-bar{background:var(--accent-soft);border-radius:8px;padding:8px 14px;margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--accent);font-size:11px}.selection-bar>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.selection-bar button{display:inline-flex;align-items:center;gap:6px;padding:7px;font-size:10px}.selection-bar svg{width:16px;height:16px}.file-grid{padding:18px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.grid-card{border:1px solid var(--line);border-radius:10px;position:relative;overflow:hidden;min-width:0}.grid-card:hover{border-color:var(--accent)}.grid-card.selected{background:var(--accent-soft);border-color:var(--accent)}.grid-top{display:flex;justify-content:space-between;align-items:center;padding:8px 10px}.grid-preview{height:112px;display:grid;place-items:center;background:var(--bg);margin:0 12px;border-radius:7px}.grid-preview .file-glyph{width:58px;height:67px}.grid-preview .file-glyph svg{width:32px;height:32px}.grid-card-footer{padding:13px}.grid-card-footer small{font-size:10px;color:var(--muted)}.grid-card-footer .name-button{margin-bottom:6px}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:65px 20px;gap:12px;color:var(--muted)}.empty>svg{height:42px;width:42px;stroke-width:1.2}.empty strong{font-size:15px;color:var(--text)}.empty p{font-size:12px}.context-menu{position:fixed;z-index:70;background:var(--panel);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:6px;width:220px}.context-menu button{display:flex;align-items:center;gap:11px;text-align:left;width:100%;padding:10px;border-radius:5px;font-size:12px}.context-menu button:hover{background:var(--hover)}.context-menu .danger{color:var(--danger)}.context-menu svg{width:17px;height:17px}.details{position:fixed;right:0;top:0;bottom:0;width:340px;background:var(--panel);border-left:1px solid var(--line);box-shadow:var(--shadow);z-index:60;padding:65px 28px 28px;overflow:auto}.details-close{position:absolute;top:20px;right:20px}.details .file-glyph{height:75px;width:65px;margin:10px auto 25px}.details h2{font-size:18px;overflow-wrap:anywhere}.details .detail-label{color:var(--muted);font-size:11px;margin-top:24px;margin-bottom:7px}.details .detail-value{font-size:12px;overflow-wrap:anywhere}.details .button{margin-top:30px;width:100%}dialog{border:1px solid var(--line);border-radius:17px;width:min(520px,calc(100% - 32px));padding:25px;background:var(--panel);color:var(--text);box-shadow:var(--shadow);max-height:90vh}dialog::backdrop{background:#15272060;backdrop-filter:blur(3px)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.modal-header h2{font-size:19px;font-weight:650;letter-spacing:-.4px}.modal-copy{font-size:12px;color:var(--muted);line-height:1.7;margin-bottom:20px}.field{display:block;font-size:11px;font-weight:600;margin:18px 0}.field input,.field select{display:block;width:100%;margin-top:8px;background:var(--bg);border:1px solid var(--line);padding:12px;color:var(--text);border-radius:7px;min-width:0}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.theme-option{padding:8px;border:1px solid var(--line);border-radius:9px;text-align:left;font-size:11px}.theme-option.active{border:2px solid var(--accent);padding:7px}.theme-preview{height:75px;display:flex;border-radius:5px;background:#f6f7f5;margin-bottom:10px;border:1px solid #dde2dc;overflow:hidden}.theme-preview:before{content:"";width:28%;background:#e7ebe3}.theme-preview:after{content:"";margin:12px 8px;background:white;border-radius:3px;flex:1;box-shadow:0 12px 0 -5px #b0bdb2}.theme-preview.dark{background:#1b2421;border-color:#303e35}.theme-preview.dark:before{background:#111b16}.theme-preview.dark:after{background:#30433a;box-shadow:0 12px 0 -5px #3c5545}.theme-preview.classic{background:#edf1f7;border-color:#c3d0e0}.theme-preview.classic:before{background:#dbe4f1}.theme-preview.classic:after{background:white;box-shadow:0 12px 0 -5px #a1b5d2}.theme-option strong{display:block;padding:2px}.theme-option small{display:block;font-size:9px;font-weight:400;color:var(--muted);line-height:1.5;padding:3px}.upload-zone{border:1.5px dashed var(--line);border-radius:11px;padding:26px 18px;text-align:center;background:var(--bg)}.upload-zone>svg{width:33px;height:33px;color:var(--accent)}.upload-zone strong{display:block;font-size:13px;margin:12px 0 8px}.upload-zone input{width:100%;font-size:11px;color:var(--muted);margin-top:13px}.destination{padding:10px 12px;background:var(--accent-soft);border-radius:7px;font-size:11px;color:var(--accent);margin-bottom:15px;display:flex;gap:8px;align-items:center}.destination svg{width:16px;height:16px}.file-picked{font-size:11px;line-height:1.7;color:var(--muted);padding:14px 0;max-height:110px;overflow:auto}.drop-overlay{position:absolute;inset:0;background:var(--accent-soft);border:2px dashed var(--accent);display:none;align-items:center;justify-content:center;flex-direction:column;gap:15px;z-index:5;color:var(--accent);border-radius:var(--radius)}.drop-overlay>svg{height:50px;width:50px}.file-surface.dragging .drop-overlay{display:flex}.upload-panel{position:fixed;right:25px;bottom:22px;width:350px;max-width:calc(100% - 32px);background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:55}.queue-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid var(--line);font-size:11px}.upload-item{padding:13px 16px;border-bottom:1px solid var(--line)}.upload-item-head{display:flex;justify-content:space-between;align-items:center;gap:7px;font-size:11px}.upload-item-head span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.upload-item small{font-size:9px;color:var(--muted)}.upload-item progress{width:100%;height:5px;display:block;accent-color:var(--accent);margin:7px 0}.upload-item:last-child{border-bottom:0}#upload-queue{max-height:280px;overflow:auto}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:var(--text);color:var(--panel);border-radius:8px;box-shadow:var(--shadow);z-index:90;max-width:90vw;font-size:12px;line-height:1.5}.share-link{display:flex;gap:8px;align-items:center}.share-link input{min-width:0;flex:1;background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:10px;color:var(--text);font-size:11px}.share-public{max-width:790px;margin:65px auto;padding:0 25px}.share-public .brand{margin-bottom:48px}.share-card{padding:35px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.share-card h1{font-size:28px;margin:15px 0}.share-card .subtitle{line-height:1.7}.public-file{display:flex;align-items:center;gap:15px;padding:22px 0;margin:25px 0;border-block:1px solid var(--line)}.public-file strong{display:block;font-size:13px}.public-file small{display:block;font-size:11px;margin-top:6px;color:var(--muted)}.public-file button{margin-left:auto}.share-footer{text-align:center;margin-top:26px;color:var(--muted);font-size:11px}.mobile-shade{display:none}
[data-theme=dark]{--bg:#18211d;--panel:#202c25;--side:#121e17;--text:#e8ede8;--muted:#9cab9e;--line:#334237;--accent:#a6d3ae;--accent-soft:#304637;--accent-text:#13291b;--hover:#2a382e;--shadow:0 16px 60px #0005;--danger:#ec9e93;--focus:#a6d3ae;color-scheme:dark}[data-theme=dark] .brand img{filter:brightness(1.6)}[data-theme=classic]{--bg:#f0f3f8;--panel:#fff;--side:#e2e9f3;--text:#1f3553;--muted:#65788f;--line:#d0dbea;--accent:#275e9c;--accent-soft:#dce8f7;--accent-text:#fff;--hover:#edf3fb;--radius:5px;--focus:#357bd0}[data-theme=classic] .file-table td{height:53px}[data-theme=classic] .button,[data-theme=classic] .nav button,[data-theme=classic] .view-switch{border-radius:4px}[data-theme=classic] .brand img{filter:hue-rotate(66deg)}[data-theme=classic] .folder-card{padding:15px}[data-theme=classic] .folder-card-top{margin-bottom:13px}
@media(min-width:1600px){main{padding-top:28px}.file-table td{height:74px}.quick-access{margin-bottom:40px}}
@media(max-width:1200px){.sidebar{width:218px;padding-inline:17px}.workspace{margin-left:218px}.topbar{padding-inline:25px}main{padding-inline:25px}.heading-actions .button{padding-inline:11px}.quick-folders{gap:10px}.folder-card{padding:14px}.file-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.file-table th:nth-child(2){width:40%}.file-table th:nth-child(5),.file-table td:nth-child(5){display:none}}
@media(max-width:900px){.sidebar{width:225px;transform:translateX(-100%);transition:transform .2s}.workspace{margin-left:0}.sidebar.open{transform:translateX(0)}.mobile-menu{display:flex}.mobile-shade.open{display:block;position:fixed;inset:0;background:#14241d60;z-index:25}.topbar{height:72px}.heading-actions .button{font-size:12px}.quick-folders{grid-template-columns:repeat(4,minmax(0,1fr))}.selection-bar{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){:root{font-size:13px}.topbar{padding:0 14px;gap:9px;height:65px}.preferences{gap:5px}.top-avatar,kbd,.language-picker>span{display:none}.search input{font-size:12px}.search{gap:7px}.search>span svg{width:17px}main{padding:14px 17px 26px}.demo-banner{font-size:9px;align-items:flex-start}.demo-banner button{font-size:9px;white-space:nowrap}.live-dot{margin-top:4px;flex-shrink:0}.breadcrumbs{margin:21px 0}.page-heading{display:block;margin:20px 0 26px}h1{font-size:28px}.heading-actions{margin-top:20px}.heading-actions .button{flex:1}.quick-folders{grid-template-columns:repeat(2,minmax(0,1fr))}.folder-card{padding:15px}.folder-card-top{margin-bottom:13px}.section-label>span{display:none}.quick-access{margin-bottom:23px}.content-heading{flex-wrap:wrap;gap:10px}.tabs{gap:0}.tabs button{padding-inline:10px}.view-tools{margin-left:auto}.sort-label{display:none}.view-switch{margin-left:0}.file-table th:first-child,.file-table td:first-child{width:29px}.file-table th:nth-child(2){width:auto}.file-table th:nth-child(3),.file-table td:nth-child(3),.file-table th:nth-child(4),.file-table td:nth-child(4){display:none}.file-table th:last-child{width:38px}.file-table td{height:72px}.file-name{gap:9px}.file-name .name-button{font-size:11px}.file-name small{font-size:9px}.file-glyph{height:35px;width:29px}.file-table td .icon-button{width:31px}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:9px}.grid-preview{height:85px;margin:0 8px}.grid-card-footer{padding:9px}.grid-card-footer .name-button{font-size:10px}.grid-top{padding:4px 6px}.explorer-footer{font-size:9px}.upload-tip{font-size:9px;line-height:1.6;text-align:center}.selection-bar>div{gap:0}.selection-bar button{padding:8px 6px}.selection-bar button span:last-child{font-size:9px}.details{width:min(340px,100%)}.toast{bottom:16px;width:max-content;text-align:center}.upload-panel{right:16px;bottom:16px}.share-public{margin-top:32px;padding:0 16px}.share-card{padding:23px}.share-card h1{font-size:24px}.public-file{flex-wrap:wrap}.public-file button{margin-left:0;width:100%}.theme-options{gap:6px}.theme-option small{font-size:8px}}
.grid-preview{width:calc(100% - 24px)}
@media(max-width:900px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}
@media(max-width:600px){.grid-preview{width:calc(100% - 16px)}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.conflict-dialog h2{font-size:19px;margin-bottom:18px}.conflict-dialog .modal-copy{overflow-wrap:anywhere}.conflict-dialog .modal-actions{flex-wrap:wrap}

.upload-picked{font-size:12px;margin-top:14px}.upload-picked>p{color:var(--muted);margin-bottom:8px}.upload-picked ul{list-style:none;padding:0;margin:0;max-height:200px;overflow:auto}.upload-picked li{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:5px 0}.upload-picked li>span{flex:1;min-width:0;overflow-wrap:anywhere}.upload-picked small{display:block;color:var(--muted);font-size:10px;margin-top:3px}

.upload-description-invite{padding:14px 16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-top:1px solid var(--line)}.upload-description-invite>span{width:100%;font-size:11px;color:var(--muted)}.description-field{overflow-wrap:anywhere}.description-field textarea{display:block;width:100%;margin-top:8px;background:var(--bg);border:1px solid var(--line);padding:12px;color:var(--text);border-radius:7px;font:inherit;resize:vertical}

.options-link{display:block;font-size:12px;padding:12px 0;color:var(--muted)}.description-never{font-size:11px;text-decoration:underline;color:var(--muted);padding:8px 0}.options-card{width:min(540px,calc(100% - 32px))}.options-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:24px 0}.options-check small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:8px}.options-saved{margin-top:18px;color:var(--accent);font-size:13px}
.options-check input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;padding:0;margin:2px 0 0;accent-color:var(--accent)}

.heading-actions{flex-wrap:wrap}.tree-preview{list-style:none;padding:0;max-height:220px;overflow:auto;font-size:12px}.tree-preview li{display:flex;gap:8px;padding:5px 0;align-items:flex-start;overflow-wrap:anywhere}.tree-preview span{min-width:0}.upload-batch-summary{padding:14px 16px;border-bottom:1px solid var(--line);font-size:11px}.upload-batch-summary small{display:block;color:var(--muted);margin:6px 0}.upload-batch-summary .button{margin-top:6px;min-height:32px;padding:6px 10px;font-size:11px}

.upload-batch-summary progress{width:100%;height:5px;margin:8px 0;accent-color:var(--accent)}

.pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 0 0;color:var(--muted);font-size:11px}.page-size{display:flex;align-items:center;gap:8px}.page-size select{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:8px;max-width:175px}.page-buttons{display:flex;gap:5px;align-items:center}.page-buttons .button{min-height:32px;min-width:32px;padding:5px 9px;font-size:16px}.page-buttons>span{padding:0 5px;white-space:nowrap}.pagination-settings{width:100%;text-decoration:underline}.page-range{white-space:nowrap}@media(max-width:600px){.pagination{gap:10px}.page-size{flex-wrap:wrap}.page-size select{max-width:150px}.page-buttons{width:100%;justify-content:center}.page-range{margin-left:auto}}

.file-surface.paginated{min-height:0}

/* Compact, continuous icon view; list pagination remains independent. */
.file-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;padding:12px}
.grid-card{background:var(--panel);border-radius:8px}
.grid-top{padding:4px 8px}
.grid-top .icon-button{width:28px;height:28px}
.grid-preview{height:46px;margin:0 10px;background:transparent;border-radius:5px}
.grid-preview .file-glyph{width:34px;height:40px}
.grid-preview .file-glyph svg{width:24px;height:24px}
.grid-card-footer{padding:8px 10px 11px}
.grid-card-footer .name-button{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;overflow-wrap:anywhere;line-height:16px;height:36px;width:100%;font-size:12px;margin-bottom:3px}
.grid-card-footer small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:15px;font-size:10px}
@media(max-width:600px){.file-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px;padding:8px}.grid-card-footer .name-button{font-size:11px}.grid-card-footer{padding-inline:8px}}
/* Account favorites: compact shortcuts, independent from explorer pagination. */
.quick-folders{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.folder-card{min-width:0;text-align:left}
.folder-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.favorite-path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;margin-bottom:5px}
.favorite-mark .icon{width:15px;height:15px;fill:currentColor}
.favorites-empty{color:var(--muted);font-size:12px;line-height:1.6}
#all-favorites{margin-top:12px}
@media(max-width:600px){.quick-folders{grid-template-columns:repeat(2,minmax(0,1fr))}}

.account-card section{border-top:1px solid var(--line);margin:24px 0;padding-top:20px}.account-card h2{font-size:18px}.account-card form{margin:16px 0}.captcha-field{margin:16px 0}.captcha-field img{display:block;border-radius:8px;margin-bottom:10px}

.profile-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.account-avatar{width:80px;height:80px;display:grid;place-items:center;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:30px;overflow:hidden}.account-card input[type=file]{max-width:100%;font-size:12px}.account-card p{overflow-wrap:anywhere}

.account-section{border-top:1px solid var(--line);margin:16px 0;padding-top:16px}.account-section summary{cursor:pointer;color:var(--text);padding:6px 0}.account-section summary h2{display:inline;font-size:17px}.account-section[open] summary{margin-bottom:16px}

.account-confirm{width:min(440px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--text);padding:24px;box-shadow:0 20px 80px #0003}.account-confirm::backdrop{background:#10203080}.account-confirm h2{font-size:20px;margin-top:0}.account-confirm p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.account-confirm-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.account-confirm [disabled]{opacity:.6;cursor:wait}

/* Account quota: native accessible meter, shared by desktop and mobile sidebar. */
.storage-title #storage-percent{margin-left:auto;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--text)}
.storage-meter{display:block;width:100%;height:8px;border:0;border-radius:8px;overflow:hidden;background:var(--line);appearance:none;--quota-color:var(--accent)}
.storage-meter[data-level=warning]{--quota-color:#b47b18}.storage-meter[data-level=full]{--quota-color:#d15448}
.storage-meter::-webkit-meter-bar{height:8px;background:var(--line);border:0;border-radius:8px;box-shadow:none}
.storage-meter::-webkit-meter-optimum-value{background:var(--quota-color);border-radius:8px}
.storage-meter::-moz-meter-bar{background:var(--quota-color);border-radius:8px}

.account-dropdown{position:relative}.account-dropdown summary{cursor:pointer;list-style:none;font-size:11px}.account-dropdown summary::-webkit-details-marker{display:none}.account-dropdown summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.account-dropdown-links{position:absolute;right:0;top:43px;width:240px;max-width:calc(100vw - 24px);padding:7px;background:var(--panel);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow);z-index:70}.account-dropdown-links a{display:block;padding:12px;border-radius:7px;font-size:12px}.account-dropdown-links a:hover{background:var(--hover)}
.report-card{width:min(920px,calc(100% - 32px));margin:24px auto}.report-card form{margin:24px 0}.report-card textarea{width:100%;resize:vertical;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:12px;font:inherit}.storage-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.storage-stats>div{padding:16px;border:1px solid var(--line);border-radius:10px}.storage-stats span{font-size:11px;color:var(--muted)}.storage-stats strong{display:block;margin-top:9px;font-size:20px}.type-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:18px 0;font-size:12px}.type-row meter{grid-column:1/-1;width:100%;height:8px}.storage-file-row{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.storage-file-row>div{flex:1;min-width:0;overflow-wrap:anywhere}.storage-file-row small{display:block;margin-top:5px;color:var(--muted)}.storage-file-row>span{white-space:nowrap}.storage-file-list{margin-bottom:16px}@media(max-width:600px){.storage-stats{grid-template-columns:repeat(2,1fr)}.storage-file-row{flex-wrap:wrap}.storage-file-row>div{flex-basis:65%}.report-card{padding:24px}.storage-stats strong{font-size:16px}}
.account-dropdown>.top-avatar{display:grid}

#thumbnails-toggle[aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}.file-thumbnail{display:block;width:100%;height:100%;object-fit:contain;border-radius:5px}.file-preview{margin-top:18px}.file-preview>p{font-size:12px;color:var(--muted);line-height:1.6}.file-preview>img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:8px}.file-preview>iframe{width:100%;height:400px;border:1px solid var(--line);border-radius:8px}.file-preview>.button{margin-top:12px;font-size:11px}

.grid-preview{overflow:hidden}.grid-preview>.file-thumbnail{height:46px;max-width:100%;flex-shrink:1}

.file-name>.file-thumbnail{width:34px;height:38px;object-fit:contain;flex:0 0 34px}.account-main{max-width:1700px}.account-main>h1{margin-bottom:24px}.account-content{max-width:100%;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:28px}.account-content form{max-width:640px}.account-content input:not([type=checkbox]):not([type=hidden]),.account-content textarea,.account-content select{max-width:100%}.account-content textarea{width:100%;padding:12px;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;font:inherit;resize:vertical}.account-content .modal-actions{flex-wrap:wrap}.nav>a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:8px;font-weight:550;color:var(--muted)}.nav>a:hover,.sidebar-folders a:hover,.account-dropdown-links a[aria-current=page]{background:var(--hover);color:var(--accent)}.sidebar-folders a.root-folder{display:flex;align-items:center;gap:8px;padding:8px;font-size:11px;border-radius:7px}.sidebar-folders a.root-folder span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-content .storage-file-row .button{flex-shrink:0}@media(max-width:600px){.account-content{padding:18px}.account-main>h1{font-size:25px}.account-content .storage-stats{gap:8px}.account-content .storage-stats>div{padding:12px}.account-content .storage-stats strong{font-size:15px}}
.account-content form{display:grid;gap:18px}.account-content input:not([type=checkbox]):not([type=hidden]){width:100%;min-width:0}.account-content .subtitle{line-height:1.6}.account-content .account-avatar{margin-top:16px}

.account-content form>.button{justify-self:start;min-width:160px}@media(max-width:600px){.account-content form>.button{width:100%}}

.storage-link{display:block;border-radius:8px}.storage-link:hover .storage-title{color:var(--accent)}.storage-link:focus-visible{outline:3px solid var(--focus);outline-offset:6px}.storage-offer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--accent-soft)}.storage-offer h2{font-size:18px}.storage-offer p{font-size:12px;line-height:1.6;margin-top:8px;color:var(--muted)}.storage-offer .button{flex-shrink:0}@media(max-width:600px){.storage-offer{align-items:flex-start;flex-direction:column}}

.sidebar-account{background:var(--panel);border:1px solid var(--line);border-radius:12px;margin-top:16px;padding:0 12px 12px}.sidebar-account .profile{margin:0;padding:12px 0;border:0;gap:9px}.sidebar-account .profile>span:nth-child(2){flex:1;min-width:0}.sidebar-account .profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-account .avatar{flex-shrink:0}.sidebar-account .profile small{font-size:9px}.sidebar-account .storage-link{border-top:1px solid var(--line);border-radius:0;padding-top:11px}.sidebar-account .storage-title{margin:0 0 10px;font-size:10px}.sidebar-account .storage-value{margin-top:7px}.sidebar-account .profile>:last-child{flex-shrink:0}.sidebar-bottom .logout-form{margin-top:10px}

.account-quick-actions{display:flex;align-items:center;gap:5px;border-top:1px solid var(--line);margin-top:11px;padding-top:7px}.account-quick-actions form{margin-left:auto}.empty-trash-shortcut{font-size:10px;color:var(--muted);padding:8px 0}.empty-trash-shortcut:hover{color:var(--text);text-decoration:underline}.dropdown-logout{border-top:1px solid var(--line);margin-top:5px;padding-top:5px}.dropdown-logout button{display:flex;align-items:center;gap:10px;width:100%;padding:12px;font-size:12px;border-radius:7px}.dropdown-logout button:hover{background:var(--hover)}

/* Compact identity and storage. */
.compact-account{padding:10px 11px 8px}.account-identity{display:flex;align-items:center;gap:5px;margin-bottom:10px}.compact-account .profile{padding:0;gap:8px;min-width:0;flex:1;width:auto}.compact-account .profile strong{font-size:11px;flex:1;min-width:0;margin:0;color:var(--text)}.compact-account .profile .avatar{width:29px;height:29px;font-size:11px}.account-identity form{flex:0 0 auto;margin:0}.account-identity .icon-button{width:26px;height:28px}.account-identity svg{width:16px;height:16px}.compact-account .storage-link{padding:0;border:0}.compact-account .storage-meter{height:5px}.compact-account .storage-meter::-webkit-meter-bar{height:5px}.account-capacity{display:flex;align-items:center;gap:5px;min-height:24px;margin-top:3px}.capacity-link{display:flex;align-items:center;gap:6px;flex:1;min-width:0;min-height:24px}.compact-account .storage-value{margin:0;font-size:9px;white-space:nowrap}.compact-account #storage-percent{margin-left:auto;font-size:10px;font-weight:750;color:var(--text);white-space:nowrap}.account-trash-menu{position:relative;flex-shrink:0}.account-trash-menu summary{list-style:none;width:23px;height:24px;cursor:pointer}.account-trash-menu summary::-webkit-details-marker{display:none}.account-trash-menu svg{width:15px;height:15px}.account-trash-menu .account-quick-actions{position:absolute;bottom:30px;right:0;width:150px;display:grid;background:var(--panel);border:1px solid var(--line);border-radius:9px;padding:5px;margin:0;box-shadow:var(--shadow);z-index:60}.account-trash-menu a{display:block;font-size:11px;padding:10px;border-radius:5px;color:var(--text)}.account-trash-menu a:hover{background:var(--hover)}.account-trash-menu summary:focus-visible{outline:3px solid var(--focus);outline-offset:2px}

/* Keep the account card clear of the bottom browser edge. */
.sidebar-bottom{padding-bottom:calc(8px + env(safe-area-inset-bottom, 0px))}

.trash-space{color:var(--text);font-weight:600}.explorer-footer #item-count{line-height:1.6}

.folder-root-choice{display:flex;align-items:center;gap:8px;font-size:13px;line-height:1.5;margin:16px 0;cursor:pointer}.folder-root-choice input{width:16px;height:16px;flex:0 0 16px;accent-color:var(--accent)}#folder-destination{overflow-wrap:anywhere}

.site-footer{display:flex;align-items:center;justify-content:space-between;gap:14px 28px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:24px;padding:16px 0 8px;color:var(--muted);font-size:11px;line-height:1.7}.site-footer nav{display:flex;flex-wrap:wrap;gap:10px 20px}.site-footer a:hover,.information-content a:hover{text-decoration:underline;text-underline-offset:3px}.site-footer>span a{font-weight:650;color:var(--accent)}.public-shell>.site-footer{margin-top:40px}.info-public{grid-column:1/-1;width:100%;min-width:0;margin:0}.info-public>h1{font-size:clamp(30px,4vw,46px);margin:24px 0}.information-content{font-size:14px;line-height:1.85;overflow-wrap:anywhere}.information-content .info-lead{font-size:17px;color:var(--muted);margin:0 0 28px}.information-content section{margin:26px 0}.information-content h2,.help-contact h2{font-size:20px;margin:0 0 10px}.information-content p{margin:10px 0}.information-content a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.help-guide details{border-bottom:1px solid var(--line);padding:16px 0}.help-guide summary{cursor:pointer;font-weight:600;line-height:1.6}.help-guide{margin-bottom:32px}.help-contact{padding:24px 0}.help-contact p{line-height:1.8;margin:12px 0 20px}.history-origin{font-size:clamp(58px,10vw,110px);letter-spacing:-4px;line-height:1.2;font-weight:600;color:var(--accent);margin:12px 0 32px}.history-origin span{display:block;font-size:18px;letter-spacing:2px;margin-top:8px;color:var(--muted)}@media(max-width:600px){.site-footer{display:block;font-size:11px}.site-footer>span{display:block;margin-top:12px}.site-footer nav{gap:10px 16px}.information-content .info-lead{font-size:15px}}

/* Modern: a distinct explorer layout, while retaining the established themes. */
:root[data-theme=modern-light]{--bg:#edf2fa;--panel:#ffffff;--side:#122442;--text:#172b4d;--muted:#60718e;--line:#dce5f2;--accent:#375dfb;--accent-text:#fff;--accent-soft:#eaf0ff;--hover:#e7edfa;--focus:#8299ff;--radius:16px;--shadow:0 14px 36px #172b4d0a}
:root[data-theme=modern-dark]{--bg:#101727;--panel:#1b263b;--side:#0c1424;--text:#e4edfc;--muted:#a0afc7;--line:#304059;--accent:#91acff;--accent-text:#12213c;--accent-soft:#2b3d65;--hover:#26354e;--focus:#b4c6ff;--radius:16px;--shadow:0 14px 36px #0002}
[data-theme^=modern-] .sidebar{width:260px;padding:27px 18px 12px;border:0;color:#edf3ff;gap:2px}[data-theme^=modern-] .sidebar .brand{padding:0 10px;font-size:33px;color:#fff}[data-theme^=modern-] .sidebar .brand small,[data-theme^=modern-] .sidebar .brand-dot{color:#afc3ec}[data-theme^=modern-] .workspace{margin-left:260px}[data-theme^=modern-] .sidebar .new-button{margin:30px 4px 18px;min-height:48px;background:#5275ff;color:white;border-radius:14px;box-shadow:0 6px 18px #0003}[data-theme^=modern-] .nav{gap:5px}[data-theme^=modern-] .nav button,[data-theme^=modern-] .nav>a{color:#bed0ee;border-radius:12px;padding:12px 14px}[data-theme^=modern-] .nav button.active,[data-theme^=modern-] .nav button:hover,[data-theme^=modern-] .nav>a:hover{background:#ffffff14;color:#fff}[data-theme^=modern-] .nav svg{width:21px;height:21px;padding:1px}[data-theme^=modern-] .sidebar-folders h2,[data-theme^=modern-] .sidebar-folders small{color:#a9bcdd}[data-theme^=modern-] .sidebar-folders button,[data-theme^=modern-] .sidebar-folders a.root-folder{color:#c8d7ef;border-radius:10px}[data-theme^=modern-] .sidebar-folders .active,[data-theme^=modern-] .sidebar-folders button:hover,[data-theme^=modern-] .sidebar-folders a.root-folder:hover{background:#ffffff14!important;color:white}[data-theme^=modern-] .sidebar-search{background:#ffffff0d;border-color:#ffffff20;color:#bdd0ef}[data-theme^=modern-] .sidebar-search input{color:#edf3ff}[data-theme^=modern-] .sidebar-search input::placeholder{color:#a9bcdd}
[data-theme^=modern-] .topbar{margin:18px 24px 0;height:66px;border:1px solid var(--line);border-radius:17px;padding:0 22px;box-shadow:var(--shadow)}[data-theme^=modern-] main{padding:22px 28px 28px}[data-theme^=modern-] .page-heading{margin:18px 0 24px}[data-theme^=modern-] .page-heading h1{font-size:32px;letter-spacing:-1.1px}[data-theme^=modern-] .button{border-radius:12px}[data-theme^=modern-] .tabs{background:var(--panel);padding:4px;border-radius:12px;border:1px solid var(--line)}[data-theme^=modern-] .tabs button{border-radius:8px}[data-theme^=modern-] .view-switch{border-radius:12px;padding:3px;background:var(--panel)}[data-theme^=modern-] .file-surface{background:transparent;border:0;box-shadow:none}[data-theme^=modern-] .file-table{border-collapse:separate;border-spacing:0 7px}[data-theme^=modern-] .file-table td{background:var(--panel);height:62px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}[data-theme^=modern-] .file-table td:first-child{border-left:1px solid var(--line);border-radius:12px 0 0 12px}[data-theme^=modern-] .file-table td:last-child{border-right:1px solid var(--line);border-radius:0 12px 12px 0}[data-theme^=modern-] .file-table tr.selected td{background:var(--accent-soft)}[data-theme^=modern-] .file-glyph{border-radius:11px;box-shadow:inset 0 0 0 1px #ffffff25}[data-theme^=modern-] .folder-card{border-radius:16px;box-shadow:var(--shadow)}[data-theme^=modern-] .folder-card-top>svg{padding:5px;height:43px;width:46px;border-radius:12px;background:var(--accent-soft)}[data-theme^=modern-] .file-grid{background:transparent;padding:0;gap:14px}[data-theme^=modern-] .grid-card{border-radius:16px;box-shadow:var(--shadow)}[data-theme^=modern-] .account-content{border-radius:18px;box-shadow:var(--shadow)}[data-theme^=modern-] dialog{border-radius:20px;box-shadow:0 24px 80px #0004}[data-theme^=modern-] .selection-bar{border-radius:12px}[data-theme^=modern-] .site-footer{margin-top:22px}
.theme-options{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));flex-wrap:wrap}.theme-option{min-width:0}.theme-preview.modern-light{background:linear-gradient(90deg,#122442 0 24%,#edf2fa 24%)}.theme-preview.modern-dark{background:linear-gradient(90deg,#0c1424 0 24%,#1b263b 24%)}
@media(max-width:900px){[data-theme^=modern-] .workspace{margin-left:0}[data-theme^=modern-] .topbar{margin:10px 12px 0;padding:0 14px}[data-theme^=modern-] main{padding:18px 16px}[data-theme^=modern-] .sidebar{width:260px}[data-theme^=modern-] .page-heading h1{font-size:28px}}
@media(max-width:600px){[data-theme^=modern-] .topbar{height:60px}[data-theme^=modern-] .file-grid{gap:9px}[data-theme^=modern-] .content-heading{gap:12px}[data-theme^=modern-] .file-table td{height:63px}}

/* Compact launch invitation; stays out of folders and never opens a popup. */
.feedback-invite{display:flex;align-items:center;gap:14px;margin:0 0 22px;padding:14px 16px;border:1px solid var(--line);border-left:4px solid var(--accent);border-radius:12px;background:var(--panel)}.feedback-invite[hidden]{display:none}.feedback-invite>div{flex:1;min-width:0}.feedback-invite strong{display:block;font-size:14px}.feedback-invite>div>span{display:block;color:var(--muted);font-size:12px;margin-top:4px}.feedback-badge{font-size:10px;font-weight:700;letter-spacing:.04em;padding:6px 8px;border-radius:6px;background:var(--accent-soft);color:var(--accent);white-space:nowrap}.feedback-invite .button{white-space:nowrap}.feedback-kinds{border:0;padding:0;margin:22px 0;display:flex;flex-wrap:wrap;gap:10px}.feedback-kinds legend{font-weight:600;margin-bottom:12px}.feedback-kinds label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--panel);cursor:pointer}.feedback-kinds label:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.feedback-kinds input{accent-color:var(--accent);width:auto}.feedback-privacy{font-size:12px;color:var(--muted);line-height:1.6;margin:12px 0 20px}.feedback-form textarea{resize:vertical}
@media(max-width:600px){.feedback-invite{gap:10px;flex-wrap:wrap;padding:12px}.feedback-badge{display:none}.feedback-invite>div{flex-basis:calc(100% - 44px)}.feedback-invite .button{order:3}.feedback-invite>div>span{display:none}.feedback-invite #dismiss-feedback{order:2}.feedback-kinds{flex-direction:column}.feedback-kinds label{width:100%}}
.account-content .feedback-kinds input[type=radio]{width:16px;min-width:16px;max-width:16px;height:16px;flex:0 0 16px;margin:0;padding:0}.feedback-kinds label>span{flex:1;text-align:left}

/* Link sharing: compact cards, readable metrics and mobile forms. */
.share-create,.share-card{padding:1.25rem;border:1px solid var(--line);border-radius:16px;margin:1rem 0;background:var(--panel)}
.share-create summary{cursor:pointer;font-weight:700;padding:.25rem 0}
.share-create form{display:grid;gap:.8rem;margin-top:1rem;max-width:720px}
.share-card h2{margin:0 0 .5rem;font-size:1.15rem;overflow-wrap:anywhere}
.share-card p{font-size:.85rem;color:var(--muted);overflow-wrap:anywhere}
.share-metrics{display:flex;gap:2rem;margin:1rem 0}
.share-metrics strong{font-size:1.5rem}.share-metrics span{display:block;font-size:.75rem;font-weight:400}
.share-link{font-family:monospace;font-size:.8rem}
.share-confirm{display:flex;align-items:center;gap:.6rem;margin:1rem 0;font-size:.85rem}
.share-confirm input{width:auto;flex-shrink:0}
.share-pagination{display:flex;justify-content:center;align-items:center;gap:1.5rem;margin-top:1.5rem}
.share-public{grid-column:1/-1;width:100%;max-width:900px;margin:auto;padding:clamp(1rem,4vw,2rem);background:var(--panel);border:1px solid var(--line);border-radius:20px;min-width:0}
.share-public form{display:grid;gap:1rem;max-width:480px}
.share-public input{width:100%;box-sizing:border-box}
.share-files{list-style:none;padding:0;margin:1.5rem 0}
.share-files li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--line)}
.share-files span{overflow-wrap:anywhere;min-width:0}
.share-files .button{flex-shrink:0}
@media(max-width:600px){.share-card,.share-create{padding:1rem}.share-files li{align-items:flex-start;flex-direction:column}.share-metrics{gap:1rem}.share-public h1{font-size:1.7rem}}
/* Archive review: long file names stay within the confirmation dialog. */
.delete-list li{overflow-wrap:anywhere;word-break:break-word}

.file-preview video{display:block;width:100%;max-height:360px;background:#000;border-radius:10px;margin:12px 0}.file-glyph.video{background:var(--accent-soft);color:var(--accent)}

.history-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.history-filter .field{flex:1;min-width:180px}.history-list{list-style:none;padding:0;margin:20px 0}.history-list li{display:flex;gap:24px;padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.history-list time{font-size:12px;min-width:150px;opacity:.7}.history-list p{margin:6px 0}.history-list small{opacity:.7}.history-pages{display:flex;gap:12px}@media(max-width:600px){.history-list li{flex-direction:column;gap:8px}}

/* Compact invitation beside the main actions; wrap cleanly on smaller screens. */
.page-heading{gap:18px;margin-bottom:22px}.heading-actions{align-items:center;gap:8px}.heading-actions .feedback-invite{flex:0 1 auto;margin:0;padding:4px 6px;gap:4px;min-height:43px;border-left-width:3px}.heading-actions .feedback-invite .feedback-badge,.heading-actions .feedback-invite>div{display:none}.heading-actions .feedback-invite .button{min-height:32px;padding:6px 9px;border:0;background:transparent;font-size:12px}.heading-actions .feedback-invite .icon-button{width:28px;height:28px}.quick-access{margin-bottom:22px}
@media(max-width:1100px){.page-heading{flex-wrap:wrap}.heading-actions{max-width:100%}}
@media(max-width:600px){.heading-actions .feedback-invite{order:10;flex-basis:100%;justify-content:space-between}.heading-actions .feedback-invite .button{flex:0 1 auto;order:0}.heading-actions .feedback-invite #dismiss-feedback{order:1}.heading-actions{margin-top:16px}}

.pagination-top{padding:0;margin-left:auto;justify-content:flex-end;gap:12px;flex-wrap:nowrap}.content-heading{gap:12px;flex-wrap:wrap}.pagination-top .page-size{white-space:nowrap}.pagination-top .page-size select{max-width:140px}.pagination-top+.view-tools{margin-left:0}@media(max-width:1100px){.pagination-top{display:none}.pagination-top+.view-tools{margin-left:auto}}

/* Restore the full invitation in the desktop header, after search. */
@media(min-width:1101px){.topbar.has-feedback{gap:12px;padding-inline:24px}.topbar.has-feedback .search{min-width:120px}.topbar>.feedback-invite{flex:0 1 500px;min-width:0;margin:0;padding:8px 10px;gap:9px;border-left-width:3px}.topbar>.feedback-invite strong{font-size:12px;line-height:1.3}.topbar>.feedback-invite>div>span{font-size:10px;line-height:1.3;margin-top:3px}.topbar>.feedback-invite .feedback-badge{font-size:9px;padding:5px 6px}.topbar>.feedback-invite .button{min-height:32px;padding:6px 9px;font-size:11px}.topbar>.feedback-invite .icon-button{width:26px;height:26px;flex-shrink:0}}
@media(min-width:1101px) and (max-width:1300px){.topbar>.feedback-invite .feedback-badge{display:none}}

.thumbnails-label{display:none}@media(min-width:1101px){#thumbnails-toggle{display:inline-flex;align-items:center;gap:6px;width:auto;padding:0 9px}.thumbnails-label{display:inline;font-size:11px;white-space:nowrap}}

.share-selection-list{max-height:220px;overflow:auto;padding:10px 10px 10px 28px;margin:12px 0 18px;background:var(--bg);border-radius:8px;overflow-wrap:anywhere}.share-selection-list li{padding:4px 0}.selection-bar>div{flex-wrap:wrap}

.legacy-logo{display:block;width:147px;height:auto;object-fit:contain;background:#fff;border-radius:4px;padding:3px;box-sizing:content-box;flex-shrink:0}.legacy-brand-group{display:flex;align-items:center;flex-wrap:wrap;gap:18px}.site-footer{flex-wrap:wrap}.footer-legacy-logo{width:118px}.site-footer>nav{flex:1}@media(max-width:600px){.legacy-brand-group{gap:12px}.legacy-brand-group .legacy-logo{width:126px}.site-footer .footer-legacy-logo{margin-bottom:14px}}

.orphan-import{display:grid;gap:14px;max-width:500px;margin-top:16px}#orphan-sync>.subtitle{margin:12px 0}#orphan-sync .share-selection-list{margin-top:14px}

.media-folder-filter{max-width:420px;margin-bottom:16px}.multimedia-mode .file-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.multimedia-mode .grid-preview{height:150px}.multimedia-mode .grid-preview .file-thumbnail{width:100%;height:100%;object-fit:contain}.multimedia-mode .tabs small{opacity:.7;margin-left:5px}.media-viewer{width:min(1100px,94vw);max-width:94vw;padding:22px}.media-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;background:var(--bg);border-radius:12px;margin:12px 0;padding:16px}.media-stage img,.media-stage video{max-width:100%;width:auto;max-height:65vh;object-fit:contain}.media-stage audio{width:min(100%,640px)}.media-controls{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.file-preview audio{max-width:100%}@media(max-width:600px){.multimedia-mode .file-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.multimedia-mode .grid-preview{height:110px}.media-viewer{padding:12px}.media-stage{padding:8px;min-height:160px}.media-controls{gap:6px}.media-controls .button{font-size:11px;padding:8px}.multimedia-mode .tabs{flex-wrap:wrap}}

#archive-error{white-space:pre-line;overflow-wrap:anywhere}

/* Footer stays in normal flow; short pages stretch to the viewport. */
body[data-page] .workspace{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body[data-page] .workspace>.topbar{flex-shrink:0}
body[data-page] .workspace>main{display:flex;flex-direction:column;flex:1 0 auto;width:100%;min-width:0;margin:0 auto;padding-bottom:8px}
body[data-page] .workspace>main>*{flex-shrink:0}
body[data-page] .workspace>main>.site-footer{margin-top:auto}
body[data-page] .workspace>main>:has(+.site-footer){margin-bottom:28px}
.site-footer{display:flex;align-items:center;gap:14px 24px;flex-wrap:wrap;padding-top:18px}
.site-footer>nav{display:flex;flex-wrap:wrap;align-items:center;flex:1 1 240px}
.site-footer .footer-legacy-logo{width:104px;margin:0}
.footer-credit{white-space:nowrap}
.site-footer .footer-storage{display:none;align-items:center;gap:8px;white-space:nowrap;font-size:10px}
.footer-storage strong{color:var(--text)}
.footer-storage .storage-meter{width:64px;margin:0;height:5px;flex-shrink:0}
@media(min-width:1101px){.site-footer .footer-storage{display:inline-flex}}
@media(max-width:600px){.site-footer{gap:14px 18px}.site-footer>nav{flex-basis:calc(100% - 140px);font-size:10px}.site-footer>.footer-credit{margin:0;white-space:normal}}

/* Compact primary navigation; retain comfortable touch targets on mobile. */
.sidebar #navigation{gap:2px}.sidebar #navigation>button,.sidebar #navigation>a{min-height:34px;padding:7px 12px;gap:10px;font-size:12px;line-height:20px}.sidebar #navigation svg{width:18px;height:18px}
@media(max-width:900px){.sidebar #navigation>button,.sidebar #navigation>a{min-height:44px;padding-block:10px}}

/* Reduce stacked vertical margins above explorer titles. */
body[data-page] #main{padding-top:12px}body[data-page] #main>.breadcrumbs{margin:8px 0 12px}body[data-page="explorer"] #main>.page-heading{margin-top:0;margin-bottom:18px}

.sidebar #new-button{margin-top:22px;margin-bottom:12px}

.heading-title-row{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 18px}.heading-title-row h1{min-width:0;overflow-wrap:anywhere}.heading-summary{font-size:11px;line-height:1.5;color:var(--muted);font-weight:400}.footer-slogan{font-size:10px;color:var(--muted)}@media(max-width:600px){.heading-title-row{gap:4px 12px}.heading-summary{font-size:10px}.site-footer>.footer-slogan{margin:0}}

/* Approved GAVETA.net brand; keep the complete lockup legible on dark sidebars. */
.brand-approved{display:block;letter-spacing:normal;max-width:100%}.brand-approved .brand-logo{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.sidebar .brand-approved{width:202px}.public-header .brand-approved{width:320px}[data-theme="dark"] .sidebar .brand-approved,[data-theme^="modern-"] .sidebar .brand-approved{background:#f5f7fb;border-radius:10px;padding:4px 6px}@media(max-width:620px){.public-header .brand-approved{width:220px}.public-header{flex-wrap:wrap}}

.brand.brand-approved .brand-logo{filter:none}

.history-archive figure{margin:20px 0 0;padding:14px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.history-archive figure img{display:block;width:100%;max-width:884px;height:auto;margin:auto}.history-archive figcaption{font-size:12px;line-height:1.6;color:var(--muted);margin-top:12px}.history-archive figure a{display:block}@media(max-width:600px){.history-archive figure{padding:8px}}

.history-archive video{display:block;width:100%;height:auto;max-height:70vh;background:#fff;border-radius:4px}
.history-area-logo{display:inline-block;max-width:100%}.history-area-logo img{display:block;width:144px;max-width:100%;height:auto;border-radius:4px}
.history-archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,280px));gap:18px;align-items:start}.history-archive-grid figure{margin:0;padding:10px}.history-archive-trigger{display:block;padding:0;width:100%;text-align:left}.history-archive-trigger>span:last-child{display:block;font-size:12px;font-weight:600;padding:10px 2px 0}.history-archive-grid figure img{width:100%;height:135px;object-fit:contain;background:#fff}.history-video-poster{display:block;position:relative}.history-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:44px;height:44px;background:#183653e8;color:#fff;border-radius:50%;font-size:20px}.history-archive-grid figcaption{font-size:11px}
#history-archive-modal{width:min(1080px,calc(100vw - 28px));max-height:92vh;max-height:92dvh;padding:20px}.history-archive-stage img,.history-archive-stage video{display:block;width:100%;max-height:65vh;max-height:65dvh;object-fit:contain;height:auto;background:#fff}#history-archive-modal-caption{font-size:12px;color:var(--muted);line-height:1.6;margin-top:14px}
@media(max-width:600px){.history-archive-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}.history-archive-grid figure img{height:90px}.history-archive-grid figure{padding:7px}.history-archive-grid figcaption{display:none}#history-archive-modal{padding:14px}.history-archive-trigger>span:last-child{font-size:11px}}

.history-area-layout{display:flex;align-items:center;gap:24px}.history-area-layout .history-area-logo{flex:0 0 144px}.history-area-copy{flex:1;min-width:0}.information-content .history-area-copy p:first-child{margin-top:0}.information-content .history-area-copy p:last-child{margin-bottom:0}@media(max-width:600px){.history-area-layout{align-items:flex-start;gap:14px;flex-direction:column}.history-area-layout .history-area-logo{flex-basis:auto}.history-area-layout .history-area-logo img{width:112px}}

.history-opening{display:flex;align-items:center;gap:36px;flex-wrap:wrap;margin-bottom:20px}.history-opening .history-origin{margin:0;flex-shrink:0}.history-archive-compact{display:grid;grid-template-columns:repeat(2,minmax(0,170px));gap:12px}.history-archive-compact .history-archive-trigger{padding:7px;border:1px solid var(--line);border-radius:9px;background:var(--bg)}.history-archive-compact img{display:block;width:100%;height:78px;object-fit:contain;background:#fff}.history-archive-compact .history-archive-trigger>span:last-child{font-size:10px;line-height:1.4;padding:7px 0 0}.history-archive-compact .history-play{width:30px;height:30px;font-size:14px}@media(max-width:600px){.history-opening{gap:18px}.history-archive-compact{width:100%;max-width:352px;grid-template-columns:repeat(2,minmax(0,1fr))}}

.information-content .history-continuity,.public-history .history-continuity{margin:8px 0 28px;padding:12px 18px;border-left:3px solid var(--accent);background:var(--accent-soft);border-radius:0 8px 8px 0;color:var(--accent);font-size:clamp(19px,2vw,26px);font-weight:650;line-height:1.35;letter-spacing:-.3px}@media(max-width:600px){.information-content .history-continuity,.public-history .history-continuity{padding:12px 14px;margin-bottom:22px}}

.site-footer .footer-legacy-logo{padding:4px 6px;border-radius:6px;box-shadow:0 2px 7px rgba(24,54,83,.12);outline:1px solid rgba(24,54,83,.06)}

.feedback-donation{margin:24px 0 0;font-size:12px;color:var(--muted);line-height:1.6}.feedback-donation a{text-decoration:underline;text-underline-offset:3px}.feedback-donation a:hover{color:var(--accent)}
/* Shared help guide: public and authenticated layouts. */
.help-guide{--help-panel:var(--surface,var(--bg));max-width:100%}.help-welcome{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;padding:30px;border:1px solid var(--line);border-radius:16px;background:var(--accent-soft);align-items:center}.help-kicker{display:block;font-size:10px;font-weight:750;letter-spacing:1.8px;color:var(--accent);margin-bottom:12px}.help-guide .help-welcome h2{font-size:clamp(25px,2.5vw,34px);line-height:1.2;letter-spacing:-.7px;margin:0 0 16px;color:var(--text)}.help-welcome p{color:var(--muted);max-width:520px}.help-guide .help-support-link{display:inline-block;font-size:12px;font-weight:650;margin-top:10px}.help-start{padding:22px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.help-guide h3{font-size:16px;line-height:1.4;margin:0 0 10px}.help-start ol{list-style:none;counter-reset:help-steps;padding:0;margin:16px 0 0;display:grid;gap:16px}.help-start li{position:relative;counter-increment:help-steps;padding-left:38px;font-size:12px;line-height:1.6}.help-start li:before{content:counter(help-steps);position:absolute;left:0;top:2px;width:26px;height:26px;display:grid;place-items:center;background:var(--accent);color:#fff;border-radius:8px;font-size:12px;font-weight:700}.help-start li strong,.help-start li span{display:block}.help-start li span{color:var(--muted);margin-top:3px}.help-topics-nav{display:flex;flex-wrap:wrap;gap:8px;padding:18px 0 4px}.help-guide .help-topics-nav a{font-size:11px;line-height:1.4;padding:9px 12px;border:1px solid var(--line);border-radius:20px;text-decoration:none;background:var(--bg);color:var(--text)}.help-topics-nav a:hover{border-color:var(--accent);color:var(--accent)}.help-guide .help-section-intro{color:var(--muted);font-size:12px;margin:0 0 20px}.help-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.help-feature{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:var(--bg);scroll-margin-top:24px}.help-feature>img{display:block;width:100%;height:150px;object-fit:contain;background:#edf2f9}.help-feature-copy{padding:20px}.help-feature-copy>p{font-size:12px;color:var(--muted);min-height:44px}.help-guide .help-feature details{padding:12px 0 0;border:0;margin-top:16px;border-top:1px solid var(--line)}.help-feature summary{font-size:12px;color:var(--accent)}.help-feature ol{margin:14px 0 0;padding-left:20px;font-size:12px;line-height:1.8}.help-feature li+li{margin-top:12px}.help-extras{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:20px}.help-extras article{padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.help-extra-number{display:inline-block;font-size:11px;font-weight:700;color:var(--accent);margin-bottom:12px}.help-extras p{font-size:12px;color:var(--muted)}.help-faq{padding:24px;border:1px solid var(--line);border-radius:14px;background:var(--bg);scroll-margin-top:24px}.help-guide .help-faq details:last-child{border-bottom:0}.help-faq summary{font-size:13px}.help-faq details p{font-size:13px;color:var(--muted)}.help-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.help-guide a:focus-visible,.help-guide summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px}#help-contact{scroll-margin-top:24px}
@media(max-width:1150px){.help-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.help-welcome{gap:20px;padding:24px}.help-extras{grid-template-columns:1fr}.help-extras article{padding:18px}.help-extra-number{float:left;margin:2px 14px 6px 0}}
@media(max-width:700px){.help-welcome{grid-template-columns:1fr;padding:20px;gap:22px}.help-cards{grid-template-columns:1fr}.help-feature>img{height:140px}.help-feature-copy>p{min-height:0}.help-topics-nav{gap:7px}.help-guide .help-topics-nav a{font-size:11px;padding:8px 10px}.help-faq{padding:18px}.help-start{padding:18px}.help-guide .help-welcome h2{font-size:27px}}

/* Terms share one accessible layout for public and account pages. */
.terms-guide .terms-revision{color:var(--muted);font-size:12px;margin:0 0 12px}.terms-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.terms-summary>div{background:var(--accent-soft);border:1px solid var(--line);border-radius:10px;padding:18px 20px}.terms-summary strong{color:var(--accent);font-size:15px}.terms-summary p{font-size:13px;line-height:1.65;margin:8px 0 0}.terms-index{border:1px solid var(--line);border-radius:10px;padding:20px 24px;margin:24px 0 30px}.terms-index ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 32px;margin:10px 0 0;padding-left:22px}.terms-guide section{border-bottom:1px solid var(--line);padding-bottom:24px;scroll-margin-top:100px}.terms-guide section p{max-width:100ch}.terms-contact{padding:22px 24px;background:var(--accent-soft);border-radius:10px;margin:28px 0}.terms-resources{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px}.terms-guide a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}@media(max-width:700px){.terms-summary,.terms-index ol{grid-template-columns:1fr}.terms-summary{gap:10px}.terms-summary>div,.terms-index,.terms-contact{padding:16px}.terms-guide h2{font-size:18px}}@media print{.terms-index,.terms-summary,.terms-contact{break-inside:avoid}.terms-guide section{break-inside:auto}.terms-guide h2{break-after:avoid}}

.legal-notice{margin:12px 28px 0;padding:12px 16px;border:1px solid var(--line);border-radius:8px;font-size:13px;color:var(--text);background:var(--accent-soft)}.legal-notice a{text-decoration:underline;color:var(--accent);font-weight:600}.legal-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.6;margin:14px 0}.legal-check input{width:18px;height:18px;flex:none;margin:2px 0 0}.legal-check a{text-decoration:underline}@media(max-width:600px){.legal-notice{margin:12px 16px 0}}
