:root{color:#18181b;font-synthesis:none;--background:#f7f7f8;--surface:#fff;--surface-subtle:#f3f3f4;--surface-hover:#eeeeef;--border:#e0e0e3;--border-strong:#c8c8cd;--foreground:#18181b;--muted:#71717a;--muted-strong:#52525b;--primary:#27272a;--primary-hover:#09090b;--primary-foreground:#fafafa;--accent:#0f766e;--accent-soft:#e8f5f2;--danger:#b42318;--danger-soft:#fff1f0;--warning:#92400e;--warning-soft:#fff8e7;background:#f7f7f8;font-family:Aptos,Segoe UI Variable Text,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:var(--background);min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;color:var(--foreground);background-color:var(--background);letter-spacing:0;background-image:linear-gradient(#18181b06 1px,#0000 1px),linear-gradient(90deg,#18181b06 1px,#0000 1px);background-size:28px 28px;margin:0;font-size:14px;line-height:1.5}button,input{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #0f766e47}button:disabled{cursor:not-allowed;opacity:.52}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.center-screen,.login-screen{place-items:center;min-height:100vh;padding:24px;display:grid}.center-screen{color:var(--muted-strong);align-content:center;gap:14px}.center-screen p{margin:0}.login-panel{background:var(--surface);border:1px solid var(--border);border-radius:8px;gap:22px;width:min(380px,100%);padding:28px;display:grid;box-shadow:0 16px 46px #18181b17}.login-panel h1{margin:0;font-size:24px;font-weight:680;line-height:1.2}.login-panel p{color:var(--muted-strong);margin:7px 0 0}.brand-lockup,.sidebar-brand{align-items:center;gap:9px;font-weight:700;display:inline-flex}.brand-mark{color:#fff;background:#263746;border-radius:6px;flex:0 0 30px;place-items:center;width:30px;height:30px;font-size:10px;font-weight:800;display:grid}.button,.icon-button{color:var(--foreground);background:var(--surface);border:1px solid var(--border-strong);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;font-weight:650;text-decoration:none;display:inline-flex}.button{gap:7px;min-height:36px;padding:7px 12px}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:var(--surface-hover)}.button.primary{color:var(--primary-foreground);background:var(--primary);border-color:var(--primary)}.button.primary:hover:not(:disabled){background:var(--primary-hover)}.button.danger{color:#fff;background:var(--danger);border-color:var(--danger)}.button.compact{white-space:nowrap;min-height:32px;padding:5px 9px}.icon-button{border-color:#0000;flex:0 0 32px;width:32px;height:32px;padding:0}.danger-icon{color:var(--danger)}.google-button{width:100%;min-height:43px}.google-mark{width:18px;height:18px}.provider-note{border-top:1px solid var(--border);padding-top:16px;font-size:12px;color:var(--muted)!important}.app-shell{grid-template-columns:220px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);background:#fafafaf5;flex-direction:column;min-width:0;height:100vh;display:flex;position:sticky;top:0}.sidebar-brand{border-bottom:1px solid var(--border);min-height:64px;padding:16px 18px}.sidebar nav,.mobile-sheet nav{flex:1;padding:18px 12px}.nav-label{color:var(--muted);margin:0 8px 8px;font-size:11px;font-weight:700}.nav-item{min-height:38px;color:var(--muted-strong);border-radius:6px;align-items:center;gap:9px;padding:8px 10px;text-decoration:none;display:flex}.nav-item.active{color:var(--foreground);background:var(--surface-hover);font-weight:650}.user-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;min-width:0;padding:13px 14px;display:flex}.user-footer>div{min-width:0}.user-footer strong,.user-footer span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.user-footer strong{font-size:13px}.user-footer span{color:var(--muted);font-size:11px}.workspace{width:min(1180px,100%);min-width:0;margin:0 auto;padding:34px 40px 64px}.workspace-header{border-bottom:1px solid var(--border-strong);justify-content:space-between;align-items:flex-start;gap:24px;padding-bottom:20px;display:flex}.workspace-header h1{overflow-wrap:anywhere;max-width:22ch;margin:0;font-size:28px;font-weight:680;line-height:1.15}.workspace-header p{color:var(--muted);margin:6px 0 0}.page-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.breadcrumbs{min-height:48px;color:var(--muted);flex-wrap:wrap;align-items:center;gap:3px;display:flex}.breadcrumb-group{align-items:center;gap:3px;min-width:0;display:inline-flex}.breadcrumb{max-width:220px;min-height:30px;color:var(--muted-strong);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:5px;padding:4px 6px;overflow:hidden}.breadcrumb:hover{background:var(--surface-hover)}.breadcrumb[aria-current=page]{color:var(--foreground);font-weight:650}.file-surface{background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow:hidden}.file-table{display:grid}.file-row{border-top:1px solid var(--border);grid-template-columns:minmax(180px,1.6fr) minmax(100px,.7fr) 100px 112px;align-items:center;gap:16px;min-width:0;min-height:54px;padding:9px 14px;display:grid}.file-row:first-child{border-top:0}.file-header{min-height:38px;color:var(--muted);background:var(--surface-subtle);font-size:11px;font-weight:700}.file-name{align-items:center;gap:10px;min-width:0;font-weight:650;display:flex}.file-name>svg{color:var(--muted-strong);flex:none}.file-name>span,.file-link{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.file-link{color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;padding:3px 0}.file-link:hover{text-decoration:underline}.file-meta{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.row-actions{justify-content:flex-end;gap:2px;min-width:104px;display:flex}.empty-state{min-height:260px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:7px;padding:28px;display:grid}.empty-state strong{color:var(--foreground);font-size:15px}.error-notice,.upload-status{border-radius:7px;justify-content:space-between;align-items:center;gap:16px;margin:0 0 14px;padding:12px 14px;display:flex}.error-notice{color:#7f1d1d;background:var(--danger-soft);border:1px solid #efc4c0}.error-notice strong,.error-notice span,.upload-status strong,.upload-status span{display:block}.error-notice span,.upload-status span{margin-top:2px;font-size:11px}.upload-status{color:#14534e;background:var(--accent-soft);border:1px solid #b9ded8;grid-template-columns:minmax(0,1fr);display:grid}.upload-status>div:first-child{justify-content:space-between;gap:12px;display:flex}.progress-track{background:#0f766e21;border-radius:4px;height:7px;overflow:hidden}.progress-track span{background:var(--accent);height:100%;margin:0;transition:width .16s;display:block}.dialog-backdrop,.sheet-backdrop{z-index:30;background:#18181b66;display:grid;position:fixed;inset:0}.dialog-backdrop{place-items:center;padding:20px}.dialog{background:var(--surface);border:1px solid var(--border);border-radius:8px;width:min(420px,100%);padding:20px;box-shadow:0 20px 60px #18181b2e}.dialog-head,.sheet-head{justify-content:space-between;align-items:center;gap:16px;display:flex}.dialog h2{margin:0;font-size:18px;line-height:1.3}.dialog>p{color:var(--muted-strong);margin:7px 0 18px}.field-label{color:var(--muted-strong);margin-bottom:6px;font-size:12px;font-weight:650;display:block}.text-input{width:100%;min-height:40px;color:var(--foreground);background:var(--surface);border:1px solid var(--border-strong);border-radius:6px;padding:8px 10px}.text-input[aria-invalid=true]{border-color:var(--danger)}.field-error{font-size:12px;color:var(--danger)!important;margin:6px 0 0!important}.dialog-actions{justify-content:flex-end;gap:8px;margin-top:20px;display:flex}.mobile-menu-button,.sheet-backdrop{display:none}.mobile-sheet{background:var(--surface);flex-direction:column;width:min(320px,100% - 44px);height:100%;margin-left:auto;animation:.17s ease-out sheet-enter;display:flex;box-shadow:-16px 0 42px #18181b2b}.sheet-head{border-bottom:1px solid var(--border);min-height:64px;padding:12px 14px 12px 18px}@keyframes sheet-enter{0%{opacity:0;transform:translate(24px)}to{opacity:1;transform:translate(0)}}@media (width<=760px){.app-shell{display:block}.sidebar{display:none}.mobile-menu-button{right:18px;bottom:max(18px, env(safe-area-inset-bottom));z-index:20;width:46px;height:46px;color:var(--primary-foreground);background:var(--primary);border-color:var(--primary);border-radius:8px;display:inline-flex;position:fixed;box-shadow:0 8px 24px #18181b33}.sheet-backdrop{display:block}.workspace{width:100%;padding:22px 16px 84px}.workspace-header{flex-direction:column;align-items:stretch;gap:16px}.workspace-header h1{max-width:100%;font-size:24px}.page-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.page-actions .button{width:100%}.breadcrumb{max-width:130px}.file-row{grid-template-columns:minmax(0,1fr) 104px;gap:8px;min-height:58px;padding-inline:11px}.file-row>:nth-child(2),.file-row>:nth-child(3){display:none}.file-header>:last-child{text-align:right}.error-notice{flex-direction:column;align-items:stretch}.error-notice .button{align-self:flex-start}}@media (width<=420px){.login-panel{padding:22px}.page-actions{grid-template-columns:minmax(0,1fr)}.row-actions{min-width:96px}.file-row{grid-template-columns:minmax(0,1fr) 96px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
