/* Tint-style working account, with Sebastian's Astra palette. Public page design stays in Astra. */
body.stlch-workspace-page{--sl-account-ink:#17221c;--sl-account-muted:#526056;--sl-account-line:#d7dfd6;--sl-account-soft:#eff3ec;--sl-account-nav-bg:#fff;--sl-account-focus:#648314;background:#f5f7f3;color:var(--sl-account-ink)}
body.stlch-workspace-page .site-content,body.stlch-workspace-page #primary,body.stlch-workspace-page .site-main,body.stlch-workspace-page article.page,body.stlch-workspace-page .entry-content{overflow:visible!important;background:#f5f7f3!important;background-image:none!important;margin:0!important;padding:0!important;min-width:0!important}
body.stlch-workspace-page #content>.ast-container{box-sizing:border-box!important;display:block!important;max-width:1320px!important;padding:0 16px 28px!important;margin:0 auto!important;width:100%!important}
body.stlch-workspace-page #page #content #primary .entry-content{padding:0!important;margin:0!important;max-width:none!important;width:100%!important}
body.stlch-workspace-page .entry-header,body.stlch-workspace-page .site-footer{display:none!important}
.stlch-account.stlch-customer,.stl-workspace{--sl-account-ink:#17221c;--sl-account-muted:#526056;--sl-account-line:#d7dfd6;--sl-account-soft:#eff3ec;--sl-account-nav-bg:#fff;--sl-account-focus:#648314;box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0 auto;padding:0;min-height:60dvh;color:var(--sl-account-ink);font-family:inherit}
.stlch-customer *,.stl-workspace *{box-sizing:border-box}
.stlch-customer h1,.stlch-customer h2,.stlch-customer h3,.stl-workspace h1,.stl-workspace h2,.stl-workspace h3{color:var(--sl-account-ink);line-height:1.25;letter-spacing:-.025em}
.stlch-customer p,.stl-workspace p{line-height:1.55;color:var(--sl-account-muted)}
.stlch-customer .stlch-button,.stl-workspace .stl-workspace__button,.stl-workspace .stlch-button{border-radius:6px;box-shadow:none;min-height:44px;font-weight:650;font-size:14px;line-height:1.35;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
.stlch-customer .stlch-button--primary,.stl-workspace .stl-workspace__button--primary,.stl-workspace .stlch-button--primary{background:var(--sl-accent,#b9e327);color:#17221c;border:1px solid var(--sl-accent,#b9e327)}
.stlch-customer .stlch-button--ghost,.stl-workspace .stl-workspace__button:not(.stl-workspace__button--primary):not(.sl-contact-call):not(.sl-contact-whatsapp),.stl-workspace .stlch-button--ghost{background:#fff;color:#294329;border:1px solid #c9d3c5}
.stlch-customer [hidden],.stl-workspace [hidden]{display:none!important}
.stlch-customer :focus-visible,.stl-workspace :focus-visible{outline:2px solid #648314;outline-offset:3px}
.stlch-customer .stlch-workspace-nav,.stl-workspace .stlch-workspace-nav{margin:0 0 14px!important;max-width:none!important;width:100%!important;padding:5px!important;gap:4px!important;background:#fff!important;border-radius:8px!important;border:1px solid var(--sl-account-line)!important}
.stlch-customer .stlch-workspace-nav a,.stlch-customer .stlch-workspace-nav button,.stl-workspace .stlch-workspace-nav a,.stl-workspace .stlch-workspace-nav button{min-height:52px;min-width:60px;font-family:inherit;line-height:1.1;padding:6px 10px;gap:3px;font-size:12px;border-radius:5px;box-shadow:none;text-decoration:none}
.stlch-customer .stlch-workspace-nav a.is-current,.stl-workspace .stlch-workspace-nav a.is-current{background:#17221c;color:#fff}
.stlch-customer .stlch-workspace-nav a.is-current svg,.stl-workspace .stlch-workspace-nav a.is-current svg{color:var(--sl-accent,#b9e327)}
.stlch-customer .stlch-workspace-nav__logout button,.stl-workspace .stlch-workspace-nav__logout button{color:#a12635;min-width:48px}
.stlch-customer .stlch-customer__header,.stl-workspace .stl-workspace__header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 0 18px;margin:0;background:none;border:0}
.stlch-customer .stlch-customer__header h1,.stl-workspace .stl-workspace__header h1{font-family:inherit;font-size:clamp(24px,3vw,30px);line-height:1.2;font-weight:750;letter-spacing:-.025em;margin:0}
.stlch-customer .stlch-customer__header .stlch-eyebrow,.stl-workspace .stl-workspace__eyebrow{display:block;margin:0 0 4px;font-size:12px;line-height:1.4;font-weight:650;color:var(--sl-account-muted);letter-spacing:.05em;text-transform:uppercase}
.stlch-customer .stlch-customer__panel,.stl-workspace .stl-workspace__panel{min-width:0;padding:16px;margin-bottom:16px;border:1px solid var(--sl-account-line);border-radius:10px;background:#fff}
.stlch-customer .stlch-customer__panel h2,.stl-workspace .stl-workspace__panel h2,.stl-workspace .stl-workspace__section-head h2{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:0 0 12px}
.stlch-customer .stlch-section-title,.stl-workspace .stl-workspace__section-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.stlch-customer .stlch-customer__muted,.stlch-customer .stlch-customer__vehicle p,.stl-workspace .stl-workspace__card p{font-size:15px;line-height:1.55;color:var(--sl-account-muted)}
.stlch-customer .stlch-customer__actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.stlch-customer .stlch-customer__actions .stlch-button span{font:inherit;color:inherit}
.stlch-customer .stlch-customer__details{display:grid;grid-template-columns:minmax(80px,.5fr) minmax(0,1fr);gap:10px 16px;margin:0 0 16px}
.stlch-customer .stlch-customer__details dt{font-size:14px;font-weight:650;color:#526056}
.stlch-customer .stlch-customer__details dd{margin:0;font-size:15px;overflow-wrap:anywhere}
.stlch-customer .stlch-quote-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.stlch-customer .stlch-customer-request-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--sl-account-line);border-radius:10px;overflow:hidden;align-self:start}
.stlch-customer .stlch-quote-card{background:#fff;border:1px solid var(--sl-account-line);border-radius:10px;box-shadow:none;padding:16px;margin:0;min-width:0;align-self:start}
.stlch-customer .stlch-customer-request-card>.stlch-quote-card{border:0;border-radius:0;width:100%}
.stlch-customer .stlch-quote-card h3{font-size:20px;margin:10px 0 5px}
.stlch-customer .stlch-quote-card p{font-size:15px;margin-bottom:10px}
.stlch-customer .stlch-quote-card__offer{background:#f4f7f0;border:1px solid #e0e6dc;border-radius:6px;margin:12px 0;padding:10px}
.stlch-customer .stlch-quote-card__footer{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:space-between;font-size:13px;color:#526056}
.stlch-customer .stlch-request-open{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#294329;border-top:1px solid #e0e6dc;margin-top:auto;padding:12px 16px;font-size:14px;font-weight:700;min-height:44px;background:#f4f7f0;text-decoration:none}
.stlch-customer .stlch-request-open svg{width:18px;height:18px;transform:rotate(180deg)}
.stlch-customer-request-layout{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:16px;align-items:start}
.stlch-request-tabs{display:flex;gap:6px;margin:0 0 14px}
.stlch-request-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1px solid #c9d3c5;border-radius:5px;color:#294329;background:#fff;font-size:14px;font-weight:650;text-decoration:none}
.stlch-request-tabs [aria-current=page]{background:#17221c;color:#fff;border-color:#17221c}
.stlch-customer .stlch-customer__vehicles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.stlch-customer .stlch-customer__vehicle{background:#fff;border:1px solid var(--sl-account-line);border-radius:8px;padding:16px;min-width:0}
.stlch-customer .stlch-customer__vehicle h2{font-size:19px;margin:0 0 8px}
.stlch-customer .stlch-customer__plate{background:#f3cf4f;color:#171717;border:1px solid #a98e32;border-radius:5px;padding:4px 9px;margin:0 0 12px;font-family:Arial,Helvetica,sans-serif;font-size:20px;font-weight:750;letter-spacing:.035em}
.stlch-customer .stlch-customer__files a{font-size:15px}
.stlch-customer .stlch-customer__files span{font-size:13px}
.stlch-customer .stlch-customer__upload label{font-size:15px}
.stlch-customer .stlch-customer__upload input,.stlch-customer .stlch-customer__upload select{font-size:16px;min-height:44px}
.stlch-account-search,.stlch-document-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin:0 0 16px}
.stlch-account-search label,.stlch-document-search label{display:grid;gap:5px;min-width:0;font-size:14px;font-weight:650;margin:0;color:#344c3a}
.stlch-account-search input[type=search],.stlch-document-search input[type=search]{width:100%;min-width:0;height:44px;min-height:44px;padding:10px 12px!important;background:#fff!important;border:1px solid #c9d3c5!important;border-radius:6px!important;color:#17221c!important;font-size:16px!important;line-height:1.4}
.stlch-search-clear{display:inline-flex;align-items:center;min-height:36px;font-size:13px;color:#35573b;text-decoration:underline;justify-self:start}
.stlch-account-pagination{display:flex;gap:8px;justify-content:space-between;margin:16px 0}
.stlch-customer .stlch-latepoint-dashboard{overflow:visible;min-width:0;width:100%;margin-bottom:18px}
.stlch-customer .stlch-native-dashboard>.latepoint-w,.stlch-customer .latepoint-customer-dashboard{margin:0!important;padding:0!important;max-width:none!important;width:100%!important;box-shadow:none!important;min-width:0!important}
.stlch-customer .stlch-native-dashboard .customer-dashboard-tabs{overflow-x:auto;white-space:nowrap}
.stlch-customer .stlch-native-dashboard.has-account-navigation .stlch-native-duplicate,.stlch-customer .stlch-native-dashboard.has-account-navigation>.latepoint-w>a:first-child,.stlch-customer .stlch-native-dashboard.has-account-navigation>.latepoint-w>h4{display:none}
.stlch-customer .stlch-native-dashboard .latepoint-btn{border-radius:5px!important}
.stlch-customer .stlch-customer-contact{margin-top:18px}
.stlch-document-card{border:1px solid #d7dfd6;border-radius:8px;background:#fff;padding:16px;margin-bottom:12px;min-width:0}
.stlch-document-card h2{font-size:20px;line-height:1.3;margin:0 0 10px;color:#17221c}
.stlch-document-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #e0e6dc;padding:12px 0;flex-wrap:wrap}
.stlch-document-row>div{min-width:0}
.stlch-document-row strong{display:block;font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.stlch-document-row .stlch-muted{display:block;font-size:13px;line-height:1.4;color:#526056;margin:4px 0}
.stlch-document-totals{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:16px;margin:12px 0}
.stlch-document-totals dt{font-size:13px;color:#526056}
.stlch-document-totals dd{margin:3px 0;color:#17221c;font-weight:700}
.stlch-documents .stlch-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.stlch-documents .stlch-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;background:#fff;color:#294329;border:1px solid #c9d3c5;border-radius:5px;padding:8px 12px;font-size:14px;font-weight:650;text-decoration:none}
.stlch-customer .stlch-status,.stl-workspace .stlch-status{display:inline-block;font-size:12px;letter-spacing:.01em;border-radius:4px;padding:4px 7px;font-weight:750;line-height:1.3;background:#eef1ec;color:#526056}
.stlch-customer .stlch-status:is(.is-booked,.is-approved,.is-completed,.is-paid,.is-fully_paid,.is-free),.stl-workspace .stlch-status:is(.is-booked,.is-approved,.is-completed,.is-paid,.is-fully_paid,.is-free){background:#e0f2e7;color:#17633d}
.stlch-customer .stlch-status:is(.is-pending,.is-pending_approval,.is-request_received,.is-offer_accepted,.is-partially_booked,.is-awaiting_verification,.is-not_paid,.is-partially_paid,.is-due,.is-partial),.stl-workspace .stlch-status:is(.is-pending,.is-pending_approval,.is-request_received,.is-offer_accepted,.is-partially_booked,.is-awaiting_verification,.is-not_paid,.is-partially_paid,.is-due,.is-partial){background:#fff1d6;color:#855300}
.stlch-customer .stlch-status:is(.is-cancelled,.is-canceled,.is-declined,.is-failed,.is-error,.is-expired),.stl-workspace .stlch-status:is(.is-cancelled,.is-canceled,.is-declined,.is-failed,.is-error,.is-expired){background:#fbe3e6;color:#a12635}
.stlch-customer .stlch-status:is(.is-offer_sent,.is-refunded),.stl-workspace .stlch-status:is(.is-offer_sent,.is-refunded){background:#e9edf7;color:#36527a}
.stl-workspace .stl-workspace__stats{gap:12px;margin-bottom:20px}
.stl-workspace .stl-workspace__stats a{border:1px solid var(--sl-account-line);border-top:3px solid var(--sl-accent,#b9e327);border-radius:10px;padding:16px;background:#fff;color:var(--sl-account-ink)}
.stl-workspace .stl-workspace__stats strong{font-size:26px;line-height:1.2}
.stl-workspace .stl-workspace__stats span{font-size:14px;line-height:1.4;color:var(--sl-account-muted)}
.stl-workspace .stl-workspace__contact{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.stl-workspace .stl-workspace__contact>a[href^="mailto:"]{flex-basis:100%;order:3;text-decoration:underline;font-size:15px;color:#35573b}
.stl-workspace .stl-workspace__card{padding:16px;border-radius:10px}
.stl-workspace .stl-workspace__card h3{font-size:18px}
.stl-workspace .stl-workspace__small{font-size:14px;line-height:1.5}
.stlch-account-icon,.sl-account-icon{display:block;width:20px;height:20px;flex:0 0 20px}
@media(max-width:900px){.stlch-customer .stlch-quote-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.stlch-customer-request-layout{grid-template-columns:1fr}}
@media(max-width:600px){
 body.stlch-workspace-page #content>.ast-container{padding:0 10px 20px!important}
 .stlch-customer .stlch-workspace-nav,.stl-workspace .stlch-workspace-nav{padding:4px 2px!important;gap:2px!important;border-radius:6px!important}
 .stlch-customer .stlch-workspace-nav a,.stlch-customer .stlch-workspace-nav button,.stl-workspace .stlch-workspace-nav a,.stl-workspace .stlch-workspace-nav button{min-width:56px;padding:6px 7px;min-height:48px}
 .stlch-customer .stlch-workspace-nav__logout button,.stl-workspace .stlch-workspace-nav__logout button{min-width:42px}
 .stlch-customer .stlch-customer__header,.stl-workspace .stl-workspace__header{padding-bottom:14px}
 .stlch-customer .stlch-quote-cards,.stlch-customer .stlch-customer__vehicles{grid-template-columns:minmax(0,1fr)}
 .stlch-customer .stlch-customer__panel,.stlch-customer .stlch-quote-card,.stl-workspace .stl-workspace__panel{padding:14px}
 .stlch-customer .stlch-customer__details{grid-template-columns:minmax(70px,.5fr) minmax(0,1fr);gap:10px}
 .stlch-customer .stlch-customer__actions .stlch-button{min-width:0;flex:0 1 auto}
 .stlch-customer .stlch-quote-card__footer .stlch-customer__actions{width:100%}
 .stlch-document-card{padding:14px}
 .stlch-document-row .stlch-actions{width:100%}
}

/* Native document tone names are shared with the guarded payment ledger. */
.stlch-document-card>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 12px}
.stlch-document-card>header h3{margin:0;font-size:19px;line-height:1.3;color:#17221c}
.stlch-document-card .stlch-status.stlch-status--paid,.stlch-document-card .stlch-status.stlch-status--free{background:#e0f2e7;color:#17633d}
.stlch-document-card .stlch-status.stlch-status--due,.stlch-document-card .stlch-status.stlch-status--partial{background:#fff1d6;color:#855300}
.stlch-document-card .stlch-status.stlch-status--cancelled{background:#fbe3e6;color:#a12635}
.stlch-document-card .stlch-status.stlch-status--refunded{background:#e9edf7;color:#36527a}
