/* Customer order: status first, supporting details at a comfortable reading size. */
.customer-view .customer-topline{padding:0 0 20px;border-bottom:1px solid var(--edge)}
.customer-view .customer-topline>p{font-variant-numeric:tabular-nums}
body[data-design] .customer-view .customer-actions :is(button,.button){min-height:44px;font-size:12px;font-weight:600;transition:border-color .18s ease,background-color .18s ease,color .18s ease}
body[data-design] .customer-view .customer-actions :is(button,.button):hover{border-color:var(--accent);background:var(--accent-soft);color:var(--ink)}
body[data-design] .customer-view .customer-os-header{background:var(--portal-card);border:1px solid var(--edge);border-radius:20px;box-shadow:0 18px 48px rgba(0,0,0,.07)}
.customer-view .customer-header-meta{padding-bottom:18px;border-bottom:1px solid var(--edge)}
.customer-view .customer-header-meta .public-kicker{letter-spacing:.14em}
body[data-design] .customer-view .customer-os-header h2{margin:0 0 24px;text-wrap:balance}
body[data-design] .customer-view .customer-current-state{max-width:none;margin:0;padding:24px;border:1px solid var(--edge);border-left:4px solid var(--accent);border-radius:12px;background:var(--accent-soft)}
body[data-design] .customer-view .customer-current-state>.public-kicker{display:block;font-size:11px;letter-spacing:.12em}
body[data-design] .customer-view .customer-current-state>.customer-status{font-size:15px;line-height:1.4;padding:8px 14px;background:var(--portal-card)}
body[data-design] .customer-view .customer-current-state>.os-status-explanation p:first-child{font-size:16px;line-height:1.6}
body[data-design] .customer-view .customer-current-state>.os-status-explanation p:last-child{font-size:14px;line-height:1.65}
body[data-design] .customer-view .customer-current-state>small{font-size:12px}
.customer-view .customer-facts{border:0;padding:0;margin-top:18px;gap:10px}
.customer-view .customer-facts>div{background:var(--surface);border-color:var(--edge);border-radius:12px;padding:16px 18px}
.customer-view .customer-facts small{font-size:12px}
.customer-view .customer-facts strong{font-size:15px}
.customer-view .customer-layout{gap:24px;margin-top:24px}
.customer-view .customer-layout>div,.customer-view .customer-layout>aside{gap:16px}
body[data-design] .customer-view .customer-layout .public-panel,body[data-design] .customer-view .customer-value{border:1px solid var(--edge);border-radius:16px;background:var(--portal-card);box-shadow:0 8px 24px rgba(0,0,0,.035)}
body[data-design] .customer-view .customer-layout .public-panel h2{margin-bottom:20px;text-wrap:balance}
body[data-design] .customer-view .customer-timeline-panel{border-top:3px solid var(--accent)}
.customer-view .customer-timeline article{grid-template-columns:20px minmax(0,1fr);gap:14px;padding-bottom:24px}
.customer-view .customer-timeline-dot{width:12px;height:12px;background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft)}
.customer-view .customer-timeline strong{font-size:15px}
.customer-view .customer-timeline small,.customer-view .customer-item small{font-size:12px}
body[data-design] .customer-view .customer-value{border-top:3px solid var(--accent)}
.customer-view .customer-value>small{font-size:13px}
.customer-view .customer-value dl{padding-top:18px;border-top:1px solid var(--edge)}
.customer-view .customer-value p,.customer-view .customer-value-help{font-size:13px;line-height:1.65}
.customer-view .customer-item{padding:18px 0}
.customer-view :is(button,a,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:760px){
 body[data-design] .customer-view .customer-os-header{padding:24px 20px}
 .customer-view .customer-header-meta{margin-bottom:22px}
 body[data-design] .customer-view .customer-os-header h2{font-size:clamp(28px,8vw,38px)}
 body[data-design] .customer-view .customer-current-state{padding:18px 16px}
 body[data-design] .customer-view .customer-current-state>.os-status-explanation p:first-child{font-size:15px}
 .customer-view .customer-facts>div{padding:14px 16px}
 .customer-view .customer-actions{grid-template-columns:1fr 1fr}
 body[data-design] .customer-view .customer-actions :is(button,.button){font-size:12px;white-space:normal;text-align:center}
}
@media(prefers-reduced-motion:reduce){body[data-design] .customer-view .customer-actions :is(button,.button){transition:none}}
@media print{body[data-design] .customer-view :is(.customer-os-header,.customer-current-state,.customer-layout .public-panel,.customer-value){box-shadow:none;background:#fff;border-color:#ccc}}

/* A compact reading column keeps the order and its next action together. */
body[data-design].public-os-page .public-main.customer-view{max-width:1120px;padding-top:38px}
.customer-view .customer-topline{align-items:center;margin-bottom:18px;padding-bottom:16px}
.customer-view .customer-topline>p{max-width:none;font-size:12px;line-height:1.5}
body[data-design] .customer-view .customer-actions .button:last-child{background:var(--accent);border-color:var(--accent);color:#fff}
body[data-design] .customer-view .customer-actions .button:last-child:hover{filter:brightness(.9)}
body[data-design] .customer-view .customer-os-header{padding:30px 32px;box-shadow:none}
.customer-view .customer-header-meta{margin-bottom:20px;padding-bottom:14px}
body[data-design] .customer-view .customer-os-header h2{font-size:clamp(28px,3.4vw,42px);margin-bottom:20px}
body[data-design] .customer-view .customer-current-state{padding:20px 22px}
body[data-design] .customer-view .customer-current-state>.os-status-explanation{max-width:64ch}
.customer-view .customer-facts{margin-top:14px}
.customer-view .customer-layout{grid-template-columns:minmax(0,1.7fr) minmax(260px,.85fr);gap:18px;margin-top:18px}
body[data-design] .customer-view .customer-layout .public-panel,body[data-design] .customer-view .customer-value{box-shadow:none}
body[data-design] .customer-view .customer-layout .public-panel h2{font-size:21px;margin-bottom:14px}
.customer-view .customer-copy{max-width:70ch;font-size:15px;line-height:1.75;color:var(--ink)}
.customer-view .customer-value-help{display:inline-flex;align-items:center;min-height:44px;font-weight:650}
@media(max-width:760px){
 body[data-design].public-os-page .public-main.customer-view{padding:24px 18px 64px}
 .customer-view .customer-topline{align-items:stretch;gap:12px}
 .customer-view .customer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .customer-view .customer-actions .button:last-child{grid-column:1/-1}
 body[data-design] .customer-view .customer-os-header{padding:22px 18px}
 .customer-view .customer-layout{grid-template-columns:1fr;gap:14px;margin-top:14px}
 body[data-design] .customer-view .customer-layout .public-panel,body[data-design] .customer-view .customer-value{padding:22px 18px}
 .customer-view .customer-copy{font-size:14px}
}
@media print{body[data-design] .customer-view .customer-actions .button:last-child{background:#fff;color:#111}}

/* One budget section keeps related information together. */
.customer-budget-group+ .customer-budget-group{border-top:1px solid var(--edge);margin-top:6px;padding-top:18px}
.customer-budget-group h3{font-size:14px;line-height:1.4;margin:0;color:var(--ink)}
.customer-budget-group>p{margin:12px 0 6px;color:var(--subtle);font-size:14px}
.customer-budget-group .customer-item{padding:14px 0}
@media(max-width:760px){
 body[data-design].public-os-page .public-main.customer-view{padding:20px 16px 56px}
 .customer-view .customer-topline{border:0;margin:0 0 16px;padding:0}
 .customer-view .customer-topline>p{font-size:12px;color:var(--subtle)}
 .customer-view .customer-actions{gap:8px}
 body[data-design] .customer-view .customer-actions :is(button,.button){min-height:46px;border-radius:10px}
 .customer-view .customer-actions .button:last-child{grid-row:1;grid-column:1/-1}
 body[data-design] .customer-view .customer-os-header{padding:20px 18px;border-radius:16px}
 .customer-view .customer-header-meta{margin-bottom:16px;padding-bottom:12px}
 body[data-design] .customer-view .customer-os-header h2{font-size:clamp(26px,7.5vw,34px);margin-bottom:16px}
 body[data-design] .customer-view .customer-current-state{padding:16px;border-left-width:3px}
 body[data-design] .customer-view .customer-current-state>.customer-status{font-size:14px}
 .customer-view .customer-facts{gap:0;border:1px solid var(--edge);border-radius:12px;overflow:hidden}
 .customer-view .customer-facts>div{border:0;border-radius:0;padding:12px 14px;background:transparent}
 .customer-view .customer-facts>div+div{border-top:1px solid var(--edge)}
 .customer-view .customer-facts strong{font-size:14px;text-align:right}
 .customer-view .customer-layout>aside{order:0}
 body[data-design] .customer-view .customer-layout .public-panel,body[data-design] .customer-view .customer-value{border-radius:14px;padding:20px 18px}
 .customer-view .customer-layout>div,.customer-view .customer-layout>aside{gap:12px}
 .customer-view .customer-copy{line-height:1.7;overflow-wrap:anywhere}
 .customer-view .customer-value>strong{margin:8px 0 16px}
 .customer-view .customer-value dl{gap:10px;margin:0;padding-top:14px}
}
