*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#192d31;font:14px/1.5 Inter,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce3e4;border-radius:7px;background:white;padding:9px 14px;color:inherit}button:hover{background:#edf3f1}button:focus-visible,a:focus-visible{outline:3px solid #79b4a2;outline-offset:2px}.primary{background:#12634f;color:white;border-color:#12634f}.primary:hover{background:#084b3b}aside{position:fixed;width:226px;height:100vh;background:#fff;border-right:1px solid #e2e7e7;padding:27px 20px}.brand{display:flex;gap:9px;align-items:center;font-size:19px;font-weight:700;color:#153e33;text-decoration:none}.sub{color:#8b9797;font-size:11px;text-transform:uppercase;letter-spacing:1.4px;margin:43px 9px 12px}.nav{width:100%;text-align:left;border:0;margin-bottom:7px}.active{background:#e7f1ed;color:#155740;font-weight:600}.nav span{float:right}.aside-bottom{position:absolute;bottom:26px;font-size:12px;max-width:180px}.aside-bottom p{color:#83918f;font-size:11px}.dot{display:inline-block;width:6px;height:6px;background:#319b77;border-radius:50%;margin-right:5px}.quiet{border:0;padding:4px 0;background:none;font-size:12px;color:#6d7b79}main{margin-left:226px;padding:38px 42px;max-width:1700px}header{display:flex;justify-content:space-between;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#608078}h1{font-size:30px;letter-spacing:-1px;line-height:1.3;margin:9px 0}h2{font-size:22px;line-height:1.35;margin:7px 0}h3{font-size:14px;margin:0 0 7px}.muted{color:#74817f;margin:0}.actor{display:flex;flex-direction:column;color:#6e7e79;font-size:12px;width:190px}.actor select{margin-top:5px}.actor small{font-size:10px;margin-top:5px}input,select,textarea{border:1px solid #d5dfdc;border-radius:6px;background:white;padding:9px 11px;width:100%;color:#233d35}textarea{min-height:80px;resize:vertical}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:27px}.stat{padding:18px 22px;background:white;border:1px solid #e1e7e5;border-radius:9px}.stat span{display:block;color:#6f8079;font-size:12px}.stat strong{display:block;font-size:25px;font-weight:600;margin-top:7px}.stat small{font-size:11px;color:#82908b}.workspace{border:1px solid #e0e6e4;background:white;border-radius:10px;overflow:hidden}.toolbar{display:flex;justify-content:space-between;gap:10px;padding:15px 18px;border-bottom:1px solid #e7ebe9}.tabs{display:flex;gap:5px;align-items:center}.tabs button{border:0;font-size:12px;padding:8px 10px;color:#74817a}.tabs .selected{color:#145b45;background:#edf4f0;font-weight:600}.tools{display:flex;gap:10px}.tools input{width:170px;font-size:12px}.tools button{font-size:12px;white-space:nowrap}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:10px;color:#7d8a85;text-transform:uppercase;letter-spacing:.7px;padding:12px 19px;background:#fafbfa;font-weight:600}td{padding:20px 19px;border-top:1px solid #edf0ee;font-size:12px}td strong{font-size:13px;display:block;margin-bottom:3px}td small{color:#87938d}.status{display:inline-block;padding:4px 9px;font-size:11px;border:1px solid #dce5df;border-radius:20px;color:#52735e;background:#f3f8f4;white-space:nowrap}.status.Quotes{background:#f3f0fb;color:#77638e;border-color:#e2dbf1}.status.Review{background:#fff7e9;color:#997020;border-color:#efdfbe}.guide{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:30px 4px}.guide p{font-size:12px;color:#7a8780;margin:0;max-width:420px}footer{font-size:10px;color:#8d9791;border-top:1px solid #e1e6e2;padding-top:16px}.empty{padding:30px}dialog{border:1px solid #dce4df;border-radius:14px;width:min(880px,94vw);padding:0;box-shadow:0 30px 100px #102d3633;max-height:90vh}dialog::backdrop{background:#152b3066;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;padding:24px 27px;border-bottom:1px solid #e6ece8;gap:15px}.dialog-head button{align-self:start}#body{padding:24px 27px}.steps{display:flex;gap:5px;margin-bottom:25px}.step{flex:1;font-size:10px;padding:8px;border-top:3px solid #dfe6e2;color:#87958c}.step.current{border-color:#137052;color:#125a40;font-weight:700}.grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}label{display:block;font-size:12px;margin-bottom:13px}label input,label textarea,label select{display:block;margin-top:4px}.check{display:flex;gap:8px;align-items:center;margin:10px 0}.check input{width:auto;margin:0}.panel{background:#f7f9f7;border:1px solid #e6ece6;border-radius:8px;padding:17px;margin-bottom:20px}.quote{display:grid;grid-template-columns:20px 1fr 105px 80px;gap:10px;align-items:center;padding:12px 5px;border-bottom:1px solid #e5ebe5;font-size:12px}.quote input{margin:0;width:auto}.quote span:last-child{color:#748579}.quote-form{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;margin-top:15px}.quote-form input{min-width:0}.quote-form button{font-size:11px}.history{padding-left:17px;font-size:11px;color:#6c7d72}.history li{padding:4px}.dialog-foot{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 27px;border-top:1px solid #e3eae5;background:#fafcf9}.dialog-foot p{color:#9d4b28;font-size:12px;margin:0}.buttons{display:flex;gap:10px;justify-content:end}#create{max-width:540px;padding:26px}.download{margin-top:15px;font-size:12px}.small{font-size:11px;color:#77837d}body.locked{overflow:hidden}@media(max-width:1000px){main{padding:26px 22px}aside{width:188px;padding:25px 14px}main{margin-left:188px}.brand{font-size:16px}.toolbar{flex-direction:column}.tablewrap{overflow:auto}}@media(max-width:680px){aside{position:static;height:auto;width:auto;padding:15px 20px;display:flex;justify-content:space-between;border-right:0;border-bottom:1px solid #ddd}.sub,.nav,.aside-bottom{display:none}main{margin:0;padding:24px 16px}header{flex-direction:column}.actor{width:100%;display:grid;grid-template-columns:1fr 1fr;align-items:center}.actor small{grid-column:1/3}.stats{gap:7px}.stat{padding:12px}.stat strong{font-size:22px}.stat small{font-size:10px}.guide,.grid{grid-template-columns:1fr;gap:15px}h1{font-size:27px}.tools input{width:100%}.tools{justify-content:space-between}td,th{padding:13px 11px}td strong{min-width:190px}.dialog-head,#body{padding:19px}.quote-form{grid-template-columns:1fr 1fr}.quote-form input:first-child{grid-column:1/3}.quote{grid-template-columns:18px 1fr 75px 45px;font-size:11px}.steps{gap:2px}.step{padding:6px 2px;font-size:9px}.dialog-foot{padding:15px}.dialog-foot button{min-width:100px}footer{line-height:1.6}}

#settings{max-width:650px;padding:26px}#settingserror{color:#9d4b28}@media(max-width:680px){aside{flex-wrap:wrap;gap:7px}.nav{display:block;width:auto;font-size:11px;padding:6px 9px}.brand{width:100%}#all{display:none}.tablewrap{overflow:visible}thead{display:none}tbody,tr,td{display:block}tr{padding:14px 16px;border-bottom:1px solid #e3e9e5;display:grid;grid-template-columns:1fr 1fr;gap:4px}td{padding:3px;border:0}td:first-child{grid-column:1/3}td:first-child strong{font-size:15px}td:nth-child(3){text-align:right}td:last-child{grid-column:2;text-align:right}td:nth-child(4){grid-column:1;grid-row:3}td:last-child button{width:100%}.stat strong{font-size:18px}.dialog-foot{position:sticky;bottom:0}#settings{padding:20px}}
@media(max-width:680px){main{padding-top:18px}header{margin-bottom:17px;gap:12px}header>.muted,header>div>.muted{font-size:12px}.stats{margin-bottom:17px}.stat{padding:10px 9px}.stat small{display:none}.stat span{font-size:10px;line-height:1.3;min-height:26px}.stat strong{font-size:16px;margin-top:4px}.actor{margin-bottom:0}.actor small{margin-top:0}.eyebrow{font-size:9px}h1{font-size:25px}aside{padding:12px 16px}}

#adaptiveDialog{max-width:650px}#surface{margin-top:20px}#surface button p{margin:0}#adaptiveError{color:#9d4b28}.tools{flex-wrap:wrap}@media(max-width:680px){.tools input{width:100%}.tools button{flex:1}#adaptiveDialog .dialog-head h2{font-size:20px}}

.evidence-section{margin:30px 0}.evidence-heading{display:flex;gap:15px;justify-content:space-between;align-items:center}.evidence-heading h3{font-size:20px;margin:7px 0}.evidence-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.evidence-card{border:1px solid #dbe5df;border-radius:12px;padding:16px;min-width:0;background:#fff}.evidence-card h3{font-size:13px;margin:0 0 14px}.offer-price{font-size:25px;letter-spacing:-.7px;color:#164b39;font-weight:650}.offer-price small{font-size:11px;letter-spacing:0}.evidence-card p{font-size:11px;color:#65776b}.evidence-card summary{cursor:pointer;color:#176746;font-size:12px;padding:10px 0;border-top:1px solid #e3eae5}.source-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f7f3;padding:12px;border-radius:5px;font:12px/1.7 Georgia,serif;max-height:220px;overflow:auto}.source-text mark{background:#f0e6bb}.evidence-review{border-top:1px solid #dce5df;padding-top:12px}.review-error{color:#a04c2e!important}@media(max-width:680px){.evidence-cards{grid-template-columns:1fr}.evidence-heading{align-items:flex-start}.evidence-heading h3{font-size:18px}}
.reconciliation{margin-top:24px}.reconciliation h3{margin:10px 0}.reconcile-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.reconcile-summary>div{background:#fff;border:1px solid #dce5df;padding:14px;border-radius:9px}.reconcile-summary strong,.reconcile-summary span{display:block}.reconcile-summary strong{font-size:20px;margin:6px 0}.reconcile-summary small,.reconcile-summary span{font-size:11px;color:#62766b}.reconcile-result{background:#fff5e4;border-left:3px solid #bd8c38;padding:16px;margin-bottom:20px;font-size:12px}.reconcile-result.matched{background:#eaf4ed;border-color:#267e54}.reconcile-result ul:empty{display:none}.reconcile-error{color:#a04c2e;font-size:12px}@media(max-width:680px){.reconcile-summary{gap:5px}.reconcile-summary>div{padding:9px}.reconcile-summary strong{font-size:15px}.reconcile-summary small{font-size:8px}}
.reconcile-result>strong,.reconcile-result>small{display:block}.reconcile-result>small{margin-top:8px}.void-entry{margin:10px 0 20px;padding:12px;border:1px solid #dce5df;border-radius:8px}.void-entry button{margin-top:8px}

/* Cohesion Lab V5 palette adaptation */
body{background:#faf9f6;color:#28343f;font-family:system-ui,-apple-system,Segoe UI,sans-serif}aside{background:#eaf0f4;border-color:#b7c4cf}.primary{background:#315f83;border-color:#315f83}.primary:hover{background:#244964}.nav.active{background:#dce7ef;color:#244964}.brand{font-size:18px}.nav{display:block;text-decoration:none}.scenario-highlight{outline:3px solid #315f83;outline-offset:4px}button:focus-visible,a:focus-visible{outline-color:#315f83}
a.nav{color:inherit;padding:9px 12px;border-radius:7px}a.nav:hover{background:#dce7ef}.brand{color:#28343f}.tabs .selected{background:#eaf0f4;color:#315f83}.dot{background:#315f83}
