/* v0.51 presentation transfer. Existing server data, forms and actions remain authoritative. */
.customer-flow{--comfort-line:#dce4ee;--comfort-soft:#f4f7fc}
.customer-flow .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.customer-flow #booking-customer-navigation .customer-account-menu>summary{border:0;border-radius:0;background:transparent;padding:8px 0;gap:7px;min-height:44px}
.customer-flow #booking-customer-navigation .customer-account-menu>summary::after{content:none}
.customer-flow main:not(.customer-home-shell){padding-top:20px;padding-bottom:28px}
.customer-flow :is(.flow-payment-title,.customer-flow-heading h1){font-size:clamp(28px,3vw,36px);margin:0;letter-spacing:-.035em}
.customer-flow .customer-back{display:inline-flex;align-items:center;min-height:44px;margin-bottom:6px;font-size:14px}
.customer-flow-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px}
.customer-flow-heading .step-eyebrow{margin:0 0 6px;font-size:11px;overflow-wrap:anywhere}
.customer-heading-actions{display:flex;gap:6px;align-items:center;justify-content:flex-end;flex-wrap:wrap}
.customer-flow .customer-heading-actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border-radius:6px;font-size:14px}
.customer-flow .customer-flow-heading{padding:0;border:0;background:none}
.customer-flow .button.quiet{background:transparent;border-color:transparent;color:var(--flow-blue,#315bdf)}
.customer-flow .booking-content>article.customer-detail-workspace{display:block;border:0;background:none;padding:0;margin:0;box-shadow:none}
.customer-flow.flow-booking .booking-page .booking-content{max-width:1180px}
.customer-detail-table-wrap{border:1px solid var(--comfort-line);background:white;border-radius:8px;overflow:clip;min-width:0}
.customer-detail-table,.customer-event-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;line-height:1.5}
.customer-detail-table-wrap :is(th,td){padding:12px;text-align:left;vertical-align:top;overflow-wrap:anywhere}
.customer-detail-table-wrap thead{background:var(--comfort-soft);color:#475569;font-size:11px}.customer-detail-table-wrap thead th{padding:9px 12px}
.customer-detail-table-wrap tbody tr+tr{border-top:1px solid var(--comfort-line)}
.detail-col-offer{width:25%}.detail-col-arrival{width:15%}.detail-col-route{width:24%}.detail-col-price{width:18%}.detail-col-status{width:18%}
.customer-detail-offer{display:flex;align-items:center;gap:10px;min-width:0}
.customer-detail-offer>.customer-detail-image{width:80px;height:55px;object-fit:contain;flex:none}
.customer-detail-offer strong,.customer-detail-offer span,.detail-cell-arrival>*,.detail-cell-price>*{display:block}
.customer-detail-offer strong{font-size:15px}.customer-detail-offer span{font-size:12px}.customer-detail-offer .company-verified{font-size:10px}
.detail-cell-price strong{font-size:15px}.detail-cell-price small{font-size:11px;line-height:1.5}
.customer-detail-addresses{display:grid;gap:6px;margin:0}.customer-detail-addresses dt{font-size:10px;color:#475569}.customer-detail-addresses dd{margin:0}
.customer-detail-status{display:inline-block;background:#eef2f7;border-radius:20px;padding:4px 8px;font-size:11px;line-height:1.45;font-weight:650}
.customer-detail-status.is-attention{background:#fff4dc;color:#735014}.customer-detail-status.is-confirmed{background:#eaf5ee;color:#176047}
.customer-flow .customer-detail-workspace .booking-next{padding:10px 12px;border:0;background:#eaf2ff;border-radius:6px;margin:12px 0;font-size:13px}
.customer-detail-workspace .booking-next .eyebrow{font-size:10px;margin:0 0 3px}.customer-flow .customer-detail-workspace .booking-next h3{font-size:16px;margin:0 0 5px}
.customer-flow .customer-detail-workspace .booking-next p{margin:0;line-height:1.5;font-size:13px}
.customer-detail-workspace .booking-next a{padding:4px 0}
.customer-flow .customer-detail-workspace .journey{display:flex;flex-wrap:wrap;gap:8px 20px;margin:12px 0;padding:0;font-size:12px}
.customer-flow .customer-detail-workspace .journey li{flex:1;min-width:105px;border-bottom:2px solid var(--comfort-line);padding:7px 0;line-height:1.4}
.customer-detail-workspace .journey li.done{border-color:#a7ceba}.customer-detail-workspace .journey li.current{border-color:#315bdf}
.customer-detail-workspace .journey li::after{display:none!important}.customer-detail-workspace .journey a{display:block;min-height:44px;padding:6px 0}
.customer-detail-workspace #progress-title{font-size:16px;margin:12px 0 6px}
.customer-flow .customer-flow-tabs{display:flex;gap:16px;border-bottom:1px solid var(--comfort-line);margin-top:16px}
.customer-flow .customer-flow-tabs[hidden],.customer-flow [data-customer-panel][hidden]{display:none}
.customer-flow .customer-flow-tabs>button{min-height:44px;border:0;border-radius:0;border-bottom:2px solid transparent;background:transparent;color:#475569;padding:10px 0;font-size:13px}
.customer-flow .customer-flow-tabs>button[aria-selected=true]{color:#315bdf;border-bottom-color:#315bdf;font-weight:700}
.customer-flow [data-customer-panel]{padding:14px 0;min-width:0}
.customer-flow .customer-detail-workspace :is(.booking-details,.booking-help){font-size:13px;margin:10px 0}
.customer-flow .customer-detail-workspace .booking-help{padding:12px;border-radius:6px}
.customer-flow .customer-detail-workspace :is(h2,h3){font-size:18px}
.customer-flow .customer-detail-workspace .booking-details summary{min-height:44px;padding:8px 0}
.customer-flow [data-customer-panel] .flow-conversation{margin:0;padding:0;border:0;border-radius:0;background:transparent}
.customer-flow [data-customer-panel] .flow-conversation h2{font-size:18px;margin:0 0 8px}
.customer-flow [data-customer-panel] .flow-conversation p{font-size:13px;line-height:1.5;margin:8px 0}
.customer-flow [data-customer-panel] .flow-conversation form{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.customer-flow [data-customer-panel] .flow-conversation :is(label,p,ul){grid-column:1/-1;margin:0}
.customer-flow [data-customer-panel] .flow-conversation label{font-size:13px;font-weight:600}
.customer-flow [data-customer-panel] .flow-conversation textarea{min-height:100px;margin:0;font-size:16px}
.customer-flow [data-customer-panel] .flow-conversation input[type=file]{grid-column:1/-1;margin:0;min-height:60px}
.customer-flow [data-customer-panel] .flow-conversation button{min-height:44px;justify-self:start;font-size:14px;padding:9px 14px;border-radius:6px}
.customer-flow [data-customer-panel] .flow-message{padding:10px 0;border-top:1px solid var(--comfort-line)}
.customer-local-note{font-size:11px;margin:10px 0;color:#475569}.customer-local-note summary{min-height:44px;align-content:center}
.customer-flow .customer-execution-workspace .customer-work-summary{display:grid;grid-template-columns:1.1fr 1fr 1.25fr;gap:18px;border:1px solid var(--comfort-line);border-radius:8px;padding:16px;margin:0;background:#fff}
.customer-work-summary>div{min-width:0;display:grid;gap:4px}.customer-work-summary .customer-work-label{font-size:11px;color:#475569}
.customer-work-summary .customer-timer{font-size:38px;font-weight:750;line-height:1.2;font-variant-numeric:tabular-nums}
.customer-work-summary strong{font-size:15px}.customer-work-summary small{font-size:11px}
.customer-flow .customer-execution-workspace section:not(.customer-work-summary):not(.flow-conversation){padding:12px 0;margin-top:12px;border-top:1px solid var(--comfort-line)}
.customer-execution-workspace .customer-work-summary dd{margin:0;text-align:left}
.customer-execution-workspace .customer-event-table th[scope=row]{font-weight:600}
.customer-execution-workspace .customer-event-table td time{white-space:normal}
.customer-flow .customer-execution-workspace .booking-execution-content{max-width:1180px}
.customer-flow .customer-execution-workspace .booking-execution-content>h1{font-size:32px}
.customer-flow .customer-execution-workspace :is(h2,h3){font-size:18px;margin:0 0 8px}
.customer-flow .customer-execution-workspace p{font-size:13px;line-height:1.55;margin:10px 0}
.customer-flow .customer-execution-workspace dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;font-size:13px}
.customer-flow .customer-execution-workspace dd{margin:0;text-align:right}
.customer-flow .customer-execution-workspace .customer-work-summary p{margin:0}
.customer-flow .customer-execution-workspace .customer-heading-actions .button{background:transparent;color:#315bdf}

/* Same selected plan rows, prices and form association; only order/density change. */
.customer-flow.flow-plan-page .plan-section-heading{margin-top:0}
.customer-flow.flow-plan-page .project-contact{margin-top:18px}
.plan-choice-overview{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,.9fr);gap:16px;align-items:start}
.plan-choice-overview .plan-choice-header{display:block}.plan-choice-overview .plan-choice-combination{margin:0;font-size:13px}
.plan-choice-arrival{display:grid;gap:4px;font-size:13px}.plan-choice-arrival>small{font-size:11px;color:#475569}
.flow-plan-page .plan-choice-overview .plan-choice-price{grid-column:3;grid-row:1}
.flow-plan-page .plan-choice-facts{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px;font-size:13px}
.flow-plan-page .plan-choice-facts>div{display:block;margin:0}.flow-plan-page .plan-choice-facts dt{font-size:11px;color:#475569;font-weight:500;margin-bottom:2px}
.flow-plan-page .plan-choice-facts dd{margin:0}
.customer-flow.flow-plan-page .project-plan-row{padding:14px}
.customer-flow.flow-plan-page .actions{margin-top:4px}
.customer-flow.flow-auth main{margin:12px auto;padding:20px;border-radius:8px;box-shadow:none}
.customer-flow.flow-auth h1{font-size:28px;margin:0 0 12px}
.customer-flow.flow-account main,.customer-flow.flow-profile main{margin:12px auto;padding-top:20px;padding-bottom:28px}
.customer-flow.flow-account main>section{padding:16px;border-radius:8px;margin-top:14px}
.customer-flow.flow-account main dl{display:grid;grid-template-columns:minmax(100px,.65fr) minmax(0,1fr);gap:8px 14px;font-size:14px}
.customer-flow.flow-account main dl dd{margin:0}
.customer-flow.flow-account main p{font-size:13px;line-height:1.55}
.customer-flow.flow-profile main label{margin-top:12px;font-size:14px}
.customer-flow.flow-profile main button{margin-top:16px}
.customer-flow .customer-quote-detail .quote-main{max-width:1180px;padding:20px 16px 28px}
.customer-flow .customer-quote-detail :is(h2,h3){font-size:18px;margin:0 0 10px}
.customer-flow .customer-quote-detail section{margin-top:14px;padding-top:12px}
.customer-flow .customer-quote-detail :is(.notice,.quote-receipt){padding:10px 12px!important;font-size:13px}
.customer-flow .customer-quote-detail :is(.terms,.help){font-size:13px}
.customer-flow .customer-quote-detail :is(.message,form){padding:10px 0;font-size:13px}
.customer-flow .customer-quote-detail label{margin:10px 0}
.customer-flow .customer-quote-detail textarea{font-size:16px;min-height:100px}
.customer-flow .customer-quote-detail nav[aria-label="I denna förfrågan"]{display:flex;gap:14px;flex-wrap:wrap;font-size:13px}
.customer-flow .customer-quote-detail nav[aria-label="I denna förfrågan"] a{min-height:44px;align-content:center}
.customer-flow.flow-bookings main,.customer-flow.flow-confirmed main{padding-top:20px;padding-bottom:28px}
.customer-flow .search-overview .button,.customer-flow #customer-search-summary .button{min-height:44px}

/* Customer checkout only. Preserve every actual price row, tax row, refund and payment form. */
.customer-flow.flow-payment .brand-checkout-layout{grid-template-columns:1fr;gap:16px;margin-top:18px}
.customer-flow.flow-payment .brand-checkout-panel,.customer-flow.flow-payment .brand-checkout-aside>section{border-radius:8px;box-shadow:none}
.customer-flow.flow-payment .brand-checkout-hero{padding:16px}
.customer-flow.flow-payment .brand-checkout-hero h2{font-size:22px}
.customer-flow.flow-payment .brand-checkout-panel>div.px-6{padding:16px}
.customer-flow.flow-payment .brand-checkout-panel .mt-8{margin-top:16px}
/* The one-column checkout must not inherit the old sticky sidebar over payment controls. */
.customer-flow.flow-payment .brand-checkout-aside{position:static;top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.customer-flow.flow-payment .brand-checkout-aside>section{padding:16px;margin:0}
.customer-flow.flow-payment .brand-checkout-aside>section+section{margin-top:0}
.customer-flow.flow-payment .customer-checkout-next{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--comfort-line);background:white;padding:12px 16px;border-radius:8px;margin:14px 0}
.customer-checkout-next strong{display:block;font-size:28px}.customer-checkout-next span{font-size:12px}
.customer-checkout-next a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:6px;background:#315bdf;color:white!important;font-size:14px;font-weight:650}
.customer-flow.flow-payment .customer-invoice-body{padding:0}
.customer-flow.flow-payment .customer-invoice-body>section{padding:16px;margin:0}
.customer-flow.flow-payment .customer-checkout-methods{padding:12px 16px;border:1px solid var(--comfort-line);border-radius:8px;background:white}
.customer-flow.flow-payment .customer-checkout-methods>section{padding:0;border:0;border-radius:0;background:transparent}
.customer-flow.flow-payment .customer-checkout-methods :is(h2,p){margin-top:0;margin-bottom:4px}
.customer-flow.flow-payment .customer-checkout-methods h2{font-size:18px}
.customer-flow.flow-payment .customer-checkout-methods .sm\:w-72,.customer-flow.flow-payment .customer-checkout-methods .sm\:w-80{width:100%;max-width:100%}
.customer-flow.flow-payment .customer-checkout-methods .payment-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.customer-flow.flow-payment .customer-checkout-methods .payment-option-grid>div{margin:0;padding:12px}
.customer-flow.flow-payment .customer-checkout-methods .payment-option-grid>div>div{display:block}
.customer-flow.flow-payment .customer-checkout-methods .payment-option-grid form{margin:0}
.customer-flow.flow-payment .customer-checkout-methods .payment-option-grid button{margin-top:8px;min-height:44px;box-shadow:none}
.customer-flow.flow-payment .customer-checkout-next strong{line-height:1.2;margin:3px 0}
.customer-flow.flow-payment .customer-invoice-price-table{table-layout:fixed;width:100%;border-collapse:collapse}
.customer-flow.flow-payment .customer-invoice-price-table :is(th,td){white-space:normal;overflow-wrap:anywhere;padding:10px;font-size:12px}
.customer-invoice-price-table th:first-child{width:42%}.customer-invoice-price-table th:last-child,.customer-invoice-price-table td:last-child{width:26%;text-align:right;font-variant-numeric:tabular-nums}
.customer-invoice-price-table th[scope=row]{font-weight:600}.customer-invoice-price-table small,.customer-invoice-price-table .customer-invoice-basis{display:block;font-size:11px;font-weight:400}
.customer-invoice-price-table tbody tr+tr{border-top:1px solid var(--comfort-line)}

/* Reduce artificial marketing gaps without changing images, content or search behavior. */
@media(min-width:761px){.customer-flow.customer-home-conversion .home-conversion-photo{min-height:520px}.customer-flow .home-section-intro{padding:36px 0 24px}.customer-flow .home-plan-story{padding:32px 0;column-gap:36px}}
.customer-flow .offer-landing-hero{gap:24px;margin-bottom:18px}
.customer-flow .offer-landing-section{padding:18px 0}
.customer-flow .offer-landing-context{padding:12px 16px}
.customer-flow .offer-landing-steps{gap:16px}

@media(max-width:900px){.customer-detail-offer{display:block}.customer-detail-offer>.customer-detail-image{width:68px;height:46px;margin-bottom:5px}}
@media(max-width:600px){
 .customer-flow-heading{align-items:start;flex-wrap:wrap;gap:10px;margin-bottom:14px}.customer-heading-actions{justify-content:start;width:100%}
 .customer-detail-table,.customer-detail-table tbody{display:block}.customer-detail-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
 .customer-detail-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"offer offer" "arrival state" "route price"}
 .customer-detail-table tbody td{display:block;padding:10px 12px;border-top:1px solid var(--comfort-line);font-size:12px}
 .customer-detail-table tbody td::before{display:block;font-size:10px;color:#475569;margin-bottom:4px}
 .detail-cell-offer{grid-area:offer;border-top:0!important}.detail-cell-arrival{grid-area:arrival}.detail-cell-arrival::before{content:attr(data-customer-label)}
 .detail-cell-route{grid-area:route}.detail-cell-price{grid-area:price}.detail-cell-price::before{content:"Prisvillkor"}.detail-cell-status{grid-area:state}.detail-cell-status::before{content:"Status"}
 .customer-detail-offer{display:flex}.customer-detail-offer>.customer-detail-image{width:80px;height:54px;margin:0}
 .customer-flow .customer-flow-tabs{gap:16px;margin-top:12px}.customer-flow .customer-flow-tabs>button{font-size:12px}
 .customer-flow [data-customer-panel] .flow-conversation form{grid-template-columns:1fr}
 .customer-flow .customer-execution-workspace .customer-work-summary{grid-template-columns:1fr 1fr;gap:12px;padding:12px}
 .customer-work-summary>div:last-child{grid-column:1/-1;border-top:1px solid var(--comfort-line);padding-top:10px}.customer-work-summary .customer-timer{font-size:32px}
 .customer-detail-table-wrap :is(th,td){padding:10px;font-size:12px}.customer-detail-table-wrap thead th{padding:8px 10px;font-size:10px}
 .plan-choice-overview{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px}
 .flow-plan-page .plan-choice-overview .plan-choice-price{grid-column:2;grid-row:1}.plan-choice-arrival{grid-column:1/-1;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}
 .plan-choice-overview .plan-choice-combination{font-size:12px}.plan-choice-overview .plan-choice-combination strong{font-weight:500}
 .flow-plan-page .plan-choice-facts{gap:10px;font-size:12px}
 .customer-flow.flow-payment .brand-checkout-aside{grid-template-columns:1fr 1fr;font-size:12px}.customer-flow.flow-payment .brand-checkout-aside>section{padding:12px}
 .customer-flow.flow-payment .brand-checkout-aside>section:last-child{grid-column:1/-1}
 .customer-flow.flow-payment .brand-checkout-aside>.customer-invoice-summary{grid-column:1/-1}
 .customer-flow.flow-payment .customer-checkout-methods .payment-option-grid{grid-template-columns:1fr}
 .customer-flow.flow-payment .customer-checkout-next{padding:12px;flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){.customer-flow [data-customer-tabs] *{scroll-behavior:auto}}
