:root{color:#1d2929;font-synthesis:none;text-rendering:optimizelegibility;--ink:#1d2929;--muted:#667473;--line:#d7dbd7;--panel:#fff;--teal:#176b5b;--teal-dark:#124e45;--teal-pale:#e8f4ef;--orange:#c9652b;--orange-pale:#fff0e4;--red:#a7443f;--red-pale:#fbe9e7;background:#f3f4f1;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{background:#f3f4f1;min-width:320px}body{min-width:320px;min-height:100vh;margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}button:focus-visible,input:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #4a9e8d}.app-shell{min-height:100vh}.topbar{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff2;justify-content:space-between;align-items:center;gap:1rem;min-height:58px;padding:.55rem 1rem;display:flex;position:sticky;top:0}.brand-lockup{align-items:center;min-width:0;display:flex}.brand-lockup h1{letter-spacing:-.02em;margin:0;font-size:1.05rem;font-weight:760}.handy-label{color:#899492;letter-spacing:.08em;text-transform:uppercase;margin-bottom:.04rem;font-size:.55rem;font-weight:650;line-height:1;display:block}.topbar-actions,.output-actions,.inline-actions,.page-controls,.viewer-footer,.source-label,.check-control{align-items:center;display:flex}.topbar-actions{gap:.45rem}.local-note{color:#75817f;white-space:nowrap;font-size:.68rem}.ghost-button,.toolbar-button,.small-button,.primary-button,.icon-button{border:1px solid var(--line);border-radius:6px;justify-content:center;align-items:center;gap:.35rem;font-weight:720;display:inline-flex}.ghost-button{color:var(--ink);background:#fff;padding:.43rem .65rem;font-size:.7rem}.ghost-button.danger{color:var(--red)}.ghost-button svg,.toolbar-button svg,.small-button svg,.primary-button svg{width:14px;height:14px}.workspace{grid-template-columns:minmax(0,1fr) minmax(340px,28vw);align-items:start;gap:.75rem;width:min(1800px,100% - 1.25rem);margin:0 auto;padding:.75rem 0 2rem;display:grid}.output-panel{grid-column:1/-1}.work-column{gap:.75rem;min-width:0;display:grid}.source-column{min-width:0}.lower-grid{grid-template-columns:minmax(320px,.92fr) minmax(380px,1.08fr);align-items:start;gap:.75rem;display:grid}.panel{border:1px solid var(--line);background:var(--panel);border-radius:8px;min-width:0;overflow:hidden;box-shadow:0 2px 8px #1e302f09}.panel-header{background:#fcfdfb;border-bottom:1px solid #e4e7e3;justify-content:space-between;align-items:center;gap:.75rem;min-height:54px;padding:.7rem .85rem;display:flex}.panel-header h2,.subsection-heading h3{letter-spacing:-.01em;margin:.08rem 0 0;font-size:.9rem;font-weight:760}.section-kicker{color:#87918f;letter-spacing:.1em;text-transform:uppercase;font-size:.52rem;font-weight:800;line-height:1;display:block}.muted-label{color:#87918f;font-size:.61rem}.output-heading{min-height:48px;padding-block:.55rem}.output-actions{gap:.45rem}.primary-button{border-color:var(--teal);color:#fff;background:var(--teal);padding:.5rem .72rem;font-size:.69rem}.primary-button.success,.small-button.success{color:#fff;background:#287860;border-color:#287860}.readiness,.status-pill,.match-badge,.order-id-chip,.file-chip{white-space:nowrap;border-radius:999px;align-items:center;gap:.25rem;font-size:.58rem;font-weight:780;display:inline-flex}.readiness{padding:.32rem .48rem}.readiness.ready{color:#155743;background:#e1f2e9}.readiness.not-ready{color:#8a4a22;background:var(--orange-pale)}.output-table-wrap,.service-table-wrap{overflow:auto}.output-table,.service-table{border-collapse:collapse;width:100%}.output-table{min-width:1260px}.output-table th,.output-table td,.service-table th,.service-table td{text-align:left;border-bottom:1px solid #e7e9e6;border-right:1px solid #e6e8e4}.output-table th{color:#76817f;letter-spacing:.04em;white-space:nowrap;background:#f5f6f3;padding:.38rem .5rem;font-size:.52rem}.output-table td{text-overflow:ellipsis;white-space:nowrap;max-width:190px;padding:.52rem;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.62rem;overflow:hidden}.output-table td.empty-cell{color:#b8bfbc;background:#fafbf9}.field-grid{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.evidence-field{border-bottom:1px solid #e5e7e4;border-right:1px solid #e5e7e4;min-width:0;padding:.68rem;box-shadow:inset 3px 0 #0000}.evidence-field:nth-child(3n){border-right:0}.evidence-field.level-green{box-shadow:inset 3px 0 var(--teal)}.evidence-field.level-orange{box-shadow:inset 3px 0 var(--orange)}.evidence-field.level-red{box-shadow:inset 3px 0 var(--red)}.field-heading{justify-content:space-between;align-items:center;gap:.4rem;margin-bottom:.35rem;display:flex}.field-heading label{font-size:.64rem;font-weight:780}.status-pill{padding:.19rem .32rem}.status-pill svg{width:9px;height:9px}.status-pill.green,.match-badge.suggested{color:#155743;background:#e1f2e9}.status-pill.orange,.match-badge.review{color:#8b4922;background:var(--orange-pale)}.status-pill.red{color:#913932;background:var(--red-pale)}.status-pill.grey{color:#74807e;background:#eef0ed}.status-dot{border:1px solid #8e9997;border-radius:50%;width:6px;height:6px}.field-body{grid-template-columns:minmax(0,1fr) 68px;gap:.4rem;display:grid}.field-control{min-width:0}.field-control input,.field-control textarea,.job-row input,.order-paste{width:100%;color:var(--ink);background:#fff;border:1px solid #cfd4d0;border-radius:5px}.field-control input,.field-control textarea{min-height:34px;padding:.42rem .48rem;font-size:.71rem}.field-control textarea{resize:vertical}.source-label{color:#87928f;gap:.2rem;margin-top:.22rem;font-size:.52rem;font-weight:670}.source-label svg{width:9px;height:9px}.evidence-thumb,.evidence-placeholder{background:#fff;border:1px solid #d8dcd8;border-radius:4px;min-height:50px;position:relative;overflow:hidden}.evidence-thumb{padding:0}.evidence-thumb img{object-fit:contain;width:100%;height:50px;display:block}.evidence-thumb svg{color:#fff;background:#123230d1;border-radius:3px;width:15px;height:15px;padding:3px;position:absolute;bottom:3px;right:3px}.evidence-placeholder{color:#adb5b2;place-items:center;font-size:.5rem;display:grid}.jobs-block{padding:.72rem .8rem .8rem}.subsection-heading{justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.55rem;display:flex}.subsection-heading h3{font-size:.79rem}.inline-actions{gap:.35rem}.small-button{color:var(--teal-dark);background:var(--teal-pale);border-color:#bfd0c9;padding:.35rem .48rem;font-size:.61rem}.job-list{gap:.35rem;display:grid}.job-row{grid-template-columns:24px minmax(0,1fr) 82px 76px 28px;align-items:center;gap:.32rem;display:grid}.job-number{color:#8d9794;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.56rem;font-weight:760}.job-row input{min-width:0;padding:.38rem .42rem;font-size:.65rem}.job-row .code-input,.job-row .money-input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.61rem}.icon-button{color:#98635f;background:#fff;width:27px;height:27px;padding:0}.icon-button svg{width:13px;height:13px}.empty-inline{color:#775035;background:#fff8f1;border:1px solid #ecd6c5;border-radius:5px;align-items:center;gap:.38rem;padding:.55rem .65rem;font-size:.63rem;display:flex}.empty-inline>svg{flex:none;width:14px;height:14px}.empty-inline button{color:var(--teal);background:0 0;border:0;margin-left:auto;font-size:.59rem;font-weight:760}.evidence-wide{background:#fff;border:1px solid #d6dad6;border-radius:5px;width:100%;height:70px;margin-top:.55rem;padding:0;display:block;position:relative;overflow:hidden}.evidence-wide img{object-fit:contain;width:100%;height:100%;display:block}.evidence-wide-label{color:#fff;background:#123230d6;border-radius:4px;align-items:center;gap:.25rem;padding:.24rem .35rem;font-size:.54rem;font-weight:760;display:inline-flex;position:absolute;bottom:4px;right:4px}.evidence-wide-label svg{width:11px;height:11px}.order-panel,.checks-panel{min-width:0}.order-id-chip{color:var(--teal-dark);background:var(--teal-pale);padding:.27rem .42rem}.order-paste{resize:vertical;border:0;border-radius:0;min-height:180px;padding:.65rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.63rem;line-height:1.45;display:block}.order-paste:focus{z-index:1;position:relative}.order-summary{background:#f7f8f5;border-top:1px solid #e3e6e2;grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.order-summary>div{border-right:1px solid #e2e5e1;min-width:0;padding:.48rem .55rem}.order-summary>div:last-child{border-right:0}.order-summary span,.order-summary strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.order-summary span{color:#87918f;letter-spacing:.05em;text-transform:uppercase;margin-bottom:.12rem;font-size:.47rem;font-weight:790}.order-summary strong{font-size:.59rem}.check-list{max-height:245px;display:grid;overflow:auto}.check-row{border-bottom:1px solid #e7e9e6;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:.45rem;min-height:49px;padding:.45rem .58rem;display:grid}.check-row:last-child{border-bottom:0}.check-row .check-icon{border-radius:50%;place-items:center;width:22px;height:22px;display:grid}.check-row .check-icon svg{width:13px;height:13px}.check-row.green .check-icon{color:#176047;background:#e1f2e9}.check-row.orange .check-icon{color:#985026;background:var(--orange-pale)}.check-row.red .check-icon{color:#963e37;background:var(--red-pale)}.check-row.grey .check-icon{background:#eef0ed}.check-row strong,.check-row>div>span{display:block}.check-row strong{margin-bottom:.08rem;font-size:.63rem}.check-row>div>span{color:#6f7a78;font-size:.55rem;line-height:1.35}.check-row button{color:#884822;background:#fff8ef;border:1px solid #dfb493;border-radius:4px;padding:.28rem .4rem;font-size:.55rem;font-weight:780}.reconciliation-panel .waiting-card{min-height:92px}.waiting-card{color:var(--muted);justify-content:center;align-items:center;gap:.65rem;padding:1rem;display:flex}.waiting-card>svg{color:#839692;width:24px;height:24px}.waiting-card strong,.waiting-card span{display:block}.waiting-card strong{color:var(--ink);margin-bottom:.12rem;font-size:.69rem}.waiting-card span{font-size:.61rem}.waiting-card.warning>svg{color:var(--orange)}.charged-total{color:var(--teal);white-space:nowrap;font-size:.75rem}.service-table{min-width:640px}.service-table th{color:#798482;letter-spacing:.05em;text-transform:uppercase;background:#f5f6f3;padding:.42rem .55rem;font-size:.52rem}.service-table td{vertical-align:middle;padding:.5rem .55rem;font-size:.63rem}.service-table tr.selected td{background:#f1f8f4}.service-table td:nth-child(2) strong,.service-table td:nth-child(2) span{display:block}.service-table td:nth-child(2) span{max-width:330px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:.12rem;font-size:.55rem;overflow:hidden}.check-control{justify-content:center}.check-control input{opacity:0;pointer-events:none;position:absolute}.check-control>span{color:#0000;background:#fff;border:1px solid #bdc5c1;border-radius:4px;place-items:center;width:19px;height:19px;display:grid}.check-control>span svg{width:11px;height:11px}.check-control input:checked+span{border-color:var(--teal);color:#fff;background:var(--teal)}.match-badge{padding:.22rem .34rem}.document-panel{position:sticky;top:66px}.file-chip{border:1px solid var(--line);max-width:52%;color:var(--muted);text-overflow:ellipsis;background:#f5f6f3;padding:.26rem .4rem;overflow:hidden}.file-chip svg{flex:none;width:11px;height:11px}.viewer-toolbar{background:#f6f7f4;border-bottom:1px solid #e1e4e0;justify-content:space-between;align-items:center;min-height:43px;padding:.42rem .55rem;display:flex}.page-controls{color:#465351;gap:.4rem;font-size:.62rem;font-weight:760}.page-controls button,.toolbar-button{border:1px solid var(--line);color:var(--ink);background:#fff}.page-controls button{border-radius:5px;place-items:center;width:27px;height:27px;padding:0;display:grid}.page-controls svg{width:13px;height:13px}.toolbar-button{padding:.35rem .45rem;font-size:.6rem}.document-stage{background:#2d3b3d;place-items:start center;min-height:520px;max-height:calc(100vh - 185px);padding:.8rem;display:grid;position:relative;overflow:auto}.page-wrap{width:min(100%,700px);line-height:0;position:relative;box-shadow:0 8px 25px #00000047}.page-wrap>img{background:#fff;width:100%;height:auto}.region-highlight{pointer-events:none;background:#f4803b1f;border:2px solid #df6e32;border-radius:2px;position:absolute;box-shadow:0 0 0 1px #ffffffbf}.processing-overlay{color:#fff;text-align:center;background:#132a2be0;flex-direction:column;justify-content:center;align-items:center;gap:.55rem;padding:1rem;display:flex;position:absolute;inset:0}.processing-overlay>svg{color:#a7d5c5;width:30px;height:30px}.processing-overlay strong{font-size:.72rem}.processing-overlay span{color:#bdcdca;font-size:.59rem}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.viewer-footer{color:#76817f;background:#fafbf9;border-top:1px solid #e1e4e0;justify-content:space-between;gap:.6rem;min-height:37px;padding:.4rem .55rem;font-size:.56rem;font-weight:680}.text-button{color:var(--teal);background:0 0;border:0;padding:0;font-size:.58rem;font-weight:760}.compact-drop{width:100%;min-height:560px;color:var(--ink);text-align:center;background:repeating-linear-gradient(45deg,#fbfcfa,#fbfcfa 12px,#f7f9f6 12px 24px);border:0;flex-direction:column;justify-content:center;align-items:center;gap:.55rem;padding:2rem;display:flex}.compact-drop>svg{width:31px;height:31px;color:var(--teal);margin-bottom:.25rem}.compact-drop strong{font-size:.78rem}.compact-drop span{max-width:270px;color:var(--muted);font-size:.62rem;line-height:1.5}.compact-drop small{color:#929b99;letter-spacing:.06em;font-size:.52rem;font-weight:760}.error-banner{color:#7e332f;background:var(--red-pale);gap:.4rem;padding:.55rem .65rem;font-size:.6rem;line-height:1.4;display:flex}.error-banner>svg{flex:none;width:14px;height:14px}@media (max-width:1220px){.workspace{grid-template-columns:minmax(0,1fr) 340px}.lower-grid{grid-template-columns:1fr}.check-list{max-height:230px}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.evidence-field:nth-child(3n){border-right:1px solid #e5e7e4}.evidence-field:nth-child(2n){border-right:0}}@media (max-width:880px){.workspace{grid-template-columns:1fr}.source-column{grid-row:2}.work-column{grid-row:3}.document-panel{position:static}.document-stage{min-height:420px;max-height:70vh}.compact-drop{min-height:240px}}@media (max-width:620px){.topbar{align-items:flex-start}.topbar-actions{flex-wrap:wrap;justify-content:flex-end}.local-note{display:none}.workspace{width:min(100% - .65rem,1800px);padding-top:.35rem}.field-grid{grid-template-columns:1fr}.evidence-field,.evidence-field:nth-child(3n),.evidence-field:nth-child(2n){border-right:0}.panel-header{align-items:flex-start}.job-row{grid-template-columns:22px minmax(0,1fr) 70px 28px}.job-row .money-input{grid-column:2/4}.job-row .icon-button{grid-area:1/4}.subsection-heading{flex-direction:column;align-items:flex-start}.order-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.output-actions{flex-direction:column;align-items:flex-end}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
