[hidden]{display:none!important}.app-shell{min-height:100dvh}.sidebar{height:100dvh}.auth-page{min-height:100dvh;display:grid;grid-template-columns:minmax(300px,.85fr) minmax(350px,1.15fr)}.auth-brand{background:#0d191f;color:white;display:flex;flex-direction:column;justify-content:center;padding:10%;gap:22px}.auth-brand img{width:190px;height:190px;object-fit:contain}.auth-brand h1{font-size:29px}.auth-brand p{color:#b9cbd5;max-width:380px}.auth-brand small{font-size:11px;letter-spacing:1.8px;color:#8ca9ba}.auth-area{display:flex;justify-content:center;align-items:center;padding:40px;background:#f3f6f8}.auth-card{width:100%;max-width:425px}.auth-card h2{font-size:25px;margin-bottom:9px}.auth-card>p{color:#5d6e79;margin-bottom:25px}.auth-card form{display:flex;flex-direction:column;gap:18px}.auth-card .button{min-height:44px;font-size:13px}.auth-switch{margin-top:20px;text-align:center}.form-error{color:#9b2539;background:#fff0f2;border:1px solid #e8bec8;border-radius:6px;padding:12px;font-size:12px}.form-error:empty{display:none}.loading{padding:40px;color:#5d6e79;text-align:center}.loading:before{content:"";display:block;width:25px;height:25px;border:3px solid #dce8ed;border-top-color:#006e86;border-radius:50%;margin:0 auto 13px;animation:rotate .8s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.loading:before{animation:none}}.folder-name{display:flex;gap:10px;align-items:center}.file-actions{display:flex;gap:6px;flex-wrap:wrap}.upload-progress{display:flex;flex-direction:column;gap:7px;font-size:12px}.one-time-code{font:20px/1.5 Consolas,monospace;letter-spacing:1px;background:#edf5f8;padding:18px;border-radius:6px;overflow-wrap:anywhere;user-select:all}.wide-dialog{max-width:min(800px,calc(100vw - 32px));width:760px}.preview-image{display:block;max-width:100%;max-height:430px;object-fit:contain;margin:0 auto}.text-preview{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow-y:auto;font:12px/1.7 Consolas,monospace;background:#f5f8fa;padding:16px;border-radius:5px}.inline-error{margin-top:15px}.source-stale{color:#78500d}.stat-inline{font-size:11px;color:#5d6e79}.employee-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.employee-form .full{grid-column:1/-1}.help-copy{max-width:850px}.connection-code{font:28px/1.5 Consolas,monospace;letter-spacing:4px;text-align:center;padding:15px;background:#edf5f8;border-radius:7px}.account-role{font-size:11px;color:#5d6e79}.toolbar-search{min-width:200px;max-width:450px}.main-message{margin-top:16px}.table-scroll td{max-width:320px}.folder-source{font-size:11px;overflow-wrap:anywhere;color:#5d6e79}.index-progress{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.index-progress span{font-size:12px}.small-path{font:11px/1.6 Consolas,monospace;overflow-wrap:anywhere;color:#5d6e79}.login-footer{font-size:11px;color:#6d808b;margin-top:26px;line-height:1.7}.checkbox-label{display:flex;align-items:center;gap:9px;font-size:12px}.checkbox-label input{width:16px;height:16px}.account-code-note{font-size:12px;color:#5d6e79}.connection-warning{padding:20px;border:1px solid #decba3;border-radius:8px;background:#fff8e8;color:#78500d}.auth-mobile-logo{display:none}.auth-status{min-height:18px}.preview-table{font-size:11px}.preview-table th{position:sticky;top:0}.dialog-content:has(.preview-table){overflow-x:auto}.error-page{padding:25px}.status-pill{font-size:10px;padding:3px 7px;border-radius:4px;background:#edf4f7;color:#416c7c}.staged-row{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e2e9ed}.staged-row span:first-child{overflow-wrap:anywhere}.auth-card input{font-size:16px}.info-note{font-size:12px;line-height:1.75;color:#5d6e79}
@media(max-width:750px){.auth-page{grid-template-columns:1fr}.auth-brand{display:none}.auth-area{padding:30px 22px;min-height:100dvh}.auth-mobile-logo{display:block;width:90px;height:90px;margin-bottom:25px;border-radius:10px}.auth-card h2{font-size:24px}.employee-form{grid-template-columns:1fr}.employee-form .full{grid-column:auto}.sidebar{height:100dvh}.dialog-content{max-height:70dvh;overflow:auto}.auth-card .field{min-width:0}}
.pdf-preview{width:100%;height:65vh;min-height:320px;border:1px solid var(--border,#dce4e9);border-radius:8px;background:#f3f5f7}

.welcome-line{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:-4px 0 18px;color:var(--muted);font-size:13px}
.hub-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-bottom:24px}
.hub-stats>a,.hub-stats>div{display:flex;flex-direction:column;gap:5px;padding:19px 22px;background:white;color:var(--ink)}
.hub-stats>a:hover{background:#f0f8fa;text-decoration:none}.hub-stats strong{font-size:28px;font-weight:650;line-height:1.2;letter-spacing:-.7px}.hub-stats .stat-date{font-size:24px}.hub-stats span{font-size:12px;color:var(--muted)}
.customer-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.grid-two .customer-directory{grid-template-columns:repeat(2,minmax(0,1fr))}
.directory-card{display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:10px;background:white;padding:20px;transition:border-color .15s,box-shadow .15s}
.directory-card:hover{border-color:#8cbac8;box-shadow:0 4px 16px #153d4b0a}.directory-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.customer-monogram{width:42px;height:42px;border-radius:9px;display:grid;place-items:center;background:#e7f3f6;color:#006e86;font-size:15px;font-weight:650;letter-spacing:.3px}.directory-card:nth-child(3n+2) .customer-monogram{background:#f0ebfb;color:#7546b5}
.directory-card h2{font-size:17px;line-height:1.4;overflow-wrap:anywhere}.directory-card h2 a{color:var(--ink)}.directory-card p{font-size:12px;color:var(--muted);margin:8px 0 20px}.workspace-open{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:600;margin-top:auto;padding-top:13px;border-top:1px solid #e9eef1}
.pin-button{width:34px;height:34px;min-width:34px;border:1px solid transparent;border-radius:7px;background:transparent;color:#617987;font-size:24px;line-height:1;display:inline-grid;place-items:center;padding:0}.pin-button:hover{background:#eef5f7;border-color:#cbdee5}.pin-button.pinned{color:#74521a;background:#fff7e5}.row-actions{display:flex;align-items:center;gap:7px;justify-content:flex-end}
.file-location{font-size:11px;line-height:1.5;color:var(--muted);max-width:380px;overflow-wrap:anywhere}.file-location a{color:var(--muted)}.file-cell>div{min-width:0}.file-name{overflow-wrap:anywhere;text-align:left}
.library-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:14px;padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:9px;margin-bottom:16px}.panel .library-controls{border:0;border-radius:0;border-bottom:1px solid var(--line);margin-bottom:0}.library-controls>.field{flex:1 1 130px;min-width:0}.library-controls>.field:first-child{flex:2 1 240px}.library-controls input,.library-controls select{width:100%;min-width:0;background:#fff;min-height:41px}
.results-summary{padding:12px 20px;color:var(--muted);font-size:12px}.pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:18px 20px;margin-top:14px;background:#fff;border:1px solid var(--line);border-radius:8px;font-size:12px}.panel .pagination{border:0;border-top:1px solid var(--line);border-radius:0;margin-top:0}
.shortcut-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 20px 20px}.shortcut-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #dce7ec;background:#f8fbfc;border-radius:8px;min-width:0}.shortcut-item>div{min-width:0}.shortcut-item a,.shortcut-item button.text-button{font-size:13px;font-weight:600;overflow-wrap:anywhere}.shortcut-item small{display:block;color:var(--muted);font-size:11px;margin-top:3px;overflow-wrap:anywhere}
.workspace-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:22px;color:var(--muted);font-size:12px}.workspace-meta>.button{margin-left:auto}.workspace-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.workspace-section{display:flex;align-items:center;gap:15px;padding:20px;background:white;border:1px solid var(--line);border-radius:9px;color:var(--ink)}.workspace-section:hover{text-decoration:none;border-color:#89b5c5;background:#fafeff}.workspace-section>div{min-width:0;flex:1}.workspace-section strong{display:block;font-size:14px;overflow-wrap:anywhere}.workspace-section small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.section-icon{font-size:22px;color:var(--accent)}
.source-details{margin-top:18px;font-size:12px;color:var(--muted)}.source-details summary{cursor:pointer;display:list-item}.source-details p{margin:10px 0}.source-details code{font-size:11px;overflow-wrap:anywhere}
.access-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.access-summary>div{padding:18px 20px;border:1px solid var(--line);border-radius:9px;background:#fff}.access-summary strong{font-size:13px}.access-summary p{font-size:12px;line-height:1.7;color:var(--muted);margin-top:5px}
@media(max-width:1150px){.customer-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-stats>a,.hub-stats>div{padding:18px}.shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-sections{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hub-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.hub-stats strong{font-size:25px}.hub-stats>a,.hub-stats>div{padding:16px}.hub-stats span{font-size:11px}.customer-directory,.grid-two .customer-directory,.shortcut-grid,.workspace-sections,.access-summary{grid-template-columns:1fr}.directory-card{padding:18px}.library-controls{padding:15px;gap:12px}.library-controls>.field:first-child{flex-basis:100%}.library-controls>.field{flex-basis:40%}.pin-button{min-width:40px;width:40px;height:40px}.workspace-meta>.button{margin-left:0}.welcome-line{font-size:12px;align-items:flex-start}.results-summary{padding-left:15px}.shortcut-grid{padding-left:16px;padding-right:16px}.pagination{padding:14px;gap:9px}.pagination>.button{font-size:11px;padding:8px}.workspace-section{padding:17px}.sidebar.open{overscroll-behavior:contain}body:has(.sidebar.open){overflow:hidden}}
.grid-two{align-items:start}#pin-panel{margin-bottom:24px}#pin-panel>.panel{margin-bottom:0}
