:root{font-family:DM Sans,Arial,sans-serif;color:#23332e;background:#f7f8f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--green:#103e34;--green-2:#1d5849;--green-soft:#edf4ef;--orange:#b96f49;--cream:#f8f4ed;--ink:#23332e;--muted:#73807a;--line:#e4e9e4;--paper:#fff;--shadow:0 24px 70px rgba(14,44,36,.1)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.58;cursor:wait}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.brand{display:flex;align-items:center;gap:12px;color:var(--green);font-weight:700;letter-spacing:.13em;font-size:13px}.brand>svg{width:40px;height:40px;color:var(--green)}.brand span{line-height:1.1}.brand small{display:block;font-size:10px;letter-spacing:.04em;color:#74827b;font-weight:500;margin-top:6px}.brand-link{display:inline-flex}.login-shell{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;background:radial-gradient(ellipse at 14% 15%,#e2ece5 0,transparent 33%),radial-gradient(ellipse at 100% 92%,#f2e4d8 0,transparent 30%),#f8f7f3;padding:52px 24px}.login-card{position:relative;z-index:2;width:min(100%,560px);padding:56px 58px 40px;background:#ffffffeb;border:1px solid rgba(255,255,255,.85);border-radius:5px;box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);animation:rise .7s cubic-bezier(.2,.7,.2,1) both}.login-card .brand{margin-bottom:52px}.eyebrow{font-size:10px;letter-spacing:.18em;color:var(--orange);font-weight:700;margin:0 0 12px}.login-card h1,.page-heading h1{font-family:Playfair Display,Georgia,serif;font-size:clamp(35px,5vw,47px);line-height:1.12;font-weight:500;color:var(--green);margin:0}.login-card h1 em{color:var(--orange);font-weight:500}.login-copy{font-size:14px;color:#758078;line-height:1.8;margin:18px 0 32px;max-width:390px}.login-card label,.compact-label{display:block;color:#52615a;font-size:12px;font-weight:600;margin:0 0 9px}.field{display:flex;gap:10px}.field input{flex:1;min-width:0}.login-card input,.stack-form input,.stack-form select,.compact-label+select{height:48px;border:1px solid #dfe6df;border-radius:3px;padding:0 13px;background:#fff;color:var(--ink);outline:none}.login-card input:focus,.stack-form input:focus,.stack-form select:focus,.compact-label+select:focus{border-color:#739784;box-shadow:0 0 0 3px #1d58491a}.button{min-height:46px;border:0;border-radius:3px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.02em;transition:transform .2s,background .2s,box-shadow .2s}.button svg{width:16px;height:16px}.button:hover{transform:translateY(-1px)}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#174c40;box-shadow:0 8px 20px #103e3429}.button.secondary{background:#f1f4f0;color:var(--green);border:1px solid #e3e9e2}.micro{font-size:11px;color:#8a948e;margin-top:12px}.login-foot{border-top:1px solid #edf0ec;margin-top:36px;padding-top:18px;display:flex;gap:9px;align-items:center;color:#829087;font-size:10px}.login-foot svg{width:17px;color:var(--green-2)}.notice{font-size:12px;padding:13px 15px;margin:18px 0;border:1px solid #dce8df;background:#f1f7f2;color:#42664f;line-height:1.6}.notice.warning{border-color:#eddfcc;background:#fbf5eb;color:#8a6037}.login-orbit{position:absolute;border:1px solid rgba(16,62,52,.08);border-radius:50%;pointer-events:none}.orbit-a{width:650px;height:650px;left:-295px;top:-315px}.orbit-b{width:850px;height:850px;right:-415px;bottom:-490px}.login-note{position:absolute;z-index:1;right:max(7vw,35px);bottom:6vh;color:#77827b;max-width:260px}.login-note>span{font-size:9px;letter-spacing:.19em;color:var(--orange);font-weight:700}.login-note>p{font:500 20px/1.4 Playfair Display,Georgia,serif;color:var(--green);margin:10px 0 17px}.login-note>div{display:flex;align-items:center;gap:8px;font-size:9px;white-space:nowrap}.login-note b{color:var(--orange);font-size:9px}.login-note i{height:1px;width:16px;background:#d5dcd5}.app-shell{min-height:100vh;background:#f7f8f5;display:flex}.sidebar{width:252px;background:#fff;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:28px 18px 17px;display:flex;flex-direction:column;z-index:4}.sidebar .brand{padding:0 11px}.sidebar .brand>svg{width:37px;height:37px}.sidebar-label{font-size:9px;letter-spacing:.17em;font-weight:700;color:#a1aba4;margin:44px 12px 12px}.sidebar nav{display:grid;gap:5px}.nav-item{height:44px;padding:0 12px;display:flex;align-items:center;gap:11px;border-radius:3px;font-size:12px;color:#758079;transition:background .2s,color .2s}.nav-item svg{width:17px;height:17px}.nav-item:hover,.nav-item.active{background:#edf4ef;color:var(--green)}.nav-item.active{font-weight:700}.nav-item b{margin-left:auto;color:var(--orange);font-size:11px}.sidebar-bottom{margin-top:auto}.privacy-card{background:#f3f6f2;border:1px solid #ebf0e9;border-radius:4px;padding:15px;margin:0 2px 18px;display:grid;grid-template-columns:19px 1fr;gap:7px 9px}.privacy-card svg{width:18px;color:var(--green-2)}.privacy-card strong{font-size:11px;color:var(--green)}.privacy-card span{grid-column:2;color:#849087;font-size:10px;line-height:1.6}.profile{border-top:1px solid var(--line);padding:15px 3px 0;display:flex;align-items:center;gap:9px}.avatar{width:34px;height:34px;border-radius:50%;background:#e7eee8;color:var(--green);display:grid;place-items:center;font-size:11px;font-weight:700;flex:none}.avatar.mini{width:28px;height:28px;font-size:9px;margin-left:8px}.profile>div:nth-child(2){min-width:0;flex:1}.profile strong,.profile span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile strong{font-size:10px;color:#4d5c54}.profile span{font-size:9px;color:#89938c;margin-top:4px}.profile button{width:28px;height:28px;border:0;background:transparent;color:#829087;padding:5px}.profile button svg{width:17px}.main-area{margin-left:252px;width:calc(100% - 252px)}.topbar{height:65px;background:#fff;border-bottom:1px solid var(--line);padding:0 clamp(24px,5vw,67px);display:flex;align-items:center;justify-content:space-between}.crumb{font-size:11px;color:#5c6962}.crumb span{color:#bbc3bc;padding:0 9px}.top-status{display:flex;align-items:center;color:#7e8a82;font-size:10px}.live-dot{width:7px;height:7px;border-radius:50%;background:#69a77f;margin-right:8px;box-shadow:0 0 0 4px #eaf4ec}.page-content{max-width:1250px;margin:0 auto;padding:45px clamp(24px,5vw,67px) 70px}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:27px}.page-heading h1{font-size:42px}.page-heading>div>p:last-child{color:#79857d;font-size:13px;margin:11px 0 0}.heading-mark{display:flex;align-items:center;gap:10px;padding:11px 14px;border:1px solid #e3e9e2;background:#fff;color:#8a938e;font-size:10px;line-height:1.55}.heading-mark svg{width:22px;height:22px;color:var(--orange)}.heading-mark b{color:var(--green);font-weight:600}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}.stat-card{background:#fff;border:1px solid var(--line);padding:17px 19px;min-height:104px;position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;width:4px;inset:0 auto 0 0;background:#b2c7b6}.stat-card:nth-child(2):after{background:#d6a080}.stat-card:nth-child(3):after{background:#698d78}.stat-card span,.stat-card small{display:block;color:#818c85;font-size:10px}.stat-card strong{display:block;font-family:Playfair Display,Georgia,serif;font-size:28px;font-weight:500;color:var(--green);margin:4px 0 1px}.stat-card small{font-size:9px;color:#a2aaa4}.upload-section,.recent-section{background:#fff;border:1px solid var(--line);padding:25px 26px;margin-bottom:18px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:17px}.section-head .eyebrow{margin-bottom:7px}.section-head h2,.panel h2,.review-modal h2{font-family:Playfair Display,Georgia,serif;font-size:23px;font-weight:500;color:var(--green);margin:0}.section-head p:not(.eyebrow){color:#879189;font-size:11px;margin:7px 0 0}.accepted{font-size:9px;letter-spacing:.04em;color:#89948d;background:#f5f7f4;border:1px solid #edf0ec;border-radius:2px;padding:8px 10px;white-space:nowrap}.compact-label{margin-top:18px}.compact-label+select{height:40px;min-width:min(100%,320px);font-size:11px;margin-bottom:13px}.dropzone{border:1px dashed #bacabc;background:#fbfcfa;min-height:176px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;transition:background .2s,border-color .2s;cursor:pointer}.dropzone:hover,.dropzone.dragging{background:#f0f6f1;border-color:#55816a}.upload-icon{width:39px;height:39px;background:#edf4ef;border-radius:50%;display:grid;place-items:center;color:var(--green);margin-bottom:9px}.upload-icon svg{width:18px}.dropzone>strong{font-size:12px;color:#53645a;font-weight:600}.dropzone>span{font-size:10px;color:#9aa39d;margin-top:6px}.inline-link{padding:0;border:0;background:none;color:var(--orange);font-weight:700;font-size:10px;text-decoration:underline;text-underline-offset:2px}.dropzone>small{font-size:9px;color:#adb5af;margin-top:13px}.ai-consent{display:flex;align-items:center;gap:7px;color:#929c94;font-size:9px;line-height:1.5;margin:13px 0 0}.ai-consent svg{width:14px;height:14px;color:var(--orange);flex:none}.upload-list{display:grid;gap:8px}.upload-list:not(:empty){margin-top:12px}.upload-item{min-height:40px;border:1px solid var(--line);background:#fff;padding:7px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#52635a}.upload-item>span{display:flex;align-items:center;gap:7px}.upload-item svg{width:14px;color:#54816a}.upload-item.upload-error{color:#a8503d}.upload-item.upload-error svg{color:#a8503d}.analyze-button{border:0;background:transparent;color:var(--green);font-size:10px;font-weight:700;display:flex;align-items:center;gap:5px}.analyze-button svg{width:14px}.recent-section{padding-bottom:7px}.filter-button{border:1px solid #e2e8e2;background:#fff;color:#6d7c73;padding:8px 11px;font-size:10px;border-radius:2px}.document-list{display:grid}.document-row{min-height:63px;border-top:1px solid #eef1ed;display:flex;align-items:center;gap:13px}.doc-type{width:34px;height:37px;background:#f2f5f1;border:1px solid #e6ece6;color:#6d8a74;border-radius:2px;display:grid;place-items:center;font-size:8px;font-weight:700;flex:none}.doc-info{flex:1;min-width:0}.doc-info strong{display:block;font-size:11px;color:#506057;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-info span{display:block;font-size:9px;color:#9aa49d;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status{display:flex;align-items:center;gap:6px;color:#888f89;font-size:9px;white-space:nowrap}.status i{width:6px;height:6px;border-radius:50%;background:#b2b9b4}.status-analyzed{color:#9c6d40}.status-analyzed i{background:#d59a62}.status-approved{color:#4d8061}.status-approved i{background:#68a67c}.status-rejected{color:#a3695c}.status-rejected i{background:#c48170}.text-button,.knowledge-button{border:0;background:transparent;color:var(--green);font-weight:700;font-size:10px;display:flex;align-items:center;gap:5px;white-space:nowrap;padding:8px}.text-button svg,.knowledge-button svg{width:14px}.empty-state{padding:38px 12px;display:grid;justify-items:center;gap:8px;color:#87928a;font-size:10px;text-align:center}.empty-state svg{width:22px;color:#adc0b0;margin-bottom:5px}.empty-state strong{color:#617168;font-size:12px}.integration-note{display:flex;gap:12px;align-items:flex-start;padding:15px 17px;border:1px solid #e8dece;background:#faf6ef;color:#a77848}.integration-note>svg{width:18px;flex:none}.integration-note strong,.integration-note span{display:block}.integration-note strong{font-size:10px;color:#8f663e}.integration-note span{font-size:9px;color:#a18c74;margin-top:4px;line-height:1.5}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:5px 0 25px}.panel{border:1px solid var(--line);background:#fff;padding:22px}.panel h2{font-size:21px;margin-bottom:18px}.stack-form{display:grid;gap:13px}.stack-form label{display:grid;gap:7px;color:#637169;font-size:10px;font-weight:600}.stack-form input,.stack-form select{width:100%;height:41px;font-size:11px}.stack-form input[type=file]{height:auto;padding:9px;font-size:10px}.stack-form button{justify-self:start;margin-top:3px}.form-hint{font-size:9px;line-height:1.6;color:#9aa39d;margin:11px 0 0}.companies-list{border:1px solid var(--line);background:#fff;padding:23px 25px}.companies-list .section-head{margin-bottom:13px}.company-row{display:flex;align-items:center;gap:12px;min-height:59px;border-top:1px solid #eef1ed}.company-mark{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef3ee;color:var(--green);font-family:Playfair Display,Georgia,serif;font-size:15px}.knowledge-button{margin-left:auto}.knowledge-files{margin-top:18px}.knowledge-files .company-row{gap:10px}.knowledge-files .company-row>svg{width:17px;color:#68846e;margin:0 8px}.audit-detail{font-size:9px;color:#9ba59e;max-width:180px;overflow:hidden;text-overflow:ellipsis}.modal-backdrop{position:fixed;inset:0;background:#0b201b85;z-index:20;display:grid;place-items:center;padding:18px;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:fade .18s ease both}.review-modal{position:relative;background:#fff;width:min(100%,680px);max-height:min(90vh,850px);overflow:auto;padding:36px 38px 27px;box-shadow:0 28px 90px #0003;animation:rise .25s ease both}.modal-close{position:absolute;right:18px;top:14px;width:30px;height:30px;border:0;background:#f3f5f2;color:#748078;border-radius:50%;font-size:20px;line-height:1}.review-modal h2{font-size:27px;padding-right:26px;overflow-wrap:anywhere}.modal-meta{font-size:10px;color:#9aa39d;margin:8px 0 21px}.review-summary{display:flex;gap:12px;padding:17px;background:#f4f7f3;border:1px solid #e8eee7}.summary-icon{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:#e7efe8;color:var(--orange);flex:none}.summary-icon svg{width:15px;height:15px}.review-summary small,.review-fields small{display:block;color:#9aa59c;font-size:8px;font-weight:700;letter-spacing:.11em;margin-bottom:7px}.review-summary p{font-size:11px;line-height:1.7;color:#58675d;margin:0}.review-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-top:1px solid #edf0ec;margin-top:18px}.review-fields>div{padding:13px 12px 13px 0;border-bottom:1px solid #edf0ec}.review-fields strong{font-size:11px;color:#526359;font-weight:600;overflow-wrap:anywhere}.alerts{margin-top:16px;padding:13px 15px;background:#fbf5ed;border:1px solid #efe3d2;color:#956739;font-size:10px}.alerts p{margin:7px 0 0;line-height:1.5}.evidence{margin-top:15px;color:#708078;font-size:10px}.evidence summary{cursor:pointer;font-weight:600;color:#5e7065}.evidence p{font-style:italic;line-height:1.5}.review-disclaimer{margin-top:15px;font-size:9px;color:#a29b8f}.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:8px;border-top:1px solid #edf0ec;padding-top:17px;margin-top:20px;flex-wrap:wrap}.modal-actions .button{min-height:39px;font-size:10px}.approved-note{display:flex;align-items:center;gap:5px;color:#4d8061;font-size:10px}.approved-note svg{width:15px}.knowledge-modal{width:min(100%,550px)}.toast{position:fixed;z-index:40;bottom:20px;right:23px;max-width:min(90vw,420px);padding:12px 17px;background:#143f35;color:#fff;font-size:11px;box-shadow:0 8px 24px #00000026;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#8b3f33}@keyframes rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes fade{0%{opacity:0}to{opacity:1}}@media(max-width:900px){.login-note{display:none}.sidebar{width:215px}.main-area{margin-left:215px;width:calc(100% - 215px)}.page-content{padding-left:28px;padding-right:28px}.heading-mark{display:none}}@media(max-width:680px){.login-shell{padding:24px 15px}.login-card{padding:35px 25px 28px}.login-card .brand{margin-bottom:36px}.login-card h1{font-size:35px}.field{display:grid}.field .button{width:100%}.sidebar{width:63px;padding:19px 8px 12px;align-items:center}.sidebar .brand{padding:0}.sidebar .brand span,.sidebar-label,.nav-item span,.nav-item b,.privacy-card,.profile>div:nth-child(2){display:none}.sidebar .brand>svg{width:38px}.sidebar nav{margin-top:32px;width:100%}.nav-item{justify-content:center;padding:0}.nav-item svg{width:19px;height:19px}.sidebar-bottom{width:100%}.profile{justify-content:center;padding-top:12px}.profile button{position:absolute;bottom:49px;left:18px}.main-area{margin-left:63px;width:calc(100% - 63px)}.topbar{height:56px;padding:0 16px}.top-status{font-size:0}.top-status .live-dot{margin:0}.top-status .avatar{font-size:9px}.page-content{padding:29px 16px 50px}.page-heading{margin-bottom:19px}.page-heading h1{font-size:34px}.page-heading>div>p:last-child{font-size:11px;line-height:1.5}.stats-grid{gap:6px;margin-bottom:14px}.stat-card{padding:13px 10px;min-height:91px}.stat-card span{font-size:8px;line-height:1.4}.stat-card strong{font-size:24px}.stat-card small{font-size:8px}.upload-section,.recent-section{padding:19px 15px;margin-bottom:13px}.section-head{align-items:flex-start;flex-direction:column;gap:10px}.section-head h2{font-size:21px}.accepted{font-size:8px}.dropzone{min-height:155px;padding:16px}.dropzone>strong{font-size:10px}.dropzone>span{font-size:9px}.ai-consent{align-items:flex-start}.document-row{gap:8px;flex-wrap:wrap;padding:10px 0}.doc-info{min-width:calc(100% - 55px)}.status{margin-left:43px}.text-button{margin-left:auto}.admin-grid{grid-template-columns:1fr}.companies-list{padding:18px 13px}.company-row{gap:8px}.company-row .doc-info span{font-size:8px}.knowledge-button{font-size:8px;padding:5px}.review-modal{padding:30px 20px 20px}.review-modal h2{font-size:23px}.review-fields{grid-template-columns:1fr 1fr}.review-fields>div{padding:11px 7px 11px 0}.review-fields strong{font-size:9px}.modal-actions{justify-content:stretch}.modal-actions .button{flex:1;padding:0 9px;font-size:9px}.integration-note{padding:12px}.integration-note span{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.company-mark.has-logo{background-position:center;background-size:cover;background-repeat:no-repeat;color:transparent;border:1px solid #e5ebe5}.omie-button{border:1px solid #e4e9e4;background:#fff;color:var(--green);font-size:9px;font-weight:700;padding:7px 9px;display:flex;align-items:center;gap:4px;white-space:nowrap}.omie-button svg{width:13px;height:13px}.omie-form{margin-bottom:21px}.mapping-area{border-top:1px solid var(--line);padding-top:20px}.mapping-area .eyebrow{margin-bottom:5px}.toggle-line{display:flex!important;align-items:center;gap:9px!important}.toggle-line input{width:16px;height:16px;accent-color:var(--green)}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vendor-list{margin-top:13px}.vendor-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px;border-top:1px solid #eef1ed}.vendor-row>span:first-child{display:grid;gap:3px}.vendor-row strong{font-size:10px;color:#57675e}.vendor-row small{font-size:9px;color:#929b94}.remove-vendor{border:0;background:#f8f2ef;color:#a25c47;border-radius:50%;width:25px;height:25px;font-size:18px}.role-pill{font-size:8px;color:#66836d;background:#f0f5f0;padding:6px 8px}.admin-list-panel{align-self:start}.integration-fields{margin-top:18px;border:1px solid #e9eee8;background:#fcfdfb;padding:12px 14px}.integration-fields summary{cursor:pointer;font-size:10px;color:var(--green);font-weight:700}.correction-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}.correction-grid label{display:grid;gap:6px;font-size:9px;color:#728077}.correction-grid input{height:37px;width:100%;border:1px solid #e1e8e0;padding:0 9px;font:inherit;color:var(--ink)}.integration-state{display:grid;gap:5px;margin-top:16px;padding:12px 14px;border:1px solid #e5e9e4;background:#f5f7f4;color:#69776e}.integration-state strong{font-size:10px;color:var(--green)}.integration-state span{font-size:9px;line-height:1.5}.integration-state.state-omie-error,.integration-state.state-omie-attachment-failed,.integration-state.state-needs-configuration{border-color:#efe2d2;background:#fbf6ef}.integration-state.state-omie-error strong,.integration-state.state-omie-attachment-failed strong,.integration-state.state-needs-configuration strong{color:#956b40}@media(max-width:680px){.form-pair,.correction-grid{grid-template-columns:1fr}.company-row{flex-wrap:wrap;padding:7px 0}.company-row .doc-info{flex:1}.company-row .omie-button,.company-row .knowledge-button{margin-left:42px}.omie-button{font-size:8px}}.page-content{animation:pageIn .42s cubic-bezier(.2,.7,.2,1) both}.upload-card{display:grid;gap:8px;padding:11px 12px;margin-top:8px;border:1px solid #e7ece6;background:#fff;border-radius:3px;animation:uploadIn .28s ease both;transition:border-color .2s,background .2s,box-shadow .2s}.upload-card:hover{border-color:#cbd9cc;box-shadow:0 6px 18px #103e340e}.upload-card-main{display:flex;align-items:center;gap:10px;min-width:0}.upload-file-mark{width:31px;height:34px;display:grid;place-items:center;flex:none;background:#f0f5f0;border:1px solid #e4ebe3;color:#66836d;font-size:7px;font-weight:800;letter-spacing:.02em}.upload-file-copy{display:grid;gap:4px;min-width:0;flex:1}.upload-file-copy strong{font-size:10px;color:#526359;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-file-copy .upload-state{font-size:9px;color:#8b978f;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-percent{min-width:29px;text-align:right;font-size:9px;color:#708277;font-variant-numeric:tabular-nums}.progress-track{height:3px;border-radius:4px;overflow:hidden;background:#edf1ec}.progress-track i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#54816a,#b96f49);transition:width .18s ease}.upload-card.complete .progress-track i{background:linear-gradient(90deg,#52836a,#78ae81)}.upload-card.upload-error{border-color:#efdcd6;background:#fffaf8}.upload-card.upload-error .upload-state,.upload-card.upload-error .upload-percent{color:#a65b4a}.upload-card.analyzing .upload-file-mark{animation:softPulse 1.4s ease-in-out infinite}.upload-card.analyzing .progress-track i{width:42%!important;background:linear-gradient(90deg,#b96f49,#e6bc92,#b96f49);background-size:200% 100%;animation:progressSweep 1.05s linear infinite}.upload-actions{display:flex;justify-content:flex-end}.upload-actions:empty{display:none}.upload-card .analyze-button{font-size:9px;padding:3px 0}.upload-card .analyze-button:disabled{color:#9b7659}.upload-card .analyze-button:disabled:before{content:"";width:11px;height:11px;border:1.5px solid #d7c5b4;border-top-color:#b96f49;border-radius:50%;animation:spin .7s linear infinite}.ai-status{display:flex;align-items:center;gap:8px;margin-top:17px;padding:12px;background:#f5f7f4;border:1px solid #e9eee8;font-size:10px;line-height:1.5;color:#78857c}.ai-status span{width:8px;height:8px;border-radius:50%;background:#bbc2bc;flex:none}.ai-status.is-ready span{background:#70a980;box-shadow:0 0 0 4px #e8f2e8}.ai-status.is-missing{background:#fbf6ef;border-color:#efe4d3;color:#926e4d}.ai-status.is-missing span{background:#c8955c;box-shadow:0 0 0 4px #f8eddf}.button.is-loading svg{animation:spin .8s linear infinite}.stack-form .button.is-loading:after{content:"";width:12px;height:12px;border:1.5px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:spin .7s linear infinite}.company-mark.has-logo{background-color:#fff}@keyframes pageIn{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes uploadIn{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes progressSweep{to{background-position:-200% 0}}@keyframes softPulse{50%{transform:scale(.94);opacity:.68}}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:680px){.upload-card{padding:10px}.upload-card .analyze-button{font-size:8px}.upload-file-copy strong{max-width:calc(100vw - 190px)}}.history-search{padding:15px;margin:0 0 12px;background:#fafbf9;border:1px solid #e9eee8}.history-search>label{display:block;font-size:10px;color:#5f7065;font-weight:700;margin:0 0 9px}.history-search-row{display:grid;grid-template-columns:minmax(160px,1fr) auto auto auto auto;gap:8px;align-items:center}.history-search-row input,.history-search-row select{height:39px;border:1px solid #e1e8e0;background:#fff;color:#56665d;padding:0 10px;font:inherit;font-size:10px;min-width:0}.history-search-row select{max-width:170px}.history-search-row .button{min-height:39px;padding:0 12px;font-size:10px}.history-search .form-hint{margin-top:9px}.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0 10px;border-top:1px solid #eef1ed;color:#87928a;font-size:9px}.pagination-bar>div{display:flex;align-items:center;gap:7px}.pagination-bar .filter-button{padding:7px 10px}.pagination-bar .filter-button:disabled{opacity:.45;cursor:default}.page-indicator{min-width:80px;text-align:center;color:#6d7b72}.document-preview{min-height:190px;margin:16px 0;background:#f4f6f3;border:1px solid #e8ede7;display:grid;place-items:center;overflow:hidden}.document-preview iframe{width:100%;height:min(48vh,480px);border:0;background:#f2f4f1}.document-preview img{display:block;max-width:100%;max-height:48vh;object-fit:contain}.preview-loading,.preview-error{display:flex;align-items:center;justify-content:center;gap:10px;padding:25px;color:#829087;font-size:10px}.preview-error svg{color:#b96f49}.loading-orbit{width:20px;height:20px;border:2px solid #dce7dc;border-top-color:#b96f49;border-radius:50%;animation:spin .8s linear infinite}.text-document-preview{width:100%;padding:14px 16px}.text-document-preview>p{font-size:9px;color:#859188;margin:0 0 10px}.text-document-preview pre{max-height:260px;overflow:auto;margin:0;padding:12px;background:#fff;border:1px solid #e8ede7;color:#58675d;font:10px/1.6 DM Sans,Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere}.document-history{margin-top:22px;padding-top:17px;border-top:1px solid #e9eee8}.document-history .section-head{margin:0 0 8px}.document-history h3{margin:0;font:500 18px Playfair Display,Georgia,serif;color:var(--green)}.history-loading{padding:12px;color:#89958d;font-size:9px}.activity-timeline{list-style:none;margin:0;padding:5px 0 0 4px;display:grid;gap:0}.activity-timeline li{position:relative;display:grid;grid-template-columns:14px 1fr;gap:8px;min-height:37px}.activity-timeline li:not(:last-child):before{content:"";position:absolute;left:3px;top:9px;bottom:-2px;width:1px;background:#dfe8df}.activity-timeline li>i{position:relative;z-index:1;width:7px;height:7px;margin:3px 0 0;border-radius:50%;background:#74937a;box-shadow:0 0 0 3px #eef4ee}.activity-timeline li>div{display:grid;gap:3px}.activity-timeline strong{font-size:9px;color:#55665b}.activity-timeline span{font-size:8px;color:#929d95}.analysis-history{margin:9px 0 0;padding:10px 12px;background:#fafbf9;border:1px solid #edf0ec}.analysis-history summary{cursor:pointer;font-size:9px;color:#65776b;font-weight:700}.analysis-history article{padding:10px 0;border-top:1px solid #e9eee8;margin-top:9px}.analysis-history article small,.analysis-history article span{font-size:8px;color:#9aa49d;letter-spacing:.05em}.analysis-history article p{font-size:9px;line-height:1.55;color:#596a5f;margin:6px 0}.review-modal{width:min(100%,760px)}@media(max-width:760px){.history-search-row{grid-template-columns:1fr 1fr}.history-search-row input{grid-column:1/-1}.history-search-row .button,.history-search-row #clear-search{width:100%}.pagination-bar{align-items:flex-start;flex-direction:column}.pagination-bar>div{width:100%;justify-content:space-between}.document-preview{min-height:150px}.document-preview iframe{height:43vh}.review-modal{width:min(100%,680px)}}.brand-lockup{display:grid;justify-items:start;gap:4px;letter-spacing:normal;font-size:inherit}.brand-lockup>.brand-svg{display:block;width:min(100%,235px);height:auto;max-height:47px;overflow:visible;fill:none;stroke:none;color:inherit}.brand-lockup>small{margin:0 0 0 4px;font-size:10px;letter-spacing:.04em;color:#74827b;font-weight:500;line-height:1.2}.sidebar .brand-lockup{width:100%;padding:0 11px;gap:3px}.sidebar .brand-lockup>.brand-svg{width:100%;max-height:41px}.sidebar .brand-lockup>small{margin-left:3px;font-size:9px}.login-card .brand-lockup{margin-bottom:42px}.otp-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:#0e231f75;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);animation:otpFade .18s ease both}.otp-card{position:relative;width:min(100%,430px);padding:38px 38px 30px;background:#fff;border:1px solid #e4e9e4;border-radius:8px;box-shadow:0 28px 90px #0c282038;animation:otpRise .28s cubic-bezier(.2,.7,.2,1) both}.otp-card .brand-svg{width:205px}.otp-card h2{margin:0;font:500 29px/1.2 Playfair Display,Georgia,serif;color:var(--green)}.otp-copy{margin:12px 0 24px;font-size:13px;line-height:1.6;color:#748078;overflow-wrap:anywhere}.otp-copy strong{color:#42554a;font-weight:700}.otp-card label{display:block;margin-bottom:8px;font-size:11px;font-weight:700;color:#52615a}.otp-card input{display:block;width:100%;height:52px;border:1px solid #dfe6df;border-radius:4px;padding:0 14px;background:#fff;color:var(--green);font-size:24px;font-weight:700;letter-spacing:.26em;text-align:center;font-variant-numeric:tabular-nums;outline:none}.otp-card input:focus{border-color:#739784;box-shadow:0 0 0 3px #1d58491a}.otp-card form>.button{width:100%;margin-top:15px}.otp-close{position:absolute;top:12px;right:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f4f6f3;color:#6f7d74;font-size:22px;line-height:1}.otp-mark{width:42px;height:42px;display:grid;place-items:center;margin:0 0 18px;border:1px solid #e3ebe3;border-radius:50%;background:#f4f8f4;color:var(--green)}.otp-mark svg{width:21px;height:21px}.otp-error{min-height:17px;margin:6px 0 0;color:#a65241;font-size:11px}.otp-cancel{display:block;margin:14px auto 0;border:0;background:transparent;color:#7a877f;font-size:11px}.otp-card .eyebrow{margin-bottom:8px}.otp-card .button:disabled{transform:none}.otp-card input::selection{background:#dcece1}@keyframes otpFade{0%{opacity:0}to{opacity:1}}@keyframes otpRise{0%{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:540px){.otp-card{padding:34px 22px 24px}.login-card{padding:42px 26px 32px}.login-card .brand-lockup{margin-bottom:35px}.brand-lockup>.brand-svg{width:min(100%,220px)}}@media(prefers-reduced-motion:reduce){.otp-backdrop,.otp-card{animation:none}}
