:root{--navy:#071827;--navy2:#0b263a;--ink:#102535;--paper:#f1f4f6;--white:#fff;--line:#cbd5dc;--cyan:#45bfd3;--blue:#176f99;--green:#14724f;--green-bg:#dcefe7;--amber:#a66a0a;--amber-bg:#f4ead4;--red:#a62f38;--red-bg:#f5dde0;--gray:#5d6d78;--shadow:0 16px 42px rgba(11,35,53,.1)}
*{box-sizing:border-box}.demo-page{background:var(--paper);color:var(--ink)}.demo-page button,.demo-page input,.demo-page select,.demo-page textarea{font:inherit}.demo-page button{cursor:pointer}.eyebrow{color:#16809a;font-size:.68rem;font-weight:900;letter-spacing:.15em}.command-deck{background:var(--navy);color:#fff;border-bottom:5px solid var(--cyan);padding:48px 0}.deck-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.55fr);gap:60px;align-items:end}.command-deck h1{font:700 clamp(2.6rem,5vw,5.2rem)/.98 Georgia,serif;max-width:850px;margin:13px 0 18px}.command-deck p{max-width:860px;color:#c6d5de;font-size:1.08rem;line-height:1.65}.command-actions{display:grid;gap:9px}.command-actions button,.section-heading>button{border:1px solid #587286;background:transparent;color:#fff;padding:12px 14px;font-weight:800;text-align:left}.command-actions .primary-command{background:var(--cyan);border-color:var(--cyan);color:#082233}.command-actions button:disabled{opacity:.45}.command-actions small{color:#91a7b5;padding-top:6px}.finance-strip{background:#fff;padding:40px 0 34px;border-bottom:1px solid var(--line)}.strip-head,.section-heading{display:flex;justify-content:space-between;gap:28px;align-items:end;margin-bottom:22px}.strip-head h2,.section-heading h2{font:700 clamp(1.8rem,3vw,3rem)/1.08 Georgia,serif;margin:7px 0 0}.strip-head p,.section-heading>p{max-width:500px;color:var(--gray);line-height:1.5;margin:0}.finance-grid{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line)}.finance-grid article{padding:18px;border-right:1px solid var(--line);border-top:4px solid #8aa0ad}.finance-grid article:last-child{border-right:0}.finance-grid span,.machine-status span,.qc-metrics span{display:block;color:var(--gray);font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;font-weight:800}.finance-grid strong{display:block;font:700 clamp(1.45rem,2.2vw,2.1rem)/1.1 Georgia,serif;margin:8px 0 5px}.finance-grid small{color:#75838d}.finance-grid .proposal{border-top-color:var(--red)}.finance-grid .pending{border-top-color:var(--amber)}.finance-grid .authorized{border-top-color:var(--green)}.finance-grid .payable{background:var(--navy);color:#fff;border-top-color:var(--cyan)}.finance-grid .payable span,.finance-grid .payable small{color:#afc2ce}.machine-section{background:var(--navy);color:#fff;padding:48px 0}.machine-section .eyebrow{color:var(--cyan)}.run-state{display:grid;grid-template-columns:auto auto;align-items:center;gap:2px 8px}.run-state i{width:10px;height:10px;background:#647784;border-radius:50%;grid-row:1/3}.run-state small{color:#8ca3b2}.run-state i.live{background:var(--cyan);box-shadow:0 0 0 6px rgba(69,191,211,.16);animation:pulse 1.1s infinite}.run-state i.done{background:#41cc92}.workflow{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);border:1px solid #2c485b}.workflow li{min-height:145px;padding:18px 14px;border-right:1px solid #2c485b;background:#0a2031;transition:.2s}.workflow li:last-child{border:0}.workflow span{display:grid;place-items:center;width:31px;height:31px;border:1px solid #587182;border-radius:50%;font-size:.7rem;color:#9eb3c0;margin-bottom:18px}.workflow b,.workflow small{display:block}.workflow b{font-size:.86rem}.workflow small{color:#8fa6b4;line-height:1.4;margin-top:7px}.workflow li.active{background:#12394c;box-shadow:inset 0 4px 0 var(--cyan)}.workflow li.active span{background:var(--cyan);border-color:var(--cyan);color:#072132}.workflow li.complete span{background:var(--green);border-color:var(--green);color:#fff}.machine-status{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #2c485b;border-top:0}.machine-status div{padding:14px;border-right:1px solid #2c485b}.machine-status div:last-child{border:0}.machine-status span{color:#8199a8}.machine-status b{display:block;margin-top:5px}.ppr-section,.invoice-section,.population-section,.qc-section,.export-section{padding:56px 0}.ppr-section,.population-section,.export-section{background:#fff}.ppr-key{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.ppr-key span,.status-chip{padding:5px 8px;font-size:.64rem;font-weight:900;letter-spacing:.04em;border-left:3px solid}.key-cleared,.status-chip.cleared{background:var(--green-bg);color:var(--green);border-color:var(--green)!important}.key-human,.status-chip.human{background:var(--amber-bg);color:#7b4d04;border-color:var(--amber)!important}.key-fail,.status-chip.fail{background:var(--red-bg);color:var(--red);border-color:var(--red)!important}.key-pending,.status-chip.unrun{background:#e9edf0;color:#5b6870;border-color:#87949c!important}.table-scroll{overflow:auto;border:1px solid var(--line);background:#fff}.ppr-table{border-collapse:collapse;width:100%;min-width:1450px}.ppr-table th,.ppr-table td{padding:13px 11px;text-align:left;vertical-align:top;border-bottom:1px solid #dbe2e7;font-size:.76rem}.ppr-table th{position:sticky;top:0;background:#e8edf1;color:#50616c;font-size:.61rem;letter-spacing:.08em;text-transform:uppercase;z-index:1}.ppr-table tr.active{background:#edf9fb}.ppr-table td:nth-child(7){max-width:270px}.money{white-space:nowrap;font-variant-numeric:tabular-nums}.delta-negative{color:var(--red);font-weight:900}.delta-zero{color:#52636e}.invoice-section{background:#e9eef2}.section-heading>button{color:var(--ink);border-color:#8da0ad}.view-tabs{display:flex;border-bottom:1px solid #aebdc7;gap:2px}.view-tabs button{border:0;border-bottom:4px solid transparent;background:transparent;padding:12px 16px;color:#586975;font-weight:800}.view-tabs button[aria-selected=true]{color:var(--ink);border-color:var(--blue);background:#fff}.invoice-view{background:#fff;border:1px solid var(--line);border-top:0;min-height:280px;padding:22px}.invoice-meta{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);margin-bottom:16px}.invoice-meta div{padding:12px;border-right:1px solid var(--line)}.invoice-meta div:last-child{border:0}.invoice-meta span{display:block;font-size:.62rem;text-transform:uppercase;color:var(--gray);letter-spacing:.07em}.invoice-meta b{display:block;margin-top:5px}.readable-table{width:100%;border-collapse:collapse}.readable-table th,.readable-table td{font-size:.78rem;text-align:left;padding:11px;border-bottom:1px solid #dfe5e9}.readable-table th{color:#596873;font-size:.63rem;text-transform:uppercase}.population-grid{display:grid;grid-template-columns:.72fr 1.3fr .72fr;border:1px solid var(--line);min-height:480px}.queue-panel,.review-panel{min-width:0}.queue-panel{background:#f4f6f7}.population-grid article+article{border-left:1px solid var(--line)}.queue-panel header,.review-panel>header,.history-panel header{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:15px;border-bottom:1px solid var(--line);background:#e9eef1}.queue-panel header span,.review-panel>header span,.history-panel header span{font-size:.6rem;letter-spacing:.09em;color:var(--gray)}.queue-panel h3{font:700 1.35rem Georgia,serif;margin:3px 0}.queue-panel header>b{font-size:1.5rem}.record-queue{padding:10px;display:grid;gap:7px}.queue-record{width:100%;border:1px solid #cbd5dc;background:#fff;text-align:left;padding:11px;color:var(--ink)}.queue-record:hover,.queue-record.selected{border-color:var(--blue);box-shadow:inset 4px 0 0 var(--blue)}.queue-record b,.queue-record span,.queue-record small{display:block}.queue-record span{font-size:.72rem;margin:4px 0}.queue-record small{color:var(--gray)}.review-panel{background:#fff}.review-panel>header b{font-size:.78rem}.review-form{padding:22px}.record-summary{background:var(--navy);color:#fff;padding:17px;margin-bottom:18px}.record-summary span{color:#9fb3bf;font-size:.68rem}.record-summary p{font:1.05rem/1.5 Georgia,serif}.review-form label,.qc-controls label{display:grid;gap:6px;font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;font-weight:800;margin:12px 0}.review-form input,.review-form select,.review-form textarea,.qc-controls input,.qc-review input,.qc-review select,.qc-review textarea{width:100%;padding:10px;border:1px solid #aebcc5;background:#fff;color:var(--ink)}.review-form textarea,.qc-review textarea{min-height:75px;resize:vertical}.review-form .certify,.qc-review .certify{display:flex;grid-template-columns:auto 1fr;align-items:start;text-transform:none;letter-spacing:0;font-weight:500;line-height:1.4}.review-form .certify input,.qc-review .certify input{width:auto;margin-top:3px}.review-form button,.qc-controls button,.qc-review button,.export-control button{border:0;background:var(--navy);color:#fff;padding:11px 13px;font-weight:800}.review-form button:disabled,.qc-controls button:disabled,.qc-review button:disabled,.export-control button:disabled{opacity:.4;cursor:not-allowed}.empty-state{padding:28px;color:#71808a;line-height:1.6}.qc-section{background:#edf1f3}.qc-grid{display:grid;grid-template-columns:.62fr 1fr 1.2fr;border:1px solid var(--line);background:#fff}.qc-grid>*+*{border-left:1px solid var(--line)}.qc-controls{padding:20px}.qc-controls label span{display:flex;align-items:center;gap:5px}.qc-controls input{max-width:100px}.qc-controls button{display:block;width:100%;margin-top:8px}.qc-controls p{font-size:.75rem;color:var(--gray);line-height:1.5}.qc-metrics{display:grid;grid-template-columns:repeat(2,1fr)}.qc-metrics article{padding:18px;border-right:1px solid #dde4e8;border-bottom:1px solid #dde4e8}.qc-metrics article:nth-child(even){border-right:0}.qc-metrics b{display:block;font-size:1.55rem;margin-top:5px}.qc-review{padding:20px}.qc-review h3{font:700 1.4rem Georgia,serif;margin:4px 0}.qc-review .qc-actions{display:flex;gap:8px}.qc-review .agree{background:var(--green)}.qc-review .defect{background:var(--red)}.export-grid{display:grid;grid-template-columns:.85fr 1.15fr;border:1px solid var(--line)}.export-grid>*+*{border-left:1px solid var(--line)}.export-control{padding:22px}.export-control dl{margin:0}.export-control dl div{display:grid;grid-template-columns:160px 1fr;gap:15px;padding:9px 0;border-bottom:1px solid #dce3e7}.export-control dt{color:var(--gray)}.export-control dd{margin:0;font-weight:800;word-break:break-word}.export-control>button{width:100%;margin-top:18px;background:var(--blue)}.export-files{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:8px}.export-files button{background:#e8eef2;color:var(--ink)}.history-panel ol{list-style:none;padding:12px 18px;margin:0;max-height:360px;overflow:auto}.history-panel li{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #dce4e8;font-size:.76rem}.history-panel time{color:var(--blue);font-weight:800}.history-panel small{display:block;color:var(--gray);margin-top:3px}.boundary-section{background:var(--navy2);color:#d7e3ea;padding:30px 0;border-top:5px solid var(--cyan)}.boundary-section .container{display:grid;grid-template-columns:220px 1fr auto;gap:25px;align-items:center}.boundary-section strong{color:var(--cyan);letter-spacing:.1em}.boundary-section p{line-height:1.55}.boundary-section a{color:#fff}.viewer-head{display:flex;justify-content:space-between;align-items:center;background:var(--navy);color:#fff;padding:17px 21px}.viewer-head span{font-size:.64rem;color:var(--cyan);letter-spacing:.12em}.viewer-head h2{font:700 1.7rem Georgia,serif;margin:3px 0}.viewer-head button{border:0;background:transparent;color:#fff;font-size:2rem}dialog{width:min(1100px,94vw);max-height:88vh;padding:0;border:0;box-shadow:0 30px 80px #0007}dialog::backdrop{background:#03101bd9}dialog pre{margin:0;padding:23px;white-space:pre-wrap;word-break:break-word;max-height:70vh;overflow:auto;background:#f7f9fa;font:12px/1.55 Consolas,monospace}@keyframes pulse{50%{box-shadow:0 0 0 11px rgba(69,191,211,.03)}}
@media(max-width:1050px){.finance-grid{grid-template-columns:repeat(3,1fr)}.finance-grid article:nth-child(3){border-right:0}.finance-grid article:nth-child(n+4){border-top-width:1px}.population-grid{grid-template-columns:1fr 1.5fr}.cleared-panel{grid-column:1/-1;border-left:0!important;border-top:1px solid var(--line)}.qc-grid{grid-template-columns:.8fr 1.2fr}.qc-review{grid-column:1/-1;border-left:0!important;border-top:1px solid var(--line)}}
@media(max-width:760px){.deck-grid,.strip-head,.section-heading{display:block}.command-actions{margin-top:28px}.command-deck h1{font-size:2.8rem}.finance-grid{grid-template-columns:1fr 1fr}.finance-grid article:nth-child(odd){border-right:1px solid var(--line)}.finance-grid article:nth-child(even){border-right:0}.finance-grid article:last-child{grid-column:1/-1}.workflow{display:flex;flex-direction:column}.workflow li{min-height:0;border-right:0;border-bottom:1px solid #2c485b;display:grid;grid-template-columns:42px 1fr;column-gap:8px;padding:13px}.workflow li span{grid-row:1/3;margin:0}.workflow li small{margin-top:3px}.workflow li.active{box-shadow:inset 5px 0 0 var(--cyan)}.machine-status{grid-template-columns:1fr 1fr}.population-grid,.qc-grid,.export-grid{grid-template-columns:1fr}.population-grid article+article,.qc-grid>*+*,.export-grid>*+*{border-left:0;border-top:1px solid var(--line)}.cleared-panel{grid-column:auto}.qc-review{grid-column:auto}.invoice-meta{grid-template-columns:1fr 1fr}.boundary-section .container{grid-template-columns:1fr;gap:8px}.strip-head p,.section-heading>p{margin-top:12px}.section-heading>button{margin-top:14px}.view-tabs{overflow-x:auto}.view-tabs button{white-space:nowrap}.export-control dl div{grid-template-columns:1fr;gap:3px}.site-header .utility b{display:none}}
@media(max-width:440px){.finance-grid{grid-template-columns:1fr}.finance-grid article,.finance-grid article:nth-child(odd){border-right:0}.finance-grid article:last-child{grid-column:auto}.machine-status{grid-template-columns:1fr}.machine-status div{border-right:0;border-bottom:1px solid #2c485b}.qc-metrics{grid-template-columns:1fr}.qc-metrics article{border-right:0}.export-files{grid-template-columns:1fr}.review-form{padding:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.run-state i.live{animation:none}.workflow li{transition:none}}
.firm-section,.sheet-section,.economics-section,.history-section,.json-section{padding:4.5rem 0;border-bottom:1px solid #cbd4dc;background:#f4f7f9}.sheet-section,.json-section{background:#fff}.section-actions{display:flex;gap:.6rem;flex-wrap:wrap}.section-actions button,.email-demo,#printSheet,#downloadPackage{border:1px solid #8da0ad;background:#fff;color:#102535;padding:11px 13px;font-weight:800}.surface-note,.source-note{max-width:90ch;color:#4e5c68}.source-note{font-size:.76rem;margin-top:.8rem}.profile-grid{display:grid;grid-template-columns:repeat(9,1fr);border:1px solid #b9c6d0;background:#fff}.profile-grid article{padding:1.1rem;border-right:1px solid #d8e0e6}.profile-grid span{display:block;font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#52616d}.profile-grid b{display:block;margin-top:.35rem;font:700 1.15rem Georgia,serif;color:#112c3e}.dre-sheet{min-width:1550px;width:100%;border-collapse:collapse;font-size:.78rem}.dre-sheet th,.dre-sheet td,.history-table th,.history-table td{padding:.72rem .62rem;border-bottom:1px solid #d8e0e6;text-align:right;white-space:nowrap}.dre-sheet th:first-child,.dre-sheet td:first-child,.history-table th:nth-child(-n+2),.history-table td:nth-child(-n+2){text-align:left}.dre-sheet thead,.history-table thead{background:#112c3e;color:#fff}.dre-sheet tbody tr:nth-child(even),.history-table tbody tr:nth-child(even){background:#f4f7f9}.dre-sheet .total-row{font-weight:700;background:#dfeaf0}.drill-row,.history-drill,.record-link{border:0;background:none;padding:0;color:#075b78;text-align:left;text-decoration:underline;text-underline-offset:3px}.negative{color:#8b2735}.positive{color:#176338}.economics-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}.labor-calculator,.billing-funnel{background:#fff;border:1px solid #b9c6d0;padding:1.5rem}.labor-calculator h3,.billing-funnel h3{margin-top:0}.comparison{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #ccd5dc;margin:1rem 0}.comparison>div{padding:1rem;border-right:1px solid #d8e0e6}.comparison span,.comparison b,.comparison strong{display:block}.comparison span{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:#52616d}.comparison b{margin:.45rem 0}.comparison strong{font:700 1.2rem Georgia,serif}.comparison .savings{background:#e4f1eb;color:#135b35}.funnel-step{width:var(--w);background:#112c3e;color:#fff;padding:.75rem 1rem;margin:.5rem 0}.funnel-step:nth-child(2){background:#1c617a}.funnel-step:nth-child(3){background:#367c82}.funnel-step span,.funnel-step b,.funnel-step small{display:block}.ppr-toolbar,.history-controls{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:.9rem}.ppr-toolbar label,.history-controls label,.json-workspace label{font-weight:700;font-size:.76rem;text-transform:uppercase;letter-spacing:.05em}.ppr-toolbar select,.history-controls select,.json-workspace select{display:block;margin-top:.25rem;padding:.55rem;border:1px solid #9eacb7;background:#fff}.history-table{min-width:1050px;width:100%;border-collapse:collapse;font-size:.82rem}.json-workspace{display:grid;grid-template-columns:230px 1fr;border:1px solid #b9c6d0;background:#fff}.json-workspace aside{padding:1.2rem;background:#112c3e;color:#fff}.json-workspace aside select{width:100%;text-transform:none}.json-workspace aside button{width:100%;margin-top:.7rem}.record-stepper{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.4rem;margin:.5rem 0}.record-stepper button{margin:0!important}.json-workspace article{padding:1.5rem}.json-workspace article header{display:flex;align-items:start;justify-content:space-between;gap:1rem;border-bottom:2px solid #112c3e;padding-bottom:1rem}.json-workspace article dl{display:grid;grid-template-columns:repeat(2,1fr);margin:0}.json-workspace article dl div{padding:1rem;border-bottom:1px solid #d8e0e6}.json-workspace article .wide{grid-column:1/-1}.json-workspace dt{font-size:.68rem;text-transform:uppercase;color:#52616d;font-weight:700}.json-workspace dd{margin:.35rem 0 0}.json-workspace pre{margin:0;padding:1.5rem;max-height:620px;overflow:auto;background:#071b28;color:#dce8ed;white-space:pre-wrap}.machine-context{padding:1rem;background:#e6f0f4;border-left:4px solid #1c617a}.machine-context.concealed{background:#eceff1;border-color:#667783}
.industry-rail{margin-top:2rem;border:1px solid #8ea2b1;background:#eaf0f4}.industry-rail>header{display:grid;grid-template-columns:1.1fr .9fr;gap:2rem;align-items:end;padding:1.3rem 1.5rem;background:#18384d;color:#fff}.industry-rail>header h3{margin:.35rem 0 0;font:700 1.55rem Georgia,serif}.industry-rail>header p{margin:0;color:#c9d7df;line-height:1.5}.industry-facts{display:grid;grid-template-columns:repeat(4,1fr)}.industry-facts article{min-width:0;padding:1.25rem;background:#f8fafb;border-right:1px solid #c5d0d7;border-bottom:1px solid #c5d0d7}.industry-facts article:nth-child(4n){border-right:0}.industry-facts strong{display:block;color:#176f99;font:700 1.75rem/1 Georgia,serif}.industry-facts h4{margin:.5rem 0 .35rem;color:#18384d;font-size:.83rem;text-transform:uppercase;letter-spacing:.05em}.industry-facts p{min-height:4.8em;margin:.3rem 0 .8rem;color:#43545f;font-size:.8rem;line-height:1.5}.industry-facts a{color:#075b78;font-size:.71rem;font-weight:800;text-underline-offset:3px}.industry-facts .controls-fact{background:#e1ebf0}.industry-rail>footer{padding:.85rem 1.5rem;color:#43545f;font-size:.75rem}.industry-rail>footer b{color:#18384d}.industry-rail .eyebrow{color:#7dd6e3}
@media(max-width:1100px){.profile-grid{grid-template-columns:repeat(3,1fr)}.economics-grid{grid-template-columns:1fr}.industry-facts{grid-template-columns:repeat(2,1fr)}.industry-facts article:nth-child(4n){border-right:1px solid #c5d0d7}.industry-facts article:nth-child(2n){border-right:0}}
@media(max-width:700px){.firm-section,.sheet-section,.economics-section,.history-section,.json-section{padding:2.5rem 0}.profile-grid{grid-template-columns:repeat(2,1fr)}.comparison{grid-template-columns:1fr}.comparison>div{border-right:0;border-bottom:1px solid #d8e0e6}.ppr-toolbar,.history-controls{display:block}.json-workspace{grid-template-columns:1fr}.json-workspace article header{display:block}.json-workspace article dl{grid-template-columns:1fr}.json-workspace article .wide{grid-column:auto}.funnel-step{width:100%}.industry-rail>header{grid-template-columns:1fr;gap:.7rem}.industry-facts{grid-template-columns:1fr}.industry-facts article,.industry-facts article:nth-child(2n),.industry-facts article:nth-child(4n){border-right:0}.industry-facts p{min-height:0}}
@media print{.command-actions,.section-actions,.email-demo,#printSheet,.site-header,.site-footer,.machine-section,.population-section,.qc-section,.export-section,.json-section,.invoice-section,.boundary-section{display:none!important}.sheet-section{padding:0}.dre-sheet{min-width:0;font-size:7pt}.dre-sheet th,.dre-sheet td{padding:4pt 3pt;white-space:normal}.dre-sheet thead{background:#ddd!important;color:#000!important}.negative,.positive{color:#000!important}.container{max-width:none!important;width:100%!important}}
