:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--shell-bg:#f8fafc;--shell-line:#e2e8f0;--shell-text:#0f172a;--shell-muted:#64748b;--sidebar-bg:#fff;--sidebar-width:228px;--teal:#0f766e}*{box-sizing:border-box}html,body{background:var(--shell-bg);min-height:100%;color:var(--shell-text);margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}.app-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);min-height:100vh;display:grid}.app-sidebar{border-right:1px solid var(--shell-line);background:var(--sidebar-bg);flex-direction:column;height:100vh;padding:16px 10px 24px;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-brand{align-items:center;gap:9px;padding:6px 8px 14px;display:flex}.sidebar-brand__mark{background:var(--teal);color:#fff;letter-spacing:-.02em;border-radius:7px;flex-shrink:0;place-items:center;width:26px;height:26px;font-size:.7rem;font-weight:800;display:grid}.sidebar-brand__name{color:var(--shell-text);font-size:.9rem;font-weight:700}.sidebar-section-label{letter-spacing:.06em;text-transform:uppercase;color:var(--shell-muted);padding:12px 10px 4px;font-size:.68rem;font-weight:600}.storage-meter{background:#fff;margin-top:14px}.app-main{background:var(--shell-bg);flex-direction:column;min-height:100vh;display:flex}.app-toolbar{z-index:100;border-bottom:1px solid var(--shell-line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f8fafcf0;padding:10px 24px;position:sticky;top:0}.toolbar-search-form{flex:1;grid-template-columns:minmax(220px,1.2fr) minmax(180px,.8fr) auto;gap:8px;max-width:820px;display:grid}.app-content{flex:1;padding:24px}.upload-zone{border:2px dashed var(--shell-line);text-align:center;cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:10px;padding:36px 24px;transition:border-color .15s,background .15s}.upload-zone:hover,.upload-zone--active{border-color:var(--teal);background:#f0fdfa}.upload-file-item{background:var(--shell-bg);border:1px solid var(--shell-line);border-radius:8px;align-items:center;gap:10px;padding:9px 12px;display:flex}.doc-type-badge{letter-spacing:.02em;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;font-size:.6rem;font-weight:700;display:inline-grid}.doc-type-badge--pdf{color:#b91c1c;background:#fef2f2}.doc-type-badge--img{color:#1d4ed8;background:#eff6ff}.doc-title-link:hover{color:var(--teal)!important;text-decoration:underline!important}.doc-type-badge--default{color:#475569;background:#f1f5f9}.auth-layout{grid-template-columns:minmax(0,440px) minmax(0,1fr);align-items:start;gap:24px;max-width:1000px;margin:48px auto 0;padding:0 24px 48px;display:grid}.eyebrow{color:var(--teal);letter-spacing:.07em;text-transform:uppercase;font-size:.72rem;font-weight:700}.list-check{background:var(--teal);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:20px;height:20px;font-size:.68rem;display:inline-grid}.message,.warning,.dashboard-band{border-radius:8px;padding:14px 16px;line-height:1.55}.message{color:#15803d;background:#f0fdf4;border:1px solid #bbf7d0}.warning,.dashboard-band{color:#92400e;background:#fffbeb;border:1px solid #fde68a;max-width:600px;margin:48px auto 0}.doc-detail-body{flex:1;grid-template-columns:minmax(0,1fr) 360px;height:calc(100vh - 57px);min-height:0;display:grid}.doc-preview-pane{background:#1e1e1e;justify-content:center;align-items:stretch;display:flex;overflow:hidden}.doc-preview-iframe{background:#fff;border:none;width:min(100%,1400px);height:100%;display:block}.doc-preview-image-wrap{justify-content:center;align-items:flex-start;width:min(100%,1400px);height:100%;padding:24px;display:flex;overflow:auto}.doc-preview-image{border-radius:6px;max-width:100%;height:auto;box-shadow:0 4px 24px #0006}.doc-preview-empty{color:#6b7280;flex-direction:column;justify-content:center;align-items:center;width:100%;display:flex}.doc-meta-pane{border-left:1px solid var(--shell-line);background:var(--sidebar-bg);overflow-y:auto}@media (max-width:820px){.app-shell{grid-template-columns:1fr}.app-sidebar{border-right:none;border-bottom:1px solid var(--shell-line);height:auto;position:static}.auth-layout{grid-template-columns:1fr;margin-top:24px}.toolbar-search-form{grid-template-columns:1fr;max-width:100%}}@media (max-width:520px){.app-content{padding:16px}.app-toolbar{padding:10px 16px}}
