/* Fixed-step custom routine builder. Programme cards retain their own sequence. */
.rbuilder-progress{display:flex;justify-content:space-between;align-items:center;gap:20px;border-block:1px solid var(--line);padding:20px 0;margin:0 0 28px;font-size:14px}
.rbuilder-progress>span{color:var(--muted);font-size:12px}
.rbuilder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}
.rbuilder-step{min-width:0;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;transition:border-color .2s,box-shadow .2s}
.rbuilder-step.has-selection{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.rbuilder-step-header{display:flex;align-items:center;gap:11px;min-height:64px;padding:17px 20px;background:var(--accent);color:#fff}
.rbuilder-step-number{font-size:13px;font-weight:600;opacity:.85}
.rbuilder-step-header h3{margin:0;color:#fff;font-size:21px;line-height:1.2;letter-spacing:-.025em}
.rbuilder-optional{margin-left:auto;border:1px solid #ffffff70;border-radius:20px;padding:4px 8px;white-space:nowrap;font-size:9px}
.rbuilder-step-purpose{font-size:13px;color:var(--muted);line-height:1.65;padding:20px 20px 0;margin:0 0 20px}
.rbuilder-empty{min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:12px 20px}
.rbuilder-empty-mark{height:54px;width:54px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;color:var(--accent)}
.rbuilder-empty strong{font-size:17px;line-height:1.4}
.rbuilder-empty>span:last-child{font-size:12px;color:var(--muted)}
.rbuilder-step-actions{padding:8px 20px 22px}
.rbuilder-step-actions>.button{width:100%;border-color:var(--accent);background:var(--accent);color:#fff;min-height:48px;font-size:13px}
.rbuilder-step-actions>.button.outline{color:var(--accent);background:#fff}
.rbuilder-step-actions>p{font-size:11px;color:var(--muted);margin:12px 0 0;text-align:center}
.rbuilder-products{padding:0 20px}
.rbuilder-product{padding:0 0 22px;min-width:0}
.rbuilder-product+.rbuilder-product{border-top:1px solid var(--line);padding-top:22px}
.rbuilder-product-top{display:flex;gap:12px;justify-content:space-between;align-items:center;min-height:44px}
.rbuilder-selected{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--accent);line-height:1.4}
.rbuilder-selected svg{height:16px;width:16px}
.rbuilder-product-top>.text-button{font-size:12px;min-height:44px}
.rbuilder-product-image{display:block;height:190px;margin:7px 0 18px}
.rbuilder-product-image>.product-photo{width:100%;height:100%}
.rbuilder-product-copy h4{font-size:24px;margin:0 0 7px;line-height:1.12}
.rbuilder-product-copy .product-sub{font-size:13px;line-height:1.45;color:var(--muted);margin:0 0 20px}
.rbuilder-why{font-size:14px;margin:0 0 16px;line-height:1.65}
.rbuilder-why>strong,.rbuilder-choice-copy>p>strong{display:block;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--accent);margin-bottom:5px}
.rbuilder-feel{color:var(--muted);font-size:12px;line-height:1.5;margin:0 0 18px}
.rbuilder-use{font-size:12px;border-top:1px solid var(--line);margin-top:16px}
.rbuilder-use summary{cursor:pointer;min-height:44px;padding:13px 0;font-size:12px;line-height:1.5}
.rbuilder-use p{font-size:12px;color:var(--muted);line-height:1.6;margin:0 0 12px}
.rbuilder-product-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:16px}
.rbuilder-product-actions>.button{min-height:44px;padding:10px 16px;font-size:12px}
.rbuilder-product-actions>.text-button{min-height:44px;font-size:12px;gap:6px}
.rbuilder-product-actions svg{height:18px;width:18px}
.rbuilder-order{display:flex;flex-wrap:wrap;align-items:center;gap:9px;border-top:1px solid var(--line);margin-top:18px;padding-top:13px;font-size:11px}
.rbuilder-order>span{margin-right:auto;color:var(--muted)}
.rbuilder-order>button{background:#fff;border:1px solid var(--line);border-radius:20px;min-height:40px;padding:8px 12px;font-size:11px}
.rbuilder-step.has-multiple{grid-column:span 2}
.rbuilder-step.has-multiple .rbuilder-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.rbuilder-step.has-multiple .rbuilder-product+.rbuilder-product{border-top:0;padding-top:0}
.rbuilder-mix-button{display:flex;gap:9px;align-items:center;text-align:left;width:calc(100% - 40px);margin:0 20px 20px;border:1px solid var(--line);border-radius:12px;background:#fff;min-height:50px;padding:12px;font-size:12px;line-height:1.5}
.rbuilder-mix-button svg{width:18px;height:18px}
.rbuilder-product.is-mix .rbuilder-product-image{height:140px}
.rbuilder-picker-intro{max-width:760px;margin-bottom:28px}
.rbuilder-picker-intro>.role-label{font-size:11px}
.rbuilder-picker-intro>p{font-size:18px;margin:15px 0 12px}
.rbuilder-picker-intro>small{display:block;color:var(--muted);font-size:13px}
.rbuilder-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:26px;align-items:stretch}
.rbuilder-choice{border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;flex-direction:column;min-width:0;background:#fff}
.rbuilder-choice.is-selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.rbuilder-choice>.rbuilder-selected{min-height:24px}
.rbuilder-choice-image{display:block;height:190px;margin-bottom:18px}
.rbuilder-choice-copy{display:flex;flex-direction:column;flex:1}
.rbuilder-choice-copy h3{font-size:26px;margin:0 0 8px;line-height:1.1}
.rbuilder-choice-copy p{font-size:14px;margin:0 0 16px;line-height:1.6}
.rbuilder-choice-copy>.product-sub{color:var(--muted);font-size:13px}
.rbuilder-choice-copy>.rbuilder-feel{font-size:12px}
.rbuilder-choice-copy>.button{width:100%;margin-top:auto;min-height:46px;font-size:12px;padding:12px}
.rbuilder-choice-copy>.rbuilder-use{margin-bottom:20px}
.rbuilder-choice-copy>.rbuilder-choice-note{padding:12px;background:var(--soft);border-radius:10px;font-size:12px}
@media(max-width:1150px){.rbuilder-grid,.rbuilder-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .rbuilder-progress{display:block;margin-bottom:20px;padding:17px 0}.rbuilder-progress>strong{display:block;font-size:16px;margin-bottom:6px}.rbuilder-progress>span{font-size:12px}
 .rbuilder-grid,.rbuilder-picker-grid{grid-template-columns:1fr;gap:20px}.rbuilder-step.has-multiple{grid-column:auto}
 .rbuilder-step.has-multiple .rbuilder-products{display:block}.rbuilder-step.has-multiple .rbuilder-product+.rbuilder-product{border-top:1px solid var(--line);padding-top:22px}
 .rbuilder-step-header{padding:17px 20px;min-height:64px}.rbuilder-step-header h3{font-size:23px}.rbuilder-step-purpose{font-size:14px}
 .rbuilder-step-actions>.button{font-size:14px;min-height:50px}.rbuilder-empty{min-height:170px}.rbuilder-empty strong{font-size:19px}
 .rbuilder-product-image{height:210px}.rbuilder-product-copy h4{font-size:27px}.rbuilder-product-copy .product-sub{font-size:14px}.rbuilder-why{font-size:15px}
 .rbuilder-product-actions>.button,.rbuilder-product-actions>.text-button{font-size:13px}.rbuilder-use,.rbuilder-use summary,.rbuilder-use p{font-size:13px}
 .rbuilder-selected{font-size:12px}.rbuilder-product-top>.text-button{font-size:13px}.rbuilder-choice{padding:20px}.rbuilder-choice-image{height:210px}
 .rbuilder-choice-copy>.button{font-size:14px;min-height:50px}.rbuilder-picker-intro>p{font-size:17px}.rbuilder-order>button{min-height:44px;font-size:12px}
}
@media print{.rbuilder-step{break-inside:avoid}.rbuilder-step-actions,.rbuilder-product-actions,.rbuilder-mix-button,.rbuilder-product-top>button,.rbuilder-order{display:none}}
/* Immediate, compact custom builder: a complete step rail before any promotion. */
.compact-routine .routine-intro{display:block;padding:26px clamp(18px,4vw,64px) 10px;min-height:0}
.compact-routine .routine-intro h1{font-size:clamp(28px,3vw,44px);line-height:1.12;margin:8px 0}
.compact-routine .routine-intro p{font-size:15px;max-width:none;margin:8px 0}
.compact-routine .routine-intro .eyebrow{font-size:10px}
.compact-routine .routine-intro .button{border:0;border-radius:0;padding:0;min-height:32px;font-size:12px}
.compact-routine .routine-workspace{padding:12px clamp(18px,4vw,64px) 36px;scroll-margin-top:100px}
.compact-routine .routine-config{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0 14px;margin:0;border-bottom:1px solid var(--line)}
.compact-routine .routine-config .eyebrow{display:none}
.compact-routine .area-options{gap:7px;margin:0}.compact-routine .area-option span{padding:8px 18px;font-size:13px;min-height:40px}
.compact-routine .routine-small-note{font-size:11px;margin:6px 0 0;line-height:1.4}
.compact-routine .routine-config .text-link{font-size:12px;min-height:32px}
.compact-routine .routine-view-bar{margin:14px 0;gap:12px}
.compact-routine .segmented button{padding:10px 15px;font-size:12px;min-height:40px}
.compact-routine .routine-row-title{margin:10px 0;gap:12px;align-items:center}
.compact-routine .routine-row-title h2{font-size:24px;margin:2px 0}
.compact-routine .routine-row-title .eyebrow{font-size:9px}
.compact-routine .routine-row-title>p{font-size:12px;max-width:480px;margin:0}
.compact-routine .rbuilder-progress{padding:9px 0;margin:0;border:0;font-size:12px;display:flex}
.compact-routine .rbuilder-progress>strong{font-size:12px;margin:0}.compact-routine .rbuilder-progress>span{font-size:11px}
.routine-step-strip{display:flex;gap:6px;overflow-x:auto;padding:8px 0 12px;scrollbar-width:thin}
.routine-step-strip button{display:flex;gap:7px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:99px;padding:8px 12px;white-space:nowrap;font-size:12px;min-height:40px;color:var(--accent)}
.routine-step-strip button span{background:var(--accent);color:#fff;border-radius:100%;height:22px;width:22px;display:grid;place-items:center;font-size:10px}
.compact-routine .rbuilder-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(185px,1fr);grid-template-columns:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;padding:2px 2px 16px;gap:12px;align-items:stretch;position:relative}
.compact-routine .rbuilder-step{scroll-snap-align:start;min-width:0;border-radius:14px;display:flex;flex-direction:column;align-self:stretch}
.compact-routine .rbuilder-step.has-multiple{grid-column:auto}.compact-routine .rbuilder-step.has-multiple .rbuilder-products{display:block}
.compact-routine .rbuilder-step-header{padding:12px;min-height:48px;gap:7px;flex-wrap:wrap}
.compact-routine .rbuilder-step-header h3{font-size:16px}.compact-routine .rbuilder-step-number{font-size:11px}.compact-routine .rbuilder-optional{font-size:8px;padding:3px 6px}
.compact-routine .rbuilder-step-purpose{padding:10px 12px 0;font-size:11px;line-height:1.5;margin:0 0 8px}
.compact-routine .rbuilder-empty{padding:8px 12px;min-height:0;gap:7px;flex:1}
.compact-routine .rbuilder-empty strong{font-size:14px;line-height:1.3}.compact-routine .rbuilder-empty>span:last-child{font-size:11px}
.rbuilder-example-photo{height:125px;width:100%}.rbuilder-example-photo .product-photo{height:100%;width:100%;object-fit:contain}
.example-caption{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.compact-routine .rbuilder-step-actions{padding:10px 12px 14px;margin-top:auto}
.compact-routine .rbuilder-step-actions>.button{min-height:40px;font-size:11px;padding:8px;gap:5px}
.compact-routine .rbuilder-products{padding:0 12px}.compact-routine .rbuilder-product{padding-bottom:12px}
.compact-routine .rbuilder-product-top{min-height:32px;gap:5px}.compact-routine .rbuilder-product-top>.text-button{font-size:10px;min-height:32px}
.compact-routine .rbuilder-selected{font-size:9px;gap:3px}.compact-routine .rbuilder-selected svg{height:13px;width:13px}
.compact-routine .rbuilder-product-image{height:125px;margin:5px 0 10px}.compact-routine .rbuilder-product-copy h4{font-size:17px;line-height:1.2}
.compact-routine .rbuilder-product-copy .product-sub{font-size:11px;line-height:1.4;margin:0 0 10px}
.compact-routine .rbuilder-why{font-size:11px;line-height:1.5;margin:0 0 8px}.compact-routine .rbuilder-why>strong{font-size:9px}
.compact-routine .rbuilder-feel{font-size:10px;margin-bottom:8px}.compact-routine .rbuilder-use{margin-top:7px}
.compact-routine .rbuilder-use summary,.compact-routine .rbuilder-use p{font-size:11px}
.compact-routine .rbuilder-product-actions{margin-top:8px;gap:4px}.compact-routine .rbuilder-product-actions>.button{width:100%;padding:8px;font-size:11px;min-height:38px}
.compact-routine .rbuilder-product-actions>.text-button{font-size:10px;min-height:30px}
.compact-routine .rbuilder-mix-button{width:calc(100% - 24px);margin:0 12px 12px;font-size:10px;padding:8px;min-height:40px}
.routine-check-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:25px}.routine-check-heading h3{font-size:19px;margin:0}
.routine-check-heading .text-button{font-size:12px}
.routine-check-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:14px}
.routine-check{border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;padding:13px;display:flex;flex-direction:column;gap:7px}
.routine-check strong{font-size:13px}.routine-check span{font-size:11px;line-height:1.5;color:var(--muted)}.routine-check svg{width:14px;height:14px;vertical-align:middle}.routine-check.is-ready{border-color:#56616a;background:#f7fbf9}
.routine-usage{font-size:11px!important;line-height:1.5!important;margin-top:10px!important;color:var(--muted);max-width:400px}
#routine-programme-choices{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.programme-area-choice{flex:1;min-width:200px;font-size:12px;display:grid;gap:8px}.programme-area-choice select{width:100%;min-height:46px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px;color:var(--ink)}
.skin-check-question{border:0;border-bottom:1px solid var(--line);padding:15px 0;margin:0}.skin-check-question legend{padding-top:15px;font-size:15px;line-height:1.5}.skin-check-question label{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--line);border-radius:30px;padding:10px 18px;margin:5px 10px 0 0;font-size:14px}.skin-check-question input{accent-color:var(--ink)}
#skin-check-result{color:#8c3935;font-weight:600}.compact-routine .extras-heading{margin-top:38px}.compact-routine .extras-heading h2{font-size:28px}.compact-routine .extras-heading p{font-size:14px}.compact-routine .extra-card{padding:14px;gap:12px}.compact-routine .extra-card .product-photo{max-height:110px}.compact-routine .extra-card h3{font-size:20px}.compact-routine .extra-card p{font-size:12px}
@media(max-width:700px){
 .compact-routine .routine-intro{padding:16px 18px 4px}.compact-routine .routine-intro h1{font-size:28px;margin:5px 0}.compact-routine .routine-intro p{font-size:12px;line-height:1.45}
 .compact-routine .routine-workspace{padding:6px 16px 24px}.compact-routine .routine-config{gap:8px;align-items:center;flex-wrap:wrap;padding-bottom:8px}.compact-routine .routine-config>div:first-child{flex:1;min-width:0}.compact-routine .routine-config>div:last-child{width:auto;flex:0 0 auto;max-width:100%}.compact-routine .routine-small-note{display:none}
 .compact-routine .area-option{padding:6px;gap:4px;min-width:0}.compact-routine .area-option input{margin:0;width:14px;height:14px}.compact-routine .area-options{min-width:0;gap:5px}.compact-routine .area-option span{padding:4px 3px;min-height:28px}
 .compact-routine .area-option span{font-size:12px}.compact-routine .routine-view-bar{margin:8px 0;gap:6px}.compact-routine .segmented button{padding:7px 9px;min-height:36px;font-size:11px}.compact-routine .segmented svg{width:15px;height:15px}
 .compact-routine .routine-row-title{margin:6px 0}.compact-routine .routine-row-title h2{font-size:21px}.compact-routine .routine-row-title>p,.compact-routine .routine-row-title .eyebrow{display:none}
 .compact-routine .rbuilder-progress{padding:5px 0;gap:8px}.compact-routine .rbuilder-progress>strong{font-size:11px}.compact-routine .rbuilder-progress>span{font-size:9px}
 .routine-step-strip{padding:5px 0 9px;gap:5px}.routine-step-strip button{font-size:10px;padding:6px 9px;min-height:34px;gap:5px}.routine-step-strip button span{height:18px;width:18px;font-size:9px}
 .compact-routine .rbuilder-grid{grid-auto-columns:calc((100% - 12px)/2);gap:10px}.compact-routine .rbuilder-step-header{padding:10px 8px;min-height:42px}.compact-routine .rbuilder-step-header h3{font-size:14px}.compact-routine .rbuilder-step-purpose{font-size:10px;padding:8px 9px 0}
 .compact-routine .rbuilder-example-photo,.compact-routine .rbuilder-product-image{height:100px}.compact-routine .rbuilder-empty{padding:5px 9px}.compact-routine .rbuilder-empty strong{font-size:12px}.compact-routine .rbuilder-step-actions{padding:8px 9px 12px}.compact-routine .rbuilder-step-actions>.button{font-size:10px;min-height:38px}
 .compact-routine .rbuilder-products{padding:0 9px}.compact-routine .rbuilder-product-copy h4{font-size:15px}.compact-routine .rbuilder-product-copy .product-sub{font-size:10px}.compact-routine .rbuilder-why{font-size:10px}.compact-routine .rbuilder-use summary{font-size:10px}
 .routine-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.routine-check{padding:10px}.routine-check-heading h3{font-size:17px}.routine-check-heading .text-button{font-size:10px}
 .routine-dock{padding:10px 16px max(10px,env(safe-area-inset-bottom))}.routine-dock .button{font-size:12px;min-height:42px;padding:10px 14px}.routine-dock strong{font-size:17px}.routine-dock .eyebrow{display:none}
}
@media(prefers-reduced-motion:reduce){.rbuilder-grid,.routine-step-strip{scroll-behavior:auto}}

/* Benefits first, then the actual products. Assessment remains one tap away. */
.programme-routine .routine-intro{display:block;max-width:1500px;margin:auto;padding:30px 5.5vw 12px}
.programme-routine .routine-intro .eyebrow{font-size:10px;letter-spacing:.12em;margin-bottom:6px}
.programme-routine .routine-intro h1{font-size:clamp(32px,4vw,52px);line-height:1.1;margin:10px 0 12px}
.programme-routine .routine-intro>div>p{font-size:17px;line-height:1.5;max-width:760px;margin:0}
.programme-benefits{list-style:none;display:flex;flex-wrap:wrap;gap:8px 20px;padding:0;margin:16px 0 0}
.programme-benefits li{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:550;line-height:1.4;color:var(--ink)}
.programme-benefits svg{width:16px;height:16px;flex-shrink:0;color:#56616a}
.programme-routine .routine-workspace{padding:12px 5.5vw 36px;scroll-margin-top:calc(var(--header) + 12px)}
.routine-customise{border-block:1px solid var(--line);margin:0 0 14px}
.routine-customise>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;font-size:13px;font-weight:550;list-style:none}
.routine-customise>summary::-webkit-details-marker,.programme-about>summary::-webkit-details-marker{display:none}
.routine-customise>summary>span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;font-weight:400}
.routine-customise>summary svg,.programme-about>summary svg{width:17px;height:17px;flex-shrink:0}
.programme-routine .routine-config{padding:12px 0;margin:0;gap:20px;border:0}
.programme-routine .routine-config .eyebrow{font-size:9px;margin-bottom:10px}
.programme-routine .routine-config .text-link{font-size:13px}
.programme-routine .routine-config .inline-check{font-size:12px}
.programme-routine .routine-view-bar{margin:12px 0 16px;gap:12px}
#area-tabs:has(>button:only-child){display:none}
.programme-routine .routine-view-bar>.segmented:last-child{min-width:280px}
.programme-routine .routine-view-bar .segmented button{padding:10px 22px;font-size:13px;min-height:44px}
.programme-routine .routine-row-title{margin:0 0 14px;align-items:center;gap:12px}
.programme-routine .routine-row-title h2{font-size:22px;margin:0;line-height:1.3}
.programme-routine .routine-row-title>span{color:var(--muted);font-size:12px}
.programme-routine .routine-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.programme-routine .routine-card{border-radius:14px;overflow:hidden;align-self:stretch}
.programme-routine .routine-card-label{font-size:10px;letter-spacing:.04em;padding:12px;min-height:38px}
.programme-routine .routine-photo{height:150px;padding:12px}
.programme-routine .routine-card-copy{padding:12px 16px 16px}
.programme-routine .routine-card h3{font-size:22px;line-height:1.2;margin:0 0 7px;overflow-wrap:anywhere}
.programme-routine .routine-card .product-sub{font-size:12px;line-height:1.4;min-height:0;margin-bottom:12px}
.programme-routine .routine-card-benefit{font-size:13px;line-height:1.5;margin:0 0 14px}
.programme-routine .routine-care{margin:0;border-top:1px solid var(--line)}
.programme-routine .routine-care summary{display:flex;justify-content:space-between;gap:7px;align-items:center;min-height:44px;font-size:12px;cursor:pointer;list-style:none}
.programme-routine .routine-care summary::-webkit-details-marker{display:none}
.programme-routine .routine-care summary svg{width:15px;height:15px;flex-shrink:0}
.programme-routine .routine-care p{font-size:13px;line-height:1.6}
.programme-routine .routine-card-actions{margin-top:0;padding-top:6px;border:0;gap:8px;flex-wrap:nowrap}
.programme-routine .routine-card-actions>.text-button{font-size:12px;min-height:44px}
.programme-routine .routine-card-actions>.circle-button{height:44px;width:44px;flex-shrink:0}
.programme-next{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:18px 0}
.programme-next .text-link{font-size:13px;min-height:44px}
.programme-about{border-block:1px solid var(--line);margin:6px 0 20px}
.programme-about>summary{display:flex;justify-content:space-between;gap:12px;min-height:52px;align-items:center;font-size:14px;cursor:pointer;list-style:none}
.programme-about-content{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:12px 0 24px;align-items:start}
.programme-about-content h3{font-size:22px;margin:0 0 12px}
.programme-about-content ul{padding-left:18px;margin:0 0 15px}
.programme-about-content li,.programme-about-content p{font-size:14px;line-height:1.6}
.programme-about-content .routine-case{max-width:560px}
.programme-about-content .routine-case p,.programme-about-content small{font-size:11px;line-height:1.5;color:var(--muted)}
.programme-routine .routine-shopping{padding-top:20px}

/* One decision at a time, with the whole sequence visible in a compact rail. */
.guided-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}
.guided-heading h2{font-size:24px;line-height:1.2;margin:0}
.guided-heading>span{color:var(--muted);font-size:12px;white-space:nowrap}
.guided-overview{gap:8px;padding:2px 2px 12px;margin:0 0 12px;scroll-snap-type:x proximity}
.guided-overview>button{display:flex;flex:1 0 108px;max-width:190px;flex-direction:column;align-items:stretch;text-align:left;white-space:normal;gap:5px;min-height:142px;border-radius:12px;padding:9px;border-top:3px solid var(--accent);scroll-snap-align:start}
.guided-overview>button[aria-current=step]{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent);background:color-mix(in srgb,var(--accent) 6%,#fff)}
.guided-overview>button>.guided-step-label{display:flex;justify-content:space-between;gap:4px;width:auto;height:auto;border-radius:0;color:var(--accent);background:none;font-size:9px;font-weight:650;line-height:1.3}
.guided-step-label svg{width:13px;height:13px;flex-shrink:0}
.guided-overview>button>.guided-step-photo{display:block;width:100%;height:50px;border-radius:0;background:none}
.guided-step-photo .product-photo{height:100%;width:100%;object-fit:contain}
.guided-overview .guided-step-photo .product-photo{display:block;background:none;border-radius:0;color:inherit}
.guided-step-photo .product-photo :is(img,svg){width:100%;height:100%;object-fit:contain}
.guided-overview>button>strong{font-size:12px;line-height:1.25;color:var(--accent)}
.guided-overview>button>small{font-size:10px;color:var(--muted);line-height:1.25;overflow-wrap:anywhere}
.guided-active{max-width:850px;scroll-margin-top:calc(var(--header) + 12px)}
.compact-routine .guided-active .rbuilder-step{display:block;border-radius:14px}
.compact-routine .guided-active .rbuilder-step-header{min-height:52px;padding:12px 20px;gap:12px}
.compact-routine .guided-active .rbuilder-step-header h3{font-size:23px}
.compact-routine .guided-active .rbuilder-step-number{font-size:10px;letter-spacing:.08em}
.compact-routine .guided-active .rbuilder-step-purpose{padding:14px 20px 0;font-size:14px;line-height:1.5;margin:0 0 12px}
.guided-empty{display:flex;align-items:center;gap:24px;padding:4px 20px 12px;min-height:140px}
.guided-empty .rbuilder-example-photo{height:125px;width:120px;flex:0 0 120px}
.guided-empty>div:last-child{display:flex;flex-direction:column;gap:8px}
.guided-empty strong{font-size:20px;line-height:1.2}
.guided-empty p{font-size:13px;line-height:1.4;margin:0;color:var(--muted)}
.guided-empty>div>span:last-child{font-size:12px;color:var(--muted)}
.compact-routine .guided-active .rbuilder-step-actions{padding:8px 20px 20px}
.compact-routine .guided-active .rbuilder-step-actions>.button{min-height:46px;font-size:13px;width:auto;padding:11px 20px}
.compact-routine .guided-active .rbuilder-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px;padding:0 20px}
.compact-routine .guided-active .rbuilder-product{display:grid;grid-template-columns:110px 1fr;column-gap:18px;padding-bottom:18px}
.compact-routine .guided-active .rbuilder-product+.rbuilder-product{padding-top:0;border-top:0}
.compact-routine .guided-active .rbuilder-product-top{grid-column:1/-1;min-height:36px}
.compact-routine .guided-active .rbuilder-product-image{height:160px;margin:10px 0 0}
.compact-routine .guided-active .rbuilder-product-copy h4{font-size:23px;margin-top:12px}
.compact-routine .guided-active .rbuilder-product-copy .product-sub{font-size:13px;line-height:1.4}
.compact-routine .guided-active .rbuilder-why{font-size:13px;line-height:1.5}
.compact-routine .guided-active .rbuilder-product-actions>.button{width:auto;font-size:12px;min-height:44px}
.compact-routine .guided-active .rbuilder-use summary,.compact-routine .guided-active .rbuilder-use p{font-size:12px}
.guided-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px}
.guided-controls>.button{font-size:13px;min-height:46px;padding:12px 22px}
.guided-controls>.text-button{font-size:13px;min-height:44px;gap:6px}
.guided-controls>.text-button svg{width:18px;height:18px;transform:rotate(180deg)}
.guided-skip-note{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0 0}
#routine-content,#routine-completion{scroll-margin-top:calc(var(--header) + 14px)}
#routine-programme-choices:empty{display:none}
.builder-programme-link{font-size:13px;margin-top:18px}
@media(max-width:1000px){.programme-routine .routine-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .programme-routine .routine-intro{padding:14px 18px 8px}
 .programme-routine .routine-intro h1{font-size:32px;margin:8px 0 10px}
 .programme-routine .routine-intro>div>p{font-size:14px;line-height:1.45}
 .programme-benefits{gap:6px 12px;margin:12px 0 0}.programme-benefits li{font-size:11px;gap:5px}.programme-benefits svg{width:13px;height:13px}
 .programme-routine .routine-workspace{padding:4px 16px 24px}
 .routine-customise{margin-bottom:8px}.routine-customise>summary{font-size:12px}.routine-customise>summary>span{font-size:10px;gap:4px}
 .programme-routine .routine-view-bar{margin:8px 0 12px;gap:8px}
 .programme-routine .routine-view-bar>.segmented{width:100%;min-width:0}
 .programme-routine .routine-view-bar .segmented button{min-height:40px;font-size:12px;padding:9px 16px}
 .programme-routine .routine-row-title{display:flex;margin:0 0 12px}
 .programme-routine .routine-row-title h2{font-size:18px}.programme-routine .routine-row-title>span{font-size:10px;white-space:nowrap}
 .programme-routine .routine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}
 .programme-routine .routine-card-label{font-size:9px;padding:10px;min-height:34px}
 .programme-routine .routine-photo{height:100px;padding:8px}
 .programme-routine .routine-card-copy{padding:10px 11px 12px}
 .programme-routine .routine-card h3{font-size:19px;line-height:1.18}.programme-routine .routine-card .product-sub{font-size:11px}
 .programme-routine .routine-card-benefit{font-size:12px;line-height:1.5;margin-bottom:10px}
 .programme-routine .routine-care summary{font-size:11px;gap:3px}.programme-routine .routine-card-actions>.text-button{font-size:11px}
 .programme-next .text-link{font-size:12px}
 .programme-about-content{grid-template-columns:1fr;gap:18px}
 .guided-heading{margin:8px 0}.guided-heading h2{font-size:20px}.guided-heading>span{font-size:10px}
 .guided-overview{gap:7px;margin:0 0 10px}.guided-overview>button{flex:0 0 100px;min-height:108px;padding:8px;gap:4px}
 .guided-overview>button>.guided-step-photo{height:36px}
 .guided-overview>button>.guided-step-label{font-size:8px}.guided-overview>button>strong{font-size:11px}.guided-overview>button>small{font-size:9px}
 .compact-routine .guided-active .rbuilder-step-header{padding:12px 14px;min-height:48px;gap:10px;flex-wrap:nowrap}
 .compact-routine .guided-active .rbuilder-step-header h3{font-size:20px}
 .compact-routine .guided-active .rbuilder-step-purpose{font-size:13px;padding:12px 14px 0;margin-bottom:10px}
 .guided-empty{gap:14px;padding:0 14px 10px;min-height:110px}.guided-empty .rbuilder-example-photo{height:105px;width:80px;flex-basis:80px}
 .guided-empty strong{font-size:19px}.guided-empty p{font-size:12px}
 .compact-routine .guided-active .rbuilder-step-actions{padding:8px 14px 14px}
 .compact-routine .guided-active .rbuilder-step-actions>.button{width:100%;min-height:44px;font-size:13px}
 .compact-routine .guided-active .rbuilder-products{display:block;padding:0 14px}
 .compact-routine .guided-active .rbuilder-product{grid-template-columns:80px 1fr;column-gap:14px}
 .compact-routine .guided-active .rbuilder-product-image{height:130px}
 .compact-routine .guided-active .rbuilder-product-copy h4{font-size:21px}
 .compact-routine .guided-active .rbuilder-product-copy .product-sub,.compact-routine .guided-active .rbuilder-why{font-size:12px}
 .compact-routine .guided-active .rbuilder-product+.rbuilder-product{padding-top:12px;border-top:1px solid var(--line)}
 .guided-controls{gap:10px;margin-top:12px}.guided-controls>.button{font-size:12px;min-height:44px;padding:10px 16px;gap:7px}
 .guided-skip-note{font-size:11px}
 .compact-routine .routine-view-bar{flex-direction:row}.compact-routine .routine-view-bar>.segmented:last-child{flex:1}
 .compact-routine .routine-view-bar:has(#area-tabs>button:nth-child(2)){flex-direction:column}
 .compact-routine .routine-intro{padding:12px 18px 4px}
 .compact-routine .routine-config{padding:4px 0 8px}
 .compact-routine .area-option{height:40px;min-height:40px;padding:2px 7px}
 .compact-routine .routine-view-bar{margin:8px 0}
 .compact-routine .routine-workspace{padding-top:2px}
}

/* Reserve the real summary height for focus and feedback, rather than a fixed guess. */
html.routine-dock-active{scroll-padding-bottom:calc(var(--routine-dock-height,0px) + 20px)}
html.routine-dock-active #toast{bottom:calc(var(--routine-dock-height,0px) + 12px);max-height:calc(100dvh - var(--header) - var(--routine-dock-height,0px) - 32px);overflow:auto}
.routine-dock[hidden]{display:none!important}
.routine-dock{padding-bottom:max(20px,env(safe-area-inset-bottom));min-width:0}
.routine-dock>div,.routine-dock .button-row,.routine-dock .button>span{min-width:0}
.routine-dock .button{white-space:normal;line-height:1.4}
.routine-dock .button>span{overflow-wrap:anywhere}
.guided-active .rbuilder-product-copy,.guided-empty>div:last-child{min-width:0}
.guided-active :is(h3,h4),.guided-empty strong{overflow-wrap:anywhere}
@media(max-width:700px){
 .routine-dock{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:12px 16px max(12px,env(safe-area-inset-bottom))}
 .routine-dock>div:first-child{width:auto;min-width:0;flex-wrap:wrap;gap:4px 12px;align-items:baseline}
 .routine-dock strong{font-size:16px;line-height:1.4;overflow-wrap:anywhere}
 .routine-dock small{font-size:11px;line-height:1.4}
 .routine-dock .button-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);width:100%;gap:8px}
 .routine-dock .button{width:100%;min-width:0;min-height:48px;padding:10px 12px;font-size:12px;gap:7px}
 .routine-dock .button svg{width:18px;height:18px}
 .guided-heading{align-items:baseline;flex-wrap:wrap;gap:5px 12px}
 .guided-heading h2{font-size:22px}.guided-heading>span{font-size:11px}
 .guided-overview>button{flex-basis:116px;min-height:128px;padding:10px;gap:6px}
 .guided-overview>button>.guided-step-photo{height:42px}
 .guided-overview>button>.guided-step-label{font-size:9px}.guided-overview>button>strong{font-size:13px}.guided-overview>button>small{font-size:11px;line-height:1.35}
 .compact-routine .guided-active .rbuilder-product{grid-template-columns:minmax(64px,80px) minmax(0,1fr);gap:12px}
 .compact-routine .guided-active .rbuilder-product-copy h4{font-size:22px;line-height:1.15}
 .compact-routine .guided-active .rbuilder-product-actions{gap:8px}
 .compact-routine .guided-active .rbuilder-product-actions>.button,.compact-routine .guided-active .rbuilder-product-actions>.text-button,.compact-routine .guided-active .rbuilder-product-top>.text-button{min-height:44px;font-size:12px}
 .guided-controls{flex-wrap:wrap}.guided-controls>.button{max-width:100%;min-width:0;white-space:normal}
}

.routine-availability-note{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:1px solid var(--line);border-radius:14px;padding:18px;margin:22px 0;background:var(--soft)}
.routine-availability-note p{flex:1 1 260px;margin:0;font-size:14px;line-height:1.6}
.routine-availability-note .button{min-height:44px;font-size:12px}

/* Keep weekly-care prices separate from application instructions. */
.extra-card .routine-card-price { display: block; margin-block: 1rem .65rem; }
.extra-card .extra-card-sequence { display: block; line-height: 1.55; }
.builder-photo-entry{display:inline-flex;margin:12px clamp(18px,5vw,68px)}
#skin-check-form [data-routine-question]{scroll-margin-block:5rem 8rem}
#skin-check-form [aria-invalid=true]{border:2px solid #95441c;border-radius:12px;padding:14px}
#skin-check-form .routine-question-error{color:#813514;font-weight:650;margin:10px 0 0}
.builder-check-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.builder-check-actions [data-question-count]{font-weight:650;color:#283b48}
.rs-footer .rs-timing-note{font-size:12px;line-height:1.4;color:#3a4953;margin:5px 0 0}
@media(max-height:520px){.rs-footer .rs-timing-note{margin:0;font-size:11px}}
