:root{font-family:Inter,system-ui,sans-serif;color:#142337;background:#eef3f8;line-height:1.5}*{box-sizing:border-box}body{margin:0}header{background:#0b1929;color:white;padding:1rem max(1rem,calc((100% - 920px)/2));display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem}header strong{font-size:1.15rem}header span{color:#87c9ff}nav{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}a{color:#005ca9}nav a{color:#d5eaff}main{max-width:960px;margin:auto;padding:1.5rem}h1{font-size:clamp(1.8rem,5vw,2.7rem);letter-spacing:-.045em;line-height:1.1;margin:.4rem 0 .65rem}h2{font-size:1.05rem;margin:.2rem 0 .4rem}p{margin:.35rem 0 .7rem}.muted{color:#476079}.editor,.packet,.saved{background:#fff;border:1px solid #c9d6e3;border-radius:.65rem;padding:1.25rem;margin-top:1rem}.editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.editor label{display:grid;gap:.3rem;font-weight:650}.wide{grid-column:1/-1}input,textarea,button{font:inherit;border:1px solid #66839d;border-radius:.35rem;padding:.6rem}input,textarea{width:100%;min-width:0}button{background:white;color:#0b3157;cursor:pointer;font-weight:700}.primary{background:#075daf;color:white;border-color:#075daf;justify-self:start}.error{color:#8a1f1b}.login{max-width:480px;margin:2rem auto}.packet-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.packet{max-width:760px;margin:1rem auto;padding:clamp(1rem,5vw,2.6rem);overflow-wrap:anywhere}.letterhead{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;color:#476079;border-bottom:1px solid #c4d4e1;margin-bottom:1.4rem}.letterhead p:first-child{color:#0c3158;font-weight:800}.amount{background:#e8f2fc;border-left:5px solid #075daf;padding:1rem;margin:1.3rem 0;display:grid}.amount strong{font-size:2rem;line-height:1.2}.packet section{margin:1.05rem 0;break-inside:avoid}.packet section p{white-space:pre-line}.packet dl{display:flex;gap:.8rem 1.5rem;flex-wrap:wrap;margin:.35rem 0}.packet dt{font-size:.82rem;color:#476079}.packet dd{margin:0;font-weight:700}.packet footer{border-top:1px solid #c4d4e1;margin-top:1.25rem;padding-top:.8rem}.saved{padding-left:2.5rem}.saved li+li{margin-top:.5rem}:focus-visible{outline:3px solid #2b83cf;outline-offset:2px}
@media(max-width:560px){.editor{grid-template-columns:1fr}main{padding:1rem}}
@page{margin:.55in}
@media print{.screen{display:none!important}body,main{background:#fff;padding:0;margin:0}.packet{border:0;padding:0;margin:0;max-width:none}.amount{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.check input{width:auto;margin-right:.35rem}.saved li{overflow-wrap:anywhere}
.editor-heading{padding-top:.65rem;border-top:1px solid #d4dfe9;margin:0}.editor label small{font-size:.83rem;color:#476079;font-weight:400}.packet table{width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}.packet th,.packet td{border-bottom:1px solid #cedbe7;padding:.5rem;vertical-align:top}.packet thead th{background:#eff5fa}.packet .offer-math td{text-align:right;white-space:nowrap}.packet .total{background:#e8f2fc;font-weight:800}.table-wrap{overflow-x:auto}.packet .packet-evidence{break-inside:auto}.packet tr{break-inside:avoid}.packet thead{display:table-header-group}
@media print{.table-wrap{overflow:visible}.packet h2{break-after:avoid}}
.editor [hidden]{display:none!important}.evidence-group{min-width:0;border:1px solid #c9d6e3;border-radius:.45rem;padding:.7rem 1rem}.evidence-group legend{font-weight:750;padding:0 .35rem}.evidence-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:.55rem;align-items:end;margin-bottom:.75rem}.evidence-row select{width:100%;padding:.65rem;border:1px solid #66839d;border-radius:.35rem;font:inherit}.evidence-row button{justify-self:start}.price-check{display:block;background:#e8f2fc;padding:.8rem;border-radius:.35rem;font-weight:700}.offer-summary{background:#f0f6fc;border:1px solid #c9ddeb;border-radius:.45rem;padding:.9rem 1rem}.offer-summary ul{list-style:none;margin:.45rem 0;padding:0}.offer-summary li{display:flex;justify-content:space-between;gap:1rem;padding:.25rem 0;border-bottom:1px solid #ccdfef}
.dealer-logo{max-width:130px;max-height:56px;display:block;margin-bottom:.35rem}.subject-photo,.inventory-photo{max-width:100%;max-height:175px;object-fit:contain;display:block;margin:.3rem 0 .55rem}.offer-next{background:#f4f7fb;padding:.8rem 1rem;border-radius:.4rem}.inventory-card{padding:.8rem;border:1px solid #cedbe7;border-radius:.4rem;margin:.55rem 0;break-inside:avoid}.inventory-card h3{margin:.15rem 0;font-size:1rem}.inventory-entry{margin:.65rem 0}.inventory-entry summary{cursor:pointer;font-weight:750}.inventory-section{break-inside:auto}.inventory-section h2{break-after:avoid}
@media print{.inventory-section{break-before:page}}
.offer-cover{display:flex;align-items:stretch;gap:1rem;flex-wrap:wrap;margin-top:1rem}.offer-cover .amount{margin:0;flex:1;min-width:min(100%,220px)}.offer-cover .subject-photo{margin:0;max-width:min(100%,300px);max-height:200px;border-radius:.4rem}.adjustment-photo{display:block;max-width:100%;max-height:125px;margin:.4rem 0}.adjustment-note{font-weight:400;margin:.3rem 0}.inventory-compare{padding:.45rem .65rem;background:#f2f6fb;border-radius:.3rem}.inventory-compare dd{font-weight:500}
.option-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem}.option-grid article{padding:.7rem;border:1px solid #c9d6e3;border-radius:.4rem;background:#f6f9fd;break-inside:avoid}.option-grid h3{margin:0 0 .4rem;font-size:1rem}.private-calculator,.customer-action{display:grid;gap:.45rem}.private-calculator label,.customer-action label{display:grid;gap:.2rem}.private-calculator output{font-weight:700}.customer-action button{justify-self:start}.customer-action p:empty{display:none}.wait-option{margin-top:.65rem}.wait-option summary{cursor:pointer;font-weight:700}.print-only{display:none}.packet .compare-options{break-inside:auto}.packet-actions form{margin:0}@media(max-width:680px){.option-grid{grid-template-columns:1fr}}@media print{.print-only{display:block}.option-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.customer-details{margin-top:1rem;border-top:1px solid #c9d6e3;padding-top:.8rem}.customer-details summary{font-weight:750;cursor:pointer;color:#164c7e}.offer-cover .amount strong{font-size:1.1rem}.customer-details>section:first-of-type{margin-top:.85rem}
@media print{body:not(.print-with-details) .customer-details{display:none}.print-with-details .customer-details{break-before:page}.print-with-details .customer-details summary{display:none}.print-with-details .inventory-section{break-before:auto}}
.archive-search{display:flex;align-items:end;gap:.6rem;flex-wrap:wrap;margin-top:1rem}.archive-search label{display:grid;gap:.25rem;min-width:min(100%,320px)}.archive-search a{padding:.6rem .15rem}
header>a{color:white}.queue-list{display:grid;gap:.65rem;list-style:none;padding:0}.queue-list li{background:white;border:1px solid #c9d6e3;padding:.85rem;border-radius:.4rem}.queue-list h3{margin:0}.queue-list small{display:block;color:#476079}.workspace-tools{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin:.75rem 0}.workspace-tools a,.workspace-tools button{padding:.45rem}.task-state{font-weight:800;color:#115e92}.task-state.overdue{color:#a43c21}.editor select{padding:.55rem;border:1px solid #66839d;border-radius:.35rem;font:inherit;width:100%}.appraisal-status:empty{display:none}.print-terms{break-inside:avoid}

.workspace-nav{display:grid;grid-template-columns:max-content max-content 1fr auto}
.workspace-nav #logout{justify-self:start}
.workspace-nav .new-opportunity{grid-column:4;grid-row:1;display:grid;place-items:center;box-sizing:border-box;width:64px;height:64px;padding:0;border-radius:.65rem;background:#095eb0;color:#fff;font-size:2.5rem;font-weight:700;line-height:1;text-decoration:none}
.workspace-nav .new-opportunity:hover{background:#084b8b}
.workspace-nav .new-opportunity:focus-visible{outline:3px solid #142840;outline-offset:3px}
@media(max-width:380px){.workspace-nav{grid-template-columns:max-content 1fr auto}.workspace-nav .new-opportunity{grid-column:3;grid-row:1 / span 2}.workspace-nav #logout{grid-column:1 / span 2}}

.vehicle-vin{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem .65rem;align-items:end}
.vehicle-vin small{grid-column:1 / -1;color:#476079}
.vehicle-help p{margin:0 0 .3rem}
.vehicle-help p:empty{display:none}

.vehicle-field-hint{margin:0}.editor select:disabled{background:#eef3f8;color:#405b73;opacity:1}

.inspection,.equipment,.damage-map{border:1px solid #c9d6e3;border-radius:.5rem;min-width:0;padding:1rem;margin:0 0 .75rem}
.inspection legend,.equipment legend,.damage-map legend{font-weight:750;padding:0 .4rem}
.inspection-grid,.damage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}
.equipment{display:flex;flex-wrap:wrap;gap:.45rem 1.15rem;margin-top:.8rem}
.editor .equipment label{display:inline-flex;align-items:center;gap:.25rem}
.equipment input{width:auto}
.damage-panel{padding:.4rem;background:#eaf3fc;border-radius:.45rem}
.panel-0,.panel-1,.panel-2,.panel-9{grid-column:2}
@media(max-width:600px){.inspection-grid,.damage-grid{grid-template-columns:1fr 1fr}.damage-panel{grid-column:auto}}

.offer-explanation{border:1px solid #c9d6e3;border-radius:.5rem;background:#f0f6fc;padding:.9rem 1rem}
.offer-explanation h3{font-size:1rem;margin:0}
.offer-explanation summary{cursor:pointer;color:#005ca9}
.offer-explanation label{margin-top:.5rem}

.offer-review-notice{border:1px solid #ddbe75;background:#fff7df;color:#634716;padding:.55rem .75rem;border-radius:.35rem}

.appraisal-section{min-width:0;margin:0;border:1px solid #c9d6e3;border-radius:.5rem;padding:.85rem 1rem}
.appraisal-section legend,.appraisal-section summary{font-weight:750;padding:0 .3rem}
.appraisal-section legend small{font-weight:500;color:#476079;margin-left:.35rem}
.appraisal-section summary,#comparable-entries summary{cursor:pointer;color:#005ca9}
.appraisal-section[open]>summary{margin-bottom:.6rem}
.appraisal-section label{margin-bottom:.45rem}
.appraisal-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:.75rem;align-items:start}
.appraisal-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;border-top:1px solid #c9d6e3;padding-top:.8rem}
.appraisal-actions span{font-size:.9rem}
#comparable-search ul:empty,#comparable-search p:empty,#draft-save-status:empty{display:none}

.queue-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:.65rem;margin:1rem 0}
.queue-metrics a{display:grid;background:#fff;border:1px solid #c9d6e3;border-radius:.55rem;padding:.7rem .9rem;text-decoration:none;color:#142337}
.queue-metrics a[aria-current]{border-color:#075daf;box-shadow:inset 0 0 0 1px #075daf}
.queue-metrics strong{font-size:1.65rem;line-height:1.3}
.manager-queue li{padding:0}
.manager-queue li>a{display:grid;grid-template-columns:1.2fr 1fr auto;gap:.65rem;align-items:center;padding:.8rem .9rem;text-decoration:none;color:#142337}
.manager-queue li>a:hover,.queue-metrics a:hover{background:#f3f8ff}
.queue-badge{width:max-content;border-radius:2rem;padding:.2rem .55rem;background:#eaf0f6;font-size:.8rem;font-weight:700}
.queue-badge.overdue{background:#fce8e6;color:#8b241e}.queue-badge.upcoming{background:#e3eefc;color:#164985}.queue-badge.completed{background:#e1f4e9;color:#1c633c}
@media(max-width:560px){.manager-queue li>a{grid-template-columns:1fr auto}.manager-queue li>a>span:nth-child(2){grid-row:2}.queue-badge{grid-row:1;grid-column:2}}

.appraisal-form{gap:.75rem;margin-top:1rem}
.appraisal-form>.appraisal-section:first-child{background:#f6faff;border-color:#b8cfe7}
.offer-date-shortcuts{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.5rem}
.offer-date-shortcuts button{font-size:.82rem;padding:.25rem .65rem;border-radius:1rem}
.offer-date-shortcuts button:hover{background:#e3effc}
.appraisal-actions{border-top:0;padding:.1rem 0}
.opportunity-management{margin-top:1rem}
.appraisal-form .equipment[open]{display:block}
.appraisal-form .equipment label{margin:.35rem .7rem .1rem 0}
.appraisal-form .damage-grid{margin-top:.6rem}
.adjustment-row{padding:.75rem 0;border-bottom:1px solid #c9d6e3;margin-bottom:.75rem}
.adjustment-row button{align-self:end;justify-self:start}
.adjustment-error{grid-column:1/-1;margin:0}
.adjustment-error:empty,#offer-skip-incomplete[hidden]{display:none}
.adjustment-amount[aria-invalid=true]{border-color:#a52424}

.customer-offer{max-width:860px;padding:0;border-radius:1rem;box-shadow:0 16px 40px #17324d14}
.customer-offer .letterhead{align-items:center;margin:0;padding:.85rem clamp(1rem,4vw,2rem);font-size:.88rem;border-bottom:0}
.customer-offer .letterhead p{margin:0}
.customer-offer-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:1.5rem;padding:clamp(1.2rem,4vw,2rem);background:linear-gradient(115deg,#0d2239,#123f66);color:#fff}
.customer-offer-intro h1{font-size:clamp(1.7rem,4vw,2.5rem);margin:0 0 .4rem}
.customer-offer-intro p{color:#e4edf8;margin:0 0 1.1rem}
.customer-offer-intro h2{margin:0;font-size:clamp(1.15rem,2.6vw,1.5rem)}
.customer-offer-value{display:grid;gap:.25rem;border-left:1px solid #a4c9e875;padding-left:1.35rem}
.customer-offer-value span{color:#d3e7f8;font-size:.9rem}
.customer-offer-value strong{font-size:clamp(1.8rem,5vw,3.25rem);line-height:1.05;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.customer-offer .customer-offer-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:1rem;margin:0;padding:1rem clamp(1rem,4vw,2rem);background:#f1f6fa;border-bottom:1px solid #d4e1eb}
.customer-offer .offer-review-notice{margin:1rem clamp(1rem,4vw,2rem) 0}
.customer-offer-details{padding:1rem clamp(1rem,4vw,2rem) 0}
.customer-offer-details section{margin:0 0 1.1rem}
.customer-offer-details h2{margin:0 0 .35rem;font-size:1.15rem}
.customer-offer-details p{margin:0;color:#344d64}
.customer-offer-market{display:grid;gap:.2rem;margin-top:.7rem;padding:.7rem .9rem;border:1px solid #d7e4ef;border-radius:.5rem}
.customer-offer-market span{font-size:.875rem;color:#435c73}
.customer-offer-next{border-radius:.65rem;background:#eaf3fc;padding:.85rem 1rem}
.customer-offer-contact{display:inline-block;margin-top:.65rem;padding:.5rem .85rem;border-radius:.35rem;background:#104a80;color:#fff;font-weight:700;text-decoration:none}
.customer-offer-contact:hover{background:#0e3760}
.customer-offer footer{margin:0;padding:.65rem clamp(1rem,4vw,2rem);font-size:.875rem;color:#435c73}
@media screen and (max-width:565px){
  .customer-offer-hero{grid-template-columns:1fr;gap:1rem}
  .customer-offer-value{border-left:0;border-top:1px solid #a4c9e875;padding:.8rem 0 0}
}
@media print{
  .packet.customer-offer{box-shadow:none;border-radius:0}
  .customer-offer-hero{background:#fff;color:#142337;border-block:2px solid #123f66;break-inside:avoid}
  .customer-offer-intro p,.customer-offer-value span{color:#344d64}
  .customer-offer-value{border-color:#aabccc}
}

.workspace-nav{display:flex;align-items:center}
.workspace-nav .new-opportunity{margin-left:auto;flex:none}
.offer-handoff{background:#fff;border:1px solid #c9d6e3;border-radius:.65rem;padding:1rem;margin:1rem auto;max-width:860px}
.offer-handoff [hidden],.customer-response [hidden]{display:none}
.offer-handoff input{margin-top:.25rem}
.offer-handoff p:last-child:empty{display:none}
.customer-response{margin:0 clamp(1rem,4vw,2rem) 1.2rem;padding:1rem;border:1px solid #c9d6e3;border-radius:.65rem}
.customer-response form,.customer-response form>label{display:grid;gap:.45rem}
.customer-response form{gap:.75rem}
.customer-response fieldset{border:0;padding:0;margin:0}
.customer-response legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.customer-response fieldset label{display:flex;align-items:center;gap:.55rem;padding:.45rem 0}
.customer-response input[type=radio]{width:auto;margin:0;accent-color:#104a80}
.customer-response form p{margin:0}
@media print{.customer-response{display:none}}

#customer-replacement[hidden]{display:none}
.offer-decision-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:.75rem}
.offer-decision-grid article{display:flex;flex-direction:column;align-items:flex-start;gap:.4rem;padding:1rem;border:1px solid #c9d6e3;border-radius:.65rem;background:#f6faff;break-inside:avoid}
.offer-decision-grid h3,.offer-replacement h4{margin:0;font-size:1rem}
.offer-decision-grid article>strong{font-size:1.4rem;color:#104a80;line-height:1.1}
.offer-decision-grid article>button{margin-top:auto}
.offer-replacement{width:100%;padding-top:.65rem;border-top:1px solid #c9d6e3}
.offer-replacement dl{display:grid;gap:.4rem;margin:.4rem 0}
.offer-replacement .muted{font-size:.85rem}
@media print{.offer-decision-grid{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}}

.pickup-queue{margin:1rem 0}
.pickup-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem}
.pickup-controls label{display:grid;gap:.25rem}
.pickup-controls select{font:inherit;padding:.55rem;border:1px solid #66839d;border-radius:.35rem}
.customer-offer-showroom{grid-template-columns:minmax(0,1fr) auto auto}
.showroom-offer-qr{margin:0;text-align:center;max-width:9rem}
.showroom-offer-qr[hidden]{display:none}
.showroom-offer-qr canvas{display:block;width:100%;height:auto;background:white;border-radius:.3rem}
.showroom-offer-qr figcaption{margin-top:.35rem;font-size:.8rem;color:#e4edf8}
@media screen and (max-width:680px){.customer-offer-showroom{grid-template-columns:1fr 1fr}.customer-offer-showroom .customer-offer-intro{grid-column:1/-1}}
@media print{.customer-offer-showroom{grid-template-columns:1fr auto}}

.offer-copy-qr{display:none}
.offer-copy-qr.showroom-offer-qr[data-qr-ready]{display:block}
@media print{
  .offer-copy-qr[data-qr-ready]{display:block;grid-column:1/-1;margin:.65rem 0 0;max-width:none;text-align:left}
  .offer-copy-qr canvas{display:block;width:1.1in;height:auto}
  .offer-copy-qr figcaption{font-size:.8rem;color:#344d64}
}
.followup-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.65rem;margin:.75rem 0 1.5rem}
.followup-metrics div{background:#fff;border:1px solid #c9d6e3;border-radius:.55rem;padding:.7rem .9rem}
.followup-metrics dt{color:#476079;font-size:.9rem}
.followup-metrics dd{margin:0;font-weight:750;font-size:1.65rem}
.followup-outcomes{width:100%;max-width:34rem;text-align:left;border-collapse:collapse}
.followup-outcomes th,.followup-outcomes td{padding:.6rem;border-bottom:1px solid #c9d6e3}
.followup-outcomes thead{background:#e3edf7}

#reply-alerts{position:relative}
#reply-alerts summary{cursor:pointer;font-weight:700;color:#104a80;padding:.45rem}
#reply-alert-count:not(:empty){display:inline-block;min-width:1.45rem;padding:.12rem .32rem;border-radius:1rem;background:#104a80;color:#fff;text-align:center;font-size:.8rem}
#reply-alert-list{position:absolute;z-index:4;top:100%;left:0;width:min(22rem,calc(100vw - 2rem));max-height:60vh;overflow:auto;background:white;border:1px solid #aebfd0;border-radius:.55rem;box-shadow:0 10px 25px #14233725}
#reply-alert-list>ul{margin:0;padding:0;list-style:none}
#reply-alert-list li,#reply-alert-list>p{margin:0;padding:.7rem .85rem;overflow-wrap:anywhere}
#reply-alert-list li+li{border-top:1px solid #d7e4ef}
#reply-alert-list li a,#reply-alert-list li strong{display:block}
#reply-alert-list li p{margin:.25rem 0}
.urgent-alert{color:#8a311f}
.customer-responses li:target{outline:2px solid #256eac}
@media(max-width:680px){#reply-alerts[open]{position:static}#reply-alert-list{left:1rem;top:auto}}

#revisit-fields{display:grid;gap:.65rem;padding:.8rem;border:1px solid #c9d6e3;border-radius:.5rem}
#revisit-fields[hidden],#revisit-fields label[hidden]{display:none}
#revisit-fields label{display:grid;gap:.3rem}
#revisit-fields select{font:inherit;padding:.55rem;border:1px solid #66839d;border-radius:.35rem}

.followup-group{margin:1.15rem 0}
.followup-group h2 small{margin-left:.2rem;color:#526075;font-size:.85em}
.followup-due{font-weight:700;color:#174c78}
.followup-due.overdue{color:#9b382a}

.offer-photo-grid,#offer-photo-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:1rem}
.offer-photo-grid figure{margin:0;break-inside:avoid}
.offer-photo-grid img,.offer-photo-editor img{width:100%;height:180px;object-fit:contain;background:#edf2f6}
.offer-photo-grid figcaption{font-size:.9rem;margin-top:.3rem}
.offer-photo-editor{padding:.7rem;border:1px solid #c9d6e3;border-radius:.5rem}
.offer-photo-editor input[type=checkbox]{width:auto}
.offer-store-logo{max-width:160px;max-height:70px;object-fit:contain;background:white;padding:.4rem;margin-bottom:.7rem}

#print-guide[hidden]{display:none}
@media print{.customer-offer .offer-copy-qr[data-qr-ready]{float:right;width:1.15in;max-width:1.15in;margin:.1in 0 .05in .2in;break-inside:avoid}.customer-offer .offer-copy-qr canvas{width:1.05in}.customer-offer .offer-copy-qr figcaption{font-size:8pt;line-height:1.2}}

/* Keep printed offers stable in browsers and PDF renderers. */
@media print{
  @page{size:Letter;margin:.5in}
  .customer-offer-hero{display:table;width:100%;box-sizing:border-box;padding:.18in .16in;table-layout:fixed}
  .customer-offer-intro,.customer-offer-value,.customer-offer .offer-copy-qr[data-qr-ready]{display:table-cell;vertical-align:top;float:none}
  .customer-offer-intro{width:50%;padding-right:.12in}
  .customer-offer-intro h1{font-size:20pt;line-height:1.15;margin:0 0 .08in}
  .customer-offer-intro p{font-size:10pt;margin:0 0 .12in}
  .customer-offer-intro h2{font-size:13pt}
  .customer-offer-value{width:28%;padding-left:.12in}
  .customer-offer-value span{display:block;font-size:9pt;margin-bottom:.06in}
  .customer-offer-value strong{display:block;font-size:25pt;white-space:nowrap;letter-spacing:-.03em}
  .customer-offer .offer-copy-qr[data-qr-ready]{width:1.1in;max-width:1.1in;margin:0;padding-left:.12in;text-align:center}
  .customer-offer .offer-copy-qr canvas{width:1.02in;height:1.02in}
  .customer-offer .offer-copy-qr figcaption{font-size:8pt;line-height:1.15}
  .customer-offer .customer-offer-facts{display:table;width:100%;box-sizing:border-box;padding:.12in .16in;table-layout:fixed}
  .customer-offer-facts>div{display:table-cell;vertical-align:top}
  .customer-offer-facts dt{font-size:9pt}.customer-offer-facts dd{font-size:11pt;margin:.04in 0 0}
  .customer-offer .offer-decision-grid{display:table;width:100%;table-layout:fixed;border-spacing:.06in}
  .offer-decision-grid>article{display:table-cell;vertical-align:top;width:33.333%;padding:.1in}
  .customer-offer-details{padding:.12in .16in 0}.customer-offer-details section{margin-bottom:.14in}
  .customer-offer-details h2{font-size:12pt}.customer-offer-details h3{font-size:10pt}
  .customer-offer-details p,.customer-offer footer{font-size:10pt;line-height:1.35}
}
@media print{html,body,main{background:#fff!important}}

.daily-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0}.daily-actions a{padding:.6rem .85rem;background:#fff;border:1px solid #c9d6e3;border-radius:.55rem;font-weight:650}
.daily-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin:1.2rem 0}.daily-metrics a{display:flex;flex-direction:column;gap:.4rem;padding:1rem;background:#fff;border:1px solid #c9d6e3;border-radius:.75rem;text-decoration:none;color:#17324d}.daily-metrics strong{font-size:2rem;color:#105b91}.daily-metrics span{font-size:.95rem;line-height:1.35}.daily-metrics a:hover{border-color:#105b91;background:#f1f7fc}
.daily-routine{background:#e5f0f8;border:1px solid #bdd1e1;border-radius:.65rem;padding:1rem;margin:1rem 0}.daily-routine summary{font-weight:700;cursor:pointer}.daily-routine li{margin:.65rem 0;line-height:1.5}
.setup-card,.weekly-summary{padding:1.3rem;background:#fff;border:1px solid #c9d6e3;border-radius:.85rem;margin:1.1rem 0}.setup-card h2{margin:0 0 .75rem}.setup-card p{line-height:1.5}.setup-card .editor{box-shadow:none;border:0;padding:0;margin:1rem 0}.setup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.setup-grid label,.setup-card>label{display:grid;gap:.4rem}.launch-checks{display:grid;gap:.65rem;margin:1rem 0}.launch-checks label{display:flex;align-items:flex-start;gap:.75rem;padding:.7rem;border:1px solid #d6e2eb;border-radius:.5rem}.launch-checks input{width:auto;margin:.25rem 0 0;flex:none}.launch-plan textarea{width:100%}.launch-table{width:100%;border-collapse:collapse;text-align:left}.launch-table th,.launch-table td{padding:.7rem;border-bottom:1px solid #d6e2eb;vertical-align:top}.training-steps li{padding:.6rem 0;line-height:1.55}.weekly-summary button{margin-top:1rem}
@media(max-width:600px){.setup-grid{grid-template-columns:1fr}.daily-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-metrics a{padding:.85rem}.setup-card{padding:1rem}.launch-table td,.launch-table th{padding:.45rem}}
@media print{.daily-actions,.daily-routine{display:none}.setup-card,.weekly-summary{border-color:#ccc;box-shadow:none}.launch-plan button,.weekly-summary button{display:none}}

.proposal-timeline{list-style:none;padding:0;margin:1rem 0}.proposal-timeline li{border-left:3px solid #b8cedf;margin-left:.35rem;padding:.4rem 0 .8rem 1rem}.proposal-timeline small{display:block;color:#486078;margin:.25rem 0}.proposal-timeline p{margin:.25rem 0}.proposal-timeline li:last-child{padding-bottom:.2rem}

.workspace-nav{display:flex;flex-wrap:wrap;gap:.55rem;padding:1rem;background:#fff;border:1px solid #c9d6e3;border-radius:1rem;box-shadow:0 4px 18px #1423370a;margin-bottom:1.3rem}
.workspace-nav>a:not(.new-opportunity){display:flex;align-items:center;justify-content:center;min-height:48px;padding:.7rem 1rem;background:#edf3fa;color:#243f5b;border:1px solid #dae5f0;border-radius:.7rem;text-decoration:none;font-weight:700;line-height:1.2}
.workspace-nav>a:not(.new-opportunity):hover{background:#dcecfb;border-color:#87b6df}
.workspace-nav>a[aria-current=page]:not(.new-opportunity){background:#075daf;color:#fff;border-color:#075daf;box-shadow:0 3px 8px #075daf25}
.workspace-nav .new-opportunity{width:48px;height:48px;font-size:2rem;border-radius:.7rem}
.workspace-nav #logout{border:0;background:transparent;color:#476079;min-height:44px;font-size:.9rem}
.workspace-nav #website-request-count:not(:empty),.workspace-nav #reply-alert-count:not(:empty){margin-left:.4rem;padding:.12rem .45rem;border-radius:1rem;background:#ffe3a1;color:#553500;font-size:.85rem;font-weight:800}
.workspace-nav #reply-alerts{margin:0}.workspace-nav #reply-alerts summary{min-height:48px;padding:.65rem .8rem;border-radius:.7rem}
@media(max-width:600px){.workspace-nav{gap:.45rem;padding:.7rem}.workspace-nav>a:not(.new-opportunity){flex:1 1 calc(50% - .45rem);padding:.75rem .55rem;font-size:.95rem}.workspace-nav .new-opportunity{margin-left:auto}.workspace-nav #reply-alerts{flex:1 1 auto}}

.workspace-more{position:relative}.workspace-more summary{min-height:48px;padding:.7rem 1rem;background:#edf3fa;border:1px solid #dae5f0;border-radius:.7rem;font-weight:700;cursor:pointer}.workspace-more-links{display:grid;gap:.4rem;padding:.65rem;margin-top:.4rem;background:#f4f8fc;border-radius:.7rem}.workspace-more-links a{padding:.5rem .7rem;color:#243f5b;text-decoration:none;font-weight:650}.workspace-more-links a[aria-current=page]{background:#075daf;color:white;border-radius:.4rem}.queue-next{grid-column:1/-1;border-top:1px solid #dce5ef;padding-top:.6rem;display:grid;gap:.15rem}.queue-next strong{font-size:1rem;color:#123f66}.queue-next small{color:#476079}

.attention-action{display:inline-flex;align-items:center;justify-content:center;background:#075daf;color:#fff;border-radius:.6rem;padding:.65rem .9rem;font-weight:750;min-height:44px}.attention-reply a{border-left:4px solid #c77a08}.queue-next{grid-column:1/-1}.manager-queue a:hover .attention-action{background:#064b8d}

.appraisal-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:1rem 0}.appraisal-progress a{display:grid;gap:.3rem;padding:.8rem;background:#fff;border:1px solid #c9d6e3;border-radius:.65rem;color:#123f66;font-weight:750;text-decoration:none}.appraisal-progress span{font-size:.88rem;font-weight:500}.readiness-panel{padding:1rem;background:#edf5fe;border:1px solid #a8c7e5;border-radius:.65rem}.review-facts{display:flex;gap:1rem;flex-wrap:wrap}.review-facts p{flex:1;min-width:140px}.review-facts p:first-child strong{font-size:1.7rem}.manager-review-summary details{padding:.7rem 0}.appraisal-section,.readiness-panel{scroll-margin-top:1rem}@media(max-width:500px){.appraisal-progress{grid-template-columns:repeat(2,minmax(0,1fr))}}

.portal-account{display:flex;align-items:center;gap:1rem}.portal-account a{color:#d5eaff}.portal-account #logout{background:transparent;color:#fff;border:1px solid #698099;padding:.5rem .85rem;min-height:44px;border-radius:.55rem;font-size:.95rem}.portal-account #logout:hover{background:#203a54}.portal-account #logout[hidden]{display:none}@media(max-width:480px){header{gap:.6rem}.portal-account{margin-left:auto;gap:.75rem}.portal-account a{font-size:.9rem}}

/* A quiet hierarchy for the daily staff workflow. */
.record-details{background:#fff;border:1px solid #c9d6e3;border-radius:.65rem;margin:.75rem 0;padding:.85rem 1rem}
.record-details>summary,.supporting-details>summary{font-weight:700;cursor:pointer;min-height:28px}
.record-details:not([open]){color:#365573}.workflow-heading{font-size:1.45rem;margin:1.6rem 0 .7rem}
.appraisal-form{gap:1.5rem}.appraisal-form>fieldset{background:#fff;border:1px solid #d3deea;border-radius:.65rem;padding:1.25rem}
.appraisal-form>fieldset>legend{font-size:1.1rem;font-weight:750;padding:0 .4rem}
.appraisal-form .supporting-details>fieldset{border:0;margin:.8rem 0 0;padding:0;min-width:0}
.supporting-details>fieldset>legend{display:none}.appraisal-form>details{background:#f6f9fc;padding:1rem;border:1px solid #d3deea;border-radius:.55rem}
.appraisal-form .readiness-panel{border-top:2px solid #c4d6e8;padding-top:1.25rem}
.workspace-nav a{position:relative;overflow:visible}.nav-tooltip{display:none;position:absolute;z-index:30;top:calc(100% + 8px);left:0;width:245px;max-width:70vw;padding:.75rem .9rem;border-radius:.5rem;background:#102b46;color:#fff;box-shadow:0 6px 18px #102b4633;font-size:.875rem;font-weight:400;line-height:1.45;white-space:normal;pointer-events:none;text-align:left;letter-spacing:normal}
.workspace-nav a:hover>.nav-tooltip,.workspace-nav a:focus-visible>.nav-tooltip{display:block}
.workspace-nav .new-opportunity .nav-tooltip{left:auto;right:0;font-size:.875rem}
.daily-metrics{margin:1.3rem 0}.manager-queue>li{margin:.75rem 0}.manager-queue .queue-next{border:0}.manager-queue .attention-action{font-weight:750}
@media print{.nav-tooltip{display:none!important}}

.customer-context{position:sticky;top:0;z-index:8;display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1.5rem;background:#fff;border:1px solid #c9d6e3;border-top:4px solid #075daf;border-radius:.65rem;padding:1rem 1.25rem;margin:1rem 0;box-shadow:0 4px 14px #1423370a}
.customer-context h1{font-size:1.4rem;letter-spacing:-.02em;margin:.15rem 0}.customer-context p{margin:0}.context-label{font-size:.85rem;color:#476079;font-weight:650}.context-facts{display:flex;flex-wrap:wrap;gap:.6rem 1.3rem;margin-left:auto}.context-facts span{display:grid;font-size:.85rem;color:#476079}.context-facts strong{color:#142337;font-size:.95rem}.save-feedback{flex-basis:100%;font-size:.9rem;color:#315b48;border-top:1px solid #e4ebf2;padding-top:.5rem}
.field-help{font-size:.875rem;color:#476079;font-weight:400;line-height:1.45}.review-terms{background:#f3f7fc;border-radius:.5rem;padding:1rem;margin:1rem 0}.review-terms strong{font-size:.9rem}.review-terms p{margin:.3rem 0 .8rem}#review{margin:1rem 0 1.5rem;border-color:#99b6d3}#review>div{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end}
.appraisal-form [id^=step-]{scroll-margin-top:170px}
@media(max-width:600px){.customer-context{position:static}.context-facts{margin-left:0}.appraisal-form [id^=step-]{scroll-margin-top:1rem}}
@media print{.customer-context{display:none!important}}

.owner-workspace{display:flex;flex-wrap:wrap;align-items:center;gap:.7rem 1.4rem;margin:0 0 1rem;background:#102b46;color:#fff;border-radius:.75rem;padding:1rem 1.25rem}.owner-workspace strong{font-size:1rem}.owner-workspace p{font-size:.875rem;margin:.25rem 0 0;color:#d4e4f3}.owner-workspace label{display:grid;gap:.3rem;margin-left:auto;font-size:.875rem;font-weight:650}.owner-workspace select{font:inherit;min-height:44px;max-width:100%;background:#fff;color:#142337;border:1px solid #b5cadd;border-radius:.4rem;padding:.5rem 2rem .5rem .65rem}.owner-workspace .owner-switch-status{flex-basis:100%}@media(max-width:600px){.owner-workspace label{width:100%;margin-left:0}}

.account-eyebrow{display:block;color:#bdd4e9;font-size:.85rem;margin-bottom:.25rem}.owner-workspace .account-name{display:block;font-size:1.15rem}.account-store{margin-left:auto;display:grid;gap:.3rem}.account-store>span{font-size:.85rem;color:#bdd4e9}.owner-switch-status:empty{display:none}.account-manage{color:#dbeeff;font-size:.9rem}.group-summary{padding:1rem 0;border-top:1px solid #d3deea}.group-summary li{margin:.6rem 0;overflow-wrap:anywhere}.group-summary button{font-size:.875rem;margin-left:.6rem}@media(max-width:600px){.account-store{margin-left:0;width:100%}.account-manage{width:100%}}

.service-booking{min-width:0;border:1px solid #c9d6e3;border-radius:.6rem;padding:1rem}.service-booking legend{font-weight:750}.service-summary{margin:1rem 0}.service-summary details{margin-top:1rem}.customer-interest{background:#e8f2fc;padding:.8rem 1rem;border-radius:.5rem}.arrival-notice{color:#715014}#purchase-option{padding:.75rem;border:1px solid #c9d6e3;border-radius:.5rem}#purchase-option[hidden]{display:none}#purchase-option .check{display:flex;align-items:center;margin-bottom:.7rem}.service-summary dd{margin:0;font-weight:650}

.workspace-nav .new-opportunity{width:auto!important;height:auto!important;min-height:48px;padding:.75rem 1rem!important;font-size:1rem!important;line-height:1.3;white-space:nowrap}.add-customer-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:1.25rem}.add-customer-options .setup-card{display:flex;flex-direction:column;gap:.75rem;margin:0}.add-customer-options h2{font-size:1.2rem}.add-customer-options a.primary{display:inline-block;align-self:flex-start;margin-top:auto;text-decoration:none;padding:.75rem 1rem;border-radius:.4rem}@media(max-width:620px){.add-customer-options{grid-template-columns:1fr}.workspace-nav .new-opportunity{grid-column:auto!important;grid-row:auto!important}}

.service-queue-action{display:inline-flex;min-height:44px;align-items:center}
@media(max-width:560px){
  .appraisal-actions>button,.vehicle-vin>button{width:100%;min-height:44px}
}

#review{scroll-margin-top:1rem}
@media(max-width:560px){
  .offer-approval-form .workspace-tools>button{width:100%;min-height:48px}
}

.queue-list .customer-work-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1rem;
}
.customer-work-row h3,
.customer-work-row p {
  margin: .2rem 0;
}
.customer-work-row > .customer-work-action {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  width: auto;
  font-weight: 700;
}

#record-outcome {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}
#record-outcome > label {
  flex: 0 1 22rem;
  min-width: 0;
}
#record-outcome > button {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 44px;
  padding: .45rem .85rem;
  white-space: nowrap;
}
#record-outcome > [role="status"] {
  flex-basis: 100%;
  margin: 0;
}

/* Workspace navigation and daily dashboard */
.lane-shell {
  --lane-ink: #152639;
  --lane-muted: #52657a;
  --lane-line: #dce4ee;
  --lane-accent: #075daf;
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1rem, 3vw, 2.5rem);
  color: var(--lane-ink);
}
main:has(.lane-shell) {max-width: 1460px}
.lane-content {min-width: 0}
.lane-sidebar {position: sticky; top: 1rem; max-height: calc(100dvh - 2rem); overflow-y: auto}
.lane-sidebar .owner-workspace {display: block; padding: 1rem; margin: 0 0 .75rem; border-radius: 1rem}
.lane-sidebar .owner-workspace .account-store {margin-top: .65rem}
.lane-sidebar .owner-workspace > div,
.lane-sidebar .owner-workspace strong {overflow-wrap: anywhere}
.lane-sidebar .owner-switch-status:empty {display: none}
.lane-sidebar .workspace-nav {display: block; padding: .5rem; margin: 0; border-color: var(--lane-line)}
.lane-primary-nav, .lane-secondary-nav {display: grid; gap: .3rem}
.lane-secondary-nav {margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--lane-line)}
.lane-primary-nav a, .lane-add {
  display: flex; align-items: center; padding: .55rem .75rem; min-height: 44px;
  color: var(--lane-ink); font-weight: 700; text-decoration: none; border-radius: .55rem;
}
.lane-primary-nav a:hover, .lane-add:hover {background: #edf4fc}
.lane-primary-nav a[aria-current="page"] {background: #e3efff; color: #084b8a}
.lane-sidebar .workspace-more summary {background: transparent; border-color: transparent}
.lane-sidebar .workspace-more-links {padding: .3rem; margin-top: 0}
.lane-test {margin: 0 0 .75rem; padding: .45rem .75rem; border-left: 3px solid #d08c14; color: #654809; background: #fff6e1; border-radius: .25rem; font-size: .9rem}
.lane-hero {
  display: flex; justify-content: space-between; flex-wrap: wrap; align-items: end; gap: 1rem;
  padding: clamp(1.2rem, 4vw, 2.5rem); color: #fff; border-radius: 1.1rem;
  background: radial-gradient(ellipse at 94% 0%, #235b89, transparent 65%), #13283f;
}
.lane-hero h1 {margin: .2rem 0; color: inherit; font-size: clamp(2rem, 5vw, 3.3rem); letter-spacing: -.045em; line-height: 1.08}
.lane-hero p {margin: 0; color: #deebf8}
.lane-hero a {display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .9rem; background: #fff; color: #173957; border-radius: .55rem; font-weight: 750; text-decoration: none}
.lane-role-switch {display: flex; flex-wrap: wrap; gap: .35rem; margin: .9rem 0}
.lane-role-switch a {display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .8rem; color: var(--lane-muted); border-radius: .55rem; font-weight: 650; text-decoration: none}
.lane-role-switch a[aria-current="page"] {background: #fff; color: var(--lane-accent); box-shadow: 0 0 0 1px var(--lane-line)}
.lane-metrics a {border-color: var(--lane-line); box-shadow: 0 5px 14px #20364e08}
.lane-lineup-panel {background: #fff; border: 1px solid var(--lane-line); border-radius: 1rem; padding: clamp(.9rem, 2.7vw, 1.5rem); margin: 1rem 0 1.3rem}
.lane-section-heading {display: flex; align-items: center; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap}
.lane-section-heading h2 {margin: 0}
.lane-section-heading label {display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; color: var(--lane-muted)}
.lane-section-heading select {width: auto; min-height: 44px}
.lane-lineup {list-style: none; margin: .75rem 0 0; padding: 0}
.lane-lineup li {display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .9rem 0; border-top: 1px solid var(--lane-line)}
.lane-lineup h3, .lane-lineup p {margin: 0; overflow-wrap: anywhere}
.lane-lineup h3 a {color: var(--lane-ink); text-decoration: none}
.lane-lineup h3 a:hover {text-decoration: underline}
.lane-lineup p {color: var(--lane-muted)}
.lane-lineup .lane-lineup-time {margin-top: .2rem; font-size: .9rem}
.lane-lineup-action {display: flex; align-items: center; gap: .6rem; flex-wrap: wrap}
.lane-lineup-action a {display: inline-flex; align-items: center; min-height: 44px; padding: .45rem .7rem; background: #eaf3ff; color: #084b8a; border-radius: .5rem; font-weight: 750; text-decoration: none}
.lane-status {padding: .25rem .55rem; border-radius: .4rem; font-size: .875rem; font-weight: 700; background: #edf2f8; color: #2c4763}
.lane-status-late {background: #fff0ef; color: #a32f26}
.lane-status-ready {background: #e4f5ec; color: #205b42}
.lane-status-scheduled {background: #fff3d8; color: #704b12}
.lane-empty {color: var(--lane-muted)}
.lane-shell :is(a,button,summary,select):focus-visible {outline: 3px solid #367bc0; outline-offset: 3px}
@media screen and (max-width: 760px) {
  .lane-shell {display: block; padding-bottom: calc(4.8rem + env(safe-area-inset-bottom))}
  .lane-sidebar {position: static; max-height: none; overflow: visible; margin-bottom: .8rem}
  .lane-sidebar .workspace-nav {position: static}
  .lane-primary-nav {
    position: fixed; inset: auto 0 0; z-index: 20; grid-template-columns: repeat(4,minmax(0,1fr));
    gap: .2rem; padding: .35rem .45rem calc(.35rem + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--lane-line); box-shadow: 0 -4px 20px #20364e12;
  }
  .lane-primary-nav a {justify-content: center; font-size: .875rem; padding-inline: .15rem}
  .lane-secondary-nav {display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; border: 0}
  .lane-sidebar .owner-workspace {padding: .65rem .8rem}
}
@media print {
  .lane-shell {display: block; padding: 0}
  .lane-sidebar {display: none !important}
}

.lane-pin {display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:.75rem 0;color:var(--lane-muted)}
.lane-pin select {width:auto}
#lane-priority:empty {display:none}
#lane-priority > #lane-approval-card {display:block;background:#fff;border:1px solid var(--lane-line);padding:.85rem;border-radius:.7rem;margin-bottom:.75rem}
#lane-priority > #lane-approval-card strong {margin-right:.65rem}
.lane-brief {display:grid;grid-template-columns:repeat(auto-fit,minmax(12rem,1fr));gap:.7rem 1rem}
.lane-brief dt {font-weight:700}
.lane-brief dd {margin:.2rem 0 0;overflow-wrap:anywhere}
.lane-assist textarea {width:100%;resize:vertical}
.lane-assist [hidden] {display:none!important}

/* Staff workspace actions */
.lane-shell {
  --lane-action: #0757a7;
  --lane-action-hover: #064686;
  --lane-positive: #176148;
  --lane-ai: #562b85;
  --lane-surface: #fff;
}
.lane-sidebar .workspace-nav {
  background: var(--lane-surface);
  border: 1px solid var(--lane-line);
  border-radius: 1rem;
  box-shadow: 0 6px 20px #223b5510;
}
.lane-primary-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--lane-action);
}
.lane-sidebar .lane-add {
  justify-content: center;
  gap: .45rem;
  background: var(--lane-action);
  color: #fff;
}
.lane-sidebar .lane-add:hover,.lane-sidebar .lane-add[aria-current="page"] {background: var(--lane-action-hover)}
.lane-add span {font-size: 1.2em; line-height: 1}
.lane-sidebar .workspace-more summary,.lane-sidebar #reply-alerts summary {min-height: 44px; padding: .55rem .7rem}
.lane-shell .lane-hero {padding: clamp(1rem,3vw,1.8rem)}
.lane-hero h1 {font-size: clamp(1.75rem,4vw,2.8rem)}
.lane-role-switch {
  width: fit-content;
  padding: .2rem;
  background: #e4ebf4;
  border: 1px solid var(--lane-line);
  border-radius: .8rem;
}
.lane-role-switch a {padding-inline: .85rem}
.lane-role-switch a:hover {background: #f2f6fb; color: var(--lane-ink)}
.lane-shortcuts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  align-items: stretch;
  gap: .65rem;
  margin: .9rem 0;
}
.lane-shortcuts a {
  display: grid;
  align-content: center;
  gap: .12rem;
  padding: .8rem .9rem;
  border: 1px solid var(--lane-line);
  border-radius: .8rem;
  background: #fff;
  color: var(--lane-ink);
  text-decoration: none;
}
.lane-shortcuts a:first-child {background: #e8f2ff; border-color: #aac9ed; color: #104477}
.lane-shortcuts a:hover {border-color: var(--lane-action); box-shadow: 0 2px 10px #13345617}
.lane-shortcuts span {color: var(--lane-muted); font-size: .85rem}
.lane-page-heading,.lane-next-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--lane-line);
  border-radius: .85rem;
  background: var(--lane-surface);
}
.lane-page-heading {justify-content: space-between; margin-bottom: 1rem}
.lane-page-heading p {margin: 0; color: var(--lane-muted)}
.lane-next-step {margin: .75rem 0 1rem; background: #e8f2ff; border-color: #aac9ed}
.lane-next-step strong {margin-right: auto}
.lane-button,.lane-shell :is(.customer-work-action,.service-queue-action) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .75rem;
  border-radius: .55rem;
  background: #e7f1ff;
  color: #104477;
  font-weight: 750;
  text-decoration: none;
}
.lane-shell :is(.lane-button-primary,.primary) {
  background: var(--lane-action);
  color: #fff;
  border-color: var(--lane-action);
}
.lane-shell :is(.lane-button-primary,.primary):hover {background: var(--lane-action-hover)}
.lane-shell :is(.customer-work-action,.service-queue-action):hover {background: #d7e8ff}
.lane-shell .lane-lineup-panel {box-shadow: 0 6px 18px #18334d0a}
#lane-morning-worklist {border-top: 3px solid #8052ad}
.lane-shell :is(.lane-ai-action,[data-assist]) {
  background: #f2eafb;
  border-color: #c9b0e4;
  color: var(--lane-ai);
  min-height: 44px;
}
.lane-shell :is(.lane-ai-action,[data-assist]):hover {background: #e9dbf8}
#lane-approval-card,.lane-offer-decision {border-left: 3px solid #a86412}
.lane-shell .lane-approve-action {background: var(--lane-positive); border-color: var(--lane-positive)}
.lane-shell .lane-approve-action:hover {background: #104c38}
.lane-shell .lane-return-action {background: #fff6e5; border-color: #d8b47c; color: #71490d}
.lane-shell .lane-return-action:hover {background: #f8e9c8}
.lane-shell .lane-outcome {border-top: 3px solid #7189a4}
.lane-shell .lane-outcome .editor {border: 0; box-shadow: none; padding: 0; margin-top: .6rem}
.lane-shell .appraisal-actions {padding: .8rem; border: 1px solid #b9d2ef; border-radius: .7rem; background: #eaf3ff}
.lane-shell .appraisal-actions span {flex-basis: 100%; margin: 0}
.lane-shell :is(.appraisal-actions,.offer-approval-form,.offer-handoff,.service-summary) button {min-height: 44px}
.lane-shell button:disabled {cursor: wait; opacity: .65}
.lane-shell :is(#lane-work,#lane-assist,#review,[id^="step-"]) {scroll-margin-top: 1rem}

@media screen and (max-width: 760px) {
  .lane-sidebar .workspace-nav {padding: .35rem .5rem}
  .lane-secondary-nav {align-items: center}
  .lane-secondary-nav .lane-add {padding-inline: .6rem}
  .lane-primary-nav a[aria-current="page"] {box-shadow: inset 0 3px 0 var(--lane-action)}
}
@media screen and (max-width: 560px) {
  .lane-shortcuts {grid-template-columns: 1fr}
  .lane-shortcuts a {min-height: 48px; padding: .55rem .75rem}
  .lane-shortcuts a span {display: none}
  .lane-next-step strong {flex-basis: 100%}
  .lane-shell .appraisal-actions > button {min-height: 48px}
}
@media print {
  .lane-shell .lane-page-heading,.lane-shell .lane-next-step {break-inside: avoid}
}
.lane-shell .lane-finish-action {background: #e4f3eb; border-color: #9dc4ad; color: #19543f}
.lane-shell .lane-finish-action:hover {background: #d4eadf}
.lane-shell .lane-claim-action {background: #e7f1ff; border-color: #a9c6e8; color: #104477}
.lane-shell .lane-claim-action:hover {background: #d7e8ff}
.lane-shell .pickup-controls button {min-height: 44px}
.lane-shell .followup-group > h2 {font-size: 1.18rem; margin-top: 1.25rem}
.lane-shell .followup-group > h2 small {margin-left: .3rem; color: var(--lane-muted)}
@media screen and (min-width: 761px) {
  .lane-shell :is(#lane-assist,#review,[id^="step-"]) {scroll-margin-top: 10rem}
}

#activity-alerts summary{min-height:44px;padding:.55rem .7rem;cursor:pointer;font-weight:700;color:#164c7e}
#activity-alert-count:not(:empty){margin-left:.35rem;padding:.12rem .4rem;border-radius:1rem;background:#fff0c9;color:#67430e}
#activity-alert-list{padding:0 .55rem;font-size:.85rem}#activity-alert-list ul{list-style:none;padding:0;margin:0}
#activity-alert-list li{border-top:1px solid #dce4ee;padding:.5rem 0}#activity-alert-list :is(strong,small){display:block}
#website-activity{scroll-margin-top:10rem}

.offer-value-heading{display:block;margin-bottom:.55rem;font-size:.9rem;font-weight:750}
.offer-value-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr));gap:.7rem}
.offer-value-options>div{display:grid;align-content:start;gap:.15rem}
.offer-value-options strong{white-space:nowrap}
@media print{.offer-value-options{grid-template-columns:repeat(auto-fit,minmax(8rem,1fr))}}

.lane-task-dot {
  position: relative;
  display: inline-block;
  width: .65rem;
  height: .65rem;
  margin-inline-end: .45rem;
  border-radius: 50%;
  vertical-align: .05em;
}
.lane-task-dot--overdue {background: #b42318}
.lane-task-dot--waiting {background: #a66a00}
.lane-task-dot--ready {background: #187445}
.lane-task-dot > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (forced-colors: active) {
  .lane-task-dot {forced-color-adjust: none}
}
