:root{font-family:Segoe UI,Arial,sans-serif;color:#223345;background:#f3f5f7;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,.button{border:1px solid #cfdae2;background:#fff;color:#294255;padding:10px 14px;border-radius:6px;cursor:pointer;text-decoration:none;font-weight:600}button:hover,.button:hover{border-color:#008979}button:disabled,.disabled{opacity:.5;cursor:wait}.primary{background:#007d70;color:#fff;border-color:#007d70}header{height:72px;background:#fff;border-bottom:1px solid #dce3e8;display:flex;align-items:center;gap:34px;padding:0 4vw}.brand{font-size:26px;font-weight:850;color:#153d51;text-decoration:none;letter-spacing:-1px}.brand span{font-size:11px;letter-spacing:2px;margin-left:14px;font-weight:650}.stage{color:#647785}.local{margin-left:auto;background:#f0f4f6;padding:6px 10px;font-size:12px;border-radius:20px;color:#687986}main{max-width:1640px;margin:auto;padding:36px 4vw}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:750;color:#007d70;margin:0 0 10px}h1{font-size:32px;letter-spacing:-.8px;margin:0 0 10px;font-weight:650}.intro{color:#6b7b88;margin:0}.import{display:flex;gap:8px}.upload input{display:none}.sources{display:flex;background:#fff;border:1px solid #dce3e8;border-radius:8px;margin:20px 0 24px}.sources>div{flex:1;display:flex;align-items:center;gap:10px;padding:18px 22px}.sources>div+div{border-left:1px solid #e3e9ed}.sources small{margin-left:auto;color:#73818c}.dot{height:8px;width:8px;background:#b2bec7;border-radius:50%;flex-shrink:0}.live{background:#008778}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:20px 0;gap:15px}.toolbar>div{display:flex;align-items:center;gap:10px}.toolbar small{color:#788693}input,select{border:1px solid #d3dce3;padding:10px;background:#fff;color:#243947;border-radius:5px;max-width:100%}nav{display:flex;gap:6px;border-bottom:1px solid #d0dce4;margin-bottom:20px}nav button{border:0;background:none;border-radius:0;padding:14px 16px;color:#647784;border-bottom:3px solid transparent}nav button.active{color:#007b6c;border-bottom-color:#007b6c}nav b{font-size:12px;background:#e4eaf0;padding:3px 7px;border-radius:12px;margin-left:6px}.workspace{display:grid;grid-template-columns:1fr;gap:22px}.workspace.has-detail{grid-template-columns:minmax(300px,1fr) minmax(360px,490px)}.list,aside{background:#fff;border:1px solid #dce3e8;border-radius:8px;overflow:hidden}.listhead{padding:20px;display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #e7ecef}h2{font-size:17px;margin:0;font-weight:650}h3{font-size:14px;margin:22px 0 12px}.record{width:100%;border:0;border-bottom:1px solid #e7ecef;border-radius:0;display:flex;justify-content:space-between;text-align:left;gap:20px;padding:21px;font-weight:400}.record strong{display:block;margin-top:7px;font-weight:650}.record p{margin:6px 0}.record small{font-size:11px;color:#7b8995}.record.selected{background:#edf7f5;box-shadow:inset 3px 0 #008778}.amount{text-align:right;white-space:nowrap;font-weight:650}.amount small{display:block;margin-top:10px}.reason{font-size:12px;color:#8d6531;line-height:1.5}.empty{min-height:330px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:40px;color:#778895}.empty>span{font-size:27px;background:#eaf3f2;color:#008778;padding:10px 19px;border-radius:12px}.empty h3{font-size:18px;color:#344e5d}.empty p{max-width:440px;line-height:1.7;margin-top:0}aside{padding:22px}.detailhead{display:flex;justify-content:space-between;gap:15px}.detailhead h2{overflow-wrap:anywhere}.pdf{display:block;background:#ecf5f4;color:#007b6c;text-decoration:none;padding:14px;border-radius:5px;margin-top:20px;font-weight:650}.hint{color:#71828c;font-size:12px;line-height:1.6}fieldset{padding:0;border:0;min-width:0}fieldset>label,.fields label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;margin-bottom:12px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.check{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;font-size:12px;font-weight:400!important;margin:16px 0!important}.check input{margin:0}.candidate{border:1px solid #d8e6e3;background:#f6faf9;padding:12px;margin:8px 0;border-radius:5px;display:flex;flex-direction:column;gap:6px}.candidate small{color:#71828c}details{border-top:1px solid #e4eaee;margin-top:18px;padding-top:14px;font-size:12px}summary{cursor:pointer;font-weight:600}pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;font-size:11px;color:#627783}.operation{padding:1px 14px 16px;background:#f2f6f8;border-radius:5px}.operation select{margin:10px 0;width:100%}.alert{padding:14px 18px;border:1px solid #e4d6ba;background:#fffaf0;border-radius:6px;color:#82652f;margin-bottom:15px}.error{background:#fff2ef;color:#a54331;border-color:#edcfc7}.success{color:#167769}.alert.success{background:#eef8f3;border-color:#c8e4d6}footer{font-size:11px;color:#84919b;padding-top:24px}@media(max-width:1000px){.sources{flex-wrap:wrap}.sources>div{min-width:220px}.sources small{margin-left:0}.workspace.has-detail{grid-template-columns:1fr}aside{grid-row:1}.heading,.toolbar{align-items:flex-start;flex-direction:column}nav{overflow:auto}nav button{white-space:nowrap}.stage{display:none}}@media(max-width:550px){header{gap:10px}.brand span{display:none}main{padding:24px 16px}.sources{flex-direction:column}.sources>div+div{border-left:0;border-top:1px solid #e3e9ed}.toolbar>div{flex-wrap:wrap}.listhead{flex-direction:column;align-items:stretch}.fields{grid-template-columns:1fr}h1{font-size:28px}}.mail-index{background:#fff;border:1px solid #dce3e8;border-radius:8px}.mail-search{display:flex;gap:8px}.mailboxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));background:#f7fafb;padding:18px;gap:16px;border-bottom:1px solid #e4eaee}.mailboxes strong{font-size:12px}.mailboxes small{display:block;color:#788895;font-size:11px;margin-top:6px}.mail-message{padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:24px;border-bottom:1px solid #e4eaee}.mail-message p{font-size:12px;color:#748390}.mail-message small{font-size:11px;color:#748390}.attachments>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:10px;background:#f5f8fa;margin-bottom:8px;border-radius:5px;overflow-wrap:anywhere}.attachments strong{font-size:12px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:18px}.pagination span{font-size:12px;color:#748390}@media(max-width:700px){.mail-message{grid-template-columns:1fr}.mail-search{flex-wrap:wrap}.sources>div{flex-wrap:wrap}}.mail-message p{overflow-wrap:anywhere}.confidence{padding:14px;background:#f2f5f8;border:1px solid #dbe3e8;border-radius:6px;margin:18px 0}.confidence.certain{background:#edf8f3;border-color:#b8dccb}.confidence strong{color:#156756}.confidence p{font-size:12px;line-height:1.6;margin:8px 0 0}.confidence-label{display:block;font-size:11px;color:#167769;margin:7px 0}.evidence-wrap{overflow-x:auto}.evidence{width:100%;border-collapse:collapse;font-size:11px;line-height:1.5;table-layout:fixed}.evidence td,.evidence th{padding:9px 6px;vertical-align:top;text-align:left;border-bottom:1px solid #e2e8ec;overflow-wrap:anywhere}.evidence th{font-weight:600}.evidence thead{color:#6b7b88}.evidence tr.difference{background:#fff4df;color:#8a5819}.positive{color:#167769}.evidence th span{font-weight:800}.workspace.has-detail{grid-template-columns:minmax(280px,1fr) minmax(450px,560px)}@media(max-width:1000px){.workspace.has-detail{grid-template-columns:1fr}}.payment-plan{padding:0 14px 12px;background:#f4f7f9;border:1px solid #dce5eb;border-radius:6px;margin-top:18px}.payment-plan>label{display:flex;flex-direction:column;gap:8px;font-size:12px}.record-select{flex:1;min-width:0;border:0;padding:0;background:transparent;text-align:left;font-weight:400;color:inherit}.record-select:hover{background:transparent}.filter-button{display:block;margin:10px 0 0 auto;padding:5px 9px;font-size:12px;font-weight:400}.erp-refresh{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin:1rem 0}.erp-refresh small{color:var(--muted,#667985)}.spinner{display:inline-block;width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;vertical-align:-.15em;margin-right:.4em;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation:none}}.document-activity{display:flex;align-items:center;gap:6px;font-size:12px;margin:5px 0;color:#526575}.document-activity[data-state=running]{color:#007d78;font-weight:600}.document-activity[data-state=waiting]{color:#806018}.document-activity[data-state=blocked]{color:#a23c28}.document-activity .spinner{width:12px;height:12px;flex-shrink:0}.pipeline-overview{margin:1rem 0 1.4rem}.pipeline-overview>strong{display:block;font-size:.8rem;color:#576b79;margin-bottom:.6rem}.pipeline-groups{display:flex;flex-wrap:wrap;gap:.6rem}.pipeline-chip{display:flex;align-items:center;gap:.7rem;padding:.65rem .9rem;border:1px solid #dce5ec;border-radius:9px;background:#fff;color:#20384b;font-size:.86rem;min-width:150px}.pipeline-count{font-size:1.55rem;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums}.pipeline-chip small{display:block;font-size:.7rem;color:#657888;margin-top:.15rem}.pipeline-chip[data-status=running]{border-color:#008c89;background:#eaf8f6}.pipeline-chip[data-status=queued]{background:#fffaf0;border-color:#eddfbc}
