/* The coach page. It uses the same pinned stage as the home page (styles.css); this file adds the coach dashboard "board" and its screens. */
.links a[aria-current="page"] { opacity: 1; box-shadow: 0 2px 0 currentColor; padding-bottom: 3px; }

/* One board; its screens (.bs) crossfade inside it, the way the phone's screens do on the home page */
.board.cb { width: min(420px, 100%); height: 450px; padding: 0; overflow: hidden; }
.cb .bs { position: absolute; inset: 0; padding: 20px; opacity: 0; will-change: transform, opacity; }
.cb h4 { margin: 0 0 12px; }
.cb .client .top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cb .client .top span:last-child { font-size: 11px; font-weight: 500; }
.cb .ok { color: #C8F04A; } .cb .bad { color: #F87171; } .cb .mid { color: #F59E0B; }
.cb .week i.g { background: #C8F04A; } .cb .week i.a { background: #F59E0B; } .cb .week i.r { background: #F87171; }
.cb .see .week i { transform-origin: bottom; }

/* Plan editor */
.ptabs { display: flex; gap: 6px; margin-bottom: 10px; }
.ptabs span { font-size: 11px; font-weight: 600; padding: 6px 11px; border-radius: 999px; border: 1px solid #2A2A2A; color: #888; white-space: nowrap; }
.ptabs span.on { background: #C8F04A; border-color: #C8F04A; color: #0F0F0F; }
.pdates { margin: 0 0 4px; font-size: 11.5px; color: #888; }
.prow { display: flex; justify-content: space-between; align-items: baseline; background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 12px; padding: 9px 12px; margin-top: 7px; }
.prow span { font-size: 12px; color: #888; }
.prow b { font-family: var(--font-display); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.prow b i { font-style: normal; }
.prow b small { font: 500 12px var(--font-body); color: #888; margin-left: 3px; }
.prow .pc { color: #60A5FA; } .prow .cc { color: #F59E0B; } .prow .fc { color: #F472B6; }
.pbtn { margin-top: 12px; background: #C8F04A; color: #0F0F0F; border-radius: 12px; text-align: center; font-family: var(--font-display); font-weight: 800; padding: 10px; font-size: 13px; }
.pnote { margin: 8px 0 0; font-size: 11px; color: #C8F04A; text-align: center; opacity: 0; }
.pnote.on { opacity: 1; color: #888; text-align: left; margin-top: 10px; }

/* Day view */
.ent { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; padding: 9px 0; border-bottom: 1px solid #222; }
.ent small { display: block; color: #777; font-size: 10.5px; }
.ent b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dbars { margin-top: 12px; }
.dbars .mbar { font-size: 11px; margin: 10px 0; }
.dbars .mbar span { width: 32px; }
.dbars .mbar em { width: 58px; }

/* Adjust */
.cb .big { margin-top: 0; }
.cb .spark { height: 110px; }
.cb .card { margin-top: 14px; }
.cb .plan { background: #C8F04A; color: #0F0F0F; border-radius: 999px; padding: 5px 11px; font-weight: 700; font-size: 11px; white-space: nowrap; }
.cb .pills { opacity: 0; }

@media (max-width: 820px) {
  .board.cb { height: 450px; }
}

.cb .more { margin-top: 12px; text-align: center; font-size: 11.5px; color: #777; letter-spacing: .02em; }

/* The "How to" phone: the coach app's real screens for starting a program and adding a phase. Its screens crossfade like the home page phone's. */
.hw { display: flex; flex-direction: column; gap: 9px; }
.hw-nav { display: flex; justify-content: space-between; align-items: center; }
.hw-nav b { font-family: var(--font-display); font-weight: 800; font-size: 14px; white-space: nowrap; flex: none; }
.hw-nav span { font-size: 12px; color: #888; flex: 1; white-space: nowrap; }
.hw-nav span:last-child { text-align: right; }
.hw-h { margin: 6px 0 0; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #888; }
.hw-lab { margin: 0 0 4px; font-size: 11px; color: #888; }
.hw-note { margin: 0; font-size: 11px; color: #888; line-height: 1.45; }
.hw-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hw-type { border: 1px solid #2A2A2A; background: #1A1A1A; border-radius: 12px; padding: 13px 0; text-align: center; font-size: 12.5px; font-weight: 600; }
.hw-type.sel { border-color: #3B82F6; background: rgba(59,130,246,.1); color: #3B82F6; }
.hw-btn { border-radius: 12px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 13.5px; padding: 12px; background: #3B82F6; color: #fff; }
.hw-btn.ghost { background: transparent; border: 1px solid #2A2A2A; color: #888; font-family: var(--font-body); font-weight: 600; font-size: 12.5px; padding: 10px; }
.hw-ok { border: 1px solid rgba(200,240,74,.4); background: rgba(200,240,74,.1); border-radius: 12px; padding: 10px 12px; }
.hw-ok b { display: block; font-size: 12.5px; color: #C8F04A; }
.hw-ok span { font-size: 11px; color: rgba(240,237,232,.8); }
.hw-card { border: 1px solid #2A2A2A; background: #1A1A1A; border-radius: 12px; padding: 12px; }
.hw-card b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 14px; }
.hw-card > span { font-size: 11px; color: #888; }
.hw-empty { text-align: center; padding: 20px 12px; }
.hw-empty b { font-family: var(--font-body); font-size: 13px; }
.hw-empty > span { display: block; margin: 4px 0 12px; }
.hw-empty .hw-btn { display: inline-block; padding: 9px 16px; font-size: 12px; }
.hw-in { border: 1px solid #2A2A2A; background: #1A1A1A; border-radius: 12px; padding: 10px 12px; font-size: 13px; min-height: 38px; display: flex; align-items: center; }
.hw-in.hw-focus { border-color: #3B82F6; }
.hw-caret { font-style: normal; color: #3B82F6; }
.hw-two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hw-macros { display: grid; gap: 8px; }
.hw-mrow { display: grid; grid-template-columns: 50px 1fr 64px; align-items: center; gap: 8px; font-size: 12px; color: #aaa; }
.hw-bar { height: 6px; border-radius: 3px; background: #2A2A2A; position: relative; overflow: hidden; }
.hw-bar::after { content: ""; position: absolute; inset: 0; width: var(--w, 0%); background: var(--c); border-radius: 3px; }
.hw-box { border: 1px solid #2A2A2A; background: #1A1A1A; border-radius: 10px; padding: 7px 8px; font-weight: 600; color: #F0EDE8; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: center; }
.hw-box i { font-style: normal; }
.hw-cal { display: flex; justify-content: space-between; font-size: 12px; color: #888; border-top: 1px solid #222; padding-top: 10px; }
.hw-cal b { color: #F0EDE8; font-variant-numeric: tabular-nums; }
.hw-cal i { font-style: normal; }
.hw-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.hw-days i { font-style: normal; border: 1px solid #2A2A2A; background: #1A1A1A; color: #aaa; border-radius: 10px; padding: 8px 0; font-size: 10.5px; font-weight: 600; text-align: center; }
.hw-days i.on { border-color: #3B82F6; background: rgba(59,130,246,.14); color: #8db6fa; }
.hw-dayrow { margin-top: 8px; border: 1px solid #2A2A2A; background: #151515; border-radius: 12px; padding: 9px 10px; display: grid; gap: 7px; }
.hw-dayrow > div:first-child { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 600; }
.hw-dayrow small { color: #888; font-weight: 400; font-size: 10.5px; font-variant-numeric: tabular-nums; }
.hw-dayrow small i { font-style: normal; }
.hw-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hw-fields label { display: grid; gap: 2px; font-size: 9.5px; color: #888; }
.hw-fields em { font-style: normal; background: #1A1A1A; color: #F0EDE8; border: 1px solid #2A2A2A; border-radius: 8px; padding: 6px 7px; font: 600 12px var(--font-body); font-variant-numeric: tabular-nums; }
.hw-fields em.chg { border-color: #3B82F6; }
.hw-prev { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin-top: 10px; }
.hw-prev b { display: block; font-family: var(--font-body); font-size: 13px; font-variant-numeric: tabular-nums; }
.hw-prev span { font-size: 9.5px; color: #888; }
.hw-satline { margin-top: 10px; border-top: 1px solid #2A2A2A; padding-top: 8px; font-size: 11px; color: #888; }
.hw-satline span { color: #8db6fa; font-weight: 600; }
.hw-next { display: grid; gap: 6px; }
.hw-next div { border: 1px solid #2A2A2A; background: #1A1A1A; border-radius: 12px; padding: 10px 12px; font-size: 12.5px; font-weight: 600; }
.hw-next small { display: block; color: #888; font-size: 10.5px; font-weight: 400; }
.hw-toast { position: absolute; left: 15px; right: 15px; bottom: 22px; background: #C8F04A; color: #0F0F0F; border-radius: 12px; padding: 11px 12px; font-size: 12px; font-weight: 700; text-align: center; opacity: 0; }
.hw-ways { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.hw-ways span { border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; padding: 6px 13px; font-size: 13px; }
.hw-ways span.new { border-color: var(--accent); color: var(--accent); }
/* Both phones sit in the same place on the stage */
#hdev, #cdev { grid-area: 1 / 1; }
#hdev { opacity: 0; }
@media (max-width: 820px) { .hw-ways { margin-top: 10px; } }

/* "How to add clients": the Clients tab, the invite screens and the client's sign-up (the client's own app is lime) */
.iv-ttl { display: flex; justify-content: space-between; align-items: flex-end; }
.iv-ttl b { font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.iv-pill { font-size: 12px; font-weight: 600; color: #3B82F6; background: rgba(59,130,246,.15); border-radius: 999px; padding: 6px 12px; }
.iv-pill.hot { background: #3B82F6; color: #fff; }
.iv-people { width: 30px; height: 30px; margin: 0 auto 8px; stroke: #888; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; display: block; }
.iv-center { text-align: center; padding: 22px 14px; }
.iv-center .iv-t { font-family: var(--font-body); font-size: 13.5px; }
.iv-center p { font-size: 11.5px; color: #888; margin: 4px 0 14px; line-height: 1.45; }
.iv-center .hw-btn { display: inline-block; padding: 9px 16px; font-size: 12px; }
.iv-emailrow { display: flex; gap: 6px; }
.iv-emailrow .hw-in { flex: 1; min-width: 0; background: #0F0F0F; font-size: 11px; padding: 10px 7px; white-space: nowrap; overflow: hidden; }
.iv-emailrow .hw-btn { padding: 0 9px; display: grid; place-items: center; font-size: 12px; white-space: nowrap; }
.iv-sent { margin: 0; font-size: 11.5px; color: #C8F04A; opacity: 0; }
.iv-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; color: #3B82F6; font-size: 13px; word-break: break-all; }
.iv-link { font-size: 11px; color: #F0EDE8; word-break: break-all; line-height: 1.4; }
.iv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.iv-two div { border-radius: 10px; text-align: center; padding: 10px 0; font-size: 12px; font-weight: 600; }
.iv-ghost { border: 1px solid #2A2A2A; background: #0F0F0F; color: #F0EDE8; }
.iv-blue { background: #3B82F6; color: #fff; font-weight: 700; }
.iv-seg { display: grid; grid-template-columns: 1fr 1fr; background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: 12px; padding: 3px; gap: 3px; }
.iv-seg span { text-align: center; padding: 8px 0; border-radius: 9px; font-size: 11.5px; font-weight: 600; color: #888; }
.iv-seg span.on { background: #C8F04A; color: #0F0F0F; }
.iv-badge { margin: 4px 0 0; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #C8F04A; background: rgba(200,240,74,.1); border-radius: 999px; padding: 4px 10px; width: fit-content; }
.iv-h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 19px; line-height: 1.1; }
.iv-h1 em { font-style: normal; color: #C8F04A; }
.iv-filled { border-color: #C8F04A; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: #C8F04A; }
.iv-create { margin-top: auto; border-radius: 12px; text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; white-space: nowrap; padding: 12px; background: #C8F04A; color: #0F0F0F; }
.iv-inv { border: 1px solid #2A2A2A; background: #1A1A1A; border-radius: 12px; overflow: hidden; }
.iv-inv div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 12px; border-top: 1px solid #2A2A2A; font-size: 12.5px; }
.iv-inv div:first-child { border-top: 0; }
.iv-inv span.s { text-align: right; font-size: 11.5px; font-weight: 600; color: #888; }
.iv-inv span.s small { display: block; font-weight: 400; color: #555; font-size: 10px; }
.iv-inv span.s.joined { color: #C8F04A; }
