/* The estimate is a dashboard. Keep conversational intake and application forms at reading width. */
.quote-dashboard {--overview-ink:#163631;--overview-sub:#42645b;--overview-edge:#d3ded8;min-width:0}
.quote-dashboard .quote-heading {margin:0 0 1.2rem}
.quote-dashboard .quote-heading h1 {margin:.25rem 0;letter-spacing:-.05em;font-weight:680}
.quote-dashboard .quote-heading .intro {max-width:75ch;margin:0;color:#466359}
.quote-dashboard .quote-context-line {display:flex;align-items:center;gap:.45rem;margin:0 0 .5rem;font-size:.8rem;font-weight:650;letter-spacing:.025em;color:var(--overview-sub)}
.quote-dashboard .quote-glyph {width:1.12rem;height:1.12rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round;stroke-linecap:round;flex:none}
.quote-dashboard .quote-grid {display:grid;grid-template-columns:minmax(0,1.55fr) minmax(17.5rem,1fr);align-items:stretch;gap:1rem}
.quote-grid>* {min-width:0}
.quote-dashboard .quote-jump {display:none}
.quote-dashboard .quote-grid .figures dl dt {white-space:normal}
.quote-dashboard .quote-panel,.quote-dashboard .quote-action,.finance-workspace :is(#quote,#estimate) .figures {margin:0;padding:clamp(1rem,1.9vw,1.75rem);border:1px solid var(--overview-edge);border-radius:12px;background:white;box-shadow:0 2px 5px #15352b0a}
.finance-workspace :is(#quote,#estimate).quote-dashboard .figures {height:100%;box-sizing:border-box;background:linear-gradient(110deg,#143935,#235142);color:white;border:1px solid #204a3e;display:flex;flex-direction:column}
.quote-dashboard .figures .cash-label,.quote-dashboard .quote-action-meta span,.quote-dashboard .quote-availability-label {display:flex;align-items:center;gap:.5rem;font-size:.75rem;text-transform:uppercase;letter-spacing:.075em;font-weight:675}
.quote-dashboard .figures .cash-label {color:#d6e8dc;margin:0}
.quote-dashboard .cash-label svg {color:#edca80}
.finance-workspace :is(#quote,#estimate) .figures .cash-value {color:#fff;margin:.55rem 0 0;font-size:clamp(2.7rem,4.65vw,4.8rem);line-height:1.06;letter-spacing:-.065em;font-weight:620}
.quote-dashboard .gross-caption {color:#dceae0;font-size:.93rem;margin:.22rem 0 .95rem}
.quote-dashboard .cash-split {display:block;width:100%;height:8px;border-radius:5px;overflow:hidden}
.quote-dashboard .cash-key {display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin:.42rem 0 1rem;font-size:.73rem;color:#e8f0ea}
.cash-key span {display:flex;align-items:center;gap:.32rem}
.cash-key span::before {content:"";width:.49rem;height:.49rem;display:block;border-radius:2px;background:#a4cbb9}
.cash-key [data-part=Interest]::before {background:#efcc82}
.cash-key [data-part=Fee]::before {background:#e3eee7}
.cash-key [data-part="Debt repaid"]::before {background:#8db0c3}
.finance-workspace :is(#estimate,#quote) .figures .quote-metrics {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:auto 0 0;background:transparent;border:0;border-top:1px solid #59796b;padding:1rem 0 0}
.finance-workspace :is(#estimate,#quote) .figures .quote-metrics>div {display:block;min-width:0;border:0;padding:0}
.finance-workspace :is(#estimate,#quote) .figures .quote-metrics dt {display:flex;align-items:center;gap:.3rem;color:#d6e6dc;font-size:.81rem;font-weight:530;line-height:1.25}
.quote-metrics svg {width:.85rem!important;height:.85rem!important}
.finance-workspace :is(#estimate,#quote) .figures .quote-metrics dd {text-align:left;color:white;font-size:clamp(1.05rem,1.8vw,1.9rem);letter-spacing:-.04em;line-height:1.15;margin:.45rem 0 0;overflow-wrap:normal}
.quote-dashboard .quote-action {display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;border-top:3px solid #bb924f;color:var(--overview-ink)}
.quote-dashboard .quote-action-meta {display:flex;align-items:center;justify-content:space-between;gap:.625rem}
.quote-dashboard .quote-action-meta span {color:#49665a}
.quote-dashboard .quote-owner {display:inline-flex;align-items:center;gap:.25rem;border-radius:2rem;background:#f7edd8;color:#684b19;font-size:.77rem;line-height:1.35;padding:.3rem .55rem}
.quote-dashboard .quote-owner svg {width:.9rem;height:.9rem}
.quote-dashboard .quote-action-title {font-size:clamp(1.35rem,2vw,1.9rem);line-height:1.16;margin:.7rem 0 .3rem;letter-spacing:-.035em}
.quote-dashboard .quote-action :is(.hint,#guest-next) {font-size:.9rem;line-height:1.4;margin:0 0 .6rem;color:var(--overview-sub)}
.finance-workspace .quote-dashboard #desk-preview {background:none;border:0;margin:.1rem 0 .5rem;padding:0;max-width:none}
.quote-dashboard .quote-availability-label {font-size:.69rem;color:var(--overview-sub);border-top:1px solid var(--overview-edge);padding-top:.6rem}
.finance-workspace .quote-dashboard :is(#guest-availability,#quote-fit-message) {padding:.28rem 0 .4rem;margin:0;background:none;border:0;font-size:.91rem;line-height:1.38;color:var(--overview-ink)}
.quote-dashboard #quote-fit-message :is(h2,h3,strong) {font-size:1rem;margin:.1rem 0}
.quote-dashboard #quote-fit-message p {margin:.2rem 0;font-size:.88rem}
.quote-dashboard #quote-fit-options {margin:0}
.quote-dashboard #quote-fit-options summary {font-size:.85rem}
.finance-workspace .quote-action>button.primary {margin:auto 0 0;width:100%;border:0;background:#145e4e;color:white;padding:.72rem 1rem;border-radius:7px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:.65rem}
.quote-action>button.primary::after {content:"→" / "";font-size:1.15rem}
.quote-dashboard .quote-panel h2 {display:flex;align-items:center;gap:.62rem;font-size:clamp(1.13rem,1.5vw,1.45rem);line-height:1.25;margin:0 0 .6rem;color:var(--overview-ink)}
.quote-panel h2 .quote-glyph {box-sizing:content-box;padding:.43rem;border-radius:7px;background:#e8f1eb;color:#2d6555}
.quote-dashboard .overview-rows {margin:0}
.quote-dashboard .overview-rows>div {display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.56rem 0;border:0;border-bottom:1px solid #e1e8e3}
.finance-workspace .quote-dashboard .overview-rows dt {display:flex;gap:.52rem;align-items:center;font-size:.91rem;color:#476058;font-weight:500}
.quote-dashboard .overview-rows dt svg {color:#53816d;width:.99rem;height:.99rem}
.quote-dashboard .overview-rows dd {color:#1d3931;font-weight:650;white-space:nowrap;text-align:right;letter-spacing:-.02em}
.quote-dashboard .quote-cost .overview-rows>div:last-child {border:0}
.quote-dashboard .quote-cost .overview-rows>div:last-child :is(dt,dd) {font-weight:720;color:var(--overview-ink)}
.quote-dashboard .exit-result {display:flex;align-items:center;gap:.45rem;margin:.85rem 0 .3rem;padding:.65rem .75rem;border-left:3px solid #b58a47;border-radius:3px;background:#f8f4e9;color:#594720;font-size:.87rem}
.quote-dashboard .quote-exit button {display:inline-flex;align-items:center;gap:.4rem;margin:0;color:#235e4d;font-weight:650}
.quote-dashboard .quote-exit-panel:has(.quote-exit[hidden]) {display:none}
.quote-dashboard .quote-grid:has(.quote-cost[hidden]) {grid-template-columns:minmax(0,1fr)}
.quote-grid:has(.quote-cost[hidden])>:is(#guest-figures,#quote-values):empty {display:none}
.quote-dashboard .quote-method {margin:1rem 0}
.quote-dashboard .quote-method details {padding:.6rem 1.1rem;border:1px solid var(--overview-edge);background:#fff;border-radius:9px}
.quote-dashboard .quote-method summary {font-weight:650}
.quote-dashboard #case-approaches {margin:.7rem 0;padding:.75rem 1rem}
.quote-dashboard #approach-save {background:#1c594d;color:white;padding:.55rem 1rem;border:0;border-radius:6px;font-weight:650}
.finance-workspace #quote:not([hidden]) #guide-quote {max-width:none}
@media(max-width:1050px) {
  .quote-dashboard .quote-grid {grid-template-columns:minmax(0,1.35fr) minmax(15.2rem,1fr)}
  .quote-dashboard .figures .quote-metrics dt {flex-wrap:wrap}
}
@media(max-width:680px) {
  .quote-dashboard .quote-grid {display:flex;flex-direction:column;gap:.8rem}
  .quote-dashboard .quote-exit-panel {order:2}.quote-dashboard .quote-cost {order:3}
  .quote-dashboard .quote-heading {margin-bottom:.5rem}
  .quote-dashboard .quote-jump {display:flex;align-items:center;gap:.35rem;min-height:42px;width:100%;white-space:normal;border:0;border-block:1px solid var(--overview-edge);background:none;color:#225b49;margin:.7rem 0;text-align:left;font-weight:650}
  .finance-workspace :is(#quote,#estimate) .figures .quote-metrics dt {font-size:.74rem}
  .finance-workspace :is(#estimate,#quote) .figures .quote-metrics dd {font-size:clamp(1rem,4.6vw,1.5rem)}
  .quote-dashboard .quote-context-line {font-size:.74rem}
}
.quote-heading .quote-byline {display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.3rem .8rem;margin-bottom:.35rem}
.quote-dashboard .quote-heading .quote-context-line {margin:0}
.quote-heading #draft-status:not(:empty) {margin:0;color:#46665b;font-size:.79rem}
.quote-heading #draft-status:empty {display:none}
.workspace-bar nav li button:has(.quote-glyph) {display:inline-flex;gap:.4rem;align-items:center;padding-inline:.5rem}
.workspace-bar nav li:first-child button:has(.quote-glyph) {padding-inline-start:0}
.workspace-bar nav .quote-glyph {width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:680px){.workspace-bar nav:not([hidden]) {flex-basis:100%}.quote-heading .quote-byline {align-items:flex-start}.quote-jump .quote-glyph {flex:none}}
.quote-dashboard .gap-action {display:inline-flex;align-items:center;flex-direction:row-reverse;gap:.2em;background:none;border:0;padding:0;color:#f2d88e;font-weight:650;font-size:clamp(.83rem,1.1vw,1rem);text-decoration:underline;text-underline-offset:3px;min-height:30px;white-space:normal;text-align:left}
.quote-method dt {display:flex;align-items:center;gap:.5rem}
.quote-method dt .quote-glyph {color:#507e69;width:1rem;height:1rem}
@media(min-width:376px) and (max-width:680px){
 .workspace-bar nav#application-nav:not([hidden]) {flex:1 1 auto}
 .workspace-bar #application-nav ol {display:grid;grid-auto-flow:column;justify-content:space-between;column-gap:0}
 .workspace-bar #application-nav li {padding:0;margin:0}
 .workspace-bar nav li button:has(.quote-glyph) {display:flex;flex-direction:column;justify-content:center;gap:3px;font-size:.74rem;padding:.3rem .12rem}
}

@media(max-width:375px){
 .workspace-bar #application-nav ol {display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:.25rem;border:1px solid #c4d4ce;border-radius:.5rem;background:#fff}
 .workspace-bar #application-nav li {margin:0;padding:0;border:0}
 .workspace-bar #application-nav li button {display:flex;align-items:center;gap:.65rem;min-height:44px;width:100%;padding:.45rem .7rem;border-radius:.3rem;font-size:.88rem;text-align:left}
 .workspace-bar #application-nav li[aria-current] button {background:#e6f0ec;box-shadow:inset 3px 0 #256653;color:#174d3e}
}
