/* 20261030 client refinements r2. Actual route markup, client-scoped only.
   Affected app headers own the top safe-area inset once; page padding is separate. */
body.adaptive-client .client-icon-action{font:650 14px/1.45 UI,Arial,sans-serif;display:flex;align-items:center;gap:10px;width:100%;margin:0;min-height:53px;padding:10px 13px;border:1px solid var(--edge);border-radius:15px;background:var(--surface);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);text-align:left;color:var(--ink)}
body.adaptive-client .client-icon-action>span{display:flex;gap:2px;flex-direction:column;flex:1;min-width:0}
body.adaptive-client .client-icon-action strong{font:650 12px/1.35 UI,Arial,sans-serif;color:var(--ink)}
body.adaptive-client .client-icon-action small{font:400 11px/1.4 UI,Arial,sans-serif;color:var(--muted)}
body.adaptive-client .client-icon-action>svg:first-child{color:var(--image-text);width:21px;height:21px;flex-shrink:0}
body.adaptive-client .client-icon-action>svg:last-child{width:14px;height:14px;flex-shrink:0}
body.adaptive-client .client-icon-action:focus-visible{outline:2px solid var(--image-text);outline-offset:3px}
body.adaptive-client .client-icon-action:active{transform:translateY(1px)}
body.adaptive-client .client-icon-action.ad-weekly-entry{width:calc(100% + 10px);margin:7px -5px 0}

/* One compact content start below the already safe-area-aware app header. */
body.adaptive-client:is([data-route=nutrition],[data-route=meal],[data-route=shop],[data-route=product],[data-route=education],[data-route=education-article]) .main{padding-top:8px}
body.adaptive-client:is([data-route=nutrition],[data-route=meal],[data-route=shop],[data-route=product],[data-route=education],[data-route=education-article]) .view{padding-top:0}
body.adaptive-client:is([data-route=shop],[data-route=education],[data-route=education-article]) .sup-heading{padding:0 0 18px;margin:0}
body.adaptive-client:is([data-route=shop],[data-route=education],[data-route=education-article]) .sup-heading .eyebrow{margin:0 0 8px}
body.adaptive-client:is([data-route=shop],[data-route=education],[data-route=education-article]) .sup-heading h1{font:400 44px/1.04 Athletic,Impact,sans-serif;letter-spacing:-.015em;margin:0 0 12px;overflow-wrap:normal;word-break:normal}
body.adaptive-client .sup-heading h1 br{display:block}
body.adaptive-client .sup-heading h1 em{font:inherit;letter-spacing:inherit}
body.adaptive-client:is([data-route=shop],[data-route=education],[data-route=education-article]) .sup-heading p{font:400 14px/1.5 UI,Arial,sans-serif;margin:0;color:var(--muted)}
body.adaptive-client[data-route=nutrition] .page-head{padding-top:0;margin-top:0;margin-bottom:18px}
body.adaptive-client[data-route=nutrition] .support-plan-cover .support-plan-information{padding:0}
body.adaptive-client[data-route=nutrition] .support-editorial-note{margin:14px 0 20px;padding:0}
body.adaptive-client[data-route=nutrition] .support-editorial-note p{margin:0 0 12px}
body.adaptive-client[data-route=meal] .refinement-meal{padding-top:0}
body.adaptive-client:is([data-route=meal],[data-route=product]) .back-button{min-height:40px;margin:0 0 10px;padding:0;display:inline-flex;align-items:center;font:600 13px/1.4 UI,Arial,sans-serif}
body.adaptive-client .refinement-meal .document{padding:18px;margin:0}
body.adaptive-client .refinement-meal .document-header{padding-bottom:16px;margin-bottom:18px}
body.adaptive-client .refinement-meal .document-header .eyebrow{font:650 10px/1.4 UI,Arial,sans-serif;letter-spacing:.09em;margin:0 0 12px}
body.adaptive-client .refinement-meal .document-header h1{font:400 34px/1.12 Athletic,Impact,sans-serif;letter-spacing:0;margin:0 0 12px}
body.adaptive-client .refinement-meal .document-header p{font:400 14px/1.5 UI,Arial,sans-serif;margin:0 0 12px}
body.adaptive-client .refinement-meal :is(.meal-plain,.document>p){font:400 15px/1.65 UI,Arial,sans-serif;overflow-wrap:anywhere}
body.adaptive-client .refinement-meal-actions{margin-top:16px}

/* Catalogue: image stays present; readable information has a stable surface. */
body.adaptive-client .sup-shop-tabs{margin:0 0 18px;gap:18px}
body.adaptive-client .sup-shop-tabs button{font:600 14px/1.3 UI,Arial,sans-serif;min-height:44px;padding:10px 0}
body.adaptive-client .sup-catalogue{gap:18px}
body.adaptive-client .sup-product{min-height:0;padding:0;margin:0;display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;align-items:start;text-align:left;background:var(--surface);border:1px solid var(--edge);color:var(--ink);overflow:hidden}
body.adaptive-client .sup-product img{position:static;width:108px;height:100%;min-height:190px;object-fit:cover;filter:none;opacity:1}
body.adaptive-client .sup-product .sup-product-copy{position:static;inset:auto;min-width:0;display:flex;flex-direction:column;gap:8px;padding:16px 16px 16px 0;color:var(--ink)}
body.adaptive-client .sup-product .eyebrow{font:650 10px/1.4 UI,Arial,sans-serif;letter-spacing:.08em;color:var(--muted);margin:0}
body.adaptive-client .sup-product .sup-product-copy>strong{font:400 28px/1.15 Athletic,Impact,sans-serif;letter-spacing:0;text-transform:uppercase;color:inherit;overflow-wrap:anywhere;word-break:normal}
body.adaptive-client .sup-product .refinement-product-description{font:400 14px/1.45 UI,Arial,sans-serif;color:inherit}
body.adaptive-client .sup-product .refinement-product-meta{display:flex;flex-wrap:wrap;gap:8px 14px;font:650 13px/1.4 UI,Arial,sans-serif;margin-top:2px;color:inherit}
body.adaptive-client .refinement-product-meta>span{text-decoration:underline;text-underline-offset:3px}
body.adaptive-client .sup-product .sup-product-arrow{display:none}
body.adaptive-client .sup-product-program{display:flex;min-height:330px;flex-direction:column;justify-content:flex-end;position:relative}
body.adaptive-client .sup-product-program img{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-position:center;z-index:0}
body.adaptive-client .sup-product-program:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 5%,rgba(12,16,13,.48) 40%,rgba(12,16,13,.94) 100%);z-index:0}
body.adaptive-client .sup-product-program .sup-product-copy{position:relative;z-index:1;color:#fff;padding:22px;gap:10px;text-shadow:0 1px 4px #0005}
body.adaptive-client .sup-product-program .eyebrow{color:#fff}
body.adaptive-client .sup-product-program .sup-product-copy>strong{font-size:34px;line-height:1.08}
body.adaptive-client .sup-library{margin:22px 0 0}
body.adaptive-client .final-availability{font:400 12px/1.5 UI,Arial,sans-serif;margin-top:14px}
body.adaptive-client[data-route=product] .two-column{gap:18px;align-items:start}
body.adaptive-client[data-route=product] .product-detail-image{margin:0;min-width:0}
body.adaptive-client[data-route=product] .product-detail-image img{display:block;width:100%;height:230px;object-fit:cover;border-radius:18px}
body.adaptive-client[data-route=product] .product-copy{min-width:0;padding:0}
body.adaptive-client[data-route=product] .product-copy .eyebrow{font:650 10px/1.4 UI,Arial,sans-serif;letter-spacing:.08em;margin:0 0 10px}
body.adaptive-client[data-route=product] .product-copy h1{font:400 38px/1.1 Athletic,Impact,sans-serif;letter-spacing:0;margin:0 0 14px;overflow-wrap:anywhere}
body.adaptive-client[data-route=product] .product-copy>p{font:400 15px/1.55 UI,Arial,sans-serif;margin:0 0 16px;color:var(--muted)}
body.adaptive-client[data-route=product] .product-copy .tag{font:600 11px/1.45 UI,Arial,sans-serif;white-space:normal}
body.adaptive-client[data-route=product] .feature-list{display:flex;flex-direction:column;gap:4px;margin:18px 0;padding:0}
body.adaptive-client[data-route=product] .feature-list li{font:400 14px/1.5 UI,Arial,sans-serif;gap:10px;margin:4px 0;padding:0;align-items:flex-start}
body.adaptive-client[data-route=product] .feature-list svg{flex-shrink:0;width:20px;height:20px}
body.adaptive-client[data-route=product] .product-copy p.price{font:650 24px/1.25 UI,Arial,sans-serif;color:var(--ink);margin:20px 0 14px}
body.adaptive-client[data-route=product] .price small{display:block;font:400 12px/1.5 UI,Arial,sans-serif;margin-top:5px;color:var(--muted)}
body.adaptive-client[data-route=product] .product-copy>.btn{width:100%;min-height:48px;font:650 14px/1.4 UI,Arial,sans-serif}
body.adaptive-client[data-route=education] .final-empty{margin:6px 0 18px;padding:0;font:400 15px/1.6 UI,Arial,sans-serif}
body.adaptive-client[data-route=education] .text-action{min-height:44px;margin:0}
@media(min-width:760px){
 body.adaptive-client:is([data-route=nutrition],[data-route=meal],[data-route=shop],[data-route=product],[data-route=education],[data-route=education-article]) .main{padding-top:24px}
 body.adaptive-client .sup-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.adaptive-client .sup-catalogue .sup-product{grid-column:auto;grid-row:auto}
 body.adaptive-client .sup-catalogue .sup-product-program{grid-row:span 2;min-height:460px}
 body.adaptive-client[data-route=product] .product-detail-image img{height:450px}
}
@media(max-width:759px){
 /* The legacy .topbar inset does not match the current .app-header DOM. */
 body.adaptive-client:is([data-route=nutrition],[data-route=meal],[data-route=shop],[data-route=product],[data-route=education],[data-route=education-article]) .app-header{height:calc(60px + var(--safe-area-inset-top,env(safe-area-inset-top,0px)))!important;min-height:calc(60px + var(--safe-area-inset-top,env(safe-area-inset-top,0px)))!important;padding-top:calc(9px + var(--safe-area-inset-top,env(safe-area-inset-top,0px)))!important}
}
@media(prefers-reduced-motion:reduce){body.adaptive-client .client-icon-action:active{transform:none}}

body.adaptive-client[data-route=education-article] main>.sup-text-link{min-height:40px;margin:0 0 10px;display:inline-flex;align-items:center;font:600 13px/1.4 UI,Arial,sans-serif}
