/* CBJP coach area · style C (same rules as the client app): no boxes round sections, thin rules between them,
   one label style, call-outs keep only a left line. Loaded after each page's own styles. Inputs and buttons keep their shape. */
:root { --rule: #2a2926; }
.panel, .ovc, .pcard, .fcard, .ctx, .mpw, .cklist > *, .hsum, .tbox, .tool, .chartbox, .clist > *, .plist > *, .card, .day, .meals, .rules, .paces,
.hwk, .hwo, .hwd, .hwc, .tlp, .ph1, .tmpl, .sop, .track, .cplist > *, .vlist > *, .sublist > *, .mvcard, .sup, .manual, .gsum, .ovnow, .pst, .gfc, .tsfold, .wk, .why, .timeline, .phrow {
  background: transparent !important; border: 0 !important; border-top: 1px solid var(--rule) !important; box-shadow: none !important; }
.panel, .ovc, .pcard, .fcard, .ctx, .mpw, .hsum, .tbox, .tool, .chartbox, .card, .hwk, .hwo, .gsum, .ovnow, .manual, .track { padding-left: 0 !important; padding-right: 0 !important; }
.note, .held, .fromtest, .fromforms, .onefit, .rmb, .xb, .sfoot { background: transparent !important; border: 0 !important; border-left: 2px solid var(--stone) !important; padding: 4px 0 4px 14px !important; }
.mpc, .wday, .tsd, .kd, .sbes, .tg, .hl2 { background: transparent !important; border: 0 !important; border-top: 1px solid var(--rule) !important; }
.stats, .kp { background: transparent !important; border: 0 !important; }
.stats > *, .kp > * { background: transparent !important; border: 0 !important; border-left: 1px solid var(--rule) !important; }
.stats > *:first-child, .kp > *:first-child { border-left: 0 !important; }
.eyebrow, .lbl, .ovch .hd, .hd { font-family: var(--display) !important; font-weight: 600 !important; font-style: normal !important; font-size: 10.5px !important; letter-spacing: .24em !important; text-transform: uppercase !important; color: var(--stone) !important; }
.seg { border: 0 !important; gap: 14px; } .seg button, .seg span { border: 0 !important; background: transparent !important; }
.seg .on, .seg [aria-pressed="true"] { color: var(--bone) !important; box-shadow: inset 0 -2px 0 var(--bone); background: transparent !important; }
.mptabs, .stepnav { border: 0 !important; border-bottom: 1px solid var(--rule) !important; }
.ck { background: transparent !important; border-top: 1px solid var(--rule) !important; padding-left: 0 !important; padding-right: 0 !important; }
.cklist { background: transparent !important; gap: 0 !important; }
.plist { background: transparent !important; border: 0 !important; border-top: 1px solid var(--rule) !important; padding-left: 0 !important; padding-right: 0 !important; }

/* ===== Grey cards (Nov 2026): the coach area matches the client app. Sections sit in a grey card; things inside a card
   (days, meals, list rows, stat cells) are a slightly lighter tile. Square corners, even padding. Overrides style C above. ===== */
:root { --cardbg: #181816; --tilebg: #1f1e1b; --cardln: #33312d; }
:is(.panel, .ovc, .pcard, .fcard, .ctx, .mpw, .hsum, .tbox, .tool, .chartbox, .card, .hwk, .hwo, .gsum, .ovnow, .manual, .track, .rv, .plist):not(.lock) {
  background: var(--cardbg) !important; border: 1px solid var(--cardln) !important; border-radius: 16px !important; box-shadow: none !important;
  padding: 18px 20px !important; margin-bottom: 12px; }
/* inside a card: a tile, not another card */
:is(.panel, .ovc, .pcard, .fcard, .ctx, .mpw, .hsum, .tbox, .tool, .chartbox, .card, .hwk, .hwo, .gsum, .ovnow, .manual, .track, .rv, .plist) :is(.panel, .ovc, .pcard, .fcard, .ctx, .hsum, .tbox, .tool, .chartbox, .card, .hwk, .hwo, .gsum, .ovnow, .manual, .track, .rv) {
  background: var(--tilebg) !important; padding: 14px 16px !important; margin-bottom: 8px; }
.mpc, .tsd, .kd, .sbes, .tg, .hl2, .day, .meals, .rules, .paces, .ph1, .tmpl, .sop, .mvcard, .sup, .pst, .gfc, .tsfold, .wk, .why, .phrow,
.cklist > *, .clist > *, .plist > *, .cplist > *, .vlist > *, .sublist > * {
  background: var(--tilebg) !important; border: 1px solid var(--cardln) !important; border-radius: 12px !important; box-shadow: none !important; }
.cklist, .clist, .cplist, .vlist, .sublist { display: grid; gap: 6px !important; background: transparent !important; border: 0 !important; }
.ck { background: var(--tilebg) !important; border: 1px solid var(--cardln) !important; padding: 12px 14px !important; }
/* stat rows: even tiles */
.stats, .kp { display: grid; gap: 6px !important; }
.stats > *, .kp > * { background: var(--tilebg) !important; border: 1px solid var(--cardln) !important; padding: 10px 12px !important; }
.stats > *:first-child, .kp > *:first-child { border-left: 1px solid var(--cardln) !important; }
/* call-outs keep their left line, on the card */
.note, .held, .fromtest, .fromforms, .onefit, .rmb, .xb, .sfoot { background: var(--tilebg) !important; border-left: 2px solid var(--stone) !important; padding: 10px 14px !important; }
/* sections that had no box of their own */
.controls, #tools, section.hist, section.out-sec, #t-ideas > .fields, #t-ideas > #stageInfo, #listview > #list > table, .wgrid {
  background: var(--cardbg) !important; border: 1px solid var(--cardln) !important; padding: 18px 20px !important; margin-bottom: 12px; }
.out-sec .tabwrap, .out-sec .ztab { background: transparent !important; }
/* side-by-side cards are the same height */
.tgrid { align-items: stretch !important; } .tgrid > .tbox { margin-bottom: 0; height: 100%; }
.wday { background: var(--tilebg) !important; }
.tbox, .panel, .rv, .ovc { align-content: start; }
.cklist > .daylbl { background: transparent !important; border: 0 !important; padding: 12px 0 2px !important; }
.ck.prel { display: block !important; } .ck.prel .hint { max-width: none !important; }
@media print { :root { --cardbg: #ffffff; --tilebg: #f4f2ee; --cardln: #d6d2ca; } }
