:root {
  --ink: #12271e;
  --ink-soft: #4d6257;
  --paper: #fbfaf5;
  --paper-deep: #efeee5;
  --pine: #123b2b;
  --pine-dark: #0b281c;
  --lime: #c9df76;
  --lime-soft: #e9f1c7;
  --gold: #c79a4b;
  --gold-soft: #f4ead4;
  --line: rgba(18, 39, 30, 0.13);
  --error: #aa3f37;
  --shadow: 0 24px 64px rgba(19, 42, 30, 0.12);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 15px;
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; min-width: 0; min-height: 100vh; background: radial-gradient(circle at 92% 4%, rgba(201,223,118,.19), transparent 26rem), radial-gradient(circle at 8% 22%, rgba(199,154,75,.10), transparent 24rem), var(--paper); color: var(--ink); line-height: 1.55; overflow-x: clip; }
button, input, select, textarea { font: inherit; }
input[dir="ltr"] { direction: ltr; text-align: left; unicode-bidi: plaintext; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.page-glow { position: fixed; width: 42vw; height: 42vw; max-width: 700px; max-height: 700px; border-radius: 50%; filter: blur(75px); pointer-events: none; z-index: -1; opacity: .28; }
.glow-one { top: -18vw; left: -15vw; background: var(--lime); }
.glow-two { bottom: -20vw; right: -15vw; background: #e6bf76; opacity: .18; }

.topbar { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 760; letter-spacing: -.02em; }
.brand img { width: 42px; height: 42px; object-fit: contain; background: var(--pine); border-radius: 12px; padding: 6px; }
.brand-copy { font-size: 1.08rem; white-space: nowrap; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.quiet-link, .text-button { color: var(--ink-soft); font-weight: 650; font-size: .93rem; background: none; border: 0; padding: 4px; }
.quiet-link:hover, .text-button:hover { color: var(--pine); }
.header-language { min-height: 38px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.5); font-size: .78rem; }
.header-language:hover { border-color: rgba(18,59,43,.28); background: rgba(255,255,255,.82); }
.nav-how { padding: 8px 7px; white-space: nowrap; }
.header-account { min-height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 7px; border: 1px solid rgba(18,59,43,.16); border-radius: 999px; color: var(--pine); background: rgba(255,255,255,.7); box-shadow: 0 3px 9px rgba(18,39,30,.035); font-size: .82rem; font-weight: 790; white-space: nowrap; transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.header-account:hover { transform: translateY(-1px); border-color: rgba(18,59,43,.32); background: #fff; box-shadow: 0 7px 16px rgba(18,39,30,.09); }
.header-account-avatar { position: relative; display: block; width: 25px; height: 25px; overflow: hidden; border-radius: 50%; background: var(--lime-soft); }
.header-account-avatar::before { content: ""; position: absolute; width: 8px; height: 8px; top: 5px; left: 50%; border-radius: 50%; background: var(--pine); transform: translateX(-50%); }
.header-account-avatar::after { content: ""; position: absolute; width: 15px; height: 9px; bottom: 3px; left: 50%; border-radius: 9px 9px 5px 5px; background: var(--pine); transform: translateX(-50%); }
.header-team { min-height: 40px; padding: 8px 13px; border-color: rgba(18,59,43,.18); color: var(--pine); background: rgba(255,255,255,.3); font-size: .8rem; white-space: nowrap; }
.button { min-height: 48px; padding: 12px 19px; border-radius: 999px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 760; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-button:focus-visible, a:focus-visible, summary:focus-visible, .segment:focus-visible, .meal-choice:focus-visible, .schedule-option:focus-visible, .stepper-button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(92, 154, 98, .42); outline-offset: 2px; }
.button-small { min-height: 40px; padding: 8px 15px; font-size: .91rem; }
.button-outline { border-color: var(--line); background: rgba(255,255,255,.48); }
.button-primary { color: #fbfcf4; background: var(--pine); box-shadow: 0 10px 22px rgba(18, 59, 43, .19); }
.button-primary:hover { background: #0d3023; box-shadow: 0 14px 26px rgba(18, 59, 43, .26); }
.button-wide { width: 100%; margin-top: 7px; }

/* Once a visitor has chosen a plan, keep the journey and price visible
   without turning the landing page into a multi-page funnel. */
.checkout-journey { position: sticky; top: 9px; z-index: 24; margin: 9px auto 0; }
.checkout-journey.is-out-of-context { display: none; }
.checkout-journey-inner { display: grid; grid-template-columns: minmax(132px,.62fr) minmax(320px,1.42fr) minmax(190px,.72fr); align-items: center; gap: 16px; padding: 11px 13px 11px 17px; border: 1px solid rgba(18,59,43,.16); border-radius: 18px; color: var(--ink); background: rgba(255,254,250,.91); box-shadow: 0 12px 28px rgba(18,39,30,.11); backdrop-filter: blur(16px); }
.checkout-journey-progress { display: grid; gap: 2px; min-width: 0; }
.checkout-journey-progress span, .checkout-journey-summary span { display: block; color: var(--ink-soft); font-size: .68rem; font-weight: 760; }
.checkout-journey-progress strong { color: var(--pine); font-size: .83rem; line-height: 1.35; }
.checkout-journey-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; list-style: none; margin: 0; padding: 0; }
.checkout-journey-steps li { display: flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 37px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 11px; color: #718077; background: rgba(245,244,237,.72); font-size: .73rem; font-weight: 760; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.checkout-journey-steps li span { display: grid; flex: 0 0 18px; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: inherit; background: rgba(18,59,43,.08); font-size: .65rem; font-variant-numeric: tabular-nums; }
.checkout-journey-steps li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-journey-steps li.is-complete { color: #376943; border-color: rgba(55,105,67,.26); background: rgba(233,241,199,.66); }
.checkout-journey-steps li.is-complete span { color: #fff; background: #4f8548; }
.checkout-journey-steps li.is-current { color: #fff; border-color: var(--pine); background: var(--pine); box-shadow: 0 5px 12px rgba(18,59,43,.18); transform: translateY(-1px); }
.checkout-journey-steps li.is-current span { color: var(--pine-dark); background: var(--lime); }
.checkout-journey-summary { display: flex; align-items: center; justify-content: flex-end; gap: 11px; min-width: 0; text-align: end; }
.checkout-journey-summary > div { min-width: 0; }
.checkout-journey-summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-journey-summary strong { display: block; margin-top: 2px; color: var(--pine); font-size: .97rem; line-height: 1.15; direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.checkout-journey-summary .text-button { flex: 0 0 auto; color: var(--pine); font-size: .72rem; font-weight: 800; text-decoration: underline; text-decoration-color: rgba(18,59,43,.28); text-underline-offset: 3px; }
.selection-section, .account-section, .application-section { scroll-margin-top: 104px; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr); gap: clamp(34px, 7vw, 92px); align-items: center; overflow: hidden; padding: clamp(34px, 5vw, 70px); border: 1px solid rgba(255,255,255,.14); border-radius: 36px; color: #fff; background: linear-gradient(122deg, #082419 0%, #10452f 58%, #1f6044 100%); box-shadow: 0 28px 62px rgba(9,37,26,.24); }
.hero::before { content: ""; position: absolute; z-index: -1; width: clamp(250px, 37vw, 520px); aspect-ratio: 1; inset-inline-start: -9%; bottom: -48%; border: 46px solid rgba(201,223,118,.14); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 65px rgba(199,154,75,.06); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 210px; height: 210px; inset-inline-end: 31%; top: -120px; border-radius: 47% 53% 57% 43%; background: radial-gradient(circle at 33% 33%, rgba(255,255,255,.22) 0 5%, transparent 6%), radial-gradient(circle at 65% 54%, rgba(201,223,118,.5) 0 8%, transparent 9%), radial-gradient(circle at 46% 70%, rgba(199,154,75,.6) 0 10%, transparent 11%), rgba(255,255,255,.05); transform: rotate(21deg); }
.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 12px; color: #507447; font-size: .78rem; line-height: 1.2; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; }
.eyebrow.compact { margin-bottom: 8px; }
.hero .eyebrow { color: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 670px; font-size: clamp(2.55rem, 5vw, 5.45rem); line-height: .99; letter-spacing: -.065em; margin-bottom: 23px; font-weight: 770; }
.hero h1 { color: #fff; }
h2 { font-size: clamp(1.65rem, 3vw, 2.7rem); line-height: 1.08; letter-spacing: -.045em; margin-bottom: 13px; }
.hero-lede { max-width: 570px; color: rgba(255,255,255,.78); font-size: clamp(1rem, 1.35vw, 1.15rem); margin-bottom: 26px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 30px; }
.hero-points span { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); padding: 7px 11px; border-radius: 999px; font-size: .82rem; color: rgba(255,255,255,.82); font-weight: 650; backdrop-filter: blur(10px); }
.hero-link { color: var(--lime); font-weight: 800; border-bottom: 1px solid rgba(201,223,118,.5); padding-bottom: 4px; }

.calculator-card { position: relative; z-index: 1; color: var(--ink); background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.92); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-xl); box-shadow: 0 24px 52px rgba(0,0,0,.20); backdrop-filter: blur(16px); }
.card-heading > p:not(.eyebrow) { color: var(--ink-soft); font-size: .91rem; margin-bottom: 23px; }
fieldset { padding: 0; border: 0; margin: 0 0 18px; }
legend, label > span { display: block; font-size: .88rem; color: var(--ink-soft); font-weight: 730; margin-bottom: 7px; }
.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; background: #edf0e9; border-radius: 13px; padding: 4px; }
.segment { min-height: 42px; border: 0; border-radius: 10px; color: var(--ink-soft); background: transparent; font-weight: 750; transition: background .16s, box-shadow .16s, color .16s; }
.segment.is-selected { color: var(--ink); background: white; box-shadow: 0 2px 7px rgba(20,48,34,.11); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
input, select, textarea { width: 100%; background: rgba(251,250,245,.84); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); padding: 12px 13px; min-height: 48px; transition: border .16s, box-shadow .16s; }
textarea { resize: vertical; min-height: 94px; }
input::placeholder, textarea::placeholder { color: #8a998d; }
input:hover, select:hover, textarea:hover { border-color: rgba(18,59,43,.31); }
.form-message { min-height: 22px; margin: 12px 0 0; color: var(--error); font-size: .88rem; font-weight: 650; }
.form-message.is-success { color: #267145; }
.firebase-recaptcha-slot { min-height: 0; }
.firebase-recaptcha-slot > div { margin-inline: auto; }
.selection-recovery-link { display: inline-flex; margin-top: 5px; }

.kitchen-gallery { display: grid; grid-template-columns: minmax(260px, .72fr) minmax(460px, 1.28fr); align-items: center; gap: clamp(32px, 6vw, 86px); padding: clamp(58px, 8vw, 104px) 0 clamp(36px, 5vw, 58px); }
.kitchen-gallery-copy { max-width: 395px; }
.kitchen-gallery-copy h2 { max-width: 390px; margin-bottom: 16px; }
.kitchen-gallery-copy > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1rem; }
.gallery-note { max-width: 370px; margin: 22px 0 0; padding: 11px 13px; border-inline-start: 2px solid var(--gold); color: #69756d !important; background: rgba(244,234,212,.48); font-size: .78rem !important; line-height: 1.55; }
.kitchen-gallery-stage { min-width: 0; }
.kitchen-gallery-grid { position: relative; display: grid; grid-template-columns: 1.13fr .87fr; grid-template-rows: 1fr 1fr; gap: 14px; min-height: clamp(300px, 34vw, 420px); isolation: isolate; }
.kitchen-gallery-grid::before { content: ""; position: absolute; z-index: -1; width: 220px; height: 220px; inset-inline-start: -35px; bottom: -35px; border-radius: 50%; border: 22px solid rgba(201,223,118,.55); box-shadow: 0 0 0 28px rgba(199,154,75,.09); }
.kitchen-gallery-grid::after { content: ""; position: absolute; z-index: -1; width: 132px; height: 132px; inset-inline-end: -23px; top: -24px; border-radius: 45% 55% 58% 42%; background: rgba(199,154,75,.24); transform: rotate(22deg); }
.kitchen-photo { position: relative; min-width: 0; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.72); border-radius: 22px; background: #173b2b; box-shadow: 0 16px 32px rgba(18,39,30,.16); }
.kitchen-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 46%, rgba(8,36,25,.52)); }
.kitchen-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .35s ease; }
.kitchen-photo:hover img { transform: scale(1.055); filter: saturate(1.07) contrast(1.03); }
.kitchen-photo--tall { grid-row: 1 / span 2; border-radius: 28px 18px 28px 18px; }
.kitchen-photo--upper { border-radius: 18px 28px 18px 28px; }
.kitchen-photo--lower { border-radius: 28px 18px 28px 18px; }
.kitchen-photo figcaption { position: absolute; z-index: 1; inset-inline-start: 15px; bottom: 12px; color: rgba(255,255,255,.93); font-size: .74rem; font-weight: 720; text-shadow: 0 1px 9px rgba(0,0,0,.45); }
.kitchen-gallery-more { margin-top: 14px; border: 1px solid rgba(18,59,43,.13); border-radius: 16px; background: rgba(255,255,255,.68); overflow: hidden; }
.kitchen-gallery-more summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 13px 15px; color: var(--pine); font-size: .82rem; font-weight: 790; list-style: none; user-select: none; }
.kitchen-gallery-more summary::-webkit-details-marker { display: none; }
.kitchen-gallery-more summary::after { content: "↓"; order: -1; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--pine); background: rgba(201,223,118,.42); font-size: .9rem; transition: transform .2s ease; }
.kitchen-gallery-more[open] summary { border-bottom: 1px solid rgba(18,59,43,.11); }
.kitchen-gallery-more[open] summary::after { transform: rotate(180deg); }
.kitchen-gallery-more summary b { min-width: 28px; padding: 3px 7px; border-radius: 999px; color: #4e5e45; background: rgba(233,241,199,.75); font-size: .69rem; text-align: center; }
.kitchen-gallery-more-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; padding: 12px; }
.kitchen-gallery-more-grid figure { aspect-ratio: 1.5; min-width: 0; margin: 0; overflow: hidden; border-radius: 11px; background: var(--pine); }
.kitchen-gallery-more-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .25s ease; }
.kitchen-gallery-more-grid figure:hover img { transform: scale(1.045); filter: saturate(1.07); }

.plan-section { padding: 16px 0 82px; }
.is-hidden { display: none !important; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 14px; }
.section-heading h2 { margin-bottom: 0; }
.section-intro { color: var(--ink-soft); max-width: 720px; margin: 0 0 28px; }
.calorie-result { background: var(--pine-dark); color: white; padding: 14px 17px; border-radius: 15px; min-width: 200px; text-align: start; font-weight: 670; font-size: .91rem; }
.calorie-result strong { display: block; color: var(--lime); font-size: 1.2rem; }
.programmes { display: grid; gap: 18px; }
.goal-picker { padding: 18px; border: 1px solid rgba(18,59,43,.13); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); box-shadow: 0 8px 24px rgba(18,39,30,.045); }
.goal-picker-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.goal-picker-heading h3 { margin: 0; color: var(--ink); font-size: 1.06rem; letter-spacing: -.025em; }
.goal-picker-heading p { max-width: 560px; margin: 4px 0 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.55; }
.goal-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; }
.goal-choice.programme { --goal-accent: var(--plan-accent); width: 100%; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 15px; color: var(--plan-ink); background: color-mix(in srgb, var(--plan-tint) 62%, white); text-align: inherit; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.goal-choice.programme:hover { transform: translateY(-2px); border-color: var(--plan-accent); background: var(--plan-tint); box-shadow: 0 9px 18px color-mix(in srgb, var(--plan-accent) 14%, transparent); }
.goal-choice.programme.is-selected { border-color: var(--plan-accent); background: var(--plan-tint); box-shadow: 0 10px 20px color-mix(in srgb, var(--plan-accent) 16%, transparent); }
.goal-choice-copy { min-width: 0; }
.goal-choice-copy b, .goal-choice-copy small { display: block; }
.goal-choice-copy b { font-size: .92rem; line-height: 1.25; }
.goal-choice-copy small { margin-top: 4px; color: color-mix(in srgb, var(--plan-ink) 62%, white); font-size: .69rem; line-height: 1.35; }
.goal-choice-state { flex: 0 0 auto; display: grid; min-width: 25px; min-height: 25px; place-items: center; border-radius: 50%; color: var(--plan-ink); background: color-mix(in srgb, var(--plan-accent) 16%, white); font-size: .72rem; font-weight: 820; }
.goal-choice.is-selected .goal-choice-state { min-width: auto; padding: 5px 7px; border-radius: 999px; color: #fff; background: var(--plan-accent); font-size: .62rem; }
.goal-picker-prompt { margin: 0; padding: 15px 17px; border: 1px dashed rgba(18,59,43,.26); border-radius: 15px; color: var(--ink-soft); background: rgba(233,241,199,.30); font-size: .87rem; font-weight: 680; }
.programme { --plan-accent: #598c54; --plan-tint: #eff4dc; --plan-ink: #173d2c; min-width: 0; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fffefa; box-shadow: 0 8px 25px rgba(18,39,30,.06); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.programme:hover, .programme.is-selected { transform: translateY(-3px); border-color: color-mix(in srgb, var(--plan-accent) 68%, var(--line)); box-shadow: 0 18px 38px rgba(18,39,30,.13); }
.programme.is-selected::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--plan-accent); border-radius: inherit; pointer-events: none; }
.programme--weight_loss { --plan-accent: #769f53; --plan-tint: #eff5d9; --plan-ink: #304a22; }
.programme--maintenance { --plan-accent: #4b7d75; --plan-tint: #e3f0ec; --plan-ink: #1e4b44; }
.programme--muscle_gain { --plan-accent: #af7c3a; --plan-tint: #f7ead5; --plan-ink: #6c431b; }
.programme-identity { min-height: 150px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; overflow: hidden; padding: 20px; color: var(--plan-ink); background: var(--plan-tint); isolation: isolate; }
.programme--focused { width: min(100%, 760px); margin-inline: auto; }
.programme--focused .programme-identity { min-height: 126px; }
.programme-identity::before { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; inset-inline-end: -66px; top: -95px; background: color-mix(in srgb, var(--plan-accent) 18%, transparent); z-index: -1; }
.programme-identity-copy { min-width: 0; position: relative; z-index: 2; }
.programme-index { display: block; margin-bottom: 8px; color: color-mix(in srgb, var(--plan-ink) 68%, transparent); font-size: .73rem; font-weight: 820; letter-spacing: .11em; }
.programme-identity h3 { margin: 0 0 6px; font-size: clamp(1.18rem, 2vw, 1.42rem); line-height: 1.08; letter-spacing: -.035em; }
.programme-identity p { max-width: 205px; margin: 0; color: color-mix(in srgb, var(--plan-ink) 74%, white); font-size: .82rem; line-height: 1.45; }
.programme-fact { position: absolute; inset-inline-end: 18px; bottom: 13px; z-index: 3; color: color-mix(in srgb, var(--plan-ink) 78%, white); font-size: .7rem; font-weight: 780; letter-spacing: .05em; }
.programme-mark { position: relative; flex: 0 0 90px; width: 90px; height: 90px; border-radius: 28px; overflow: hidden; background: color-mix(in srgb, var(--plan-accent) 20%, white); transform: rotate(-7deg); }
.programme-mark i { position: absolute; display: block; border-radius: 999px; background: var(--plan-accent); opacity: .9; }
.programme-mark i:nth-child(1) { width: 58px; height: 58px; inset-inline-start: 16px; top: 15px; border: 2px solid color-mix(in srgb, var(--plan-ink) 24%, white); background: transparent; }
.programme-mark i:nth-child(2) { width: 32px; height: 12px; inset-inline-start: 29px; top: 38px; box-shadow: 0 17px 0 color-mix(in srgb, var(--plan-accent) 72%, white); }
.programme-mark i:nth-child(3) { width: 13px; height: 13px; inset-inline-start: 20px; top: 18px; background: color-mix(in srgb, var(--plan-ink) 78%, white); }
.programme--weight_loss .programme-mark i:nth-child(2) { transform: rotate(-34deg); box-shadow: 14px 16px 0 color-mix(in srgb, var(--plan-accent) 78%, white); }
.programme--maintenance .programme-mark { transform: rotate(0deg); }
.programme--maintenance .programme-mark i:nth-child(1) { width: 62px; height: 24px; top: 33px; border-width: 2px 0; border-radius: 0; }
.programme--maintenance .programme-mark i:nth-child(2) { width: 22px; height: 22px; inset-inline-start: 19px; top: 34px; box-shadow: 30px 0 0 var(--plan-accent); }
.programme--maintenance .programme-mark i:nth-child(3) { width: 74px; height: 2px; inset-inline-start: 8px; top: 65px; }
.programme--muscle_gain .programme-mark { transform: rotate(6deg); }
.programme--muscle_gain .programme-mark i:nth-child(1) { width: 15px; height: 38px; inset-inline-start: 19px; top: 39px; border: 0; border-radius: 8px 8px 2px 2px; background: var(--plan-accent); }
.programme--muscle_gain .programme-mark i:nth-child(2) { width: 15px; height: 52px; inset-inline-start: 39px; top: 25px; border-radius: 8px 8px 2px 2px; box-shadow: 20px 14px 0 var(--plan-accent); }
.programme--muscle_gain .programme-mark i:nth-child(3) { width: 69px; height: 2px; inset-inline-start: 10px; top: 77px; }
.programme-content { padding: 20px; }
.meal-choices { display: grid; gap: 8px; }
.meal-choice { width: 100%; min-height: 66px; text-align: inherit; display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--paper); padding: 12px; border-radius: 13px; transition: border .16s, background .16s, transform .16s, box-shadow .16s; }
.meal-choice:hover { border-color: var(--plan-accent); background: color-mix(in srgb, var(--plan-tint) 45%, white); transform: translateY(-1px); box-shadow: 0 8px 16px rgba(18,39,30,.06); }
.meal-choice.is-active { border-color: var(--plan-accent); border-inline-start: 4px solid var(--plan-accent); padding-inline-start: 9px; background: var(--plan-tint); box-shadow: 0 8px 18px color-mix(in srgb, var(--plan-accent) 16%, transparent); }
.meal-choice b { font-size: .92rem; }
.meal-choice small { display: block; color: var(--ink-soft); font-size: .77rem; margin-top: 2px; }
.meal-choice .meal-choice-guidance { margin-top: 6px; color: #426536; font-size: .67rem; font-weight: 760; line-height: 1.35; }
.meal-choice.is-active .meal-choice-guidance { color: var(--plan-ink); }
.meal-choice-price { text-align: end; }
.meal-choice-price strong { display: block; white-space: nowrap; color: var(--plan-ink); font-size: .91rem; }
.meal-choice-price small { white-space: nowrap; font-size: .64rem; }
.meal-choice-arrow { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: var(--plan-ink); background: color-mix(in srgb, var(--plan-accent) 17%, white); font-size: .94rem; font-weight: 850; transition: transform .16s, background .16s; }
.meal-choice:hover .meal-choice-arrow, .meal-choice.is-active .meal-choice-arrow { color: #fff; background: var(--plan-accent); transform: translateX(-2px); }
[dir="ltr"] .meal-choice:hover .meal-choice-arrow, [dir="ltr"] .meal-choice.is-active .meal-choice-arrow { transform: translateX(2px); }

.selection-section { padding: 0 0 82px; }
.selection-panel { display: grid; grid-template-columns: minmax(190px,.72fr) minmax(330px,1.4fr) minmax(220px,.72fr); gap: 18px; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,254,250,.93); box-shadow: var(--shadow); }
.selection-title { padding: 16px 8px 16px 10px; align-self: center; }
.selection-title .eyebrow { color: #507447; }
.selection-title h2 { margin-bottom: 8px; color: var(--ink); }
.selection-title p:not(.eyebrow) { max-width: 250px; margin: 0; color: var(--ink-soft); font-size: .91rem; }
.selection-builder { display: grid; align-content: start; gap: 13px; padding: 18px; border: 1px solid rgba(18,59,43,.11); border-radius: 20px; background: #f5f4ed; }
.selection-group { min-width: 0; }
.selection-group + .selection-group { padding-top: 15px; border-top: 1px solid var(--line); }
.selection-group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.selection-group-heading h3 { margin: 0; color: var(--ink); font-size: .96rem; letter-spacing: -.02em; }
.selection-group-heading p { margin: 0; color: var(--ink-soft); font-size: .76rem; text-align: end; }
.schedule-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.schedule-option { min-height: 84px; padding: 12px 9px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.68); color: var(--ink); text-align: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.schedule-option:hover { transform: translateY(-2px); border-color: rgba(18,59,43,.36); background: #fff; }
.schedule-option.is-selected { border-color: var(--pine); border-inline-start: 3px solid var(--gold); padding-inline-start: 7px; background: #fff; box-shadow: 0 7px 17px rgba(18,39,30,.09); }
.schedule-option strong, .schedule-option small { display: block; }
.schedule-option strong { font-size: .9rem; line-height: 1.15; }
.schedule-option small { margin-top: 5px; color: var(--ink-soft); font-size: .67rem; line-height: 1.35; }
.fixed-schedule-note { margin: 0; padding: 13px 14px; border: 1px solid rgba(18,59,43,.14); border-radius: 14px; background: #fff; color: var(--ink-soft); font-size: .86rem; font-weight: 680; }
.extra-stepper { display: grid; grid-template-columns: 46px minmax(88px,1fr) 46px; width: min(100%, 198px); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.stepper-button { min-height: 46px; border: 0; background: #edf0e9; color: var(--pine); font-size: 1.42rem; line-height: 1; font-weight: 520; transition: background .16s, color .16s; }
.stepper-button:hover:not(:disabled) { background: var(--lime-soft); }
.stepper-button:disabled { cursor: default; color: #a2ada5; background: #f1f1ec; }
.extra-meals-value { display: grid; place-items: center; min-height: 46px; color: var(--pine); font-size: 1.08rem; font-weight: 830; direction: ltr; unicode-bidi: isolate; }
.extra-meals-note { margin: 10px 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.45; }
.selection-quote { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 22px; border-radius: 20px; color: #fff; background: linear-gradient(145deg, var(--pine-dark), #1d553c); box-shadow: 0 13px 26px rgba(9,37,26,.16); }
.selection-quote-label, .selection-quote-schedule { color: rgba(255,255,255,.7); font-size: .78rem; font-weight: 700; }
.selection-quote strong { display: block; margin: 8px 0 4px; color: var(--lime); font-size: clamp(1.45rem, 2.5vw, 2.05rem); letter-spacing: -.055em; line-height: 1; }
.selection-quote small { display: block; color: rgba(255,255,255,.83); font-size: .82rem; line-height: 1.5; }
.selection-quote-schedule { display: block; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.15); }
.price-breakdown { display: grid; gap: 7px; margin: 14px 0 0; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.price-breakdown > div, .checkout-price-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-breakdown dt, .price-breakdown dd, .checkout-price-lines dt, .checkout-price-lines dd { margin: 0; }
.price-breakdown dt { color: rgba(255,255,255,.72); font-size: .74rem; }
.price-breakdown dd { color: #fff; font-size: .78rem; font-weight: 760; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.price-breakdown-total { margin-top: 2px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
.price-breakdown-total dt, .price-breakdown-total dd { color: var(--lime); font-weight: 830; }
.delivery-once { margin-top: 9px; color: rgba(255,255,255,.64) !important; font-size: .69rem !important; }
.selection-quote .button-primary { margin-top: 18px; background: var(--lime); color: var(--pine-dark); box-shadow: none; white-space: normal; }
.selection-quote .button-primary:hover { background: #d7ed87; }

.mobile-selection-bar { display: none; }

.application-section { padding: 0 0 90px; }
.application-card { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(26px,5vw,80px); border-top: 1px solid var(--line); padding-top: 52px; }
.application-copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 390px; }
.account-section { padding: 0 0 38px; }
.account-card { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(26px,5vw,76px); overflow: hidden; padding: clamp(25px,4vw,44px); border-radius: var(--radius-xl); color: #fff; background: linear-gradient(135deg, var(--pine-dark), #1d553c); box-shadow: 0 20px 42px rgba(9,37,26,.18); }
.account-copy { align-self: center; }
.account-copy .eyebrow { color: var(--lime); }
.account-copy h2 { margin-bottom: 9px; color: #fff; }
.account-copy > p:not(.eyebrow) { max-width: 400px; margin: 0; color: rgba(255,255,255,.72); }
.account-workspace { min-height: 228px; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; background: rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.account-workspace label { display: block; margin-bottom: 14px; }
.account-workspace label > span { color: rgba(255,255,255,.78); }
.account-workspace input { background: rgba(255,255,255,.96); }
.account-workspace .field-hint { color: rgba(255,255,255,.62); }
.account-privacy-notice { margin: -3px 0 14px; color: rgba(255,255,255,.68); font-size: .76rem; line-height: 1.65; }
.account-privacy-notice a { color: var(--lime); font-weight: 780; text-decoration: underline; text-decoration-color: rgba(201,223,118,.48); text-underline-offset: 2px; }
.account-workspace .button-primary { background: var(--lime); color: var(--pine-dark); box-shadow: none; }
.account-workspace .button-primary:hover { background: #d7ed87; }
.account-code-lede { margin: 0 0 14px; color: rgba(255,255,255,.75); font-size: .9rem; }
.account-code-lede strong { display: inline-block; color: #fff; direction: ltr; }
.account-preview-code { margin: -4px 0 14px; padding: 9px 11px; border: 1px dashed rgba(201,223,118,.56); border-radius: 11px; color: var(--lime); background: rgba(0,0,0,.14); font-size: .83rem; font-weight: 780; letter-spacing: .05em; direction: ltr; }
.account-change { display: block; width: max-content; margin: 14px auto 0; color: rgba(255,255,255,.8); }
.account-change:hover { color: #fff; }
.account-ready { display: grid; place-items: start; gap: 9px; min-height: 180px; align-content: center; }
.account-ready-mark { display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; color: var(--pine-dark); background: var(--lime); font-weight: 900; }
.account-ready h3 { margin: 3px 0 0; color: #fff; font-size: 1.23rem; }
.account-ready p { max-width: 480px; margin: 0 0 8px; color: rgba(255,255,255,.73); line-height: 1.6; }
.account-workspace .form-message { min-height: 1.25em; margin: 13px 0 0; color: #ffd7d7; }
.account-workspace .form-message.is-success { color: var(--lime); }
.truth-note { display: grid; gap: 5px; border-inline-start: 3px solid var(--gold); padding-inline-start: 13px; margin-top: 25px; color: var(--ink-soft); font-size: .87rem; }
.truth-note strong { color: var(--ink); }
.two-columns { margin-bottom: 15px; }
.application-card form > label:not(.check-row) { display: block; margin-bottom: 15px; }
.field-hint { display: block; margin-top: 5px; color: var(--ink-soft); font-size: .73rem; }
.field-hint--available { color: #356a3d; font-weight: 690; }
#delivery-zone-status.is-error { color: #9c3c33; font-weight: 690; }
.delivery-location-card { margin: 0 0 18px; padding: clamp(17px, 2.4vw, 23px); border: 1px solid rgba(18,59,43,.15); border-radius: 20px; background: linear-gradient(135deg, rgba(233,241,199,.62), rgba(255,255,255,.92) 58%, rgba(244,234,212,.56)); box-shadow: 0 10px 24px rgba(18,39,30,.045); }
.delivery-location-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.field-kicker { margin: 0 0 5px; color: #53754b; font-size: .69rem; font-weight: 820; letter-spacing: .08em; text-transform: uppercase; }
.delivery-location-heading h3 { margin: 0; color: var(--ink); font-size: 1.04rem; letter-spacing: -.025em; }
.delivery-location-heading p:not(.field-kicker) { max-width: 510px; margin: 6px 0 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.55; }
.location-button { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 14px; border: 1px solid rgba(18,59,43,.18); border-radius: 13px; color: var(--pine); background: rgba(255,255,255,.84); font-weight: 780; font-size: .8rem; transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease; }
.location-button:hover { transform: translateY(-1px); border-color: var(--pine); background: #fff; }
.location-button:disabled { cursor: wait; opacity: .72; transform: none; }
.location-button.is-captured { border-color: rgba(38,113,69,.36); color: #216641; background: #f2f8e9; }
.location-button-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: #fff; background: var(--pine); font-size: 1.1rem; line-height: 1; }
.location-button.is-captured .location-button-icon { background: #2d7948; }
.location-status { min-height: 1.2em; margin: 11px 0 0; color: var(--ink-soft); font-size: .76rem; font-weight: 660; }
.location-status.is-success { color: #216641; }
.location-status.is-error { color: #9c3c33; }
.delivery-address-grid { margin-top: 15px; }
.delivery-address-grid label, .delivery-note { display: block; }
.delivery-note { margin-top: 15px; }
.delivery-note textarea { min-height: 70px; }
.delivery-address-privacy { margin-top: 11px; max-width: 66ch; }
[data-delivery-field] input, [data-delivery-field] select, [data-delivery-field] textarea { transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
[data-delivery-field].is-invalid input, [data-delivery-field].is-invalid select, [data-delivery-field].is-invalid textarea { border-color: #b94c41; background: #fff8f7; box-shadow: 0 0 0 3px rgba(185,76,65,.11); }
.field-error-message { display: block; margin-top: 6px; color: #9c3c33; font-size: .75rem; font-weight: 740; line-height: 1.48; }
.field-error-message[hidden] { display: none; }
[data-application-field] { transition: border-color .16s ease, box-shadow .16s ease, background .16s ease; }
[data-application-field].is-invalid:not(fieldset) > input,
[data-application-field].is-invalid:not(fieldset) > select,
[data-application-field].is-invalid:not(fieldset) > textarea { border-color: #b94c41; background: #fff8f7; box-shadow: 0 0 0 3px rgba(185,76,65,.11); }
fieldset[data-application-field].is-invalid { margin-inline: -12px; padding: 12px; border: 1px solid #d88b82; border-radius: 15px; background: #fff8f7; }
fieldset[data-application-field].is-invalid legend { color: #8f332c; }
.check-row[data-application-field].is-invalid { padding: 10px 12px; border: 1px solid #d88b82; border-radius: 14px; background: #fff8f7; }
.check-row[data-application-field].is-invalid input { outline: 3px solid rgba(185,76,65,.13); outline-offset: 2px; }
.delivery-location-card[data-application-field].is-invalid,
.allergy-safety-acknowledgement[data-application-field].is-invalid { border-color: #d88b82; background: #fff8f7; box-shadow: 0 0 0 3px rgba(185,76,65,.08); }
.checkout-recovery { display: grid; gap: 8px; margin: 0 0 17px; padding: 13px 14px; border: 1px solid #d9ab64; border-radius: 14px; background: #fff8e8; color: #633f13; }
.checkout-recovery p { margin: 0; font-size: .85rem; font-weight: 700; line-height: 1.55; }
.checkout-recovery .text-button { justify-self: start; color: #634012; font-weight: 800; }
.check-row { display: flex; align-items: start; gap: 10px; font-size: .87rem; color: var(--ink-soft); margin: 4px 0 12px; }
.check-row input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; accent-color: var(--pine); }
.check-row--policies { padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.66); line-height: 1.7; }
.check-row--policies a { color: var(--pine); font-weight: 760; text-decoration: underline; text-decoration-color: rgba(18,59,43,.28); text-underline-offset: 2px; }
.allergy-safety-acknowledgement { margin: -3px 0 17px; padding: 14px; border: 1px solid rgba(199,154,75,.36); border-radius: 15px; background: linear-gradient(135deg, rgba(244,234,212,.78), rgba(255,255,255,.86)); }
.allergy-safety-acknowledgement > strong { display: block; color: var(--ink); font-size: .84rem; }
.allergy-safety-acknowledgement .check-row { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.68; }
.checkout-summary { margin: 18px 0 15px; padding: 17px; border: 1px solid rgba(18,59,43,.14); border-radius: 18px; background: linear-gradient(135deg, rgba(233,241,199,.54), rgba(255,255,255,.80)); }
.checkout-summary-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.checkout-summary-heading strong { color: var(--ink); font-size: .94rem; }
.checkout-summary-heading span { color: var(--ink-soft); font-size: .73rem; }
.checkout-price-lines { display: grid; gap: 8px; margin: 0; }
.checkout-price-lines dt { color: var(--ink-soft); font-size: .78rem; }
.checkout-price-lines dd { color: var(--ink); font-size: .83rem; font-weight: 760; direction: ltr; unicode-bidi: isolate; }
.checkout-price-total { margin-top: 3px; padding-top: 10px; border-top: 1px solid rgba(18,59,43,.16); }
.checkout-price-total dt, .checkout-price-total dd { color: var(--pine); font-weight: 850; }
.checkout-summary > p { margin: 12px 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.55; }

.how-section { padding: 0 0 58px; }
.how-panel { padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(18,59,43,.14); border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(241,246,229,.68)); box-shadow: 0 16px 36px rgba(18,39,30,.055); }
.compact-heading { align-items: end; margin-bottom: 22px; }
.how-panel .eyebrow { margin-bottom: 8px; }
.how-cta { flex: 0 0 auto; color: var(--pine); border-color: rgba(18,59,43,.2); background: rgba(255,255,255,.72); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border: 0; border-radius: 0; overflow: visible; background: transparent; }
.steps li { min-height: 156px; position: relative; overflow: hidden; padding: 20px; border: 1px solid rgba(18,59,43,.12); border-radius: 18px; background: rgba(255,255,255,.76); box-shadow: 0 5px 12px rgba(18,39,30,.025); }
.steps li::after { content: ""; position: absolute; width: 78px; height: 78px; border-radius: 50%; inset-inline-end: -32px; bottom: -36px; background: rgba(201,223,118,.33); }
.steps li:nth-child(2)::after { background: rgba(199,154,75,.18); }
.steps li:nth-child(3)::after { background: rgba(93,144,99,.18); }
.steps span { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; margin-bottom: 19px; border-radius: 10px; color: #527c42; background: var(--lime-soft); font-size: .7rem; letter-spacing: .06em; font-weight: 850; }
.steps strong { position: relative; z-index: 1; display: block; font-size: 1rem; margin-bottom: 6px; letter-spacing: -.025em; }
.steps p { position: relative; z-index: 1; color: var(--ink-soft); font-size: .84rem; line-height: 1.6; margin: 0; }
.footer { min-height: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "brand contact" "policies policies" "legal legal"; gap: 15px 28px; padding: 29px 0 25px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .86rem; }
.footer .brand, .footer-brand-block { grid-area: brand; }
.footer-brand-block { display: grid; align-content: start; gap: 5px; }
.footer .brand img { width: 32px; height: 32px; padding: 5px; }
.footer-tagline { margin: 0; font-size: .78rem; color: var(--ink-soft); }
.footer-contact-block { grid-area: contact; display: grid; align-content: start; justify-items: end; gap: 1px; min-width: 218px; padding: 11px 13px; border: 1px solid rgba(18,59,43,.11); border-radius: 15px; background: rgba(255,255,255,.5); }
.footer-contact-kicker { color: #6d7a70; font-size: .65rem; font-weight: 820; letter-spacing: .04em; }
.footer-policy-details { grid-area: policies; padding-top: 13px; border-top: 1px solid rgba(18,39,30,.09); }
.footer-policy-details summary { display: none; }
.footer-policy-details[open] > .footer-policy-links { display: flex; }
.footer-policy-links { display: flex; align-items: center; justify-content: flex-start; gap: 3px 14px; flex-wrap: wrap; }
.footer-policy-links a, .footer-team-link, .footer-support { display: inline-flex; align-items: center; min-height: 30px; color: var(--pine); font-size: .75rem; font-weight: 720; }
.footer-support { gap: .3em; }
.footer-team-link { color: var(--ink-soft); font-size: .7rem; }
.footer-policy-links a:hover, .footer-team-link:hover, .footer-support:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { grid-area: legal; margin: 0; padding-top: 12px; border-top: 1px solid rgba(18,39,30,.08); color: var(--ink-soft); font-size: .7rem; line-height: 1.55; }
.legal-merchant-note { max-width: 48ch; margin: 14px 0 0; color: var(--ink-soft); font-size: .8rem; line-height: 1.7; }
.legal-merchant-note bdi { white-space: nowrap; color: var(--ink); font-weight: 720; }
.legal-merchant-note a { color: inherit; text-decoration: underline; text-decoration-color: rgba(18, 59, 43, .32); text-underline-offset: 3px; }
.legal-merchant-note a:hover { text-decoration-color: currentColor; }

.auth-shell, .dashboard-shell, .member-shell { min-height: 100vh; }
.simple-header { padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.simple-header .dashboard-actions { align-items: center; }
.simple-header .header-language { min-height: 38px; }
.header-return { min-height: 38px; display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid rgba(18,59,43,.13); border-radius: 999px; background: rgba(255,255,255,.42); font-size: .78rem; white-space: nowrap; }
.header-logout { min-height: 38px; display: inline-flex; align-items: center; padding: 7px 10px; border: 1px solid rgba(170,63,55,.20); border-radius: 999px; color: #874139; background: rgba(255,255,255,.42); font-size: .78rem; font-weight: 760; }
.header-logout:hover { border-color: rgba(170,63,55,.42); color: #7a2d25; background: rgba(255,246,244,.9); }
.auth-main { display: flex; width: 100%; min-width: 0; justify-content: center; padding: 42px 20px 88px; }
.auth-card { width: 100%; max-width: 465px; min-width: 0; padding: 34px; background: rgba(255,255,255,.83); border: 1px solid rgba(255,255,255,.9); border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.auth-card p { color: var(--ink-soft); }
.auth-card label { display: block; margin-bottom: 15px; }
.customer-login-code-lede { margin: 0 0 14px; color: var(--ink-soft); font-size: .9rem; }
.customer-login-code-lede strong { color: var(--ink); direction: ltr; }
.customer-login-preview { margin: -4px 0 14px; padding: 9px 11px; border: 1px dashed #8aa567; border-radius: 11px; color: #315739; background: #f1f6e5; font-size: .83rem; font-weight: 780; letter-spacing: .05em; direction: ltr; }
.customer-login-code-actions { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 14px; }
.customer-login-code-actions .text-button { color: var(--pine); font-size: .78rem; text-decoration: underline; text-decoration-color: rgba(18,59,43,.25); text-underline-offset: 3px; }
.customer-login-code-actions .text-button:hover { text-decoration-color: currentColor; }
.auth-passwordless-note { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 10px; margin: 18px 0 20px; padding: 12px; border: 1px solid rgba(18,59,43,.13); border-radius: 15px; color: var(--ink-soft); background: rgba(233,241,199,.38); }
.auth-passwordless-note strong { display: block; color: var(--pine); font-size: .82rem; }
.auth-passwordless-note p { margin: 2px 0 0; font-size: .76rem; line-height: 1.55; }
.auth-passwordless-mark { position: relative; width: 32px; height: 32px; border-radius: 11px; background: var(--pine); }
.auth-passwordless-mark::before { content: ""; position: absolute; width: 12px; height: 9px; top: 8px; left: 10px; border: 2px solid var(--lime); border-bottom: 0; border-radius: 8px 8px 0 0; }
.auth-passwordless-mark::after { content: ""; position: absolute; width: 17px; height: 12px; left: 7px; bottom: 7px; border-radius: 3px; background: var(--lime); }
.back-link { color: var(--pine); font-size: .9rem; font-weight: 750; }

.dashboard-main { padding: 28px 0 80px; }
.dashboard-intro { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 30px 0; }
.dashboard-intro p { max-width: 630px; color: var(--ink-soft); margin: 0; }
.dashboard-title { font-size: clamp(2rem, 5vw, 3.7rem); }
.auth-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.dashboard-actions { display: flex; gap: 9px; }
.metric-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 10px 0 32px; }
.metric-card { min-height: 148px; padding: 21px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: rgba(255,255,255,.76); }
.metric-card.primary { background: var(--pine-dark); color: #fff; border-color: var(--pine-dark); }
.metric-card span { display: block; color: var(--ink-soft); font-size: .84rem; font-weight: 700; }
.metric-card.primary span { color: rgba(255,255,255,.67); }
.metric-card strong { display: block; margin: 13px 0 6px; font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1; letter-spacing: -.055em; }
.metric-card.primary strong { color: var(--lime); }
.metric-card small { color: var(--ink-soft); font-size: .75rem; }
.metric-card.primary small { color: rgba(255,255,255,.6); }
.payment-review-panel { margin: -12px 0 32px; border: 1px solid rgba(177,112,35,.28); border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(135deg, rgba(255,250,241,.93), rgba(251,244,230,.78)); box-shadow: 0 12px 28px rgba(105,69,20,.055); }
.payment-review-panel .panel-heading { border-bottom-color: rgba(177,112,35,.18); background: rgba(255,255,255,.38); }
.payment-review-kicker { margin: 0 0 5px !important; color: #89581e !important; font-size: .72rem !important; font-weight: 810 !important; letter-spacing: .03em; text-transform: uppercase; }
.payment-review-count { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(137,88,30,.22); border-radius: 999px; color: #704613; background: rgba(255,247,224,.88); font-size: .78rem; font-weight: 790; white-space: nowrap; }
.payment-review-list { display: grid; gap: 9px; padding: 13px; }
.payment-review-row { display: grid; grid-template-columns: minmax(105px,.75fr) minmax(120px,.85fr) minmax(145px,1fr) minmax(150px,1.2fr) auto; gap: 12px; align-items: center; padding: 14px; border: 1px solid rgba(177,112,35,.17); border-radius: 16px; background: rgba(255,255,255,.66); }
.payment-review-row > div { min-width: 0; }
.payment-review-row > div > span { display: block; margin-bottom: 4px; color: var(--ink-soft); font-size: .7rem; font-weight: 740; }
.payment-review-row > div > strong { display: block; color: var(--ink); font-size: .86rem; font-weight: 790; overflow-wrap: anywhere; }
.payment-review-provider { color: #6f4b1f !important; font-size: .78rem !important; font-weight: 730 !important; line-height: 1.45; }
.payment-review-status { justify-self: end; display: inline-flex; align-items: center; min-height: 28px; padding: 5px 9px; border-radius: 999px; color: #774511; background: #fff0d5; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.payment-review-empty { padding: 30px 25px; }
.orders-panel { border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.78); overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.panel-heading h2 { font-size: 1.2rem; margin: 0; }
.panel-heading p { color: var(--ink-soft); margin: 0; font-size: .84rem; }
.empty-state { text-align: center; padding: 60px 25px; color: var(--ink-soft); }
.empty-state strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 7px; }
.order-list { padding: 14px; display: grid; gap: 10px; }
.order-row { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.order-summary { border: 0; width: 100%; text-align: inherit; display: grid; grid-template-columns: 1.2fr .8fr .8fr auto; gap: 10px; align-items: center; padding: 15px; background: #fffefa; }
.order-summary:hover { background: #f4f7ec; }
.order-summary strong { display: block; font-size: .97rem; }
.order-summary small { display: block; color: var(--ink-soft); font-size: .78rem; margin-top: 2px; }
.status-pill { display: inline-flex; border-radius: 999px; padding: 5px 9px; background: #e6f1ce; color: #335b33; font-size: .74rem; font-weight: 790; white-space: nowrap; }
.status-pill.is-received { background: #dbe9e3; color: #25644a; }
.order-details { display: none; padding: 18px; background: #fbfaf5; border-top: 1px solid var(--line); }
.order-row.is-open .order-details { display: block; }
.detail-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 17px; }
.detail-cell { background: #fff; border-radius: 12px; padding: 12px; }
.detail-cell span { display: block; color: var(--ink-soft); font-size: .73rem; margin-bottom: 3px; }
.detail-cell strong { font-size: .88rem; overflow-wrap: anywhere; }
.detail-actions { display: flex; gap: 10px; justify-content: flex-start; }
.button-receive { border-color: var(--pine); color: var(--pine); background: transparent; }
.button-receive.is-complete { border-color: #6d8c78; color: #396148; }
.queue-workspace { padding: 0 24px 18px; border-bottom: 1px solid var(--line); }
.queue-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 18px 0 14px; }
.queue-stat { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.74); }
.queue-stat span { color: var(--ink-soft); font-size: .73rem; font-weight: 730; line-height: 1.25; }
.queue-stat strong { color: var(--pine); font-size: 1.45rem; line-height: 1; letter-spacing: -.05em; }
.queue-stat.is-primary { border-color: rgba(18,59,43,.2); background: var(--pine-dark); }
.queue-stat.is-primary span { color: rgba(255,255,255,.68); }
.queue-stat.is-primary strong { color: var(--lime); }
.queue-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.queue-search { flex: 1 1 250px; max-width: 460px; }
.queue-search span { display: block; margin: 0 0 6px; color: var(--ink-soft); font-size: .75rem; font-weight: 740; }
.queue-search input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: rgba(255,255,255,.82); }
.queue-search input:focus { border-color: var(--pine); outline: 3px solid rgba(18,59,43,.1); }
.queue-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.queue-filter { min-height: 38px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: rgba(255,255,255,.66); font: inherit; font-size: .76rem; font-weight: 740; cursor: pointer; }
.queue-filter:hover { border-color: rgba(18,59,43,.35); color: var(--pine); }
.queue-filter.is-active { border-color: var(--pine-dark); color: #fff; background: var(--pine-dark); }
.queue-result-summary { min-height: 19px; margin: 14px 0 0; color: var(--ink-soft); font-size: .79rem; }
.queue-date-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 7px 3px 0; color: var(--pine); font-size: .83rem; font-weight: 800; }
.queue-date-heading small { color: var(--ink-soft); font-size: .74rem; font-weight: 720; }
.order-row-top { display: flex; align-items: stretch; background: #fffefa; }
.order-row-top .order-summary { flex: 1; min-width: 0; }
.queue-review-button { flex: 0 0 auto; align-self: center; margin: 10px 10px 10px 0; }
.order-start.is-urgent { color: #9a3412; font-weight: 820; }
.order-activation-pill { display: inline-flex; width: max-content; max-width: 100%; margin-top: 5px; padding: 4px 7px; border-radius: 999px; color: #4d4a16 !important; background: #fff8cf; font-size: .68rem !important; font-weight: 790; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-alert-pill { display: inline-flex; width: max-content; max-width: 100%; margin-top: 5px; padding: 4px 7px; border-radius: 999px; color: #8f310f !important; background: #fff0df; font-size: .68rem !important; font-weight: 790; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.queue-load-more { display: flex; justify-content: center; padding: 0 14px 18px; }
[dir="ltr"] .queue-review-button { margin: 10px 0 10px 10px; }

/* Internal technical monitoring. These cards intentionally contain only
   aggregate, non-sensitive operating signals — no customer content or raw logs. */
.technical-intro { align-items: end; }
.technical-header-actions { flex-wrap: wrap; justify-content: flex-end; }
.technical-intro-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.technical-last-updated { max-width: 245px; color: var(--ink-soft); font-size: .74rem; font-weight: 720; line-height: 1.45; }
.technical-watchdog { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 10px 14px; margin: -6px 0 24px; padding: 16px 18px; border: 1px solid rgba(177,112,35,.26); border-radius: var(--radius-lg); background: rgba(255,250,241,.76); color: var(--ink-soft); }
.technical-watchdog strong { color: #754914; font-size: .82rem; white-space: nowrap; }
.technical-watchdog p { margin: 0; font-size: .82rem; line-height: 1.7; }
.technical-metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin: 0 0 24px; }
.technical-metric-card { min-height: 144px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.76); box-shadow: 0 10px 24px rgba(18,39,30,.035); }
.technical-metric-card span { display: block; color: var(--ink-soft); font-size: .76rem; font-weight: 760; }
.technical-metric-card strong { display: block; margin: 13px 0 6px; color: var(--pine); font-size: clamp(1.28rem,2.4vw,1.95rem); line-height: 1.08; letter-spacing: -.045em; overflow-wrap: anywhere; }
.technical-metric-card small { display: block; color: var(--ink-soft); font-size: .72rem; font-weight: 650; line-height: 1.52; }
.technical-metric-card.is-good { border-color: rgba(45,106,76,.22); background: linear-gradient(145deg, rgba(242,249,235,.95), rgba(255,255,255,.85)); }
.technical-metric-card.is-good strong { color: #2c704f; }
.technical-metric-card.is-warning { border-color: rgba(177,112,35,.32); background: linear-gradient(145deg, rgba(255,248,230,.91), rgba(255,255,255,.82)); }
.technical-metric-card.is-warning strong { color: #805014; }
.technical-metric-card.is-danger { border-color: rgba(170,63,55,.31); background: linear-gradient(145deg, rgba(255,244,241,.93), rgba(255,255,255,.83)); }
.technical-metric-card.is-danger strong { color: #a3433b; }
.technical-metric-card.is-unknown, .technical-metric-card.is-loading { border-style: dashed; background: rgba(250,250,247,.74); }
.technical-metric-card.is-unknown strong, .technical-metric-card.is-loading strong { color: var(--ink-soft); }
.technical-panel-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(310px,.85fr); gap: 16px; align-items: start; }
.technical-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.78); }
.technical-panel-heading { min-height: 93px; }
.technical-panel-kicker { margin: 0 0 5px !important; color: var(--pine); font-size: .7rem !important; font-weight: 810 !important; letter-spacing: .04em; text-transform: uppercase; }
.technical-status-badge { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 30px; padding: 6px 10px; border-radius: 999px; font-size: .72rem; font-weight: 810; white-space: nowrap; }
.technical-status-badge.is-good { color: #22613f; background: #e1f0d5; }
.technical-status-badge.is-warning { color: #754914; background: #fff1d8; }
.technical-status-badge.is-danger { color: #943830; background: #ffe5df; }
.technical-status-badge.is-unknown, .technical-status-badge.is-loading { color: var(--ink-soft); background: #eef0eb; }
.technical-incident-list { display: grid; gap: 9px; padding: 14px; }
.technical-incident { display: grid; grid-template-columns: 11px minmax(0,1fr); gap: 11px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fffefa; }
.technical-incident-marker { width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #9ba79e; box-shadow: 0 0 0 4px rgba(155,167,158,.12); }
.technical-incident.is-good .technical-incident-marker { background: #3f9369; box-shadow: 0 0 0 4px rgba(63,147,105,.13); }
.technical-incident.is-warning .technical-incident-marker { background: #c28324; box-shadow: 0 0 0 4px rgba(194,131,36,.13); }
.technical-incident.is-danger .technical-incident-marker { background: #c55247; box-shadow: 0 0 0 4px rgba(197,82,71,.12); }
.technical-incident-copy strong { display: block; color: var(--ink); font-size: .88rem; }
.technical-incident-copy p { margin: 4px 0 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.62; }
.technical-empty-state { display: grid; gap: 5px; padding: 35px 22px; color: var(--ink-soft); text-align: center; font-size: .82rem; line-height: 1.55; }
.technical-empty-state strong { color: var(--ink); font-size: .92rem; }
.technical-detail-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 0; padding: 14px; }
.technical-detail-list div { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.66); }
.technical-detail-list dt { color: var(--ink-soft); font-size: .72rem; font-weight: 730; }
.technical-detail-list dd { margin: 7px 0 0; color: var(--pine); font-size: 1.15rem; font-weight: 830; line-height: 1; letter-spacing: -.04em; }
.technical-panel-note { margin: 0; padding: 0 17px 18px; color: var(--ink-soft); font-size: .72rem; line-height: 1.62; }
.technical-guidance { display: grid; grid-template-columns: minmax(180px,.6fr) minmax(0,1.4fr); gap: 26px; margin-top: 16px; padding: 23px 25px; border-radius: var(--radius-xl); color: #fff; background: var(--pine-dark); box-shadow: 0 16px 32px rgba(9,37,26,.13); }
.technical-guidance .eyebrow { color: var(--lime); }
.technical-guidance h2 { margin: 5px 0 0; color: #fff; font-size: 1.32rem; }
.technical-guidance-list { display: grid; gap: 9px; margin: 0; padding: 0 1.25rem 0 0; color: rgba(255,255,255,.78); font-size: .81rem; line-height: 1.7; }
[dir="ltr"] .technical-guidance-list { padding: 0 0 0 1.25rem; }


.member-main { padding: 28px 0 80px; }
.member-intro { max-width: 900px; padding: 30px 0 28px; }
.member-intro-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.member-intro > p:last-child { max-width: 600px; color: var(--ink-soft); margin-bottom: 0; }
.member-profile-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 9px; min-width: 186px; padding: 9px 12px 9px 9px; border: 1px solid rgba(18,59,43,.13); border-radius: 17px; background: rgba(255,255,255,.64); box-shadow: 0 7px 17px rgba(18,39,30,.035); }
.member-profile-avatar { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: var(--pine-dark); background: var(--lime); font-size: .85rem; font-weight: 850; }
.member-profile-copy { min-width: 0; display: grid; gap: 1px; }
.member-profile-copy small { color: var(--ink-soft); font-size: .64rem; font-weight: 720; }
.member-profile-copy strong { overflow: hidden; color: var(--pine); font-size: .8rem; font-weight: 820; text-overflow: ellipsis; white-space: nowrap; }
.member-empty { min-height: 286px; display: grid; place-items: center; align-content: center; text-align: center; gap: 9px; padding: 34px 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(255,255,255,.72); box-shadow: 0 14px 35px rgba(18,39,30,.05); }
.member-empty h2 { max-width: 620px; margin: 7px 0 0; }
.member-empty p { max-width: 560px; color: var(--ink-soft); margin: 0 0 13px; }
.member-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.member-empty-status { max-width: 560px; margin: 0 !important; color: var(--ink-soft); font-size: .82rem; font-weight: 670; }
.member-empty-status.is-error { color: var(--error); }
.member-empty-actions .button:disabled { cursor: progress; opacity: .68; transform: none; box-shadow: none; }
.member-empty-mark { position: relative; width: 66px; height: 66px; border: 2px solid var(--pine); border-radius: 23px; background: var(--lime-soft); transform: rotate(-8deg); }
.member-empty-mark::before, .member-empty-mark::after { content: ""; position: absolute; border-radius: 999px; background: var(--pine); }
.member-empty-mark::before { width: 36px; height: 8px; inset: 23px 13px auto; box-shadow: 0 13px 0 rgba(18,59,43,.38); }
.member-empty-mark::after { width: 10px; height: 10px; inset: 13px 13px auto auto; }
.member-plan { display: grid; gap: 18px; }
.member-progress-card { min-height: 190px; position: relative; display: flex; align-items: end; justify-content: space-between; gap: 22px; overflow: hidden; padding: clamp(25px,4vw,40px); border-radius: var(--radius-xl); color: #fff; background: linear-gradient(135deg, var(--pine-dark), #1d553c); box-shadow: 0 20px 42px rgba(9,37,26,.18); }
.member-progress-card::after { content: ""; position: absolute; width: 330px; height: 330px; border: 42px solid rgba(201,223,118,.16); border-radius: 50%; inset-inline-end: -145px; bottom: -230px; }
.member-progress-card h2 { position: relative; z-index: 1; margin: 7px 0 5px; color: var(--lime); }
.member-progress-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.68); }
.member-label { position: relative; z-index: 1; color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 760; }
.member-next-hero { position: relative; z-index: 1; display: inline-grid; gap: 1px; margin-top: 17px; padding: 9px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.085); backdrop-filter: blur(11px); }
.member-next-hero span, .member-next-hero small { color: rgba(255,255,255,.68); font-size: .68rem; font-weight: 720; }
.member-next-hero strong { color: #fff; font-size: .92rem; line-height: 1.3; font-weight: 810; }
.member-score { position: relative; z-index: 1; min-width: 94px; padding: 15px; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; text-align: center; background: rgba(255,255,255,.08); backdrop-filter: blur(12px); }
.member-score span { display: block; color: var(--lime); font-size: 1.65rem; font-weight: 830; letter-spacing: -.06em; }
.member-score small { display: block; color: rgba(255,255,255,.7); font-size: .74rem; }
.member-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.member-metric { min-height: 142px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.76); }
.member-metric.primary { color: #fff; border-color: var(--pine-dark); background: var(--pine-dark); }
.member-metric span { display: block; color: var(--ink-soft); font-size: .81rem; font-weight: 720; }
.member-metric.primary span { color: rgba(255,255,255,.64); }
.member-metric strong { display: block; margin: 11px 0 5px; color: var(--pine); font-size: clamp(1.3rem,2.6vw,2.15rem); line-height: 1.05; letter-spacing: -.05em; overflow-wrap: anywhere; }
.member-metric.primary strong { color: var(--lime); }
.member-metric small { color: var(--ink-soft); font-size: .75rem; }
.member-metric.primary small { color: rgba(255,255,255,.59); }
.member-truth { display: flex; align-items: start; gap: 12px; padding: 18px 20px; border-inline-start: 3px solid var(--gold); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: rgba(244,234,212,.54); color: var(--ink-soft); }
.member-truth strong { color: var(--ink); white-space: nowrap; }
.member-payment-confirmation { padding: 22px; border: 1px solid rgba(190,147,56,.38); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255,250,239,.96), rgba(244,234,212,.72)); box-shadow: 0 12px 28px rgba(75,55,17,.06); }
.member-confirmation-summary { display: flex; align-items: start; justify-content: space-between; gap: 14px; cursor: pointer; list-style: none; }
.member-confirmation-summary::-webkit-details-marker { display: none; }
.member-confirmation-summary::after { content: "⌄"; flex: 0 0 auto; display: grid; width: 25px; height: 25px; place-items: center; margin-top: 2px; border-radius: 50%; color: var(--pine-dark); background: rgba(190,147,56,.14); font-size: 1rem; font-weight: 840; transition: transform .18s ease; }
.member-payment-confirmation[open] .member-confirmation-summary { padding-bottom: 16px; border-bottom: 1px solid rgba(97,78,29,.15); }
.member-payment-confirmation[open] .member-confirmation-summary::after { transform: rotate(180deg); }
.member-confirmation-summary span { display: block; color: var(--ink-soft); font-size: .76rem; font-weight: 780; }
.member-confirmation-summary h2 { margin: 6px 0 0; color: var(--pine-dark); font-size: clamp(1.05rem,2vw,1.3rem); letter-spacing: -.02em; }
.member-confirmation-summary > strong { flex: 0 0 auto; color: var(--pine-dark); font-size: clamp(1.18rem,2.6vw,1.7rem); letter-spacing: -.045em; }
.member-confirmation-summary h2[dir="ltr"], .member-confirmation-lines dd[dir="ltr"] { direction: ltr; unicode-bidi: isolate; text-align: start; }
.member-confirmation-lines { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 16px 0 12px; }
.member-confirmation-lines div { min-width: 0; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.58); }
.member-confirmation-lines dt { color: var(--ink-soft); font-size: .72rem; font-weight: 720; }
.member-confirmation-lines dd { margin: 6px 0 0; color: var(--ink); font-size: .88rem; font-weight: 780; overflow-wrap: anywhere; }
.member-confirmation-note { margin: 0; color: var(--ink-soft); font-size: .76rem; line-height: 1.65; }

@media (max-width: 980px) {
  .checkout-journey-inner { grid-template-columns: minmax(132px,.7fr) minmax(300px,1.3fr); }
  .checkout-journey-summary { grid-column: 1 / -1; justify-content: space-between; padding: 2px 4px 0; border-top: 1px solid rgba(18,59,43,.10); }
  .checkout-journey-summary > div { display: flex; align-items: baseline; gap: 10px; }
  .checkout-journey-summary strong { margin: 0; }
  .hero { grid-template-columns: 1fr; padding: clamp(28px,5vw,48px); }
  .hero-copy { max-width: 720px; }
  .hero::after { inset-inline-end: -38px; top: -105px; opacity: .72; }
  .kitchen-gallery { grid-template-columns: 1fr; gap: 30px; }
  .kitchen-gallery-copy { max-width: 630px; }
  .kitchen-gallery-copy h2 { max-width: 560px; }
  .kitchen-gallery-grid { width: min(100%, 720px); min-height: 380px; }
  .programmes { grid-template-columns: 1fr; }
  .selection-panel { grid-template-columns: 1fr; }
  .selection-title { padding: 7px 5px; }
  .selection-title p:not(.eyebrow) { max-width: 620px; }
  .selection-quote { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 18px; }
  .selection-quote strong { grid-row: span 2; grid-column: 2; margin: 0; text-align: end; }
  .selection-quote .button-primary { grid-column: 1 / -1; margin-top: 12px; }
  .account-card { grid-template-columns: 1fr; }
  .application-card { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .technical-metric-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .technical-panel-grid { grid-template-columns: 1fr; }
  .technical-guidance { grid-template-columns: 1fr; gap: 14px; }
  .payment-review-row { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .payment-review-status { justify-self: start; }
  .member-metrics { grid-template-columns: 1fr 1fr; }
  .member-metric:last-child { grid-column: span 2; }
  .member-confirmation-lines { grid-template-columns: 1fr 1fr; }
  .member-confirmation-lines > :last-child { grid-column: span 2; }
}

@media (max-width: 640px) {
  /* Reserve room only while the fixed checkout action is actually visible.
     Otherwise it creates an unnecessary empty tail below the footer. */
  body { padding-bottom: 0; }
  body:has(.mobile-selection-bar:not(.is-hidden)) { padding-bottom: 84px; }
  .container { width: min(100% - 28px, 1180px); }
  .checkout-journey { top: 5px; margin-top: 5px; }
  .checkout-journey-inner { grid-template-columns: minmax(0,1fr) auto; gap: 9px 12px; padding: 10px 11px; border-radius: 15px; }
  .checkout-journey-progress span { font-size: .62rem; }
  .checkout-journey-progress strong { font-size: .72rem; }
  .checkout-journey-steps { grid-column: 1 / -1; gap: 4px; }
  .checkout-journey-steps li { min-height: 33px; gap: 3px; padding: 6px 3px; border-radius: 9px; font-size: .61rem; }
  .checkout-journey-steps li span { flex-basis: 16px; width: 16px; height: 16px; font-size: .58rem; }
  .checkout-journey-summary { grid-column: 2; grid-row: 1; display: block; padding: 0; border: 0; }
  .checkout-journey-summary span { display: none; }
  .checkout-journey-summary strong { margin: 0; font-size: .88rem; }
  .checkout-journey-summary .text-button { display: none; }
  .topbar { min-height: 72px; }
  .brand img { width: 35px; height: 35px; }
  .brand-copy { font-size: .98rem; }
  .top-actions { gap: 7px; }
  .top-actions .button-outline:not(.team-link) { display: none; }
  .team-link { display: inline-flex; padding-inline: 10px; font-size: .72rem; white-space: nowrap; }
  .quiet-link:not(.account-link) { display: none; }
  .account-link { display: inline-flex; font-size: .78rem; white-space: nowrap; }
  .text-button { font-size: .78rem; }
  .button-small { min-height: 37px; padding: 7px 11px; font-size: .78rem; }
  .hero { padding: 30px 20px 34px; gap: 28px; border-radius: 27px; }
  .hero::before { width: 270px; border-width: 32px; inset-inline-start: -40px; bottom: -160px; }
  .hero::after { width: 145px; height: 145px; inset-inline-end: -42px; top: -68px; }
  h1 { font-size: clamp(2.25rem, 11.5vw, 3.5rem); letter-spacing: -.062em; }
  h2 { font-size: 1.62rem; }
  .hero-lede { font-size: 1rem; }
  .hero-points { gap: 6px; margin-bottom: 25px; }
  .hero-points span { font-size: .75rem; padding: 6px 8px; }
  .calculator-card { padding: 20px; border-radius: 23px; }
  .field-grid { gap: 11px; }
  input, select, textarea { font-size: 16px; }
  .kitchen-gallery { gap: 25px; padding: 52px 0 48px; }
  .kitchen-gallery-copy h2 { max-width: 320px; }
  .kitchen-gallery-copy > p:not(.eyebrow) { font-size: .93rem; }
  .gallery-note { margin-top: 17px; font-size: .74rem !important; }
  .kitchen-gallery-grid { min-height: 292px; gap: 9px; }
  .kitchen-gallery-grid::before { width: 158px; height: 158px; inset-inline-start: -24px; bottom: -25px; border-width: 15px; box-shadow: 0 0 0 18px rgba(199,154,75,.09); }
  .kitchen-gallery-grid::after { width: 92px; height: 92px; inset-inline-end: -15px; top: -14px; }
  .kitchen-photo { border-radius: 15px; }
  .kitchen-photo--tall { border-radius: 22px 15px 22px 15px; }
  .kitchen-photo--upper { border-radius: 15px 22px 15px 22px; }
  .kitchen-photo--lower { border-radius: 22px 15px 22px 15px; }
  .kitchen-photo figcaption { inset-inline-start: 11px; bottom: 9px; font-size: .66rem; }
  .kitchen-gallery-more { margin-top: 10px; border-radius: 14px; }
  .kitchen-gallery-more summary { padding: 12px; font-size: .76rem; }
  .kitchen-gallery-more-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; padding: 9px; }
  .plan-section { padding-bottom: 54px; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .calorie-result { min-width: 0; width: 100%; }
  .programmes { grid-template-columns: 1fr; }
  .goal-picker { padding: 15px; border-radius: 18px; }
  .goal-picker-heading { display: block; margin-bottom: 12px; }
  .goal-picker-heading p { margin-top: 5px; }
  .goal-choices { grid-template-columns: 1fr; gap: 7px; }
  .goal-choice { min-height: 67px; padding: 10px 12px; }
  .goal-choice-copy small { margin-top: 2px; font-size: .66rem; }
  .programme--focused { width: 100%; }
  .programme-identity { min-height: 142px; padding: 18px; }
  .programme-mark { flex-basis: 82px; width: 82px; height: 82px; }
  .programme-content { padding: 16px; }
  .selection-section { padding-bottom: 54px; }
  .selection-panel { padding: 20px; border-radius: 22px; }
  .selection-title { padding: 8px 6px 2px; }
  .selection-builder { padding: 15px; border-radius: 17px; }
  .selection-group-heading { display: block; }
  .selection-group-heading p { margin-top: 4px; text-align: inherit; }
  .schedule-options { grid-template-columns: 1fr; }
  .schedule-option { min-height: 62px; display: grid; grid-template-columns: minmax(86px,.65fr) 1fr; align-items: center; gap: 9px; padding: 11px 12px; }
  .schedule-option small { margin: 0; }
  .selection-quote { display: flex; padding: 19px; }
  .selection-quote strong { margin: 8px 0 4px; text-align: inherit; }
  .selection-quote .button-primary { margin-top: 16px; }
  .price-breakdown { margin-top: 12px; }
  .mobile-selection-bar { position: fixed; z-index: 20; inset-inline: 10px; bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px 10px 15px; border: 1px solid rgba(255,255,255,.26); border-radius: 18px; color: #fff; background: rgba(8,36,25,.95); box-shadow: 0 14px 30px rgba(9,37,26,.28); backdrop-filter: blur(16px); }
  .mobile-selection-bar > div { display: grid; min-width: 0; gap: 1px; }
  .mobile-selection-bar span { color: rgba(255,255,255,.66); font-size: .66rem; font-weight: 700; }
  .mobile-selection-bar strong { color: var(--lime); font-size: 1.03rem; line-height: 1.1; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
  .mobile-selection-bar .button { min-height: 42px; max-width: 53vw; margin: 0; padding: 8px 13px; color: var(--pine-dark); background: var(--lime); font-size: .73rem; line-height: 1.15; text-align: center; }
  .account-section { padding-bottom: 30px; }
  .account-card { gap: 24px; padding: 25px 20px; border-radius: 23px; }
  .account-workspace { min-height: 0; padding: 17px; border-radius: 17px; }
  .application-section { padding-bottom: 58px; }
  .application-card { padding-top: 40px; }
  /* A two-column checkout form makes labels with different Arabic line
     lengths push their matching controls out of alignment on phones. Keep
     the delivery details in one clear, full-width reading column instead. */
  #application-form .field-grid.two-columns { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #application-form .field-grid.two-columns > label { min-width: 0; }
  .delivery-location-card { padding: 17px; border-radius: 18px; }
  .delivery-location-heading { display: grid; gap: 14px; }
  .location-button { width: 100%; }
  .delivery-address-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 20px; }
  .steps span { margin-bottom: 15px; }
  .footer { min-height: 0; padding: 23px 0; flex-wrap: wrap; }
  .footer p { width: 100%; order: 3; margin: 0; }
  .footer-policy-links { width: 100%; justify-content: flex-start; order: 4; }
  .footer-team-link { order: 2; }
  .footer-support { order: 3; }
  .footer-legal { order: 5; }
  .auth-main { padding: 18px 14px 60px; }
  .auth-card { padding: 24px 19px; border-radius: 23px; }
  .dashboard-intro { align-items: start; flex-direction: column; }
  .technical-header-actions { justify-content: flex-end; }
  .technical-watchdog { grid-template-columns: 1fr; gap: 5px; padding: 14px; }
  .technical-metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .technical-metric-card { min-height: 126px; padding: 15px; }
  .technical-metric-card strong { font-size: 1.35rem; }
  .technical-panel-heading { min-height: 0; }
  .technical-detail-list { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
  .technical-guidance { gap: 12px; padding: 20px; }
  .technical-guidance-list { padding-inline-start: 1.15rem; font-size: .78rem; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .metric-card { padding: 15px; min-height: 128px; }
  .metric-card strong { font-size: 1.62rem; }
  .payment-review-panel { margin-top: -6px; }
  .payment-review-count { align-self: flex-start; }
  .payment-review-row { grid-template-columns: 1fr; gap: 10px; padding: 14px; }
  .payment-review-row > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
  .payment-review-row > div > span { margin: 0; }
  .payment-review-row > div > strong { text-align: end; }
  .payment-review-status { justify-self: start; }
  .panel-heading { align-items: start; flex-direction: column; padding: 18px; }
  .queue-workspace { padding: 0 18px 15px; }
  .queue-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .queue-toolbar { align-items: stretch; }
  .queue-search { max-width: none; }
  .queue-filters { flex-wrap: wrap; overflow: visible; padding-bottom: 2px; }
  .queue-filter { white-space: nowrap; }
  .order-row-top { display: block; }
  .queue-review-button { width: calc(100% - 20px); margin: 0 10px 10px; }
  [dir="ltr"] .queue-review-button { margin: 0 10px 10px; }
  .order-summary { grid-template-columns: 1fr auto; }
  .order-summary > :nth-child(2), .order-summary > :nth-child(3) { grid-column: auto; }
  .detail-grid { grid-template-columns: 1fr; }
  .member-main { padding: 18px 0 48px; }
  .member-intro { padding-top: 20px; }
  .member-empty { min-height: 254px; padding: 28px 20px; }
  .member-empty-actions { width: 100%; }
  .member-empty-actions .button { flex: 1 1 190px; }
  .member-progress-card { min-height: 210px; align-items: start; flex-direction: column; }
  .member-score { align-self: stretch; text-align: start; }
  .member-metrics { grid-template-columns: 1fr; gap: 9px; }
  .member-metric, .member-metric:last-child { min-height: 118px; grid-column: auto; }
  .member-truth { align-items: stretch; flex-direction: column; }
  .member-truth strong { white-space: normal; }
  .member-payment-confirmation { padding: 18px; }
  .member-confirmation-summary { align-items: stretch; flex-wrap: wrap; gap: 8px; }
  .member-confirmation-summary > strong { flex-basis: calc(100% - 34px); }
  .member-confirmation-lines { grid-template-columns: 1fr; gap: 7px; }
  .member-confirmation-lines > :last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .top-actions { gap: 6px; }
  .header-language { min-height: 40px; padding: 7px 9px; font-size: .7rem; }
  .header-account { min-height: 40px; gap: 5px; padding: 6px 10px 6px 6px; font-size: .72rem; }
  .header-account-avatar { width: 23px; height: 23px; }
  .header-team, .nav-how { display: none !important; }
  .simple-header { padding: 16px 0; }
  .simple-header .brand img { width: 35px; height: 35px; }
  .simple-header .dashboard-actions { gap: 6px; }
  .dashboard-shell .simple-header { align-items: flex-start; }
  .dashboard-shell .simple-header .dashboard-actions { max-width: calc(100% - 108px); flex-wrap: wrap; justify-content: flex-end; }
  .header-return, .header-logout { min-height: 40px; padding: 7px 9px; font-size: .7rem; }
  .how-section { padding-bottom: 42px; }
  .how-panel { padding: 20px 16px; border-radius: 22px; }
  .how-panel .section-heading { align-items: stretch; }
  .how-cta { width: 100%; }
  .steps { gap: 8px; }
  .steps li { min-height: 0; padding: 17px; border-radius: 15px; }
  .steps span { width: 28px; height: 28px; margin-bottom: 13px; }
  .footer { grid-template-columns: minmax(0,1fr); grid-template-areas: "brand" "contact" "policies" "legal"; gap: 13px; padding: 23px 0 20px; }
  .footer-contact-block { min-width: 0; justify-items: start; padding: 10px 11px; }
  .footer-policy-details { padding-top: 0; border-top: 0; }
  .footer-policy-details summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(18,59,43,.12); border-radius: 13px; color: var(--pine); background: rgba(255,255,255,.58); cursor: pointer; font-size: .76rem; font-weight: 800; list-style: none; user-select: none; }
  .footer-policy-details summary::-webkit-details-marker { display: none; }
  .footer-policy-details summary::after { content: "+"; display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; color: var(--pine); background: var(--lime-soft); font-size: 1rem; line-height: 1; transition: transform .18s ease; }
  .footer-policy-details[open] summary { border-color: rgba(18,59,43,.22); border-radius: 13px 13px 0 0; }
  .footer-policy-details[open] summary::after { transform: rotate(45deg); }
  .footer-policy-details:not([open]) > .footer-policy-links { display: none; }
  .footer-policy-details > .footer-policy-links { width: auto; order: initial; gap: 2px 12px; padding: 9px 11px 3px; border: 1px solid rgba(18,59,43,.12); border-top: 0; border-radius: 0 0 13px 13px; background: rgba(255,255,255,.4); }
  .footer-policy-links a, .footer-team-link, .footer-support { min-height: 29px; font-size: .72rem; }
  .footer-legal { padding-top: 10px; font-size: .67rem; }
  .auth-passwordless-note { grid-template-columns: 30px minmax(0,1fr); margin: 15px 0 18px; }
  .member-intro-heading { align-items: start; flex-direction: column; gap: 11px; }
  .member-profile-chip { width: 100%; min-width: 0; }
}

@media (max-width: 380px) {
  .topbar .brand { gap: 0; }
  .topbar .brand-copy { display: none; }
}

[dir="ltr"] .meal-choice, [dir="ltr"] .order-summary { text-align: left; }
[dir="ltr"] .truth-note { border-inline-start: 3px solid var(--gold); }

/* Arabic letters need their natural spacing. Tight Latin display tracking can
   make Arabic dots look crowded, especially on a small phone screen. */
html[lang="ar"] { text-rendering: optimizeLegibility; }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand,
html[lang="ar"] .eyebrow,
html[lang="ar"] .programme-index,
html[lang="ar"] .programme-identity h3,
html[lang="ar"] .selection-group-heading h3,
html[lang="ar"] .selection-quote strong,
html[lang="ar"] .metric-card strong,
html[lang="ar"] .member-score span,
html[lang="ar"] .member-metric strong,
html[lang="ar"] .steps span,
html[lang="ar"] .steps strong { letter-spacing: normal; }
html[lang="ar"] h1 { line-height: 1.15; }
html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.28; }
@media print {
  .topbar, .dashboard-actions, .queue-workspace, .order-row-top, .detail-actions, .page-glow { display: none !important; }
  .order-row:not(.is-open) { display: none; }
  .order-details { display: block !important; border: 0; }
  body { background: #fff; }
}

/* Inert until /api/health explicitly proves Stripe Test Mode. See
   prelaunch-banner.js for the deliberately non-secret display contract. */
.prelaunch-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  margin: 14px auto 0;
  padding: 13px 16px;
  border: 1px solid rgba(163, 112, 28, .36);
  border-radius: 17px;
  color: #50370b;
  background: linear-gradient(135deg, rgba(255, 249, 225, .96), rgba(245, 235, 192, .85));
  box-shadow: 0 9px 22px rgba(95, 67, 14, .08);
}
.prelaunch-banner[hidden] { display: none !important; }
.prelaunch-banner-mark {
  display: grid;
  min-width: 49px;
  min-height: 29px;
  place-items: center;
  margin-top: 2px;
  padding: 4px 8px;
  border: 1px solid rgba(120, 78, 15, .28);
  border-radius: 999px;
  color: #fff8dd;
  background: #725014;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .07em;
  line-height: 1;
}
.prelaunch-banner-copy { min-width: 0; }
.prelaunch-banner-label,
.prelaunch-banner-title { display: block; }
.prelaunch-banner-label {
  color: #7b5815;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.prelaunch-banner-title {
  margin-top: 3px;
  color: #3f2c08;
  font-size: .95rem;
  font-weight: 830;
  line-height: 1.35;
}
.prelaunch-banner-body {
  max-width: 920px;
  margin: 4px 0 0;
  color: #67501d;
  font-size: .82rem;
  line-height: 1.6;
}
.prelaunch-payment-note {
  margin: 12px 0 0;
  padding: 11px 12px;
  border: 1px solid rgba(163, 112, 28, .32);
  border-radius: 12px;
  color: #614813;
  background: rgba(255, 247, 215, .78);
  font-size: .78rem;
  font-weight: 720;
  line-height: 1.55;
}
.prelaunch-payment-note[hidden] { display: none !important; }
html[lang="ar"] .prelaunch-banner-label,
html[lang="ar"] .prelaunch-banner-mark { letter-spacing: normal; }
@media (max-width: 640px) {
  .prelaunch-banner {
    gap: 10px;
    margin-top: 10px;
    padding: 12px 13px;
    border-radius: 14px;
  }
  .prelaunch-banner-mark {
    min-width: 44px;
    min-height: 27px;
    padding-inline: 6px;
    font-size: .61rem;
  }
  .prelaunch-banner-title { font-size: .88rem; }
  .prelaunch-banner-body { font-size: .76rem; line-height: 1.55; }
  .prelaunch-payment-note { font-size: .74rem; }
}
