:root{color:var(--text);background:var(--paper);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f6f5f0;--rail:#efece6;--surface:#fcfbf8;--ink:#1a3a5c;--ink-hover:#122a44;--line:#dcd8ce;--muted:#54514b;--control:#8c877c;--register:#c4bfb4;--hover:#ece9e1;--success:#1f5b3f;--warning:#7c4a03;--selected:#e6ecf3;--quiet-ink:#48637c;--danger:#9a2622;--text:#1c1b19;--primary-text:#fcfbf8;--brand-surface:#122a44;--independent:#f1e9d7;--backdrop:#131c288f;--stage:#f0eee8;--stage-line:#dcd8ce;--selection:#cbd8e5;font-synthesis:none;text-rendering:optimizelegibility;font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,system-ui,sans-serif}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#101925;--rail:#14202e;--surface:#192736;--ink:#bed7f6;--ink-hover:#d4e6fb;--line:#2d3e51;--muted:#b5c2d0;--control:#6a829b;--register:#40566c;--hover:#213245;--success:#94d8b1;--warning:#f0ce91;--selected:#253c54;--quiet-ink:#a9bfd6;--danger:#ffb8af;--text:#edf2f9;--primary-text:#142335;--brand-surface:#122a44;--independent:#43351e;--backdrop:#050b12b8;--stage:#111b28;--stage-line:#33475c;--selection:#385775}*,:before,:after{box-sizing:border-box}body{margin:0;font-size:14px}::selection{background:var(--selection);color:var(--text)}:focus-visible{outline:2px solid var(--ink);outline-offset:3px}button,input,select{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.56}a{color:var(--ink)}h1,h2,p{margin:0}svg{vertical-align:middle;flex:none}.muted{color:var(--muted)}.error{color:var(--danger);line-height:1.6}.button,.icon-button{border:1px solid var(--control);background:var(--surface);min-height:42px;color:var(--ink);white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:8px;padding:8px 13px;font-weight:650;text-decoration:none;display:inline-flex}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--selected)}.primary{background:var(--ink);border-color:var(--ink);color:var(--primary-text)}.primary:hover:not(:disabled){background:var(--ink-hover)}.icon-button{background:0 0;border-color:#0000;min-width:40px;min-height:40px;padding:5px}.text-button{color:var(--ink);text-underline-offset:3px;background:0 0;border:0;padding:4px 0;text-decoration:underline}.brand-mark{object-fit:contain;flex:none;display:block}.entry{place-items:center;min-height:100dvh;padding:68px 24px 36px;display:grid;position:relative}.entry-controls{position:absolute;inset-block-start:16px;inset-inline-end:24px}.entry-content{border:1px solid var(--register);background:var(--surface);border-radius:12px;grid-template-columns:minmax(0,2fr) minmax(0,3fr);width:min(100%,768px);display:grid;overflow:hidden}.entry-brand{background:var(--brand-surface);place-items:center;min-height:312px;display:grid;position:relative}.entry-brand:before{content:"";border:1px solid #4a6077;border-radius:4px;position:absolute;inset:18px}.entry-action{align-content:center;gap:14px;padding:clamp(27px,5vw,52px);display:grid}.entry-content h1{color:var(--ink);letter-spacing:-.033em;font-size:clamp(30px,3.7vw,43px);line-height:1.15}.entry-description,.entry-status{color:var(--muted);line-height:1.65}.entry-content .primary,.entry-status{margin-top:13px}.entry-content .primary{border-radius:4px;justify-content:space-between;min-height:49px;padding-inline:17px}.workspace{grid-template:64px 1fr/248px minmax(0,1fr);min-height:100dvh;display:grid}.topbar{background:var(--surface);border-bottom:1px solid var(--line);grid-column:1/-1;justify-content:space-between;align-items:center;gap:20px;padding:0 27px;display:flex}.brand-icon{background:var(--brand-surface);border-radius:6px;flex:none;place-items:center;width:38px;height:38px;display:inline-grid}.header-controls{align-items:center;gap:9px;min-width:0;display:flex}.theme-toggle{border-radius:6px;min-width:44px;min-height:44px;padding-inline:10px;font-size:13px}.wordmark,.account{background:0 0;border:0;align-items:center;gap:11px;padding:0;display:inline-flex}.wordmark{color:var(--ink);white-space:nowrap;min-height:44px;font-size:17px;font-weight:750}.account{border-radius:4px;min-width:0;min-height:44px;padding:4px 8px;font-weight:600}.account:hover{background:var(--hover)}.account-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.account svg{color:var(--quiet-ink)}.avatar{background:var(--selected);width:30px;height:30px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.rail{background:var(--rail);border-right:1px solid var(--line);min-width:0;padding:22px 15px}.rail-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;padding-inline:11px 0;display:flex}.rail h2{color:var(--muted);font-size:13px;font-weight:650}.folder-toggle{display:none}.folder-list,.folder-list ul{gap:3px;display:grid}.folder-list ul{min-width:0;margin:0;padding:0;list-style:none}.folder-list li>ul{border-inline-start:1px solid var(--register);margin:3px 0 3px 16px;padding-inline-start:10px}.nav-item{text-align:left;background:0 0;border:1px solid #0000;border-radius:4px;align-items:center;gap:10px;width:100%;min-width:0;min-height:42px;padding:8px 11px;display:flex}.nav-item:hover{background:var(--surface)}.nav-item[aria-current]{color:var(--ink);background:var(--selected);border-color:var(--line);box-shadow:inset 2px 0 var(--ink);font-weight:700}.nav-item svg{color:var(--quiet-ink)}.nav-item span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.content{width:100%;min-width:0;max-width:1420px;padding:34px clamp(22px,4vw,62px) 56px}.crumbs{color:var(--muted);flex-wrap:wrap;align-items:center;gap:7px;min-height:22px;font-size:13px;display:flex}.crumbs>span{overflow-wrap:anywhere;align-items:center;gap:7px;min-width:0;display:inline-flex}.crumbs button{color:var(--ink);text-align:start;background:0 0;border:0;padding:2px 0}.crumbs button:hover{text-underline-offset:3px;text-decoration:underline}.title-row{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:18px;margin:0 0 27px;display:flex}.crumbs+.title-row{margin-top:13px}.title-group{justify-items:start;gap:9px;min-width:0;display:grid}.title-group h1{color:var(--ink);overflow-wrap:anywhere;letter-spacing:-.02em;font-size:clamp(25px,3.15vw,38px);line-height:1.2}.role{background:var(--selected);color:var(--ink);border-radius:4px;align-items:center;gap:6px;padding:4px 8px;font-size:12px;display:inline-flex}.actions{flex-wrap:wrap;gap:9px;display:flex}.library-tools{color:var(--muted);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:11px;margin-bottom:13px;font-size:13px;display:flex}.result-count{font-variant-numeric:tabular-nums}.search{border:1px solid var(--control);width:min(340px,100%);min-height:44px;color:var(--quiet-ink);background:var(--surface);border-radius:4px;align-items:center;gap:10px;padding:0 8px 0 12px;display:flex}.search:focus-within{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}.search input{width:100%;min-width:0;color:var(--text);caret-color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:10px 0}.search input::placeholder{color:var(--muted)}.search input::-webkit-search-cancel-button{-webkit-appearance:none}.search-clear{min-width:30px;min-height:30px}.register{table-layout:fixed;border-collapse:separate;border-spacing:0;border:1px solid var(--line);background:var(--surface);font-variant-numeric:tabular-nums;border-radius:8px;width:100%;overflow:hidden}.register thead{border-block:1px solid var(--line);background:var(--rail)}.register th,.register td{text-align:start;padding:8px 12px}.register thead th{height:39px;color:var(--muted);font-size:13px;font-weight:650}.register th:first-child{width:auto}.register th:nth-child(2){width:94px}.register th:nth-child(3){width:116px}.register th:nth-child(4){width:164px}.register th:last-child,.register td:last-child{text-align:end}.register tbody tr{height:57px}.register tbody tr>*{border-top:1px solid var(--line)}.register tbody tr:hover,.register tbody tr:focus-within{background:var(--hover)}.register tbody td{color:var(--muted)}.file-actions{justify-content:flex-end;gap:3px;display:flex}.file-actions .icon-button{padding-inline:9px}.folder-link,.file-name{text-align:start;align-items:center;gap:11px;max-width:100%;min-height:40px;display:flex}.folder-link{color:var(--ink);background:0 0;border:0;padding:0;font-weight:700}.folder-link span,.file-title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.file-name{font-weight:550}.file-label{gap:2px;min-width:0;display:grid}.compact-size{color:var(--muted);font-size:12px;font-weight:400;display:none}.download,.file-preview{gap:5px;min-height:40px;padding:4px 7px;font-size:13px}.file-stamp{border:1px solid var(--register);min-width:35px;height:22px;color:var(--ink);background:var(--surface);border-radius:2px;flex:none;place-items:center;padding-inline:3px;font:700 10px ui-monospace,monospace;display:inline-grid}.empty{border-block:1px solid var(--line);min-height:190px;color:var(--muted);background:var(--surface);align-content:center;justify-items:start;gap:10px;padding:30px 21px;display:grid}.empty svg,.empty h2{color:var(--ink)}.empty h2{font-size:20px}.empty p{line-height:1.6}.library-error{border-block:1px solid var(--line);margin-bottom:12px;padding-block:9px}.transfers{background:var(--surface);border-block:1px solid var(--line);margin-block:12px;padding:12px}.transfer-head,.transfers li{justify-content:space-between;align-items:center;gap:12px;display:flex}.transfers ul{gap:7px;margin:8px 0 0;padding:0;list-style:none;display:grid}.transfers li{flex-wrap:wrap}.transfers li span:first-child{overflow-wrap:anywhere}.transfers progress{appearance:none;background:var(--line);border:0;flex:0 0 100%;height:2px}.transfers progress::-webkit-progress-bar{background:var(--line)}.transfers progress::-webkit-progress-value{background:var(--ink)}.transfers progress::-moz-progress-bar{background:var(--ink)}.transfers progress.failed::-webkit-progress-value{background:var(--danger)}.transfers progress.failed::-moz-progress-bar{background:var(--danger)}dialog{width:min(540px,100% - 28px);max-height:calc(100dvh - 36px);color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:4px;padding:23px}dialog::backdrop{background:var(--backdrop)}.dialog-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.dialog-heading h2{color:var(--ink);letter-spacing:-.015em;overflow-wrap:anywhere;font-size:23px}.dialog-context{color:var(--muted);overflow-wrap:anywhere;margin-block:1px 12px}.dialog-form{gap:14px;margin-top:12px;display:grid}.dialog-form label{gap:7px;font-weight:600;display:grid}.dialog-form input,.dialog-form select{border:1px solid var(--control);background:var(--paper);min-width:0;min-height:40px;color:inherit;border-radius:2px;padding:8px 10px}.dialog-actions,.add-member{flex-wrap:wrap;justify-content:end;gap:8px;display:flex}.permission-list{max-height:270px;overflow:auto}.permission-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto 40px;align-items:center;gap:8px;min-height:53px;padding-block:8px;display:grid}.permission-member{overflow-wrap:anywhere;gap:3px;min-width:0;display:grid}.permission-member .account-id{word-break:break-all;font-size:12px;line-height:1.35}.preview-dialog{border-color:var(--register);border-radius:10px;width:min(980px,100% - 28px);padding:0}.preview-dialog .dialog-heading{padding:11px 16px 11px 20px}.preview-dialog .dialog-heading h2{font-size:clamp(17px,2.5vw,22px)}.preview-stage{border-block:1px solid var(--stage-line);background:var(--stage);place-items:center;min-height:min(42dvh,350px);padding:clamp(12px,3.4vw,28px);display:grid;position:relative}.preview-stage :is(img,video){object-fit:contain;max-width:100%;max-height:58dvh;display:block}.preview-stage audio{width:min(100%,460px)}.preview-stage:has(iframe){padding:0}.preview-stage iframe{border:0;width:100%;height:60dvh;display:block}.preview-stage pre{background:var(--surface);border:1px solid var(--stage-line);white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2;border-radius:5px;width:100%;max-height:56dvh;margin:0;padding:17px;font:.9rem/1.7 ui-monospace,monospace;overflow:auto}.preview-status{background:var(--surface);color:var(--muted);justify-self:center;padding:5px 8px;position:absolute;inset:12px 0 auto}.preview-fallback{color:var(--muted);text-align:center;justify-items:center;gap:10px;display:grid}.preview-actions{color:var(--muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 12px;padding:12px 20px;display:flex}.preview-actions>span{margin-inline-end:auto}.preview-actions .button{min-height:44px}.account-id{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:13px}.role-independent{color:var(--warning);background:var(--independent)}.success{color:var(--success)}.placed{animation:.4s ease-out placed}@keyframes placed{0%{background:var(--selected)}}@media (prefers-reduced-motion:reduce){.placed{animation:none}}@media (width<=800px){.workspace{grid-template:60px auto minmax(0,1fr)/minmax(0,1fr)}.topbar{gap:11px;padding-inline:16px}.theme-toggle span{display:none}.account{gap:6px}.rail{border-right:0;border-bottom:1px solid var(--line);padding:0 15px}.rail-head{margin:0;padding-inline:0}.rail-head h2{display:none}.folder-toggle{min-height:44px;color:var(--ink);background:0 0;border:0;align-items:center;gap:9px;padding:0 4px;font-weight:650;display:flex}.folder-toggle[aria-expanded=true] svg:last-child{transform:rotate(180deg)}.folder-list{display:none}.folder-list-open{max-height:42dvh;padding:4px 3px 9px;display:grid;overflow:auto}.nav-item{min-height:44px}.content{padding:23px 16px 38px}.title-row{gap:14px;margin-bottom:20px}.register th:nth-child(2),.register td:nth-child(2),.register th:nth-child(3),.register td:nth-child(3){display:none}.register th:nth-child(4){width:102px}.register th,.register td{padding-inline:8px}.folder-link,.file-name{gap:8px;min-height:44px}.file-title,.folder-link span{-webkit-line-clamp:2;overflow-wrap:anywhere;white-space:normal;-webkit-box-orient:vertical;display:-webkit-box}.compact-size{display:inline}.file-actions .icon-button{min-width:44px;min-height:44px;padding-inline:5px}.file-actions .icon-button span{display:none}}@media (width<=520px){.entry{padding:68px 17px 24px}.entry-controls{inset-inline-end:17px}.entry-content{grid-template-columns:minmax(0,1fr)}.entry-brand{min-height:153px}.entry-brand:before{inset:12px}.entry-brand .brand-mark{width:96px;height:96px}.entry-action{padding:26px 23px}.account-name{display:none}.header-controls{gap:3px}.preview-dialog .dialog-heading,.preview-actions{padding-inline:14px}.preview-actions:has(.preview-open)>span{flex-basis:100%}.preview-actions .button{padding-inline:10px}.actions{gap:7px;width:100%}.actions .button{flex:1;min-height:44px;padding-inline:9px}.library-tools{gap:8px}.search{width:100%}.search input,.dialog-form input,.dialog-form select{font-size:16px}.search-clear{min-width:40px;min-height:40px}.register td:last-child{padding-inline:4px}.permission-row{grid-template-columns:minmax(0,1fr) auto 38px}.permission-row .icon-button{min-width:38px}}
