/* TrainHer Pro skin over the shared app styles (app.css): black ground, white text, one red. Tokens: brand.css. */

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; }
.btn { font-weight: 700; border-radius: 12px; }
.btn-primary { box-shadow: 0 3px 0 var(--th-red-press); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--th-red-press); }
.btn-ghost:hover { border-color: var(--th-text); }
.brand { font-family: var(--display); font-weight: 800; font-size: 20px; }
.brand b { font-weight: 800; }

/* The logo mark next to the wordmark. */
.brand svg { flex: none; border-radius: 9px; }

/* Selected text and form accents stay on brand. */
::selection { background: var(--th-red); color: var(--th-on-red); }
input[type=checkbox], input[type=radio] { accent-color: var(--th-red); }
input::placeholder, textarea::placeholder { color: #8A8A92; }
select option { background: var(--th-surface); color: var(--th-text); }

/* Period switch on the upgrade and billing pages. */
.period-switch { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.period-switch button { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 700 14px var(--text); cursor: pointer; }
.period-switch button[aria-pressed="true"] { background: var(--th-red); color: var(--th-on-red); }
.period-switch button[aria-pressed="true"] .pill { background: var(--th-on-red); color: var(--th-red-press); }
.ok-mark { color: var(--ok); font-weight: 800; }
@media (max-width: 760px) { .tiers { grid-template-columns: 1fr; } .tier-hot { transform: none; } }

/* Sign-in pages. */
.auth-wrap { background: #F2F0ED; }
body.auth { background: #F2F0ED; }
.auth-card { border-radius: 4px; background: #FFFFFF; border: 1px solid #E2DDD7; box-shadow: 0 18px 50px -40px rgba(17, 17, 19, .25); color: #111113; }
.auth-card h1 { font-size: 26px; font-weight: 500; }
.auth-wm { display: block; margin: 2px 0 20px; }
.auth-wm img { display: block; width: 170px; height: auto; }
.auth-quiet { font-size: 13.5px; color: #68635E; margin: -6px 0 0; }
.auth-quiet a { color: #C21A2B; font-weight: 500; }
html[data-theme="dark"] .auth-wrap, html[data-theme="dark"] body.auth { background: #F2F0ED; }
.auth-product { background: var(--tint); color: var(--th-red-text); }

/* Notices. */
.note-upgrade { background: color-mix(in srgb, var(--th-red) 14%, var(--th-surface)); border: 1px solid color-mix(in srgb, var(--th-red) 45%, transparent); color: var(--th-text); padding: 12px 16px; border-radius: var(--r); margin-bottom: 20px; font-size: 14px; }

/* Stats: web addresses and link targets keep their own case; device names are capitalized where they are made. */
.bd-label { text-transform: none; }
.bd-label::first-letter { text-transform: uppercase; }
.breakdown-raw .bd-label::first-letter { text-transform: none; }

/* Anything hidden stays hidden, even inside flex and grid layouts. */
[hidden] { display: none !important; }
/* Tab buttons (prospect page composer). */
.seg button { padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; font: 600 13.5px var(--text); color: var(--ink-2); cursor: pointer; }
.seg button.active { background: var(--th-red); color: var(--th-on-red); }
.rows { list-style: none; padding: 0; margin: 0; }
.rows > li { padding: 10px 0; border-top: 1px solid var(--line-2); }
.rows > li:first-child { border-top: 0; }

/* Browser-drawn photo backgrounds (QR code, logo preview) stay white so codes scan. */
.preview-pane img, .logo-preview { background: #fff; }
