/* GRO front-end: forms + client portal. Inherits the theme's colors and fonts. */
.gro-f,.gro-portal{--gro-primary:#2563eb;--gro-text:currentColor;--gro-muted:color-mix(in srgb,currentColor 62%,transparent);--gro-border:color-mix(in srgb,currentColor 16%,transparent);--gro-soft:color-mix(in srgb,currentColor 5%,transparent);--gro-radius:14px}
.gro-f{max-width:680px;margin:0 auto;font-size:16px}
.gro-f *{box-sizing:border-box}
.gro-f-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.gro-f-progress{display:flex;align-items:center;gap:14px;margin:0 0 22px}
.gro-f-bar{flex:1;height:6px;border-radius:99px;background:var(--gro-soft);overflow:hidden}
.gro-f-bar span{display:block;height:100%;background:var(--gro-primary);border-radius:99px;transition:width .3s ease}
.gro-f-count{font-size:13px;color:var(--gro-muted);white-space:nowrap}
.gro-f-step{border:0;margin:0;padding:0;min-width:0}
.gro-f-step legend{font-size:clamp(1.4rem,3vw,1.8rem);font-weight:800;letter-spacing:-.02em;margin:0 0 18px;padding:0}
.gro-f-field{margin:0 0 18px}
.gro-f-field>label,.gro-f-label{display:block;font-weight:600;margin:0 0 7px}
.gro-f-unit{font-weight:400;color:var(--gro-muted)}
.gro-f-req{color:var(--gro-primary)}
.gro-f input[type=text],.gro-f input[type=email],.gro-f input[type=tel],.gro-f input[type=number],.gro-f input[type=date],.gro-f select,.gro-f textarea{width:100%;font:inherit;color:inherit;background:var(--gro-soft);border:1px solid var(--gro-border);border-radius:12px;padding:12px 14px;min-height:48px}
.gro-f textarea{min-height:110px;resize:vertical}
.gro-f select option{color:#111}
.gro-f input:focus,.gro-f select:focus,.gro-f textarea:focus{outline:none;border-color:var(--gro-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--gro-primary) 22%,transparent)}
.gro-f-help{display:block;margin-top:6px;font-size:13px;color:var(--gro-muted)}
.gro-f-choices{display:flex;flex-wrap:wrap;gap:8px}
.gro-f-choice{position:relative;cursor:pointer}
.gro-f-choice input,.gro-f-scale input{position:absolute;opacity:0;pointer-events:none}
.gro-f-choice span{display:inline-block;padding:10px 16px;border:1px solid var(--gro-border);border-radius:999px;background:var(--gro-soft);transition:all .15s ease}
.gro-f-choice input:checked+span,.gro-f-scale input:checked+span{background:var(--gro-primary);border-color:var(--gro-primary);color:#fff}
.gro-f-choice input:focus-visible+span,.gro-f-scale input:focus-visible+span{box-shadow:0 0 0 3px color-mix(in srgb,var(--gro-primary) 30%,transparent)}
.gro-f-scale{display:grid;grid-template-columns:repeat(10,1fr);gap:6px}
.gro-f-scale label{cursor:pointer}
.gro-f-scale span{display:grid;place-items:center;height:44px;border:1px solid var(--gro-border);border-radius:10px;background:var(--gro-soft);font-weight:600;transition:all .15s ease}
.gro-f-drop{display:flex;align-items:center;justify-content:center;min-height:96px;border:1.5px dashed var(--gro-border);border-radius:14px;background:var(--gro-soft);cursor:pointer;text-align:center;padding:12px;color:var(--gro-muted)}
.gro-f-drop input{position:absolute;opacity:0;width:1px;height:1px}
.gro-f-drop.has-file{border-style:solid;border-color:var(--gro-primary);color:inherit}
.gro-f-field.is-invalid>label,.gro-f-field.is-invalid .gro-f-label{color:#ef4444}
.gro-f-field.is-invalid input,.gro-f-field.is-invalid select,.gro-f-field.is-invalid textarea,.gro-f-field.is-invalid .gro-f-drop,.gro-f-field.is-invalid .gro-f-choice span,.gro-f-field.is-invalid .gro-f-scale span{border-color:#ef4444}
.gro-f-error{padding:12px 16px;border-radius:12px;margin:0 0 18px;background:color-mix(in srgb,#ef4444 12%,transparent);border:1px solid color-mix(in srgb,#ef4444 40%,transparent)}
.gro-f-nav{display:flex;gap:10px;justify-content:space-between;margin-top:26px}
.gro-f-btn{font:inherit;font-weight:700;border-radius:999px;padding:13px 26px;cursor:pointer;border:1px solid var(--gro-border);background:transparent;color:inherit}
.gro-f-next,.gro-f-submit{margin-left:auto;background:var(--gro-primary);border-color:var(--gro-primary);color:#fff}
.gro-f-btn:disabled{opacity:.6;cursor:wait}
.gro-f-done{text-align:center;padding:40px 20px}
.gro-f-check{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:var(--gro-primary);color:#fff;font-size:26px;font-weight:800;margin-bottom:14px}
@media (max-width:520px){.gro-f-scale{grid-template-columns:repeat(5,1fr)}}

/* Portal */
.gro-portal{max-width:860px;margin:0 auto;font-size:16px}
.gro-portal *{box-sizing:border-box}
.gro-portal-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 18px}
.gro-portal-head h2{margin:0;font-size:clamp(1.5rem,3.5vw,2.1rem)}
.gro-portal-head p{margin:4px 0 0;color:var(--gro-muted)}
.gro-portal-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 22px;padding:5px;border-radius:999px;background:var(--gro-soft);width:fit-content;max-width:100%}
.gro-portal-tabs a{padding:9px 18px;border-radius:999px;text-decoration:none;color:inherit;font-weight:600;font-size:15px}
.gro-portal-tabs a.is-active{background:var(--gro-primary);color:#fff}
.gro-card{border:1px solid var(--gro-border);border-radius:var(--gro-radius);background:var(--gro-soft);padding:22px;margin:0 0 16px}
.gro-card h3{margin:0 0 6px;font-size:1.25rem}
.gro-eyebrow{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gro-primary);margin:0 0 6px}
.gro-muted{color:var(--gro-muted)}
.gro-focus{margin:8px 0 0}
.gro-ex{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:14px 0;border-top:1px solid var(--gro-border)}
.gro-ex:first-of-type{margin-top:12px}
.gro-ex-name{font-weight:650}
.gro-ex-rx{color:var(--gro-muted);font-size:14px;margin-top:2px}
.gro-ex-note{font-size:14px;margin-top:4px}
.gro-ex-video{flex:none;font-size:14px;font-weight:600;color:var(--gro-primary);text-decoration:none;white-space:nowrap}
.gro-ex-block{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--gro-muted);margin:16px 0 0}
.gro-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.gro-week div{text-align:center;padding:10px 4px;border-radius:12px;border:1px solid var(--gro-border);font-size:13px;line-height:1.3}
.gro-week div b{display:block;font-size:12px;color:var(--gro-muted);font-weight:600}
.gro-week div.is-today{border-color:var(--gro-primary);box-shadow:inset 0 0 0 1px var(--gro-primary)}
.gro-week div.is-rest{opacity:.6}
.gro-due{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.gro-pill{display:inline-block;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:700;background:color-mix(in srgb,var(--gro-primary) 16%,transparent);color:inherit}
.gro-pill.is-late{background:color-mix(in srgb,#ef4444 18%,transparent)}
.gro-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 16px}
.gro-stat{border:1px solid var(--gro-border);border-radius:var(--gro-radius);padding:16px;background:var(--gro-soft)}
.gro-stat b{display:block;font-size:1.6rem;letter-spacing:-.02em}
.gro-stat span{color:var(--gro-muted);font-size:14px}
.gro-table{width:100%;border-collapse:collapse;font-size:15px}
.gro-table td,.gro-table th{padding:10px 6px;border-top:1px solid var(--gro-border);text-align:left}
.gro-table th{font-size:13px;color:var(--gro-muted);font-weight:600;border-top:0}
.gro-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}
.gro-photos figure{margin:0}
.gro-photos img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;display:block;background:var(--gro-soft)}
.gro-photos figcaption{font-size:12px;color:var(--gro-muted);margin-top:4px}
.gro-portal .gro-f{max-width:none}
@media (max-width:560px){.gro-week{grid-template-columns:repeat(4,1fr)}.gro-ex{align-items:flex-start}}

/* Agreements */
.gro-doc{line-height:1.7}
.gro-doc h3{font-size:1.05rem;margin:18px 0 6px}
.gro-doc p{margin:0 0 12px}
.gro-pad{position:relative;border:1.5px dashed var(--gro-border);border-radius:14px;background:#fff;overflow:hidden}
.gro-pad canvas{display:block;width:100%;height:180px;touch-action:none;cursor:crosshair}
.gro-pad::after{content:"";position:absolute;left:24px;right:24px;bottom:42px;border-bottom:1px solid #d4d4d8;pointer-events:none}
.gro-pad-clear{position:absolute;top:8px;right:8px;font:inherit;font-size:13px;border:1px solid #e4e4e7;background:#fff;color:#3f3f46;border-radius:999px;padding:4px 12px;cursor:pointer}
.gro-consent{display:flex;margin:4px 0 0}
.gro-consent span{border-radius:12px!important;line-height:1.45}

/* ---------- 0.6: profile, preview, workout log, habits, calendar ---------- */
.gro-preview-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:10px 16px;margin:0 0 18px;border-radius:12px;background:#1d4ed8;color:#fff;font-size:14px}
.gro-preview-bar a{margin-left:auto;color:#fff;font-weight:700}
.gro-portal-me{display:flex;align-items:center;gap:14px}
.gro-avatar{flex:none;display:grid;place-items:center;border-radius:50%;font-weight:700;color:#fff;background:var(--gro-av,#71717a);object-fit:cover}
.gro-profile-photo{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 20px}
.gro-profile-photo .gro-avatar{width:88px;height:88px;font-size:30px}
.gro-profile-photo .gro-f-btn{display:inline-block;padding:10px 20px}
.gro-f-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gro-f-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gro-done{color:#16a34a;font-weight:800}
.gro-daynote{margin:10px 0 0;font-size:15px}
.gro-daynote summary{cursor:pointer;font-weight:600;color:var(--gro-primary)}
.gro-log-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.gro-log-ex{padding:14px 0;border-top:1px solid var(--gro-border)}
.gro-log-ex:first-of-type{margin-top:12px}
.gro-log-ex-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.gro-last{color:var(--gro-primary);font-weight:600}
.gro-sets{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.gro-set{display:grid;grid-template-columns:28px 1fr 1fr 44px;gap:8px;align-items:center}
.gro-set:has(input[name$="[secs]"]){grid-template-columns:28px 1fr 44px}
.gro-set-no{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--gro-soft);border:1px solid var(--gro-border);font-size:13px;font-weight:700;color:var(--gro-muted)}
.gro-set input[type=number],.gro-set input[type=text]{width:100%;min-width:0;font:inherit;color:inherit;background:var(--gro-soft);border:1px solid var(--gro-border);border-radius:10px;padding:10px 12px;min-height:44px}
.gro-set input:focus{outline:none;border-color:var(--gro-primary)}
.gro-set-done{position:relative;cursor:pointer}
.gro-set-done input{position:absolute;opacity:0;pointer-events:none}
.gro-set-done span{display:grid;place-items:center;height:44px;border-radius:10px;border:1px solid var(--gro-border);color:inherit;opacity:.45;font-weight:800;transition:all .15s ease}
.gro-set-done input:checked+span{background:#16a34a;border-color:#16a34a;color:#fff;opacity:1}
.gro-set-done input:focus-visible+span{box-shadow:0 0 0 3px color-mix(in srgb,var(--gro-primary) 30%,transparent)}
.gro-habits{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.gro-habit{margin:0}
.gro-habit button{display:flex;align-items:center;gap:12px;width:100%;text-align:left;font:inherit;color:inherit;background:transparent;border:1px solid var(--gro-border);border-radius:12px;padding:12px 14px;cursor:pointer}
.gro-habit button:disabled{cursor:default}
.gro-habit-check{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;border:2px solid var(--gro-border);font-weight:800;font-size:14px}
.gro-habit.is-done .gro-habit-check{background:#16a34a;border-color:#16a34a;color:#fff}
.gro-habit.is-done .gro-habit-title{opacity:.7}
.gro-habit-title{flex:1;font-weight:600}
.gro-habit-title small{font-weight:400;color:var(--gro-muted)}
.gro-streak{font-size:14px;font-weight:700;white-space:nowrap}
.gro-cal-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px}
.gro-cal-head a{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--gro-border);color:inherit;text-decoration:none;font-size:20px}
.gro-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.gro-cal-dow{font-size:11px;color:var(--gro-muted);text-transform:uppercase;text-align:center;padding-bottom:4px}
.gro-cal-day{min-height:72px;padding:5px;border-radius:10px;border:1px solid var(--gro-border);display:flex;flex-direction:column;gap:3px;min-width:0}
.gro-cal-day.is-empty{border-color:transparent}
.gro-cal-day.is-today{border-color:var(--gro-primary);box-shadow:inset 0 0 0 1px var(--gro-primary)}
.gro-cal-num{font-size:12px;font-weight:700;color:var(--gro-muted)}
.gro-cal-item{--c:#71717a;display:block;font-size:11px;line-height:1.3;padding:2px 5px;border-radius:5px;background:color-mix(in srgb,var(--c) 16%,transparent);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gro-cal-item.is-workout,.gro-cal-legend .is-workout{--c:#3b82f6}.gro-cal-item.is-rest,.gro-cal-legend .is-rest{--c:#14b8a6}.gro-cal-item.is-form,.gro-cal-legend .is-form{--c:#a855f7}.gro-cal-item.is-weight,.gro-cal-legend .is-weight{--c:#f97316}.gro-cal-item.is-habit,.gro-cal-legend .is-habit{--c:#22c55e}
.gro-cal-item.is-done{font-weight:700}
.gro-cal-item.is-missed{opacity:.5;text-decoration:line-through}
.gro-cal-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px;font-size:12px;color:var(--gro-muted)}
.gro-cal-legend span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:3px;margin-right:5px;background:var(--c);vertical-align:-1px}
@media (max-width:560px){.gro-f-row{grid-template-columns:1fr}.gro-cal-day{min-height:46px}.gro-cal-item{font-size:0;height:6px;padding:0;background:var(--c)}.gro-set{grid-template-columns:28px 1fr 1fr 40px}}

/* ---------- 0.6.1 ---------- */
.gro-fieldset{border:0;margin:0;padding:0;min-width:0}
.gro-fieldset:disabled input,.gro-fieldset:disabled textarea,.gro-fieldset:disabled .gro-set-done{cursor:not-allowed}
.gro-log textarea,.gro-portal textarea{display:block;width:100%;box-sizing:border-box;font:inherit;color:inherit;background:var(--gro-soft);border:1px solid var(--gro-border);border-radius:12px;padding:12px 14px;min-height:90px;resize:vertical}
.gro-log textarea:focus{outline:none;border-color:var(--gro-primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--gro-primary) 22%,transparent)}
.gro-log .gro-f-nav{margin-top:18px}

/* ---------- 0.6.2: program cover + exercise media ---------- */
.gro-cover{--gro-hue:220;position:relative;display:flex;align-items:flex-end;min-height:140px;margin:-22px -22px 18px;padding:18px 22px;border-radius:var(--gro-radius) var(--gro-radius) 0 0;overflow:hidden;color:#fff;background:linear-gradient(135deg,hsl(var(--gro-hue) 60% 42%),hsl(calc(var(--gro-hue) + 50) 65% 28%));background-size:cover;background-position:center}
.gro-cover.has-img{min-height:180px}
.gro-cover::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.65))}
.gro-cover:not(.has-img)::after{content:"";position:absolute;right:-40px;top:-40px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.08)}
.gro-cover-text{position:relative;z-index:1;display:flex;flex-direction:column;gap:2px}
.gro-cover-text span{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.gro-cover-text strong{font-size:clamp(1.25rem,3.5vw,1.6rem);line-height:1.15;letter-spacing:-.01em}
.gro-media{position:relative;aspect-ratio:16/9;margin:4px 0 12px;border-radius:12px;overflow:hidden;background:#000}
.gro-media iframe,.gro-media video,.gro-media img{display:block;width:100%;height:100%;border:0;object-fit:cover}
.gro-media img{background:#111}
.gro-media-play{display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;cursor:pointer;background:#000 center/cover no-repeat}
.gro-play-btn{width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/30px no-repeat;box-shadow:0 4px 18px rgba(0,0,0,.35);transition:transform .15s ease}
.gro-media-play:hover .gro-play-btn{transform:scale(1.08)}
.gro-log-ex .gro-media{margin-top:0}
.gro-log-ex:first-of-type{margin-top:4px}
.gro-ex+.gro-media,.gro-media+.gro-ex{border-top:0}
@media (max-width:560px){.gro-cover{min-height:120px}.gro-cover.has-img{min-height:160px}}

/* ---------- 0.6.4 ---------- */
.gro-media-play{display:grid;place-items:center;width:100%;height:100%;cursor:pointer;background:#000 center/cover no-repeat;outline:none}
.gro-media-play:focus-visible{box-shadow:inset 0 0 0 3px var(--gro-primary)}

/* ---------- 0.7: pricing + checkout ---------- */
.gro-pricing{--gro-primary:#2563eb;width:100%;--gro-border:color-mix(in srgb,currentColor 16%,transparent);--gro-soft:color-mix(in srgb,currentColor 5%,transparent);--gro-muted:color-mix(in srgb,currentColor 62%,transparent);display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px;align-items:stretch;margin-left:auto!important;margin-right:auto!important;max-width:1100px}
.gro-pricing *{box-sizing:border-box}
.gro-plan{position:relative;display:flex;flex-direction:column;padding:28px 24px;border:1px solid var(--gro-border);border-radius:18px;background:var(--gro-soft)}
.gro-plan.is-featured{border-color:var(--gro-primary);box-shadow:0 0 0 1px var(--gro-primary),0 18px 40px color-mix(in srgb,var(--gro-primary) 18%,transparent)}
.gro-plan-flag{position:absolute;top:-12px;left:24px;padding:4px 12px;border-radius:99px;background:var(--gro-primary);color:#fff;font-size:12px;font-weight:700;letter-spacing:.02em}
.gro-plan-months{margin:0;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--gro-primary)}
.gro-plan h3{margin:6px 0 4px;font-size:1.5rem;letter-spacing:-.01em}
.gro-plan-tag{margin:0 0 14px;color:var(--gro-muted);font-size:15px;min-height:2.6em}
.gro-plan-price{margin:0;font-size:2.4rem;font-weight:800;letter-spacing:-.03em;line-height:1}
.gro-plan-sub{margin:6px 0 18px;color:var(--gro-muted);font-size:14px}
.gro-plan-list{list-style:none;margin:0 0 22px;padding:0;display:flex;flex-direction:column;gap:9px;font-size:15px;flex:1}
.gro-plan-list li{position:relative;padding-left:26px}
.gro-plan-list li::before{content:"";position:absolute;left:0;top:3px;width:16px;height:16px;border-radius:50%;background:color-mix(in srgb,var(--gro-primary) 18%,transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat}
.gro-plan-cta{display:block;text-align:center;text-decoration:none;margin:0!important}
.gro-plan:not(.is-featured) .gro-plan-cta{background:transparent;color:inherit;border-color:var(--gro-border)}
.gro-checkout{max-width:980px;margin-left:auto!important;margin-right:auto!important}
.gro-checkout h2{margin:0 0 18px}
.gro-steps{display:flex;gap:8px;list-style:none;margin:0 0 20px;padding:0;flex-wrap:wrap;font-size:14px}
.gro-steps li{display:flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;border-radius:99px;border:1px solid var(--gro-border);color:var(--gro-muted)}
.gro-steps li span{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--gro-soft);font-weight:700;font-size:12px}
.gro-steps li.is-current{color:inherit;border-color:var(--gro-primary)}
.gro-steps li.is-current span{background:var(--gro-primary);color:#fff}
.gro-steps li.is-done span{background:#16a34a;color:#fff;font-size:0}
.gro-steps li.is-done span::after{content:"✓";font-size:12px}
.gro-checkout-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:16px;align-items:start}
.gro-checkout-grid>.gro-card{margin:0}
.gro-summary h3{margin:0 0 4px}
.gro-summary-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--gro-border);font-size:15px}
.gro-summary-row:first-of-type{margin-top:14px}
.gro-summary-row b{font-size:1.1rem}
.gro-pay-plans{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gro-pay-plan{position:relative;cursor:pointer}
.gro-pay-plan input{position:absolute;opacity:0;pointer-events:none}
.gro-pay-plan span{display:flex;flex-direction:column;gap:2px;height:100%;padding:14px 16px;border:1px solid var(--gro-border);border-radius:12px;background:var(--gro-soft);font-size:14px;color:var(--gro-muted)}
.gro-pay-plan span b{font-size:16px;color:var(--gro-text,inherit)}
.gro-pay-plan input:checked+span{border-color:var(--gro-primary);box-shadow:0 0 0 1px var(--gro-primary)}
.gro-pay-plan input:focus-visible+span{box-shadow:0 0 0 3px color-mix(in srgb,var(--gro-primary) 30%,transparent)}
.gro-pay-btn{width:100%;margin:6px 0 0!important}
.gro-pay-note{font-size:13px;color:var(--gro-muted);margin:10px 0 0;text-align:center}
.gro-test-banner{padding:10px 14px;margin:0 0 14px;border-radius:10px;font-size:14px;background:color-mix(in srgb,#eab308 16%,transparent);border:1px solid color-mix(in srgb,#eab308 40%,transparent)}
.gro-checkout .gro-f-done h2{margin:6px 0}
@media (max-width:760px){.gro-checkout-grid{grid-template-columns:1fr}.gro-checkout-grid .gro-summary{order:-1}.gro-pay-plans{grid-template-columns:1fr}}

/* ---------- 0.7.1: Affirm (pay over time) ---------- */
.gro-affirm{margin:-10px 0 18px;font-size:14px}
.gro-affirm-mark{font-weight:800;letter-spacing:-.01em;color:#4a4af4}
.gro-portal .gro-affirm-mark,.gro-pricing .gro-affirm-mark{color:color-mix(in srgb,#6b6bff 85%,currentColor)}
.gro-affirm-disclosure{max-width:1100px;margin:14px auto 0!important;font-size:12px;color:var(--gro-muted,#888);text-align:center}
.gro-paytabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 16px}
.gro-paytabs label,.gro-affirm-terms label{position:relative;cursor:pointer}
.gro-paytabs input,.gro-affirm-terms input{position:absolute;opacity:0;pointer-events:none}
.gro-paytabs label>span{display:block;text-align:center;padding:12px;border:1px solid var(--gro-border);border-radius:12px;background:var(--gro-soft);font-weight:650}
.gro-paytabs input:checked+span,.gro-affirm-terms input:checked+span{border-color:var(--gro-primary);box-shadow:0 0 0 1px var(--gro-primary)}
.gro-pay-affirm{display:none}
.gro-paybox:has(input[name=method][value=affirm]:checked) .gro-pay-affirm{display:block}
.gro-paybox:has(input[name=method][value=affirm]:checked) .gro-pay-card{display:none}
.gro-affirm-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 6px}
.gro-affirm-terms span{display:flex;flex-direction:column;gap:2px;padding:12px;border:1px solid var(--gro-border);border-radius:12px;background:var(--gro-soft);font-size:13px}
.gro-affirm-terms span b{font-size:17px}
.gro-affirm-terms span small{color:var(--gro-muted);font-size:13px}
.gro-affirm-btn{background:#4a4af4!important;border-color:#4a4af4!important}
@media (max-width:560px){.gro-affirm-terms{grid-template-columns:1fr}}
