@font-face { font-family: 'Verification Roboto'; src: url('/static/fonts/Roboto-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Verification Condensed'; src: url('/static/fonts/RobotoCondensed-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
.coach-access { color: var(--muted); font-size: 14px; line-height: 1.5; }
.coach-access.pref-list { padding: 16px; }
.coach-access[hidden], .verification-card [hidden] { display: none; }
.coach-access-summary { display: block; width: fit-content; max-width: 100%; margin: 16px auto 0; padding: 8px 16px; border: 0; border-radius: 8px; background: #abcabc0d; color: var(--muted); font: inherit; font-size: 12px; line-height: 1.6; text-align: center; cursor: pointer; }
.coach-access-summary:hover { background: #abcabc18; color: var(--light); }
.coach-access-summary:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.coach-access-summary[hidden] { display: none; }
.coach-access-summary { width: min(550px, calc(100% - 32px)); margin: 8px auto 24px; padding: 0; background: none; text-align: left; cursor: default; }
.coach-access-summary:hover { background: none; }
.coach-compact { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 12px 16px 12px 24px; border-radius: 999px; background: linear-gradient(100deg, #e4b95618, transparent 35%), #0e1b16; }
.coach-compact-count { display: flex; align-items: baseline; color: #e4b956; font: italic 700 48px/1 var(--font-display); white-space: nowrap; }
.coach-compact-count small { color: #b69b5b; font-size: 20px; }
.coach-compact-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 14px; line-height: 1.3; }
.coach-compact-copy strong { color: var(--light); font-size: 16px; font-weight: 700; }
.coach-compact-copy > span { color: #91a79c; }
.coach-compact-action { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 44px; padding: 8px 12px; border-radius: 999px; background: #e4b956; color: #251d09; white-space: nowrap; font: italic 700 16px/20px var(--font-display); }
.coach-compact-action .material-symbols-outlined { font-size: 18px; }
.coach-compact-count[hidden] { display: none; }
.coach-compact.has-access-issue { grid-template-columns: minmax(0, 1fr) auto; }
.coach-compact-action:hover { background: #efd087; }
.coach-compact-action:focus-visible { outline: 2px solid #efd087; outline-offset: 4px; }
.coach-compact-action:disabled { opacity: .65; cursor: wait; }
.coach-compact .coach-compact-status { grid-column: 1 / -1; margin: 0; text-align: center; font-size: 13px; }
.coach-compact-status:empty { display: none; }
@media (max-width: 600px) {
    .coach-access-summary { width: 100%; }
    .coach-compact { gap: 12px; padding: 16px; border-radius: 24px; }
    .coach-compact-count { font-size: 40px; }
    .coach-compact-copy strong { font-size: 14px; }
    .coach-compact-copy { font-size: 12px; }
    .coach-compact-action { grid-column: 1 / -1; justify-self: end; }
    .coach-compact-copy { grid-column: 2 / -1; }
    .coach-compact.has-access-issue .coach-compact-copy { grid-column: 1 / -1; }
}
.coach-offer { padding: 16px 24px; border-radius: 12px; background: linear-gradient(120deg, #26352d, #17251f); color: var(--light); box-shadow: inset 0 1px #e4bf6530; font-size: 14px; line-height: 1.5; }
.coach-offer-heading { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.coach-offer h3 { font: italic 700 var(--type-display-panel)/var(--type-display-panel-line) var(--font-display); margin: 0; }
.coach-offer [role="status"]:empty { display: none; }
.coach-offer .coach-plan-options { margin: 8px 0; }
.coach-offer .coach-plan-options .btn { margin-top: 0; }
.coach-offer p { margin: 8px 0; color: var(--muted); }
.coach-offer small { display: block; color: var(--muted); font-size: 12px; }
.coach-credit-preview { display: flex; gap: 8px; margin: 8px 0; overflow: hidden; min-height: 16px; align-items: center; }
.coach-credit-preview span { flex: 1; height: 8px; border-radius: 4px; background: #ffffff16; }
.coach-credit-preview .available { background: #e4bf65; }
.coach-credit-preview.is-locked span:nth-child(n+2) { filter: blur(4px); opacity: .5; }
.coach-offer .btn-pro { background: linear-gradient(120deg,#f0d58e,#caa655); color: #1c241e; border: 0; min-height: 44px; }
.coach-offer .btn:focus-visible { outline: 2px solid #f0d58e; outline-offset: 4px; }
.coach-inline-offer { margin: 16px 0; }
.workout-pro-sup { vertical-align: super; font-size: 12px; line-height: 16px; padding: 2px 8px; }
.lib-card.has-pro-tag { position: relative; }
.lib-card .workout-pro-tag { position: absolute; top: 16px; right: 16px; padding: 2px 8px; font-size: 12px; }
.lib-card.has-pro-tag .lib-title { padding-right: 48px; }
.member-pro-badge { display: none; align-self: flex-start; margin-left: 0; }
.intervl-pro-member .member-pro-badge { display: inline-flex; }
.intervl-pro-member #profileBtn { outline: 2px solid #e4bf65; outline-offset: 3px; }
.intervl-pro-member .profile-avatar { position: relative; outline: 2px solid #e4bf65; outline-offset: 3px; }
.intervl-pro-member .profile-avatar::after { content: 'PRO'; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(115deg,#f5dfa7,#dcb65f); color: #39280d; border-radius: 999px; padding: 0 6px; font: italic 700 12px/16px var(--font-display); }
.intervl-pro-member #profileBtn::after { content: 'PRO'; position: absolute; bottom: 0; background: #e4bf65; color: #18271f; border-radius: 4px; padding: 0 4px; font: italic 700 10px/14px var(--font-display); }
.pro-welcome { position: fixed; z-index: 10000; top: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; max-width: calc(100% - 32px); width: max-content; padding: 16px 24px; background: #26352d; color: #f0d58e; border: 1px solid #e4bf6540; border-radius: 12px; box-shadow: 0 8px 48px #0006; animation: pro-arrive .5s ease-out; }
@keyframes pro-arrive { from { opacity: 0; margin-top: -8px; } to { opacity: 1; margin-top: 0; } }
.ob-event textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 96px; padding: 16px; border: 1px solid #abcabc40; border-radius: 8px; color: var(--light); background: #101d17; font: inherit; }
.ob-event small { color: var(--muted); }
.ob-event.ob-training-context { flex-direction: column; align-items: stretch; gap: 8px; }
@media(max-width: 600px) { .coach-offer { padding: 16px; } .pro-welcome { font-size: 13px; padding: 16px; } .member-pro-badge { font-size: 9px; } }
@media(prefers-reduced-motion: reduce) { .pro-welcome { animation: none; } }
.coach-access p { margin: 0 0 8px; }
.coach-balances { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr)); gap: 16px; margin: 8px 0; }
.coach-balance { padding: 8px 0; border-bottom: 1px solid rgba(227, 252, 239, .1); min-width: 0; }
.coach-balance-label { color: var(--muted); font-size: 12px; }
.coach-balance-count { color: var(--light); font-size: 16px; line-height: 1.5; font-weight: 600; }
.coach-balance meter { display: block; width: 100%; height: 8px; margin: 8px 0 0; border: 0; background: rgba(227, 252, 239, .12); border-radius: 999px; }
.coach-access [role="status"]:empty, .coach-access button[hidden] { display: none; }
.coach-plan-note { font-size: 12px; }
.coach-balance meter::-webkit-meter-bar { border: 0; background: rgba(227, 252, 239, .12); border-radius: 999px; }
.coach-balance meter::-webkit-meter-optimum-value { background: var(--mint); border-radius: 999px; }
.coach-balance meter::-moz-meter-bar { background: var(--mint); border-radius: 999px; }
.coach-plan-options { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.coach-plan-options .btn { flex: 1 1 160px; min-height: 44px; }
.coach-access .btn-secondary { margin-top: 8px; min-height: 44px; }
.coach-access .coach-plan-name { color: var(--light); font-weight: 700; }
.coach-access > .plan-badge { margin-bottom: 8px; }
.coach-upgrade-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.verification-page { font-family: 'Verification Roboto', sans-serif; min-height: 100svh; height: auto; overflow: auto; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at top, rgba(61,220,151,.09), transparent 65%), var(--bg); color: var(--light); }
.verification-card { max-width: 480px; width: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 40px 32px; border-radius: 16px; background: var(--bg-dark); text-align: center; }
.verification-card h1, .verification-card p { margin: 0; }
.verification-card h1 { font-family: 'Verification Condensed', sans-serif; font-weight: 700; font-style: italic; font-size: clamp(32px, 6vw, 40px); line-height: 1.1; text-wrap: balance; }
.verification-card p { line-height: 1.6; color: var(--muted); }
.verification-brand { color: var(--mint); font-family: 'Verification Condensed', sans-serif; font-size: 32px; font-weight: 700; font-style: italic; text-decoration: none; }
.verification-symbol { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(61,220,151,.1); color: var(--mint); font-size: 32px; }
.verification-card .btn-primary { width: 100%; min-height: 48px; justify-content: center; font: inherit; font-weight: 700; }
.verification-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.verification-card :focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
@media (max-width: 480px) { .verification-page { padding: 16px; } .verification-card { padding: 32px 24px; } }
/* Shared profile/inline beta redemption field. */
.coach-beta-code { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; font-size: 14px; }
.coach-beta-code input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 12px 16px; border-radius: 8px; border: 1px solid rgba(168,202,188,.3); background: #101c18; color: #edf8f2; font: inherit; }
.coach-beta-code input:focus-visible { outline: 2px solid #d7b66c; outline-offset: 2px; }

.billing-return-dialog { width: calc(100% - 32px); max-height: calc(100dvh - 48px); margin: auto; overflow-y: auto; border: 1px solid var(--border); color: var(--text); }
.billing-return-dialog::backdrop { background: rgba(0,0,0,.65); }
.billing-return-dialog h2 { margin: 0; }

/* Shared desktop/web upgrade presentation, matching the native profile. */
#coachAccessContent.web-pro-paywall { padding:24px; border:0; border-radius:24px; background:linear-gradient(145deg,#26382d,#13251f); }
.web-pro-paywall h3 { margin:16px 0 8px; font:italic 700 30px/1.1 var(--font-display); color:var(--light); }
.web-pro-paywall .web-pro-balance { margin:16px 0 24px; font-size:13px; }
.web-pro-cadences { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:16px; }
.web-pro-cadences button { display:flex; flex-direction:column; gap:8px; align-items:flex-start; padding:16px 12px; border:0; border-radius:16px; background:#1a3028; color:var(--muted); cursor:pointer; font:inherit; }
.web-pro-cadences button[aria-pressed=true] { background:#e9cd83; color:#1c241e; }
.web-pro-cadences strong { font-size:18px; white-space:nowrap; }
.web-pro-cadences span,.web-pro-cadences small { font-size:12px; }
.web-pro-paywall .web-pro-checkout { width:100%; margin:0 0 12px; min-height:48px; border:0; background:linear-gradient(120deg,#f0d58e,#caa655); color:#1c241e; }
.web-pro-paywall .web-pro-disclosure { font-size:12px; line-height:1.5; margin-bottom:12px; }
.web-pro-details { margin-top:16px; font-size:12px; }
.web-pro-details summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; list-style:none; }
.web-pro-details summary::-webkit-details-marker { display:none; }
.web-pro-details summary::after { content:'+'; }
.web-pro-details[open] summary::after { content:'−'; }
.web-pro-links { display:flex; gap:24px; padding-top:16px; }
.web-pro-links a { color:var(--muted); }
.web-pro-paywall :focus-visible { outline:2px solid var(--mint); outline-offset:4px; }
@media(max-width:359px) { #coachAccessContent.web-pro-paywall { padding:16px; } .web-pro-cadences strong { font-size:16px; } }
