:root{--bg:#f5f7fb;--panel:#fff;--text:#162033;--muted:#667085;--line:#e4e8f0;--primary:#3157d5;--primary-dark:#2547ba;--success:#16794f;--warning:#a15c00;--danger:#b42318;--shadow:0 16px 45px rgba(18,32,63,.09);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);min-height:100vh;display:flex;flex-direction:column;color:var(--text)}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.hidden{display:none!important}
.topbar{height:68px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:30}.brand{display:flex;align-items:center;gap:9px;font-weight:750;font-size:19px}.brand-logo{width:36px;height:36px;object-fit:contain}.brand-ai{color:#b9bbbe;font-size:12px;font-weight:800;margin-left:-5px}.topbar-actions,.primary-nav,.auth-actions{display:flex;align-items:center}.topbar-actions{gap:8px}.primary-nav,.auth-actions{gap:6px}.top-link{color:var(--text);font-weight:700;padding:8px 10px;border-radius:8px}.top-link:hover{background:#f2f4f8}.language-switcher{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#f8f9fc;margin-left:22px}.lang-btn{display:flex;align-items:center;gap:5px;border:0;background:transparent;border-radius:7px;padding:5px 7px;cursor:pointer;font-size:11px;font-weight:800;color:var(--muted)}.lang-btn img{width:24px;height:16px;object-fit:cover;border-radius:2px}.lang-btn.active{background:#fff;color:var(--text);box-shadow:0 1px 4px rgba(16,24,40,.12)}.auth-actions{margin-left:4px}.auth-link,.connected-user{height:38px;display:inline-flex;align-items:center;gap:7px;border-radius:10px;padding:0 12px;font-weight:700;font-size:12px}.auth-link{border:1px solid var(--line);background:#fff}.auth-primary{background:var(--primary);border-color:var(--primary);color:#fff}.connected-user{color:var(--muted);padding-right:6px}.auth-link svg,.connected-user svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.shell{max-width:1220px;width:100%;margin:0 auto;padding:54px 28px 80px;flex:1}.hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(500px,1.08fr);gap:42px;align-items:center;min-height:620px}.hero-copy h1{font-size:52px;line-height:1.06;letter-spacing:-1.7px;margin:12px 0 22px;max-width:650px}.hero-copy p{font-size:19px;line-height:1.65;color:var(--muted);max-width:650px}.hero-actions{display:flex;gap:10px;margin-top:26px}.hero-visual{min-width:0;display:flex;align-items:center;justify-content:center}.hero-visual img{display:block;width:100%;height:auto;max-width:720px;object-fit:contain;filter:drop-shadow(0 18px 42px rgba(49,87,213,.08))}.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.4px;color:var(--primary)}.panel,.content-panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.content-panel{padding:28px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:11px 16px;font-weight:700;cursor:pointer;transition:.18s}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:var(--primary);color:#fff}.btn.primary:not(:disabled):hover{background:var(--primary-dark)}.btn.secondary{background:#edf1f7;color:var(--text)}.btn.ghost{background:#fff;border:1px solid var(--line);color:var(--text)}.btn.wide{width:100%;margin-top:10px}
.app-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px}.app-head h1,.organizer-intro h1{font-size:34px;margin:7px 0 0}.app-head p,.organizer-intro p{color:var(--muted);margin:8px 0 0}.organizer-intro{margin-bottom:26px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px}.stat-label{font-size:12px;color:var(--muted);font-weight:700}.stat-value{font-size:30px;font-weight:800;margin-top:7px}.stat-help{font-size:12px;color:var(--muted);margin-top:5px}.usage-track{height:8px;background:#edf0f5;border-radius:99px;overflow:hidden;margin-top:12px}.usage-track>div{height:100%;background:var(--primary)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.search{min-width:300px;border:1px solid #cfd6e2;border-radius:10px;padding:10px 12px;background:#fff}.table-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden}.client-row{display:grid;grid-template-columns:minmax(220px,1fr) 140px 170px 120px;align-items:center;gap:18px;padding:16px 18px;border-bottom:1px solid #f0f2f6}.client-row:last-child{border-bottom:0}.client-row.header{background:#f8f9fc;color:var(--muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.4px}.client-name{font-weight:760}.client-meta{font-size:12px;color:var(--muted);margin-top:4px}.row-actions{display:flex;gap:6px;justify-content:flex-end}.icon-action{border:1px solid var(--line);background:#fff;border-radius:8px;padding:7px 9px;cursor:pointer;font-weight:700;font-size:12px}.empty-state{text-align:center;padding:48px 20px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-grid .full{grid-column:1/-1}.form-grid label{display:block;font-size:12px;font-weight:750;margin-bottom:6px}.form-grid input{width:100%;border:1px solid #cfd6e2;border-radius:9px;padding:10px 11px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.notice,.alert{border-radius:10px;padding:12px 14px;margin:14px 0;font-size:13px;line-height:1.45}.notice.error,.alert.error{background:#fff1f0;border:1px solid #ffd0cc;color:var(--danger)}.notice.success,.alert.success{background:#e9f8f1;border:1px solid #a8dbc6;color:var(--success)}.client-title{display:flex;align-items:center;justify-content:space-between;gap:20px}.document-list{display:grid;gap:10px;margin-top:20px}.document-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:grid;grid-template-columns:1fr auto;gap:18px}.document-item strong{display:block}.document-item span{font-size:12px;color:var(--muted);margin-top:5px;display:block}
.upload-panel{padding:24px}.organizer-client{display:flex;align-items:center;gap:14px;margin-bottom:16px}.organizer-client label{font-size:12px;font-weight:800}.organizer-client .search{flex:1}.dropzone{min-height:265px;border:2px dashed #cbd3e3;border-radius:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;text-align:center;background-color:rgba(251,252,255,.5);position:relative;isolation:isolate;overflow:hidden;cursor:pointer;transition:.2s}.dropzone::before{content:"";position:absolute;inset:0;background:url('../img/ai-bg.png') center/cover no-repeat;opacity:.2;z-index:-2;pointer-events:none}.dropzone::after{content:"";position:absolute;inset:0;background:rgba(255,255,255,.42);z-index:-1;pointer-events:none}.dropzone:hover,.dropzone.drag{border-color:var(--primary);background:#f5f7ff}.upload-icon{width:50px;height:50px;border-radius:14px;background:#edf1ff;color:var(--primary);display:grid;place-items:center;font-size:26px;font-weight:700}.dropzone strong{font-size:17px}.dropzone span,.dropzone small{color:var(--muted)}.dropzone small{font-size:12px;margin-top:8px}.file-list{display:grid;gap:8px;margin:14px 0}.file-item{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f7f9fc;border-radius:10px;font-size:13px}.file-item span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:90%}.file-item button{border:0;background:transparent;color:var(--danger);cursor:pointer}.privacy-note{font-size:11px;line-height:1.5;text-align:center;color:var(--muted);margin:12px 5px 0}
.processing{max-width:780px;margin:70px auto;padding:34px}.processing-head{display:flex;align-items:flex-start;justify-content:space-between}.processing h2{margin:7px 0 25px;font-size:29px}.timer{font-variant-numeric:tabular-nums;font-size:22px;font-weight:750}.progress-track,.mini-track{height:10px;background:#edf0f5;border-radius:99px;overflow:hidden}.progress-bar,.mini-track>div{height:100%;width:0;background:var(--primary);transition:width .35s}.progress-meta{display:flex;justify-content:space-between;gap:20px;margin:12px 0 30px;color:var(--muted);font-size:14px}.progress-meta strong{color:var(--text)}.stage-list{display:grid;gap:4px}.stage-list>div{display:flex;gap:13px;align-items:center;padding:12px;border-radius:10px;color:#98a2b3}.stage-list>div>span{width:28px;height:28px;border:1px solid #d7dce5;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800}.stage-list strong,.stage-list small{display:block}.stage-list small{font-size:12px;margin-top:2px}.stage-list .active{background:#f5f7ff;color:var(--text)}.stage-list .active>span{background:var(--primary);border-color:var(--primary);color:#fff}.stage-list .done{color:var(--success)}.stage-list .done>span{border-color:#a8dbc6;background:#e9f8f1}
.results-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:24px}.results-head h2{font-size:34px;margin:7px 0}.results-head p{color:var(--muted);margin:0}.results-actions{display:flex;gap:10px}.review-progress{background:#fff;border:1px solid var(--line);border-radius:14px;padding:17px 20px;margin-bottom:18px;display:grid;grid-template-columns:250px 1fr;gap:24px;align-items:center}.review-progress span{display:block;color:var(--muted);font-size:12px;margin-top:3px}.documents{display:grid;gap:10px}.document-row{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center}.doc-main{display:flex;align-items:center;gap:15px;min-width:0}.doc-icon{width:44px;height:44px;border-radius:11px;background:#f0f3fa;display:grid;place-items:center;font-weight:800;color:var(--primary);flex:none}.doc-title{font-size:16px;font-weight:760;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-meta{display:flex;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-top:6px}.doc-actions{display:flex;align-items:center;gap:8px}.status-badge{display:inline-flex;border-radius:99px;padding:5px 9px;font-size:11px;font-weight:800;width:max-content}.status-badge.needs{background:#fff3df;color:var(--warning)}.status-badge.validated{background:#e9f8f1;color:var(--success)}.status-badge.corrected{background:#edf1ff;color:var(--primary)}
.modal{position:fixed;inset:0;background:rgba(17,24,39,.58);display:grid;place-items:center;padding:24px;z-index:50}.modal.hidden{display:none}.modal-card{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.28)}.client-modal-card{width:min(560px,96vw);padding:24px}.client-modal-card h2{margin:0 0 18px}.document-modal-card{width:min(1180px,96vw);height:min(820px,92vh);display:flex;flex-direction:column}.modal-head{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 22px}.modal-head h2{margin:4px 0 0;font-size:21px}.icon-btn{border:0;background:#f1f3f7;width:36px;height:36px;border-radius:50%;font-size:25px;cursor:pointer}.modal-body{display:grid;grid-template-columns:350px 1fr;min-height:0;flex:1}.review-panel{padding:22px;border-right:1px solid var(--line);overflow:auto}.review-panel label{display:block;font-size:12px;font-weight:750;margin:18px 0 7px}.review-panel input{width:100%;border:1px solid #cfd6e2;border-radius:9px;padding:10px 11px;outline:none}.review-panel input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(49,87,213,.1)}.prediction{background:#f7f9fc;border-radius:10px;padding:11px 12px;margin:18px 0 4px}.prediction span,.prediction strong{display:block}.prediction span{font-size:11px;color:var(--muted);margin-bottom:4px}.prediction strong{font-size:13px}.review-panel hr{border:0;border-top:1px solid var(--line);margin:22px 0}.type-picker{position:relative}.type-options{position:absolute;z-index:10;left:0;right:0;top:44px;max-height:260px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow)}.type-option{padding:9px 11px;font-size:12px;cursor:pointer;border-bottom:1px solid #f1f3f7}.type-option:hover{background:#f5f7ff}.viewer{background:#eef1f5;position:relative;min-width:0}.viewer iframe{width:100%;height:100%;border:0;background:#fff}.viewer-message{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted)}.viewer-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;padding:30px;color:var(--muted)}.viewer-error strong{color:var(--text);font-size:16px}.viewer-error span{max-width:430px;font-size:13px;line-height:1.5}details summary{font-weight:750;cursor:pointer}.small{font-size:12px;line-height:1.5;color:var(--muted)}.page-list{display:grid;gap:8px;margin-top:12px}.page-item{border:1px solid var(--line);border-radius:9px;padding:9px;font-size:12px}.page-item strong{display:block;margin-bottom:6px}.page-item select{width:100%;border:1px solid #d7dce5;border-radius:7px;padding:7px;background:#fff}
.product-preview{padding:28px}.product-preview h2{font-size:30px;margin:8px 0 24px}.preview-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.preview-line:last-child{border-bottom:0}.preview-line span{font-size:12px;color:var(--muted)}.site-footer{background:#fff;border-top:1px solid var(--line);margin-top:auto}.footer-inner{max-width:1220px;min-height:68px;margin:0 auto;padding:0 28px;display:grid;grid-template-columns:1fr auto 1fr;gap:24px;align-items:center;color:var(--muted);font-size:12px}.footer-brand{display:flex;align-items:center;gap:8px;color:var(--text)}.footer-brand .brand-ai{margin-left:-4px}.footer-logo{width:28px;height:28px;object-fit:contain}.footer-links{display:flex;gap:18px}.footer-copy{text-align:right}
.auth-page{min-height:620px;display:grid;place-items:center;padding:30px 0}.auth-card{width:min(460px,100%);padding:34px}.auth-card h1{font-size:34px;line-height:1.12;letter-spacing:-.8px;margin:9px 0 10px}.auth-card>p{color:var(--muted);line-height:1.55;margin:0 0 22px}.auth-form{display:grid;gap:15px}.auth-form label>span{display:block;font-size:12px;font-weight:750;margin-bottom:7px}.auth-form input[type="text"],.auth-form input[type="email"],.auth-form input[type="password"],.auth-form input:not([type]){width:100%;border:1px solid #cfd6e2;border-radius:10px;padding:11px 12px;outline:none;background:#fff}.auth-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(49,87,213,.1)}.auth-form-row{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:12px}.auth-form-row a,.auth-bottom a{color:var(--primary);font-weight:750}.check{display:flex!important;align-items:center;gap:7px}.check span{margin:0!important}.auth-bottom{text-align:center;border-top:1px solid var(--line);padding-top:18px;margin-top:22px;color:var(--muted);font-size:13px}.auth-legal{font-size:11px!important;text-align:center;margin:14px 0 0!important}.not-found{min-height:620px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;max-width:650px;margin:0 auto}.not-found-code{font-size:112px;line-height:.9;font-weight:850;letter-spacing:-7px;color:#e2e7f2;margin-bottom:20px}.not-found h1{font-size:42px;margin:8px 0 10px}.not-found p{color:var(--muted);font-size:17px;line-height:1.6;max-width:540px}.not-found .hero-actions{justify-content:center}.alert.success{background:#e9f8f1;color:var(--success);border:1px solid #c9eadc}
@media(max-width:1050px){.topbar{padding:0 18px}.topbar-actions{gap:7px}.language-switcher{margin-left:10px}.auth-link{padding:0 9px}.connected-user span{max-width:100px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.primary-nav{gap:2px}}
@media(max-width:900px){.primary-nav{display:none}.language-switcher{margin-left:0}.shell{padding:35px 18px 60px}.hero{grid-template-columns:1fr;min-height:auto;gap:28px}.hero-copy h1{font-size:40px}.hero-visual{margin:0 -8px}.hero-visual img{max-width:820px}.stats-grid{grid-template-columns:1fr 1fr}.client-row{grid-template-columns:1fr auto}.client-row.header,.client-row>div:nth-child(2),.client-row>div:nth-child(3){display:none}.footer-inner{grid-template-columns:1fr;text-align:center;padding:18px}.footer-brand,.footer-links{justify-content:center}.footer-copy{text-align:center}.document-modal-card{width:100vw;height:100vh;border-radius:0}.modal{padding:0}.modal-body{grid-template-columns:1fr}.review-panel{max-height:48vh;border-right:0;border-bottom:1px solid var(--line)}.viewer{min-height:50vh}.results-head{align-items:flex-start;flex-direction:column}.review-progress{grid-template-columns:1fr}.document-row{grid-template-columns:1fr}.doc-actions{justify-content:flex-end}}
@media(max-width:650px){.auth-page{min-height:auto;padding:20px 0}.auth-card{padding:24px}.auth-card h1{font-size:29px}.auth-form-row{align-items:flex-start;flex-direction:column}.not-found{min-height:520px}.not-found-code{font-size:88px}.not-found h1{font-size:34px}.connected-user{display:none}.brand-ai{display:none}.lang-btn span{display:none}.auth-link span{display:none}.auth-link{width:38px;justify-content:center}.organizer-client{align-items:stretch;flex-direction:column}.organizer-client .search{min-width:0;width:100%}}
@media(max-width:560px){.stats-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.toolbar{align-items:stretch;flex-direction:column}.search{min-width:0;width:100%}.results-actions{width:100%;flex-direction:column}.results-actions .btn{width:100%}}
/* v0.4 */
.top-link{position:relative}.top-link.active{color:var(--primary);background:transparent}.top-link.active::after{content:"";position:absolute;left:10px;right:10px;bottom:-14px;height:2px;border-radius:2px;background:var(--primary)}
.shell{max-width:1380px}.hero{grid-template-columns:minmax(390px,.78fr) minmax(650px,1.32fr);gap:20px;min-height:680px}.hero-copy{position:relative;z-index:2}.hero-copy h1{font-size:54px;max-width:590px}.hero-copy p{max-width:600px}.hero-visual{margin-right:-72px;margin-left:-20px}.hero-visual img{max-width:900px;width:112%;mix-blend-mode:multiply}.hero-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;margin-top:30px;max-width:600px}.hero-features>div{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;font-weight:650;line-height:1.3}.hero-features svg{width:23px;height:23px;flex:none;fill:none;stroke:var(--primary);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.client-link:hover{color:var(--primary)}.stat-link{display:inline-block;margin-top:8px;color:var(--primary);font-size:11px;font-weight:750}.document-toolbar{display:flex;gap:12px;margin-bottom:16px}.document-toolbar .search{flex:1}.library-document .doc-title{white-space:normal}.review-panel select.search{width:100%;min-width:0}.viewer iframe{display:block}.library-document .btn{white-space:nowrap}
@media(max-width:1180px){.hero{grid-template-columns:minmax(360px,.85fr) minmax(560px,1.15fr)}.hero-visual{margin-right:-25px}.hero-copy h1{font-size:48px}.primary-nav .top-link{padding-left:7px;padding-right:7px}}
@media(max-width:900px){.top-link.active::after{display:none}.hero{grid-template-columns:1fr;gap:18px}.hero-copy h1{font-size:42px;max-width:700px}.hero-visual{margin:10px -18px 0}.hero-visual img{width:100%;max-width:100%;mix-blend-mode:normal}.hero-features{max-width:none}.document-toolbar{flex-direction:column}.document-toolbar .search{width:100%;min-width:0}}
@media(max-width:560px){.hero-features{grid-template-columns:1fr}.hero-copy h1{font-size:38px}.hero-visual{margin-left:-12px;margin-right:-12px}.library-document .doc-actions{width:100%}.library-document .doc-actions .btn{flex:1}}

/* v0.5.0 */
@media(min-width:1101px){.client-row{grid-template-columns:minmax(260px,1fr) 140px minmax(190px,260px) minmax(250px,max-content)}}
.client-row>div{min-width:0}.client-row>div:nth-child(3){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-actions{min-width:250px;white-space:nowrap}
#dec_page_loader{position:fixed;inset:0;z-index:100000;background:rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:30px}
#dec_page_loader.hidden{display:none}.dai-loader-text{color:#fff;font-weight:700}.dai-loader-book{position:relative;width:124px;height:82px;perspective:500px;transform-style:preserve-3d}.dai-loader-cover{position:absolute;top:4px;width:58px;height:74px;border:4px solid #fff;box-sizing:border-box}.dai-loader-cover.left{right:50%;border-radius:5px 0 0 5px;transform-origin:right center;animation:dai-cover-left 2.4s ease-in-out infinite}.dai-loader-cover.right{left:50%;border-radius:0 5px 5px 0;transform-origin:left center;animation:dai-cover-right 2.4s ease-in-out infinite}.dai-loader-cover.right img{position:absolute;width:25px;height:auto;left:14px;top:20px}.dai-loader-pages{position:absolute;left:50%;top:8px;width:0;height:66px}.dai-loader-pages i{position:absolute;display:block;width:54px;height:66px;border:2px solid #fff;border-left:0;left:0;top:0;transform-origin:left center;animation:dai-page 2.4s ease-in-out infinite}.dai-loader-pages i:nth-child(2){animation-delay:.12s}.dai-loader-pages i:nth-child(3){animation-delay:.24s}.dai-loader-pages i:nth-child(4){animation-delay:.36s}.dai-loader-pages i:nth-child(5){animation-delay:.48s}@keyframes dai-page{0%,20%{transform:rotateY(0)}55%,80%{transform:rotateY(-180deg)}100%{transform:rotateY(-180deg)}}@keyframes dai-cover-left{0%,100%{transform:rotateY(0)}50%{transform:rotateY(8deg)}}@keyframes dai-cover-right{0%,100%{transform:rotateY(0)}50%{transform:rotateY(-8deg)}}
@media(min-width:901px) and (max-width:1100px){.client-row{grid-template-columns:minmax(220px,1fr) 110px minmax(170px,1fr) minmax(250px,max-content)}}
.billing-panel{display:grid;gap:24px}.billing-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.legal-page{max-width:900px;margin:40px auto 80px;padding:0 24px}.legal-page h1{margin:8px 0 28px}.legal-copy{line-height:1.75;color:var(--muted)}.legal-copy p{margin:0 0 18px}.client-row{grid-template-columns:minmax(260px,1.6fr) minmax(120px,.5fr) minmax(220px,.8fr) auto}.row-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;min-width:270px}@media(max-width:900px){.client-row{grid-template-columns:1fr}.row-actions{justify-content:flex-start;min-width:0}}
/* 0.6.0 client workspace + billing */
.client-folder{background:linear-gradient(145deg,#fff 0%,#f3f7ff 100%);border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow)}
.client-folder-head{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.client-folder-identity,.client-folder-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.client-folder-identity h2{margin:0;font-size:24px}.client-folder-identity p{margin:4px 0 0;color:var(--muted)}.folder-icon{width:58px;height:42px;border-radius:8px;background:linear-gradient(180deg,#6fa6ff,#3673ea);position:relative;box-shadow:0 8px 20px rgba(54,115,234,.18)}.folder-icon:before{content:"";position:absolute;left:4px;top:-7px;width:25px;height:10px;border-radius:5px 5px 0 0;background:#5f98f6}.client-avatar{width:44px;height:44px;border-radius:50%;background:#e7efff;color:var(--primary);display:grid;place-items:center;font-weight:800}.document-count{background:#e8f0ff;color:var(--primary);padding:9px 14px;border-radius:999px;font-weight:800}.client-document-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:18px}.client-doc-card{appearance:none;text-align:left;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;cursor:pointer;box-shadow:0 7px 22px rgba(28,47,86,.06);transition:.18s}.client-doc-card:hover{transform:translateY(-3px);border-color:#a9bdf6;box-shadow:0 12px 28px rgba(28,47,86,.1)}.paper-preview{display:block;aspect-ratio:.78;background:linear-gradient(145deg,#fff,#edf2fa);border:1px solid #dce3ef;border-radius:8px;padding:13px 10px;margin-bottom:12px;box-shadow:0 5px 12px rgba(26,42,70,.08)}.paper-preview strong{display:block;font-size:13px;color:var(--text);margin-bottom:16px}.paper-preview i{display:block;height:4px;background:#dce3ed;border-radius:4px;margin:8px 0}.paper-preview i:nth-child(3){width:75%}.paper-preview i:nth-child(4){width:55%}.client-doc-name{display:block;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.client-doc-card small{display:block;color:var(--muted);margin-top:5px}.client-folder-empty{grid-column:1/-1;padding:45px}.viewer-message.hidden{display:none!important}
.billing-overview{background:#fff;border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow)}.billing-plan{padding-bottom:24px;border-bottom:1px solid var(--line)}.billing-plan-line{display:flex;align-items:center;gap:12px;margin-top:7px}.billing-plan h2{margin:0;font-size:30px}.billing-plan p{color:var(--muted);margin:8px 0 0}.billing-metrics{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:18px;padding:24px 0}.billing-metrics>div{background:#f7f9fd;border:1px solid var(--line);border-radius:16px;padding:20px}.billing-metrics span,.billing-metrics small{display:block;color:var(--muted);font-size:13px}.billing-metrics strong{display:block;font-size:24px;margin:7px 0}.billing-overview .billing-actions{border-top:1px solid var(--line);padding-top:22px;margin-top:0}
.hero .eyebrow{display:inline-flex;align-items:center;gap:8px}.hero .eyebrow:before{content:"";width:18px;height:18px;display:inline-block;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h6v2h-2v2h4a4 4 0 0 1 4 4v7a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-7a4 4 0 0 1 4-4h4V4H9V2Zm-2 8v7h10v-7H7Zm2 2h2v2H9v-2Zm4 0h2v2h-2v-2Z'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:900px){.client-folder-head{align-items:flex-start;flex-direction:column}.client-folder-actions{width:100%}.client-document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-metrics{grid-template-columns:1fr}.billing-overview{padding:20px}}
.pricing-section{max-width:1180px;margin:40px auto 80px;padding:70px 24px;border-radius:32px;background:linear-gradient(180deg,#f7f9ff,#eef2ff)}.pricing-head{text-align:center;max-width:760px;margin:auto}.pricing-head h2{font-size:clamp(2rem,4vw,3.2rem);margin:10px 0}.pricing-head p{color:#667085;font-size:1.05rem}.pricing-toggle{display:inline-flex;margin:24px auto 36px;padding:4px;border:1px solid #dbe1f0;border-radius:12px;background:#fff}.pricing-toggle button{border:0;background:transparent;padding:10px 18px;border-radius:9px;font-weight:700;color:#667085;cursor:pointer}.pricing-toggle button.active{background:#111b34;color:#fff}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.pricing-card{position:relative;background:#fff;border:1px solid #e0e5ef;border-radius:18px;padding:28px;box-shadow:0 12px 35px rgba(30,45,80,.06)}.pricing-card.featured{border:2px solid #6674e8;transform:translateY(-7px);box-shadow:0 18px 50px rgba(76,91,196,.16)}.popular-badge{position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:#111b34;color:#fff;padding:7px 14px;border-radius:20px;font-size:.76rem;font-weight:800;white-space:nowrap}.pricing-card h3{font-size:1.25rem;margin:0 0 8px}.plan-desc{min-height:52px;color:#697386}.plan-price{display:flex;align-items:end;gap:10px;margin:24px 0 5px}.plan-price strong{font-size:3rem;line-height:1;color:#111827}.plan-price .currency{font-size:1.2rem;vertical-align:top}.plan-price>span{font-size:.78rem;color:#667085;line-height:1.35}.billing-note{font-size:.78rem;color:#667085;min-height:20px}.pricing-card ul{list-style:none;padding:16px 0;margin:0;border-top:1px solid #edf0f5}.pricing-card li{padding:7px 0 7px 24px;position:relative;font-size:.92rem}.pricing-card li:before{content:'✓';position:absolute;left:0;color:#5265d6;font-weight:900}.pricing-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:42px;padding-top:28px;border-top:1px solid #dfe4ef}.pricing-trust>div{text-align:center}.pricing-trust strong,.pricing-trust small{display:block}.pricing-trust small{color:#697386;margin-top:4px}.trust-icon{width:46px;height:46px;margin:0 auto 10px;border-radius:50%;background:#e5e9ff;display:grid;place-items:center}.trust-icon svg{width:23px;height:23px;fill:none;stroke:#5265d6;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.secure-upload{max-width:620px;margin:60px auto;padding:40px;background:#fff;border:1px solid #e1e6ef;border-radius:22px;box-shadow:0 18px 50px rgba(30,45,80,.08);text-align:center}.secure-upload-mark{width:58px;height:58px;border-radius:50%;background:#e8ecff;color:#5364d8;display:grid;place-items:center;font-size:1.5rem;margin:0 auto 18px}.secure-upload h1{margin:10px 0}.secure-upload-intro,.secure-upload-foot{color:#667085}.secure-drop{display:flex;flex-direction:column;gap:7px;border:2px dashed #cbd3e4;border-radius:16px;padding:36px 20px;margin:24px 0;cursor:pointer;background:#fafbff}.secure-drop input{position:absolute;opacity:0;pointer-events:none}.secure-drop strong{color:#3343a7}.secure-drop span{font-size:.85rem;color:#7b8495}.secure-upload-foot{font-size:.8rem;margin-top:18px}@media(max-width:900px){.pricing-grid{grid-template-columns:1fr}.pricing-card.featured{transform:none}.pricing-trust{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.pricing-trust{grid-template-columns:1fr}.pricing-section{padding:45px 14px}.pricing-card{padding:22px}}
.secure-links-panel{margin:0 0 24px;padding:14px 18px;border:1px solid #e2e7f0;border-radius:14px;background:#fafbff}.secure-links-title{margin-bottom:8px}.secure-link-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #edf0f5}.secure-link-row:first-of-type{border-top:0}
.billing-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.billing-choice{padding:24px;border:1px solid #e0e5ef;border-radius:16px;background:#fff}.billing-choice.featured{border:2px solid #6674e8}.billing-choice-price{margin:18px 0}.billing-choice-price strong{font-size:2.2rem}.billing-choice small{display:block;min-height:40px;color:#667085;margin-bottom:18px}.billing-choice-head{display:flex;justify-content:space-between;align-items:center;gap:16px}@media(max-width:800px){.billing-plan-grid{grid-template-columns:1fr}.billing-choice-head{display:block}}
/* 0.8.1 secure intake + upgrade UI */
.client-submissions{margin:24px 0;padding:22px;border:1px solid #c9d8ff;border-radius:18px;background:linear-gradient(180deg,#f5f8ff 0%,#fff 100%)}
.client-submissions .section-heading,.client-normal-documents .section-heading,.billing-upgrades .section-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:16px}
.client-submissions .section-heading h3,.client-normal-documents .section-heading h3,.billing-upgrades h2{margin:4px 0 6px}.client-submissions .section-heading p{max-width:760px;margin:0;color:#667085}
.submission-count{display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:#243b83;color:#fff;font-weight:800}
.client-doc-card small+small{display:block;margin-top:5px;color:#667085}.client-normal-documents{margin-top:24px}
.secure-link-modal-card{width:min(680px,calc(100vw - 32px));padding:26px}.secure-link-copy{display:flex;gap:10px;margin-top:18px}.secure-link-copy input{flex:1;min-width:0;border:1px solid #d5dbea;border-radius:10px;padding:12px 14px;background:#f8faff}.secure-link-modal-card .modal-actions{display:flex;justify-content:flex-end;margin-top:18px}
.billing-upgrades{margin-top:28px}.billing-upgrades .billing-plan-grid{margin-top:12px}
@media(max-width:700px){.secure-link-copy{flex-direction:column}.client-submissions{padding:16px}.client-submissions .section-heading{flex-direction:column}.submission-count{align-self:flex-start}}
/* 0.8.2 billing + secure-link management */
.secure-link-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.secure-link-actions .icon-action[disabled]{opacity:.45;cursor:not-allowed}.billing-upgrades{margin-top:28px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px 30px;box-shadow:var(--shadow)}.billing-upgrade-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.billing-upgrade-head h2{margin:5px 0 0}.billing-mode-pill{padding:8px 12px;border-radius:999px;background:#f1f3ff;color:#4f5fc8;font-size:12px;font-weight:700}.billing-upgrade-list{display:flex;flex-direction:column}.billing-upgrade-row{display:grid;grid-template-columns:minmax(220px,1fr) 190px minmax(210px,auto);align-items:center;gap:24px;padding:22px 0;border-bottom:1px solid var(--line)}.billing-upgrade-row:last-child{border-bottom:0;padding-bottom:0}.billing-upgrade-name h3{margin:0 0 6px;font-size:20px}.billing-upgrade-name span{color:var(--muted);font-size:13px}.billing-upgrade-price{text-align:right}.billing-upgrade-price strong{display:block;font-size:25px}.billing-upgrade-price small{color:var(--muted)}.billing-upgrade-row .btn{min-width:210px}.billing-upgrade-row.is-unavailable{opacity:.72}.billing-upgrade-row.is-unavailable .btn{cursor:not-allowed}.secure-upload [data-su]{transition:opacity .12s ease}@media(max-width:800px){.secure-link-row{align-items:flex-start;flex-direction:column}.billing-upgrades{padding:22px 20px}.billing-upgrade-head{align-items:flex-start;flex-direction:column}.billing-upgrade-row{grid-template-columns:1fr;gap:12px}.billing-upgrade-price{text-align:left}.billing-upgrade-row .btn{width:100%}}

/* 0.8.3 */
#dai-billing{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding-left:0!important;padding-right:0!important}.client-doc-card .paper-preview{border:2px solid #f2e306}.client-doc-card[data-status=validated] .paper-preview,.client-doc-card[data-status=corrected] .paper-preview{border-color:#28d80f}.pagination-bar{display:flex;justify-content:center;align-items:center;gap:10px;margin:22px 0}.pagination-bar button[disabled]{opacity:.45;cursor:not-allowed}
/* 0.9.1 client table alignment */
@media(min-width:901px){.client-row{grid-template-columns:minmax(300px,1.6fr) minmax(130px,.55fr) minmax(240px,.9fr) minmax(290px,auto)!important}.client-row.header>div,.client-row:not(.header)>div{justify-self:stretch}.client-row .row-actions{justify-self:end}.client-row:not(.header) .client-meta{display:none}}
