:root{--ink:#202e2b;--muted:#73817c;--green:#143d37;--green-hover:#205449;--lime:#e3edc9;--paper:#f7f8f4;--border:#e2e7df;--white:#fff;--red:#a64236;--shadow:0 14px 55px #15382c0d;font-family:"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button,a,input{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}button svg,a svg{flex-shrink:0}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button{border:0}input:not([type=checkbox]):not([type=file]){width:100%;border:1px solid #d6ded5;border-radius:10px;background:#fff;padding:14px 15px;color:var(--ink);font-size:16px;transition:border .15s}input:focus{border-color:var(--green)!important;outline:2px solid #b8ceb966}input::placeholder{color:#9ba49e}input[type=checkbox]{width:18px;height:18px;accent-color:var(--green);cursor:pointer;flex-shrink:0}form label{display:block;font-size:14px;font-weight:600;margin:22px 0 9px}label .optional{color:var(--muted);font-weight:400;margin-left:6px}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;font-size:14px;font-weight:600;padding:13px 18px;border-radius:9px;min-height:46px;transition:background .18s,transform .18s;white-space:nowrap}.button:active{transform:translateY(1px)}.primary{background:var(--green);color:white}.primary:hover:not(:disabled){background:var(--green-hover)}.secondary{background:white;border:1px solid #d8e1d6;color:var(--green)}.secondary:hover{background:#f0f4e9}.full{width:100%}.large{padding:18px 28px;font-size:18px;min-height:58px}.small-button{font-size:13px;padding:8px 12px;min-height:36px}.icon-button{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;width:38px;height:38px;background:transparent;color:var(--muted);flex-shrink:0}.icon-button:hover:not(:disabled){background:#ebf0e6;color:var(--green)}.text-button{display:inline-flex;align-items:center;gap:8px;background:none;color:var(--muted);font-size:13px;padding:7px 0}.text-button:hover{color:var(--green)}.brand{display:flex;align-items:center;gap:10px;width:fit-content}.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:var(--lime);font:italic 36px Georgia,serif;width:43px;height:43px;border-radius:13px;padding-bottom:5px}.brand-word{font-weight:700;font-size:29px;letter-spacing:-1.3px}.brand-word>span{font-size:11px;letter-spacing:1.3px;color:var(--muted);font-weight:500;margin-left:5px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted)}.mini-label{display:inline-flex;align-items:center;gap:7px;font-size:10px;font-weight:700;letter-spacing:1.1px;color:var(--green)}.mini-label .icon{width:16px;height:16px}.accent-dot{color:#85a46d}.private-badge{display:inline-flex;align-items:center;gap:7px;font-size:11px;color:#657568}.private-badge .icon{width:15px;height:15px}.badge{font-size:9px;letter-spacing:1px;font-weight:700;padding:5px 8px;border-radius:5px;white-space:nowrap}.neutral{background:#e8eee1;color:#617452}.boot{min-height:40vh;display:flex;gap:18px;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);font-size:14px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:var(--green);color:#fff;border-radius:10px;padding:15px 22px;box-shadow:0 8px 30px #0002;font-size:14px;max-width:min(600px,90vw);width:max-content}.toast.error{background:var(--red)}.form-error{color:var(--red);font-size:13px;line-height:1.5;margin:12px 0;min-height:20px}.quiet-note{display:flex;gap:9px;font-size:12px;line-height:1.8;color:var(--muted);margin-top:25px}.quiet-note .icon{width:17px;height:17px;margin-top:2px}.local-note{font-size:11px;color:#87907f;border-top:1px solid var(--border);padding-top:20px;margin-top:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Administrator entry */
.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-story{position:relative;background:var(--green);color:#fff;padding:46px 60px;display:flex;flex-direction:column;overflow:hidden}.auth-story .brand-mark{background:var(--lime);color:var(--green)}.auth-story .brand-word>span{color:#99b6a4}.auth-intro{margin:auto 0;max-width:500px;padding:55px 0 20px}.light{color:#c8d6b6}.auth-intro h1{font:normal clamp(38px,4.2vw,62px)/1.1 Georgia,serif;letter-spacing:-1.8px;margin-top:24px}.auth-intro p{color:#b4c7bb;line-height:1.8;font-size:15px;max-width:340px;margin-top:25px}.auth-foot{font-size:11px;color:#a7bcae;letter-spacing:.3px}.paper-art{position:relative;height:255px;margin:25px 0 0 35px}.paper{position:absolute;width:150px;height:190px;border-radius:9px;background:#e3edc9;top:22px;left:90px}.paper-back{transform:rotate(-14deg);background:#a4b79b;left:65px;top:30px}.paper-front{transform:rotate(9deg);padding:27px 24px;box-shadow:0 16px 30px #0002}.paper-front span{font-weight:800;color:var(--green);font-size:12px;letter-spacing:2px}.paper-front i{display:block;height:5px;background:#b6c5a7;margin-top:17px;width:100%;border-radius:5px}.paper-front i:last-of-type{width:65%}.paper-front b{position:absolute;bottom:-13px;right:-15px;width:53px;height:53px;background:#f5f5eb;border-radius:50%;display:grid;place-items:center;color:var(--green);box-shadow:0 4px 14px #0002}.paper-front b .icon{width:25px;height:25px}.art-label{position:absolute;left:0;bottom:5px;color:#c8d6b6;font:italic 18px Georgia,serif;transform:rotate(-6deg)}.auth-form-side{display:flex;align-items:center;justify-content:center;padding:50px}.auth-form-wrap{width:100%;max-width:370px}.auth-form-wrap h2{font:normal 38px/1.2 Georgia,serif;letter-spacing:-1px;margin:20px 0 16px}.auth-form-wrap>p{font-size:14px;color:var(--muted);line-height:1.8}.auth-form-wrap .mini-label{color:var(--muted)}
/* Dashboard */
.admin-layout{display:grid;grid-template-columns:230px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#fbfcf8;border-right:1px solid var(--border);padding:30px 21px 20px;display:flex;flex-direction:column}.sidebar .brand{margin:0 8px 50px}.workspace-label{font-size:9px;letter-spacing:1.6px;color:#9aA298;padding:0 12px;margin-bottom:15px;font-weight:700}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;align-items:center;gap:11px;text-align:left;border-radius:8px;padding:13px 12px;color:#748073;font-size:12px;background:transparent;width:100%}.nav-item .icon{width:18px;height:18px}.nav-item.active{background:#e9efdf;color:#274d37;font-weight:600}.nav-item:hover{background:#eff3e8}.nav-item>span{font-size:10px;margin-left:auto;background:#e4ebdf;border-radius:4px;padding:2px 6px}.sidebar-tip{border:1px solid var(--border);border-radius:10px;padding:18px 15px;margin-top:auto;background:#f4f6ee}.tip-icon{display:inline-flex;background:#e8eddc;color:#62814e;padding:8px;border-radius:8px;margin-bottom:13px}.tip-icon .icon{width:18px;height:18px}.sidebar-tip h3{font-size:13px;font-weight:600}.sidebar-tip p{font-size:11px;color:#819079;line-height:1.8;margin-top:8px}.sidebar-bottom{margin-top:25px;padding-top:22px;border-top:1px solid var(--border)}.admin-identity{display:flex;align-items:center;gap:10px}.admin-identity>div{display:flex;flex-direction:column;gap:4px}.admin-identity strong{font-size:11px;font-weight:600}.admin-identity div span{font-size:10px;color:var(--muted)}.sidebar-bottom>.text-button{margin:14px 0 0 5px;font-size:11px}.sidebar-bottom>.text-button .icon{width:15px;height:15px}.workspace{min-width:0}.topbar{height:73px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;color:#99a195;font-size:11px;background:#fafbf7}.workspace-content{max-width:1450px;margin:auto;padding:43px 40px 25px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading h1{font:normal 38px/1.2 Georgia,serif;letter-spacing:-1.3px;margin:10px 0}.page-heading p{font-size:12px;color:var(--muted);line-height:1.6}.page-heading .button{font-size:12px;padding:12px 17px}.local-banner{background:#f0f3e8;border:1px solid #e1e8d6;color:#748168;border-radius:8px;padding:12px 14px;display:flex;align-items:center;gap:12px;font-size:11px;line-height:1.7;margin-bottom:24px}.local-banner>.icon{width:17px;height:17px}.local-banner>span:not(.badge){flex:1}.local-banner strong{font-weight:600;color:#526248}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:36px}.stat{background:white;border:1px solid var(--border);border-radius:11px;padding:21px 22px 18px;min-width:0}.stat.featured{background:var(--green);border-color:var(--green);color:white}.stat-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#6f7e71}.stat-top .icon{color:#9caa97;width:18px;height:18px}.stat.featured .stat-top{color:#c3d1b7}.stat.featured .stat-top .icon{color:#dce9c8}.stat>strong{display:block;font-size:33px;font-weight:500;letter-spacing:-1.3px;margin:16px 0 8px;line-height:1.1}.stat-hint{font-size:10px;color:#94a08d}.stat.featured .stat-hint{color:#9cb594}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-heading h2{font-size:18px;font-weight:600;display:flex;align-items:center;gap:9px;letter-spacing:-.5px}.section-heading p{font-size:11px;color:var(--muted);margin-top:7px}.count-pill{font-family:"Segoe UI",sans-serif;display:inline-block;font-size:10px;color:#78906c;background:#eaf0e2;padding:3px 7px;border-radius:6px;vertical-align:middle;font-weight:500}.search-field{display:flex;align-items:center;gap:7px;border:1px solid var(--border);background:white;padding:0 12px;border-radius:8px;width:235px}.search-field .icon{width:16px;height:16px;color:#9aa48f}.search-field input{border:0!important;padding:11px 0!important;font-size:12px!important;outline:none!important;background:none!important;min-width:0}.table-wrap{background:white;border:1px solid var(--border);border-radius:11px;overflow:auto}.clients-table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}.clients-table th{font-size:9px;font-weight:600;letter-spacing:.8px;color:#8d9985;background:#fafbf7;padding:17px 21px;border-bottom:1px solid var(--border)}.clients-table th:first-child{width:36%}.clients-table td{padding:19px 21px;font-size:11px;color:#7a8875;border-bottom:1px solid #eef0e9}.clients-table tr:last-child td{border:0}.clients-table tr:hover td{background:#fcfdf9}.client-name{display:flex;align-items:center;gap:13px;background:none;text-align:left;padding:0}.avatar{width:40px;height:40px;background:#edf1e3;border:1px solid #e0e7d7;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;color:#6c8059;font-size:11px;font-weight:600;flex-shrink:0}.avatar.tone-1{background:#edf0f2;border-color:#e0e6e9;color:#72838c}.avatar.tone-2{background:#f5eee4;border-color:#ece3d5;color:#a38d6a}.avatar.tone-3{background:#f0eaf0;border-color:#e8dfe8;color:#8a758a}.avatar.small{width:34px;height:34px;font-size:10px;border-radius:9px}.avatar.large{width:55px;height:55px;font-size:18px;border-radius:15px}.client-name strong{display:block;color:#354b35;font-size:12px;font-weight:600;max-width:220px;overflow:hidden;text-overflow:ellipsis}.client-name small{display:block;color:#9aA38e;font-size:10px;margin-top:5px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.document-count{display:inline-flex;align-items:center;gap:5px;color:#677b5c;font-weight:500}.document-count .icon{width:14px;height:14px}.cell-sub{display:block;font-size:9px;color:#9ea692;margin-top:5px}.link-button{display:flex;align-items:center;gap:6px;border:1px solid #e1e7d8;background:#fafcf5;padding:7px 9px;border-radius:6px;color:#63804f;font-size:10px;font-weight:500}.link-button .icon{width:14px;height:14px}.link-button:hover{background:#edf3e3}.empty-state{padding:58px 20px 62px;text-align:center;border:1px solid var(--border);border-radius:11px;background:#fff}.empty-icon{display:inline-flex;align-items:center;justify-content:center;background:#eef3e4;width:62px;height:62px;border-radius:18px;color:#819b65;margin-bottom:20px}.empty-icon .icon{width:27px;height:27px}.empty-state h3{font:normal 24px Georgia,serif;letter-spacing:-.4px}.empty-state p{font-size:12px;color:var(--muted);line-height:1.8;margin:13px 0 24px}.empty-state .button{font-size:12px}.workspace-footer{display:flex;justify-content:space-between;gap:15px;color:#9ba590;font-size:10px;padding-top:24px}.workspace-footer span:first-child{display:flex;gap:5px;align-items:center}.workspace-footer .icon{width:13px;height:13px}
/* Client detail and dialogs */
dialog{border:1px solid var(--border);border-radius:17px;padding:30px;max-width:480px;width:calc(100% - 36px);box-shadow:0 25px 100px #172b2830;color:var(--ink)}dialog::backdrop{background:#17342b60;backdrop-filter:blur(3px)}.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-header h2{font:normal 28px Georgia,serif;margin-top:8px;letter-spacing:-.7px}.dialog-header>.icon-button{margin:-8px -10px 0 0}dialog>p{font-size:13px;color:var(--muted);line-height:1.8;margin:14px 0 24px}dialog .quiet-note{margin-top:18px}.drawer-open{overflow:hidden}.drawer-backdrop{position:fixed;inset:0;background:#16322955;z-index:10;backdrop-filter:blur(2px)}.client-drawer{position:fixed;right:0;top:0;bottom:0;width:min(750px,95vw);background:#fafbf7;z-index:11;overflow-y:auto;padding:25px 34px 28px;box-shadow:-10px 0 70px #10282215}.drawer-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.detail-heading{display:flex;align-items:center;gap:15px;margin-bottom:26px}.detail-heading h2{font:normal 31px Georgia,serif;letter-spacing:-.5px;overflow-wrap:anywhere}.detail-heading p{font-size:12px;color:var(--muted);margin-top:6px;overflow-wrap:anywhere}.link-panel{background:#edf2e5;border:1px solid #dfe7d5;border-radius:12px;padding:21px;margin-bottom:30px}.link-panel p{font-size:12px;color:#78896e;line-height:1.7;margin-top:9px}.button-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:17px}.link-controls{display:flex;justify-content:space-between;border-top:1px solid #dfe7d5;margin-top:16px;padding-top:6px}.link-controls .text-button{font-size:11px}.disabled{pointer-events:none;opacity:.4}.compact{margin-top:25px;margin-bottom:16px}.compact h3{font-size:16px;font-weight:600}.compact .count-pill{margin-left:5px}.select-all{display:flex;align-items:center;gap:8px;font-size:11px;color:#76876a;padding:0 3px 12px}.select-all span{margin-left:auto;font-size:10px;color:#99a68b}.file-list{padding:0;list-style:none;margin:0;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:#fff}.file-row{display:flex;align-items:center;gap:10px;padding:15px 12px;border-bottom:1px solid #edf0e6}.file-row:last-child{border:0}.pdf-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:42px;background:#f9eee8;color:#b17d65;font-size:9px;font-weight:700;letter-spacing:.5px;border-radius:6px;border:1px solid #f1ded0;flex-shrink:0}.file-info{min-width:0;flex:1}.file-info strong{font-size:12px;font-weight:600;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.file-info small{display:block;font-size:10px;color:#8b9780;margin-top:6px}.file-actions{display:flex;align-items:center;gap:1px}.tiny{width:25px;height:30px}.tiny .icon{width:15px;height:15px}.merge-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0 8px}.merge-bar>span{font-size:12px;color:var(--muted)}.merge-bar .button{font-size:12px}.field-hint{font-size:10px;color:#94a18a;line-height:1.6}.detail-empty{padding:30px 20px;text-align:center;background:#fff;border:1px dashed #d5dfc8;border-radius:10px}.detail-empty>.icon{display:block;margin:0 auto 12px;color:#9cae8b;width:30px;height:30px}.detail-empty strong{font-size:13px;font-weight:500}.detail-empty p{font-size:11px;color:var(--muted);margin-top:10px;line-height:1.7}.merged-card{display:flex;align-items:center;gap:12px;padding:16px;background:#f0f4e9;border:1px solid #dce7cf;border-radius:10px;margin-top:9px}.merged-symbol{display:grid;place-items:center;color:#8aa574;width:33px;height:40px}.merged-card .button{font-size:11px;padding:9px 12px;min-height:36px}.merged-card .icon{width:16px;height:16px}.drawer-foot{display:flex;align-items:flex-start;gap:7px;color:#9aa68f;font-size:10px;line-height:1.8;margin-top:30px}.drawer-foot .icon{width:14px;height:14px}.jobs-heading{font-size:14px;margin:25px 0 12px}.job{display:flex;align-items:flex-start;gap:10px;background:#eaf0df;border:1px solid #dbe5cd;padding:15px;border-radius:9px;margin-top:9px;color:#65814e}.job>div{flex:1}.job strong{font-size:12px;font-weight:600}.job p{font-size:11px;line-height:1.7;margin-top:5px}.job .icon{width:18px;height:18px}.job-error{background:#f9ede8;border-color:#efd8ce;color:#aa6c54}#connection-state{font-size:12px;color:var(--red);margin-top:12px}
/* Upload-only experience */
.upload-layout{min-height:100vh;background:radial-gradient(ellipse at 50% 5%,#edf2e1 0,transparent 55%),#f7f8f4}.upload-header{display:flex;align-items:center;justify-content:space-between;max-width:1050px;padding:30px 35px;margin:auto}.upload-header .brand-word{font-size:25px}.upload-header .brand-mark{width:37px;height:37px;font-size:31px;border-radius:11px}.upload-content{max-width:640px;margin:25px auto 0;padding:0 24px}.upload-intro{text-align:center}.recipient-pill{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.4px;background:#e8eedb;border:1px solid #dce6cb;color:#6a7e55;border-radius:30px;padding:9px 13px;max-width:100%;overflow-wrap:anywhere}.status-dot{width:6px;height:6px;background:#88a86a;border-radius:50%;flex-shrink:0}.upload-intro h1{font:normal 54px/1.08 Georgia,serif;letter-spacing:-1.7px;margin:23px 0 17px;color:#254534}.upload-intro p{font-size:15px;line-height:1.8;color:#849078}.upload-card{margin-top:30px;background:#fff;border:1px solid #e1e7d8;border-radius:17px;padding:18px;box-shadow:var(--shadow)}.dropzone{background:#fcfdf9;border:1.5px dashed #cbd8bd;border-radius:11px;padding:32px 18px 25px;display:flex;align-items:center;flex-direction:column;text-align:center;transition:background .2s,border-color .2s}.dropzone.dragging{background:#eaf2df;border-color:#708c55}.upload-symbol{display:grid;place-items:center;background:#edf2e1;color:#819e63;width:60px;height:60px;border-radius:18px;margin-bottom:20px}.upload-symbol .icon{width:27px;height:27px}.dropzone h2{font-size:20px;font-weight:500;letter-spacing:-.4px}.dropzone>p{font-size:13px;color:#94a086;margin-top:9px}.dropzone>.button{margin-top:22px;min-width:225px}.file-limit{font-size:11px;color:#9aa58e;margin-top:17px}.upload-reassurance{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#8d9a80;padding-top:17px}.upload-reassurance .icon{width:14px;height:14px}.upload-how{display:flex;align-items:center;justify-content:center;gap:9px;margin:29px -12px 0;font-size:10px;color:#859278}.upload-how>span{display:flex;align-items:center;gap:7px;white-space:nowrap}.upload-how b{width:21px;height:21px;background:#e9efdd;border-radius:50%;display:grid;place-items:center;font-size:9px;color:#819469;font-weight:600}.upload-how i{display:block;width:16px;height:1px;background:#d7e0c9}.upload-help{font-size:11px;color:#9ca78f;text-align:center;line-height:1.9;margin:22px auto 0;max-width:440px}.upload-footer{display:flex;align-items:center;justify-content:center;gap:7px;padding:40px 20px 24px;color:#a2ac96;font-size:10px}.upload-footer .icon{width:13px;height:13px}.invalid-link{text-align:center;padding:60px 10px}.invalid-link h1{font:normal 34px Georgia,serif;letter-spacing:-.8px;margin-bottom:20px}.invalid-link p{font-size:14px;color:var(--muted);line-height:1.9;margin-bottom:12px}.queue-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 13px}.queue-heading h2{font-size:16px;font-weight:500}.queue-heading span{font-size:11px;color:var(--muted)}.upload-item{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--border);background:#fff;border-radius:10px;padding:16px;margin-top:10px}.upload-item-main{min-width:0;flex:1}.upload-item-main>strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.upload-item-meta{display:flex;justify-content:space-between;color:#9aa38e;font-size:10px;margin-top:6px}.upload-item-message{font-size:11px;color:#8d9981;line-height:1.7;margin-top:6px}.upload-item-action{margin-left:3px}.upload-item-action .text-button{font-size:11px}.done-check{display:grid;place-items:center;width:29px;height:29px;background:#edf4e4;border-radius:50%;color:#769658}.done-check .icon{width:17px;height:17px}.is-done{background:#fcfdf9;border-color:#dce7cf}.success-banner{display:flex;gap:12px;background:#e9f1df;border:1px solid #dce7cd;border-radius:10px;padding:20px;margin-top:18px;color:#54793f}.success-banner strong{font-size:14px;font-weight:600}.success-banner p{font-size:12px;line-height:1.7;margin-top:7px}.notice{padding:15px;border-radius:9px;margin-top:18px;font-size:12px;line-height:1.9}.error-notice{background:#f9ede8;color:#aa6c54;border:1px solid #efd8ce}progress{display:block;width:100%;height:5px;border:0;border-radius:8px;overflow:hidden;appearance:none;margin-top:10px;background:#edf1e6}progress::-webkit-progress-bar{background:#edf1e6;border-radius:8px}progress::-webkit-progress-value{background:#89a665;border-radius:8px;transition:width .15s}progress::-moz-progress-bar{background:#89a665}.fatal{max-width:600px;margin:80px auto;padding:30px}.fatal h1{margin:40px 0 20px;font:normal 35px Georgia,serif}.fatal p{color:var(--muted);font-size:14px;line-height:1.8;margin:15px 0}.fatal .button{margin-top:20px}
@media(min-width:1500px){.workspace-content{padding-top:55px}.stats{gap:22px}.stat{padding:25px}.page-heading h1{font-size:44px}}
@media(max-width:1150px){.admin-layout{grid-template-columns:195px 1fr}.sidebar{padding:25px 14px 18px}.workspace-content{padding:30px 25px}.topbar{padding:0 25px}.stats{gap:10px}.stat{padding:18px 15px}.stat-hint{font-size:9px}.clients-table th,.clients-table td{padding-left:14px;padding-right:14px}.client-name strong,.client-name small{max-width:160px}.auth-story{padding:40px}.auth-form-side{padding:35px}.page-heading h1{font-size:33px}}
@media(max-width:900px){.admin-layout{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--border);padding:17px 23px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:20px}.sidebar .brand{margin:0}.sidebar .brand-mark{width:35px;height:35px;font-size:30px;border-radius:10px}.sidebar .brand-word{font-size:25px}.sidebar .brand-word>span{display:none}.workspace-label,.sidebar-tip,.admin-identity{display:none}.sidebar nav{flex-direction:row;gap:5px}.nav-item{padding:10px;font-size:11px}.nav-item>span{display:none}.sidebar-bottom{margin:0;border:0;padding:0}.sidebar-bottom>.text-button{margin:0;white-space:nowrap}.topbar{display:none}.stats{grid-template-columns:repeat(4,1fr)}.auth-layout{grid-template-columns:44% 56%}.auth-story{padding:32px}.auth-intro h1{font-size:37px}.auth-intro p{font-size:13px}.paper-art{margin-left:-20px;transform:scale(.85);transform-origin:left center}.auth-form-side{padding:35px}.auth-form-wrap h2{font-size:32px}.section-heading{gap:10px}.workspace-footer{font-size:9px}}
@media(max-width:650px){.sidebar{padding:15px 17px;flex-wrap:wrap;gap:12px}.sidebar nav{order:3;width:100%}.sidebar nav .nav-item{flex:1;justify-content:center;font-size:10px;padding:10px 6px;gap:6px}.sidebar nav .icon{width:15px;height:15px}.sidebar-bottom{margin-left:auto}.workspace-content{padding:25px 17px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:15px;margin-bottom:18px}.page-heading h1{font-size:33px}.page-heading .eyebrow{font-size:9px}.page-heading .button{width:100%;padding:12px}.page-heading p{font-size:11px}.local-banner{font-size:10px;gap:9px;padding:11px;margin-bottom:18px}.local-banner .badge{display:none}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:28px}.stat{padding:17px}.stat>strong{font-size:30px;margin:13px 0 7px}.section-heading{flex-wrap:wrap;gap:15px}.section-heading h2{font-size:17px}.section-heading p{font-size:10px}.search-field{width:100%}.clients-table th:nth-child(3),.clients-table td:nth-child(3){display:none}.clients-table th{font-size:8px;padding:14px 12px}.clients-table td{padding:16px 12px}.clients-table th:nth-child(4),.clients-table td:nth-child(4){display:none}.client-name{gap:9px}.client-name strong{font-size:11px}.client-name small{font-size:9px;max-width:140px}.clients-table td:nth-child(2){font-size:10px}.cell-sub{font-size:8px}.clients-table .avatar{width:33px;height:33px;font-size:10px;border-radius:9px}.workspace-footer{font-size:9px;line-height:1.7}.workspace-footer>span:last-child{display:none}.empty-state{padding:40px 17px}.empty-state h3{font-size:23px}.empty-state p{font-size:11px}.client-drawer{width:100%;padding:19px}.detail-heading h2{font-size:28px}.link-panel{padding:18px}.link-panel .button{font-size:12px}.file-row{gap:7px;padding:14px 9px}.file-row .pdf-icon{display:none}.file-info strong{font-size:11px}.file-info small{font-size:9px}.file-actions .icon-button{width:28px}.file-actions .tiny{width:23px}.merged-card{padding:13px;gap:8px}.merged-card .button{font-size:10px;padding:8px}.merged-symbol{width:22px}.auth-layout{display:flex;flex-direction:column;min-height:100vh}.auth-story{padding:24px;background:var(--green)}.auth-story .brand-mark{width:35px;height:35px;font-size:30px}.auth-story .brand-word{font-size:25px}.auth-intro{padding:30px 0 12px;margin:0}.auth-intro h1{font-size:34px;margin-top:12px}.auth-intro p,.paper-art,.auth-foot,.auth-intro .eyebrow{display:none}.auth-form-side{padding:35px 24px 40px}.auth-form-wrap{max-width:400px}.auth-form-wrap h2{font-size:32px}.upload-header{padding:22px}.upload-header .private-badge{font-size:10px}.upload-content{margin-top:13px;padding:0 18px}.upload-intro h1{font-size:47px}.upload-intro p{font-size:14px}.recipient-pill{font-size:9px;letter-spacing:1px}.upload-card{padding:12px;margin-top:24px}.dropzone{padding:26px 12px 23px}.dropzone h2{font-size:18px}.dropzone>p{font-size:12px}.dropzone>.button{font-size:17px;padding:16px 20px}.upload-reassurance{font-size:10px;padding:15px 0 4px}.upload-how{font-size:8px;gap:4px;margin:24px -5px 0}.upload-how>span{gap:4px}.upload-how b{width:18px;height:18px;font-size:8px}.upload-how i{width:8px}.upload-help{font-size:10px;margin-top:20px}.upload-item{padding:13px 11px;gap:9px}.upload-item>.pdf-icon{width:29px;height:37px;font-size:8px}.upload-item-main>strong{font-size:11px}.upload-item-message{font-size:10px}.upload-item-action .button{padding:7px 8px;font-size:10px}.success-banner{padding:17px}.success-banner strong{font-size:12px}.success-banner p{font-size:11px}dialog{padding:25px}.dialog-header h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
.icon-button.danger:hover:not(:disabled){background:#f9ede8;color:var(--red)}.danger-button{background:var(--red);color:#fff}.danger-button:hover:not(:disabled){filter:brightness(.92)}dialog .button-row{justify-content:flex-end}
.merge-buttons{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.danger-text{color:var(--red);border-color:#efd8ce}.danger-text:hover:not(:disabled){background:#f9ede8}.merge-bar .danger-text{font-size:12px}
.upload-summary .upload-item-main>strong{white-space:normal}.upload-summary.is-done{background:#e9f1df;border-color:#dce7cd}.upload-summary.is-done strong{color:#54793f}.failed-list .queue-heading{margin:22px 0 4px}
@media(max-width:650px){.table-wrap{overflow:visible}.clients-table,.clients-table tbody{display:block}.clients-table thead{display:none}.clients-table tr{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px 8px;padding:15px 14px;border-bottom:1px solid #eef0e9}.clients-table tr:last-child{border:0}.clients-table td,.clients-table td:nth-child(4){display:block;padding:0;border:0;white-space:normal}.clients-table td:first-child{grid-column:1/-1}.clients-table td:nth-child(3){display:none}.client-name strong,.client-name small{max-width:calc(100vw - 120px)}.clients-table td:nth-child(2) .cell-sub{display:none}.clients-table .link-button{font-size:11px;padding:8px 10px}}
@media(max-width:650px){.merge-bar{flex-direction:column;align-items:stretch;gap:10px}.merge-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.merge-buttons .button{padding:12px 8px;white-space:normal;line-height:1.2}}
.duplicate-notice{background:#fbf3e6;border:1px solid #efdcb9;border-radius:10px;padding:15px;margin:0 0 14px;color:#7a5a24}.duplicate-notice strong{font-size:13px;font-weight:600;line-height:1.5;display:block}.duplicate-notice p{font-size:12px;margin-top:6px}.duplicate-notice .button-row{margin-top:12px}.duplicate-notice .button{min-height:40px;padding:9px 14px;font-size:13px}
dialog .duplicate-notice .button-row{justify-content:flex-start}button[hidden]{display:none!important}
.upload-summary.is-done .upload-item-main>strong.summary-title{font-size:24px;font-weight:700;color:#3f7a2c;letter-spacing:-.3px;line-height:1.25}.upload-summary.is-done .done-check{width:38px;height:38px;background:#d9ebc8;color:#3f7a2c}.upload-summary.is-done .done-check .icon{width:22px;height:22px}@media(max-width:650px){.upload-summary.is-done .upload-item-main>strong.summary-title{font-size:21px}}
.merged-card .button[data-text]{margin-left:auto}@media(max-width:650px){.merge-buttons #text-selected{grid-column:1/-1}.merged-card{flex-wrap:wrap}.merged-card .file-info{flex-basis:calc(100% - 50px)}.merged-card .button[data-text]{margin-left:45px}}
.trash-heading{align-items:center}.trash-card{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fbf3ee;border:1px dashed #e8cfc2;border-radius:10px;margin-top:9px}.trash-card .file-info small{color:#b0715a}.trash-card .pdf-icon{opacity:.6}
.identity-card form label{color:var(--red);font-size:15px}.required-mark{font-size:11px;font-weight:600;letter-spacing:.3px;text-transform:uppercase;margin-left:6px;color:var(--red)}input.required-field{border:2px solid var(--red)!important;background:#fff8f6!important}input.required-field:focus{outline:2px solid #e9a99a66}.identity-card{padding:26px}.identity-card .button{margin-top:22px}.dup-badge{color:#a0682a!important;font-weight:600}
.link-controls .danger-link{color:var(--red)}.link-controls .danger-link:hover{color:#8f2f22}
.text-progress{position:sticky;bottom:0;margin:18px -34px -28px;padding:16px 34px 20px;background:#143d37;color:#fff;box-shadow:0 -8px 30px #10282230}.text-progress[hidden]{display:none}.text-progress-top{display:flex;justify-content:space-between;gap:12px;font-size:13px}.text-progress-top span{font-weight:700;color:var(--lime)}.text-progress progress{width:100%;height:10px;margin:10px 0 6px;accent-color:#b9d98f}.text-progress small{font-size:11px;color:#cfe0c9}@media(max-width:650px){.text-progress{margin:18px -19px -19px;padding:14px 19px 18px}}
@media(max-width:650px){.merge-buttons #text-selected{grid-column:auto}}
.clients-table td:last-child{width:52px;padding-left:0}@media(max-width:650px){.clients-table tr{grid-template-columns:1fr auto auto auto}.clients-table td:last-child{width:auto}}
.upload-intro p.identity-hint{font-size:19px;line-height:1.6;font-weight:600;color:#a0402c;margin-top:18px}@media(max-width:650px){.upload-intro p.identity-hint{font-size:17px}}
.sent-screen{text-align:center;max-width:560px;margin:10px auto 0;padding:34px 22px;background:#fff;border:2px solid #b9d98f;border-radius:18px;box-shadow:0 18px 60px #3f7a2c1f}.sent-check{width:104px;height:104px;margin:0 auto 18px;border-radius:50%;background:#3f7a2c;color:#fff;display:grid;place-items:center;box-shadow:0 0 0 12px #e3efd4}.sent-check .icon{width:60px;height:60px;stroke-width:2.6}.sent-screen h1{font:normal 44px Georgia,serif;color:#2f6a1f;letter-spacing:-1px}.sent-lead{font-size:19px;line-height:1.6;color:#2f4a2a;font-weight:600;margin-top:12px}.sent-list{list-style:none;padding:0;margin:22px 0 0;text-align:left;border:1px solid #dce7cf;border-radius:12px;overflow:hidden}.sent-list li{display:flex;align-items:center;gap:10px;padding:11px 14px;font-size:14px;color:#33452f;border-bottom:1px solid #edf2e5;background:#f8fbf3}.sent-list li:last-child{border:0}.sent-list li .icon{width:18px;height:18px;color:#3f7a2c;flex-shrink:0}.sent-list li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sent-list .sent-more{color:#6b7c63;justify-content:center}.sent-screen .error-notice{margin-top:16px;text-align:left}.sent-close{font-size:15px;color:#5f6f58;margin:22px 0 14px}.sent-screen #send-more{width:100%}@media(max-width:650px){.sent-screen{padding:28px 16px}.sent-screen h1{font-size:38px}.sent-lead{font-size:17px}}
