/* Legacy apps on the phone: My Legacy (members), Legacy Coach and Legacy Admin.
   A floating tab bar a thumb above the bottom edge, soft rounded cards, round family avatars,
   and pages that glide into each other instead of flashing white. Tablets and laptops keep their layout. */

/* The greeting first, then the family, on every screen size */

/* Family: round avatars, like stories */
.fam-row { display: flex; align-items: center;  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;   }
.fam-row::-webkit-scrollbar { display: none; }
.fam-k { margin-right: 4px; flex: none; }
.fam-av { display: flex;  align-items: center;  text-decoration: none; color: #4A463F; flex: none;  -webkit-tap-highlight-color: transparent; }
.fam-c { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #EFE7D8; color: #7A5B2B; font: 400 20px/1 'Cormorant Garamond', Georgia, serif; box-shadow: 0 0 0 1px rgba(28,27,24,0.14); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.fam-c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fam-av.on .fam-c { box-shadow: 0 0 0 2px #FAF8F2, 0 0 0 4px #B8945B; }

.fam-n { font-size: 13px; letter-spacing: 0.04em; white-space: nowrap; }
.fam-n small { font-size: 10px; letter-spacing: 0.14em; color: #59544B; }
.fam-av:active .fam-c { transform: scale(0.94); }
.papers-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* "Show all" for long lists on the phone (admin and coach Today) */
.lg-more { align-self: flex-start; margin-top: 6px; }
.lg-hide { display: none !important; }

@media (max-width: 760px) {
  @view-transition { navigation: none; }
  /* how high the floating tab bar sits: well above the bottom edge and the iPhone home bar */

  html { -webkit-tap-highlight-color: transparent; }
  body:has(.tabbar) { padding-bottom: calc(88px + var(--lg-lift)) !important; }

  /* ---------- header: compact, frosted, stays in place ---------- */
  body:has(.tabbar) header.m-head { position: sticky !important; top: 0; z-index: 50; background: rgba(250,248,242,0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 0.5px solid rgba(28,27,24,0.12); view-transition-name: lg-head; }
  body:has(.tabbar) .m-nav { padding-top: 10px; padding-bottom: 10px; flex-wrap: nowrap; }
  body:has(.tabbar) .m-logo { width: 116px; }

  /* ---------- the tab bar: floating, raised off the bottom edge ---------- */
  .tabbar, .tabbar.admin {
    left: 12px !important; right: 12px !important; bottom: var(--lg-lift) !important;
    padding: 6px !important; gap: 2px; border: 0 !important; border-radius: 26px;
    background: linear-gradient(135deg, rgba(255,255,255,0.72), rgba(250,246,236,0.55)) !important; backdrop-filter: saturate(190%) blur(26px) !important; -webkit-backdrop-filter: saturate(190%) blur(26px) !important;   /* frosted glass: the page shows softly through */
    box-shadow: 0 0 0 0.5px rgba(28,27,24,0.12), 0 10px 30px rgba(28,27,24,0.14), 0 2px 6px rgba(28,27,24,0.06);
    view-transition-name: lg-tabs;
  }
  .tabbar a, .tabbar summary, .tabbar.admin a, .tabbar.admin summary {
    height: 60px !important; min-height: 0 !important; gap: 3px !important; border-radius: 20px;
    font-size: 10.5px !important; letter-spacing: 0.06em !important; font-weight: 400; color: #4A463F;
    transition: background-color .2s ease, color .2s ease, transform .15s ease;
  }
  .tabbar svg, .tabbar.admin svg { width: 25px !important; height: 25px !important; stroke-width: 1.6 !important; transition: transform .2s ease; }
  .tabbar .on, .tabbar.admin .on { color: #6B4E22 !important; background: rgba(184,148,91,0.17); }
  .tabbar .on svg, .tabbar.admin .on svg { stroke-width: 2 !important; }
  .tabbar .on::before, .tabbar.admin .on::before { display: none !important; }
  .tabbar a:active, .tabbar summary:active { transform: scale(0.92); }
  .tabbar .badge, .tabbar.admin .badge { top: 6px !important; left: calc(50% + 5px) !important; box-shadow: 0 0 0 2px #FFFDF8; }
  .tabbar details > summary, .tabbar.admin details > summary { height: 60px !important; }

  /* MORE: a bottom sheet above the bar */
  .tabbar details > div, .tabbar.admin details > div {
    left: 12px !important; right: 12px !important; width: auto !important; transform: none !important;
    bottom: calc(var(--lg-lift) + 82px) !important;
    max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain;
    border: 0 !important; border-radius: 22px; background: #FFFDF8 !important;
    box-shadow: 0 0 0 0.5px rgba(28,27,24,0.12), 0 18px 48px rgba(28,27,24,0.2) !important;
    gap: 8px !important; padding: 14px !important; animation: lg-sheet .22s cubic-bezier(.2,.8,.2,1);
  }
  .tabbar details > div a, .tabbar details > div button, .tabbar.admin details > div a, .tabbar.admin details > div button {
    display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important;
    box-sizing: border-box; height: auto !important; min-height: 52px !important; margin: 0 !important; padding: 0 16px !important;
    border: 0 !important; border-radius: 14px !important; background: #F6F1E8 !important; color: #1C1B18 !important;
    font-size: 12px !important; letter-spacing: 0.14em !important; line-height: 1.2 !important; text-align: left; width: 100%;
    white-space: normal; padding-top: 8px !important; padding-bottom: 8px !important;
  }
  .tabbar details > div a:active, .tabbar details > div button:active { background: #EDE4D4 !important; }
  .tabbar details > div a[aria-current], .tabbar details > div a.on { background: #EADFCB !important; color: #7A5B2B !important; }
  @keyframes lg-sheet { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

  /* ---------- softer, friendlier surfaces ---------- */
  body:has(.tabbar) .m-section { padding-top: 22px; gap: 22px; }
  body:has(.tabbar) .m-h1 { font-size: 40px; line-height: 1.04; }
  body:has(.tabbar) .card { border-radius: 20px; border-color: rgba(28,27,24,0.07); box-shadow: 0 1px 2px rgba(28,27,24,0.04), 0 8px 24px rgba(28,27,24,0.05); padding: 22px 20px; }
  body:has(.tabbar) .card[style*="border-color"] { border-width: 1px; }
  body:has(.tabbar) .papers-due { border-left: 0; border-radius: 20px; padding: 22px 20px; }
  body:has(.tabbar) .papers-due .btn { flex: 1 1 auto; }
  body:has(.tabbar) .top-note { border-radius: 16px; padding: 14px 18px; }
  body:has(.tabbar) .notice { border-radius: 16px; }
  body:has(.tabbar) .sand { border-radius: 20px; }
  body:has(.tabbar) .btn { border-radius: 14px; }
  body:has(.tabbar) .btn.small { border-radius: 12px; }
  body:has(.tabbar) .choice, body:has(.tabbar) .dt-chip span { border-radius: 14px; }
  body:has(.tabbar) .bar, body:has(.tabbar) .bar > div { border-radius: 3px; }
  body:has(.tabbar) .btn:active, body:has(.tabbar) .card a:active { opacity: 0.75; }

  /* the greeting: the family row above already shows who is who */
  body:has(.fam-row) .mt-hero .mt-avatar { display: none; }
  body:has(.tabbar) .mt-hero { gap: 12px !important; }

  /* admin and coach: what needs you, as tiles */
  body:has(.tabbar) .glance-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  body:has(.tabbar) .glance-strip a { flex-direction: column; align-items: flex-start; gap: 4px; border-radius: 18px; padding: 14px 16px; min-height: 84px; border-color: rgba(184,148,91,0.35); background: #FFFDF8; font-size: 13px; line-height: 1.3; box-shadow: 0 1px 2px rgba(28,27,24,0.04); }
  body:has(.tabbar) .glance-strip a strong { font-size: 32px; }
  body:has(.tabbar) .glance-strip > span { grid-column: 1 / -1; }
  body:has(.tabbar) .glance { border-radius: 20px; }

  /* the big website footer stays on the website; the app keeps a quiet line */
  body:has(.tabbar) .m-foot { margin-top: 24px; background: transparent; color: #59544B; }
  body:has(.tabbar) .m-footin { padding-top: 8px; padding-bottom: 8px; gap: 8px; }
  body:has(.tabbar) .m-foot .m-flogo-a, body:has(.tabbar) .m-foot .m-tag { display: none; }
  body:has(.tabbar) .m-flinks { gap: 0 18px; font-size: 11px; letter-spacing: 0.14em; color: #59544B; }
  body:has(.tabbar) .m-flinks a { color: #59544B; }

  /* ---------- pages glide into each other ---------- */
  ::view-transition-group(lg-tabs), ::view-transition-group(lg-head) { animation: none; }
  ::view-transition-old(lg-tabs), ::view-transition-new(lg-tabs), ::view-transition-old(lg-head), ::view-transition-new(lg-head) { animation: none; }
  ::view-transition-old(root) { animation: lg-out .16s ease both; }
  ::view-transition-new(root) { animation: lg-in .24s cubic-bezier(.2,.8,.2,1) both; }
  html:active-view-transition-type(lg-fwd)::view-transition-old(root) { animation: lg-out-l .2s ease both; }
  html:active-view-transition-type(lg-fwd)::view-transition-new(root) { animation: lg-in-r .26s cubic-bezier(.2,.8,.2,1) both; }
  html:active-view-transition-type(lg-back)::view-transition-old(root) { animation: lg-out-r .2s ease both; }
  html:active-view-transition-type(lg-back)::view-transition-new(root) { animation: lg-in-l .26s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes lg-out { to { opacity: 0; } }
  @keyframes lg-in { from { opacity: 0; transform: translateY(8px); } }
  @keyframes lg-out-l { to { opacity: 0; transform: translateX(-28px); } }
  @keyframes lg-in-r { from { opacity: 0; transform: translateX(36px); } }
  @keyframes lg-out-r { to { opacity: 0; transform: translateX(28px); } }
  @keyframes lg-in-l { from { opacity: 0; transform: translateX(-36px); } }

  /* the page follows the finger during a swipe between tabs */
  main.lg-drag { transition: none; will-change: transform; }
  main.lg-settle { transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .22s ease; }
}

/* in the installed app, the website footer is not needed at all */
@media (max-width: 760px) and (display-mode: standalone) { body:has(.tabbar) .m-foot { display: none; } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .fam-c, .tabbar a, .tabbar summary { transition: none; }
}

/* coaches: the recap, spoken or typed */
.lnote-f.recap textarea, .lnote-f textarea { width: 100%; box-sizing: border-box; font: 300 16px/1.45 'Jost', sans-serif; padding: 10px 12px; border: 1px solid rgba(28,27,24,0.25); background: #FFFDF8; color: #1C1B18; resize: none; min-height: 48px; }
.speak-wrap { position: relative; display: block; flex: 1 1 220px; min-width: 0; }
.speak-wrap > input, .speak-wrap > textarea { padding-right: 52px !important; width: 100%; box-sizing: border-box; }
.mic-b { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: #F1EBE1; color: #7A5B2B; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.speak-wrap > textarea + .mic-b { top: 6px; transform: none; }
.mic-b svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.mic-b.on {   animation: mic-pulse 1.2s ease-in-out infinite; }
@keyframes mic-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(154,74,42,0.35); } 50% { box-shadow: 0 0 0 8px rgba(154,74,42,0); } }
.speak-tip { font-size: 13px; color: #59544B; }
.lnote-done { display: inline-block; font-size: 13px; color: #3A7A4A; padding: 6px 0; }
#t-rhythm .recap-sent > a { color: #59544B !important; text-decoration: line-through; }
:root { --lg-lift: 26px; }
@media (max-width: 760px) { :root { --lg-lift: max(calc(env(safe-area-inset-bottom) + 18px), 26px); } }
.lg-toast { position: fixed; left: 50%; bottom: calc(var(--lg-lift) + 92px); transform: translate(-50%, 12px); opacity: 0; z-index: 90; background: #1C1B18; color: #FAF8F2; padding: 12px 20px;  font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: opacity .25s ease, transform .25s ease; max-width: calc(100vw - 48px);  }
.lg-toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 761px) { .lg-toast { bottom: 96px; } }
@media (max-width: 760px) { body:has(.tabbar) .lnote-f.recap textarea, body:has(.tabbar) .lnote-f input { border-radius: 12px; } }
.lnote-f.recap > label.f { flex: none; }
.today-row .recap-slot { display: block; }
label.f > .speak-wrap { flex: none; }

@media (max-width: 760px) { body:has(.tabbar) .chip span { border-radius: 12px; } body:has(.tabbar) .chip input:checked + span { border-color: #B8945B; } }
.lnote-f.recap textarea[name="coach_note"] { min-height: 84px; }
.lnote-f.recap textarea[name="worked"] { min-height: 84px; }

/* addresses: open in Apple Maps, Google Maps or Waze */
.mapc { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; }
.mapc-bg { position: absolute; inset: 0; background: rgba(14,14,14,0.32); opacity: 0; transition: opacity .2s ease; }
.mapc-box { position: relative; width: min(420px, calc(100vw - 24px)); margin-bottom: max(calc(env(safe-area-inset-bottom) + 12px), 16px); background: #FFFDF8; border-radius: 22px; padding: 18px 16px 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.25); transform: translateY(24px); opacity: 0; transition: transform .22s cubic-bezier(.2,.8,.2,1), opacity .2s ease; }
.mapc.on .mapc-bg { opacity: 1; } .mapc.on .mapc-box { transform: none; opacity: 1; }
.mapc-h { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; text-align: center; }
.mapc-q { font-size: 14px; color: #4A463F; text-align: center; padding-bottom: 6px; overflow-wrap: anywhere; }
.mapc-o { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 14px; background: #F1EBE1; color: #1C1B18 !important; text-decoration: none; font-size: 16px; letter-spacing: 0.02em; }
.mapc-o:active { background: #E8DFD0; }
.mapc-x { min-height: 48px; border: 0; background: none; color: #59544B; font: 400 15px 'Jost', sans-serif; cursor: pointer; }
@media (min-width: 761px) { .mapc { align-items: center; } .mapc-box { margin-bottom: 0; } }
.lm-acts { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- like a real app ---------- */
/* a soft press on everything you can tap */
@media (hover: none) {
  .btn, button, .link-btn, .choice, .dt-chip span, .sw, .fam-av, nav.tabbar a, nav.tabbar summary, .glance-strip a, .list-row a, .lg-sheet-b { transition: transform .12s ease, opacity .12s ease; -webkit-tap-highlight-color: transparent; }
  .btn:active, button:active, .link-btn:active, .choice:active, .sw:active, .fam-av:active, nav.tabbar a:active, nav.tabbar summary:active, .glance-strip a:active, .lg-sheet-b:active { transform: scale(.96); opacity: .85; }
}
/* the loading line at the top */
.lg-load { position: fixed; top: 0; left: 0; height: 2.5px; width: 0; background: linear-gradient(90deg, #B8945B, #D9BE8C); z-index: 9999; pointer-events: none; opacity: 0; box-shadow: 0 0 8px rgba(184,148,91,.6); padding-top: env(safe-area-inset-top); background-clip: content-box; }
.lg-load.go { opacity: 1; animation: lgLoad 2.2s cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes lgLoad { 0% { width: 0; } 30% { width: 55%; } 100% { width: 92%; } }
/* pull to refresh */
.lg-ptr { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 6px); transform: translate(-50%, 0); width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 4px 14px rgba(14,14,14,.14); z-index: 9998; opacity: 0; display: grid; place-items: center; pointer-events: none; transition: opacity .15s; }
.lg-ptr span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #E7E0D3; border-top-color: #B8945B; transition: transform .2s; }
.lg-ptr.ready span { transform: rotate(180deg); border-top-color: #8A6A35; }
.lg-ptr.spin span { animation: lgSpin .7s linear infinite; }
@keyframes lgSpin { to { transform: rotate(360deg); } }
/* the sheet that slides up */
.lg-sheet-bg { position: fixed; inset: 0; background: rgba(14,14,14,.35); opacity: 0; transition: opacity .22s; z-index: 10000; }
.lg-sheet-bg.in { opacity: 1; }
.lg-sheet { position: fixed; left: 8px; right: 8px; bottom: calc(env(safe-area-inset-bottom) + 8px); max-width: 520px; margin: 0 auto; background: #FAF8F2; border-radius: 22px; padding: 10px 12px 12px; box-shadow: 0 -6px 30px rgba(14,14,14,.18); transform: translateY(110%); transition: transform .26s cubic-bezier(.2,.8,.2,1); z-index: 10001; display: flex; flex-direction: column; gap: 6px; max-height: 80vh; overflow: auto; }
.lg-sheet.in { transform: translateY(0); }
.lg-sheet-grip { width: 38px; height: 4px; border-radius: 2px; background: #D8D0C2; align-self: center; margin: 2px 0 6px; }
.lg-sheet-t { margin: 2px 6px 8px; font-size: 14px; line-height: 1.5; color: #59544B; text-align: center; }
.lg-sheet-b { width: 100%; min-height: 52px; border: 0; border-radius: 14px; background: #FFFFFF; color: #1C1B18; font: inherit; font-size: 16px; letter-spacing: .02em; cursor: pointer; }
.lg-sheet-b.danger { color: #B3261E; font-weight: 500; }
.lg-sheet-b.cancel { background: transparent; color: #59544B; margin-top: 4px; }
.lg-sheet-b:focus-visible { outline: 2px solid #8A6A35; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .lg-sheet, .lg-sheet-bg, .lg-load.go { transition: none; animation: none; } }
/* a lesson you can swipe or hold */
@media (max-width: 760px) {
  .today-row { transition: transform .18s ease; -webkit-touch-callout: none; }
  .today-row.lg-held { transform: scale(.98); }
  .today-row::after { content: none; }
  /* rounded chips, like the rest of the app */
  .nb-chip { border-radius: 999px !important; padding: 5px 12px !important; }
  .nb-chip.ok { background: #EEF4EC; border-color: #B7CDB0 !important; color: #2F6B3E; }
}

/* ---------- the week strip ---------- */
.wk-wrap { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 8px; }
.wk-admin { flex-direction: row; align-items: center; gap: 6px; }
.wk-arrow { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; color: #1C1B18; font-size: 22px; border: 1px solid #E7E0D3; background: #FFFFFF; }
.wk-strip { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; flex: 1; -webkit-overflow-scrolling: touch; }
.wk-strip::-webkit-scrollbar { display: none; }
.wk-day { flex: 0 0 auto; scroll-snap-align: start; width: 52px; min-height: 72px; border-radius: 16px; border: 1px solid #E7E0D3; background: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 0; text-decoration: none; color: #1C1B18; font: inherit; cursor: pointer; }

.wk-n { font-size: 20px; font-weight: 500; line-height: 1.1; }
.wk-dot { min-width: 6px; height: 6px; border-radius: 3px; font-size: 9px; line-height: 6px; color: transparent; }
.wk-dot.on { background: #B8945B; }
.wk-day.today .wk-n { color: #8A6A35; }
.wk-day.on { background: #0E0E0E; border-color: #0E0E0E; color: #FAF8F2; }
.wk-day.on .wk-d { color: rgba(250,248,242,0.75); }
.wk-day.on .wk-dot.on { background: #D9BE8C; }
.wk-day:focus-visible { outline: 2px solid #8A6A35; outline-offset: 2px; }
.list-row[hidden] { display: none !important; }

/* ---------- the next-session hero ---------- */
.next.hero { border-radius: 24px; box-shadow: 0 14px 34px rgba(14,14,14,0.16); }
.nx-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.nx-count { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #B8945B; color: #0E0E0E; font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.nx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.nx-coach, .nx-wx { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(250,248,242,0.12); color: #FAF8F2; font-size: 14px; text-decoration: none; }
.nx-wx { padding-left: 12px; }
.nx-av { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #B8945B; color: #0E0E0E; display: grid; place-items: center; font-size: 11px; letter-spacing: 0.05em; flex: none; }
.nx-av img { width: 100%; height: 100%; object-fit: cover; }
.next.hero .acts a { border-radius: 999px; }

/* ---------- rows of cards you swipe ---------- */
.sw-row-wrap { display: flex; flex-direction: column; gap: 8px; }
.sw-row-h { display: flex; justify-content: space-between; align-items: baseline; }
.sw-row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 10px; -webkit-overflow-scrolling: touch; }
.sw-row::-webkit-scrollbar { display: none; }
.sw-card { flex: 0 0 132px; scroll-snap-align: start; border-radius: 20px; background: #FFFFFF; border: 1px solid #E7E0D3; padding: 14px; display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: #1C1B18; }
.sc-d, .sc-m { font-size: 11px; letter-spacing: 0.14em; color: #59544B; text-transform: uppercase; }
.sc-n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 40px; line-height: 1; }
.sc-t { margin-top: 6px; font-size: 15px; font-weight: 500; }
.sc-k { font-size: 12px; color: #59544B; }
@media (max-width: 760px) {
  .jr-badges { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; scrollbar-width: none; padding-bottom: 8px; }
  .jr-badges::-webkit-scrollbar { display: none; }
  .jr-badges > .jb { flex: 0 0 150px; scroll-snap-align: start; }
  .pr-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; margin: 0 -4px; }
  .pr-row::-webkit-scrollbar { display: none; }
  .pr-row > .pr-item { flex: 0 0 86%; scroll-snap-align: start; border: 1px solid #E7E0D3; border-radius: 20px; padding: 16px; background: #FFFFFF; margin: 0 4px; }
}

/* ---------- Mind · Body · Game rings and stats ---------- */
.rings-card { display: flex; flex-direction: column; gap: 16px; border-radius: 24px; }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rg { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rg-c { position: relative; width: 96px; height: 96px; }
.rg svg { width: 96px; height: 96px; display: block; }
.rg-bg { fill: none; stroke: #EFE8DC; stroke-width: 8; }
.rg-fg { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dasharray .8s ease; }
.rg-mind .rg-fg { stroke: #0E0E0E; } .rg-body .rg-fg { stroke: #B8945B; } .rg-game .rg-fg { stroke: #8A6A35; }
.rg-n { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; padding-top: 34px; font-size: 22px; font-weight: 500; color: #1C1B18; line-height: 1; }
.rg-n small { font-size: 12px; color: #59544B; font-weight: 400; }
.rg-l { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #59544B; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats > div { background: #F7F2E9; border-radius: 16px; padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; text-align: center; }
.stats b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 32px; font-weight: 500; line-height: 1; color: #1C1B18; }
.stats span { font-size: 12px; color: #59544B; line-height: 1.3; }

/* ---------- the time-slot picker ---------- */
.slot-pick { display: flex; flex-direction: column; gap: 8px; }
.sp-k { font-size: 11px; letter-spacing: 0.2em; color: #59544B; }
.sp-times { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-times[hidden] { display: none; }
.sp-t { border: 1px solid #E7E0D3; background: #FFFFFF; border-radius: 999px; padding: 10px 14px; font: inherit; font-size: 14px; color: #1C1B18; cursor: pointer; min-height: 44px; }
.sp-t.on { background: #B8945B; border-color: #B8945B; color: #0E0E0E; font-weight: 500; }
.sp-note { font-size: 13px; }
/* options picker */
.opt-pick { display: flex; flex-direction: column;  }
.opt-pick .sp-t:disabled { opacity: .4; }
.opt-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column;  font-size: 14px; color: #1C1B18; }
.opt-list:empty { display: none; }
.opt-list li .link-btn { font-size: 11px; margin-left: 6px; }
/* celebration */
.lg-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9997; }
/* upload progress */
.lg-up { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.lg-up-t { font-size: 14px; color: #1C1B18; }
.lg-up-bar { height: 6px; border-radius: 3px; background: #EFE8DC; overflow: hidden; }
.lg-up-bar i { display: block; height: 100%; width: 0; background: #B8945B; transition: width .2s; }
/* running late (families) */
.late-card { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid #B8945B; }
.late-f { display: flex; flex-direction: column; gap: 8px; }
.late-bs { display: flex; flex-wrap: wrap; gap: 8px; }
/* "Your month at Legacy" */
.mo-card { display: flex; flex-direction: column; gap: 12px; border-radius: 24px; border: 1px solid #E7DCC8; background: linear-gradient(160deg, #FFFFFF, #FBF7EE); }
.mo-body { display: flex; flex-direction: column; gap: 12px; }
.mo-photo { width: 100%; max-height: 260px; object-fit: cover; border-radius: 18px; }
.mo-focus { margin: 0; }
/* "Your Legacy year" */
.yr-open { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; text-align: left; width: 100%; border: 0; border-radius: 24px; padding: 22px; background: #0E0E0E; color: #FAF8F2; cursor: pointer; font: inherit; }
.yr-open-t { font-size: 30px; line-height: 1.1; }
.yr-open-go { font-size: 12px; letter-spacing: 0.2em; color: #D9BE8C; margin-top: 4px; }
.yr-story { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: #0E0E0E; color: #FAF8F2; }
.yr-story::backdrop { background: #0E0E0E; }
.yr-dots { position: absolute; top: calc(env(safe-area-inset-top) + 12px); left: 16px; right: 60px; display: flex; gap: 4px; z-index: 2; }
.yr-dots i { flex: 1; height: 3px; border-radius: 2px; background: rgba(250,248,242,0.25); }
.yr-dots i.on { background: #D9BE8C; }
.yr-x { position: absolute; top: calc(env(safe-area-inset-top) + 2px); right: 10px; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; color: #FAF8F2; font-size: 30px; cursor: pointer; }
.yr-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.yr-slides::-webkit-scrollbar { display: none; }
.yr-s { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; padding: 80px 28px 60px; box-sizing: border-box; }
.yr-s .eyebrow { color: #D9BE8C; }
.yr-s h2 { font-size: 48px; line-height: 1.05; margin: 8px 0; font-weight: 400; }
.yr-s p { margin: 0 0 14px; font-size: 17px; color: rgba(250,248,242,0.85); }
.yr-big { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 110px; line-height: 0.95; font-weight: 500; color: #FAF8F2; }
.yr-mid { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 64px; line-height: 1; font-weight: 500; }
.yr-small { font-size: 15px !important; color: #D9BE8C !important; }
.yr-hint { margin-top: 30px; font-size: 13px; letter-spacing: 0.2em; color: rgba(250,248,242,0.78); }
.yr-thanks { font-size: 26px !important; line-height: 1.35; max-width: 420px; color: #FAF8F2 !important; }
.yr-story .rings { width: 100%; max-width: 420px; }
.yr-story .rg-bg { stroke: rgba(250,248,242,0.15); }
.yr-story .rg-mind .rg-fg { stroke: #FAF8F2; }
.yr-story .rg-n, .yr-story .rg-l { color: #FAF8F2; }
.yr-story .rg-n small { color: rgba(250,248,242,0.78); }
/* "All set" on the next lesson */
.nx-set { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; font-size: 14px; line-height: 1.4; color: rgba(250,248,242,0.9); text-decoration: none; }
.nx-set svg { width: 18px; height: 18px; flex: none; fill: none; stroke: #B8945B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nx-set.fix { color: #FAF8F2; background: rgba(184,148,91,0.16); border: 1px solid rgba(184,148,91,0.55); border-radius: 12px; padding: 10px 12px; }
.nx-set.fix b { margin-left: auto; color: #B8945B; font-weight: 400; }
/* calendar card */
.cal-card { gap: 10px; }
.cal-card .calc-h { font-size: 24px; line-height: 1.2; }
.cal-card .cal-bs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 4px; }
/* messages: delivered / seen / replying */
.msg-st { align-self: flex-end; font-size: 12px; letter-spacing: 0.04em; color: #59544B; margin-top: -4px; }
.msg-st:empty { display: none; }
.msg-typing { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; }
.msg-typing[hidden] { display: none; }
.msg-typing .t { font-size: 13px; color: #59544B; }
.msg-typing .dots { display: inline-flex; gap: 4px; }
.msg-typing .dots i { width: 6px; height: 6px; border-radius: 50%; background: #B8945B; opacity: 0.35; animation: lgDot 1.2s infinite; }
.msg-typing .dots i:nth-child(2) { animation-delay: 0.2s; } .msg-typing .dots i:nth-child(3) { animation-delay: 0.4s; }
@keyframes lgDot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .msg-typing .dots i { animation: none; opacity: 0.8; } }
/* continue on your phone (computers only) */
.ho-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.18); background: #FAF8F2; color: #1C1B18; font: inherit; font-size: 13px; letter-spacing: 0.04em; cursor: pointer; box-shadow: 0 6px 24px rgba(14,14,14,0.08); }
.ho-btn:hover { border-color: #B8945B; }
.ho-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.ho-dlg { border: 0; border-radius: 20px; padding: 28px; max-width: 340px; text-align: center; background: #FAF8F2; color: #1C1B18; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.ho-dlg:not([open]) { display: none; }
.ho-dlg::backdrop { background: rgba(14,14,14,0.45); }
.ho-qr { width: 220px; height: 220px; } .ho-qr svg { width: 100%; height: 100%; display: block; }
/* directions: the family's arrival notes and entrance photo */
.mapc-arr { display: flex; flex-direction: column; gap: 8px; padding: 4px 0 8px; text-align: left; }
.mapc-arr img { width: 100%; max-height: 180px; object-fit: cover; border-radius: 12px; }
.mapc-n { font-size: 14px; line-height: 1.45; color: #3A3934; white-space: pre-line; }
.mapc-n b { font-weight: 500; color: #7A5B2B; }
/* court pin */
.pin-f { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pin-st:empty { display: none; }
.court-ph { width: 100%; max-width: 420px; max-height: 240px; object-fit: cover; border-radius: 14px; }
.court-up { display: flex; flex-direction: column; gap: 10px; }
/* your practice this week */
.pr-card { gap: 12px; }
.pr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pr-card .pr-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
.pr-item { position: relative; flex: 0 0 min(78%, 260px); scroll-snap-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid rgba(28,27,24,0.14); background: #FFFFFF; color: #1C1B18; font: inherit; cursor: pointer; min-height: 120px; }

.pr-pl { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;  }
.pr-ti { font-size: 17px; line-height: 1.3; }
.pr-ok { position: absolute; top: 12px; right: 14px; width: 26px; height: 26px; border-radius: 50%; background: #B8945B; color: #0E0E0E; display: grid; place-items: center; font-size: 14px; }
.pr-dlg { border: 0; border-radius: 20px; padding: 24px; width: min(92vw, 520px); background: #FAF8F2; color: #1C1B18; }
.pr-dlg[open] { display: flex; flex-direction: column; gap: 12px; }
.pr-dlg::backdrop { background: rgba(14,14,14,0.5); }
.pr-dlg video { width: 100%; border-radius: 12px; background: #0E0E0E; max-height: 50vh; }
.pr-dt { font-size: 26px; line-height: 1.15; font-weight: 400; }
.pr-how { margin: 0; }

.pr-cur { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-pick { display: flex; flex-direction: column; gap: 12px; }
.pr-opts { display: flex; flex-wrap: wrap; gap: 8px; }
/* warm-up playlist */
.wu-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; padding-top: 4px; border-top: 1px solid rgba(28,27,24,0.08); }
.pr-card .wu-row:first-of-type:nth-child(2) { border-top: 0; }
.wu-t { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.wu-t svg { width: 20px; height: 20px; fill: none; stroke: #B8945B; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wu-l { display: flex; gap: 8px; }
/* drill previews */
.pr-item { overflow: hidden; }
.pr-prev { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.pr-prev.on { opacity: 0.22; }
.pr-item > span:not(.pr-ok) { position: relative; }
/* the practice library in rows */
.pr-lib { gap: 10px; }
.pr-sec { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.pr-sh { font-size: 17px; line-height: 1.25; }
.pr-lib .pr-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; }
.pr-lib .pr-item { flex: 0 0 min(64%, 220px); min-height: 110px; }

/* who's playing */
.who-pick { position: fixed; inset: 0; z-index: 80; background: #0E0E0E; color: #FAF8F2; display: grid; place-items: center; padding: 24px 16px; animation: whoIn 0.35s ease-out; }
.who-pick[hidden] { display: none; }
html.who-open { overflow: hidden; }
.who-in { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; max-width: 560px; }
.who-h { font-size: clamp(30px, 8vw, 44px); line-height: 1.1; text-align: center; }
.who-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 26px; }
.who-p { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #FAF8F2; text-decoration: none; }
.who-c { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #2A2826; border: 2px solid rgba(184,148,91,0.5); font-size: 28px; letter-spacing: 0.06em; color: #E2CDA4; transition: transform 0.15s, border-color 0.15s; }
.who-c img { width: 100%; height: 100%; object-fit: cover; }
.who-p:hover .who-c, .who-p:focus-visible .who-c { border-color: #B8945B; transform: scale(1.04); }
.who-p:active .who-c { transform: scale(0.96); }
.who-n { font-size: 16px; letter-spacing: 0.04em; }
.who-skip { color: rgba(250,248,242,0.75) !important; }
@keyframes whoIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .who-pick { animation: none; } .pr-prev { display: none; } }
/* your usual */
.usual { display: flex; flex-direction: column; gap: 10px; }
.u-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.u-row::-webkit-scrollbar { display: none; }
.u-chip { flex: none; display: inline-flex; align-items: center; gap: 8px;   border-radius: 999px; border: 1px solid rgba(28,27,24,0.16);  color: #1C1B18; text-decoration: none; font-size: 14px; white-space: nowrap; }
.u-chip:hover { border-color: #B8945B; }
.u-chip svg {   fill: none;  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* gifts */
.gift-card { gap: 10px; }
.gc-bal { font-size: 34px; line-height: 1.1; }
.wait-f { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
/* kudos, preferences, racket service, memories */
.pr-kudos { font-size: 14px; color: #7A5B2B; }
.pr-dlg audio { width: 100%; }

.rs-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rs-steps li { position: relative; padding-left: 26px; font-size: 14px; color: #59544B; }
.rs-steps li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid rgba(28,27,24,0.3); background: #FAF8F2; }
.rs-steps li.done { color: #3A3934; } .rs-steps li.done::before { background: #B8945B; border-color: #B8945B; }
.rs-steps li.now { color: #1C1B18; font-weight: 500; } .rs-steps li.now::before { background: #0E0E0E; border-color: #0E0E0E; box-shadow: 0 0 0 4px rgba(184,148,91,0.3); }
.mem-card { gap: 10px; }
.mem-card img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 14px; }
.fam-sw { color: inherit; text-decoration: underline; text-underline-offset: 3px; letter-spacing: 0.2em; }
/* then & now */
.tn-card { gap: 12px; }
.tn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tn-f { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.tn-f img, .tn-f video { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; background: #0E0E0E; }
.tn-f figcaption { font-size: 13px; color: #59544B; } .tn-f figcaption b { color: #1C1B18; font-weight: 500; }
/* voice notes */
.vrec { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.vrec audio, .vc-play audio { width: 100%; max-width: 360px; }
.vr-b.on { background: #8E1F16; color: #FFFFFF; border-color: #8E1F16; }
.vr-st:empty { display: none; }
.vc-play { display: flex; flex-direction: column; gap: 4px; }
/* heat, match day, today live, what's new, usage */
.heat-card { border-color: rgba(142,31,22,0.45); gap: 10px; }
.card.match-card { gap: 8px; background: #0E0E0E; color: #FAF8F2; border-color: #0E0E0E; }
.card.match-card .eyebrow { color: #E2CDA4 !important; }
.match-card .muted, .match-card .mc-list { color: rgba(250,248,242,0.8); }
.match-card .mc-h { font-size: 28px; line-height: 1.15; }
.match-card .mc-focus { margin: 0; color: #FAF8F2; } .match-card .mc-focus b { color: #E2CDA4; font-weight: 500; }
.mc-list { margin: 4px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.match-card .mc-ref summary { cursor: pointer; color: #E2CDA4; padding: 8px 0; }
.match-card .f, .match-card textarea { color: #FAF8F2; } .match-card textarea { background: rgba(250,248,242,0.06); border-color: rgba(250,248,242,0.35); }
.match-card .ok { color: #E2CDA4; }
.lday { list-style: none; margin: 4px 0 0; padding: 0;     }
.lday li {     line-height: 1.3;  }
.lday li::before {    background: rgba(28,27,24,0.12); }
 .lday li.done::before { background: #B8945B; }
.lday li.next::before { background: linear-gradient(90deg, #B8945B 30%, rgba(28,27,24,0.12) 30%); }
.wn-card { gap: 8px; border-color: rgba(184,148,91,0.6); }
.wn-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.us-card { gap: 0; }
.us-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.us-l { font-size: 15px; } .us-n { font-size: 15px; text-align: right; }
.us-bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: rgba(28,27,24,0.08); overflow: hidden; } .us-bar i { display: block; height: 100%; background: #B8945B; }
/* a calm Today */
.calm-more { border-top: 1px solid rgba(28,27,24,0.1); padding-top: 4px; }
.calm-more > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; }
.calm-more > summary::-webkit-details-marker { display: none; }
.calm-more > summary::after { content: '+'; font-size: 20px; letter-spacing: 0; }
.calm-more[open] > summary::after { content: '−'; }
.calm-in { display: flex; flex-direction: column; gap: inherit; }
.calm-more[open] .calm-in {  padding-top: 8px; }
/* first-time welcome */
.tour { border: 0; padding: 0; width: min(92vw, 440px); border-radius: 24px; background: #FAF8F2; color: #1C1B18; overflow: hidden; }
.tour[open] { display: flex; flex-direction: column; }
.tour::backdrop { background: rgba(14,14,14,0.6); }
.tour-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tour-slides::-webkit-scrollbar { display: none; }
.tour-s { flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 32px 28px 12px; box-sizing: border-box; }
.tour-i { width: 56px; height: 56px; border-radius: 50%; background: #0E0E0E; display: grid; place-items: center; }
.tour-i svg { width: 26px; height: 26px; fill: none; stroke: #E2CDA4; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tour-h { font-size: 30px; line-height: 1.15; margin: 0; font-weight: 400; }
.tour-s .btn { align-self: stretch; text-align: center; }
.tour-st:empty { display: none; }
.tour-foot { display: flex; align-items: center; gap: 16px; padding: 12px 28px 22px; }
.tour-dots { display: flex; gap: 6px; margin-right: auto; } .tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(28,27,24,0.2); } .tour-dots i.on { background: #B8945B; }
/* one "Needs you" list */
.card.needs { gap: 0; border-color: #B8945B; }
.needs-h { padding-bottom: 6px; }
.card.needs-i { border: 0 !important; border-radius: 0; box-shadow: none; background: transparent; padding: 14px 0 6px; margin: 0; border-top: 1px solid rgba(28,27,24,0.1) !important; }
.card.needs-i .eyebrow { color: #1C1B18; letter-spacing: 0.22em; }
.pg-h { padding-top: 10px; }
/* demo accounts */
.demo-b { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.1); }
.demo-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; }
/* the same ✕ on every pop-up */
.x-close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(28,27,24,0.07); color: #1C1B18; display: grid; place-items: center; font-size: 18px; line-height: 1; cursor: pointer; }
.x-close:hover, .x-close:focus-visible { background: rgba(184,148,91,0.25); }
.who-pick .x-close, .match-card .x-close { background: rgba(250,248,242,0.12); color: #FAF8F2; }
dialog { position: fixed; }
.mapc-box, .who-in { position: relative; }   /* .lg-sheet is already fixed, which holds its close button; relative here pushed every phone sheet off the bottom of the page */
.who-pick > .x-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 14px; }
.lg-sheet > .x-close { top: 8px; right: 8px; }
.pr-dlg .pr-pl, .tour-s .tour-i, .ho-dlg .ho-qr { margin-right: 44px; }

/* ---------- the visual layer: same palette (black, cream, gold, sand), more rhythm ---------- */
/* cards lift off the page with a soft shadow instead of a hairline */
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .card:not(.next):not(.match-card):not(.needs-i) { border-color: transparent; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06); border-radius: 20px; }
/* sand: things from the coach, practice and reflection */
:is(.mv2, [data-app=member] main) :is(#coach-note, #practice, #progress, #last-session, #library, #focus) { background: #F1EBE1 !important; }
:is(.mv2, [data-app=member] main) :is(#coach-note, #practice, #progress, #last-session, #library) .pr-item:not(.done) { background: #FFFFFF; }
/* gold tint: what is new and the yearly moments */
:is(.mv2, [data-app=member] main) #whats-new, .mv2 #memory { background: linear-gradient(180deg, rgba(184,148,91,0.14), rgba(184,148,91,0.04)) !important; }
/* black: the moments (next lesson, match day) already are; the month at Legacy too */
:is(.mv2, [data-app=member] main) .mo-card, .mv2 #month { background: #0E0E0E !important; color: #FAF8F2; }
/* a small black-and-gold icon on each card's heading, so sections are recognised at a glance */
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .card-ic { display: inline-flex; align-items: center; gap: 12px; }
/* Your usual: buttons that look tappable */
.u-chip { background: #FFFFFF; border-color: transparent; box-shadow: 0 1px 2px rgba(14,14,14,0.05), 0 6px 16px rgba(14,14,14,0.06); padding: 0 16px 0 6px; min-height: 48px; }
.u-chip svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #B8945B; stroke: #0E0E0E; box-sizing: border-box; }
/* numbers carry the weight: serif, gold on dark, ink on light */
:is(.mv2, [data-app=member] main) .stats b, .mv2 .stats > div > b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; }
/* section rhythm on Progress and Account: a little more air between groups */
.mv2.v-account > #alerts, .mv2.v-account > #racket, .mv2.v-account > #mydata, .mv2.v-journey > #progress, .mv2.v-journey > #badges { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .u-chip { transition: none; } }

:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow[class*='ic-']::before { content: ''; flex: none; display: inline-block; width: 30px; height: 30px; margin: -6px 12px -6px 0; vertical-align: middle; border-radius: 50%; background: #0E0E0E center / 17px no-repeat; }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-person::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4.5 20c1-3.8 3.8-5.8 7.5-5.8s6.5 2 7.5 5.8'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-sliders::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h9M17 7h3M4 17h3M11 17h9M15 4.5v5M9 14.5v5'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11a6.5 6.5 0 1 1 13 0c0 4.8-6.5 11-6.5 11zM12 12.3a2.3 2.3 0 1 0 0-4.6 2.3 2.3 0 0 0 0 4.6'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-bell::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 16v-5a5.5 5.5 0 1 1 11 0v5l1.8 2H4.7zM10 20.3a2 2 0 0 0 4 0'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-clock::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17zM12 7.5V12l3 2'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-face::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3.5H5.5a2 2 0 0 0-2 2V8M16 3.5h2.5a2 2 0 0 1 2 2V8M8 20.5H5.5a2 2 0 0 1-2-2V16M16 20.5h2.5a2 2 0 0 0 2-2V16M9 9.5v1.5M15 9.5v1.5M9.3 15c1.6 1.4 3.8 1.4 5.4 0'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-ball::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17zM5.2 7c3 1.8 3 8.2 0 10M18.8 7c-3 1.8-3 8.2 0 10'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-gift::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10.5h16v9H4zM3 7.5h18v3H3zM12 7.5v12M12 7.5c-1.8-3.2-5-3.2-5-1.2s3.2 1.2 5 1.2c1.8 0 5 .8 5-1.2s-3.2-2-5 1.2'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-down::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11M7.5 10.5 12 15l4.5-4.5M5 20h14'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-info::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17zM12 11v5.5M12 7.7v.3'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-play::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17zM10 8.5l5.5 3.5L10 15.5z'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-quote::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 17c0-4 1-7 4-9M14 17c0-4 1-7 4-9M6 17h3.5v-3.5H6zM14 17h3.5v-3.5H14z'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-flag::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 21V4M6 4.5h10l-2 3.5 2 3.5H6'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-target::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 1 0 17 8.5 8.5 0 0 1 0-17zM12 7.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zM12 11.2a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-bars::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 20V12M10 20V6M15 20v-9M20 20V4'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-medal::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21a5.5 5.5 0 1 1 0-11 5.5 5.5 0 0 1 0 11zM8.5 10.5 6 3.5h4l2 5M15.5 10.5 18 3.5h-4l-2 5'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-route::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 19a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM18 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4zM8 17h7a3 3 0 0 0 0-6H9a3 3 0 0 1 0-6h7'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-image::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4zM4 16l5-5 4 4 3-3 4 4M15.5 8.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-trophy::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4h8v5a4 4 0 0 1-8 0zM8 6H5a3 3 0 0 0 3 4M16 6h3a3 3 0 0 1-3 4M12 13v4M8.5 20h7M10 17h4'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-chat::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-note::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3.5h9l3 3v14H6zM9 10h6M9 13.5h6M9 17h4'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-frames::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 6h7.5v12H3.5zM13 6h7.5v12H13z'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-cal::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 5h17v15.5h-17zM3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-card::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18v12H3zM3 10h18M7 15h4'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-heart::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.6 4.3 4.3 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10z'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-spark::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4M12 17v4M3 12h4M17 12h4M6 6l2.5 2.5M15.5 15.5 18 18M6 18l2.5-2.5M15.5 8.5 18 6'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-people::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7zM2.5 20c.8-3.5 3.3-5.3 6.5-5.3s5.7 1.8 6.5 5.3M16 4.5a3.3 3.3 0 0 1 0 6.3M18 14.8c2 .6 3.2 2.3 3.6 5.2'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-racket::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 3.5a6 6 0 1 1 0 12 6 6 0 0 1 0-12zM14.3 13.8 20.5 20M7 6.5l6 6M13 6.5l-6 6'/%3E%3C/svg%3E"); }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-week::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19V9M9 19V5M14 19v-7M19 19v-4'/%3E%3C/svg%3E"); }

/* the whole member journey, from signing in: the same warmth as inside the app */
[data-app=member] main .notice:not(.warn):not(.err) { border-color: transparent; border-radius: 18px; background: linear-gradient(180deg, rgba(184,148,91,0.16), rgba(184,148,91,0.05)); }
[data-app=member] main .notice.warn { border-radius: 18px; }
[data-app=member] .signin-photo { border-radius: 22px; overflow: hidden; box-shadow: 0 14px 34px rgba(14,14,14,0.10); }
[data-app=member] .ob-steps li { border-color: transparent; border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 6px 16px rgba(14,14,14,0.05); }
[data-app=member] .ob-steps li.on { background: #0E0E0E; color: #FAF8F2; }

[data-app=member] .mt-quick a { border-color: transparent; border-radius: 999px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14,14,14,0.05), 0 6px 16px rgba(14,14,14,0.06); }
[data-app=member] .mt-quick a:hover { box-shadow: 0 0 0 1px #B8945B, 0 6px 16px rgba(14,14,14,0.06); }
[data-app=member] .sign-ways { background: #FFFFFF; }
[data-app=member] main .m-h1 + .body, [data-app=member] main .m-h1 + p.body { color: rgba(14,14,14,0.74); }

/* always a way back */
.lg-back {   z-index: 45; margin: 0 0 6px;  background: rgba(250,248,242,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.lg-back[hidden] { display: none; }
.lg-back button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 0; border: 0; background: none; color: #7A5B2B; font: inherit; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lg-back button:active { opacity: 0.6; }
.lg-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lg-back-to { color: rgba(14,14,14,0.62); letter-spacing: 0.02em; text-transform: none; font-size: 14px; }
.lg-back-to:empty { display: none; }
.inc-add { display: block; padding: 8px 12px; margin-top: 4px; border-left: 2px solid #B8945B; background: #F1EBE1; font-size: 14px; border-radius: 0 10px 10px 0; }
.pr-safe { display: block; font-size: 13px; line-height: 1.45; color: rgba(14,14,14,0.66); padding: 8px 0 0; }
/* the month card on black: light text, gold accents, readable */
.mv2 #month, .mv2 #month .big, .mv2 #month .body, :is(.mv2, [data-app=member] main) .mo-card, :is(.mv2, [data-app=member] main) .mo-card :is(.body, .serif, .stats b, h2, h3) { color: #FAF8F2 !important; }
.mv2 #month > .eyebrow, :is(.mv2, [data-app=member] main) .mo-card .eyebrow { color: #E2CDA4 !important; }
.mv2 #month .muted, :is(.mv2, [data-app=member] main) .mo-card :is(.muted, .stats span, .rd-k) { color: rgba(250,248,242,0.74) !important; }
:is(.mv2, [data-app=member] main) .mo-card { border-color: transparent; }
.mv2 #month .link-btn { color: #E2CDA4 !important; border-color: rgba(226,205,164,0.6) !important; }
.mv2 #month .bar { background: rgba(250,248,242,0.18); }
.mv2 #month .bar > div { background: #B8945B; }
.mv2 #month .eyebrow[class*='ic-']::before { background-color: rgba(250,248,242,0.12); }

/* Badges and challenges: one page (Progress keeps a tile that opens it) */
.mv2.v-journey:not(.aw) > #challenges, .mv2.v-journey:not(.aw) > #badges { display: none !important; }
.mv2.v-journey.aw > :is(.rings-card, #started, #my-goals, #skills, #progress, #last-session, #journey, #media, #tournaments, #then-now, #library, #practice, #focus) { display: none !important; }
.aw-tile { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; background: linear-gradient(180deg, rgba(184,148,91,0.14), rgba(184,148,91,0.04)) !important; }
.aw-tile:active { transform: scale(0.99); }
.aw-row { display: flex; align-items: baseline; gap: 10px; }
.aw-n { font-size: 48px; line-height: 1; color: #0E0E0E; }
.aw-gs { display: flex; flex-direction: column; gap: 6px; }
.aw-tile .link-btn { align-self: flex-start; }

/* ---------- the Badges page, like the awards in a fitness app: big medal, one next step, tiles to tap ---------- */
.mv2.aw > #challenges, .mv2.aw > #badges { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 8px 0 0 !important; }
.mv2.aw .jv-switch { display: none !important; }
.mv2.aw #challenges .jr-top { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.mv2.aw #challenges .jr-top .eyebrow { justify-content: center; }
.mv2.aw #challenges .ch-name { font-family: 'Cormorant Garamond', Georgia, serif;  }
.mv2.aw .jr-hero { flex-direction: column; align-items: center; text-align: center;  }
.mv2.aw .jr-hero-r { align-items: center; width: 100%; }
.mv2.aw .jv-medal { justify-content: center; }
.mv2.aw .jr-where { justify-content: center; }
.mv2.aw .jr-next { width: 100%; box-sizing: border-box; text-align: left; background: #0E0E0E; color: #FAF8F2; border: 0; border-radius: 22px; padding: 18px; box-shadow: 0 12px 30px rgba(14,14,14,0.16); }
.mv2.aw .jr-next .eyebrow { color: #E2CDA4 !important; }
.mv2.aw .jr-next .jb-n, .mv2.aw .jr-next .body { color: #FAF8F2; }
.mv2.aw .jr-next .muted { color: rgba(250,248,242,0.72); }
.mv2.aw .jr-next .link-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 8px; padding: 0 20px; border: 0; border-radius: 999px; background: #B8945B; color: #0E0E0E !important; text-decoration: none; font-size: 12px; letter-spacing: 0.16em; }
.mv2.aw .jr-now { background: #FFFFFF; border-radius: 22px; padding: 18px 16px; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06); }
.mv2.aw .jr-now-h { text-align: center; align-items: center; }
.mv2.aw .jr-badges { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
@media (min-width: 640px) { .mv2.aw .jr-badges { grid-template-columns: repeat(4, 1fr); } }
.mv2.aw .jb { align-items: center; text-align: center; }
.mv2.aw .jb > summary { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.mv2.aw .jb > summary::-webkit-details-marker { display: none; }
.mv2.aw .jb > summary:active { transform: scale(0.96); }
.mv2.aw .jb:not(.on) svg { opacity: 0.55; }
.mv2.aw .jb.on svg { filter: drop-shadow(0 6px 14px rgba(184,148,91,0.45)); }
.mv2.aw .jb-n { font-size: 15px; }
/* milestones: a grid of medals to tap */
.mv2.aw #badges > summary { list-style: none; pointer-events: none;  flex-direction: column; align-items: center; gap: 4px; text-align: center; padding-bottom: 6px; }
.mv2.aw #badges > summary::-webkit-details-marker { display: none; }
.mv2.aw #badges > summary .eyebrow { font-size: 12px; }
.mv2.aw #badges > summary::after { display: none !important; }
.mv2.aw #badges .gr-next { background: #FFFFFF; border-radius: 18px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 8px 22px rgba(14,14,14,0.05); }
.mv2.aw .ms-row { display: grid !important; grid-template-columns: repeat(3, 1fr);  padding-top: 6px; }
@media (min-width: 640px) { .mv2.aw .ms-row { grid-template-columns: repeat(5, 1fr); } }
.mv2.aw .ms { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; cursor: pointer; min-width: 0; -webkit-tap-highlight-color: transparent; }
.mv2.aw .ms:active { transform: scale(0.95); }
.mv2.aw .ms svg { width: 64px; height: 64px; }
.mv2.aw .ms:not(.on) svg { opacity: 0.45; }
.mv2.aw .ms.on svg { filter: drop-shadow(0 6px 14px rgba(184,148,91,0.45)); }
.mv2.aw .ms > span {  line-height: 1.3;  }
.mv2.aw .ms .ms-how { display: none; }
.mv2.aw .ms:focus-visible, .mv2.aw .jb > summary:focus-visible { outline: 2px solid #B8945B; outline-offset: 4px; border-radius: 12px; }
/* the sheet that opens when a badge is tapped */
.aw-sheet { position: fixed; inset: auto 0 0 0; top: auto; margin: 0 auto; width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; box-sizing: border-box; border: 0; border-radius: 26px 26px 0 0; padding: 30px 22px calc(26px + env(safe-area-inset-bottom)); background: #FAF8F2; color: #1C1B18; text-align: center; }
.aw-sheet::backdrop { background: rgba(14,14,14,0.45); }
.aw-sheet[open] { animation: aw-up 0.28s cubic-bezier(.2,.8,.2,1); }
@keyframes aw-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .aw-sheet[open] { animation: none; } .mv2.aw .ms:active, .mv2.aw .jb > summary:active { transform: none; } }
.aw-sheet .aw-art svg { width: 120px; height: 120px; }
.aw-sheet .aw-art.on svg { filter: drop-shadow(0 10px 22px rgba(184,148,91,0.5)); }
.aw-sheet .aw-art:not(.on) svg { opacity: 0.55; }
.aw-sheet h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.15; margin: 10px 0 6px; }
.aw-sheet .aw-st { display: inline-block; margin: 4px 0 10px; padding: 6px 14px; border-radius: 999px; background: #F1EBE1; color: #7A5B2B; font-size: 13px; letter-spacing: 0.04em; }
.aw-sheet .aw-st.on { background: #0E0E0E; color: #E2CDA4; }
.aw-sheet .aw-how { font-size: 16px; line-height: 1.55; color: #3A3934; margin: 0 0 12px; }
.aw-sheet .aw-more { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.aw-sheet .aw-more .link-btn, .aw-sheet .aw-more button.link-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: #B8945B; color: #0E0E0E; font-size: 12px; letter-spacing: 0.16em; }
.aw-sheet .aw-bar { height: 6px; border-radius: 3px; background: #E9E1D2; overflow: hidden; margin: 2px auto 12px; max-width: 240px; }
.aw-sheet .aw-bar i { display: block; height: 100%; background: #B8945B; border-radius: 3px; }
.mv2.aw .jr-badges { display: grid !important; overflow: visible !important; scroll-snap-type: none; padding-bottom: 0; }
.mv2.aw .jr-badges > .jb { flex: none; }
.mv2.aw .jr-hero { padding: 0 !important; margin: 0 !important; gap: 10px; }
.mv2.aw .jr-hero > .big-medal { margin: 0 !important; }
.mv2.aw #badges > summary { display: flex !important; }
.mv2.aw #badges > .muted { display: block; text-align: center; }

/* ---------- the sign-in moment: a calm photo, a greeting, today's line, then only what is needed ---------- */
.si-hero { position: relative; overflow: hidden; min-height: clamp(300px, 46vh, 460px); display: flex; align-items: flex-end; background: #2E2A25; color: #FAF8F2; }
.si-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; animation: si-zoom 24s ease-out both; }
@keyframes si-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.si-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,0.82) 0%, rgba(14,14,14,0.35) 48%, rgba(14,14,14,0.05) 75%); }
.si-in { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px 30px; box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; }
.si-greet { font-size: 12px; letter-spacing: 0.36em; text-transform: uppercase;  }
.si-h { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 1.02; color: #FAF8F2; }
.si-line { margin: 4px 0 0; max-width: 520px; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.4; color: rgba(250,248,242,0.92); }
.si-body { padding-top: 28px !important; padding-bottom: 48px !important; }
.si-col { max-width: 460px; display: flex; flex-direction: column; gap: 20px; }
.si-sub { margin: 0; font-size: 17px; line-height: 1.55; color: #3A3934; }
.si-col .f input { font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .si-hero img { animation: none; } }
/* sign-in screens keep a quiet footer line */
.m-foot.quiet { padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); background: transparent; color: #59544B; border-top: 1px solid rgba(28,27,24,0.1); }
.m-foot.quiet .m-wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; font-size: 12px; letter-spacing: 0.08em; }
.m-foot.quiet a { color: #59544B; text-decoration: none; padding: 10px 0; }
/* a warm first line on Today, for players and for the team */
.st-greet { display: flex; flex-direction: column; gap: 6px; padding: 6px 0 4px; }
.st-line { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 20px; line-height: 1.4; color: #7A5B2B; max-width: 560px; }
.m-tag.st-line { display: block; margin-top: 4px;  }
.m-foot.quiet { padding: 18px 0 calc(18px + env(safe-area-inset-bottom)) !important; margin-top: 0 !important; }
.m-foot.quiet > .m-wrap { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: flex-start; gap: 4px 22px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
.si-greet { color: #F3E6CC; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.si-h, .si-line { text-shadow: 0 2px 18px rgba(0,0,0,0.35); }

/* ---------- the daily moment ---------- */
dialog.moment { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0E0E0E; color: #FAF8F2; overflow: hidden; }
dialog.moment::backdrop { background: #0E0E0E; }
dialog.moment[open] { display: flex; align-items: flex-end; animation: mo-in 0.5s ease both; }
@keyframes mo-in { from { opacity: 0; } to { opacity: 1; } }
.moment-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0.55; animation: si-zoom 30s ease-out both; }
.moment-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,14,14,0.95) 0%, rgba(14,14,14,0.55) 55%, rgba(14,14,14,0.25) 100%); }
.moment-in { position: relative; width: 100%; max-width: 640px; margin: 0 auto; padding: 0 28px calc(48px + env(safe-area-inset-bottom)); box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; }
.moment-in > * { animation: mo-up 0.7s cubic-bezier(.2,.8,.2,1) both; }
.moment-in > :nth-child(2) { animation-delay: 0.08s; } .moment-in > :nth-child(3) { animation-delay: 0.3s; } .moment-in > :nth-child(4) { animation-delay: 0.42s; } .moment-in > :nth-child(5) { animation-delay: 0.56s; }
@keyframes mo-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.moment-greet { font-size: 13px; letter-spacing: 0.36em; text-transform: uppercase; color: #EBD3A4; }
.moment-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(48px, 12vw, 76px); line-height: 1; margin-bottom: 18px; }
.moment-k { align-self: flex-start; font-size: 11px; letter-spacing: 0.3em; color: #0E0E0E; background: #B8945B; padding: 6px 12px; border-radius: 999px; }
.moment-t { margin: 6px 0 18px;  font-size: clamp(26px, 6vw, 36px);  color: #FAF8F2; }
.moment-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.moment-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: #FAF8F2; color: #0E0E0E; font: inherit; font-size: 13px; letter-spacing: 0.2em; text-decoration: none; cursor: pointer; }
.moment-btn.line { background: transparent; color: #FAF8F2; box-shadow: inset 0 0 0 1px rgba(250,248,242,0.78); }
@media (prefers-reduced-motion: reduce) { dialog.moment[open], .moment-in > *, .moment-bg { animation: none; } }
dialog.moment .x-close { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 14px; background: rgba(250,248,242,0.14); color: #FAF8F2; }
/* the quote's author and today's full date, small */
.moment-date { font-size: 12px; letter-spacing: 0.14em; color: rgba(250,248,242,0.82); margin-bottom: 6px; }
.moment-by { margin: -10px 0 18px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #D9BE8C; }
.q-by { display: block; margin-top: 6px; font-family: 'Jost', system-ui, sans-serif; font-style: normal; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #59544B; }
.si-line .q-by { color: rgba(250,248,242,0.75); }
.st-date { display: block; font-size: 12px; letter-spacing: 0.14em; color: #59544B; margin-bottom: 4px; }
.moment-keep { display: flex; gap: 22px; margin-top: 14px; }
.moment-sm { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; color: rgba(250,248,242,0.85); font: inherit; font-size: 12px; letter-spacing: 0.2em; cursor: pointer; }
.moment-sm svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.moment-sm:active { opacity: 0.6; }
dialog.moment .lg-toast { position: absolute; bottom: calc(24px + env(safe-area-inset-bottom)); }
.st-line[role="button"] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.st-line[role="button"]:active { opacity: 0.7; }
.lc-bar { height: 6px; border-radius: 3px; background: #E9E1D2; overflow: hidden; margin-top: 12px; max-width: 420px; } .lc-bar i { display: block; height: 100%; background: #B8945B; border-radius: 3px; }
.moment-sm[aria-pressed="true"] { color: #EBD3A4; }
.moment-sm[aria-pressed="true"] svg { fill: #B8945B; stroke: #B8945B; }
.qf-row { padding: 14px 0; border-top: 1px solid rgba(28,27,24,0.1); display: flex; flex-direction: column; gap: 6px; }
.qf-t { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.35; color: #1C1B18; }
.qf-a { display: flex; gap: 20px; }
.sw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 560px) { .sw-grid { grid-template-columns: repeat(3, 1fr); } }
.sw-cell { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; font: inherit; }
.sw-img { display: block; aspect-ratio: 4 / 5; background: #0E0E0E; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 16px rgba(14,14,14,0.12); }
.sw-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sw-d { font-size: 12px; color: #59544B; }
.sw-cell:active { transform: scale(0.97); }
/* How was today? */
.feel-card { gap: 12px; }
.feel-q { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.25; color: #1C1B18; }
.feel-faces { display: flex; gap: 10px; }
.feel-f { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 76px; padding: 10px 6px;  border-radius: 18px; background: #F1EBE1;  font: inherit; -webkit-tap-highlight-color: transparent; }
.feel-f span { font-size: 30px; line-height: 1; }
.feel-f small { font-size: 12px; color: #4A463F; letter-spacing: 0.04em; }
.feel-f:active { transform: scale(0.96); }
.feel-f:focus-visible { outline: 2px solid #B8945B; outline-offset: 2px; }
.feel-skip { display: flex; gap: 20px; }

body:has(.tabbar > details[open]) .lg-toast, body:has(.tabbar details.m-more[open]) .lg-toast { opacity: 0 !important; visibility: hidden !important; }

/* ---------- Legacy Coach and Admin: the same warm look as the member app ---------- */
:is([data-app=coach], [data-app=admin]) main .card:not(.needs-i) { border-color: transparent !important; }
:is([data-app=coach], [data-app=admin]) main .card .eyebrow[style*='9A4A2A'] { color: #7A5B2B !important; }
/* a lesson on Today: the time as a small dark chip, the player first, actions in one tidy row */
@media (max-width: 700px) {
  :is([data-app=coach], [data-app=admin]) .today-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; border-bottom-color: rgba(28,27,24,0.08); }
  :is([data-app=coach], [data-app=admin]) .today-time { justify-self: start; display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px; background: #0E0E0E; color: #FAF8F2; font-size: 13px; letter-spacing: 0.06em; }
  :is([data-app=coach], [data-app=admin]) .today-row > span:nth-child(2) > a:first-child { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; line-height: 1.15; text-decoration: none; }
  :is([data-app=coach], [data-app=admin]) .today-row [style*='grid-column'] { grid-column: 1 / -1 !important; }
}
:is([data-app=coach], [data-app=admin]) main .pill { border: 0 !important; border-radius: 999px; background: #F1EBE1 !important; padding: 5px 12px; font-size: 11px; letter-spacing: 0.14em; color: #7A5B2B; display: inline-flex; align-items: center; min-height: 28px; margin: 4px 0; }
:is([data-app=coach], [data-app=admin]) .sb-wrap { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
:is([data-app=coach], [data-app=admin]) .sb-wrap > form.inline, :is([data-app=coach], [data-app=admin]) .sb-wrap > details { margin: 0; }
:is([data-app=coach], [data-app=admin]) .sb-wrap .btn.small { border-radius: 999px; padding: 0 18px; min-height: 40px; }
:is([data-app=coach], [data-app=admin]) .sb-wrap details.mv-l > summary { display: inline-flex; align-items: center; min-height: 40px; }

/* ---------- what needs you: important stands out, the rest stays calm ---------- */
:is([data-app=coach], [data-app=admin]) .glance-strip { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
:is([data-app=coach], [data-app=admin]) .glance-strip > span { grid-column: 1 / -1; }
:is([data-app=coach], [data-app=admin]) .glance-strip a { display: flex !important; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; border: 0 !important; border-radius: 18px !important; padding: 14px 16px !important; min-height: 76px; text-decoration: none; font-size: 13px; line-height: 1.35; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 8px 20px rgba(14,14,14,0.06); }
:is([data-app=coach], [data-app=admin]) .glance-strip .g-tag { font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; }
:is([data-app=coach], [data-app=admin]) .glance-strip .g-line strong { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 500; line-height: 1; margin-bottom: 2px; }
/* important: red, full width, impossible to miss */
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-urgent { grid-column: 1 / -1; background: #B3261E !important; color: #FFFFFF !important; min-height: 64px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding-left: 14px !important; }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-urgent::before { content: '!'; flex: none; width: 34px; height: 34px; border-radius: 50%; background: #FFFFFF; color: #B3261E; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 18px; }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-urgent .g-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-urgent .g-line { min-width: 0; overflow-wrap: anywhere; line-height: 1.3; }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-urgent .g-line { font-size: 16px; }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-urgent .g-line strong { display: inline; font-family: inherit; font-size: 20px; font-weight: 600; color: #FFFFFF !important; margin-right: 4px; }
/* to do today: white with a gold edge */
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-act { background: #FFFFFF !important; color: #1C1B18 !important; box-shadow: inset 4px 0 0 #B8945B, 0 1px 2px rgba(14,14,14,0.04), 0 8px 20px rgba(14,14,14,0.07); padding-left: 18px !important; }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-act .g-tag { color: #7A5B2B; }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-act strong { color: #1C1B18 !important; }
/* good to know: quiet */
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-info { background: #F1EBE1 !important; color: #3A3934 !important; box-shadow: none; min-height: 64px; }
:is([data-app=coach], [data-app=admin]) .glance-strip a.g-info strong { color: #7A5B2B !important; font-size: 24px; }
/* the cards themselves */
:is([data-app=coach], [data-app=admin]) main .card.tier-urgent { background: #FFF7F6 !important; box-shadow: inset 0 0 0 1.5px #B3261E, 0 10px 28px rgba(179,38,30,0.12) !important; }
:is([data-app=coach], [data-app=admin]) main .card.tier-urgent[data-tag]::before { content: attr(data-tag); align-self: flex-start; display: inline-flex; align-items: center; min-height: 26px; padding: 5px 12px; border-radius: 14px; background: #B3261E; color: #FFFFFF; font-size: 10px; line-height: 1.35; letter-spacing: 0.14em; font-weight: 500; white-space: normal; max-width: 100%; box-sizing: border-box; }
:is([data-app=coach], [data-app=admin]) main .card.tier-urgent .eyebrow { color: #B3261E !important; font-weight: 500; }
:is([data-app=coach], [data-app=admin]) main .card.tier-urgent .eyebrow[class*='ic-']::before { background-color: #B3261E; }
:is([data-app=coach], [data-app=admin]) main .card.tier-act { box-shadow: inset 4px 0 0 #B8945B, 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06) !important; }
:is([data-app=coach], [data-app=admin]) main .card.tier-act > .eyebrow, :is([data-app=coach], [data-app=admin]) main .card.tier-act > div:first-child > .eyebrow { color: #7A5B2B !important; }
:is([data-app=coach], [data-app=admin]) .ow-sel select { border-radius: 14px; min-height: 44px; background-color: #FFFFFF; }
:is([data-app=coach], [data-app=admin]) .ow-b { border-radius: 14px; min-height: 44px; }

/* ---------- the same three levels in the member app ---------- */
:is([data-app=member] main, .mv2) .tier-urgent { background: #FFF7F6 !important; border: 0 !important; border-radius: 20px; box-shadow: inset 0 0 0 1.5px #B3261E, 0 10px 28px rgba(179,38,30,0.12) !important; }
:is([data-app=member] main, .mv2) .tier-urgent .eyebrow { color: #B3261E !important; font-weight: 500; }
:is([data-app=member] main, .mv2) .tier-urgent .eyebrow[class*='ic-']::before { background-color: #B3261E; }
:is([data-app=member] main, .mv2, [data-app=coach] main, [data-app=admin] main) .tier-tag { align-self: flex-start; display: inline-flex; align-items: center; min-height: 26px; padding: 5px 12px; margin-bottom: 4px; border-radius: 14px; background: #B3261E; color: #FFFFFF; font-size: 10px; line-height: 1.35; letter-spacing: 0.14em; font-weight: 500; white-space: normal; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
:is([data-app=member] main, .mv2) .tier-urgent .btn:not(.line) { background: #B3261E !important; border-color: #B3261E !important; color: #FFFFFF !important; }
:is([data-app=member] main, .mv2) .tier-act { border: 0 !important; border-radius: 20px; box-shadow: inset 4px 0 0 #B8945B, 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06) !important; }
.pay-fix { display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; }
.pay-fix .btn { align-self: flex-start; display: inline-flex !important; align-items: center; justify-content: center; height: auto !important; min-height: 52px; padding: 0 26px !important; line-height: 1.2; }

:is([data-app=coach], [data-app=admin]) .glance-strip a { min-width: 0; overflow-wrap: anywhere; box-sizing: border-box; }
:is([data-app=member] main, .mv2, [data-app=coach] main, [data-app=admin] main) .tier-urgent { overflow-wrap: anywhere; }
.pay-fix .btn { max-width: 100%; box-sizing: border-box; white-space: normal; text-align: center; }
@media (max-width: 360px) { .tabbar a, .tabbar summary, .tabbar.admin a, .tabbar.admin summary { font-size: 9.5px !important; letter-spacing: 0.02em !important; } }

/* ---------- every tap at least finger-sized (the look stays small, the touch area grows) ---------- */
.todo-ck, .todo-x, .bubble-x { position: relative; }
.todo-ck::after, .todo-x::after, .bubble-x::after { content: ''; position: absolute; inset: -9px; }
.bubble-x { min-height: 44px; }
label.check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
/* the MORE menu: a grip to show it can be swiped down, like every sheet in the app */
.tabbar details > div::before { content: ''; grid-column: 1 / -1; justify-self: center; width: 40px; height: 5px; border-radius: 3px; background: rgba(28,27,24,0.18); margin: -2px 0 4px; }

/* the daily moment: a bright, joyful photo that changes with the day (a high five for a quote, the sea for Mind, the mat for Body, a raised fist for Game), different from the sign-in photo */
.moment-photo { opacity: 0.9; object-position: 50% 22%; }
.moment-photo ~ .moment-fade { background: linear-gradient(to top, rgba(14,14,14,0.97) 0%, rgba(14,14,14,0.93) 46%, rgba(14,14,14,0.78) 58%, rgba(14,14,14,0.4) 72%, rgba(14,14,14,0.12) 88%, rgba(14,14,14,0.05) 100%); }
.moment-photo ~ .moment-in .moment-t, .moment-photo ~ .moment-in .moment-greet, .moment-photo ~ .moment-in .moment-date { text-shadow: 0 1px 14px rgba(14,14,14,0.55); }
dialog.moment:has(.moment-photo) .x-close { background: rgba(14,14,14,0.38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* ---------- Coach and Admin pages, the member app's softness everywhere ---------- */
:is([data-app=coach], [data-app=admin]) main .glance { gap: 10px; background: transparent; border: 0; }
:is([data-app=coach], [data-app=admin]) main .glance > div { border-radius: 18px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 8px 20px rgba(14,14,14,0.06); }
:is([data-app=coach], [data-app=admin]) main .tab { border-radius: 999px; }
:is([data-app=coach], [data-app=admin]) main .quick a { border-radius: 999px; background: #FFFFFF; border-color: rgba(28,27,24,0.14); }
:is([data-app=coach], [data-app=admin]) main .btn.line { border-radius: 14px; }
:is([data-app=coach], [data-app=admin]) main .mtype { border-radius: 999px; padding-left: 10px; padding-right: 10px; }
:is([data-app=coach], [data-app=admin]) main .feed { border-radius: 18px; border-color: transparent; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 8px 20px rgba(14,14,14,0.06); }
:is([data-app=coach], [data-app=admin]) main .cal-off { border-radius: 6px; text-overflow: ellipsis; }
:is([data-app=coach], [data-app=admin]) main .cal { border-radius: 16px; overflow: hidden; }
:is([data-app=coach], [data-app=admin]) main .mt-avatar:not(:has(img[src])) { background: #F1EBE1; }
:is([data-app=coach], [data-app=admin]) main .pv-wins a { border-radius: 999px; }
:is([data-app=coach], [data-app=admin]) main table.players td span[style*="border"], :is([data-app=coach], [data-app=admin]) main .list-row span[style*="border"] { border-radius: 999px; }
:is([data-app=coach], [data-app=admin]) main :is(.st-active, .st-pending, .st-paused, .st-ended, .st-new, .st-archived) { border-radius: 999px; }

/* ---------- a photo or an avatar, instead of initials ---------- */
.mt-avatar.mt-add { position: relative; }
.mt-plus { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 50%; background: #B8945B; color: #0E0E0E; font-style: normal; font-size: 16px; line-height: 22px; text-align: center; box-shadow: 0 0 0 2px #FAF8F2; }
.mt-pic > summary { list-style: none; cursor: pointer; display: inline-flex; min-height: 44px; align-items: center; }
.mt-pic > summary::-webkit-details-marker { display: none; }
.avp { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; padding: 18px; border-radius: 20px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06); max-width: 460px; }
.avp-prev { display: flex; justify-content: center; }
.avp-face { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: block; box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 4px #B8945B; }
.avp-face svg { width: 100%; height: 100%; display: block; }
.avp-photo { margin: 0; display: flex; }
.avp-up { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; cursor: pointer; }
.avp-or { text-align: center; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #59544B; }
.avp-f { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.avp-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.avp-i, .avp-c { position: relative; cursor: pointer; display: block; }
.avp-i input, .avp-c input { position: absolute; opacity: 0; pointer-events: none; }
.avp-i span { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(28,27,24,0.1); transition: transform .12s ease; }
.avp-i span svg { width: 100%; height: 100%; display: block; }
.avp-i input:checked + span { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0E0E0E; transform: scale(1.04); }
.avp-colors { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.avp-c span { display: block; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(28,27,24,0.15); }
.avp-c input:checked + span { box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0E0E0E; }
.avp-i input:focus-visible + span, .avp-c input:focus-visible + span { outline: 2px solid #7A5B2B; outline-offset: 3px; }
.avp .btn { align-self: stretch; text-align: center; }

/* ---------- sign-in on a phone: everything on one screen, no scrolling ---------- */
@media (max-width: 760px) {
  body:has(.si-hero) header.m-head .m-nav { min-height: 0; padding-top: 10px; padding-bottom: 10px; }
  body:has(.si-hero) header.m-head img { max-height: 40px; width: auto; }
  body:has(.si-hero) { display: flex; flex-direction: column; min-height: 100svh; }
  body:has(.si-hero) main { flex: 1 1 auto; display: flex; flex-direction: column; }
  .si-hero { flex: 1 1 auto; min-height: 170px; max-height: 50svh; }
  .si-body { flex: none; width: 100%; box-sizing: border-box; }
  .si-col { width: 100%; }
  .si-in { padding-bottom: 20px; gap: 6px; }
  .si-h { font-size: clamp(36px, 10.5vw, 46px); }
  .si-line {  line-height: 1.35; }
  .si-body { padding-top: 18px !important; padding-bottom: 20px !important; }
  .si-col { gap: 14px; }
  .si-sub { font-size: 16px; }
  .si-col .f { gap: 4px; }
  .si-col form { gap: 14px !important; }
  .si-col .btn { align-self: stretch !important; text-align: center; min-height: 50px; }
  .si-col > p.muted { margin-top: 6px !important; }
  body:has(.si-hero) footer { display: none; }
  body:has(.si-hero) { padding-bottom: env(safe-area-inset-bottom) !important; }
}
.si-more-b { align-self: center; min-height: 44px; }

/* the daily message and today's quote: clean sans-serif, easy to read at a glance (big headings stay in the Legacy serif) */
.moment-t { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 300; font-size: clamp(24px, 6.2vw, 32px); line-height: 1.3; letter-spacing: -0.005em; }
.st-line, .si-line { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-style: normal; font-weight: 300; font-size: 18px; line-height: 1.45; }
.m-tag.st-line { font-size: 17px; }
@media (max-width: 760px) { .si-line { font-size: 16px; } }

/* badges and challenges on Today: a warm medal card, one tap to all of them */
.tb-card { display: flex !important; flex-direction: row !important; align-items: center; gap: 16px; text-decoration: none; color: inherit; background: linear-gradient(135deg, #F6EBD6, #FBF5EA) !important; }
.tb-card:active { transform: scale(0.99); }
.tb-medal { flex: none; width: 58px; height: 58px; border-radius: 50%; background: #0E0E0E; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #FBF5EA, 0 0 0 4px #B8945B; }
.tb-medal svg { width: 32px; height: 32px; fill: none; stroke: #E2CDA4; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tb-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.tb-big { font-size: 16px; color: #1C1B18; } .tb-big b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 500; color: #7A5B2B; margin-right: 2px; }
.tb-next { font-size: 13px; color: #59544B; }
.tb-bar { display: block; height: 6px; border-radius: 3px; background: rgba(184,148,91,0.22); overflow: hidden; margin-top: 2px; }
.tb-bar i { display: block; height: 100%; border-radius: 3px; background: #B8945B; }
.tb-go { flex: none; font-size: 28px; color: #7A5B2B; line-height: 1; }

/* Your music */
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow.ic-music::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E2CDA4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18V6l10-2v12'/%3E%3Ccircle cx='6.5' cy='18' r='2.5'/%3E%3Ccircle cx='16.5' cy='16' r='2.5'/%3E%3C/svg%3E"); }
.mu-card { gap: 14px; }
.mu-list { display: flex; flex-direction: column; border-top: 1px solid rgba(28,27,24,0.08); }
.mu-row { border-bottom: 1px solid rgba(28,27,24,0.08); }
.mu-row > summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; }
.mu-row > summary::-webkit-details-marker { display: none; }
.mu-n { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.mu-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .mu-t b { font-weight: 500; overflow-wrap: anywhere; } .mu-t span { font-size: 13px; color: #59544B; }
.mu-e { flex: none; font-size: 11px; letter-spacing: 0.18em; color: #7A5B2B; }
.mu-row[open] .mu-e { visibility: hidden; }
.mu-ef { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 16px 44px; margin: 0; }
.mu-ea { display: flex; gap: 18px; align-items: center; }
.mu-add, .mu-plf { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.mu-add .btn, .mu-plf .btn { align-self: flex-start; }
.mu-pl > summary { list-style: none; cursor: pointer; display: inline-flex; min-height: 44px; align-items: center; }
.mu-pl > summary::-webkit-details-marker { display: none; }
.mu-arow { flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.mu-go { display: inline-flex; gap: 16px; }

/* ---------- Wellness ---------- */
.wl { display: flex; flex-direction: column;  }
.wl-tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; background: linear-gradient(135deg, #EEF3EE, #FAF8F2) !important; }
.wl-tile-t { font-size: 16px; color: #1C1B18; } .wl-tile-q { font-size: 15px; font-style: italic; color: #4A6A55; }
.wl-tile .link-btn { align-self: flex-start; }
.wl-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; position: sticky; top: 0; z-index: 2; background: #FAF8F2; padding-top: 6px; }
.wl-tabs::-webkit-scrollbar { display: none; }
.wl-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #FFFFFF; color: #1C1B18; text-decoration: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 0 0 1px rgba(28,27,24,0.12); }
.wl-aff { align-items: flex-start; gap: 10px; background: linear-gradient(135deg, #0E0E0E, #2A2620) !important; color: #FAF8F2; }
.wl-aff .eyebrow { color: #E2CDA4 !important; }
.wl-aff-t { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(28px, 7vw, 38px); line-height: 1.2; color: #FAF8F2; }
.wl-aff .link-btn { color: #E2CDA4; border-color: #E2CDA4; }
.wl-aff.pop .wl-aff-t { animation: wl-pop .6s ease; }
@keyframes wl-pop { 40% { transform: scale(1.06); color: #E2CDA4; } }
.wl-sec { display: flex; flex-direction: column;  scroll-margin-top: 60px; }
.wl-head p { margin: 4px 0 0; }
.wl-list { display: flex; flex-direction: column;  }
.wl-it { padding: 0 !important; }
.wl-it > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 0 18px; cursor: pointer; }
.wl-it > summary::-webkit-details-marker { display: none; }

.wl-min { flex: none;  letter-spacing: 0.14em; color: #7A5B2B; background: #F1EBE1; border-radius: 999px;  }
.wl-it > .body { margin: 0; padding: 0 18px 16px; }
.wl-it > .wl-breathe { margin: 0 18px 18px; }
.wl-affs { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-chip { display: inline-flex; padding: 10px 14px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(28,27,24,0.1); font-size: 15px; }
dialog.wl-guide { box-sizing: border-box; margin: auto; max-width: calc(100vw - 32px); border: 0; border-radius: 28px;  width: min(92vw, 380px); background: #0E0E0E; color: #FAF8F2;  }
dialog.wl-guide::backdrop { background: rgba(14,14,14,0.6); }
dialog.wl-guide .x-close { position: absolute; top: 12px; right: 12px; background: rgba(250,248,242,0.14); color: #FAF8F2; }
.wl-orb { width: 120px; height: 120px; margin: 10px auto 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #E2CDA4, #B8945B 70%); transform: scale(0.7); transition: transform 4s ease-in-out; }
.wl-orb.in { transform: scale(1.1); transition-duration: 4s; } .wl-orb.hold { transform: scale(1.1); } .wl-orb.out { transform: scale(0.7); transition-duration: 6s; }
.wl-say { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; margin: 0 0 6px; } .wl-left { margin: 0; color: rgba(250,248,242,0.78) !important; }
@media (prefers-reduced-motion: reduce) { .wl-orb { transition: none; } }
.wl-off summary strong { opacity: 0.5; }
.lday > .next > span { color: rgba(250,248,242,0.72) !important; }

/* My workouts */
.wk-card { gap: 14px; }
.wk-week { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; }
.wk-week > div { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: #F1EBE1; }
.wk-week b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1; color: #1C1B18; }
.wk-week span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #59544B; }
.wk-add > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.wk-add > summary::-webkit-details-marker, .wk-set > summary::-webkit-details-marker { display: none; }

.wk-f { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 0; }
.wk-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.wk-f .btn { align-self: flex-start; }
.wk-how { font-size: 13px; }
.wk-list { display: flex; flex-direction: column; border-top: 1px solid rgba(28,27,24,0.08); }
.wk-it { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.wk-d { flex: none; width: 52px; font-size: 13px; color: #7A5B2B; letter-spacing: 0.04em; }
.wk-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .wk-t b { font-weight: 500; font-size: 15px; } .wk-t span { font-size: 13px; color: #59544B; }
.wk-x { font-size: 22px; min-width: 44px; min-height: 44px; }
.wk-set > summary { list-style: none; cursor: pointer; display: inline-flex; min-height: 44px; align-items: center; }
.wk-prompt { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.wk-prompt .link-btn { align-self: flex-start; }
.wk-add > summary.btn { padding: 0 22px !important; min-height: 48px; border-radius: 14px; }
@media (max-width: 560px) { .wk-week { grid-template-columns: 1fr 1fr; } }

/* every day: a short reminder to enjoy life */
.moment-joy { margin: -6px 0 18px; font-size: 14px; letter-spacing: 0.02em; color: #EBD3A4; }
.st-joy { display: block; margin-top: 6px; font-size: 14px; letter-spacing: 0.02em; color: #7A5B2B; }

/* ---------- The Legacy Circle: calm, warm, never a feed that shouts ---------- */
.lc { display: flex; flex-direction: column; gap: 18px; }
.lc-entry { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; background: linear-gradient(135deg, #F6EEDF, #FAF8F2) !important; }
.lc-et { font-size: 24px; line-height: 1.2; color: #1C1B18; }
.lc-entry .link-btn { align-self: flex-start; }
.lc-today { display: block; margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: #F6F1E8; color: #7A5B2B; font-size: 14px; letter-spacing: .02em; text-decoration: none; }
.lc-tabs { display: flex; gap: 6px; padding: 4px; background: #F1EBE1; border-radius: 999px; align-self: stretch; }
.lc-tabs a { flex: 1 1 0; text-align: center; padding: 11px 10px; border-radius: 999px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #5E594F; text-decoration: none; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.lc-tabs a.on { background: #0E0E0E; color: #FAF8F2; }
.lc-new { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .lc-new { grid-template-columns: 1fr; } }
.lc-form { padding: 14px !important; }
.lc-form > summary { list-style: none; width: 100%; box-sizing: border-box; justify-content: center; text-align: center; cursor: pointer; }
.lc-form > summary::-webkit-details-marker { display: none; }
.lc-form[open] > summary { margin-bottom: 14px; }
.lc-f { display: flex; flex-direction: column; gap: 12px; }
.lc-f textarea, .lc-rf textarea { width: 100%; box-sizing: border-box; }
.lc-vis { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.lc-vis legend { font-size: 11px; letter-spacing: .16em; color: #5E594F; margin-bottom: 4px; }
.lc-search { width: 100%; box-sizing: border-box; padding: 13px 16px; border-radius: 999px; border: 1px solid #E4DCCD; background: #FFFDF8; font: inherit; font-size: 16px; }
.lc-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: -6px -16px 0; padding: 0 16px 4px; -webkit-overflow-scrolling: touch; }
.lc-cats::-webkit-scrollbar { display: none; }
.lc-cats a { flex: 0 0 auto; padding: 9px 14px; border-radius: 999px; background: #F6F1E8; color: #5E594F; font-size: 13px; text-decoration: none; white-space: nowrap; min-height: 38px; box-sizing: border-box; display: flex; align-items: center; }
.lc-cats a.on { background: #B8945B; color: #0E0E0E; }
.lc-post { display: flex; flex-direction: column; gap: 10px; }
.lc-post[hidden] { display: none; }
.lc-win { background: linear-gradient(160deg, #FFFDF8, #F8F1E4) !important; }
.lc-top { display: flex; align-items: center; gap: 12px; }
.lc-av { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: flex; align-items: center; justify-content: center; font-size: 13px; letter-spacing: .06em; overflow: hidden; }
.lc-av img { width: 100%; height: 100%; object-fit: cover; }
.lc-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; font-size: 15px; }
.lc-who b { font-weight: 500; }
.lc-who .muted { font-size: 13px; }
.lc-pend { flex: 0 0 auto; font-size: 10px; letter-spacing: .14em; padding: 5px 9px; border-radius: 999px; background: #F1EBE1; color: #7A5B2B; }
.lc-ask { align-self: flex-start; font-size: 10px; letter-spacing: .16em; padding: 4px 9px; border-radius: 999px; border: 1px solid #B8945B; color: #7A5B2B; }
.lc-t { margin: 0; font-family: 'Jost', sans-serif; font-weight: 400; font-size: 19px; line-height: 1.3; color: #1C1B18; }
.lc-b { margin: 0; font-size: 16px; line-height: 1.55; color: #3A3732; overflow-wrap: anywhere; }
.lc-ph { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; display: block; }
.lc-thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: 0 0 64px; }
.lc-link { align-self: flex-start; overflow-wrap: anywhere; }
.lc-acts {     padding-top: 4px; border-top: 1px solid #EEE7DA; }
.lc-clap { min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid #E4DCCD; background: #FFFDF8; color: #3A3732; font: inherit; font-size: 14px; cursor: pointer; }
.lc-clap.on { background: #F1EBE1; border-color: #B8945B; color: #7A5B2B; }
.lc-rep { flex: 1 1 auto; }
.lc-rep > summary { cursor: pointer; font-size: 13px; letter-spacing: .08em; color: #5E594F; padding: 10px 0; min-height: 40px; box-sizing: border-box; list-style: none; }
.lc-rep > summary::-webkit-details-marker { display: none; }
.lc-reps { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.lc-r { font-size: 15px; line-height: 1.5; background: #FAF6EE; border-radius: 12px; padding: 10px 12px; overflow-wrap: anywhere; }
.lc-r b { font-weight: 500; }
.lc-rf { display: flex; flex-direction: column; gap: 8px; }
.lc-rf .btn { align-self: flex-start; }
.lc-mini { background: none; border: 0; padding: 10px 4px; min-height: 40px; color: #59544B; font: inherit; font-size: 12px; letter-spacing: .08em; cursor: pointer; }
.lc-note { font-size: 13px; margin: 0; }
.lc-adm {     border-bottom: 1px solid #EEE7DA; }
.lc-adm:last-child { border-bottom: 0; }
.lc-adm .lc-ph { max-width: 280px; }
.lc-set { gap: 6px; }
.lc-form:not([open]) { background: none !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
.lc-form > summary.btn { min-height: 52px; border-radius: 999px; }
.lc-tabs a { line-height: 1.25; }

dialog.moment .lg-toast { bottom: auto !important; top: calc(28px + env(safe-area-inset-top)); }
   /* room for the gold ring: overflow-x would cut it */
.moment-k.moment-joy { margin: 0; font-size: 11px; letter-spacing: 0.3em; color: #0E0E0E; text-transform: uppercase; }   /* the Sunday label, not the live-fully line */
.rq-left { align-self: flex-start; font-size: 14px; color: #7A5B2B; background: #FFFDF8; border: 1px solid #E4D3B0; border-radius: 999px; padding: 8px 14px; }
.rq-friend { background: #FFFDF8; border-radius: 14px; padding: 4px 16px; }
.rq-friend > summary { cursor: pointer; padding: 12px 0; font-size: 15px; color: #1C1B18; min-height: 44px; box-sizing: border-box; }
.rq-friend[open] {  flex-direction: column; gap: 8px; padding-bottom: 14px; }
.feel-form { display: flex; flex-direction: column; gap: 12px; }
.feel-step { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; }
.feel-f { position: relative; cursor: pointer; border: 2px solid transparent; box-sizing: border-box; }
.feel-f input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.feel-f:has(input:checked) { border-color: #B8945B; background: #FFFDF8 !important; box-shadow: 0 4px 14px rgba(184,148,91,0.25); }
.feel-f:has(input:focus-visible) { outline: 2px solid #B8945B; outline-offset: 2px; }
.feel-note textarea { width: 100%; box-sizing: border-box; }
.feel-send { align-self: stretch; justify-content: center; }
.feel-note, .lc-f > .f, .rq-friend .f, #request > .f, .wk-f > .f { flex: none; }   /* a label in a column: no 260px basis, so no empty gap */
.rq-friend[open] { display: block; }
.rq-fb { display: flex; flex-direction: column; gap: 8px; padding-bottom: 14px; }
.rq-none { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
label.f.feel-note { flex: none; }
/* Weekly check-in: everything, SEND included, fits on one phone screen */
.ci-body { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.ci-body > label.f { flex: none; }
.ci-row { gap: 4px; }
.ci-row legend { padding: 0 0 4px; font-size: 15px; }
.ci-scale { grid-template-columns: repeat(5, 1fr); gap: 6px; }
.ci-scale span { height: 40px; border-radius: 12px; font-size: 16px; }
.ci-legend { font-size: 13px; margin-top: -4px; }
.ci-body .agree { min-height: 40px; }
.ci-body > .muted:last-child { font-size: 13px; }
.ci-body { scroll-margin-top: 140px; }
.push-done:not([hidden]) { display: flex; flex-direction: column; gap: 10px; }
.push-pick-f { display: flex; flex-direction: column; gap: 4px; padding-top: 10px; }
.push-pick-f .btn { align-self: flex-start; margin-top: 6px; }
.mv2 > .bday, .mv2 > .anniv, .mv2 > .court-now { order: -2; }
.court-now { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid #B8945B !important; background: linear-gradient(160deg, #FFFDF8, #F6EEDF) !important; }
.cn-t {  line-height: 1.1; color: #1C1B18; }
.court-now .pin-f { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.court-now .btn { justify-content: center; min-height: 54px; }
.focus { padding-right: 16px !important; box-sizing: border-box; }
.focus-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.focus-h .muted { font-size: 13px; }
.focus-next { font-size: 21px !important; line-height: 1.3 !important; overflow-wrap: anywhere; }
@media (min-width: 761px) { .focus-next { font-size: 24px !important; } }
/* Ask Legacy in the member app: a small round button just above the tab bar; the chat opens over everything */
html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch { right: 16px; bottom: calc(112px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; background: #FFFDF8; box-shadow: 0 8px 24px rgba(28,27,24,0.14); z-index: 60; }
html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch .ak-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html[data-app=member] .ak-panel { z-index: 120; }
body:has(.tabbar > details[open]) .ak-launch, body:has(.tabbar details.m-more[open]) .ak-launch, body:has(dialog[open]) .ak-launch { opacity: 0; pointer-events: none; }
@media (min-width: 761px) { html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch { bottom: 24px; } }
/* check-in rows: the pillar name beside its five numbers, one line each */
.ci-body .ci-row { display: block; }
.ci-body .ci-row legend { float: left; width: 74px; padding: 0; line-height: 40px; font-size: 15px; }
.ci-body .ci-row legend .muted { display: none; }
.ci-body .ci-scale { display: grid; overflow: hidden; }
@media (min-width: 761px) { .ci-body .ci-row legend { width: auto; float: none; line-height: 1.4; padding-bottom: 4px; } .ci-body .ci-row legend .muted { display: inline; } }
body:has(.ci-open[open]) .ak-launch { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .ci-body { gap: 9px; }   .ci-body .agree { min-height: 36px; } }
@media (max-width: 760px) { .ci-body .ci-scale span { height: 36px; } .ci-body .ci-row legend { line-height: 36px; } .ci-body > .ci-legend { margin-top: -6px; } .ci-body .ci-scale label::after { content: ''; position: absolute; inset: -4px 0; } }
  .mv2 > .bday { order: -5; }  
.mv2 > .bday { animation: bday-in .6s ease both; }
@keyframes bday-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mv2 > .bday { animation: none; } }
.mv2.aw .ms.sel, .mv2.aw .jb.sel > summary { outline: 2px solid #B8945B; outline-offset: 4px; border-radius: 14px; }
.mv2.aw .ms:focus:not(.sel), .mv2.aw .jb:not(.sel) > summary:focus { outline: none; }
/* the rings open what each pillar asks */
.rg-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; border-radius: 16px; -webkit-tap-highlight-color: transparent; }
.rg-btn:active { transform: scale(.96); }
.rg-btn:focus-visible { outline: 2px solid #B8945B; outline-offset: 4px; }
.rg-hint { font-size: 13px; text-align: center; margin-top: -6px; }
.rg-sheet { position: fixed; inset: auto 0 0 0; top: auto; margin: 0 auto; width: 100%; max-width: 520px; max-height: 86vh; overflow: auto; box-sizing: border-box; border: 0; border-radius: 26px 26px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); background: #FAF8F2; color: #1C1B18; }
.rg-sheet[open] { display: flex; flex-direction: column; gap: 12px; }
.rg-sheet::backdrop { background: rgba(14,14,14,0.45); }
.rg-sheet .x-close { position: absolute; top: 14px; right: 14px; }
.rgx-h { margin: 0; padding-right: 44px; font: 400 26px/1.2 'Cormorant Garamond', Georgia, serif; }
.rgx-list { display: flex; flex-direction: column; gap: 8px; }
.rgx-it { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 16px; background: #FFFDF8; border: 1px solid #EEE7DA; }
.rgx-it.on { background: #F6EEDF; border-color: #E4D3B0; }
.rgx-n { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.rgx-n b { font-weight: 500; font-size: 16px; }
.rgx-n .muted { font-size: 12px; }
.rgx-how { font-size: 14px; color: #4A463F; }
.rgx-st { font-size: 13px; color: #7A5B2B; }
.rgx-it .link-btn { align-self: flex-start; font-size: 12px; }
.rg-sheet > .btn { align-self: flex-start; }
.habit-today { display: flex; flex-direction: column; gap: 10px; border-left: 3px solid #B8945B !important; }
.jr-howto { display: block; font-size: 14px; margin: 4px 0 6px; }
.jb-howto { font-size: 14px; color: #4A463F; text-align: center; }
/* while typing on a phone: the tab bar and chat button step aside, and the header drops its blur (smoother keyboard on iPhone) */
@media (max-width: 760px) {
  html.kb-on .tabbar, html.kb-on .ak-launch { display: none !important; }
  html.kb-on header.m-head { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: #FAF8F2 !important; }
}
.ms-mine { display: flex; flex-direction: column; gap: 8px; padding: 14px 0 4px; border-top: 1px solid #EEE7DA; margin-top: 8px; }
.ms-mine-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ms-filter select { font: inherit; font-size: 14px; padding: 8px 12px; border-radius: 999px; border: 1px solid #E4DCCD; background: #FFFDF8; min-height: 40px; }
.ms-sg { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #FFFDF8; border: 1px solid #EEE7DA; }
.ms-sg[hidden] { display: none; }
.ms-sg-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ms-sg-t b { font-weight: 500; overflow-wrap: anywhere; }
.ms-sg-t .muted { font-size: 13px; }
.ms-sg-p { flex: none; font-size: 12px; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; background: #F1EBE1; color: #7A5B2B; text-align: center; max-width: 45%; }
.ms-sg-approved .ms-sg-p { background: #E7EFE6; color: #2F6B3E; }
.ms-sg-declined .ms-sg-p { background: #F3EDEA; color: #59544B; }
.ak-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* The Legacy Weekly */
.nw { display: flex; flex-direction: column; gap: 16px; }
.nw-sec { display: flex; flex-direction: column; gap: 8px; }
.nw-spot { background: linear-gradient(160deg, #FFFDF8, #F6EEDF) !important; border-left: 3px solid #B8945B !important; }

.nw-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.55; color: #3A3934; }
.nw-sign { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 20px; color: #8A6A35; margin: 0; }
.nw-arch { display: flex; flex-direction: column; gap: 8px; }
.nw-a { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: #FFFDF8; border: 1px solid #EEE7DA; text-decoration: none; color: #1C1B18; }
.nw-a b { font-weight: 500; font-size: 17px; }
.nw-entry { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit; }
.nw-entry .link-btn { align-self: flex-start; }
.nw-prefs { display: flex; flex-direction: column; gap: 10px; }
.nw-f { display: flex; flex-direction: column; gap: 14px; }
.nw-f > label.f { flex: none; }
.nw-f textarea { width: 100%; box-sizing: border-box; }
.nw-go { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; border-top: 1px solid #EEE7DA; align-items: flex-start; }
.feed-help { font-size: 13px; }
.feed-c { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.feed-c input { flex: 1 1 100%; font-size: 13px; }
.wk-month { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #7A5B2B; margin: 4px 0 6px; }
.wk-hint { font-size: 13px; margin: 6px 0 0; }
.wk-hint::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #B8945B; margin-right: 7px; vertical-align: 1px; }
.wk-allbar { margin: 6px 0 0; }
.wk-wrap > .wk-month, .wk-wrap > .wk-hint, .wk-wrap > .wk-none, .wk-wrap > .wk-allbar { flex: none; } .wk-admin { flex-wrap: wrap; } .wk-admin > .wk-month { flex: 1 1 100%; order: -1; } .wk-admin > .wk-strip { flex: 1 1 0; min-width: 0; }
/* the options picker: compact, clear what is chosen */

.opt-pick .sp-t { min-height: 40px; padding: 8px 10px; font-size: 13.5px; border-radius: 12px; }
.opt-pick .sp-t.on { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.opt-count {   color: #7A5B2B; }
.opt-count:empty { display: none; }
.opt-list { list-style: none; padding: 0; gap: 6px; }
.opt-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px;  border-radius: 12px; background: #EEF5EC; color: #234D2E;  }
.opt-list li.fresh { animation: opt-in .5s ease; }
@keyframes opt-in { from { background: #CFE6CB; transform: scale(.98); } to { background: #EEF5EC; transform: none; } }
.opt-list li .link-btn { color: #59544B; }
.opt-warn { font-size: 13px; color: #8E1F16; }
.opt-other { flex: none; }
.opt-note { font-size: 13px; }
details.m-manage[open] > form .opt-pick .wk-strip { padding-bottom: 2px; }
/* notify me: one screen */
.wait-f fieldset.q { border: 0; padding: 0; margin: 0 0 8px; }
.wait-f fieldset.q legend { font-size: 11px; letter-spacing: .18em; color: #5E594F; padding: 0 0 6px; }
.wait-f .choice { min-height: 38px; padding: 6px 12px; border-radius: 12px; font-size: 14px; }
.wait-f .row { gap: 6px !important; }
.wait-f > label.f { flex: none; }
/* away dates: who */
.aw-who { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.aw-who legend { font-size: 11px; letter-spacing: .18em; color: #5E594F; padding: 0 0 6px; width: 100%; }
.away-f > label.f { flex: none; }
/* buy more sessions: one screen */
#book-more { gap: 14px !important; padding: 18px !important; }
#book-more .serif { font-size: 26px !important; }
#book-more > div { gap: 10px !important; flex-basis: 100% !important; }
#book-more .row { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px !important; }
#book-more .choice { padding: 8px 10px !important; min-height: 0 !important; border-radius: 12px; }
#book-more .choice span { font-size: 13px !important; line-height: 1.3; }
#book-more .choice span[style] { font-size: 14px !important; }
#book-more > div:last-child { display: grid !important; grid-template-columns: 1fr 1fr; }
#book-more > div:last-child > .eyebrow, #book-more > div:last-child > .btn, #book-more > div:last-child > .muted, #book-more > div:last-child > .notice, #book-more > div:last-child > script { grid-column: 1 / -1; }
#book-more .btn { justify-content: center; }
#book-more .muted { font-size: 12.5px !important; }
details.m-manage > summary { scroll-margin-top: 130px; } #request, #book-more { scroll-margin-top: 120px; }
#request { gap: 12px !important; padding: 18px !important; } #request > label.f { flex: none; }
.wk-wrap, .wk-strip, .opt-pick, .slot-pick, .row > .card, #sessions { min-width: 0; max-width: 100%; } .wk-strip { width: 100%; box-sizing: border-box; }
@media (max-width: 760px) {
  /* a slim top bar on phones (always the same height, so nothing jumps while scrolling) */
  body:has(.tabbar) header.m-head .m-nav { padding-top: 6px !important; padding-bottom: 6px !important; }
  body:has(.tabbar) .m-logo { width: 104px !important; }
}
.rq-sub { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #5E594F; margin-top: 4px; } .rq-more .rq-fb .muted { font-size: 13px; }
.opt-pick { width: 100%; min-width: 0; gap: 6px; }
.opt-pick > .sp-k { display: none; }
.opt-pick .sp-times { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.opt-pick .sp-t2 {    justify-content: center; gap: 1px;   line-height: 1.15; }

.opt-pick .sp-t2.on span { color: #3A2C14; }
.opt-pick .wk-day, .slot-pick .wk-day { min-height: 60px; width: 48px; border-radius: 14px; }
.opt-pick .wk-month, .slot-pick .wk-month { margin: 0 0 2px; }
.opt-count { font-size: 12.5px; letter-spacing: .04em; }
.opt-list li { padding: 6px 10px; font-size: 13.5px; }
details.m-manage > form { gap: 8px !important; }
.list-row details.m-manage, .row > details.m-manage { min-width: 0; max-width: 100%; flex: 1 1 100%; }
details.m-manage > form { max-width: 100% !important; min-width: 0; }
body:has(#request:focus-within) .ak-launch:not(.ak-top), body:has(#book-more:hover) .ak-launch:not(.ak-top) { opacity: 0; pointer-events: none; }
#sessions .list-row, #sessions .list-row > * { min-width: 0; max-width: 100%; } #sessions .list-row > .row { flex: 1 1 100%; }
.yc[data-yc-open] { cursor: pointer; }
.yc-top { display: flex; gap: 16px; align-items: center; padding-right: 40px; }
.yc-big { width: 88px !important; height: 88px !important; flex: 0 0 88px; }
.yc-facts { display: flex; flex-direction: column; gap: 10px; }
.yc-facts > div { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; background: #FFFDF8; border: 1px solid #EEE7DA; border-radius: 14px; font-size: 15px; }

.ev-idea-f .btn { align-self: flex-start; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-chip { position: relative; cursor: pointer; }
.ev-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ev-chip span { display: inline-flex; align-items: center;   border-radius: 999px; border: 1px solid #E4DCCD; background: #FFFDF8; font-size: 14px; }
.ev-chip input:checked + span { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.ev-chip input:checked + span::before { content: '✓ '; white-space: pre; }
.ev-chip input:focus-visible + span { outline: 2px solid #7A5B2B; outline-offset: 2px; }
.qf-date { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5E594F; }
#quotes.qf-car .qf-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
#quotes.qf-car .qf-track::-webkit-scrollbar { display: none; }
#quotes.qf-car .qf-row { flex: 0 0 100%; scroll-snap-align: start; box-sizing: border-box; border-bottom: 0; }
.qf-nav { display: flex; align-items: center; gap: 12px; }
.qf-arr { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E4DCCD; background: #FFFDF8; font-size: 22px; line-height: 1; color: #1C1B18; cursor: pointer; }
.qf-arr[hidden], .qf-count[hidden] { display: none; }
.qf-count { font-size: 13px; color: #59544B; min-width: 44px; text-align: center; }
.qf-all { margin-left: auto; }
.pk-person[hidden] { display: none; }
.pk-add { align-self: flex-start; margin: 4px 0 8px; }
.pk-add[hidden] { display: none; }
.pp-todo { font-size: 15px; }
.pdf-ov { position: fixed; inset: 0; z-index: 200; background: #FAF8F2; display: flex; flex-direction: column; }
.pdf-bar { display: flex; align-items: center; gap: 12px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; border-bottom: 1px solid #E7E0D3; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #7A5B2B; }
.pdf-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #F1EBE1; font-size: 18px; color: #1C1B18; cursor: pointer; }
.pdf-sh { margin-left: auto; border: 1px solid #B8945B; background: #FFFDF8; border-radius: 999px; padding: 10px 16px; font: inherit; font-size: 12px; letter-spacing: .14em; color: #1C1B18; }
.pdf-ov iframe { flex: 1; width: 100%; border: 0; background: #E9E4DA; }
.rk { gap: 12px; scroll-margin-top: 130px; }
.rk-step { display: flex; flex-direction: column; gap: 12px; }
.rk-step[hidden], .rk-sec[hidden], .rk-row[hidden] { display: none; }
.rk-t { font-size: 26px; line-height: 1.15; }
.rk-s { font-size: 14px; }
.rk-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rk-o { position: relative; cursor: pointer; }
.rk-o input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rk-o span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-height: 72px; justify-content: center; padding: 8px 6px; border: 1px solid #E4DCCD; border-radius: 16px; background: #FFFDF8; }
.rk-o b { font-weight: 500; font-size: 14px; }
.rk-o small { font-size: 11.5px; color: #59544B; line-height: 1.25; }
.rk-o input:checked + span { background: #B8945B; border-color: #B8945B; }
.rk-o input:checked + span small { color: #3A2C14; }
.rk-o input:focus-visible + span { outline: 2px solid #7A5B2B; outline-offset: 2px; }
.rk-n { flex: none; max-width: 200px; }
.rk-step .btn { align-self: flex-start; }
.rk-back { align-self: flex-start; }
.rk-sec { border: 1px solid #EEE7DA; border-radius: 16px;  margin: 0; display: flex; flex-direction: column;  background: #FFFDF8; }
.rk-sec legend { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7A5B2B; padding: 0 6px; }
.rk-yn { display: flex; flex-wrap: wrap; align-items: center;  font-size: 14px; }
.rk-yn > span:first-child { margin-right: 4px; }
.rk-adv { align-self: flex-start; }
.rk-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.rk-row .f, .rk-sec > .f { flex: none; }
@media (max-width: 760px) { main [id] { scroll-margin-top: 130px; } }
.rk-sec { padding: 8px 12px 10px; gap: 6px; }
.rk-sec .ev-chip span {   font-size: 13px; }
.rk-yn { gap: 6px; }
.rk-sec .f input { padding-top: 4px; padding-bottom: 4px; }
.rk-sec .f { gap: 2px; font-size: 10px; }
.rk-step[data-rk-step="2"] { gap: 8px; }
.rk-step[data-rk-step="2"] .btn { min-height: 46px; }
/* the page itself keeps the header offset (measured on each phone), so cards no longer add their own guesses */
html.stick body *, html.stick body [id] { scroll-margin-top: 0 !important; }
/* ---------- round 7: folding cards, compact preferences, reminders fields ---------- */
details.card.fold > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
details.card.fold > summary::-webkit-details-marker, details.fold-in > summary::-webkit-details-marker { display: none; }
details.card.fold > summary .eyebrow { grid-column: 1 / -1; }
.fold-line { font-size: 15px; color: #4A463F; line-height: 1.45; min-width: 0; }
.fold-act { font-size: 11px; letter-spacing: .2em; color: #7A5B2B; border-bottom: 1px solid #B8945B; padding-bottom: 2px; align-self: end; }
details.card.fold[open] > summary .fold-act { visibility: hidden; }
details.card.fold > form { margin-top: 12px; }
details.fold-in { border: 1px solid rgba(28,27,24,0.14); border-radius: 14px;  }
details.fold-in > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;  font-size: 15px; }
details.fold-in > summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: rotate(45deg); margin: -4px 4px 0 0; flex: none; transition: transform .2s; }
details.fold-in[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
details.fold-in > summary .muted { margin-left: auto; font-size: 13px; }
details.fold-in > form { padding-bottom: 14px; }
.prefs-f { display: flex; flex-direction: column;  }
.prefs-f fieldset.q { border: 0; padding: 0; margin: 0; }
.prefs-f fieldset.q legend {  letter-spacing: .2em; color: #5E594F;  }

.prefs-f .choice span { font-size: 14px; }
#reminders .rm-email input[readonly] { color: #5E594F; border-bottom-style: dashed; }
#reminders:has(input[name=by][value=text]:checked) .rm-email, #reminders:has(input[name=by][value=none]:checked) .rm-email,
#reminders:has(input[name=by][value=email]:checked) .rm-phone, #reminders:has(input[name=by][value=none]:checked) .rm-phone { display: none; }
/* close bar for every fold-out form */
.fold-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(28,27,24,0.06); color: #1C1B18; font-size: 18px; line-height: 1; cursor: pointer; z-index: 3; }
details[open]:has(> .fold-close) { position: relative; }
details[open]:has(> .fold-close) > summary { padding-right: 46px; }
.fold-ask { border: 0; border-radius: 22px; padding: 22px 20px 18px; max-width: 340px; width: calc(100% - 40px); background: #FAF8F2; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.fold-ask::backdrop { background: rgba(14,14,14,.35); }
.fold-ask p { margin: 0 0 14px; font-size: 17px; }
.fold-ask .fa-b { display: flex; flex-direction: column; gap: 8px; }
.fold-ask .fa-b button { width: 100%; }
#where form:has(select[data-entry] option[value=code]:not(:checked)) .entry-code { display: none; }
#where .fold-in { padding: 0 12px; }
/* links at the foot of a card: it always takes you somewhere */
.card-go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.card-go a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(184,148,91,0.55); color: #7A5B2B; font-size: 14px; text-decoration: none; background: #FFFDF8; }
.card-go a::after { content: '→'; font-size: 13px; }
/* ask your coach between lessons */
.rv-form { display: flex; flex-direction: column; gap: 10px; }
.rv-l { font-size: 11px; letter-spacing: .2em; color: #5E594F; }
.rv-c { min-height: 38px;  } .rv-c span { font-size: 14px; }
.rv-past { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.1); color: inherit; text-decoration: none; font-size: 15px; }
.msg-att { display: block; max-width: 100%; width: 260px; border-radius: 12px; margin-top: 8px; background: #000; }
img.msg-att { background: none; }
.tr-form { display: flex; flex-direction: column; gap: 10px; }
.tr-form .tr-signed { display: none; flex-direction: column; gap: 10px; }
.tr-form:has(input[name=how][value=signed]:checked) .tr-signed { display: flex; }
.tr-ready { font-size: 15px; line-height: 1.5; padding: 10px 14px; border-radius: 14px; background: #F1EBE1; }
.tr-ready .muted { display: block; font-size: 13px; }
.goal .goal-tick { color: #7A5B2B; font: 500 12px/1 'Jost', sans-serif; }
.goal.done .goal-tick { color: #FAF8F2; font-size: 18px; }
.goal-t[data-rg-open] { cursor: pointer; }
.g-how { display: block; font-size: 11px; letter-spacing: .18em; color: #7A5B2B; margin: 4px 0 2px; }
.g-tips { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }
.here-b { display: flex; flex-direction: column; gap: 8px; padding: 16px; margin: 4px 0 8px; border-radius: 18px; background: #0E0E0E; color: #FAF8F2; }
.here-b .eyebrow { color: #D9BE8C; }
.here-b .btn { background: #B8945B; color: #0E0E0E; border-color: #B8945B; min-height: 54px; font-size: 14px; }
.here-b .muted { color: rgba(250,248,242,0.75); font-size: 13px; }
/* racket on its way back, like a delivery */
a.card.rk-live { color: inherit; text-decoration: none; gap: 8px; }
.rk-live-t { font-size: 26px; line-height: 1.15; }
.rk-road { position: relative; display: block; height: 30px; margin: 10px 14px 0; }
.rk-road::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 3px; border-radius: 3px; background: rgba(28,27,24,0.12); }
.rk-road .rk-fill { position: absolute; left: 0; top: 14px; height: 3px; border-radius: 3px; width: var(--p); background: linear-gradient(90deg, #B8945B, #D9BE8C); }
.rk-road b { position: absolute; top: 10px; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: #FAF8F2; border: 1.5px solid rgba(28,27,24,0.25); }
.rk-road b.on { background: #B8945B; border-color: #B8945B; }
.rk-rkt { position: absolute; top: -2px; left: var(--p); margin-left: -13px; font-size: 22px; animation: rk-bob 1.6s ease-in-out infinite; }
@keyframes rk-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .rk-rkt { animation: none; } }
.rk-lbl { display: flex; justify-content: space-between; font-size: 12px; color: #59544B; letter-spacing: .04em; }
.rk-how { margin: 2px 0 4px; }
/* compact fold-out forms: everything, SAVE included, on one phone screen */
.hlp-f, .where-f { gap: 8px !important; }
.hlp-f label.f input, .hlp-f label.f select, .where-f label.f input, .where-f label.f select, .where-f label.f textarea, .prefs-f label.f input, .prefs-f label.f select { min-height: 38px; padding: 6px 0; }
.hlp-f .row > label.f, .where-f .row > label.f { flex: 1 1 130px; }
.hlp-f .chk { font-size: 15px; line-height: 1.35; }
.hlp-f > .muted { font-size: 12px; line-height: 1.45; }
.where-f > .muted { font-size: 12px; line-height: 1.45; }
.prefs-f { gap: 8px; } .prefs-f .choice { min-height: 36px; padding: 4px 12px; }
details.hlp-add > form { padding-top: 6px; }
details.fold-in > summary { min-height: 46px; padding: 0 !important; margin: 0 !important; }
.where-f details.fold-in > summary { min-height: 44px; font-size: 15px; }
details.card.fold[open] > summary .fold-line { display: none; }
.prefs-f fieldset.q { display: flex; align-items: center; gap: 6px 10px; }
.prefs-f fieldset.q legend { float: left; width: 64px; padding: 0; font-size: 10px; flex: none; }
.prefs-f fieldset.q > .row { flex: 1; min-width: 0; }
details.fold-in[open]:has(> .fold-close) > summary::after { display: none; }
details.fold-in > .fold-close { top: 3px; right: 2px; }
/* show, don't pop up: a finger on the real thing */
.lg-hint { position: fixed; inset: 0; z-index: 9999; opacity: 0; transition: opacity .22s ease; -webkit-tap-highlight-color: transparent; }
.lg-hint.on { opacity: 1; }
.lg-hint .lgh-ring { position: fixed; border-radius: 18px; box-shadow: 0 0 0 200vmax rgba(14,14,14,0.62); outline: 2px solid rgba(250,248,242,0.9); outline-offset: 0; animation: lgh-glow 1.6s ease-in-out infinite; }
.lg-hint.area .lgh-ring { outline: 0; background: transparent; }
@keyframes lgh-glow { 0%, 100% { outline-color: rgba(250,248,242,0.9); } 50% { outline-color: rgba(217,190,140,0.95); } }
.lg-hint .lgh-hand { position: fixed; width: 64px; height: 64px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.lg-hint.g-tap .lgh-hand { animation: lgh-tap 1.3s ease-in-out infinite; }
.lg-hint.g-swipe .lgh-hand { animation: lgh-swipe 1.6s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes lgh-tap { 0%, 100% { transform: translate(6px, 10px) scale(1); } 45% { transform: translate(0, 0) scale(.88); } }
@keyframes lgh-swipe { 0% { transform: translateX(70px); opacity: 0; } 15% { opacity: 1; } 80% { transform: translateX(-80px); opacity: 1; } 100% { transform: translateX(-90px); opacity: 0; } }
.lg-hint .lgh-tap { position: absolute; left: 14px; top: -4px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #FAF8F2; animation: lgh-ripple 1.3s ease-out infinite; }
@keyframes lgh-ripple { 0%, 40% { transform: scale(.4); opacity: 0; } 50% { opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.lg-hint .lgh-t { position: fixed; left: 24px; right: 24px; text-align: center; color: #FAF8F2; display: flex; flex-direction: column; gap: 8px; }
.lg-hint .lgh-t b { font: 500 22px/1.3 'Jost', sans-serif; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.lg-hint .lgh-t span { font-size: 13px; letter-spacing: .08em; color: rgba(250,248,242,0.75); }
@media (prefers-reduced-motion: reduce) { .lg-hint .lgh-hand, .lg-hint .lgh-ring, .lg-hint .lgh-tap { animation: none !important; } }
details:not([open]) > .fold-close { display: none; }
.lg-hint.area { background: rgba(14,14,14,0.62); }
.lg-hint.area .lgh-ring { box-shadow: none; }
.lg-hint .lgh-t { padding: 14px 16px; border-radius: 18px; background: rgba(14,14,14,0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.doc-acts { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin: 4px 0 0 0; }
.doc-acts .link-btn { font-size: 11px; letter-spacing: .18em; background: none; cursor: pointer; }
.doc-acts .link-btn:disabled { opacity: .7; }
.rq-live { gap: 8px; }
.rq-live .rk-rkt { font-size: 20px; color: #2F6B3F; }
.rq-lbl span { flex: 1; text-align: center; font-size: 11px; line-height: 1.3; } .rq-lbl span:first-child { text-align: left; } .rq-lbl span:last-child { text-align: right; }
.rq-lbl span.on { color: #7A5B2B; }
/* Add a session (coach and admin): every field and ADD SESSION on one phone screen */
#add-lesson .al-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
@media (max-width: 760px) {
  #add-lesson .row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px 14px !important; align-items: end; }
  #add-lesson .row > label.f { min-width: 0; }
  #add-lesson .al-note { grid-column: 1 / -1; }
  #add-lesson label.f input, #add-lesson label.f select { min-height: 38px; padding: 6px 0; font-size: 16px; }
  #add-lesson label.f { font-size: 10px; letter-spacing: .16em; gap: 4px; }
  #add-lesson > form, form#add-lesson { gap: 10px !important; }
  #add-lesson > .body { font-size: 14px; line-height: 1.45; }
}

.auto-fold > form { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
details.card.fold[open] > summary .fold-act { display: none; }
details.card.fold[open] > summary { min-height: 0; }
#add-lesson .al-go > label { order: -1; flex-basis: 100%; }
details.auto-fold[open] > form { margin-top: 0; }
/* the time picker (move a session, schedule a session): one row of times, so SEND stays on screen */
@media (max-width: 760px) {
  .opt-pick .sp-times { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 5px !important; }
  .opt-pick .sp-t2 { min-height: 46px; padding: 5px 2px; border-radius: 12px; }
  .opt-pick .sp-t2 b {  letter-spacing: -0.01em; white-space: nowrap; overflow: hidden;  max-width: 100%; }
  .opt-pick .sp-t2 span { font-size: 10.5px; white-space: nowrap; }
  .opt-pick .wk-day { min-height: 54px; }
  .opt-pick:has(.opt-list li) .opt-count { display: none; }
  .opt-list li {  font-size: 13.5px; }
  .opt-pick { gap: 8px !important; }
}
@media (max-width: 760px) {
  .opt-list li { padding: 4px 10px !important; min-height: 38px; }
  details.rq-more > summary { min-height: 40px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  details.m-manage[open] > summary { margin-bottom: 4px; }
}
@media (max-width: 760px) {
  #request { gap: 8px !important; padding: 16px !important; }
  #request > .serif { font-size: 24px !important; line-height: 1.15; }
  #request > .rq-left { font-size: 13px; line-height: 1.4; }
  #request > .muted:last-child { font-size: 11.5px; line-height: 1.35; }
  #request > details.rq-more > summary { min-height: 38px !important; }
}
.sp-t2 i { font-style: normal; } .sp-t2 .sp-short { display: none; }
@media (max-width: 760px) { .opt-pick .sp-t2 .sp-full { display: none; } .opt-pick .sp-t2 .sp-short { display: inline; } .opt-pick .sp-t2 b { font-size: 11px; text-overflow: clip; } }
/* coach and admin forms on a phone: short fields two by two, so a whole form fits on one screen */
@media (max-width: 760px) {
  .auto-fold > form { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px !important; align-items: end; }
  .auto-fold > form > *, .auto-fold > form > .row > *, .auto-fold > form > div:not(.row) { grid-column: 1 / -1; }
  .auto-fold > form > .row { display: contents !important; }
  .auto-fold > form label.f:has(> input:not([type=checkbox]):not([type=radio]):not([type=file])), .auto-fold > form label.f:has(> select) { grid-column: auto; }
  .auto-fold > form label.f { font-size: 10px; letter-spacing: .14em; gap: 4px; line-height: 1.3; }
  .auto-fold > form label.f input:not([type=checkbox]):not([type=radio]), .auto-fold > form label.f select { min-height: 38px; padding: 6px 0; font-size: 16px; }
  .auto-fold > form label.f textarea { min-height: 64px; font-size: 16px; }
  .auto-fold > form > button, .auto-fold > form > .btn, .auto-fold > form > .row > button { justify-self: start; }
  .auto-fold > form .muted { font-size: 12px; line-height: 1.4; }
}
/* long staff forms on a phone: the SAVE button stays in reach while the form is open */
@media (max-width: 760px) {
  .auto-fold[open] > form > button[type=submit]:last-of-type, .auto-fold[open] > form > .row:last-of-type > button[type=submit]:not([name=test]):not([formnovalidate]), .auto-fold[open] > form > .al-go { position: sticky; bottom: calc(env(safe-area-inset-bottom) + 104px); z-index: 5; box-shadow: 0 8px 24px rgba(14,14,14,0.18); }
  .auto-fold[open] > form > .al-go { box-shadow: none; background: #FFFDF8; padding: 6px 0; }
  .auto-fold > form textarea { min-height: 46px !important; }
  .mv-card .mv-row { padding: 8px 0; }
}
.pdf-ov .pdf-pages { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #E9E4DA; padding: 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pdf-ov .pdf-pages canvas { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); border-radius: 2px; }
.pdf-ov .pdf-wait { margin-top: 30vh; color: #59544B; font-size: 14px; letter-spacing: .08em; }
/* wellness week: seven days, a check for each day with something done, the Perfect week badge at 4 */
.ww { display: flex; flex-direction: column; gap: 10px; }
.ww-dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.ww-d { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ww-d i { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(184,148,91,0.45); display: grid; place-items: center; font-style: normal; font-size: 15px; color: #FAF8F2; background: #FFFDF8; transition: background .25s, transform .25s; }
.ww-d.on i { background: #B8945B; border-color: #B8945B; }
.ww-d.today i { box-shadow: 0 0 0 3px rgba(184,148,91,0.18); }
.ww-d b { font-weight: 400; font-size: 11px; letter-spacing: .1em; color: #59544B; }
.ww-line { font-size: 15px; color: #1C1B18; }
.ww.perfect .ww-line { color: #7A5B2B; font-weight: 500; }
.ww-pts { font-size: 13px; color: #59544B; } .ww-pts b { font-weight: 500; color: #7A5B2B; font-size: 15px; }
.ww.compact .ww-d i { width: 28px; height: 28px; font-size: 13px; }
.ww.compact .ww-line { font-size: 14px; }
a.card.wl-today { color: inherit; text-decoration: none; gap: 10px; }
.wl-today-t { font-size: 22px; line-height: 1.25; }
.wl-check { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 6px; border-radius: 999px; border: 1px solid rgba(184,148,91,0.6); background: #FFFDF8; color: #7A5B2B; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .16em; cursor: pointer; }
.wl-check i { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid rgba(184,148,91,0.6); display: grid; place-items: center; font-style: normal; font-size: 14px; color: transparent; }
.wl-check.on { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.wl-check.on i { background: #FAF8F2; border-color: #FAF8F2; color: #7A5B2B; }
.wl-check.pop { animation: wl-pop .45s ease; }
@keyframes wl-pop { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
.wl-aff .wl-check { border-color: rgba(250,248,242,0.5); background: transparent; color: #D9BE8C; }
.wl-aff .wl-check i { border-color: rgba(250,248,242,0.5); }
.wl-aff .wl-check.on { background: #B8945B; color: #0E0E0E; }
details.wl-it.done > summary .wl-it-t::before { content: '✓ '; color: #7A5B2B; }
/* ---------- Wellness: room to breathe, in proportion ---------- */
.wl { gap: 22px !important; }
.wl-sec { gap: 12px !important; }
.wl-head { padding: 0 2px; } .wl-head p { font-size: 14px !important; line-height: 1.5; max-width: 34em; }
.wl-list { gap: 8px !important; }
details.wl-it { gap: 0 !important; border-radius: 18px !important; }
details.wl-it > summary { padding: 14px 16px 14px 18px !important; min-height: 54px !important; gap: 12px; }
.wl-it-t { font-size: 15px !important; font-weight: 500; line-height: 1.35; }
.wl-min { font-size: 10.5px !important; padding: 4px 9px !important; }
details.wl-it > .body { padding: 0 18px 12px !important; margin: 0 !important; font-size: 15px !important; line-height: 1.55; color: #4A463F; }
details.wl-it > .row { padding: 0 18px 16px; }
details.wl-it[open] > summary { padding-bottom: 8px !important; }
details.wl-it > .fold-close { display: none; }
details.wl-it > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid #B8945B; border-bottom: 1.5px solid #B8945B; transform: rotate(45deg); margin: -3px 2px 0 0; flex: none; transition: transform .2s; }
details.wl-it[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
.wl-aff-t { font-size: clamp(26px, 6.4vw, 34px) !important; }
/* affirmations: tap to hear; lit while it speaks; gold ring while it is your turn */
.wl-aff-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.wl-aff-ctl .muted { font-size: 13px; }
button.wl-chip { font: inherit; font-size: 14.5px; color: #1C1B18; border: 0; cursor: pointer; text-align: left; transition: background .25s, box-shadow .25s, transform .25s; padding: 9px 14px !important; }
button.wl-chip.on { background: #B8945B; color: #0E0E0E; box-shadow: 0 6px 18px rgba(184,148,91,0.35); transform: scale(1.03); }
button.wl-chip.turn { background: #FFFDF8; color: #7A5B2B; box-shadow: 0 0 0 2px #B8945B; animation: wl-turn 1.4s ease-in-out infinite; }
@keyframes wl-turn { 50% { box-shadow: 0 0 0 5px rgba(184,148,91,0.35); } }
/* the guide window */
dialog.wl-guide { padding: 30px 22px 22px !important; text-align: center; }
.wl-g { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wg-t { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #D9BE8C; padding: 0 30px; }
.wl-g .wl-orb { position: relative; display: grid; place-items: center; margin: 8px auto 6px; transition-property: transform; transition-timing-function: ease-in-out; }
.wl-g .wl-orb.small { width: 76px; height: 76px; }
.wl-orb.in, .wl-orb.hold-in { transform: scale(1.12) !important; } .wl-orb.out, .wl-orb.hold-out { transform: scale(0.7) !important; }
.wl-orb.hold-in, .wl-orb.hold-out { transition-duration: .3s !important; }
.wo-n { font: 500 26px/1 'Jost', sans-serif; color: #0E0E0E; opacity: .75; }
.wl-g .wl-say { font-size: 26px !important; margin: 0 !important; line-height: 1.2; }
.wl-g .wl-left { font-size: 13px; color: rgba(250,248,242,0.78); margin: 0; }
.wg-note { font-size: 12.5px; color: rgba(250,248,242,0.78); margin: 0; }
.wg-done { font-size: 15px; color: #D9BE8C; margin: 4px 0 0; }
.wg-voice { margin-top: 6px; background: none; border: 1px solid rgba(250,248,242,0.25); color: rgba(250,248,242,0.8); border-radius: 999px; padding: 6px 12px; font: 400 12px/1 'Jost', sans-serif; letter-spacing: .08em; cursor: pointer; }
.wg-voice[aria-pressed=false] { opacity: .6; }
.wg-steps { list-style: none; margin: 4px 0 0; padding: 0; text-align: left; width: 100%; display: flex; flex-direction: column; gap: 6px; }
.wg-steps li {  border-radius: 12px; background: rgba(250,248,242,0.06); display: flex; flex-direction: column; gap: 2px; opacity: .55; transition: opacity .3s, background .3s; }
.wg-steps li b { font-weight: 500; font-size: 14.5px; } .wg-steps li span {  color: rgba(250,248,242,0.82); }
.wg-steps li.now { opacity: 1; background: rgba(184,148,91,0.25); } .wg-steps li.ok { opacity: .85; } .wg-steps li.ok b::before { content: '✓ '; color: #D9BE8C; }
.wg-tap { width: 132px; height: 132px; border-radius: 50%; border: 0; background: radial-gradient(circle at 40% 35%, #E2CDA4, #B8945B 70%); cursor: pointer; display: grid; place-items: center; margin: 6px auto; -webkit-tap-highlight-color: transparent; }
.wg-tap.pulse { animation: wl-pop .35s ease; } .wg-ico { font-size: 40px; }
.wg-dots { display: flex; gap: 8px; min-height: 16px; } .wg-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(250,248,242,0.5); } .wg-dots i.on { background: #D9BE8C; border-color: #D9BE8C; }
.wg-f { width: 100%; text-align: left; display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .18em; color: rgba(250,248,242,0.82); }
.wg-f textarea { background: rgba(250,248,242,0.06); border: 1px solid rgba(250,248,242,0.2); border-radius: 12px; color: #FAF8F2; padding: 10px 12px; font: 300 16px/1.4 'Jost', sans-serif; letter-spacing: 0; resize: none; }
.wl-g .btn { background: #B8945B; color: #0E0E0E; border-color: #B8945B; } .wl-g .btn.line { background: transparent; color: #FAF8F2; border-color: rgba(250,248,242,0.4); }
/* My workouts: LOG A WORKOUT stays as the title of the open form, with its ✕ beside it */
.wk-add[open] > summary { display: flex !important; background: none !important; border: 0 !important; color: #7A5B2B !important; padding: 0 44px 0 0 !important; min-height: 44px; justify-content: flex-start; font-size: 12px; letter-spacing: .18em; }
.wk-add > .fold-close { top: 2px; }
dialog.wl-guide { max-height: 92vh; overflow-y: auto; }
.wg-steps li { padding: 6px 10px; } .wg-steps li span { font-size: 12px; }
/* ---------- round 9 ---------- */
.nw-q { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.nw-k { font-size: 11px; letter-spacing: .2em; color: #7A5B2B; }
.nw-t { font-size: 15px; line-height: 1.45; color: #1C1B18; }
.nw-q .choice { min-height: 40px; padding: 6px 16px; } .nw-q .choice span { font-size: 14px; }
/* a link inside a sentence: one clear action per card, the other quietly in the text */
.txt-link {  text-decoration: underline; text-decoration-color: rgba(184,148,91,0.6); text-underline-offset: 3px; white-space: nowrap; font-weight: 500; }

.jr-next .jr-did { margin-top: 6px; }
.pp-ok { font-size: 14px;  } .pp-ok .txt-link { color: #7A5B2B; font-weight: 400; }
.pp-due { background: #B3261E !important; border-color: #B3261E !important; color: #FFF !important; }
.g-pill { display: inline-block; margin: 4px 0 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }
.g-pill.pend { background: #F1EBE1; color: #7A5B2B; }
.goal.pend .goal-tick { border-style: dashed; }
.g-no { margin-top: 8px; } .g-no ul { margin: 8px 0; padding-left: 18px; color: #59544B; font-size: 14px; }
.g-pendbox { border: 1px solid rgba(184,148,91,0.45); border-radius: 14px; padding: 12px 14px; margin: 6px 0 12px; background: #FFFDF8; }
/* Mia's focus: calm sans serif, not heavy */
.focus .focus-next { font-family: 'Jost', sans-serif !important; font-weight: 400 !important; font-size: 18px !important; line-height: 1.45 !important; letter-spacing: 0 !important; color: #1C1B18; }
/* every select sits inside its box: no native rounded edges, text clear of the border, a quiet chevron */
label.f select { -webkit-appearance: none; appearance: none; border-radius: 0 !important; padding-right: 30px !important; padding-left: 2px !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%237A5B2B' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center !important; text-overflow: ellipsis; }
/* fold-out forms: room to breathe, and the ✕ never sits on top of words */
details.fold-in > form { padding: 6px 2px 18px !important; gap: 14px !important; }
details.fold-in[open]:has(> .fold-close) > summary { padding-right: 52px !important; }
details.fold-in > summary .muted { white-space: nowrap; }
details.fold-in { padding: 0 16px !important; }
.rv-form .row { gap: 8px !important; }
/* event ideas: smaller choices, a real field to write in */
.ev-idea-f .ev-chip, .ev-idea .ev-chip { min-height: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.ev-idea-f { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; }
.ev-idea .ev-chip span, .ev-idea-f .ev-chip span { font-size: 14px !important; }
.ev-idea-f input[type=text], .ev-idea-f input:not([type]), .ev-idea input[name=idea] { width: 100%; box-sizing: border-box; min-height: 46px !important; font: 300 16px/1.4 'Jost', sans-serif !important; padding: 10px 2px !important; border: 0 !important; border-bottom: 1px solid #1C1B18 !important; border-radius: 0 !important; background: transparent !important; }
/* a link that wraps never draws its line through the next line */
.link-btn.wrap-ok, #mydata a[data-file-share] { display: inline; letter-spacing: .04em; text-transform: none; font-size: 13px !important; line-height: 1.7; border-bottom: 0 !important; text-decoration: underline; text-decoration-color: rgba(184,148,91,0.6); text-underline-offset: 3px; color: #7A5B2B; }
/* BACK: an obvious, easy button */
.lg-back { padding: 8px 0 !important; }
.lg-back a, .lg-back button { display: inline-flex !important; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px 0 10px !important; border-radius: 999px; background: #FFFDF8; border: 1px solid rgba(184,148,91,0.55) !important; box-shadow: 0 2px 10px rgba(28,27,24,0.06); }
/* milestones: a little gallery of medals, the earned ones in black and gold, the rest with their progress around them */
.mv2.aw .ms-row { gap: 10px !important; }
.mv2.aw .ms { position: relative; padding: 16px 6px 14px; border-radius: 20px; background: #FFFDF8; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 6px 18px rgba(14,14,14,0.05); transition: transform .2s; }
.mv2.aw .ms > span { font-size: 12.5px !important; letter-spacing: .02em; color: #4A463F !important; }
.mv2.aw .ms .ms-ring { position: relative; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#B8945B calc(var(--p, 0) * 1%), rgba(184,148,91,0.14) 0); }
.mv2.aw .ms .ms-ring::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #FFFDF8; }
.mv2.aw .ms .ms-ring svg { position: relative; width: 58px !important; height: 58px !important; opacity: .55 !important; }
.mv2.aw .ms .ms-pct { font-size: 11px; color: #7A5B2B; letter-spacing: .06em; margin-top: -2px; }
.mv2.aw .ms.on { background: linear-gradient(160deg, #1C1B18, #2F2A22); box-shadow: 0 10px 24px rgba(14,14,14,0.18); }
.mv2.aw .ms.on > span { color: #E2CDA4 !important; }
.mv2.aw .ms.on .ms-ring { background: none; }
.mv2.aw .ms.on .ms-ring::before { display: none; }
.mv2.aw .ms.on .ms-ring svg { opacity: 1 !important; filter: drop-shadow(0 4px 12px rgba(184,148,91,0.5)); }
.mv2.aw .ms.on::after { content: '✓'; position: absolute; top: 8px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: #B8945B; color: #0E0E0E; font-size: 11px; display: grid; place-items: center; }
.mv2.aw .ms.next { box-shadow: 0 0 0 1.5px #B8945B, 0 8px 22px rgba(184,148,91,0.18) !important; }
.wk-month-btn { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.wk-month-btn::after { content: ''; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A5B2B' stroke-width='1.6'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat center / contain; }
.mc-sheet .mc-h { display: flex; align-items: center; justify-content: space-between; padding: 0 44px 0 0; }
.mc-t { font: 400 22px/1.2 'Cormorant Garamond', Georgia, serif; }
.mc-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(184,148,91,0.5); background: #FFFDF8; font-size: 20px; color: #7A5B2B; cursor: pointer; }
.mc-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.mc-dw { font-size: 11px; letter-spacing: .1em; color: #59544B; padding: 4px 0; }
.mc-d { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; font: 400 15px/1 'Jost', sans-serif; color: #1C1B18; cursor: pointer; }
.mc-d.today { box-shadow: inset 0 0 0 1.5px rgba(184,148,91,0.6); }
.mc-d.u { background: #B8945B; color: #0E0E0E; font-weight: 500; }
.mc-d.p { background: #F1EBE1; color: #4A463F; }
.mc-d i { position: absolute; right: 4px; top: 3px; font-style: normal; font-size: 9px; color: #2F6B3F; }
.mc-key {     margin: 0; }
.mc-key i {      margin-right: 6px;   vertical-align: -2px; }
.mc-key i.u { background: #B8945B; } .mc-key i.p { background: #F1EBE1; color: #2F6B3F; }
.mc-info { margin: 0; font-size: 14px; }
details.card.fold > summary .eyebrow { font-size: 11px !important; letter-spacing: .24em !important; }
.mv2.aw .ms .ms-pct { position: static; display: block; }
.ev-chip span { box-sizing: border-box; min-height: 38px !important; padding: 6px 14px !important; }
.rk-sec .ev-chip span { min-height: 32px !important; padding: 4px 12px !important; }
/* Ask Legacy in the member app: a black circle with a gold sparkle, a gold ring, and its name under it */
html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch { width: 58px !important; height: 58px !important; background: #0E0E0E !important; color: #D9BE8C !important; border: 1.5px solid #B8945B !important; box-shadow: 0 10px 26px rgba(14,14,14,0.3), 0 0 0 4px rgba(184,148,91,0.16) !important; overflow: visible; }
html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch svg { color: #D9BE8C !important; width: 24px; height: 24px; }
html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch .ak-label { position: absolute !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 4px; font-size: 9.5px !important; letter-spacing: .14em; color: #7A5B2B !important; background: rgba(250,248,242,0.92); padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch { bottom: calc(124px + env(safe-area-inset-bottom)) !important; }
header.m-head .ts-btn { margin-right: 2px; }
.acct-foot { flex-wrap: wrap; gap: 12px 20px; }
@media (max-width: 760px) {
  header.m-head .m-navlinks .ts-btn { width: 32px; height: 36px; margin: 0; }
  header.m-head .m-navlinks .ts-btn span { font-size: 17px; }
  body:has(.tabbar) header.m-head .m-navlinks { gap: 10px !important; }
  body:has(.tabbar) header.m-head .m-lang { margin-right: 0 !important; }
}
@media (max-width: 760px) { body:has(.tabbar) header.m-head .m-lang { display: inline-flex !important; align-items: center; gap: 2px; flex: none !important; width: auto !important; } body:has(.tabbar) header.m-head .m-lang a { padding: 10px 5px !important; min-width: 0 !important; width: auto !important; } }
@media (max-width: 760px) { body:has(.tabbar) header.m-head .m-lang { align-items: center !important; line-height: 1 !important; height: 44px; } body:has(.tabbar) header.m-head .m-lang a { line-height: 1 !important; display: inline-flex !important; min-height: 44px !important; align-items: center !important; } }
@media (max-width: 760px) { body:has(.tabbar) header.m-head .m-navlinks { align-items: center !important; } body:has(.tabbar) header.m-head .m-lang { align-self: center !important; margin-top: 0 !important; transform: none !important; position: static !important; top: auto !important; } }
/* coaches grow too: level path, four measures month on month, coaching goals */
.g-pill.ok { background: #1C1B18; color: #E2CDA4; } .g-pill.no { background: #EFEAE1; color: #59544B; }
.cg { gap: 14px; }
.cg-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.cg-top > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.cg-lv { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; line-height: 1.15; color: #1C1B18; }
.cg-lv strong { font-weight: 500; }
.cg-steps { display: flex; gap: 6px; }
.cg-steps i { width: 26px; height: 6px; border-radius: 3px; background: #EEE7DA; }
.cg-steps i.on { background: #B8945B; }
.cg-sub { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #59544B; }
.cg-rows { display: flex; flex-direction: column; }
.cg-row { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 12px 0; border-top: 1px solid #EEE7DA; align-items: baseline; }
.cg-l { font-size: 15px; color: #1C1B18; }
.cg-v { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: 1; color: #1C1B18; text-align: right; }
.cg-d { grid-column: 1 / -1; font-size: 13px; }
.cg-c { font-weight: 500; letter-spacing: .02em; }
.cg-c.up { color: #7A5B2B; } .cg-c.same, .cg-c.down { color: #59544B; }
.cg-say { margin: 0; font-size: 15px; color: #1C1B18; }
.cg-tip { display: flex; flex-direction: column; gap: 4px; background: #F1EBE1; border-radius: 14px; padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.cg-goals { gap: 12px; }
.cg-g { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px 0; border-top: 1px solid #EEE7DA; }
.cg-gt { font-size: 16px; color: #1C1B18; }
.cg-add { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.cg-ideas { display: flex; flex-wrap: wrap; gap: 8px; }
.g-chip { font: inherit; font-size: 13px; padding: 8px 12px; min-height: 40px; border-radius: 999px; border: 1px solid #E4DCCD; background: #FFFDF8; color: #1C1B18; cursor: pointer; text-align: left; }
.g-chip:hover { border-color: #B8945B; }
.cb-row .cg, .cb-row .cg-goals { box-shadow: none; padding: 14px 0 0; background: none; border: 0; }
/* must-do now: red buttons in red cards; MORE flags what needs doing */
:is([data-app=coach], [data-app=admin]) main .card.tier-urgent .btn:not(.line) { background: #B3261E !important; border-color: #B3261E !important; color: #FFFFFF !important; }
:is([data-app=coach], [data-app=admin]) main .card.tier-urgent .btn.line { border-color: #B3261E !important; color: #B3261E !important; }
.tabbar details > div a.must { color: #B3261E !important; background: #FFF1EF !important; box-shadow: inset 0 0 0 1.5px #B3261E; display: flex !important; justify-content: space-between; align-items: center; gap: 8px; }
.tabbar details > div a.must .mo-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #B3261E; color: #FFFFFF; font-size: 12px; letter-spacing: 0; font-weight: 500; }
.tabbar details > summary { position: relative; }
.tabbar details > summary.has-must::after { content: ''; position: absolute; top: 6px; right: calc(50% - 20px); width: 10px; height: 10px; border-radius: 50%; background: #B3261E; box-shadow: 0 0 0 2px #FFFDF8; }
/* players: one calm card each */
.pl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.pl-card { display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 18px; border-radius: 20px; background: #FFFDF8; color: #1C1B18 !important; text-decoration: none !important; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06); transition: transform .15s ease, box-shadow .15s ease; }
.pl-card:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(14,14,14,0.05), 0 14px 32px rgba(14,14,14,0.09); }
.pl-card.pl-must { box-shadow: inset 0 0 0 1.5px #B3261E, 0 10px 28px rgba(179,38,30,0.10); background: #FFF9F8; }
.pl-top { display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: center; }
.pl-av { width: 48px; height: 48px; border-radius: 50%; background: #0E0E0E; color: #E2CDA4; display: inline-flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; letter-spacing: .04em; }
.pl-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.15; }
.pl-sub { font-size: 14px; color: #59544B; }
.pl-pills { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.pl-pills .st, .pl-pills .mtype { margin: 0; }
.pl-where { font-size: 14px; color: #3E3A33; padding-left: 62px; }
.pl-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #F7F2E9; border-radius: 14px; padding: 12px 6px; text-align: center; }
.pl-nums span { display: flex; flex-direction: column; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #59544B; }
.pl-nums b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1.1; color: #1C1B18; letter-spacing: 0; text-transform: none; }
.pl-nums i { font-style: normal; font-size: 12px; letter-spacing: .02em; text-transform: none; color: #59544B; }
.pl-nums .low b { color: #B3261E; }
.pl-alert { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #B3261E; }
.pl-alert::before { content: '!'; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #B3261E; color: #FFF; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.pl-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: #3E3A33; border-top: 1px solid #EEE7DA; padding-top: 10px; }
.pl-k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #59544B; margin-right: 4px; }
.st-prospect { border-color: #8A7FA8; color: #4E4470; background: #F4F1FA; }
:is([data-app=coach], [data-app=admin]) main .st-prospect { border-radius: 999px; }
/* the coach choice: a roomier box */
.cf-pick select { min-width: 220px; min-height: 52px; padding: 12px 44px 12px 16px !important; border: 1px solid #E4DCCD !important; border-radius: 14px !important; background-color: #FFFDF8 !important; font-size: 16px; }
.cf-form { gap: 14px !important; }
@media (max-width: 560px) { .pl-list { grid-template-columns: 1fr; } .cf-pick select { min-width: 200px; } }
.wk-wrap .mc-open { align-self: flex-start; }
.cal-jump { display: inline-flex; } .cal-jump input[type=month] { min-height: 44px; padding: 8px 12px; border: 1px solid #E4DCCD; border-radius: 12px; background: #FFFDF8; font: inherit; font-size: 15px; }
.mv-closed { font-size: 13px; }
/* players by area: tap an area, see who plays there */
.ar-d { border-top: 1px solid #EEE7DA; }
.ar-d > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 17px; min-height: 52px; }
.ar-d > summary::-webkit-details-marker { display: none; }
.ar-d > summary::after { content: ''; width: 9px; height: 9px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: rotate(45deg); margin: 0 4px 4px 8px; transition: transform .2s; }
.ar-d[open] > summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
.ar-d > summary .ar-n { margin-left: auto; min-width: 30px; height: 30px; border-radius: 15px; background: #F1EBE1; color: #7A5B2B; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.ar-list { display: flex; flex-direction: column; gap: 4px; padding: 0 0 14px; }
.ar-p { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #F7F2E9; color: #1C1B18 !important; text-decoration: none !important; }
.ar-p .pl-av { width: 38px; height: 38px; font-size: 16px; flex: none; }
.ar-p b { display: block; font-weight: 500; font-size: 15px; } .ar-p .muted { font-size: 13px; }
.tabbar details > div a.must { order: -1; } .tabbar details > div a.must .mo-n { margin-left: auto; }
.pk-miss { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 14px 16px; margin-top: 6px; border-radius: 14px; background: #FFF1EF; box-shadow: inset 0 0 0 1.5px #B3261E; color: #1C1B18; font-size: 15px; line-height: 1.45; }
.pk-miss strong { color: #B3261E; font-weight: 500; }
.pk-miss .btn { background: #B3261E !important; border-color: #B3261E !important; color: #FFF !important; margin-top: 4px; }
/* a player's page: closed sections, one tap to open, ✕ to close */
.pf-list { display: flex; flex-direction: column; gap: 14px; }
.pf-list > .card { width: 100%; box-sizing: border-box; flex: none !important; margin: 0 !important; }
.pf:not(.pf-open) > :not(.pf-head) { display: none !important; }
.pf { gap: 14px; }
.pf:not(.pf-open) { padding-top: 18px !important; padding-bottom: 18px !important; }
.pf-head { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 12px; cursor: pointer; min-height: 44px; }
.pf-head > .eyebrow:first-child, .pf-head.eyebrow { flex: 1 1 auto; }
.pf-tog { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #F1EBE1; color: #1C1B18; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; }
.pf-chev { width: 9px; height: 9px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: rotate(45deg) translate(-2px, -2px); }
.pf-chip { font-size: 10px; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; font-weight: 500; }
.pf-chip.must { background: #B3261E; color: #FFF; } .pf-chip.look { background: #FFF1EF; color: #B3261E; box-shadow: inset 0 0 0 1px #B3261E; } .pf-chip.ok { background: #EEF4EA; color: #3A6A3A; }
.card.pf-must { box-shadow: inset 0 0 0 1.5px #B3261E, 0 10px 28px rgba(179,38,30,0.10) !important; }
.pf-head.eyebrow { display: flex !important; }
.card.pf { position: relative; } .pf-head { padding-right: 56px; } .pf-tog { position: absolute; top: 12px; right: 12px; margin: 0; }
/* players and tournaments */
.tp-card { gap: 12px; }
.tp-f { display: flex; flex-wrap: wrap; gap: 8px; } .tp-f .tab { font: inherit; cursor: pointer; background: none; }
.tp-list { display: flex; flex-direction: column; }
.tp-p { border-top: 1px solid #EEE7DA; }
.tp-p > summary { display: flex; align-items: center; gap: 12px; padding: 14px 0; cursor: pointer; list-style: none; min-height: 56px; }
.tp-p > summary::-webkit-details-marker { display: none; }
.tp-p > summary .pl-av { width: 40px; height: 40px; font-size: 16px; flex: none; }
.tp-who { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; } .tp-who b { font-weight: 500; font-size: 16px; } .tp-who .muted { font-size: 13px; }
.tp-body { display: flex; flex-direction: column; gap: 8px; padding: 0 0 16px 52px; }
.tp-want { background: #FFF1EF; border-radius: 12px; padding: 10px 12px; font-size: 14px; } .tp-want strong { color: #B3261E; font-weight: 500; }
.tp-t { display: grid; grid-template-columns: 92px 1fr auto; gap: 4px 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid #F1EBE1; font-size: 14px; }
.tp-t b { font-weight: 500; display: block; } .tp-t .muted { font-size: 13px; } .tp-d { color: #59544B; font-size: 13px; }
.tp-t.up { background: #F7F2E9; border-radius: 10px; padding: 8px 10px; border: 0; }
@media (max-width: 560px) { .tp-body { padding-left: 0; } .tp-t { grid-template-columns: 1fr; } }
/* an icon beside a title that wraps: the words wrap beside the icon, never under it */
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow[class*='ic-'] { display: flex !important; align-items: center; line-height: 1.6; }
:is(.mv2, [data-app=member] main, [data-app=coach] main, [data-app=admin] main) .eyebrow[class*='ic-']::before { margin: 0 12px 0 0 !important; align-self: center; }
/* coach documents: closed, missing in red, each document with its file */
.cd-card > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; cursor: pointer; list-style: none; min-height: 44px; }
.cd-card > summary::-webkit-details-marker { display: none; }
.cd-card > summary .eyebrow { flex: 1 1 auto; }
.cd-form { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
.cd-row {     border-top: 1px solid #EEE7DA; }
.cd-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; align-items: baseline; } .cd-top b { font-weight: 500; font-size: 16px; }
.cd-st { font-size: 14px; } .cd-st.bad { color: #B3261E; font-weight: 500; } .cd-st.soon { color: #7A5B2B; } .cd-st.ok { color: #3A6A3A; }
.cd-all { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 0; border-top: 1px solid #EEE7DA; }
.cb-row .cb-mini { display: inline-flex !important; flex-direction: row !important; flex-wrap: wrap; gap: 4px; align-items: center; }
.tp-f .tab { color: #1C1B18; } .tp-f .tab.on { background: #0E0E0E !important; color: #FAF8F2 !important; border-color: #0E0E0E !important; }
.cd-card > summary .eyebrow { font-size: 12px !important; letter-spacing: .2em !important; line-height: 1.6; }
.cb-row > summary { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.cb-row > summary .cb-mini { order: 5; flex: 1 1 100% !important; }
/* birthdays: list or calendar */
.bd-tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end; }
.bd-view { display: inline-flex; background: #F1EBE1; border-radius: 999px; padding: 4px; }
.bd-view button { font: inherit; font-size: 12px; letter-spacing: .16em; border: 0; background: none; padding: 10px 18px; min-height: 44px; border-radius: 999px; color: #1C1B18; cursor: pointer; }
.bd-view button.on { background: #0E0E0E; color: #FAF8F2; }
.bd-find { display: flex; flex-wrap: wrap; gap: 12px 18px; flex: 1 1 280px; } .bd-find .f { flex: 1 1 140px; }
 .bd-list[hidden], .bd-cal[hidden] { display: none !important; }
.bdc-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bdc-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #E4DCCD; background: #FFFDF8; font-size: 22px; line-height: 1; cursor: pointer; color: #1C1B18; }
.bdc-t { position: relative; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; color: #1C1B18; cursor: pointer; padding: 4px 22px 4px 8px; }
.bdc-t::after { content: ''; position: absolute; right: 4px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: translateY(-70%) rotate(45deg); }
.bdc-t select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.bdc-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; touch-action: pan-y; }
.bdc-dw { text-align: center; font-size: 11px; letter-spacing: .12em; color: #59544B; padding: 4px 0; }
.bdc-d { min-height: 58px; border: 1px solid #EEE7DA; border-radius: 10px; background: #FFFDF8; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; padding: 6px 2px; cursor: pointer; font: inherit; overflow: hidden; }
.bdc-d b { font-weight: 400; font-size: 15px; color: #1C1B18; }
.bdc-d i { font-style: normal; font-size: 10px; line-height: 1.2; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #F6E1E4; color: #7A2E3A; border-radius: 6px; padding: 1px 4px; }
.bdc-d.has { border-color: #E3B7BE; } .bdc-d.today { box-shadow: inset 0 0 0 2px #B8945B; } .bdc-d.on { background: #0E0E0E; } .bdc-d.on b { color: #FAF8F2; }
.bdc-day { display: flex; flex-direction: column; padding-top: 6px; }
/* My favorites */
.u-edit { font: inherit; cursor: pointer; border: 1.5px dashed #B8945B !important; background: #FFFDF8 !important; box-shadow: none !important; letter-spacing: .14em; font-size: 12px; color: #7A5B2B; }
.u-edit svg { background: #F1EBE1 !important; stroke: #7A5B2B !important; }
.fav-sheet { display: none; } .fav-sheet[open] { display: flex; flex-direction: column; gap: 10px; max-height: 88vh; overflow-y: auto; }
.fav-h { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 28px; margin: 0; color: #1C1B18; }
.fav-on, .fav-off { display: flex; flex-direction: column; gap: 8px; }
.fav-i, .fav-add { display: grid; grid-template-columns: 34px 1fr auto auto auto; align-items: center; gap: 8px; padding: 8px 8px 8px 10px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14,14,14,0.05); font: inherit; font-size: 15px; color: #1C1B18; text-align: left; }
.fav-add { grid-template-columns: 34px 1fr auto; border: 1px dashed #E4DCCD; background: #FFFDF8; box-shadow: none; cursor: pointer; min-height: 52px; }
.fav-i svg, .fav-add svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #B8945B; fill: none; stroke: #0E0E0E; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.fav-add svg { background: #F1EBE1; stroke: #7A5B2B; }
.fav-i button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E4DCCD; background: #FFFDF8; font-size: 16px; cursor: pointer; color: #1C1B18; }
.fav-i button:disabled { opacity: .3; cursor: default; } .fav-i .fav-x { color: #B3261E; }
.fav-add b { font-weight: 400; font-size: 22px; color: #7A5B2B; padding: 0 8px; }
.fav-save { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; padding-top: 8px; position: sticky; bottom: 0;  }
.fav-save { background: #FAF8F2; margin: 0 -24px -24px; padding: 14px 24px 20px; box-shadow: 0 -10px 20px rgba(250,248,242,0.9); z-index: 2; }
/* your 3 for today */
.wl-three { gap: 12px; }
.w3-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.w3-n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; color: #7A5B2B; } .w3-n.full { color: #3A6A3A; }
.w3-i { display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; align-items: center; padding: 12px 0; border-top: 1px solid #EEE7DA; }
.w3-i .wl-check { grid-column: 2; justify-self: start; }
.w3-g, .wh-day .w3-g { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7A5B2B; background: #F1EBE1; border-radius: 999px; padding: 4px 8px; text-align: center; }
.w3-t { color: #1C1B18 !important; text-decoration: none !important; font-size: 17px; line-height: 1.35; }
.w3-i.done .w3-t { color: #59544B !important; text-decoration: line-through !important; text-decoration-color: #B8945B !important; }
.w3-full { display: flex; flex-direction: column; gap: 2px; background: #EEF4EA; border-radius: 14px; padding: 12px 14px; } .w3-full b { font-weight: 500; color: #3A6A3A; }

.ww-d.part i { background: #F1EBE1; color: #7A5B2B; font-size: 11px; font-style: normal; }
.wl-hist > summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; min-height: 44px; } .wl-hist > summary::-webkit-details-marker { display: none; }
.wh-day { padding: 12px 0; border-top: 1px solid #EEE7DA; } .wh-d { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.wh-day ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; } .wh-day li { display: flex; gap: 10px; align-items: center; }
/* choose the voice */
.vc-sheet { display: none; } .vc-sheet[open] { display: flex; flex-direction: column; gap: 10px; max-height: 88vh; overflow-y: auto; }
.vc-list { display: flex; flex-direction: column; gap: 8px; }
.vc-i { display: grid; grid-template-columns: 1fr auto auto; gap: 8px 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14,14,14,0.05); }
.vc-i > span { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; } .vc-i b { font-weight: 500; }
.vc-i.on { box-shadow: inset 0 0 0 1.5px #B8945B; }
.wg-pick { font: inherit; font-size: 13px; letter-spacing: .1em; background: none; border: 0; color: #E2CDA4; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 10px 0; }
.wl-aff .wl-voice-pick { color: #E2CDA4 !important; border-color: rgba(226,205,164,0.5) !important; }
.w3-more .btn { border-radius: 14px; } .w3-i .wl-min { text-decoration: none !important; display: inline-block; }
/* a session request: the times as a list, gold steps, "sent just now" */
.rq-opts { list-style: none; margin: 4px 0 0; padding: 0;    }
.rq-opts li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #F7F2E9; font-size: 15px; color: #1C1B18; }
.rq-opts b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #0E0E0E; color: #E2CDA4; display: inline-flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 15px; }
.rq-live .rq-dot { width: 22px; height: 22px; margin-left: -11px; top: 4px; border-radius: 50%; background: #B8945B; box-shadow: 0 0 0 5px rgba(184,148,91,0.22); animation: rq-pulse 1.8s ease-in-out infinite; color: #FFF; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
@keyframes rq-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(184,148,91,0.22); } 50% { box-shadow: 0 0 0 9px rgba(184,148,91,0.08); } }
@media (prefers-reduced-motion: reduce) { .rq-live .rq-dot { animation: none; } }
.rq-new { box-shadow: inset 0 0 0 1.5px #3A6A3A, 0 10px 28px rgba(58,106,58,0.12) !important; }
.rq-sent { align-self: flex-start; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #FFF; background: #3A6A3A; border-radius: 999px; padding: 5px 12px; }
.rq-cancel { display: flex; justify-content: flex-end; }
/* between points at home: one step at a time */
.wp-now { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px 6px 6px; min-height: 150px; }
.wp-k { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #E2CDA4; }
.wp-t { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 34px; line-height: 1.15; color: #FAF8F2; }
.wp-d { font-size: 17px; line-height: 1.5; color: rgba(250,248,242,0.85); max-width: 32ch; }
.wp-dots { display: flex; justify-content: center; gap: 8px; } .wp-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(250,248,242,0.2); } .wp-dots i.ok { background: #B8945B; } .wp-dots i.now { background: #FAF8F2; }
.wp-next { align-self: center; font: inherit; font-size: 15px; letter-spacing: .16em; min-height: 64px; min-width: 240px; padding: 0 28px; border-radius: 999px; border: 0; background: #B8945B; color: #0E0E0E; cursor: pointer; font-weight: 500; }
.wp-next:disabled { opacity: .45; }
/* say them with me: black to start, red to stop, big enough to find without looking */
.wl-with { display: inline-flex; align-items: center;    border-radius: 999px; border: 0; background: #0E0E0E; color: #E2CDA4; font: inherit;   font-weight: 500; cursor: pointer; box-shadow: 0 8px 22px rgba(14,14,14,0.18); }
.wl-with .ww-ic {   border-radius: 50%; background: #B8945B; color: #0E0E0E; display: inline-flex; align-items: center; justify-content: center;  }
.wl-with.playing { background: #B3261E; color: #FFFFFF; box-shadow: 0 8px 22px rgba(179,38,30,0.28); }
.wl-with.playing .ww-ic { background: #FFFFFF; color: #B3261E; }
.wl-aff-day { display: block; margin-top: 4px; }
.wl-aff-all { margin-top: 8px; } .wl-aff-all > summary { cursor: pointer; display: inline-flex; list-style: none; } .wl-aff-all > summary::-webkit-details-marker { display: none; } .wl-aff-all .wl-affs { margin-top: 12px; }
/* add a family */
.nf-p { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid #EEE7DA; }
.nf-n { width: 30px; height: 30px; border-radius: 50%; background: #0E0E0E; color: #E2CDA4; display: inline-flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; }
.nf-fields { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.st-tester { border-color: #6F8FA8; color: #2E5470; background: #EEF3F7; }

/* ---------- Progress, calmer: one hero, two tiles, three chapters, quiet cards folded ---------- */

.mv2.v-journey:not(.aw) > #ask-coach { order: 4; }
.mv2.v-journey:not(.aw) > #sec-coach { order: 5; }

.mv2.v-journey:not(.aw) > #progress { order: 7; }
.mv2.v-journey:not(.aw) > #media { order: 8; }
.mv2.v-journey:not(.aw) > #sec-grow { order: 9; }

.mv2.v-journey:not(.aw) > #skills { order: 11; }
.mv2.v-journey:not(.aw) > #library { order: 12; }
.mv2.v-journey:not(.aw) > #sec-story { order: 13; }
.mv2.v-journey:not(.aw) > #started { order: 14; }
.mv2.v-journey:not(.aw) > #then-now { order: 15; }
.mv2.v-journey:not(.aw) > #journey { order: 16; }
.mv2.v-journey:not(.aw) > #tournaments { order: 17; }
.mv2.v-journey > .pg-sec { margin: 52px 2px -6px; font: 400 30px/1.15 'Cormorant Garamond', Georgia, serif; color: #1C1B18;  align-items: center; gap: 14px; }
.mv2.v-journey > .pg-sec::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(184,148,91,0.55), rgba(184,148,91,0)); }
.mv2.v-journey #journey .jr-stats { display: none; }
.mv2.v-journey > .rings-card { padding-top: 30px; padding-bottom: 26px; }

/* the two tiles, side by side */
.pg-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pg-duo > .card { margin: 0 !important; padding: 18px 16px 16px; min-height: 150px; display: flex; flex-direction: column; gap: 8px; border-radius: 22px; position: relative; text-decoration: none; }
.pg-duo > .card .eyebrow { font-size: 10px; letter-spacing: .2em; }
.pg-duo > .card .eyebrow::before { display: none !important; }
.pg-duo .aw-tile .aw-row { display: flex; align-items: baseline; gap: 6px; } .pg-duo .aw-tile .aw-n { font-size: 44px; line-height: 1; }
.pg-duo .aw-tile .aw-row .body { font-size: 13px; line-height: 1.3; color: #59544B; }
.pg-duo .aw-tile .aw-gs .muted, .pg-duo .aw-tile > .muted, .pg-duo .card > .link-btn { display: none; }
.pg-duo .wl-tile .wl-tile-t { font: italic 400 21px/1.3 'Cormorant Garamond', Georgia, serif; color: #FAF8F2; margin-top: auto; }
.pg-duo .aw-tile .aw-gs { margin-top: auto; }
.pg-duo .wl-tile { background: #0E0E0E !important; color: #FAF8F2; }
.pg-duo .wl-tile .eyebrow { color: #D9BE8C; }
.pg-duo .wl-tile .wl-tile-q { font: italic 400 19px/1.3 'Cormorant Garamond', Georgia, serif; color: #FAF8F2; margin-top: auto; }
.pg-duo > .card::after { content: '→'; position: absolute; top: 16px; right: 16px; color: #B8945B; font-size: 15px; }
.pg-duo > .card:only-child { grid-column: 1 / -1; }

/* folded cards: one line each */
.card.calm { gap: 0; padding-top: 0; padding-bottom: 0; }
.card.calm:not(.open) > :not(.calm-sum):not(dialog) { display: none !important; }
.card.calm.open { padding-bottom: 22px; } .card.calm.open > .calm-sum { margin-bottom: 8px; }
.card.calm .calm-ey { display: none !important; }
.card.calm .st-h:has(> .calm-ey:only-child), .card.calm div:has(> .calm-ey:only-child) { display: none; }
.calm-sum { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t c" "n c"; align-items: center; gap: 4px 12px; width: 100%; min-height: 76px; padding: 16px 0; background: none; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.calm-t { grid-area: t; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #7A5B2B; }
.calm-n { grid-area: n; font-size: 15px; color: #59544B; }
.calm-ch { grid-area: c; width: 34px; height: 34px; border-radius: 50%; background: rgba(184,148,91,0.12); position: relative; }
.calm-ch::after { content: ''; position: absolute; left: 12px; top: 10px; width: 8px; height: 8px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: rotate(45deg); transition: transform .2s, top .2s; }
.card.calm.open .calm-ch::after { transform: rotate(-135deg); top: 14px; }
.card.calm.open .calm-n { display: none; }

/* practice library: one row, then SEE ALL DRILLS */
.pr-more > summary { list-style: none; cursor: pointer; margin: 6px 0 2px; display: inline-block; }
.pr-more > summary::-webkit-details-marker { display: none; }
.pr-more[open] > summary { display: none; }

/* ---------- Ask your coach: a calm tile, and a sheet with three clear steps ---------- */
.card.rv { gap: 14px; }
.rv-top { display: flex; align-items: center; gap: 14px; }
.rv-ic { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #0E0E0E; color: #D9BE8C; display: grid; place-items: center; }
.rv-tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rv-tx .eyebrow::before { display: none !important; }
.rv-lead { font: 400 26px/1.15 'Cormorant Garamond', Georgia, serif; color: #1C1B18; }
.rv-sub { font-size: 15px; line-height: 1.5; color: #59544B; }
.rv-pastw { display: flex; flex-direction: column; }
.rv-act { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.rv-act .rv-go { min-height: 50px; padding: 0 26px; }
.rv-left { font-size: 13px; color: #59544B; }
.rv-sheet[open] { gap: 0; padding-top: 30px; }
.rv-sh { font: 400 32px/1.1 'Cormorant Garamond', Georgia, serif; margin: 0 48px 22px 0; }
.rv-sheet .rv-form { gap: 26px; }
.rv-step { display: flex; flex-direction: column; gap: 12px; }
.rv-st { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #1C1B18; }
.rv-st b { width: 24px; height: 24px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; font: 500 12px/24px 'Jost', sans-serif; letter-spacing: 0; text-align: center; }
.rv-chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding: 0 20px; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.rv-chips::-webkit-scrollbar { display: none; }
.rv-chips .rv-c { flex: none; scroll-snap-align: start; position: relative; min-height: 0; padding: 0; }
.rv-chips .rv-c input { position: absolute; opacity: 0; pointer-events: none; }
.rv-chips .rv-c span { display: block; padding: 11px 18px; border-radius: 999px; background: #F1EBE1; color: #1C1B18; font-size: 15px; white-space: nowrap; transition: background .15s, color .15s; }
.rv-chips .rv-c input:checked + span { background: #0E0E0E; color: #FAF8F2; }
.rv-chips .rv-c input:focus-visible + span { outline: 2px solid #B8945B; outline-offset: 2px; }
.rv-sheet textarea { width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; background: #F1EBE1; padding: 14px 16px; font: 400 16px/1.5 'Jost', sans-serif; color: #1C1B18; resize: none; }
.rv-sheet textarea:focus { outline: 2px solid rgba(184,148,91,0.6); }
.rv-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 110px; border: 1.5px dashed rgba(184,148,91,0.7); border-radius: 18px; color: #7A5B2B; cursor: pointer; position: relative; text-align: center; padding: 14px; }
.rv-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rv-drop .rv-dt { font-size: 15px; color: #1C1B18; word-break: break-all; }
.rv-drop.on { border-style: solid; background: rgba(184,148,91,0.1); }
.rv-tip { font-size: 13px; line-height: 1.5; color: #59544B; }
.rv-send { width: 100%; min-height: 54px; opacity: .55; transition: opacity .2s; }
.rv-send.ready { opacity: 1; }

/* ---------- Upcoming sessions: List · Week · Month ---------- */
.sv-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; margin: 14px 0 6px; border-radius: 14px; background: #F1EBE1; }
.sv-seg button { min-height: 42px; border: 0; border-radius: 11px; background: none; font: 400 14px/1 'Jost', sans-serif; letter-spacing: .06em; color: #59544B; cursor: pointer; transition: background .15s, color .15s; }
.sv-seg button[aria-selected="true"] { background: #FFFDF8; color: #1C1B18; font-weight: 500; box-shadow: 0 1px 6px rgba(28,27,24,0.1); }
#sessions[data-sv="list"] [data-wk-filter] :is(.wk-strip, .wk-month, .mc-open, .wk-hint),
#sessions[data-sv="month"] [data-wk-filter] :is(.wk-strip, .wk-month, .mc-open, .wk-hint) { display: none !important; }
#sessions[data-sv="week"] [data-wk-filter] .mc-open { display: none !important; }
.sv-month { margin: 8px 0 4px; }
.sv-month .mc-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sv-month .mc-t { font: 400 24px/1 'Cormorant Garamond', Georgia, serif; }
.sv-month .mc-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(184,148,91,0.12); color: #7A5B2B; font-size: 20px; cursor: pointer; }
.sv-month .mc-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.sv-month .mc-dw { font-size: 11px; letter-spacing: .12em; color: #59544B; padding: 4px 0; }
.sv-month .mc-d { position: relative; aspect-ratio: 1; border: 0; border-radius: 12px; background: none; font: 400 15px/1 'Jost', sans-serif; color: #59544B; cursor: default; }
.sv-month .mc-d.u, .sv-month .mc-d.p { cursor: pointer; color: #1C1B18; font-weight: 500; background: rgba(184,148,91,0.12); }
.sv-month .mc-d i { position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #B8945B; font-style: normal; font-size: 0; }
.sv-month .mc-d.today { box-shadow: inset 0 0 0 1.5px #1C1B18; }

.sv-mhint { font-size: 13px; margin: 10px 0 0; }
details.sv-cal { margin-top: 22px; border-top: 1px solid rgba(28,27,24,0.1); }
details.sv-cal > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 60px; font-size: 15px; color: #1C1B18; }
details.sv-cal > summary::-webkit-details-marker { display: none; }
details.sv-cal > summary::after { content: ''; margin-left: auto; width: 8px; height: 8px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: rotate(45deg); flex: none; margin-right: 6px; transition: transform .2s; }
details.sv-cal[open] > summary::after { transform: rotate(-135deg); }
.sv-cal-ic { width: 36px; height: 36px; border-radius: 50%; background: rgba(184,148,91,0.12); color: #7A5B2B; display: grid; place-items: center; flex: none; }
details.sv-cal[open] { padding-bottom: 8px; } details.sv-cal .feed { margin-bottom: 12px; }

.sv-key { display: flex; gap: 16px; font-size: 12px; color: #59544B; margin-top: 6px; }

/* one thing at a time: capped lists and Past · Today · Coming up switches */
.cap-hid { display: none !important; }
.cap-more { align-self: flex-start; margin-top: 10px; min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(184,148,91,0.55); background: none; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .18em; color: #7A5B2B; cursor: pointer; }
.ppf-seg { margin: 6px 0 12px; }
.ppf-seg button b { font-weight: 500; color: #7A5B2B; margin-left: 4px; }
.ppf { border-top: 0 !important; padding-top: 0 !important; }
.ppf[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* players: List (default) or Cards; the rarer lists sit under More */
.pl-seg { grid-template-columns: 1fr 1fr; max-width: 320px; margin: 4px 0 2px; }
.pl-compact .pl-where, .pl-compact .pl-nums, .pl-compact .pl-foot { display: none !important; }
.pl-compact .pl-card { padding-top: 14px; padding-bottom: 14px; gap: 8px; }
.pl-compact { gap: 10px !important; }
.pl-more { position: relative; display: inline-flex; }
.pl-more select { appearance: none; -webkit-appearance: none; min-height: 40px; padding: 0 34px 0 16px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.18); background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237A5B2B' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; font: 400 13px/1 'Jost', sans-serif; letter-spacing: .08em; color: #1C1B18; cursor: pointer; }
.pl-more.on select { background-color: #0E0E0E; color: #FAF8F2; border-color: #0E0E0E; }
.gr-seg { grid-template-columns: 1fr 1fr; }
[role="tabpanel"][hidden] { display: none !important; }
/* Account: program first, then a calm list of settings */
.mv2.v-account > #music { order: 6; } .mv2.v-account > #news { order: 6; } .mv2.v-account > #racket-remind { order: 8; }
.mv2.v-account > .card.calm { margin-top: 10px; }
.mv2.v-account > .grid3 + .card.calm, .mv2.v-account > .card.calm:first-of-type { margin-top: 28px; }

/* music: play buttons, the song sheet and the docked player */
.mu-playbtn { align-self: flex-start; display: inline-flex; align-items: center;    border: 0; border-radius: 999px;   font: 500 12px/1 'Jost', sans-serif; letter-spacing: .18em; cursor: pointer; }
.mu-pi { width: 36px; height: 36px; border-radius: 50%; background: #B8945B; color: #0E0E0E; display: grid; place-items: center; font-size: 12px; padding-left: 2px; box-sizing: border-box; }
.mu-r { display: flex; align-items: flex-start; gap: 12px; border-bottom: 1px solid rgba(28,27,24,0.08); }
.mu-r > .mu-row { flex: 1; min-width: 0; border: 0; }
.mu-p1 { margin-top: 10px; border: 0; cursor: pointer;  padding-left: 2px; }
.mu-p1:hover, .mu-p1:focus-visible { background: #0E0E0E; color: #D9BE8C; }
.mu-ef { padding-left: 0 !important; }
.mu-addd > summary, .mu-pl > summary { margin-top: 2px; }
.mu-sheet[open] { gap: 0; }
.mu-sh { font: 400 28px/1.15 'Cormorant Garamond', Georgia, serif; margin: 0 48px 14px 0; }
.mu-so { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-top: 1px solid rgba(28,27,24,0.1); }
.mu-so .mu-t span { color: #59544B; font-size: 14px; }
.mu-apps { display: flex; flex-wrap: wrap; gap: 8px; }
.mu-apps a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #F1EBE1; color: #1C1B18; text-decoration: none; font-size: 14px; }
.mu-dock { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom) + 96px); z-index: 90; max-width: 520px; margin: 0 auto; border-radius: 16px; overflow: hidden; background: #0E0E0E; box-shadow: 0 16px 40px rgba(14,14,14,0.3); }
body:not(:has(.tabbar)) .mu-dock { bottom: calc(env(safe-area-inset-bottom) + 16px); }
.mu-dock-in iframe { display: block; width: 100%; border: 0; }
.mu-dock-x { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(14,14,14,0.75); color: #FAF8F2; font-size: 13px; cursor: pointer; }
html.mu-docked .ak-launch { display: none !important; }
html.mu-docked main { padding-bottom: calc(var(--muh, 152px) + 40px); }
.wl-music { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wl-music .muted { font-size: 14px; }
.wl-music-add { align-self: flex-start; }
/* Sessions: schedule first when nothing is booked; otherwise one line near the list */
#sessions > .rq-top { order: -1; margin: 0 0 18px !important; }
#sessions > .eyebrow:first-child { order: -2; }
#sessions > .rq-fold { order: 1;  }
#sessions > details.sv-cal:not(.rq-fold) { order: 2; margin-top: 0; }
#sessions > .away { order: 3; }
#sessions > #notify { order: 4; }
.rq-fold .sv-cal-ic { font-size: 20px; line-height: 1; }
.rq-fold[open] > summary { margin-bottom: 4px; }
.st-line.st-open { cursor: pointer; }

/* ---------- the squint test: the thing to do is the boldest thing on the screen ---------- */
/* primary (gold or black) lifts off the page; secondary stays quiet; red means do it now */
.btn:not(.line) { box-shadow: 0 6px 18px rgba(122,91,43,0.22); }
.btn.dark:not(.line) { box-shadow: 0 6px 18px rgba(14,14,14,0.22); }
.btn:not(.line):not(.small) { min-height: 52px; }
.btn.must-btn { background: #B3261E !important; color: #FFFFFF !important; box-shadow: 0 6px 18px rgba(179,38,30,0.28); }
.pk-more { align-self: flex-start; margin-top: 6px; }
/* Sessions: "Schedule another session" is the main thing to do, so it is gold */
details.rq-fold > summary {        box-shadow: 0 6px 18px rgba(122,91,43,0.22); }
details.rq-fold > summary .sv-cal-ic { background: rgba(14,14,14,0.12); color: #0E0E0E; }

#sessions > .rq-fold { border-top: 0; margin-top: 26px; }
/* bigger taps for small round buttons */
.todo-ck { position: relative; } .todo-ck::after { content: ''; position: absolute; inset: -9px; }
/* Milestones always stays open in Badges: no +/- sign */
#badges.ms-card > summary::after { display: none; } #badges.ms-card > summary { cursor: default; }

/* MORE: groups, one open at a time */
.tabbar details > div > details.mo-g { grid-column: 1 / -1; border-top: 1px solid rgba(28,27,24,0.08); }
.tabbar details > div > details.mo-g > summary { list-style: none; display: flex !important; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 6px; cursor: pointer; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; background: none !important; height: auto !important; }
.tabbar details > div > details.mo-g > summary::-webkit-details-marker { display: none; }
.tabbar details > div > details.mo-g > summary b { margin-left: auto; margin-right: 12px; font-weight: 400; color: #59544B; letter-spacing: 0; }
.tabbar details > div > details.mo-g > summary::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
.tabbar details > div > details.mo-g[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.mo-gi { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 2px 0 12px; }
.tabbar details > div > details.mo-g > div.mo-gi, .tabbar.admin details > div > details.mo-g > div.mo-gi { position: static !important; left: auto !important; right: auto !important; bottom: auto !important; top: auto !important; width: auto !important; transform: none !important; max-height: none !important; overflow: visible !important; background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; animation: none !important; padding: 2px 0 12px !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; z-index: auto !important; }
.tabbar details > div > details.mo-g > div.mo-gi::before { display: none !important; }
.tabbar details > div > details.mo-g > summary, .tabbar.admin details > div > details.mo-g > summary { flex-direction: row !important; justify-content: flex-start !important; align-items: center !important; text-align: left !important; width: 100% !important; font-size: 12px !important; letter-spacing: .2em !important; gap: 0 !important; padding: 0 6px !important; min-height: 52px !important; height: auto !important; color: #7A5B2B !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.tabbar details > div > details.mo-g > summary span { flex: 1; font-size: 12px !important; }
.tabbar details > div > details.mo-g > summary b { font-size: 13px !important; }
/* chapter headings, the same everywhere (member Progress, coach Badges) */
main .m-section > .pg-sec { margin: 40px 2px -4px; font: 400 30px/1.15 'Cormorant Garamond', Georgia, serif; color: #1C1B18; display: flex; align-items: center; gap: 14px; }
main .m-section > .pg-sec::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(184,148,91,0.55), rgba(184,148,91,0)); }
/* Calendar: Week or Month */
.cv-seg { grid-template-columns: 1fr 1fr; max-width: 320px; }
html[data-cv="week"] main .cal, html[data-cv="week"] main .cal-hols { display: none !important; }
html[data-cv="month"] main .wk-admin { display: none !important; }
details.cal-add, details.cal-sub { margin-top: 4px; }
details.cal-add > form.card { margin-top: 12px; }
details.cal-sub[open] > .feed, details.cal-sub[open] > .card { margin-top: 10px; }
/* the Legacy voice: one voice for everyone, so no voice picker */
html.lg-voice-rec .wg-pick, html.lg-voice-rec .wl-voice-pick { display: none !important; }
.vo-stat { font-size: 15px; } .vo-stat b { font: 400 32px/1 'Cormorant Garamond', Georgia, serif; margin-right: 6px; }
.vo-bar { height: 6px; border-radius: 3px; background: #F1EBE1; overflow: hidden; } .vo-bar i { display: block; height: 100%; background: #B8945B; transition: width .4s; }
.vo-go { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .vo-f { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; border-top: 1px solid rgba(28,27,24,0.1); }
.vo-steps code { background: #F1EBE1; padding: 2px 6px; border-radius: 4px; font-size: 13px; word-break: break-all; }
/* withdraw a request: a clear yes or no inside the card, nothing happens by accident */
details.rq-wd { align-self: stretch; } details.rq-wd > summary { list-style: none; cursor: pointer; display: inline-flex; align-self: flex-end; float: right; }
details.rq-wd > summary::-webkit-details-marker { display: none; }
details.rq-wd[open] > summary { display: none !important; }
.rq-wd-c { clear: both; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: #FFF1EF; border: 1px solid rgba(179,38,30,0.25); margin-top: 6px; }
.rq-wd-q { font-size: 15px; line-height: 1.5; color: #1C1B18; }
.rq-wd-b { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; } .rq-wd-b form { margin: 0; }
/* swiping between tabs: a first swipe only shows where it goes */
.sw-hint { position: fixed; top: 46%; z-index: 120; padding: 12px 16px; border-radius: 999px; background: #0E0E0E; color: #FAF8F2; font-size: 14px; letter-spacing: .04em; box-shadow: 0 10px 30px rgba(14,14,14,0.25); opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.sw-hint.sw-r { right: 12px; transform: translateX(12px); } .sw-hint.sw-l { left: 12px; transform: translateX(-12px); }
.sw-hint.on { opacity: 1; transform: none; }
/* say them with me: smaller, in proportion; a gold play triangle (never an emoji), a square to stop */
.wl-with { min-height: 50px !important; padding: 0 20px 0 6px !important; gap: 12px !important; font-size: 12px !important; letter-spacing: .16em !important; }
.wl-with .ww-ic { width: 38px !important; height: 38px !important; position: relative; font-size: 0 !important; }
.wl-with .ww-ic::before { content: ''; position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -4px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #0E0E0E; }
.wl-with.playing .ww-ic::before { margin: -6px 0 0 -6px; border: 0; width: 12px; height: 12px; background: #B3261E; border-radius: 2px; }
/* Wellness: hearts, NEW IDEAS and SEE ALL */
.wl-heart { flex: none; width: 40px; height: 40px; margin-left: 6px; border: 0; border-radius: 50%; background: none; cursor: pointer; position: relative; }
.wl-heart::before {  font-size: 22px; line-height: 40px; color: #B8945B; }
.wl-heart[aria-pressed="true"]::before {  color: #B3261E; }
.wl-more-ctl { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.wl-fav-k { display: block; margin: 4px 0 -2px; color: #B3261E; }
.wl-it.wl-in { animation: softIn .35s ease both; }
.wl-it[hidden] { display: none !important; }
.wl-heart::before { content: '\2661\FE0E'; } .wl-heart[aria-pressed="true"]::before { content: '\2665\FE0E'; }
.wl-it > summary .wl-it-t { flex: 1 1 auto; min-width: 0; }
.wl-aff-all[open] > summary::after { content: ' ⌃'; }
.wl-with-all { margin-top: 12px; }
.wl-aff-close { margin-top: 14px; }
/* music: a quieter play button (gold outline, drawn triangle), SHUFFLE beside it, REORDER OR REMOVE with arrows */
.mu-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mu-playbtn { min-height: 44px !important; padding: 0 18px 0 5px !important; gap: 10px !important; background: #FFFDF8 !important; color: #1C1B18 !important; border: 1px solid rgba(184,148,91,0.6) !important; font-size: 11px !important; box-shadow: none !important; }
.mu-playbtn .mu-pi { width: 34px !important; height: 34px !important; font-size: 0 !important; position: relative; background: #B8945B !important; padding: 0 !important; }
.mu-playbtn .mu-pi::before, .mu-p1::before { content: ''; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #0E0E0E; }
html.mu-docked .mu-playbtn .mu-pi::before { border: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; background: #0E0E0E; }
.mu-p1 { position: relative; font-size: 0 !important; }
.mu-p1::before { border-color: transparent transparent transparent #7A5B2B; margin-left: -4px; }
.mu-p1:hover::before, .mu-p1:focus-visible::before { border-color: transparent transparent transparent #D9BE8C; }
.mu-shuf { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.2); background: none; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .16em; color: #1C1B18; cursor: pointer; }
.mu-shuf::before { content: '\21C4\FE0E'; margin-right: 8px; color: #7A5B2B; font-size: 14px; }
.mu-ord-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mu-ord { display: none; gap: 6px; align-items: center; margin-top: 8px; flex: none; }
.mu-reordering .mu-ord { display: inline-flex; }
.mu-reordering .mu-p1, .mu-reordering .mu-e { display: none !important; }
.mu-reordering .mu-row > summary { pointer-events: none; }
.mu-ord button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(184,148,91,0.5); background: #FFFDF8; color: #7A5B2B; font-size: 15px; cursor: pointer; padding: 0; }
.mu-ord .mu-x { border-color: rgba(179,38,30,0.4); color: #B3261E; }
.mu-ord form { margin: 0; }
.mu-r.mu-moved { animation: softIn .3s ease both; }
html body .card.calm .eyebrow.calm-ey, html body .card.calm .calm-ey { display: none !important; }
/* Sessions, Week: one week with arrows, only its sessions below (the long day strip is not used here) */
#sessions[data-sv] [data-wk-filter] { display: none !important; }
#sessions.sv-filtering details.more-list > summary { display: none !important; }
.sv-week { margin: 8px 0 6px; }
.svw-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.svw-t { font: 400 22px/1 'Cormorant Garamond', Georgia, serif; }
.sv-week .mc-nav, .sv-month .mc-nav { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(184,148,91,0.12); color: #7A5B2B; font-size: 20px; cursor: pointer; }
.svw-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.svw-d { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 0 12px; border: 0; border-radius: 14px; background: none; color: #59544B; font: inherit; cursor: default; }
.svw-d span { font-size: 10px; letter-spacing: .12em; } .svw-d b { font-size: 18px; font-weight: 500; }
.svw-d.u, .svw-d.p { background: rgba(184,148,91,0.12); color: #1C1B18; cursor: pointer; }
.svw-d.p { background: none; }
.svw-d i { position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #B8945B; }
.svw-d.today { box-shadow: inset 0 0 0 1.5px #1C1B18; }
.svw-d.on { background: #0E0E0E; color: #FAF8F2; }
.sv-empty { padding: 14px 0 4px; font-size: 15px; } .sv-empty .link-btn { margin-left: 6px; }
/* "Schedule another session": a calm card with a bold gold + (the one thing to do), not a heavy gold bar */
details.rq-fold > summary { background: #FFFDF8 !important; color: #1C1B18 !important; border: 1px solid rgba(184,148,91,0.55); border-radius: 18px !important; padding: 14px 16px !important; min-height: 76px !important; gap: 14px !important; box-shadow: 0 8px 24px rgba(122,91,43,0.12) !important; font-weight: 400 !important; letter-spacing: 0 !important; }
details.rq-fold > summary .sv-cal-ic { width: 44px !important; height: 44px !important; background: #B8945B !important; position: relative; flex: none; box-shadow: 0 4px 12px rgba(122,91,43,0.3); }
details.rq-fold > summary .sv-cal-ic::before, details.rq-fold > summary .sv-cal-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: #0E0E0E; border-radius: 1px; }
details.rq-fold > summary .sv-cal-ic::after { transform: rotate(90deg); }
details.rq-fold[open] > summary .sv-cal-ic::after { transform: rotate(0deg); }
.rq-tt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.rq-tt b { font: 400 22px/1.15 'Cormorant Garamond', Georgia, serif; color: #1C1B18; }
.rq-tt span { font-size: 13px; line-height: 1.4; color: #59544B; }
details.rq-fold > summary::after { border-color: #7A5B2B !important; }
details.rq-fold[open] > summary { background: #F6F1E8 !important; box-shadow: none !important; }
/* text links that wrap onto two lines: room between the lines, so the underline never touches the next line */
.link-btn { line-height: 1.9 !important; text-underline-offset: 5px; }
summary.link-btn, a.link-btn, button.link-btn { -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cap-less { align-self: flex-end; margin: 0 0 6px auto; display: block; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: #F1EBE1; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .14em; color: #59544B; cursor: pointer; }

/* ---------- one tap is enough: a send button shows it is working ---------- */
.btn.busy, button.busy { pointer-events: none; opacity: .78; }
.btn.busy::after, button.link-btn.busy::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 10px; vertical-align: -1px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: lg-spin .7s linear infinite; }
@keyframes lg-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.busy::after, button.link-btn.busy::after { animation-duration: 2s; } }
/* the send sheet: the same look everywhere */
.rv-sheet .rv-send { width: 100%; min-height: 54px; margin-top: 4px; opacity: .55; transition: opacity .2s; }
.rv-sheet .rv-send.ready { opacity: 1; }
.rv-chips .rv-fill { border: 0; background: none; font: inherit; cursor: pointer; }
.rv-chips .rv-fill.on span { background: #0E0E0E; color: #FAF8F2; }
.rv-sheet input[type=text], .rv-sheet input[type=email], .rv-sheet input[type=date], .rv-sheet input[type=number], .rv-sheet select { width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; background: #F1EBE1; padding: 14px 16px; font: 400 16px/1.4 'Jost', sans-serif; color: #1C1B18; min-height: 52px; }
/* goals: add with one button; a new goal appears at once */
.g-add { margin-top: 14px; }
.g-add .g-add-b { min-height: 50px; padding: 0 26px; }
.goal.fresh { animation: g-in .45s ease both; }
.goal.fresh .goal-tick { border-style: dashed; }
@keyframes g-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* the top bar always fits a phone: language, text size and BACK, without sliding sideways */
@media (max-width: 760px) {
  header.m-head .m-navlinks { min-width: 0; }
  header.m-head .m-navlinks > a.btn.small, header.m-head .m-navlinks > form .btn.small { padding-left: 12px !important; padding-right: 12px !important; letter-spacing: .12em !important; }
}
@media (max-width: 420px) { header.m-head .m-nav:has(.m-gold) .m-navlinks { gap: 4px 10px !important; } }
/* uploads: one look everywhere (dashed area, tap to choose), and the send sheet numbers its steps */
.rv-drop-in { width: 100%; box-sizing: border-box; margin-top: 8px; text-transform: none; letter-spacing: 0; }
.rv-drop-in .rv-dt { font-size: 15px; line-height: 1.4; }
label.f > .rv-drop-in { font-size: 15px; }
.up-sheet .rv-form { counter-reset: up; gap: 22px; }
.up-sheet .rv-form > label.f, .up-sheet .rv-form > .row > label.f, .up-sheet .rv-form > fieldset, .up-sheet .rv-form > label.agree { counter-increment: up; position: relative; padding-left: 36px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; letter-spacing: .2em; line-height: 1.6; color: #1C1B18; }
.up-sheet .rv-form > label.f::before, .up-sheet .rv-form > .row > label.f::before, .up-sheet .rv-form > fieldset::before, .up-sheet .rv-form > label.agree::before { content: counter(up); position: absolute; left: 0; top: -2px; width: 24px; height: 24px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; font: 500 12px/24px 'Jost', sans-serif; letter-spacing: 0; text-align: center; }
.up-sheet .rv-form > label.agree { letter-spacing: 0; font-size: 15px; flex-direction: row; align-items: flex-start; }
.up-sheet .rv-form > .row { display: flex; flex-direction: column; gap: 22px !important; }
.up-sheet .rv-form > .muted, .up-sheet .rv-form > span.muted { font-size: 13px; line-height: 1.5; }
.up-sheet label.f input:not([type=file]):not([type=checkbox]):not([type=radio]), .up-sheet label.f textarea, .up-sheet label.f select { width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; background: #F1EBE1; padding: 14px 16px; font: 400 16px/1.4 'Jost', sans-serif; letter-spacing: 0; text-transform: none; color: #1C1B18; min-height: 52px; }
.up-sheet .rv-drop-in { margin-left: -36px; width: calc(100% + 36px); max-width: none; }
.up-ph { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.up-ph .up-open { min-height: 48px; }
details.up-det > summary { cursor: pointer; }
.up-sheet .rv-form > label.f > b.req { display: none; }
.up-sheet .rv-send { border-radius: 999px; }
.up-sheet .rv-form label.f > input:not([type=file]):not([type=checkbox]):not([type=radio]), .up-sheet .rv-form label.f > textarea, .up-sheet .rv-form label.f > select { margin-left: -36px; width: calc(100% + 36px); max-width: none; }
.up-ph { margin-top: 8px; }
/* an open "see all" list: the top line becomes the same ✕ SHOW FEWER pill */
details > summary.less-sum { display: flex !important; width: max-content; align-items: center; min-height: 36px; padding: 0 14px !important; border: 0 !important; border-radius: 999px; background: #F1EBE1; font: 500 11px/1 'Jost', sans-serif !important; letter-spacing: .14em !important; color: #59544B !important; text-decoration: none !important; list-style: none; margin: 0 0 8px auto !important; }
details > summary.less-sum::-webkit-details-marker { display: none; }
details > summary.less-sum::after, details > summary.less-sum::before { display: none !important; }
details > .less-bot { margin: 10px 0 0 auto; }
/* ---------- status colors, the same everywhere: green = done and all good, red = do it now ---------- */
.st-done > .eyebrow { color: #2F6B3E !important; }
.st-done .eyebrow::before { background: #2F6B3E !important; }
.st-tick { display: inline-grid; place-items: center; width: .95em; height: .95em; border-radius: 50%; background: #2F6B3E; color: #FAF8F2; font: 500 .5em/1 'Jost', sans-serif; vertical-align: .12em; margin-left: 6px; }
.st-done .m-h1 { color: #1C1B18; }
.pp-ok { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 8px 14px; border-radius: 999px; background: #EAF2EC; color: #2F6B3E !important; }
.fs-steps li.done i, .fin-steps li.done i { background: #2F6B3E !important; border-color: #2F6B3E !important; color: #FAF8F2 !important; }
[data-app=member] .ob-steps li.done span { background: #2F6B3E !important; border-color: #2F6B3E !important; color: #FAF8F2 !important; }
.notice.ok-n { background: #EAF2EC !important; border-left-color: #2F6B3E !important; color: #1C1B18; }
.g-pill.done, .goal.done .goal-tick { background: #2F6B3E !important; border-color: #2F6B3E !important; color: #FAF8F2 !important; }
.calm.st-good .calm-n { color: #2F6B3E; }
.calm.st-good .calm-n::before { content: '✓ '; }
.calm.st-todo { box-shadow: inset 0 0 0 1.5px #B3261E, 0 10px 28px rgba(179,38,30,0.10) !important; }
.calm.st-todo .calm-n { color: #B3261E; }
/* Today, in the order that matters: the greeting, then the next session, then anything to act on, then the rest */
.mv2 > .fam-row { order: -9 !important; }
.mv2 > .bday, .mv2 > .anniv { order: -7 !important; }
.mv2 > .mt-hero { order: -8 !important; }
.mv2 > .court-now { order: -6 !important; }
.mv2 > .next.hero, .mv2 > .next { order: -5 !important; }
.mv2 > .notice.tier-urgent, .mv2 > .tier-urgent { order: -4 !important; }
.mv2 > .rf-now { order: -3 !important; }
.mv2 > .notice { order: -4 !important; }
/* ---------- "What did you learn today?": a small, warm card after each lesson ---------- */
.rf-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: linear-gradient(160deg, #FFFDF8 0%, #F6EEDF 100%) !important; padding: 24px 22px !important; transition: opacity .25s, transform .25s; }
.rf-card[hidden] { display: none !important; }
.rf-card.rf-bye { opacity: 0; transform: translateY(-6px); }
.rf-card .rf-x { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 15px; }
.rf-ic { width: 44px; height: 44px; border-radius: 50%; background: #0E0E0E; color: #D9BE8C; display: grid; place-items: center; margin-bottom: 4px; }
.rf-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
.rf-q { font: 400 30px/1.12 'Cormorant Garamond', Georgia, serif; color: #1C1B18; padding-right: 30px; }
.rf-sub { font-size: 15px; line-height: 1.55; color: #59544B; max-width: 34em; }
.rf-go { margin-top: 6px; min-height: 50px; padding: 0 30px; }
/* the coach's note: the quote, then one clear "next time" line */
#coach-note .ftc-next { display: flex; align-items: flex-start; gap: 14px; margin-top: 4px; padding: 14px 16px; border-radius: 18px; background: #FFFDF8; box-shadow: 0 1px 2px rgba(14,14,14,0.04); }
#coach-note .ftc-nic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: grid; place-items: center; }
#coach-note .ftc-nt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#coach-note .ftc-nk { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
#coach-note .ftc-nv {  line-height: 1.45; color: #1C1B18; }
#coach-note .gr-quote { font: italic 400 26px/1.25 'Cormorant Garamond', Georgia, serif; color: #1C1B18; display: block;  border-left: 2px solid #B8945B;  }
#coach-note .ftc-note { display: flex; flex-direction: column; gap: 8px; }
#coach-note .ci { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(28,27,24,0.1); }
/* the check-in in its sheet */
.ci-sheet .ci-body { display: flex; flex-direction: column; gap: 16px; }
.ci-sheet[open] { gap: 0; padding-top: 30px; }
/* one "how was it?" after a lesson, not two */
.mv2:has(#feel) #coach-note .pulse { display: none !important; }
/* "Your progress" on Today: a real card with tiles, nothing floating */
a.mglance.mg2 { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 14px; padding: 20px !important; border: 0 !important; border-radius: 22px; background: #FFFDF8 !important; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06); color: #1C1B18; }
.mg2 .mg-h { display: flex !important; justify-content: space-between; align-items: center; }
.mg2 .mg-ht { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
.mg2 .mg-go { width: 34px; height: 34px; border-radius: 50%; background: #F1EBE1; display: grid !important; place-items: center; font-size: 20px; color: #7A5B2B; }
.mg2 .mg-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.mg2 .mg-t { display: flex !important; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border-radius: 16px; background: #F6F1E8; }
.mg2 .mg-t b { font: 400 30px/1 "Cormorant Garamond", Georgia, serif; font-variant-numeric: lining-nums; color: #1C1B18; }
.mg2 .mg-t em { font-style: normal; font-size: 13px; line-height: 1.3; color: #59544B; }
@media (max-width: 640px) { .mg2 .mg-grid { grid-template-columns: 1fr 1fr; } }
/* a badge sheet: one clear action. I DID IT TODAY is the gold button; SHOW ME HOW is a quiet link under it */
.aw-sheet .aw-more { width: 100%; }
.aw-sheet .aw-more .aw-act { display: flex; flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
.aw-sheet .aw-more form { order: 1; width: 100%; }
.aw-sheet .aw-more form button.link-btn, .aw-sheet .aw-more form .btn { width: 100%; min-height: 54px; border-radius: 999px; background: #B8945B; color: #0E0E0E; font-size: 13px; letter-spacing: 0.18em; box-shadow: 0 8px 20px rgba(184,148,91,0.3); }
.aw-sheet .aw-more a.link-btn { order: 2; align-self: center; background: none !important; min-height: 44px; padding: 0 6px !important; color: #7A5B2B !important; text-decoration: underline; text-underline-offset: 5px; box-shadow: none; }
.aw-sheet .aw-more .jb-who { order: 3; align-self: center; }
/* milestones still to reach: a soft medal and one thin bar with its percent (no rings) */
.mv2.aw .ms:not(.on) .ms-ring { background: none !important; width: 64px; height: 64px; }
.mv2.aw .ms:not(.on) .ms-ring::before { display: none !important; }
.mv2.aw .ms:not(.on) .ms-ring svg { opacity: .32 !important; filter: grayscale(1); width: 56px !important; height: 56px !important; }
.mv2.aw .ms:not(.on) .ms-pct { display: none !important; }
.mv2.aw .ms .ms-pb { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 110px; margin: 6px auto 0; }
.mv2.aw .ms .ms-pbar { flex: 1; height: 4px; border-radius: 2px; background: #EDE5D7; overflow: hidden; }
.mv2.aw .ms .ms-pbar i { display: block; height: 100%; border-radius: 2px; background: #B8945B; }
.mv2.aw .ms .ms-pn { font-size: 11px; letter-spacing: .04em; color: #7A5B2B; font-variant-numeric: tabular-nums lining-nums; }
.mv2.aw .ms .ms-pb.zero .ms-pbar { display: none; }
.mv2.aw .ms .ms-pb.zero { justify-content: center; }
.mv2.aw .ms .ms-pb.zero .ms-pn { color: #8A8478; }
/* the Grand Slam percent: deep gold and bold, so it reads at a glance */
.jv-medal .jv-pct { color: #7A5B2B !important; font-weight: 500 !important; font-variant-numeric: lining-nums; }
.ch.kid .jr-dots i.c, .jr-dots i.c { background: #FFFDF8 !important; border: 2px solid #B8945B !important; box-shadow: 0 0 0 3px rgba(184,148,91,0.18) !important; }
:not(.aw) > .ch.kid .jr-next, .mv2:not(.aw) .ch.kid .jr-next { background: #F6F0E4; border-color: rgba(184,148,91,0.45); }
dialog .x-close:focus { outline: none !important; box-shadow: none !important; }
/* new bookings: each step is a button that opens exactly that step; green when done */
a.nb-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px !important; border-radius: 999px !important; text-decoration: none; font-size: 12px; letter-spacing: .08em; }
a.nb-chip.nb-todo { background: #FFFDF8; border: 1.5px solid #B3261E !important; color: #B3261E; }
a.nb-chip.ok { background: #EAF2EC !important; border: 1.5px solid #2F6B3E !important; color: #2F6B3E !important; }
a.nb-chip:active { transform: scale(.97); }
/* a one-tap action that went through: green, with a tick */
.btn.done, [data-quick-btn] button.done, button.rv-send.done { background: #2F6B3E !important; border-color: #2F6B3E !important; color: #FAF8F2 !important; box-shadow: none !important; opacity: 1 !important; }
.pp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
/* numbers you can tap: each tile opens exactly what it counts */
.glance.g-links > a { position: relative; background: #FFFDF8; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; color: inherit; text-decoration: none; border-radius: 18px; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 8px 20px rgba(14,14,14,0.06); transition: transform .12s; }
.glance.g-links > a::after { content: '›'; position: absolute; top: 16px; right: 18px; width: 28px; height: 28px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: grid; place-items: center; font-size: 18px; }
.glance.g-links > a:active { transform: scale(.97); }
/* numbers in the serif face read as numbers (1, not I) */
html { font-variant-numeric: lining-nums; }
.big, .serif, .m-h1, b, strong { font-variant-numeric: lining-nums; }
.mic-b.on { background: #B3261E !important; color: #FFF !important; }
/* a lesson's actions, one family of buttons: reschedule (gold), cancel and delete (red) */
.sa-b { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #B8945B; background: #FFFDF8; color: #7A5B2B; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; list-style: none; text-decoration: none; margin: 4px 6px 4px 0; }
summary.sa-b::-webkit-details-marker { display: none; }

.sa-b.sa-del {   background: none;    }
details.mv-l[open] > summary.sa-b { background: #B8945B; color: #0E0E0E; }
form[data-twotap].armed .sa-cancel, .sa-cancel.armed { background: #B3261E; color: #FAF8F2; }
/* a coach's missing documents on a junior's lesson: red, with one tap to remind the coach */
.pp-warn.cd-warn { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cd-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 0; border-top: 1px solid rgba(28,27,24,0.1); }
.cd-miss { color: #B3261E; font-size: 15px; line-height: 1.5; }
/* session requests: each time they offered is a row you tap to book it (the form opens filled in) */
.rq-st { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid rgba(28,27,24,0.1); }
.rq-st-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 17px; }
.rq-st-h b { font-weight: 500; }
.rq-opts { display: flex; flex-direction: column; gap: 8px; }
a.rq-opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 10px 8px 12px; border-radius: 16px; background: #FFFDF8; box-shadow: inset 0 0 0 1px rgba(28,27,24,0.08); color: #1C1B18; text-decoration: none; }
a.rq-opt:active { transform: scale(.98); }
.rq-on { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #0E0E0E; color: #FAF8F2; display: grid; place-items: center; font-size: 13px; }
.rq-ot { flex: 1; font-size: 15px; line-height: 1.4; min-width: 0; }
.rq-ob { flex: none; min-height: 38px; padding: 0 16px; border-radius: 999px; background: #B3261E; color: #FFF; display: grid; place-items: center; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .16em; }
/* buttons always have room for their words */
.btn.small { padding-left: 22px !important; padding-right: 22px !important; white-space: nowrap; min-width: max-content; }
/* My list: the circle, the words and the ✕ always sit on one row */
div.todo { display: grid !important; grid-template-columns: 40px minmax(0, 1fr) 36px; grid-template-areas: "ck t x" "ck w x"; align-items: start; gap: 2px 12px; padding: 14px 0; border-top: 1px solid rgba(28,27,24,0.08); }

.todo > .todo-t { grid-area: t; font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.todo > .todo-w { grid-area: w; font-size: 13px; color: #59544B; margin-left: 0 !important; }
.todo > .todo-w:empty { display: none; }
.todo > form:last-child {  justify-self: end; }
.todo .todo-ck { width: 32px; height: 32px; }
.todo.done .todo-ck { background: #2F6B3E !important; border-color: #2F6B3E !important; color: #FAF8F2 !important; }
/* "More for today / More for you": a real card you tap (count and chevron), not a floating line; the cards inside keep room between them */
details.calm-more { border: 0 !important; padding: 0 !important; background: none !important; }
details.calm-more > summary { display: flex !important; align-items: center; gap: 12px; min-height: 64px; padding: 0 18px 0 22px !important; border-radius: 22px; background: #FFFDF8; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.07); font: 500 12px/1.3 'Jost', sans-serif !important; letter-spacing: .2em !important; color: #1C1B18 !important; justify-content: flex-start !important; }
details.calm-more > summary > span:first-child { flex: 1; }
details.calm-more > summary .calm-n { flex: none; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: #F1EBE1; color: #7A5B2B; display: grid; place-items: center; font-size: 13px; letter-spacing: 0; box-sizing: border-box; }
details.calm-more > summary::after { content: '' !important; flex: none; width: 10px; height: 10px; border-right: 1.6px solid #7A5B2B; border-bottom: 1.6px solid #7A5B2B; transform: rotate(45deg) translate(-2px, -2px); margin: 0 6px 0 4px; transition: transform .2s; font-size: 0 !important; }
details.calm-more[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.calm-more[open] > summary { margin-bottom: 16px; }
details.st-more[open] { display: flex; flex-direction: column; gap: 16px; }
details.st-more[open] > summary { margin-bottom: 0; }
.calm-more[open] .calm-in { gap: 16px !important; }
/* the rest of the week: the day as a calm label above its lessons */
.wk-dlab { display: block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #7A5B2B; padding: 18px 0 6px; border-top: 1px solid rgba(28,27,24,0.08); margin-top: 6px; }
/* a choice you picked is unmistakable: filled dark, a gold tick, and a little press when tapped */
.choice { transition: background .15s, border-color .15s, color .15s, transform .1s; }
.choice:active { transform: scale(.97); }
.choice:has(input[type=radio]:checked) { background: #0E0E0E !important; border-color: #0E0E0E !important; color: #FAF8F2 !important; box-shadow: 0 8px 20px rgba(14,14,14,0.18); }
.choice:has(input[type=radio]:checked) span { color: #FAF8F2 !important; }
.choice:has(input[type=radio]:checked) > span:first-of-type::before { content: '✓\FE0E'; color: #D9BE8C; margin-right: 8px; font-weight: 600; }
.choice:has(input[type=checkbox]:checked) { border-color: #B8945B !important; background: #FBF5EA !important; }
.lg-toast.ok-t { background: #1F4D2C; }
.lg-toast { line-height: 1.45; }
tr.fresh-row td, tr.fresh-row { background: #EAF2EC !important; }
.fresh-tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: #2F6B3E; color: #FAF8F2; font: 500 10px/1.4 'Jost', sans-serif; letter-spacing: .14em; margin-right: 4px; vertical-align: 1px; }
.docs-dlg .docs-ask { display: flex; flex-direction: column; gap: 14px; }
.docs-dlg .docs-more { display: flex; gap: 22px; justify-content: center; }
.sa-b, td .sa-b, .t.stack td .sa-b, .t.stack td summary.sa-b { height: 40px !important; min-height: 40px !important; max-height: 40px; width: auto !important; min-width: 0 !important; padding: 0 18px !important; line-height: 1 !important; box-sizing: border-box; white-space: nowrap; }
.t.stack td:last-child { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
.t.stack td:last-child form.inline, .t.stack td:last-child details { margin: 0; }
.ppf-seg button, .ppf-seg [data-ppf-to] { white-space: nowrap; }
.ppf-seg [data-ppf-to] { letter-spacing: .04em !important; }
/* the week strip: day name and number both centred in their box, everywhere */
.wk-strip .wk-day { display: flex !important; flex-direction: column; align-items: center !important; justify-content: center; text-align: center !important; padding: 8px 0 !important; letter-spacing: 0 !important; text-transform: none; }
.wk-strip .wk-day .wk-d { display: block; width: 100%; text-align: center; letter-spacing: .08em !important; padding-left: .08em; font-size: 10px; text-transform: uppercase; }
.wk-strip .wk-day .wk-n { display: block; width: 100%; text-align: center; letter-spacing: 0 !important; font-variant-numeric: lining-nums; }
/* birthdays: only the months with a birthday, each as a date badge, the name and the age they turn */
.bd-year .bd-month[data-bd-empty] { display: none; }
a.bd-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); color: #1C1B18; text-decoration: none; }
.bd-badge { flex: none; width: 52px; height: 56px; border-radius: 14px; background: #0E0E0E; color: #FAF8F2; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.bd-badge b { font: 500 22px/1 'Cormorant Garamond', Georgia, serif; font-variant-numeric: lining-nums; }
.bd-badge i { font-style: normal; font-size: 10px; letter-spacing: .16em; color: #D9BE8C; margin-top: 4px; }
.bd-who { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bd-who b { font-weight: 500; font-size: 17px; }
.bd-who span { font-size: 14px; color: #59544B; }
.bd-go { color: #7A5B2B; font-size: 22px; }
details.dr-off > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 4px; }
details.dr-off > summary::-webkit-details-marker { display: none; }
details.dr-off > summary span { font-size: 14px; color: #59544B; }
form.jr-ed { position: relative; padding-top: 56px !important; }
.guard-dlg[open] { gap: 12px; }
.guard-dlg .btn { width: 100%; min-height: 52px; }
/* journal: title and date on top, VIEW and EDIT side by side under them */
.jr-row { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
.jr-row > .row { display: flex; gap: 22px !important; align-items: center; }
form.papers { position: relative; }
form.papers > .pp-x { position: sticky; top: 76px; margin-left: auto; z-index: 5; float: right; }
.pp-end { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pp-end .btn { min-height: 52px; }
/* milestones for staff: the same tiles the player sees; tap one to mark it, add the result or hide it */
.msa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 6px 0 4px; }
.msa-t { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 16px 10px 14px; border-radius: 20px; border: 0; background: #FFFDF8; box-shadow: inset 0 0 0 1px rgba(28,27,24,0.08); font: inherit; color: #1C1B18; cursor: pointer; }
.msa-t:active { transform: scale(.97); }
.msa-mk { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(184,148,91,0.45); display: grid; place-items: center; font: 500 18px/1 'Cormorant Garamond', Georgia, serif; color: #7A5B2B; }
.msa-n { font-size: 14px; line-height: 1.3; font-weight: 500; }
.msa-s { font-size: 12px; color: #59544B; }
.msa-t .ms-pbar { width: 70%; height: 4px; border-radius: 2px; background: #EDE5D7; overflow: hidden; }
.msa-t .ms-pbar i { display: block; height: 100%; background: #B8945B; }
.msa-t.on { background: radial-gradient(circle at 50% 0%, #3A2F1F 0%, #14120E 70%); color: #F4E9D6; box-shadow: none; }
.msa-t.on .msa-mk { border-color: #D9BE8C; color: #D9BE8C; background: #0E0E0E; }
.msa-t.on .msa-s { color: #D9BE8C; }
.msa-t.sug { box-shadow: inset 0 0 0 1.5px #B3261E; }
.msa-t.sug .msa-s { color: #B3261E; }
.msa-dlg .ms-adm {   gap: 14px; border: 0 !important;  }
.msa-dlg .ms-adm-t strong { font: 400 28px/1.15 'Cormorant Garamond', Georgia, serif !important; display: block; margin-right: 44px; }
.msa-dlg .ms-adm-a { display: flex; flex-direction: column; gap: 12px; }
.msa-dlg .ms-adm-a form.row { flex-direction: column; align-items: stretch !important; }
.msa-dlg .ms-adm { display: flex !important; flex-direction: column !important; grid-template-columns: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important; }
.msa-dlg .ms-adm::before { display: none !important; }
.msa-dlg .ms-adm-t, .msa-dlg .ms-adm-a { padding: 0 !important; margin: 0 !important; width: 100%; }
.msa-dlg .ms-adm-a { align-items: stretch !important; }
.msa-dlg .ms-adm-a form .f { padding: 0 !important; }
.msa-dlg .ms-adm-t, .msa-dlg .ms-adm-a { flex: none !important; }
.wh-card { display: flex; flex-direction: column; gap: 14px; }
.wh-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.wh-tag { flex: none; padding: 5px 10px; border-radius: 999px; font: 500 10px/1 'Jost', sans-serif; letter-spacing: .14em; }
.wh-tag.in { background: #F1EBE1; color: #7A5B2B; }
.wh-tag.cx { background: #FBEAE8; color: #B3261E; }
.wh-t { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wh-t b { font-weight: 500; } .wh-t span { font-size: 13px; color: #59544B; }
.wh-ok { flex: none; font-size: 12px; color: #2F6B3E; }
/* equipment by player: what they play with, when it is due, and their gear now, before and next */
.eq-pl { display: flex; flex-direction: column; gap: 16px; }
.eq-p { display: flex; flex-direction: column; gap: 16px; }
.eq-p[hidden], .eq-pane[hidden], .eq-card[hidden] { display: none !important; }
.eq-kvs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eq-kv { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #F6F1E8; }
.eq-kv i, .eq-d i { font-style: normal; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #7A5B2B; }
.eq-kv b { font-weight: 500; font-size: 15px; }
.eq-due { display: flex; gap: 10px; flex-wrap: wrap; }
.eq-d { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 16px; background: #EAF2EC; flex: 1 1 120px; }
.eq-d b { font-weight: 500; color: #2F6B3E; }
.eq-d.late { background: #FBEAE8; } .eq-d.late b { color: #B3261E; }
.eq-g { display: flex; flex-direction: column; gap: 6px; }
.eq-gh { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; padding-top: 6px; }
.eq-gi { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #FFFDF8; box-shadow: inset 0 0 0 1px rgba(28,27,24,0.08); }
.eq-gi > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; }
.eq-gi b { font-weight: 500; font-size: 15px; }
.eq-g-next .eq-gi { box-shadow: inset 0 0 0 1px rgba(184,148,91,0.5); background: #FBF5EA; }
.eq-g-past .eq-gi { opacity: .7; }
.eq-gm select { font-size: 13px; padding: 6px 8px; border-radius: 10px; }
.eq-none { font-size: 13px; }
details.eq-gadd > summary { list-style: none; display: inline-flex; }
details.eq-gadd > summary::-webkit-details-marker { display: none; }
.eq-gf { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; }
.eq-cchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.eq-cchips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: #F1EBE1; font: 500 13px/1 'Jost', sans-serif; color: #1C1B18; cursor: pointer; }
.eq-cchips button.on { background: #0E0E0E; color: #FAF8F2; }
.eq-pane[data-eqp=co] { display: flex; flex-direction: column; gap: 16px; }
/* the Circle for staff, in the members' look: a white card per post with its actions underneath */
.lc-adm-wrap { display: flex; flex-direction: column; gap: 14px; }
.lc-k[hidden] { display: none !important; }
.lc-adm { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 20px; background: #FFFDF8; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 8px 22px rgba(14,14,14,0.06); }
.lc-adm .eyebrow { font-size: 10px !important; }
.lc-adm .row, .lc-adm > form, .lc-adm .inline { flex-wrap: wrap; }
/* Grand Slam for staff: the percent, where they are, and the badges as tiles you can tap (award the coach ones) */
.gs-hero { display: flex; align-items: center; gap: 16px; margin: 6px 0; }
.gs-pct { font: 500 56px/1 'Cormorant Garamond', Georgia, serif; color: #7A5B2B; font-variant-numeric: lining-nums; }
.gs-of { font-size: 14px; line-height: 1.45; color: #59544B; } .gs-of b { color: #1C1B18; font-weight: 500; }
.gs-now { font-size: 14px; color: #59544B; } .gs-now b { color: #1C1B18; font-weight: 500; }
.gs-grid { grid-template-columns: 1fr 1fr !important; }
.gs-t svg { width: 58px; height: 58px; }
.gs-pl { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
.gs-t.on .gs-pl { color: #D9BE8C; }
.gs-dl { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.gs-dl .rv-sh { margin: 0 !important; }
.gs-dl form { width: 100%; }
#challenges .ch-adm .list-row:first-child, #challenges .ch-adm > .pbar:first-of-type { display: none; }
/* wellness levels */
.wl-lvl > summary { cursor: pointer; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.wl-lvl > summary::-webkit-details-marker { display: none; }
.wl-lvl > summary span { font-size: 14px; color: #59544B; }
.wl-lvl:not([open]) { padding-top: 18px !important; padding-bottom: 18px !important; }
.wl-lvf { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.wl-lv-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-lv-row[hidden], [data-lv-each][hidden] { display: none !important; }
.wl-lv { position: relative; }
.wl-lv input { position: absolute; opacity: 0; pointer-events: none; }
.wl-lv span { display: block; padding: 11px 18px; border-radius: 999px; background: #F1EBE1; font-size: 15px; cursor: pointer; }
.wl-lv input:checked + span { background: #0E0E0E; color: #FAF8F2; }
.wl-lv input:checked + span::before { content: '✓\FE0E  '; color: #D9BE8C; }
.wl-lv-h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; display: block; margin: 6px 0 8px; }
.wl-lvt { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; font: 500 10px/1.5 'Jost', sans-serif; letter-spacing: .12em; text-transform: uppercase; vertical-align: 2px; background: #F1EBE1; color: #7A5B2B; }
.wl-lvt.lv-advanced { background: #E9DCC4; } .wl-lvt.lv-pro { background: #0E0E0E; color: #D9BE8C; }
/* the same two- or three-way switch everywhere (equipment, weather history, the Circle) */
.eq-seg, .wh-seg, .lc-seg { display: flex; gap: 4px; padding: 4px; border-radius: 16px; background: #F1EBE1; }
.eq-seg > button, .wh-seg > button, .lc-seg > button { flex: 1; min-height: 44px; border: 0; border-radius: 12px; background: transparent; font: 500 14px/1.2 'Jost', sans-serif; color: #59544B; cursor: pointer; padding: 0 10px; }
.eq-seg > button[aria-selected=true], .wh-seg > button[aria-selected=true], .lc-seg > button[aria-selected=true] { background: #FFFDF8; color: #1C1B18; box-shadow: 0 1px 3px rgba(14,14,14,0.1); }
.co-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; }
[data-co-chips] ~ [hidden], tr[hidden] { display: none !important; }
/* a confirmed request shows the session itself: a little ticket with the day, time, coach and place */
.rq-tk { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: #FFFDF8; box-shadow: inset 0 0 0 1px rgba(184,148,91,0.4); margin: 6px 0 2px; }
.rq-tk-d { flex: none; width: 64px; height: 70px; border-radius: 16px; background: #0E0E0E; color: #FAF8F2; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rq-tk-d i { font-style: normal; font-size: 11px; letter-spacing: .18em; color: #D9BE8C; text-transform: uppercase; }
.rq-tk-d b { font: 500 30px/1 'Cormorant Garamond', Georgia, serif; font-variant-numeric: lining-nums; }
.rq-tk-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rq-tk-t b { font-weight: 500; font-size: 17px; }
.rq-tk-t span { font-size: 14px; color: #59544B; }
.rq-tk-t .rq-tk-m { color: #7A5B2B; font-size: 13px; }
.rq-tk-cal { align-self: flex-start; }
.rq-k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
details.rq-asked > summary { cursor: pointer; font-size: 13px; color: #7A5B2B; list-style: none; text-decoration: underline; text-underline-offset: 4px; }
details.rq-asked > summary::-webkit-details-marker { display: none; }
.rq-live:has(.rq-tk) .rk-road, .rq-live:has(.rq-tk) .rq-lbl { display: none !important; }

/* a finished practice: a soft green card, every word easy to read */
.pr-item.done { background: #EAF2EC !important; border-color: #B7CDB0 !important; color: #1C1B18 !important; }
.pr-item.done .pr-ti { color: #1C1B18 !important; }
.pr-item.done .pr-pl, .pr-item.done .pr-mi { color: #2F6B3E !important; opacity: 1 !important; }
.pr-item.done .pr-ok { background: #2F6B3E !important; color: #FAF8F2 !important; }
/* the coach's words: elegant, not oversized */
#coach-note .gr-quote { font-size: 21px !important; line-height: 1.4 !important; padding-left: 14px; margin: 4px 0 8px; }
@media (max-width: 420px) { #coach-note .gr-quote { font-size: 20px !important; } }
#coach-note .ftc-nv { font-size: 16px; }
/* Ready for the court: one line to open, a chevron to close again */
.next .nx-ready > summary { align-items: center !important; }
.next .nx-ready > summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 1.6px solid #B8945B; border-bottom: 1.6px solid #B8945B; transform: rotate(45deg); margin: 0 4px 4px 8px; transition: transform .2s; }
.next .nx-ready[open] > summary::after { transform: rotate(-135deg); margin-bottom: -2px; }
/* a little celebration after sending something you wrote */
.yay-dlg[open] { align-items: center; text-align: center;   }
.yay-ic {   border-radius: 50%;   display: grid; place-items: center;  margin: 0 auto; animation: yay-pop .45s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes yay-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.yay-dlg .rv-sh { margin: 4px 0 0 !important; }
.yay-dlg .body {  color: #59544B; }
.yay-dlg .btn { width: 100%;   }
/* Wellness in the top bar, on every member page: a heart and today's 0/3 */
.m-well { position: relative; }
.m-well svg { stroke: #7A5B2B !important; }
.m-well .m-well-n { font-style: normal;  letter-spacing: .02em; color: #7A5B2B; background: #F1EBE1; border-radius: 999px;  font-variant-numeric: lining-nums; }
.m-well.full svg { fill: #2F6B3E; stroke: #2F6B3E !important; }
.m-well.full .m-well-n { background: #EAF2EC; color: #2F6B3E; }
.m-well { padding: 0 6px !important; min-width: 40px; justify-content: center; }
.m-well .m-well-n { position: absolute; top: 2px; right: -8px; padding: 1px 5px; font-size: 10px; line-height: 1.3; }
@media (max-width: 640px) { header.m-head .m-navlinks { gap: 0 12px !important; } header.m-head .m-lang { flex: none; white-space: nowrap; } }
/* phones: the top bar keeps room for everything; the language shows as one small button (the other language) */
@media (max-width: 640px) {
  header.m-head .m-lang { font-size: 0 !important; gap: 0 !important; margin: 0 !important; }
  header.m-head .m-lang a.on { display: none !important; }
  header.m-head .m-lang a:not(.on) { font-size: 12px !important; letter-spacing: .14em;  border-radius: 999px; background: #F1EBE1; color: #59544B !important; text-decoration: none !important; }
}
@media (max-width: 640px) {
  header.m-head .m-lang { height: auto !important; align-self: center !important; display: inline-flex !important; align-items: center !important; }
  header.m-head .m-lang a:not(.on) { display: inline-flex !important; align-items: center; justify-content: center; min-height: 30px !important; min-width: 0 !important; height: 30px !important; line-height: 1 !important; padding: 0 10px !important; box-sizing: border-box; }
  header.m-head .m-navlinks > a.btn.small { padding: 0 12px !important; min-height: 36px !important; }
}
@media (max-width: 640px) {
  html body header.m-head .m-lang a:not(.on) {  min-height: 30px !important; height: 30px !important; }
  html body header.m-head .m-lang { height: auto !important; }
}
@media (max-width: 640px) {
  html body header.m-head .m-navlinks { gap: 0 6px !important; }
  html body header.m-head .m-msg { padding: 0 2px !important; min-width: 36px !important; justify-content: center; gap: 4px; }
  html body header.m-head .m-well { min-width: 38px !important; margin-right: 6px; }
  html body header.m-head .m-lang a:not(.on) { padding: 0 8px !important; }
}
.lg-sheet .lg-sheet-t { padding-right: 52px; }
/* Circle: a real Reply button that opens a roomy sheet */
.lc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lc-rbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #E4DCCD; background: #FFFDF8; font: 500 15px/1 'Jost', sans-serif; color: #1C1B18; cursor: pointer; }
.lc-rbtn svg { width: 18px; height: 18px; fill: none; stroke: #7A5B2B; stroke-width: 1.5; }
.lc-rq { font-style: italic; margin: -10px 0 18px; }
.lc-acts details.lc-rep { flex-basis: 100%; }
/* the month at a glance: played = green with a tick, coming up = gold, with a small key underneath */
.sv-month .mc-d.p { background: #EAF2EC !important; color: #1F4D2C !important; font-weight: 500 !important; }
.sv-month .mc-d.p i { position: absolute; top: 3px; right: 3px; left: auto !important; bottom: auto !important; width: 15px !important; height: 15px !important; margin: 0 !important; border-radius: 50%; background: #2F6B3E !important; color: #FAF8F2 !important; font-size: 9px !important; line-height: 15px; text-align: center; }
.sv-month .mc-d.u { background: #B8945B !important; color: #0E0E0E !important; font-weight: 600 !important; }
.sv-month .mc-d.u i { background: #0E0E0E !important; }
.sv-month .mc-d.on { background: #0E0E0E !important; color: #FAF8F2 !important; }
.sv-month .mc-d.today:not(.u):not(.p) { box-shadow: inset 0 0 0 1.5px #1C1B18; }
.mc-key { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 12px; color: #59544B; }
.mc-key span { display: inline-flex; align-items: center; gap: 6px; }
.mc-key i { width: 16px; height: 16px; border-radius: 5px; font-style: normal; font-size: 9px; display: grid; place-items: center; }
.mc-key .k-p { background: #EAF2EC; color: #2F6B3E; font-weight: 700; }
.mc-key .k-u { background: #B8945B; }
.mc-key .k-t { box-shadow: inset 0 0 0 1.5px #1C1B18; }
/* the List view: played sessions carry a green tick, coming ones a gold dot */
#played .list-row > span:first-child::before { content: '✓\FE0E'; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; background: #EAF2EC; color: #2F6B3E; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.rv-sheet .rv-send { border-radius: 999px !important; }
.vc-legacy { margin-bottom: 10px; }
.vc-h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; margin: 4px 0 8px; display: block; }
.vc-n { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.vc-n span { font-size: 13px; color: #59544B; }
details.vc-more > summary { cursor: pointer; font-size: 14px; color: #7A5B2B; text-decoration: underline; text-underline-offset: 4px; list-style: none; margin: 10px 0; }
details.vc-more > summary::-webkit-details-marker { display: none; }
.vc-sheet { max-height: 88vh; overflow: auto; }
/* Wellness: your week first, then your level on one line (CHANGE opens a sheet), then today */
.wl-lvl { display: flex !important; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 16px 20px !important; }
.wl-lv-k { flex-basis: 100%; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
.wl-lv-v { flex: 1; font-weight: 500; font-size: 17px; min-width: 0; }
.wl-lv-b { flex: none; }
.wl-lv-up { flex-basis: 100%; order: 3; font-size: 14px; color: #2F6B3E; }
#lvl-sheet .wl-lvf { padding-top: 0; }
.is-sheet .is-box { display: flex; flex-direction: column; gap: 14px; min-height: 120px; }
.is-sheet .is-box > .card { box-shadow: none !important; background: transparent !important; padding: 0 !important; border: 0 !important; margin: 0 !important; }
.is-sheet .is-full { display: block; position: static; clear: both; width: max-content; margin: 34px auto 4px; font-size: 11px; }
.is-sheet .is-box::after { content: ""; display: block; clear: both; }
.is-sheet .is-box, .is-sheet .is-box > *, .is-sheet .is-full { flex-shrink: 0; }
/* Your 3 for today: keep (♥), swap one (⇄), hide (eye) */
.w3-i .w3-row {  display: flex; align-items: center;    }
.w3-i .w3-row .wl-check { grid-column: auto; }
.w3-tools { display: inline-flex; align-items: center;  }
.w3-tools form { margin: 0; }
.w3-tools .wl-heart, .w3-ic {    border: 0;  display: inline-grid; place-items: center; cursor: pointer; padding: 0;  }
.w3-ic svg {   fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.w3-ic:active, .w3-tools .wl-heart:active { transform: scale(0.92); }
.w3-i.w3-swapping { opacity: 0.45; transition: opacity 0.2s; }
.w3-hint { display: block; font-size: 12px; margin-top: 8px; }
/* sections: one at a time */
.wl-switch-h { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; }
.wl-switch {  top: var(--hd-h, 64px); padding: 8px 0; }
.wl-switch a.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
.wl-switch a.wl-tab-fav { color: #B3261E; }
.wl-switch a.wl-tab-fav.on { background: #B3261E; color: #FFFFFF; }
.wl-sec[hidden] { display: none !important; }
/* pages */
.wl-pager .pg-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 10px; }
.wl-pager .pg-size { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #59544B; display: inline-flex; align-items: center; gap: 8px; }
.wl-pager select { min-height: 38px; border-radius: 10px; border: 1px solid #E2D9C8; background: #FFFFFF; padding: 0 10px; font-size: 15px; }
.wl-pgnav { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin: 14px 0 6px; }
.wl-pgnav .pg-b { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #E2D9C8; background: #FFFFFF; font-size: 24px; line-height: 1; color: #1C1B18; cursor: pointer; }
.wl-pgnav .pg-b:disabled { opacity: 0.3; }
.wl-pgnav .pg-at { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.wl-pgnav input { width: 56px; min-height: 40px; text-align: center; border: 1px solid #E2D9C8; border-radius: 10px; font-size: 16px; background: #FFFFFF; }
.wl-pgnav .pg-x { flex-basis: 100%; text-align: center; }
.wl-fav-empty { padding: 10px 0; }
.w3-more-t { grid-column: 2; font-size: 12px; color: #59544B; margin-top: -2px; }
.hear-l { font-size: 11px !important; text-transform: none; letter-spacing: 0.06em !important; color: #59544B !important; }
.wl-aff .hear-l { color: #D9C49C !important; }
.hear-steps { margin: 6px 0 14px; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.hear-steps li b { display: block; font-size: 16px; } .hear-steps li span { color: #59544B; font-size: 14px; line-height: 1.5; }
.jr-how { margin-top: 10px; text-align: left; background: #FFFFFF; border-radius: 14px; padding: 4px 16px; box-shadow: 0 0 0 1px #EEE7DA; }
.jr-how summary { cursor: pointer; padding: 12px 0; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #7A5B2B; list-style: none; }
.jr-how summary::-webkit-details-marker { display: none; }
.jr-how summary::after { content: ' ›'; } .jr-how[open] summary::after { content: ' ✕'; }
.jr-how-l { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin: 8px 0 14px; }
.jr-how-l li b { display: block; } .jr-how-l li span { color: #59544B; font-size: 14px; }
.pg-seg {  gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 10px 0 2px; padding: 4px; background: #F1EBE1; border-radius: 999px; width: max-content; max-width: 100%; }
.pg-seg::-webkit-scrollbar { display: none; }
.pg-seg a { flex: none;  border-radius: 999px;   color: #59544B; text-decoration: none;  }
.pg-seg a.on { background: #0E0E0E; color: #FAF8F2; }
.w3-i .w3-row { flex-wrap: nowrap; gap: 8px; }
.w3-i .w3-row .wl-check { flex: 0 1 auto; min-width: 0; width: auto; }

.w3-more { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.w3-more .w3-hint { margin-top: 2px; }
@media (max-width: 360px) { .w3-i .w3-row { flex-wrap: wrap; } }
.w3-i .w3-row .wl-check span { white-space: nowrap; } .w3-i .w3-row .wl-check { padding-right: 14px; } 
.w3-i .w3-row { grid-column: 1 / -1; justify-content: flex-start; padding-left: 76px; } @media (max-width: 380px) { .w3-i .w3-row { padding-left: 0; justify-content: space-between; } }
.w3-i .w3-row .wl-check i { flex: none; }
.wl-switch { flex-wrap: wrap; position: static; overflow: visible; } .wl-switch a { min-height: 38px; padding: 0 14px; font-size: 11px; }
.dr-pair { display: flex; align-items: flex-end; gap: 10px; grid-column: 1 / -1; }
.dr-pair .f { flex: 1 1 0; min-width: 0; } .dr-pair[hidden] { display: none; }
.dr-arrow { padding-bottom: 14px; color: #B8945B; font-size: 18px; }
html[data-cv="day"] main .cal, html[data-cv="day"] main .cal-hols, html[data-cv="day"] main .wk-admin, html[data-cv="day"] main .cal-mnav { display: none !important; }
html[data-cv="week"] main .cal-mnav { display: none !important; }
html:not([data-cv="day"]) main .day-nav, html:not([data-cv="day"]) main .day-quick { display: none !important; }
.cal-mnav, .day-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 10px; }
.cal-mname { position: relative; display: inline-flex; align-items: center; cursor: pointer; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; color: #1C1B18; }
.cal-mname i { font-style: normal; font-size: 13px; color: #B8945B; font-family: inherit; }
.cal-mname input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.day-nav-t { display: flex; flex-direction: column; align-items: center; } .day-nav-t b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 28px; font-weight: 500; } .day-nav-t span { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: #7A5B2B; }
.day-quick { display: flex; gap: 6px; justify-content: center; margin-bottom: 12px; }
.day-quick a { padding: 9px 16px; border-radius: 999px; background: #F1EBE1; color: #1C1B18; text-decoration: none; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.day-quick a.on { background: #0E0E0E; color: #FAF8F2; }
.f-hint { display: block; font-size: 12px; letter-spacing: 0; text-transform: none; color: #59544B; margin-top: 6px; }
.sv-seg.cv-seg { grid-template-columns: repeat(3, 1fr) !important; display: grid; }
.has-fx { position: relative; }
.fold-close.in-card { position: absolute; top: 14px; right: 14px; z-index: 2; }
.has-fx > .eyebrow:first-of-type, .has-fx > span.eyebrow { padding-right: 52px; }
.draft-btn { margin-left: 4px; }
.draft-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: 12px; background: #F1EBE1; color: #7A5B2B; font-size: 14px; margin-bottom: 8px; }
.pr-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-filter button { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 0; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(28,27,24,0.12); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #1C1B18; cursor: pointer; }
.pr-filter button.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
.pr-search input { min-height: 44px; }
.pr-list { display: flex; flex-direction: column; gap: 10px; }
.pr-it { background: #FFFFFF; border-radius: 18px; box-shadow: 0 1px 0 rgba(28,27,24,0.04), 0 0 0 1px #EEE7DA; }
.pr-it[hidden] { display: none; }
.pr-it summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; }
.pr-it summary::-webkit-details-marker { display: none; }
.pr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; } .pr-t b { font-weight: 500; font-size: 17px; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 6px; } .pr-meta i { font-style: normal; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #F1EBE1; color: #7A5B2B; }
.pr-pl.pl-mind { background: #EEE9F4 !important; color: #4F4470 !important; } .pr-pl.pl-body { background: #EAF2EC !important; color: #2F6B3E !important; } .pr-pl.pl-game { background: #F1EBE1 !important; color: #7A5B2B !important; }
.pr-hid { background: #F4E4E2 !important; color: #B3261E !important; }
.pr-it.off { opacity: 0.85; }
.pr-body { padding: 0 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.pr-acts { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; } .pr-acts form { margin: 0; }
.pr-del { color: #B3261E !important; }
.pr-more { align-self: center; }
details.pr-it > summary { padding: 16px 18px !important; display: flex !important; align-items: center; }
details.pr-it > summary::after { content: '⌄'; color: #B8945B; font-size: 18px; margin-left: 2px; }
details.pr-it[open] > summary::after { content: '⌃'; }
details.pr-it > .fold-close { display: none; }
.pr-it .wl-heart { flex: none; }
.wa-seg { margin: 4px 0; }
html[data-wav="member"] .wa-acts, html[data-wav="member"] .wa-chips, html[data-wav="member"] .wa-add, html[data-wav="member"] .wa-set { display: none !important; }
html[data-wav="member"] .wa-it.wa-off { display: none !important; }
.wa-it.wa-off { opacity: 0.7; }
.wa-list { display: flex; flex-direction: column; gap: 10px; }
.wa-chips { display: inline-flex; gap: 4px; } .wa-chips i { font-style: normal; font-size: 10px; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 999px; }
.wa-es-ok { background: #EAF2EC; color: #2F6B3E; } .wa-es-no { background: #F1EBE1; color: #7A5B2B; }
.wa-acts { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin-top: 10px; } .wa-acts form { margin: 0; }
.wa-lang { display: flex; align-items: center; gap: 6px; } .wa-lang button { min-height: 34px; padding: 0 12px; border-radius: 999px; border: 0; background: #F1EBE1; font-size: 11px; letter-spacing: 0.12em; cursor: pointer; } .wa-lang button.on { background: #0E0E0E; color: #FAF8F2; }
.wa-sec[hidden] { display: none; }
.wa-es summary { margin: 4px 0; }
.sv-seg.wa-seg { grid-template-columns: 1fr 1fr !important; max-width: 420px; }
/* admin Circle: each post as a card, like members see it */
.lc-adm-wrap .lc-adm, .tier-act .lc-adm { background: #FFFFFF; border-radius: 18px; padding: 18px; margin: 10px 0; box-shadow: 0 0 0 1px #EEE7DA; display: flex; flex-direction: column; gap: 10px; border-top: 0 !important; }
.lc-adm .row { flex-wrap: wrap; align-items: center; }
.lc-lnk { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.lc-adm .body { overflow-wrap: anywhere; }
.ch-seg { margin: 6px 0 4px; } .ch-seg b { font-weight: 500; margin-left: 4px; }
.ch-list { display: flex; flex-direction: column; gap: 10px; }
.ch-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; background: #FFFFFF; border-radius: 18px; box-shadow: 0 0 0 1px #EEE7DA; text-decoration: none; color: #1C1B18; }
.ch-card.ch-pending { box-shadow: 0 0 0 1.5px #B8945B; }
.ch-av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: grid; place-items: center; font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; }
.ch-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; } .ch-main b { font-weight: 500; font-size: 17px; }
.ch-who { font-size: 12px; letter-spacing: 0.08em; color: #7A5B2B; text-transform: uppercase; }
.ch-st { font-size: 13px; color: #59544B; } .ch-approved .ch-st { color: #2F6B3E; } .ch-declined .ch-st { color: #B3261E; }
.ch-acts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 6px; } .ch-acts form { margin: 0; }
.ch-go { color: #B8945B; font-size: 22px; align-self: center; }
.ch-bar { display: block; max-width: 260px; }
.pr-filter a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(28,27,24,0.12); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #1C1B18; text-decoration: none; }
.pr-filter a.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
.ch-card { flex-direction: row !important; } .ch-seg a { padding: 10px 12px; }
/* every list shown as rows of cards on a phone: the name on top, then each detail on its own line, label left, value right. The same everywhere */
@media (max-width: 720px) {
  table.stack tr:not(:first-child:has(th)) { display: grid !important; grid-template-columns: 112px 1fr; gap: 8px 14px; padding: 16px 0 !important; align-items: baseline; }
  table.stack td { grid-column: 1 / -1; }
  table.stack td:first-child { font-size: 17px !important; font-weight: 500; padding-bottom: 2px !important; }
  table.stack td[data-l] { display: contents !important; }
  table.stack td[data-l]::before { grid-column: 1; font-size: 10px !important; letter-spacing: 0.16em !important; color: #59544B; padding-top: 3px; }
  table.stack td[data-l] > *, table.stack td[data-l] { text-align: left !important; }
  table.stack td[data-l] > .tdv { grid-column: 2; min-width: 0; overflow-wrap: anywhere; }
  table.stack td a { padding: 4px 0 !important; }
}
.pf-hide { display: none !important; }
.pf-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap;  z-index: 5; }
.pf-q, .lt-q { flex: 1 1 200px; min-height: 44px; border: 1px solid #E2D9C8; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; background: #FFFFFF; }

.pf-pick summary { list-style: none;  display: inline-flex; align-items: center; gap: 8px;  border-radius: 12px; background: #FFFFFF; box-shadow: 0 0 0 1px #E2D9C8; cursor: pointer;  letter-spacing: 0.06em; }
.pf-pick summary::-webkit-details-marker { display: none; } .pf-pick summary::after { content: '⌄'; color: #B8945B; }
.pf-pick summary.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
.pf-menu { position: absolute;  top: calc(100% + 6px); width: min(320px, 86vw); max-height: 60vh; overflow: auto; background: #FFFDF8; border-radius: 16px; box-shadow: 0 16px 40px rgba(14,14,14,0.18); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.pf-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: 15px; }
.pf-opt input { width: 20px; height: 20px; accent-color: #7A5B2B; }
.pf-opt.on { background: #F1EBE1; color: #7A5B2B; font-weight: 500; }
.pf-all { text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 15px; cursor: pointer; } .pf-all.on { background: #F1EBE1; font-weight: 500; }
.pf-done { margin-top: 6px; align-self: stretch; }
.lt-bar { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; }
.lt-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lt-chips button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(28,27,24,0.12); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.lt-chips button.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
.lt-nav .pg-size { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #59544B; display: inline-flex; gap: 8px; align-items: center; }
.lt-nav select { min-height: 38px; border-radius: 10px; border: 1px solid #E2D9C8; background: #FFFFFF; padding: 0 8px; font-size: 15px; }
[hidden].list-row, details.list-row[hidden] { display: none !important; }
/* Today: calmer to-do cards. Folded to one line, a thin red or gold line on the left, space between each */
:is([data-app=coach], [data-app=admin]) main .card.td-fold { background: #FFFDF8 !important; padding: 0 !important; overflow: hidden; margin: 14px 0 !important; }
:is([data-app=coach], [data-app=admin]) main .card.tier-urgent.td-fold { box-shadow: inset 4px 0 0 #B3261E, 0 1px 2px rgba(14,14,14,0.04), 0 8px 22px rgba(14,14,14,0.06) !important; }
.card.td-fold > .td-body { display: none; padding: 0 22px 20px; flex-direction: column; gap: 12px; }
.card.td-fold.td-open > .td-body { display: flex; }
.card.td-fold[data-tag]::before { display: none !important; }
.td-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 20px; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: #1C1B18; }
.td-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #B8945B; } .tier-urgent .td-dot { background: #B3261E; }
.td-t { flex: 1; min-width: 0; font-size: 15px; letter-spacing: 0.02em; }
.td-n { flex: none; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: #F1EBE1; color: #7A5B2B; display: inline-grid; place-items: center; font-size: 13px; }
.tier-urgent .td-n { background: #FBE9E7; color: #B3261E; }
.td-chev { color: #B8945B; transition: transform .2s; } .td-open .td-chev { transform: rotate(180deg); }
.td-seg { display: flex; flex-direction: column;   }
/* more room between the cards on Today */
:is([data-app=coach], [data-app=admin]) main .st-more > div > .card, :is([data-app=coach], [data-app=admin]) main .calm-more .card { margin: 16px 0 !important; }
:is([data-app=coach], [data-app=admin]) main > .m-wrap > .card + .card, :is([data-app=coach], [data-app=admin]) main .m-wrap > .card + .card { margin-top: 16px; }

.pf-pick summary { height: 44px !important; min-height: 44px !important; padding: 0 16px !important; font-size: 13px !important; line-height: 1 !important; border: 0 !important; box-sizing: border-box; }
.pf-bar .pf-q { flex: 1 1 180px; }
input.lt-q, input.pf-q { height: 44px !important; min-height: 44px !important; max-height: 44px; padding: 0 14px !important; border: 1px solid #E2D9C8 !important; border-radius: 12px !important; box-sizing: border-box; width: 100%; }
.td-body > .eyebrow:first-child, .td-body > div:first-child > .eyebrow:only-child, .td-body > .tier-tag:first-child { display: none !important; }
.td-seg .lt-chips button { min-height: 34px; }
@media (max-width: 720px) { table.stack tr td[data-l]:last-child, .t.stack tr td[data-l]:last-child { display: contents !important; } }
.pf-menu {   z-index: 30; }
.pf-pick[open] { z-index: 31; }
.pf-pick { position: static; } .pf-bar { position: relative; } .pf-menu { left: 0 !important; right: 0 !important; width: auto !important; max-width: 420px; margin-left: auto; }
.lm-row, .lm-adm { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; }
.lm-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lm-sides { display: flex; flex-wrap: wrap; gap: 6px; } .lm-sides span { font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.lm-ok { background: #EAF2EC; color: #2F6B3E; } .lm-w { background: #F1EBE1; color: #7A5B2B; } .lm-no { background: #FBE9E7; color: #B3261E; }
.pill.lm-confirmed { background: #EAF2EC; color: #2F6B3E; } .pill.lm-declined { background: #FBE9E7; color: #B3261E; }
.lm-f { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; } .lm-f input[name=note] { min-height: 44px; border: 1px solid #E2D9C8; border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; background: #FFFFFF; }
/* rain day: three clear steps, chips to tap, two big choices */
.rd-step { position: relative;  }
.rd-n { position: absolute; left: 18px;  width: 32px; height: 32px; border-radius: 50%; background: #0E0E0E; color: #FAF8F2; display: grid; place-items: center;   }
.rd-n3 { position: static; margin: 14px 0 0 -46px; }
.rd-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rd-chip { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(28,27,24,0.12); color: #1C1B18; text-decoration: none; font-size: 13px; letter-spacing: 0.04em; cursor: pointer; }
.rd-chip.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
.rd-date input { position: absolute; inset: 0; opacity: 0; width: 100%; cursor: pointer; }
.rd-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rd-row { display: grid; grid-template-columns: 26px 74px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid #EEE7DA; cursor: pointer; }
.rd-row input { width: 22px; height: 22px; accent-color: #7A5B2B; }
.rd-row.off { opacity: 0.45; }
.rd-time { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; }
.rd-who { display: flex; flex-direction: column; } .rd-who b { font-weight: 500; } .rd-who span { font-size: 13px; color: #59544B; }
.rd-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rd-mode { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 0 0 1px #E2D9C8; cursor: pointer; }
.rd-mode input { position: absolute; opacity: 0; pointer-events: none; }
.rd-mode.on { box-shadow: 0 0 0 2px #0E0E0E; background: #FFFDF8; }
.rd-mode span { font-size: 13px; color: #59544B; line-height: 1.4; } .rd-mode b { font-weight: 500; font-size: 16px; }
.rd-mi { font-size: 22px !important; color: #7A5B2B !important; }
.rd-tell { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #4A463F; } .rd-tell input { width: 20px; height: 20px; accent-color: #7A5B2B; flex: none; }
.btn.rd-cx { background: #B3261E !important; color: #FFFFFF !important; }
.rd-place[hidden] { display: none; }
.rd-step .eyebrow[class*='ic-']::before, .rd-step > .eyebrow::before { display: none !important; }
.rd-step > .eyebrow { padding-left: 0 !important; }
.rd-n { font-family: 'Jost', sans-serif !important; font-size: 15px !important; font-weight: 500; top: 18px !important; }
.rd-step { padding-left: 62px !important; }
.rd-h3 { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px -46px; } .rd-h3 .rd-n3 { position: static !important; margin: 0 !important; flex: none; }
.pg-seg { display: grid !important; grid-template-columns: repeat(3, 1fr); width: 100% !important; box-sizing: border-box; }
.pg-seg a { padding: 10px 6px !important; font-size: 10px !important; letter-spacing: 0.1em !important;  white-space: normal !important; line-height: 1.25; display: flex; align-items: center; justify-content: center; }
.ms-row > [hidden] { display: none !important; }
.ms-all { display: block; margin: 14px auto 4px; }
.ms-suggest { margin-top: 10px; }
.has-fx-plain { padding-top: 50px !important; }
.has-fx-plain > .fold-close.in-card { top: 2px; right: 0; }
details:has(> .fold-close.over-card) { position: relative; }
.fold-close.over-card { position: absolute; right: 12px; z-index: 3; }
details:not([open]) > .fold-close.over-card { display: none; }
.fy-sheet .calm-in { display: flex; flex-direction: column; gap: 14px; }
.fy-sheet .calm-in > .card, .fy-sheet .calm-in > * { margin: 0 !important; }
.tabbar .m-more > div #fy-link { grid-column: 1 / -1; background: #0E0E0E !important; color: #FAF8F2 !important; display: flex !important; justify-content: space-between; align-items: center; }
.tabbar .m-more > div #fy-link .mo-n { background: #B8945B; color: #0E0E0E; border-radius: 11px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; font-size: 12px; }
.tabbar .m-more > summary.has-fy { position: relative; }
.tabbar .m-more > summary.has-fy::after { content: ''; position: absolute; top: 6px; right: calc(50% - 20px); width: 9px; height: 9px; border-radius: 50%; background: #B8945B; }
.mto { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.mto-b { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; padding: 16px; border-radius: 18px; border: 0; background: #FFFFFF; box-shadow: 0 0 0 1px #E2D9C8; cursor: pointer; font: inherit; color: #1C1B18; }
.mto-b b { font-weight: 500; font-size: 15px; } .mto-b span:last-child { font-size: 13px; color: #59544B; line-height: 1.4; }
.mto-b.on { box-shadow: 0 0 0 2px #0E0E0E; background: #FFFDF8; }
.mto-av { width: 38px; height: 38px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: grid; place-items: center; font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px; } .mto-av.gold { background: #B8945B; color: #0E0E0E; }
[data-mto-pane][hidden] { display: none !important; }
@media (max-width: 360px) { .mto { grid-template-columns: 1fr; } }
.to-legacy { color: #7A5B2B; font-weight: 500; letter-spacing: 0.08em; font-size: 10px; }
.st-ask { display: inline-block; margin-top: 10px; font-size: 13px; letter-spacing: 0.08em; color: #7A5B2B; text-decoration: none; border-bottom: 1px solid #B8945B; padding-bottom: 2px; } .st-ask b { font-weight: 500; color: #B3261E; }
.em-b { border: 0; background: #FBE9E7; color: #B3261E; border-radius: 999px; padding: 6px 12px; font-size: 11px; letter-spacing: 0.1em; cursor: pointer; }
.tabbar.admin details > div #fy-link { grid-column: 1 / -1;   display: flex !important; justify-content: space-between; align-items: center; }
.tabbar.admin details > div #fy-link .mo-n { background: #B8945B; color: #0E0E0E; border-radius: 11px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; font-size: 12px; }
.st-more-link { display: block; text-align: center; margin: 22px 0 6px; color: #7A5B2B; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
.st-more-sheet .calm-in > * { margin: 0 0 14px !important; }
/* today, live: soft dots on one line, each step in words underneath */
.lday { display: grid !important; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0 !important; margin-top: 10px !important; }
.lday li { position: relative; display: flex !important; flex-direction: column; align-items: center; text-align: center; gap: 8px !important; font-size: 13px !important; color: #59544B; padding: 0 4px; background: none !important; }
.lday li::before { content: '' !important; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px !important; border-radius: 2px; background: #E8E0D2 !important; z-index: 0; }
.lday li:first-child::before { display: none; }
.lday li.done::before, .lday li.nx::before { background: #B8945B !important; }
.lday li > i { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: #FFFFFF; box-shadow: inset 0 0 0 2px #E8E0D2; display: grid; place-items: center; font-style: normal; font-size: 14px; color: #FFFFFF; }
.lday li.done > i { background: #B8945B; box-shadow: none; }
.lday li.nx > i { box-shadow: inset 0 0 0 2px #B8945B; animation: lday-p 1.6s ease-in-out infinite; }
.lday li.nx > i::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #B8945B; }
.lday li.nx { color: #1C1B18; font-weight: 500; } .lday li.done { color: #1C1B18; }
.lday > li > span { color: inherit !important; }
@keyframes lday-p { 50% { box-shadow: inset 0 0 0 2px #B8945B, 0 0 0 6px rgba(184,148,91,0.18); } }
@media (prefers-reduced-motion: reduce) { .lday li.nx > i { animation: none; } }
.late-here { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 6px; } .late-here .btn { align-self: flex-start; }
.pf-bar { grid-column: 1 / -1; width: 100%; margin: 4px 0 8px; } .w3-sheet #w-three { box-shadow: none !important; padding: 0 !important; background: transparent !important; }
.w3-sheet .w3-top { padding-right: 60px; }

/* Breathing space above My suggestions */
#my-suggestions, .ms-mine { margin-top: 36px !important; padding-top: 22px; border-top: 1px solid rgba(184,148,91,.25); }

/* Coach profile sheet: photo centered, name, where from, certification, short intro */
.yc-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 6px; }
.yc-hero .yc-big { width: 112px !important; height: 112px !important; flex: 0 0 112px; border: 2px solid #B8945B; margin-bottom: 8px; }
.yc-hero .yc-big span { font-size: 38px; }
.yc-hero .rgx-h { margin: 0; }
.yc-from { color: #59544B; font-size: 15px; }
.yc-cert { display: inline-block; margin-top: 4px; padding: 6px 14px; border-radius: 999px; background: #F1EBE1; color: #7A5B2B; font-size: 13px; letter-spacing: .04em; }
.yc-bio { margin: 4px 0 0; font-size: 17px; line-height: 1.6; text-align: center; }
#yc-msg textarea { min-height: 150px; border-radius: 18px; background: #F1EBE1; border: 0; padding: 16px 18px; font-size: 17px; }

/* Buy more sessions: the chosen package and length show in black with gold */
#book-more .choice:has(input:checked) { background: #0E0E0E !important; border-color: #0E0E0E !important; color: #B8945B !important; }
#book-more .choice:has(input:checked) span, #book-more .choice:has(input:checked) .muted { color: #B8945B !important; }
.pk-pick { align-self: flex-start; background: #0E0E0E; color: #B8945B; border-radius: 999px; padding: 10px 18px; font-size: 14px; letter-spacing: .04em; }

/* Wellness: your level as one quiet line near the top, with CHANGE */
.wl-lvl-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 2px 2px 4px; font-size: 15px; }
.wl-lvl-line .wl-lv-k { flex-basis: auto; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
.wl-lvl-line .wl-lv-v { color: #0E0E0E;  }
.wl-lvl-line .wl-lv-b { font-size: 12px; min-height: 32px; }
.wl-lvl-line .wl-lv-up { flex-basis: 100%; font-size: 13px; color: #2F6B3E; }
/* My wins: a calm one-line card at the bottom */
.wl-hist { padding: 16px 22px !important; }
.wl-hist > summary .eyebrow { font-size: 12px !important; letter-spacing: .24em; }
.wh-count { font-size: 14px; color: #2F6B3E; }
.yc-sheet .yc-hero { display: flex !important; flex-direction: column; align-items: center !important; text-align: center; width: 100%; }
.yc-sheet .yc-hero > * { text-align: center; }
#yc-msg textarea { font-family: inherit; width: 100%; box-sizing: border-box; }
.wl-lvl-line .wl-lv-v { font-size: 15px; font-weight: 500; }
.wl-lvl-line .wl-lv-b { margin-left: auto; }
#w-history { padding: 12px 22px !important; min-height: 0 !important; }

#w-history:not([open]) { gap: 0 !important; } #w-history > summary { padding: 0 !important; min-height: 44px !important; }
.w3d-sheet { display: flex; flex-direction: column;  }
.w3d-sheet:not([open]) { display: none; }

.w3-t { cursor: pointer; }
.w3d-sheet .btn { border-radius: 999px; min-height: 56px; }
/* message sheet from the bottom */
.ms-sheet { display: flex; flex-direction: column; gap: 16px; }
.ms-sheet:not([open]) { display: none; }
.ms-form { display: flex; flex-direction: column; gap: 14px; }
.ms-to { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ms-to:has(.ms-b:only-child) { grid-template-columns: 1fr; }
.ms-b { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1.5px solid #E6DED0; border-radius: 18px; background: #FFFDF8; cursor: pointer; transition: border-color .15s, background .15s; }
.ms-b input { position: absolute; opacity: 0; pointer-events: none; }
.ms-b b { font-size: 16px; font-weight: 500; }
.ms-b > span:last-child { font-size: 14px; color: #59544B; line-height: 1.45; }
.ms-b:has(input:checked) { border-color: #0E0E0E; background: #0E0E0E; color: #FAF8F2; }
.ms-b:has(input:checked) > span:last-child { color: #D9C6A3; }
.ms-b:has(input:checked) .mto-av { background: #B8945B; color: #0E0E0E; }
.ms-b:active { transform: scale(.98); }
.ms-hint { font-size: 13px; margin-top: -4px; }
.ms-write { display: flex; flex-direction: column; gap: 12px; }
.ms-write[hidden] { display: none; }
.ms-write textarea { min-height: 140px; border-radius: 18px; background: #F1EBE1; border: 0; padding: 16px 18px; font-size: 17px; font-family: inherit; width: 100%; box-sizing: border-box; }
.ms-write .btn { border-radius: 999px; min-height: 56px; }
.ms-all { align-self: center; }
/* packages & billing sheet */
.bs-sheet { display: flex; flex-direction: column; gap: 14px; }
.bs-sheet:not([open]) { display: none; }
.bs-sheet .rgx-h { margin: 0; padding-right: 56px; }
.bs-bar { height: 10px; border-radius: 999px; background: #F1EBE1; overflow: hidden; }
.bs-bar i { display: block; height: 100%; background: #B8945B; border-radius: 999px; }
.bs-list { display: flex; flex-direction: column; border-top: 1px solid #EEE7DA; }
.bs-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid #EEE7DA; font-size: 15px; }
.bs-row > span { color: #59544B; }
.bs-row b { font-weight: 500; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.bs-row small { font-weight: 400; font-size: 13px; color: #59544B; }
.bs-fit { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; background: #0E0E0E; color: #FAF8F2; }
.bs-fit .eyebrow { color: #B8945B !important; }
.bs-fit b { font-size: 18px; font-weight: 500; color: #B8945B; }
.bs-fit .muted { color: #D9C6A3 !important; font-size: 13px; }
.bs-sheet .btn { border-radius: 999px; min-height: 56px; display: grid; place-items: center; }
.bs-all { align-self: center; }
.bs-safe { font-size: 12px; text-align: center; }
.bs-sheet > * { flex-shrink: 0; } .bs-bar { min-height: 10px; }
.ms-sheet > *, .yc-sheet > *, .w3d-sheet > * { flex-shrink: 0; }

/* every field uses the site font (date and month pickers fell back to a typewriter font) */
input, textarea, select, button { font-family: inherit; }
/* opening SEE MORE in the practice list made the page very wide: keep it to the screen */
.pr-more[open] { align-self: stretch !important; width: 100%; min-width: 0; max-width: 100%; }
.pr-sec, .pr-lib .pr-row, .pr-card .pr-row { min-width: 0; max-width: 100%; }

/* admin calendar filters */
.calf { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 6; }
.calf-search { display: flex; gap: 8px; }
.calf-search input { flex: 1 1 auto; min-width: 0; min-height: 46px; border: 1px solid #E2D9C8; border-radius: 12px; padding: 0 14px; font-size: 16px; background: #FFFFFF; }
.calf-search .btn { border-radius: 12px; min-height: 46px; }
.calf-row { display: flex; flex-wrap: wrap; gap: 8px; }
.calf-dd { position: relative; }
.calf-dd > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid #E2D9C8; background: #FFFFFF; font-size: 12px; letter-spacing: .16em; color: #0E0E0E; user-select: none; }
.calf-dd > summary::-webkit-details-marker { display: none; }
.calf-dd > summary i { font-style: normal; font-size: 11px; color: #7A5B2B; transition: transform .15s; }
.calf-dd[open] > summary i { transform: rotate(180deg); }
.calf-dd > summary b { min-width: 20px; height: 20px; border-radius: 999px; background: #B8945B; color: #0E0E0E; font-size: 11px; letter-spacing: 0; display: inline-grid; place-items: center; padding: 0 6px; font-weight: 600; }
.calf-dd.on > summary { background: #0E0E0E; border-color: #0E0E0E; color: #B8945B; }
.calf-pop { position: absolute; top: calc(100% + 6px); left: 0; width: min(340px, calc(100vw - 32px)); max-height: min(420px, 60vh); display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #FFFDF8; border: 1px solid #E6DED0; border-radius: 18px; box-shadow: 0 18px 40px rgba(14,14,14,.14); z-index: 30; }
.calf-row { position: relative; }
@media (max-width: 699px) { .calf-dd { position: static; } .calf-pop { left: 0; right: 0; width: auto; } }
.calf-find { min-height: 40px; border: 1px solid #E2D9C8; border-radius: 10px; padding: 0 12px; font-size: 15px; background: #FFFFFF; flex: none; }
.calf-opts { overflow-y: auto; display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.calf-o { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-bottom: 1px solid #F1EBE1; cursor: pointer; font-size: 15px; }
.calf-o[hidden] { display: none; }
.calf-o input { width: 20px; height: 20px; accent-color: #0E0E0E; flex: none; }
.calf-o span { flex: 1 1 auto; min-width: 0; }
.calf-o small { color: #59544B; font-size: 12px; white-space: nowrap; }
.calf-acts { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex: none; padding-top: 4px; }
.calf-acts .btn { border-radius: 999px; }
.calf-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calf-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: #0E0E0E; color: #B8945B; font-size: 13px; text-decoration: none; }
.calf-chip span { color: #FAF8F2; font-size: 11px; }
.calf-clear { margin-left: 4px; }
.calf-sum { margin: 0; font-size: 15px; color: #59544B; }
.calf-sum b { color: #0E0E0E; font-weight: 600; }
.cal-bld { font-weight: 500; }
.calf .calf-dd > summary { padding: 0 16px !important; height: 42px !important; min-height: 42px !important; box-sizing: border-box; white-space: nowrap; line-height: 1 !important; margin: 0 !important; width: auto !important; }
@media (max-width: 699px) { form.cal-jump { display: none !important; } }

/* coach Today: arrival buttons, big and only before the lesson */
.ow2 { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; margin-top: 6px; border-radius: 18px; background: #F1EBE1; }
.ow2-h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
.ow2-f { margin: 0; }
.ow2-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));  }
.ow2-c { min-height: 52px; border-radius: 14px; border: 1.5px solid #0E0E0E; background: #FFFFFF; color: #0E0E0E; font: 500 16px/1 'Jost', sans-serif; cursor: pointer; }
.ow2-c:active { transform: scale(.96); background: #0E0E0E; color: #B8945B; }
.ow2-here { width: 100%; min-height: 56px; border-radius: 999px; border: 0; background: #0E0E0E; color: #B8945B; font: 500 14px/1 'Jost', sans-serif; letter-spacing: .2em; cursor: pointer; }
.ow2-here:active { transform: scale(.98); }
.ow2-ok { font-size: 15px; color: #2F6B3E; font-weight: 500; }
/* new message to many */
.bm-who { display: flex; flex-wrap: wrap; gap: 8px; }
.bm-w input { position: absolute; opacity: 0; pointer-events: none; }
.bm-w span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid #E2D9C8; background: #FFFFFF; font-size: 14px; cursor: pointer; }
.bm-w input:checked + span { background: #0E0E0E; border-color: #0E0E0E; color: #B8945B; }
.bm-form {  flex-direction: column; gap: 14px; }
.bm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.bm-head .eyebrow b { color: #0E0E0E; font-size: 14px; }
.bm-all { display: flex; gap: 16px; }
.bm-people > summary { list-style: none; cursor: pointer; display: inline-block; }
.bm-people > summary::-webkit-details-marker { display: none; }
.bm-list { display: flex; flex-direction: column; max-height: 420px; overflow-y: auto; margin-top: 8px; border-top: 1px solid #EEE7DA; }
.bm-p { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid #F1EBE1; cursor: pointer; }
.bm-p input { width: 20px; height: 20px; accent-color: #0E0E0E; flex: none; }
.bm-p span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bm-p b { font-weight: 500; font-size: 15px; }
.bm-p small { font-size: 13px; color: #59544B; }
.bm-send { border-radius: 999px; min-height: 56px; width: 100%; }
.bm-send.arm { background: #0E0E0E !important; color: #B8945B !important; }
.bm-send:disabled { opacity: .45; }
.bm-top .btn { border-radius: 999px; }
.bm-form { display: flex !important; }
.ow2-chips { grid-template-columns: repeat(auto-fit, minmax(52px, 1fr)); gap: 6px; } .ow2-c { font-size: 15px; padding: 0 2px; }
/* Legacy Today: by location, then by coach */
.tg-sum { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 6px; scrollbar-width: none; }
.tg-sum::-webkit-scrollbar { display: none; }
.tg-sum a { flex: none; display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border-radius: 16px; background: #F1EBE1; text-decoration: none; color: #0E0E0E; max-width: 220px; }
.tg-sum b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-sum span { font-size: 12px; color: #59544B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-b { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; padding: 12px 0 6px; border-top: 1.5px solid #B8945B; scroll-margin-top: 120px; }
.tg-b b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-weight: 500; }
.tg-b span { font-size: 14px; color: #59544B; }
.tg-b i { margin-left: auto; font-style: normal; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #7A5B2B; }
.tg-c { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; padding: 6px 0 2px; }
/* Legacy seeing a coach's app */
.viewas { position: sticky; top: 0; z-index: 200; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 16px; background: #0E0E0E; color: #FAF8F2; font-size: 14px; }
.viewas b { color: #B8945B; font-weight: 500; }
.viewas a { color: #0E0E0E; background: #B8945B; border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: 12px; letter-spacing: .18em; }
.cov-f select { margin-top: 6px; min-height: 36px; border-radius: 10px; border: 1px solid #E2D9C8; background: #FFFFFF; padding: 0 8px; font-size: 13px; max-width: 220px; }
.cov-note { font-size: 14px; color: #7A5B2B; background: #F1EBE1; border-radius: 12px; padding: 8px 12px; }
/* buildings */
.bd-list { display: flex; flex-direction: column; gap: 10px; }
.bd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 18px; background: #FFFDF8; border: 1px solid #EEE7DA; text-decoration: none; color: #0E0E0E; }
.bd-row > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.bd-row b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 500; }
.bd-row small { font-size: 13px; color: #59544B; }
.bd-n { display: flex; gap: 6px; flex-wrap: wrap; }
.bd-n i { font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 999px; background: #F1EBE1; color: #7A5B2B; }
.bd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bd-stats span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 16px; background: #F1EBE1; font-size: 13px; color: #59544B; }
.bd-stats b { font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 500; color: #0E0E0E; line-height: 1; }
.bd-list .bd-row { padding: 16px 18px !important; box-sizing: border-box; } .bd-n { flex: 1 1 100%; }
/* box breathing guide */
.bx-set { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.bx-why { font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; line-height: 1.3; margin: 0 0 4px; color: #FAF8F2; }
.bx-k { font-size: 11px; letter-spacing: .2em; color: #B8945B; }
.bx-mins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; width: 100%; }
.bx-mins button { min-height: 48px; border-radius: 14px; border: 1px solid rgba(250,248,242,.35); background: transparent; color: #FAF8F2; font: 500 15px/1 'Jost', sans-serif; cursor: pointer; }
.bx-mins button.on { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.bx-tip { font-size: 14px; line-height: 1.5; color: rgba(250,248,242,.8); margin: 0; }
.bx-skip { color: rgba(250,248,242,.75) !important; border-color: rgba(250,248,242,.35) !important; }
.bx-box { position: relative; width: 170px; height: 170px; margin: 26px auto 18px; border: 2px solid rgba(184,148,91,.55); border-radius: 18px; box-shadow: 0 0 60px rgba(184,148,91,.25) inset; }
.bx-dot { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #E2CDA4; box-shadow: 0 0 18px #B8945B; }
.bx-n { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Cormorant Garamond", Georgia, serif; font-size: 46px; color: #FAF8F2; font-weight: 500; }
.bx-l { position: absolute; font-size: 10px; letter-spacing: .2em; color: rgba(250,248,242,.45); transition: color .3s; }
.bx-l.on { color: #E2CDA4; }
.bx-t { top: -20px; left: 50%; transform: translateX(-50%); } .bx-b { bottom: -20px; left: 50%; transform: translateX(-50%); }
.bx-lf { left: -14px; top: 50%; transform: translate(-100%, -50%) rotate(-90deg); transform-origin: right center; } .bx-r { right: -14px; top: 50%; transform: translate(100%, -50%) rotate(90deg); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .bx-dot { transition: none !important; } }
.wh-note { display: block; margin: 4px 0 2px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; font-style: italic; color: #0E0E0E; line-height: 1.4; }
.wh-ph img { display: block; max-width: 160px; max-height: 160px; border-radius: 12px; margin-top: 6px; object-fit: cover; }
.ws-share { margin-top: 2px; }
/* daily quotes (admin) */
.dq-card > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.dq-card > summary::-webkit-details-marker { display: none; }
.dq-f { display: flex; flex-direction: column; gap: 12px; padding: 12px 0; }
.dq-row { display: flex; flex-direction: column; gap: 6px; padding: 14px 0; border-top: 1px solid #EEE7DA; }
.dq-row.off { opacity: .5; }
.dq-ed > summary { list-style: none; cursor: pointer; display: inline-block; }
.dq-ed > summary::-webkit-details-marker { display: none; }
#book-more .pk-sum { align-self: stretch;  border-radius: 14px;  }
#book-more .pk-sum { background: transparent !important; color: #59544B !important; padding: 2px 0 !important; font-size: 15px; letter-spacing: 0; text-align: center; width: 100%; } #book-more .pk-sum::first-letter { color: #2F6B3E; }
#book-more .pk-sum { grid-column: 1 / -1; }
/* a small form in a sheet from the bottom */
.as-sheet { display: flex; flex-direction: column; gap: 14px; }
.as-sheet:not([open]) { display: none; }
.as-sheet .rgx-h { margin: 0; padding-right: 56px; }
.as-tip { margin: -4px 0 4px; color: #59544B; font-size: 15px; line-height: 1.5; }
.as-sheet form { display: flex; flex-direction: column; gap: 14px; }
.as-sheet form input[name=idea] { min-height: 52px; border-radius: 14px; border: 0; background: #F1EBE1; padding: 0 16px; font-size: 16px; }
.as-sheet .btn { border-radius: 999px; min-height: 54px; width: 100%; }
/* coach profile: the name centered */
.yc-sheet .yc-hero .rgx-h { padding-right: 0 !important; width: 100%; text-align: center; }
/* the how-to sheet in Your 3 for today: room to breathe */
.w3d-sheet { gap: 0 !important; padding-top: 30px !important; }
.w3d-sheet .eyebrow { margin: 0 0 10px; }
.w3d-sheet .rgx-h { margin: 0 0 18px !important; font-size: 30px !important; line-height: 1.15 !important; }
.w3d-sheet .w3d-b { margin: 0 0 14px !important; font-size: 17px; line-height: 1.7 !important; }
.w3d-sheet .muted { margin: 0 0 14px !important; }
.w3d-sheet .wl-vlink { margin: 0 0 16px; align-self: flex-start; }
.w3d-sheet .btn { margin-top: 12px; }
.w3d-sheet .link-btn[data-close-dlg] { margin-top: 14px; }
.as-sheet .fold-close, .as-sheet .over-card { display: none !important; } .as-sheet form { margin: 0 !important; padding: 0 !important; } .as-sheet .ev-chips { margin-top: 4px; }
/* Want more? the extra ideas, closed until you pick a section */
.wl-more { display: flex; flex-direction: column; gap: 14px; }
.wl-more .wl-switch-h { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.wl-more-t { font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; line-height: 1.25; color: #0E0E0E; }
.wl-more .wl-tabs { margin: 0; }
.wl-more .wl-sec { padding: 0 !important; margin: 0 !important; }
.wl-more .wl-head { padding-top: 8px; border-top: 1px solid #EEE7DA; }
.wl-more .wl-it { box-shadow: none !important; border: 0 !important; border-bottom: 1px solid #EEE7DA !important; border-radius: 0 !important; background: transparent !important; margin: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.wl-more .wl-list { gap: 0 !important; }
.wl-more-close { align-self: center; margin-top: 4px; }
.wl-more-close[hidden] { display: none; }
.wl-more .wl-switch-h { padding: 0 !important; } .wl-more .wl-tabs { background: transparent !important; padding: 0 !important; }
.wl-more .wl-sec, .wl-more .wl-head, .wl-more .wl-list, .wl-more .wl-more-ctl { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
.wl-more .wl-it > summary { padding: 16px 0 !important; gap: 10px !important; }
.wl-more .wl-it-t { font-size: 17px !important; line-height: 1.35 !important; }
.wl-more .wl-it > summary .wl-min { flex: none; }
.wl-more .wl-more-ctl .btn { border-radius: 999px; }
/* family switch: one slim row of name pills instead of big circles */
.fam-row { gap: 8px !important; padding: 2px 0 6px !important; margin: 0 !important; }
.fam-row .fam-k { display: none !important; }
.fam-av { flex-direction: row !important; gap: 8px !important; min-width: 0 !important; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid #E6DED0; background: #FFFDF8; min-height: 40px; }
.fam-av .fam-c { width: 30px !important; height: 30px !important; font-size: 12px !important; box-shadow: none !important; flex: none; }
.fam-av .fam-n { font-size: 14px; white-space: nowrap; }
.fam-av .fam-n small { display: none; }
.fam-av.on { background: #0E0E0E; border-color: #0E0E0E; color: #B8945B !important; }
.fam-av.on .fam-c { background: #B8945B !important; color: #0E0E0E !important; }
.jb.jb-next { box-shadow: inset 0 0 0 1.5px #B8945B; border-radius: 18px; } .jb-nx { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; margin-bottom: 4px; }
/* Progress: one tidy list instead of headings and stacked folded cards */
.mv2.v-journey > .pg-sec { display: none !important; }
.mv2.v-journey > #pg-more { order: 20; }
.pg-list { display: flex; flex-direction: column; gap: 6px; }
.pg-rows { display: flex; flex-direction: column; }
.pg-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border: 0; border-top: 1px solid #EEE7DA; background: none; text-align: left; cursor: pointer; font: inherit; color: #0E0E0E; min-height: 64px; }
.pg-row:first-child { border-top: 0; }
.pg-row:active { opacity: .7; }
.pg-ic { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #F1EBE1; display: grid; place-items: center; color: #7A5B2B; }
.pg-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pg-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pg-tx b { font-weight: 500; font-size: 16px; }
.pg-tx small { font-size: 13px; color: #59544B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg-go { color: #B8945B; font-size: 22px; flex: none; }
.pg-sheet { display: flex; flex-direction: column; gap: 10px; }
.pg-sheet:not([open]) { display: none; }
.pg-sheet .rgx-h { margin: 0; padding-right: 56px; text-transform: none; }
.pg-sheet > .card { box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
/* member MORE: the same order every time, Text size and SIGN OUT at the bottom */
.tabbar .m-more > div .mo-ts { grid-column: 1 / -1; order: 0; }
.tabbar .m-more > div .mo-out { grid-column: 1 / -1; margin: 6px 0 0; }
.tabbar .m-more > div .mo-out button { width: 100%; min-height: 50px; border-radius: 16px; border: 1px solid #E2D9C8; background: transparent; color: #59544B; font: 500 13px/1 'Jost', sans-serif; letter-spacing: .2em; cursor: pointer; }
.jb .jb-nx, details.jb > summary .jb-nx { font: 500 10px/1.2 "Jost", sans-serif !important; letter-spacing: .22em !important; color: #7A5B2B !important; margin: 0 0 6px !important; }
/* How was it? stars */
.fs-sheet { display: flex; flex-direction: column; gap: 14px; }
.fs-sheet:not([open]) { display: none; }
.fs-sheet .rgx-h { margin: 0; padding-right: 56px; }
.fs-form { display: flex; flex-direction: column; gap: 12px; }
.fs-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 6px 0; }
.fs-l { font-size: 16px; }
.fs-stars { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.fs-stars input { position: absolute; opacity: 0; pointer-events: none; }
.fs-stars label { font-size: 34px; line-height: 1; color: #E2D9C8; cursor: pointer; padding: 2px; transition: color .12s, transform .12s; }
.fs-stars label:active { transform: scale(1.2); }
.fs-stars input:checked ~ label, .fs-stars label:hover, .fs-stars label:hover ~ label { color: #B8945B; }
.fs-more > summary { list-style: none; cursor: pointer; display: inline-block; margin: 2px 0 6px; }
.fs-more > summary::-webkit-details-marker { display: none; }
.fs-more .fs-stars label { font-size: 28px; }
.fs-form textarea { min-height: 70px; border-radius: 16px; background: #F1EBE1; border: 0; padding: 14px 16px; font-size: 16px; font-family: inherit; }
.fs-send { border-radius: 999px; min-height: 54px; width: 100%; }
.fs-acts { display: flex; justify-content: center; gap: 28px; }
.fs-priv { text-align: center; font-size: 12px; }
.fs-past > summary { list-style: none; cursor: pointer; display: inline-block; }
.fs-past > summary::-webkit-details-marker { display: none; }
.fs-p { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid #EEE7DA; }
.fs-st { color: #B8945B; letter-spacing: 2px; } .fs-off { color: #E2D9C8; }
/* booking: what the window means, the court, and times already taken */
.sp-why { display: block; font-size: 14px; line-height: 1.5; color: #59544B; margin: 4px 0 2px; }
.sp-t.busy { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.rq-court select { min-height: 48px; border-radius: 14px; border: 1px solid #E2D9C8; background: #FFFFFF; padding: 0 12px; font-size: 16px; }
.sp-t2 span { font-size: 12px; }
/* time windows as clear rows: "Morning · between 9 and 12" */
.opt-pick .sp-times { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
.opt-pick .sp-t2 { display: flex !important; flex-direction: column; align-items: flex-start !important; text-align: left !important; padding: 10px 14px !important; min-height: 58px; width: auto !important; min-width: 0 !important; }
.opt-pick .sp-t2 b { font-weight: 500; font-size: 15px; } .opt-pick .sp-t2 .sp-short { display: none !important; } .opt-pick .sp-t2 .sp-full { display: inline !important; font-style: normal; }
.opt-pick .sp-t2 span { font-size: 13px !important; white-space: nowrap; color: #59544B; }
.opt-pick .sp-t2:last-child:nth-child(odd) { grid-column: 1 / -1; }

html[lang^=es] .opt-pick .sp-t.busy span::after { content: ' · ocupado'; }
.opt-pick .sp-t.busy { text-decoration: none; }

.opt-pick .sp-t.busy span::after { content: none !important; }
.opt-pick .sp-t.busy::after { content: 'Taken at this court'; font-size: 11px; letter-spacing: .06em; color: #7A5B2B; }
html[lang^=es] .opt-pick .sp-t.busy::after { content: 'Ocupado en esta cancha'; }
.opt-pick .sp-t.busy b { text-decoration: none; }

/* ---------- Simple pages: Account and Sessions as short lists, each item in its own sheet ---------- */
html[data-app="member"] .mv2.v-account:not(.lg-ready), html[data-app="member"] .mv2.v-sessions:not(.lg-ready), html[data-app="member"] .mv2.v-journey:not(.lg-ready) { opacity: 0; animation: lg-show 0s 1.4s forwards; }
html[data-app="member"] .mv2.lg-ready { opacity: 1;  }
@keyframes lg-show { to { opacity: 1; } }
.sp-hide { display: none !important; }
.sp-list .eyebrow { margin-bottom: 2px; }
.mv2 > .sp-list + .sp-list { margin-top: -6px; }
.sp-grid { grid-template-columns: 1fr !important; }
.sp-sheet { display: flex; flex-direction: column; gap: 12px; }
.sp-sheet:not([open]) { display: none; }
.sp-sheet .rgx-h { margin: 0; padding-right: 56px; text-transform: none; }
.sp-sheet > .card, .sp-sheet > .sand, .sp-sheet > details, .sp-sheet > div.away { box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.sp-sheet .sp-meta { display: flex; flex-direction: column; gap: 2px; margin-top: -4px; }
.sp-sheet .sp-acts { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 14px !important; padding-top: 6px; border-top: 1px solid rgba(28,27,24,0.08); }
.sp-sheet .sp-acts > .btn { align-self: flex-start; }
.sp-lesson { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; border-radius: 14px; transition: background-color .15s ease; }
.sp-lesson:active { background: rgba(184,148,91,0.10); }
.sp-lesson > div:first-child .serif { font-size: 21px !important; }
.sp-lesson .pg-go { font-size: 24px; line-height: 1; }
.sp-book { align-self: stretch; width: 100%; margin-top: 4px; }
.sp-pk-acts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }
.sp-pk-acts .link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; font-size: 12px !important; letter-spacing: 0.16em !important; }
.mv2.v-account > .sp-list { order: 10; }
.mv2.v-journey:not(.aw) > .rings-card { order: 2; } .mv2.v-journey:not(.aw) > #last-session { order: 3; } .mv2.v-journey:not(.aw) > #my-goals { order: 4; } .mv2.v-journey:not(.aw) > #pg-duo { order: 5; }
.pg-duo.pg-solo { grid-template-columns: 1fr !important; }

/* sheets rise from the bottom, the page dims softly */
dialog.rg-sheet[open] { animation: lg-rise .34s cubic-bezier(.2,.9,.25,1); }
dialog.rg-sheet[open]::backdrop { animation: lg-dim .3s ease; }
@keyframes lg-rise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes lg-dim { from { opacity: 0; } to { opacity: 1; } }
@media (pointer: coarse) { dialog.rg-sheet::before { content: ''; position: sticky; top: -16px; align-self: center; flex: none; width: 40px; height: 5px; margin: -14px auto 2px; border-radius: 3px; background: rgba(28,27,24,0.18); } }
@media (prefers-reduced-motion: reduce) { dialog.rg-sheet[open], dialog.rg-sheet[open]::backdrop { animation: none; } html[data-app="member"] .mv2.lg-ready { transition: none; } }
.sp-sheet .rgx-h { font-size: 30px; line-height: 1.12; }

/* ---------- Get started: three steps, one at a time ---------- */
.ob-of { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; margin-top: -6px; }
.ob-done { margin: -4px 0 0; padding: 12px 16px; border-radius: 14px; background: #EAF2EC; color: #2F6B3E; font-size: 15px; line-height: 1.45; }
.ob-first .opt-pick { margin-top: 2px; }
.ob-opt { margin-top: 4px; } .ob-opt > summary { list-style: none; cursor: pointer; display: inline-block; } .ob-opt > summary::-webkit-details-marker { display: none; }
.ob-opt[open] { display: flex; flex-direction: column; gap: 10px; }
/* You are all set: one screen */
.tour-one .tour-s { padding-bottom: 6px; gap: 14px; }
.tour-one .tour-ok { background: #2F6B3E; } .tour-one .tour-ok svg { stroke: #FAF8F2; stroke-width: 2.2; }
.tour-first { margin: 0; color: #1C1B18; }
.tour-rows { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tour-rows li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #59544B; }
.tour-rows b { font-weight: 500; color: #1C1B18; }
.tour-ri { width: 34px; height: 34px; flex: none; border-radius: 50%; background: #F1EBE1; display: grid; place-items: center; }
.tour-ri svg { width: 17px; height: 17px; fill: none; stroke: #7A5B2B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tour-sw { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; } .tour-sw .btn { align-self: auto !important; flex: 1 1 auto; } .tour-sw .ok { font-size: 13px; color: #2F6B3E; }
.tour-one .tour-dots { display: none; }
.tour-one .tour-go { flex: 1; }
body:has(.m-wrap.ob) .m-foot { display: none; }
/* the papers, calmer */
.pp-terms { max-height: 260px; overflow-y: auto; padding: 4px 16px 4px 0; border-top: 1px solid rgba(28,27,24,0.1); border-bottom: 1px solid rgba(28,27,24,0.1); -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent); overscroll-behavior: contain; }
.pp-terms > p.body { margin: 12px 0; font-size: 15px; }
.pp-terms:focus-visible { outline: 2px solid #B8945B; outline-offset: 4px; }
.pp-hint { font-size: 12px; margin-top: -4px; }
form.papers.pp-acts-off .paper-acts { display: none !important; }
.pp-ways-b, .pp-copy-b { align-self: flex-start; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
body:has(form.papers) .m-foot { display: none; }
/* rewards: one streak, one collection */
.sk-card { display: flex; flex-direction: column; gap: 12px; }
.sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sk-b { border-radius: 18px; padding: 14px 8px; text-align: center; background: #F1EBE1; display: flex; flex-direction: column; gap: 2px; color: #59544B; }
.sk-b.got { background: #0E0E0E; color: #E2CDA4; }
.sk-n { font-size: 30px; line-height: 1; } .sk-l { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; }
.jv-pct small { font-size: 0.45em; color: #59544B; }
.ww-fire { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; margin-right: 6px; border-radius: 13px; background: #B8945B; color: #0E0E0E; font-weight: 500; font-size: 13px; vertical-align: middle; }
.mv2.v-journey.aw > #streaks { order: 30; } .mv2.v-journey.aw > #badges { order: 31; }
.mv2.v-journey.aw > #pg-more { display: none !important; }
/* Your 3: what each button does, one line each */
.w3-key { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.w3-key li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #59544B; line-height: 1.35; }
.w3-key b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: grid; place-items: center; font-weight: 400; font-size: 15px; }
/* a badge's main action: one filled button (I DID IT TODAY, I'M READY) */
.jb-act, dialog form:has(> .jb-do) { width: 100%; margin: 4px 0 2px; }
.btn.jb-do { width: 100%; justify-content: center; text-align: center; }
.jb-done { display: block; padding: 12px 16px; border-radius: 14px; background: #EAF2EC; color: #2F6B3E !important; text-align: center; }
/* More time (and any choice in a sheet): dark, readable text */
.sp-sheet .choice, .rg-sheet .choice { background: #FFFDF8 !important; color: #1C1B18 !important; }
.sp-sheet .choice > span:first-child, .rg-sheet .choice > span:first-child { color: #1C1B18 !important; font-weight: 500; }
.sp-sheet .choice .muted, .rg-sheet .choice .muted { color: #59544B !important; }
.sp-sheet .choice:active, .rg-sheet .choice:active { background: #F1EBE1 !important; }
/* Notify me: the same look as "Need a different time?", with days of the week */
.nt-pick { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.nt-pick legend { padding: 0; margin-bottom: 10px; font-size: 12px; letter-spacing: 0.18em; color: #7A5B2B; }
.nt-days { flex: none; }
.nt-day { cursor: pointer; position: relative; gap: 2px; }
.nt-day input, .nt-t input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nt-day .wk-d {   color: #1C1B18; font-weight: 500; }
.nt-every { font-size: 10px; color: #8C8577; letter-spacing: 0.04em; }
.nt-day:has(input:checked) { background: #0E0E0E; border-color: #0E0E0E; }
.nt-day:has(input:checked) .wk-d { color: #FAF8F2; } .nt-day:has(input:checked) .nt-every { color: rgba(250,248,242,0.7); }
.nt-times { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nt-t { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border: 1px solid #E7E0D3; border-radius: 16px; background: #FFFFFF; cursor: pointer; transition: background-color .15s ease, border-color .15s ease; }
.nt-t:last-child:nth-child(odd) { grid-column: 1 / -1; }
.nt-t b { font-weight: 500; font-size: 16px; color: #1C1B18; } .nt-t span { font-size: 14px; color: #59544B; }
.nt-t:has(input:checked) { background: #B8945B; border-color: #B8945B; } .nt-t:has(input:checked) span { color: #3A2C14; }
.nt-day:has(input:focus-visible), .nt-t:has(input:focus-visible) { outline: 2px solid #B8945B; outline-offset: 2px; }
dialog.mapc { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
dialog.mapc[open] { display: flex; } dialog.mapc::backdrop { background: transparent; }
.sp-sheet > .sp-in > .fold-close, .sp-sheet > details.sp-in > .over-card { display: none !important; }
.nt-days { display: grid !important; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; overflow: visible; padding: 0; }
.nt-day { width: auto !important; min-height: 64px; padding: 0 2px; }
.nt-day .wk-d { font-size: 12.5px; letter-spacing: 0.04em; }
/* Progress: the numbers, then one calm list */
.sp-stats { padding-top: 18px !important; padding-bottom: 18px !important; }
.sp-stats .stats { margin: 0 !important; }
.mv2.v-journey:not(.aw) > .sp-list { order: 4; } .mv2.v-journey:not(.aw) > #pg-more { order: 5; }
.sp-sheet #my-goals .eyebrow, .sp-sheet #last-session > .eyebrow { display: none !important; }
.sp-sheet #last-session { background: transparent !important; }
/* What did you learn today? opens as a pop-up, not a card on Today */
html[data-app="member"] #reflect.rf-card { display: none !important; }
/* My progress | My badges: half and half */
.pg-seg { grid-template-columns: repeat(2, 1fr) !important; }
.pg-seg a { text-align: center; }
/* streak badges inside the Wellness week */
.wl-week .sk-row { margin: 4px 0 2px; }
.sp-sheet .rq-wrap > .rq-live { box-shadow: none !important; background: transparent !important; padding: 0 !important; border: 0 !important; }
/* My tennis: goals live in Progress (shown here only when opened from there) */
#goals.mt-goals:not(:target):not(.lg-focus) { display: none; }
.mt-prof { display: flex; flex-direction: column; gap: 12px; }
.mt-prof .mt-edit > summary { list-style: none; display: inline-flex; align-self: flex-start; } .mt-prof .mt-edit > summary::-webkit-details-marker { display: none; }
.mt-prof .mt-edit > summary.btn { padding: 14px 26px !important; min-height: 48px; align-items: center; }
/* every SAVE / SEND inside a sheet: one full-width gold button, the same everywhere */
dialog.rg-sheet:not(.gl-sheet) form button[type=submit]:not(.link-btn):not(.line):not(.msg-send):not(.choice):not(.qf-arr):not(.x-close):not(.sp-t):not(.nt-t):not(.todo-ck):not(.todo-x):not(.chp-k):not(.bubble-x):not(.w3-ic):not(.wl-heart):not(:has(> svg:only-child)),
dialog.rg-sheet:not(.gl-sheet) form button.btn:not([type]):not(.link-btn) {
  width: 100% !important; align-self: stretch !important; justify-content: center; text-align: center;
  background: #B8945B !important; border-color: #B8945B !important; color: #0E0E0E !important; min-height: 52px; border-radius: 14px;
}
dialog.rg-sheet form .row:has(> button[type=submit].btn) { flex-direction: column; align-items: stretch !important; }
dialog.rg-sheet form .row:has(> button[type=submit].btn) > .link-btn { align-self: center; }
.fy-skip { display: none !important; }
.tabbar .m-more > div a[hidden] { display: none !important; }
/* sheets that load a page: only what matters */
.is-box .fam-row, .is-box .top-note, .is-box .pf-bar, .is-box .pg-seg, .is-box .mt-pic, .is-box .m-brand, .is-box .lg-back { display: none !important; }
.is-box.is-wide > .in-sheet { display: flex; flex-direction: column; gap: 16px; }
.is-box .in-sheet > .card { box-shadow: none !important; }
.is-box .mt-head { display: flex; gap: 14px; align-items: center; } .is-box .mt-face { width: 72px; height: 72px; flex: none; }
.is-box .yc-hero { text-align: center; align-items: center; display: flex; flex-direction: column; gap: 8px; }
/* ---------- Messages: a calm chat ---------- */
.mv2.v-messages > .pf-bar { display: none !important; }
#messages.card { padding: 14px 14px 12px !important; gap: 10px; }
#messages .mto { grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin: 0; background: #F1EBE1; border-radius: 999px; }
#messages .mto-b { flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border-radius: 999px; background: transparent; box-shadow: none; min-height: 44px; }
#messages .mto-b > span:last-child { display: none; }
#messages .mto-b b { font-size: 14px; }
#messages .mto-b .mto-av { width: 28px; height: 28px; font-size: 12px; flex: none; }
#messages .mto-b.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
#messages .mto-b.on b { color: #FAF8F2; }
#messages .thread {   padding: 10px 2px; gap: 8px; }
#messages .bubble { max-width: 82%; padding: 10px 14px; border-radius: 20px; border: 0; font-size: 15.5px; line-height: 1.45; gap: 3px; }
#messages .bubble.coach { background: #F1EBE1; border-bottom-left-radius: 6px; }
#messages .bubble.me { background: #0E0E0E; color: #FAF8F2; border-bottom-right-radius: 6px; }
#messages .bubble .who { font-size: 10.5px; letter-spacing: 0.12em; color: #8C8577; }
#messages .bubble.me .who { color: rgba(250,248,242,0.6); }
#messages .msg-st { align-self: flex-end; font-size: 12px; color: #8C8577; }
.msg-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: #59544B; padding: 28px 12px; font-size: 15px; }
.msg-empty .mto-av { width: 56px; height: 56px; font-size: 18px; }
.msg-form { margin: 0; padding-top: 4px; }
.msg-form .draft-btn, .msg-form [data-draft-save], .msg-form .sd-btn { display: none !important; }
.mv2.v-messages > .top-note { display: none !important; }
#messages .thread { min-height: 0 !important; max-height: 52vh !important; overflow-y: auto; }
.msg-bar { display: flex; align-items: flex-end; gap: 8px; padding: 6px 6px 6px 16px; border: 1px solid #E7E0D3; border-radius: 26px; background: #FFFFFF; }
.msg-bar textarea { flex: 1; border: 0 !important; outline: none; resize: none; min-height: 40px; max-height: 140px; padding: 10px 0 !important; font-size: 16px; line-height: 1.35; background: transparent; box-shadow: none !important; }
.btn.msg-send { flex: none; width: 44px !important; height: 44px; min-height: 0 !important; padding: 0 !important; border-radius: 50% !important; display: grid; place-items: center; }
.btn.msg-send svg { width: 20px; height: 20px; fill: none; stroke: #0E0E0E; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.is-box .jv-switch { display: none !important; }
body:has(.mv2.v-messages) .ak-launch { display: none !important; }
/* admin numbers at a glance: compact tiles */
html:not([data-app="member"]) .glance.g-links { gap: 8px !important; }
html:not([data-app="member"]) .glance.g-links > a { padding: 12px 14px !important; gap: 2px !important; border-radius: 16px !important; min-height: 0 !important; }
html:not([data-app="member"]) .glance.g-links > a .eyebrow { font-size: 10px !important; letter-spacing: 0.16em !important; padding-right: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html:not([data-app="member"]) .glance.g-links > a .big { font-size: 28px !important; line-height: 1.1 !important; }
html:not([data-app="member"]) .glance.g-links > a .muted { font-size: 12.5px !important; }
html:not([data-app="member"]) .glance.g-links > a::after { top: 10px !important; right: 10px !important; width: 22px !important; height: 22px !important; font-size: 14px !important; }
/* the shared filter on admin pages */
.calf.wf { margin: 0 0 4px; }
/* Badges page: four tabs on one line, and each player opens to every badge */
.pg-seg.ch-seg { grid-template-columns: repeat(4, 1fr) !important; }
.pg-seg.ch-seg a { padding: 10px 4px !important; font-size: 10.5px !important; letter-spacing: 0.1em !important; text-align: center; }
details.chp { padding: 0 !important; overflow: hidden; }
details.chp > summary.chp-s { list-style: none; display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
details.chp > summary::-webkit-details-marker { display: none; }
details.chp[open] .ch-go { transform: rotate(180deg); }
.chp-s .ch-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.chp-b { display: flex; flex-direction: column; gap: 14px; padding: 4px 16px 18px; border-top: 1px solid #EEE7DA; }
.chp-c { display: flex; flex-direction: column; gap: 2px; }
.chp-ct { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; padding: 10px 0 4px; }
.chp-c.cur .chp-ct { color: #0E0E0E; font-weight: 500; }
.chp-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F1EBE1; }
.chp-r.on .chp-t b { color: #2F6B3E; }
.chp-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; font-size: 14.5px; }
.chp-t .muted { font-size: 12.5px; }
.chp-n { font-size: 13px; color: #7A5B2B; font-weight: 500; }
.chp-a { display: flex; align-items: center; gap: 6px; flex: none; }
.chp-a form { margin: 0; }
.chp-k { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #E7E0D3; background: #FFFFFF; font-size: 18px; line-height: 1; cursor: pointer; color: #1C1B18; }
.pg-seg.wl-aseg { grid-template-columns: 1fr 1fr !important; }
.wla-dots { display: flex; gap: 4px; margin: 4px 0 2px; }
.wla-d { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wla-d i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #E7E0D3; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #59544B; background: #FFFFFF; }
.wla-d.part i { background: #F1EBE1; border-color: #E2CDA4; }
.wla-d.on i { background: #2F6B3E; border-color: #2F6B3E; color: #FAF8F2; }
.wla-d.today i { box-shadow: 0 0 0 2px #B8945B; }
.wla-d small { font-size: 9.5px; color: #8C8577; }
.wla-note { font-size: 13px; color: #4A463F; font-style: italic; }
/* ---------- My list: grouped, calm, a little joyful ---------- */
.tdl-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tdl-sub { margin: 8px 0 0; color: #59544B; font-size: 15px; } .tdl-sub b { color: #B3261E; font-weight: 500; }
.tdl-ring { flex: none; width: 76px; height: 76px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, #FAF8F2 78%, transparent 80% 100%), conic-gradient(#B8945B calc(var(--p) * 1%), #EDE4D4 0); }
.tdl-ring b { font: 400 26px/1 "Cormorant Garamond", Georgia, serif; color: #0E0E0E; } .tdl-ring small { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #7A5B2B; }
.tdl-addc { padding: 10px !important; }
.tdl-addc .todo-add { display: grid !important;  gap: 8px; margin: 0 !important; }
.tdl-addc .todo-add input[name=text] { grid-column: 1 / -1; border: 0 !important; border-bottom: 1px solid #E7E0D3 !important; padding: 10px 6px !important; font-size: 17px; background: transparent; }
.tdl-addc .todo-add input[type=date], .tdl-addc .todo-add input[type=time] { font-size: 14px; border: 1px solid #E7E0D3 !important; border-radius: 12px; padding: 8px 10px !important; background: #FFFFFF; min-width: 0; }
.tdl-addc .todo-add .btn { border-radius: 12px; }
.tdl-page { display: flex; flex-direction: column; gap: 14px; }
.tdl-g { padding: 14px 16px 6px !important; gap: 0 !important; border-left: 4px solid transparent !important; }
.tdl-g.tdl-late { border-left-color: #B3261E !important; } .tdl-g.tdl-today { border-left-color: #B8945B !important; }
.tdl-h { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.tdl-late .tdl-h { color: #B3261E; }
.tdl-h i { font-style: normal; min-width: 22px; height: 22px; border-radius: 11px; display: inline-grid; place-items: center; background: #F1EBE1; color: #59544B; font-size: 11px; letter-spacing: 0; }
.tdl-page .todo { display: grid !important; grid-template-columns: auto 1fr auto; grid-template-areas: "ck t x" "ck w x"; align-items: center; column-gap: 14px; row-gap: 2px; padding: 12px 0 !important; border-bottom: 1px solid #F1EBE1; }
.tdl-page .todo:last-child { border-bottom: 0; }
.tdl-page .todo > form:first-child { grid-area: ck; } .tdl-page .todo-t { grid-area: t; font-size: 15.5px; line-height: 1.4; overflow-wrap: anywhere; }
.tdl-page .todo-w { grid-area: w; font-size: 12.5px; color: #8C8577; } .tdl-page .todo-w.warn { color: #B3261E; }
.tdl-page .todo > form:last-child { grid-area: x; }
.tdl-page .todo-ck { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid #B8945B; background: #FFFFFF; transition: background-color .2s ease, transform .15s ease; }
.tdl-page .todo-ck:active { transform: scale(.88); background: #EAF2EC; }
.tdl-page .todo-x { color: #B5AEA2; font-size: 20px; background: none; border: 0; }
.tdl-empty { align-items: center; text-align: center; gap: 6px !important; padding: 28px 20px !important; }
.tdl-ok { width: 52px; height: 52px; border-radius: 50%; background: #EAF2EC; color: #2F6B3E; display: grid; place-items: center; font-size: 22px; }
.todo-add .draft-btn { display: none !important; }

.auto-fold > form > .form-go, .auto-fold > form > .row.form-go { display: flex !important; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
/* Away and pause on the player page */
.ap-card { display: flex; flex-direction: column; gap: 10px; }
.ap-st { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding: 12px 14px; border-radius: 14px; background: #F1EBE1; }
.ap-row { border-bottom: 1px solid #F1EBE1; padding: 8px 0; } .ap-row > summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; cursor: pointer; } .ap-row > summary::-webkit-details-marker { display: none; } .ap-row > summary .link-btn { margin-left: auto; }
.ap-f { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding: 10px 0 6px; } .ap-f .f { flex: 1 1 130px; } .ap-f .ap-w { flex-basis: 100%; }
.ap-len { display: flex; flex-wrap: wrap; gap: 6px; }
form[data-ap-pause]:not(:has(input[value=date]:checked)) .ap-back { display: none; }
/* ---------- staff Today: your day at a glance, then two calm lists; each item opens from the bottom ---------- */
:is([data-app=coach], [data-app=admin]) .st-greet { padding-bottom: 0 !important; }
:is([data-app=coach], [data-app=admin]) .st-greet .m-h1 { font-size: 40px; }
.td-day { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 14px 0 6px; }
@media (min-width: 760px) { .td-day { grid-template-columns: repeat(4, 1fr); } }
.td-day a { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; border-radius: 18px; background: #FFFDF8; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 6px 18px rgba(14,14,14,0.05); color: inherit; text-decoration: none; transition: transform .15s ease; }
.td-day a:active { transform: scale(.97); }
.td-day b { font: 400 34px/1 "Cormorant Garamond", Georgia, serif; color: #0E0E0E; } .td-day span { font-size: 12.5px; color: #59544B; line-height: 1.3; }
.td-day a.warn { background: #0E0E0E; } .td-day a.warn b { color: #E2CDA4; } .td-day a.warn span { color: rgba(250,248,242,0.75); }
.td-seg { margin: 18px 0 0 !important; gap: 8px !important; }
.td-seg .lt-chips { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; gap: 6px; padding-bottom: 2px; }
.td-seg .lt-chips::-webkit-scrollbar { display: none; }
.td-seg .lt-chips button { flex: none; color: #1C1B18 !important; background: #FFFDF8; border: 1px solid #E7E0D3; border-radius: 999px; padding: 0 14px; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.td-seg .lt-chips button.on { background: #0E0E0E !important; color: #FAF8F2 !important; border-color: #0E0E0E; }
.td-list { background: #FFFDF8; border-radius: 22px; padding: 6px 0 4px; margin: 14px 0 0; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 8px 22px rgba(14,14,14,0.05); }
.td-lh { display: block; padding: 14px 20px 4px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.td-l-now .td-lh { color: #B3261E; }
.td-list > .card.td-fold { margin: 0 !important; box-shadow: none !important; border-radius: 0 !important; background: transparent !important; border-top: 1px solid #F1EBE1 !important; }
.td-list > .card.td-fold:nth-child(2) { border-top: 0 !important; }
.td-list > .card.td-fold.pf-hide { display: none !important; }
.td-list:not(:has(> .card.td-fold:not(.pf-hide))) { display: none; }
.td-list .td-head { padding: 15px 20px; }
.td-list .td-t { font-size: 15.5px; }
.td-chev { transform: rotate(-90deg); font-size: 15px; }
.td-sheet .td-in { display: flex !important; flex-direction: column; gap: 12px; padding: 0 !important; }
.td-sheet .td-in > .card { box-shadow: none !important; padding: 0 !important; background: transparent !important; }
:is([data-app=coach], [data-app=admin]) main .td-list > .card.td-fold, :is([data-app=coach], [data-app=admin]) main .td-list > .card.tier-urgent.td-fold { margin: 0 !important; box-shadow: none !important; border-radius: 0 !important; background: transparent !important; border: 0 !important; border-top: 1px solid #F1EBE1 !important; }
:is([data-app=coach], [data-app=admin]) main .td-list > .card.td-fold:nth-child(2) { border-top: 0 !important; }
:is([data-app=coach], [data-app=admin]) main .td-list > .card.td-fold::before, :is([data-app=coach], [data-app=admin]) main .td-list > .card.td-fold::after { display: none !important; }
body:has(.td-day) #today.td-none { display: none; }
/* admin player page: essentials, then lists */
.am-lists { display: flex; flex-direction: column; gap: 14px; }
.am-list .pg-row.am-must b { color: #B3261E; }
.am-top { box-shadow: inset 4px 0 0 #B3261E, 0 1px 2px rgba(14,14,14,0.04), 0 8px 22px rgba(14,14,14,0.05) !important; }
.am-top .eyebrow { color: #B3261E !important; }
.am-sheet > .card, .am-sheet > details.card { box-shadow: none !important; background: transparent !important; padding: 0 !important; margin: 0 !important; border: 0 !important; }
.am-sheet .grid3 { grid-template-columns: 1fr !important; }
/* the numbers on a player page: compact */
body:has(.am-lists) main .glance { gap: 8px !important; }
body:has(.am-lists) main .glance > div { padding: 12px 14px !important; gap: 2px !important; border-radius: 16px !important; }
body:has(.am-lists) main .glance .big { font-size: 28px !important; line-height: 1.1 !important; }
body:has(.am-lists) main .glance .eyebrow { font-size: 10px !important; }
body:has(.am-lists) main .glance .muted { font-size: 12.5px !important; }

/* skill badge ideas: edit, then confirm */
.ch-edit-f { display: flex; flex-direction: column; gap: 16px; }
.ch-edit-f label { display: flex; flex-direction: column; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #59544B; font-weight: 500; }
.ch-edit-f input:not([type=hidden]), .ch-edit-f textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; letter-spacing: normal; text-transform: none; color: #1C1B18; padding: 12px 14px; border: 1px solid rgba(28,27,24,.2); border-radius: 12px; background: #fff; }
.ch-edit-f input:focus, .ch-edit-f textarea:focus { outline: 2px solid #B8945B; outline-offset: 1px; }
.ch-edit-f .btn { width: 100%; justify-content: center; background: #B8945B; color: #0E0E0E; }

/* short sheets sit higher: never a thin strip at the very bottom of the phone */
@media (max-width: 760px) {
  dialog.rg-sheet[open]:not(.guard-dlg):not(.yay-dlg) { min-height: min(48vh, 86vh); padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* the next session: a quiet "Need a different time?" */
.next.hero .nx-rs { all: unset; box-sizing: border-box; cursor: pointer; align-self: flex-start; margin-top: 4px; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #D4B47E; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(212,180,126,.5); }
.next.hero .nx-rs:focus-visible { outline: 2px solid #D4B47E; outline-offset: 4px; border-radius: 4px; }
.next.hero .nx-rs-on { font-size: 14px; color: rgba(250,248,242,.75); margin-top: 6px; }
.nx-rs-sheet > .muted { margin: -6px 0 10px; }
.aw-open > .fold-close { display: none !important; }

/* Legacy page: only the Circle and events. The coach and Bring a friend have their own places (MORE) */
.lg-aside:not(.in-sheet):not(.lg-focus) { display: none !important; }
/* a page with one thing on it */
.lg-unfocus { display: none !important; }
.lg-focus-card { display: flex; flex-direction: column; gap: 14px; }
.fs-learn { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(28,27,24,.1); }
.fs-learn .fs-learn-h { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #1C1B18; }
/* write to both: coach and Legacy */
.ms-b.ms-both { grid-column: 1 / -1; display: grid; grid-template-columns: auto auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; }
.ms-b.ms-both .mto-av { grid-row: 1 / span 2; }
.ms-b.ms-both b { grid-column: 3; padding-left: 6px; }
.ms-b.ms-both > span:last-child { grid-column: 3; padding-left: 6px; }
.msg-also { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: #59544B; padding: 8px 2px 0; min-height: 40px; cursor: pointer; }
.msg-also input { width: 20px; height: 20px; accent-color: #B8945B; }

@media (max-width: 760px) { .ak-panel { padding-bottom: calc(44px + env(safe-area-inset-bottom)) !important; } }
/* For you: one gentle way into After my lesson */
.after-cta { display: flex; flex-direction: column; gap: 8px; padding: 18px; border-radius: 18px; background: #F1EBE1; }
.after-cta .pulse-q { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.25; color: #1C1B18; }
.after-cta .btn { align-self: stretch; justify-content: center; background: #B8945B; color: #0E0E0E; border-radius: 999px; min-height: 52px; }

/* Admin: answers from the bottom (the four numbers, phone and email) */
.gl-sheet, .ct-sheet { display: flex; flex-direction: column; gap: 14px; }
.gl-sheet:not([open]), .ct-sheet:not([open]) { display: none; }
.gl-rows { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(28,27,24,.08); border-radius: 18px; overflow: hidden; }
.gl-r { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; color: #1C1B18; text-decoration: none; border-top: 1px solid rgba(28,27,24,.07); min-height: 60px; }
.gl-r:first-child { border-top: 0; }
.gl-r:active { background: #F1EBE1; }
.gl-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gl-t b { font-weight: 500; font-size: 16px; }
.gl-t small { font-size: 13px; color: #59544B; }
.gl-v { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; }
.gl-go { color: #B8945B; font-size: 22px; }
.gl-sheet .gl-all, .ct-acts .btn:first-child { width: 100%; justify-content: center; background: #B8945B; color: #0E0E0E; border-color: #B8945B; }
.ct-big { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(26px, 7vw, 34px); color: #1C1B18; text-decoration: none; word-break: break-all; }
.ct-acts { display: flex; flex-direction: column; gap: 10px; }
.ct-acts .btn { width: 100%; justify-content: center; }
.quick button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(28,27,24,0.14); border-radius: 999px; background: #FFFFFF; color: #1C1B18; font-size: 11px; letter-spacing: 0.18em; }
.quick button:active { background: #F1EBE1; }
/* Add a session: tell them by email, in the app, by text */
.al-tell { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap;  }
.al-tell legend { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #59544B; margin-bottom: 8px; padding: 0; }
.al-tell label { display: inline-flex; align-items: center; gap: 8px;  border: 1px solid rgba(28,27,24,.14);    color: #1C1B18; cursor: pointer; min-height: 44px; }
.al-tell label:has(input:checked) { border-color: #B8945B; background: #F1EBE1; }
.al-tell input {    margin: 0; }

/* Admin and coach: a player's messages, as a calm chat */
:is([data-app=admin], [data-app=coach]) #messages .thread { display: flex; flex-direction: column; gap: 10px; }
:is([data-app=admin], [data-app=coach]) #messages .bubble { position: relative; max-width: 86%; padding: 12px 16px 10px; border-radius: 20px; box-shadow: none; display: flex; flex-direction: column; gap: 4px; }
:is([data-app=admin], [data-app=coach]) #messages .bubble.me { align-self: flex-end; background: #F1EBE1 !important; color: #1C1B18 !important; border-bottom-right-radius: 6px; }
:is([data-app=admin], [data-app=coach]) #messages .bubble.coach { align-self: flex-start; background: #FFFFFF !important; color: #1C1B18 !important; border: 1px solid rgba(28,27,24,.1); border-bottom-left-radius: 6px; }
:is([data-app=admin], [data-app=coach]) #messages .bubble .who { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #7A5B2B !important; }
:is([data-app=admin], [data-app=coach]) #messages .bubble-x { all: unset; cursor: pointer; font-size: 12px; color: #59544B; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0 0; }
:is([data-app=admin], [data-app=coach]) #messages .bubble-x:hover { color: #B3261E; }
.am-reply { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding-top: 14px; border-top: 1px solid rgba(28,27,24,.08); }
.am-to { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; background: #F1EBE1; border-radius: 999px; }
.am-to label { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 999px; font-size: 13px; cursor: pointer; text-align: center; padding: 0 10px; }
.am-to input { position: absolute; opacity: 0; pointer-events: none; }
.am-to label:has(input:checked) { background: #0E0E0E; color: #FAF8F2; }
.am-reply textarea { width: 100%; box-sizing: border-box; min-height: 110px; border: 0; border-radius: 18px; background: #F1EBE1; padding: 14px 16px; font: inherit; font-size: 16px; color: #1C1B18; resize: vertical; }
.am-reply textarea:focus { outline: 2px solid #B8945B; outline-offset: 1px; }
.am-extra summary { font-size: 13px; color: #7A5B2B; cursor: pointer; padding: 6px 0; }
.am-extra[open] { display: flex; flex-direction: column; gap: 12px; }
.am-send { width: 100%; justify-content: center; background: #B8945B !important; color: #0E0E0E !important; border-color: #B8945B !important; border-radius: 999px; min-height: 52px; }
.am-test { align-self: center; }
.am-undo { font-size: 12px; text-align: center; }
:is([data-app=admin], [data-app=coach]) #messages .bubble-x { background: none !important; border: 0 !important; box-shadow: none !important; min-height: 0 !important; height: auto !important; width: auto !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 400 !important; color: #59544B !important; padding: 2px 0 0 !important; }

/* Badges: one calm list per player */
.bm-seg { margin: 4px 0 8px; }
.bm-sec { display: flex; flex-direction: column; gap: 0; margin-top: 12px; }
.bm-city { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #59544B; padding: 14px 0 4px; }
.bm-city.cur { color: #7A5B2B; font-weight: 500; }
.bm-r {  flex-wrap: wrap;  justify-content: space-between;  padding: 12px 0; border-bottom: 1px solid rgba(28,27,24,.08); }
.bm-t { display: flex; flex-direction: column; gap: 2px; flex: 1 1 180px; min-width: 0; }
.bm-t b { font-weight: 500; font-size: 16px; }
.bm-t .muted { font-size: 13px; }
.bm-st { font-size: 14px; color: #7A5B2B; font-weight: 500; }
.bm-r.on .bm-t b { color: #2F6B3E; }
.bm-a { display: flex; align-items: center; gap: 8px;  }
.bm-a .btn.small { min-height: 40px; padding: 0 18px; }
.bm-edit > summary { list-style: none; cursor: pointer; }
.bm-edit > summary::-webkit-details-marker { display: none; }
.bm-f { display: flex; flex-direction: column; gap: 14px; }
.bm-f .btn { width: 100%; justify-content: center; background: #B8945B; color: #0E0E0E; border-color: #B8945B; }
.bm-track { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; padding: 8px 0; }
.bm-track .f { flex: 1 1 220px; }
.co-info .list-row { gap: 6px 14px; flex-wrap: wrap; } .co-info .co-v { text-align: right; } .co-info .co-v form { display: inline-flex; gap: 8px; align-items: center; }
/* My list: clear labels, ADD · SAVE DRAFT · CANCEL, and EDIT on each item */
.todo-add .todo-when { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.todo-add .todo-when .f { font-size: 11px; letter-spacing: .18em; }
.todo-add .todo-go { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; width: 100%; }
.todo-add .todo-go .btn { min-width: 120px; justify-content: center; }
.todo-full { display: flex; flex-direction: column; gap: 14px; }
.todo-full textarea { width: 100%; box-sizing: border-box; border: 0; border-radius: 16px; background: #F1EBE1; padding: 14px 16px; font: inherit; font-size: 16px; }
.todo-full .btn { width: 100%; justify-content: center; background: #B8945B; color: #0E0E0E; border-color: #B8945B; }
.todo .todo-ed > summary { list-style: none; cursor: pointer; font-size: 11px; }
.todo .todo-ed > summary::-webkit-details-marker { display: none; }
.tdl-addc .todo-add { grid-template-columns: 1fr !important; } .tdl-addc .todo-add .todo-when input { width: 100%; box-sizing: border-box; min-height: 44px; } .todo-add .todo-go .btn { background: #B8945B; color: #0E0E0E; border-color: #B8945B; }
.pg-seg.bm-seg { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; }
.pg-seg.bm-seg a { font-size: 11px; letter-spacing: .12em; text-align: center; padding-left: 4px; padding-right: 4px; }
body:has(table.co-tbl) .co-chips, body:has(.am-lists) [data-co-chips] { display: none !important; }

/* sheets: fields sit close together; nothing stretches to fill the space */
dialog.rg-sheet .card, dialog.rg-sheet details.card { flex: 0 0 auto !important; min-height: 0 !important; }
dialog.rg-sheet .card > *, dialog.rg-sheet .row > * { flex-basis: auto !important; flex-grow: 0 !important; }
dialog.rg-sheet .row > .f, dialog.rg-sheet .row > label { width: 100%; }
dialog .sp-hide, dialog .pf-head.sp-hide, dialog .eyebrow.sp-hide { display: none !important; }
/* My list in a sheet: the same calm circle and × as on My list */
dialog.rg-sheet .todo.done form button.todo-ck { background: #EAF2EC; border-color: #2F6B3E; }
/* Legacy Introductions: REMIND the coach */
.in-row { flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.in-t { display: flex; flex-direction: column; gap: 2px; flex: 1 1 180px; }
/* Bring a friend: add one */
.fr-add > summary { list-style: none; cursor: pointer; padding: 8px 0; }
.fr-add > summary::-webkit-details-marker { display: none; }
.fr-f { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.fr-f .btn, .pay-f .btn { width: 100%; justify-content: center; background: #B8945B; color: #0E0E0E; border-color: #B8945B; }
/* Record a payment: two ways, compact */
.pay-seg { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 6px; }
.pay-f { display: flex; flex-direction: column; gap: 14px; }
.pay-f[hidden] { display: none; }
.pay-g { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.pay-g .f { min-width: 0; }
.pay-more > summary { font-size: 13px; color: #7A5B2B; cursor: pointer; }
.pay-sum { font-size: 14px; color: #1C1B18; background: #F1EBE1; border-radius: 14px; padding: 12px 14px; }
.ld-sheet .ld-for { margin-bottom: -6px; }
.ld-sheet .ld-box > .card { box-shadow: none; border: 0; padding: 0; background: transparent; }

dialog form button.todo-ck, dialog form button.todo-x { padding: 0 !important; min-height: 0 !important; background: transparent !important; box-shadow: none !important; letter-spacing: 0 !important; align-self: center !important; }
dialog form button.todo-ck { display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; width: 30px !important; height: 30px !important; border: 1.5px solid #B8945B !important; border-radius: 50% !important; color: #2F6B3E !important; cursor: pointer; flex: none; }
dialog form button.todo-x { border: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; width: 36px !important; height: 36px !important; color: #59544B !important; font-size: 20px; cursor: pointer; flex: none; }
/* each item: circle · words (with EDIT under the date) · × */
div.todo, .tdl-page .todo { grid-template-areas: "ck t x" "ck w x" "ck e x" !important; }
.todo > form:first-child { grid-area: ck; align-self: center; }
.todo > form:last-child { grid-area: x; align-self: center; }
.todo > .todo-ed { grid-area: e; }
.todo > .todo-ed > summary { padding: 4px 0 0; font-size: 11px; min-height: 0; }
html dialog.rg-sheet form button[type=submit].todo-ck.todo-ck, html dialog.rg-sheet form button[type=submit].todo-x.todo-x { background: transparent !important; width: 30px !important; min-height: 0 !important; padding: 0 !important; align-self: center !important; }
html dialog.rg-sheet form button[type=submit].todo-ck.todo-ck { border: 1.5px solid #B8945B !important; border-radius: 50% !important; height: 30px !important; }
html dialog.rg-sheet form button[type=submit].todo-x.todo-x { border: 0 !important; width: 36px !important; height: 36px !important; color: #59544B !important; }
.pay-seg { padding: 4px; background: #F1EBE1; border-radius: 999px; gap: 4px; border: 0; }
.pay-seg button { all: unset; box-sizing: border-box; cursor: pointer; text-align: center; min-height: 40px; border-radius: 999px; font-size: 11px; letter-spacing: .14em; display: flex; align-items: center; justify-content: center; color: #1C1B18; }
.pay-seg button[aria-selected=true] { background: #0E0E0E; color: #FAF8F2; }
.nx-rs-why { margin: 0 0 6px; font-size: 15px; line-height: 1.55; color: #3A3934; }
.copy-me { gap: 10px; } .copy-me .btn { align-self: flex-start; }
/* MORE: the page behind is dimmed, like every sheet */
.more-dim { position: fixed; inset: 0; z-index: 59; background: rgba(14,14,14,0.45); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: lg-dim .25s ease; }
.more-dim[hidden] { display: none; }
html.more-open, html.more-open body { overflow: hidden; }

/* Home: one "Needs you" card, only when something is waiting (red = do it now) */
.card.needs-you { gap: 0; box-shadow: inset 3px 0 0 #B3261E; }
.card.needs-you .ny-h { color: #B3261E !important; margin-bottom: 4px; }
.needs-you .ny-in { display: flex; flex-direction: column; }
.needs-you .ny-in > :not(.ny-keep) { margin: 0 !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; padding: 14px 0 !important; }
.needs-you .ny-in > :not(.ny-keep) + :not(.ny-keep) { border-top: 1px solid rgba(14,14,14,.08) !important; }
.needs-you .ny-in > .after-cta { display: flex; flex-direction: column; gap: 8px; }
.needs-you .ny-in > .after-cta .btn { width: 100%; }
/* Your 3 on Home: the streak inside, a quiet link to all of Wellness */
.w3-streak { display: inline-flex; align-self: flex-start; gap: 6px; font-size: 13px; letter-spacing: .02em; color: #59544B; background: #F1EBE1; border-radius: 999px; padding: 6px 12px; margin-top: 2px; }
.w3-streak.on { color: #7A5B2B; }
.w3-home .w3-all { align-self: center; margin-top: 6px; }
/* Your 3: the small round buttons get room, so a tap lands on the one you meant */
.w3-tools { gap: 16px !important; }
/* small and quiet: they are only for adjusting; the main action is the tick */
.w3-tools .wl-heart, .w3-ic { width: 32px !important; height: 32px !important; flex: none; background: transparent !important; color: #9C8763 !important; border-radius: 50% !important; min-height: 0 !important; position: relative; }
.w3-ic svg { width: 17px !important; height: 17px !important; }
.w3-tools .wl-heart::after, .w3-ic::after { content: ''; position: absolute; inset: -6px; }   /* a comfortable tap area without a bigger button */
.w3-tools form { display: inline-flex; }
@media (max-width: 480px) { .w3-i .w3-row { padding-left: 0 !important; justify-content: space-between !important; flex-wrap: nowrap; gap: 10px; } }
@media (max-width: 350px) { .w3-i .w3-row { flex-wrap: wrap !important; } }
/* Page changes: no cross-fade (the old page could show through behind the header and tab bar). The new page simply appears. */

.needs-you .ny-in > .ny-keep { margin: 10px 0 4px !important; }
.txt-link { color: #6E5226; }
.jr-next .txt-link { color: #D9BE8C; }
:is(.mv2, main) .wl-tile .eyebrow.ic-spark { color: #D9BE8C !important; }
span > .m-lang a:not(.on) { text-decoration: underline; text-decoration-color: rgba(89,84,75,0.55); text-underline-offset: 4px; }
/* Season mode and the second parent */
.card.season, .card.p2 { gap: 10px; }
.season-f, .p2-f { display: flex; flex-direction: column; gap: 14px; }
.season-f .btn, .p2-f .btn { width: 100%; justify-content: center; background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.season-back { gap: 8px; }
.season-back .sb-t { font-size: 24px; line-height: 1.2; }
.w3-tools .wl-heart { margin-left: 0 !important; display: inline-grid; place-items: center; } .w3-tools .wl-heart::before { font-size: 19px !important; line-height: 32px !important; color: #9C8763; } .w3-tools .wl-heart[aria-pressed="true"]::before { color: #B3261E; }
/* Legacy Socials and events: the same look as The Legacy Circle (warm sand, the round icon top left, a serif line) */
.card.events { display: flex; flex-direction: column; gap: 8px; background: linear-gradient(135deg, #F6EEDF, #FAF8F2) !important; }
/* the message sheet, simple: To · Sam · Legacy · Both in one small row, then the message */
.ms-simple { display: flex; flex-direction: column; gap: 14px; }
.ms-to2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ms-to2-l { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #59544B; margin-right: 4px; }
.ms-p { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 14px 4px 4px; border: 1px solid #E6DCCB; border-radius: 999px; background: #FFFDF8; font-size: 15px; cursor: pointer; color: #1C1B18; }
.ms-p:not(:has(.mto-av)) { padding-left: 14px; }
.ms-p input { position: absolute; opacity: 0; pointer-events: none; }
.ms-p .mto-av { width: 32px; height: 32px; font-size: 13px; }
.ms-p:has(input:checked) { background: #0E0E0E; border-color: #0E0E0E; color: #FAF8F2; }
.ms-p:has(input:focus-visible) { outline: 2px solid #B8945B; outline-offset: 2px; }
/* a player's phone and email: clean, easy to read, copy or show */
.ct-val { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: #F1EBE1; }
.ct-v { flex: 1; min-width: 0; font-size: 18px; letter-spacing: .01em; color: #1C1B18; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.ct-copy { flex: none; border: 0; background: none; padding: 6px 2px; font: inherit; font-size: 12px; letter-spacing: .18em; color: #7A5B2B; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
/* Tell them: plain boxes, empty until tapped */
.al-tell { gap: 6px 22px !important; align-items: center; }
.al-tell label { padding: 6px 0 !important; border: 0 !important; background: none !important; border-radius: 0 !important; font-size: 15px !important; }
.al-tell label:has(input:checked) { background: none !important; }
.al-tell input { width: 20px !important; height: 20px !important; accent-color: #B8945B; }
.ct-v.ct-em { font-size: 16px; overflow-wrap: break-word; }
.am-to2 { gap: 6px; flex-wrap: nowrap; } .am-to2 .ms-p { font-size: 14px; min-height: 36px; padding-right: 12px; white-space: nowrap; } .am-to2 .ms-p:not(:has(.mto-av)) { padding-left: 12px; } .am-to2 .mto-av { width: 28px; height: 28px; font-size: 12px; } .am-to2 .ms-to2-l { margin-right: 2px; }
.md-card .md-add { display: flex; flex-direction: column; gap: 14px; }
.md-card .md-h { display: block; margin-top: 18px; }
/* the search at the top (admin and coach) */
.m-find { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; color: #1C1B18; cursor: pointer; padding: 0; }
.m-find svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.fd-sheet { display: flex; flex-direction: column; gap: 12px; }
.fd-sheet:not([open]) { display: none; }
.fd-in { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border: 1px solid #E6DCCB; border-radius: 14px; background: #FFFDF8; color: #1C1B18; }
.fd-in:focus { outline: none; border-color: #B8945B; }
.fd-res { display: flex; flex-direction: column; min-height: 40vh; }
.fd-r { display: flex; align-items: center; gap: 12px; padding: 13px 2px; border-top: 1px solid #EEE7DA; color: #1C1B18; text-decoration: none; }
.fd-k { flex: none; width: 54px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #7A5B2B; }
.fd-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .fd-t b { font-weight: 500; } .fd-t small { color: #59544B; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-go { color: #B8945B; }
.fd-none { margin: 8px 2px; }
.pc-seg { margin-bottom: 14px; }
.m-nav > .m-find-top { margin-left: auto; } .m-nav > .m-find-top + .ts-solo { margin-left: 4px !important; }
.fd-in::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
/* a coach chosen in a filter: the coach, then their players */
.calf-coach { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 10px 0 4px; border-radius: 16px; background: #F1EBE1; }
.calf-coach .cc-t { flex: 1; min-width: 0; display: flex; flex-direction: column; } .calf-coach .cc-t b { font-weight: 500; } .calf-coach .cc-t small { color: #59544B; font-size: 13px; }
.calf-coach .mto-av { width: 38px; height: 38px; flex: none; }
/* Wellness › Players: adjust a player's Your 3 and levels */
.wla-adj { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 6px; padding: 14px; border-radius: 16px; background: #F1EBE1; }
.wla-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 0; border-top: 1px solid rgba(14,14,14,.07); }
.wla-row b { flex: 1 1 160px; font-weight: 500; }
.wla-row.on b { color: #2F6B3E; }
.wla-lv { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.wla-lvr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wla-lv .btn { align-self: flex-start; }
/* a tapped button shows it is working */
.lg-busy { position: relative; opacity: .75; pointer-events: none; }
.lg-busy::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 10px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; vertical-align: -1px; animation: lgSpin .7s linear infinite; }
@keyframes lgSpin { to { transform: rotate(360deg); } }
/* My list: DATE and TIME side by side, each in its own half, never on top of each other */
.todo-when { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; grid-column: 1 / -1; width: 100%; }
.todo-when .f { min-width: 0; }
.todo-when input[type=date], .todo-when input[type=time] { width: 100% !important; min-width: 0 !important; max-width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none; min-height: 46px; text-align: left; }
.todo-when input::-webkit-date-and-time-value { text-align: left; }
.sand .eyebrow, #request .eyebrow, .pr-lib .eyebrow, .card.pr-lib .eyebrow { color: #6B4F24 !important; opacity: 1 !important; }
.pr-pl { color: #6B4F24 !important; }
/* "Great work!": lighter and better balanced */
.yay-dlg[open] { gap: 8px !important; padding-top: 26px !important; padding-bottom: calc(22px + env(safe-area-inset-bottom)) !important; }
.yay-ic { width: 52px !important; height: 52px !important; font-size: 24px !important; background: #EAF2EC !important; color: #2F6B3E !important; box-shadow: inset 0 0 0 1.5px rgba(47,107,62,.35); }
.yay-dlg .rv-sh { font-size: 26px !important; line-height: 1.2 !important; margin-top: 6px !important; }
.yay-dlg .body { font-size: 15px; line-height: 1.5; max-width: 30ch; margin: 0 auto !important; }
.yay-dlg .btn { min-height: 46px !important; margin-top: 12px !important; font-size: 13px; box-shadow: none !important; outline: none !important; }
.yay-dlg .btn:focus, .yay-dlg .btn:focus-visible { outline: none !important; box-shadow: none !important; }
html[data-app="member"] .mv2.lg-ready { transition: none !important; }
/* the message sheet looks like My messages: My coach · Legacy, a chat box with the arrow, Also send to Legacy */
.ms-chat { display: flex; flex-direction: column; gap: 12px; }
.ms-mto { grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; margin: 0; background: #F1EBE1; border-radius: 999px; }
.ms-mto:has(.mto-b:only-child) { grid-template-columns: 1fr; }
.ms-mto .mto-b { flex-direction: row; align-items: center; justify-content: center; gap: 8px; padding: 8px 10px; border-radius: 999px; background: transparent; box-shadow: none; min-height: 44px; cursor: pointer; }
.ms-mto .mto-b input { position: absolute; opacity: 0; pointer-events: none; }
.ms-mto .mto-b b { font-size: 14px; } .ms-mto .mto-b .mto-av { width: 28px; height: 28px; font-size: 12px; flex: none; }
.ms-mto .mto-b:has(input:checked) { background: #0E0E0E; color: #FAF8F2; } .ms-mto .mto-b:has(input:checked) b { color: #FAF8F2; }
.ms-chat .msg-bar { align-items: flex-end; }
.ms-chat .msg-bar textarea { min-height: 72px; }
.ms-chat .msg-also[hidden] { display: none; }
.pr-tsel[hidden], .pr-std[hidden] { display: none !important; } .pr-times { display: flex; flex-direction: column; gap: 8px; }
details:has(> .fold-close.on-sum) { position: relative; }
.fold-close.on-sum { position: absolute; top: -8px; right: 0; z-index: 3; }
details:not([open]) > .fold-close.on-sum { display: none; }
details[open] > summary.link-btn + .fold-close.on-sum + form, details[open] > summary.link-btn + .fold-close.on-sum + * { margin-top: 18px; }
/* ---------- Your 3, clean: one quiet line each (circle · name · arrow); keep and swap live in the sheet ---------- */
.wl-three.w3-clean .w3c-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 2px 0 4px; }
.wl-three.w3-clean .w3c-bar i { height: 4px; border-radius: 4px; background: #EEE7DA; }
.wl-three.w3-clean .w3c-bar i.on { background: #B8945B; }
.wl-three.w3-clean .w3-i.w3c { display: grid !important; grid-template-columns: 44px 1fr 32px !important; gap: 14px !important; align-items: center !important; padding: 14px 0 !important; border-top: 1px solid #EEE7DA; }
.wl-three.w3-clean .w3-i.w3c .wl-check { grid-column: 1 !important; width: 44px; height: 44px; min-height: 44px; padding: 0 !important; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(184,148,91,0.65); background: #FFFDF8; }
.wl-three.w3-clean .w3-i.w3c .wl-check span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wl-three.w3-clean .w3-i.w3c .wl-check i { width: auto; height: auto; border: 0; background: none; font-size: 18px; color: transparent; }
.wl-three.w3-clean .w3-i.w3c .wl-check.on { background: #2F6B3E; border-color: #2F6B3E; }
.wl-three.w3-clean .w3-i.w3c .wl-check.on i { color: #FAF8F2; background: none; }
.wl-three.w3-clean .w3c-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: #0E0E0E; text-decoration: none; }
.wl-three.w3-clean .w3c-m { font: 500 10.5px/1.3 'Jost', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #7A5B2B; }
.wl-three.w3-clean .w3c-n { font-family: 'Cormorant Garamond', serif; font-size: 22px; line-height: 1.15; }
.wl-three.w3-clean .w3-i.w3c.done .w3c-n { color: #59544B; }
.wl-three.w3-clean .w3-i.w3c.done .w3c-m { color: #2F6B3E; }
.wl-three.w3-clean .w3c-go { width: 32px; height: 32px; border: 0; border-radius: 50%; background: #F1EBE1; color: #7A5B2B; display: grid; place-items: center; padding: 0; cursor: pointer; }
.wl-three.w3-clean .w3c-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-three.w3-clean .w3-streak { font-size: 13px; padding: 6px 12px; }
.wl-three.w3-clean .w3c-key { display: block; font-size: 13px; margin-top: 8px; }
.w3d-sheet .w3d-acts { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 2px; }
/* messages: the sheet is as slim as My messages, and SAVE DRAFT is a small line under the message */
dialog .ms-chat .msg-bar textarea, .ms-chat .msg-bar textarea { min-height: 40px !important; }
dialog .ms-mto .mto-b, #messages .mto-b { padding: 6px 10px !important; min-height: 44px !important; }
dialog .ms-mto .mto-b b, #messages .mto-b b { font-size: 14px !important; }
dialog .ms-mto .mto-b .mto-av, #messages .mto-b .mto-av { width: 28px !important; height: 28px !important; font-size: 12px !important; }
.msg-form .draft-btn.draft-small, .ms-chat .draft-btn.draft-small { display: inline-block !important; align-self: flex-end; margin: 6px 6px 0 auto; font-size: 10.5px; letter-spacing: .16em; border-bottom-width: 1px; }
.msg-form:has(.draft-small), .ms-chat:has(.draft-small) { display: flex; flex-direction: column; }
/* badges (admin and coach): every row the same, the words on the left, REACHED and EDIT always in the same place on the right; − / + sit beside the count */
.bm-r { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 14px; }
.bm-a { flex-wrap: nowrap !important; justify-content: flex-end; min-width: 168px; }
.bm-sl { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bm-pm { display: inline-flex; gap: 6px; }
.bm-pm form { margin: 0; }
.bm-pm .chp-k { width: 32px !important; height: 32px !important; min-height: 32px !important; padding: 0 !important; font-size: 16px; }
.msg-under { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 0; }
.msg-under .msg-also { padding-top: 0 !important; min-height: 40px; }
.msg-under .draft-btn.draft-small { margin: 0 6px 0 auto !important; min-height: 0 !important; padding: 4px 0 !important; align-self: center; }
dialog .ms-mto .mto-b { box-sizing: border-box !important; height: 44px !important; min-height: 44px !important; }
/* Today (admin): the things you do most, one tap each */
.td-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 2px 0 6px; }
.td-quick a { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 46px; padding: 8px 10px; border-radius: 14px; border: 1px solid rgba(184,148,91,.55); background: #FFFDF8; color: #1C1B18; text-decoration: none; font: 500 11px/1.3 'Jost', sans-serif; letter-spacing: .14em; }
.td-quick a:first-child { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
@media (min-width: 761px) { .td-quick { grid-template-columns: repeat(4, 1fr); } }

/* Home: my four essentials, one tap each; the one that needs me now has a gold dot */
.hq-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 4px; }
.hq-t { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; min-height: 64px; box-sizing: border-box; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.12); border-radius: 14px; color: #1C1B18; text-decoration: none; }
.hq-t b { font-weight: 500; font-size: 15px; }
.hq-t span { font-size: 13px; line-height: 1.35; color: #59544B; }
.hq-t.due { border-color: #B8945B; }
.hq-t.due span { color: #7A5B2B; }
.hq-t.due::after { content: ''; position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: #B8945B; }
.hq-t:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
@media (min-width: 760px) { .hq-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .hq-t:last-child:nth-child(odd) { grid-column: auto; } }

/* Tournaments: a player's level edited in place, and the events that fit them */
.tp-lvl { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 14px; align-items: end; padding: 6px 0 12px; border-bottom: 1px solid rgba(28,27,24,0.1); }
.tp-lvl .btn { justify-self: start; }
.tp-sug { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; }
.tp-acts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.tp-find { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ===== Oct 29 · straight and full width everywhere ===== */
/* every switch (Day/Week/Month, List/Cards, Member view/Edit, Past/Today/Coming up, All/Moved indoors/Cancelled): the full width, equal parts */
html .sv-seg, html .ppf-seg, html .eq-seg, html .wh-seg, html .lc-seg { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100% !important; max-width: none !important; box-sizing: border-box; }
html .sv-seg > *, html .ppf-seg > *, html .eq-seg > *, html .wh-seg > *, html .lc-seg > * { min-width: 0; }
@media (min-width: 700px) { html .pg-seg, html .pg-seg.ch-seg { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } }
html .pg-seg:has(> a:only-child) { display: none !important; }   /* a single tab says nothing */

/* Money: downloads in two tidy columns, each with EMAIL IT TO ME and SHARE beside it */
.ex-grid { display: grid; grid-template-columns: 1fr; gap: 10px 28px; margin: 18px 0 8px; }
.ex-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 48px; }
.ex-row > .btn { min-width: 220px; justify-content: center; }
.ex-row .doc-acts { display: inline-flex; gap: 14px; margin: 0 !important; }
@media (min-width: 700px) { .ex-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; grid-auto-flow: column; } }

/* Players: kids at a glance (gold initials), adults dark */
.pl-age { display: none; }
.pl-kid .pl-av { background: #E9DCC2; color: #6B4E22; }
@media (min-width: 700px) {
  .pl-list.pl-compact { grid-template-columns: 1fr !important; }
  .pl-compact .pl-card { padding: 12px 20px !important; }
  .pl-compact .pl-top { grid-template-columns: 44px minmax(0, 1.2fr) 82px minmax(0, 1.2fr) 250px; grid-template-areas: "av name age sub pills"; column-gap: 20px; }
  .pl-compact .pl-who { display: contents; }
  .pl-compact .pl-av { grid-area: av; width: 44px; height: 44px; font-size: 18px; }
  .pl-compact .pl-name { grid-area: name; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pl-compact .pl-age { grid-area: age; display: inline-flex; justify-content: center; padding: 5px 0; border-radius: 999px; font-size: 10px; letter-spacing: .14em; background: #F1EBE1; color: #59544B; }
  .pl-compact .pl-kid .pl-age { background: #E9DCC2; color: #6B4E22; }
  .pl-compact .pl-sub { grid-area: sub; }
  .pl-compact .pl-pills { grid-area: pills; grid-column: auto; justify-content: flex-end; }
}

/* laptop and tablet: every pop-up opens in the middle of the screen, a little bigger; the phone keeps its bottom sheet */
@media (min-width: 768px) {
  html dialog.rg-sheet, html dialog.aw-sheet { inset: 0 !important; top: 0 !important; bottom: 0 !important; left: 0 !important; right: 0 !important; margin: auto !important; width: calc(100vw - 64px) !important; max-width: 640px !important; height: fit-content !important; max-height: min(86vh, 900px) !important; min-height: 0 !important; border-radius: 26px !important; padding: 32px 30px 30px !important; box-shadow: 0 30px 80px rgba(14,14,14,0.22); }
  html dialog.rg-sheet[open], html dialog.aw-sheet[open] { animation: lg-pop .26s cubic-bezier(.2,.9,.25,1) !important; }
  html dialog.rg-sheet::before { display: none !important; }
  html .lg-sheet { bottom: auto !important; top: 50% !important; transform: translateY(-44%); opacity: 0; transition: transform .24s cubic-bezier(.2,.8,.2,1), opacity .2s; max-width: 460px !important; }
  html .lg-sheet.in { transform: translateY(-50%); opacity: 1; }
}
@keyframes lg-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* member app on laptop and tablet: the same bottom bar as the phone (and as admin), and calm, centered content */
@media (min-width: 761px) {
  html[data-app="member"] .tabbar:not(.admin) { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: rgba(250,248,242,0.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid rgba(28,27,24,0.14); padding: 0 max(0px, calc(50% - 380px)) env(safe-area-inset-bottom); }
  html[data-app="member"] .tabbar:not(.admin) a, html[data-app="member"] .tabbar:not(.admin) summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 62px; box-sizing: border-box; font-size: 11px; letter-spacing: 0.16em; color: #4A463F; text-decoration: none; position: relative; cursor: pointer; list-style: none; }
  html[data-app="member"] .tabbar:not(.admin) summary::-webkit-details-marker { display: none; }
  html[data-app="member"] .tabbar:not(.admin) svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  html[data-app="member"] .tabbar:not(.admin) .on { color: #7A5B2B; }
  html[data-app="member"] .tabbar:not(.admin) .on::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; background: #B8945B; }
  html[data-app="member"] .tabbar:not(.admin) .badge { position: absolute; top: 8px; left: calc(50% + 6px); min-width: 17px; height: 17px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #9A4A2A; color: #FFF; font-size: 10px; line-height: 17px; text-align: center; }
  html[data-app="member"] .tabbar:not(.admin) details { display: block; position: static; }
  html[data-app="member"] .tabbar:not(.admin) details:not([open]) > div { display: none !important; }
  html[data-app="member"] .tabbar:not(.admin) details > div { position: fixed; bottom: calc(62px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(560px, 100%); box-sizing: border-box; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.14); border-bottom: 0; box-shadow: 0 -12px 30px rgba(28,27,24,0.08); padding: 8px 20px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; max-height: 70vh; overflow: auto; }
  html[data-app="member"] .tabbar:not(.admin) details > div a, html[data-app="member"] .tabbar:not(.admin) details > div button { flex-direction: row; justify-content: flex-start; height: 52px; font-size: 12px; letter-spacing: 0.16em; color: #1C1B18; border: 0; border-bottom: 1px solid rgba(28,27,24,0.08); background: none; font-family: inherit; text-align: left; padding: 0; cursor: pointer; width: 100%; }
  html[data-app="member"] .tabbar:not(.admin) details > div form { display: contents; }
  html[data-app="member"] body:has(.tabbar) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  html[data-app="member"] nav.mtabs { display: none !important; }   /* the bottom bar does this now */
  html[data-app="member"] main > *:not(nav):not(dialog):not(.tabbar) { max-width: 860px; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }
  html[data-app="member"] main .mv2, html[data-app="member"] main .m-wrap { max-width: 860px; margin-left: auto; margin-right: auto; }
}

/* laptop and tablet: ASK LEGACY as the same calm pill as the website, above the bottom bar */
@media (min-width: 761px) {
  html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch { width: auto !important; height: 52px !important; padding: 0 24px 0 20px !important; gap: 12px !important; border-radius: 999px !important; display: inline-flex !important; align-items: center; justify-content: center; right: 28px !important; bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch svg { width: 20px !important; height: 20px !important; }
  html:is([data-app=member],[data-app=admin],[data-app=coach]) .ak-launch .ak-label { position: static !important; transform: none !important; clip: auto !important; width: auto !important; height: auto !important; overflow: visible !important; margin: 0 !important; font-size: 12px !important; letter-spacing: 0.24em !important; color: #FAF8F2 !important; background: none !important; text-transform: uppercase; white-space: nowrap; }
}
/* admin and coach on a wide laptop: content stays in a calm column, nothing stranded at the far edge */
@media (min-width: 1200px) {
  html:is([data-app=admin],[data-app=coach]) main { width: 100%; max-width: 1100px; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; }   /* always the full column: no page narrower than another */
}
/* the one field to fix after sending: red, everything else kept */
label.f-bad, .f-bad { color: #B3261E !important; }
.f-bad input, .f-bad select, .f-bad textarea, input.f-bad { border-color: #B3261E !important; box-shadow: 0 0 0 2px rgba(179,38,30,0.18) !important; background: #FFF6F5 !important; }
.lg-toast.err-t { background: #B3261E !important; color: #FFFFFF !important; }
/* birthday: Month · Day · Year on one line */
.bd-pick { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 8px; width: 100%; }
.bd-pick select { width: 100%; min-width: 0; min-height: 48px; box-sizing: border-box; }
/* less than 24 hours away: shown, but cannot be picked */
.opt-pick .sp-t.soon { opacity: .38; cursor: not-allowed; }
.opt-pick .sp-24 { font-size: 13px; color: #59544B; }
.wp { display: flex; flex-direction: column; gap: 14px; }
.wp select { width: 100%; }
.ct-card .ct-f { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
/* one house voice: no voice choice for members */
.wl-voice-pick, .wg-pick { display: none !important; }
.mbg-card .mbg-dials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mbg-card .mbg-d { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.mbg-card .mbg-st { font-size: 12px; letter-spacing: 0.08em; color: #59544B; }
/* the people first: coach and Legacy at the top of Home */
.ppl-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.ppl-strip .ppl { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.1); border-radius: 16px; text-decoration: none; color: #1C1B18; min-width: 0; }
.ppl-strip .ppl-av { width: 44px; height: 44px; flex: none; }
.ppl-strip .ppl-av.gold { background: #B8945B; color: #0E0E0E; }
.ppl-strip .ppl-t { display: flex; flex-direction: column; min-width: 0; }
.ppl-strip .ppl-t b { font-weight: 500; font-size: 16px; }
.ppl-strip .ppl-t span { font-size: 12px; color: #59544B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Ask Legacy stays small in the member app: the people come first */
html[data-app=member] .ak-launch { width: 44px !important; height: 44px !important; padding: 0 !important; border-radius: 50% !important; justify-content: center !important; }
html[data-app=member] .ak-launch .ak-label { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
.mbg-card .mbg-st { display: flex; flex-direction: column; gap: 2px; }
.mbg-card .mbg-st b { font-weight: 500; color: #1C1B18; letter-spacing: 0.04em; }
/* the first 30 days */
.f30 .f30-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f30 .f30-steps li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(28,27,24,0.04); color: #59544B; }
.f30 .f30-steps li b { font-weight: 500; }
.f30 .f30-steps li.on { background: #F1EBE1; color: #1C1B18; border-left: 3px solid #B8945B; }
.f30 .f30-steps li.done { color: #7A5B2B; }
.f30 .f30-steps li span { font-size: 14px; line-height: 1.5; }
.renew-card .rn-next { display: flex; flex-direction: column; gap: 8px; width: 100%; padding-bottom: 8px; border-bottom: 1px solid rgba(28,27,24,0.1); }
.renew-card .rn-q { font-weight: 500; }
.renew-card .rn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-split { display: grid; gap: 8px; }
.cm-split span { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.5; color: #4A463F; padding: 10px 12px; border-radius: 12px; background: rgba(28,27,24,0.04); }
.cm-split b { font-weight: 500; color: #1C1B18; }
.mbg-card .mbg-row { display: flex; flex-direction: column; gap: 6px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.1); }
.mbg-card .mbg-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mbg-card .mbg-top b { font-weight: 500; letter-spacing: 0.06em; }
.mbg-card .mbg-stage { color: #7A5B2B; font-weight: 500; }
.mbg-card .mbg-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.mbg-card .mbg-scale i { height: 6px; border-radius: 3px; background: rgba(28,27,24,0.1); }
.mbg-card .mbg-scale i.on { background: #B8945B; }
.mbg-card .mbg-from { font-size: 13px; color: #59544B; }
.mbg-card .mbg-obs { font-size: 15px; line-height: 1.55; color: #3A3934; font-style: italic; }
.mbg-card .mbg-how summary { cursor: pointer; font-size: 13px; letter-spacing: 0.12em; color: #7A5B2B; }
.mbg-card .mbg-how p { font-size: 14px; line-height: 1.6; color: #4A463F; margin: 8px 0 0; }
.ip-card { gap: 10px; }
.ip-card .ip-focus { font-size: 16px; line-height: 1.55; padding: 10px 12px; background: #F1EBE1; border-left: 3px solid #B8945B; border-radius: 8px; }
.ip-card .ip-focus b { font-weight: 500; }
.ip-card .ip-acts { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; }
.ip-rec { border: 1px solid rgba(28,27,24,0.15); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.fu-card summary { cursor: pointer; list-style: none; }
.fu-card .fu-list { display: flex; flex-direction: column; }
.fu-card .fu-row { display: grid;  gap: 4px 12px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.1); align-items: center; }
.fu-card .fu-row > * { grid-column: 1; }
.fu-card .fu-row form { grid-column: 2; grid-row: 1 / span 4; }
.fu-card .fu-who { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #7A5B2B; }
.fu-card .fu-what { font-size: 14px; line-height: 1.5; color: #3A3934; }
.sq-card summary { cursor: pointer; list-style: none; }
.sq-card .sq-wrap { overflow-x: auto; }
.sq-card table.sq { border-collapse: collapse; font-size: 13px; min-width: 640px; }
.sq-card .sq th, .sq-card .sq td { padding: 8px 6px; border-top: 1px solid rgba(28,27,24,0.1); text-align: center; }
.sq-card .sq thead th { font-size: 11px; letter-spacing: 0.06em; color: #59544B; font-weight: 500; vertical-align: bottom; }
.sq-card .sq tbody th { text-align: left; font-weight: 500; }
.sq-card .sq td.ok { color: #2E6B3F; } .sq-card .sq td.no { color: #9A4A2E; } .sq-card .sq td.un { color: #8C867A; }
.f30 .f30-more summary { cursor: pointer; font-size: 13px; letter-spacing: 0.12em; color: #7A5B2B; }
.f30 .f30-more[open] summary { margin-bottom: 8px; }
.fu-card .fu-row.late .fu-who { color: #9A4A2E; }
.fu-card .fu-done { grid-column: 1 / -1 !important; grid-row: auto !important; }
.fu-card .fu-done summary { list-style: none; display: inline-flex; }
.fu-card .fu-f { display: flex; flex-direction: column; gap: 10px; padding-top: 10px; }
.fu-card .fu-recent { padding-top: 10px; }
.fu-card .fu-r { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid rgba(28,27,24,0.08); font-size: 14px; }
.fu-card .fu-r span { color: #4A463F; }
.fu-card .fu-row { grid-template-columns: 1fr; }
.fu-card .fu-row form.fu-f { grid-column: auto; grid-row: auto; }
.pulse-card .pulse-f { display: flex; flex-direction: column; gap: 14px; }
.pulse-card .pulse-q { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pulse-card .pulse-q legend { font-size: 16px; line-height: 1.45; padding: 0 0 6px; }
.sq-card .sq td.mid { color: #8A6A35; }
.sq-card .sq th.sq-g { font-size: 10px; letter-spacing: 0.2em; color: #7A5B2B; border-top: 0; }
.sq-card .sq-p td, .sq-card .sq-p th { text-align: left; vertical-align: top; }
.sq-card .sq-promises { padding-top: 10px; }
/* "Start this plan": one confirm, everything filled in */
.ip-sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 4px 0 14px; font-size: 15px; }
.ip-sum dt { color: #6B665C; font-size: 13px; letter-spacing: .04em; }
.ip-sum dd { margin: 0; text-align: right; }
.ip-sheet .ip-acts { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 14px 0 6px; }
/* skill badge levels: where they are, and the next level */
.ms-lv { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; background: #F4EFE6; border-radius: 10px; margin: 6px 0 10px; }
.ms-lv-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ms-lv-t b { font-weight: 500; font-size: 16px; }
.ms-lv-bar { height: 6px; border-radius: 3px; background: #E3DACB; overflow: hidden; }
.ms-lv-bar i { display: block; height: 100%; background: #B8945B; border-radius: 3px; }
.ms-lv-n { font-size: 13px; }
.ms-lv-n b { font-weight: 500; color: #1C1B18; }

/* ---------- admin and coach, laptop and tablet: the tabs in the top bar like the website; MORE is a dropdown ---------- */
@media (min-width: 761px) {
  html.lg-toptabs body, html.lg-toptabs body:has(.tabbar) { padding-bottom: 0 !important; }
  html.lg-toptabs header.m-head .m-nav { gap: 12px; }
  html.lg-toptabs header.m-head .m-nav > .tabbar.admin {
    position: static !important; inset: auto !important; transform: none !important; z-index: 70;
    display: flex !important; flex: 1 1 auto; justify-content: center; align-items: center; gap: 2px !important;
    height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; view-transition-name: none;
  }
  html.lg-toptabs .m-nav > .tabbar.admin > a, html.lg-toptabs .m-nav > .tabbar.admin > details > summary {
    position: relative; display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px !important;
    height: 44px !important; padding: 0 clamp(8px, 1.2vw, 16px) !important; border-radius: 0 !important; background: none !important;
    font-size: 11.5px !important; letter-spacing: 0.18em !important; color: #4A463F !important; white-space: nowrap; cursor: pointer; list-style: none;
  }
  html.lg-toptabs .m-nav > .tabbar.admin svg { display: none !important; }
  html.lg-toptabs .m-nav > .tabbar.admin > a:hover, html.lg-toptabs .m-nav > .tabbar.admin > details > summary:hover { color: #1C1B18 !important; }
  html.lg-toptabs .m-nav > .tabbar.admin > a.on { color: #1C1B18 !important; background: none !important; }
  html.lg-toptabs .m-nav > .tabbar.admin > a.on::after { content: ""; position: absolute; left: clamp(8px, 1.2vw, 16px); right: clamp(8px, 1.2vw, 16px); bottom: 6px; height: 1px; background: #B8945B; }
  html.lg-toptabs .m-nav > .tabbar.admin > a .badge, html.lg-toptabs .m-nav > .tabbar.admin summary .badge { position: static !important; box-shadow: none !important; margin-left: 2px; }
  html.lg-toptabs .m-nav > .tabbar.admin > details { position: relative; display: block; }
  html.lg-toptabs .m-nav > .tabbar.admin > details > summary::-webkit-details-marker { display: none; }
  html.lg-toptabs .m-nav > .tabbar.admin > details > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg); margin: -4px 0 0 4px; transition: transform .2s; }
  html.lg-toptabs .m-nav > .tabbar.admin > details[open] > summary::after { transform: rotate(-135deg); margin-top: 3px; }
  /* the dropdown: dark, like the website's, with every group shown side by side */
  html.lg-toptabs .m-nav > .tabbar.admin > details > div {
    position: absolute !important; top: calc(100% + 12px) !important; bottom: auto !important; left: auto !important; right: -40px !important; transform: none !important;
    width: min(1000px, calc(100vw - 48px)) !important; max-height: min(78vh, 720px); overflow-y: auto; box-sizing: border-box;
    display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 28px !important; align-items: start;
    padding: 26px 28px !important; border: 0 !important;  background: #1C1B18 !important; color: #FAF8F2;
    box-shadow: 0 24px 60px rgba(14,14,14,0.28) !important; animation: lg-drop .18s ease;
  }
  html.lg-toptabs .m-nav > .tabbar.admin > details > div::before { content: ""; position: absolute;  left: 0; right: 0;  }
  html.lg-toptabs .m-nav > .tabbar.admin details > div a, html.lg-toptabs .m-nav > .tabbar.admin details > div button {
    min-height: 34px !important; height: auto !important; padding: 6px 0 !important; border-radius: 0 !important; background: none !important; color: #FAF8F2 !important;
    font-size: 12px !important; letter-spacing: 0.12em !important; justify-content: flex-start !important; border: 0 !important; box-shadow: none !important;
  }
  html.lg-toptabs .m-nav > .tabbar.admin details > div a:hover, html.lg-toptabs .m-nav > .tabbar.admin details > div button:hover { color: #D9BE8C !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div a.on, html.lg-toptabs .m-nav > .tabbar.admin details > div a[aria-current] { color: #D9BE8C !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > a.must, html.lg-toptabs .m-nav > .tabbar.admin details > div #fy-link { grid-column: 1 / -1; color: #D9BE8C !important; background: none !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div .mo-n { background: #B8945B; color: #0E0E0E; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g { display: block; border: 0 !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g > summary { pointer-events: none; min-height: 0 !important; padding: 0 0 8px !important; margin: 0 0 6px !important; border-bottom: 1px solid rgba(250,248,242,0.16) !important; background: none !important; color: #B8945B !important; font-size: 10.5px !important; letter-spacing: 0.24em !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g > summary span { font-size: 10.5px !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g > summary b, html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g > summary::after { display: none !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g > div.mo-gi { display: flex !important; flex-direction: column; gap: 0 !important; padding: 0 !important; background: none !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > form { grid-column: 1 / -1; display: block; padding-top: 10px; border-top: 1px solid rgba(250,248,242,0.16); }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > form button { color: rgba(250,248,242,0.7) !important; }
  html.lg-toptabs .ak-launch { bottom: calc(28px + env(safe-area-inset-bottom)) !important; }
  @keyframes lg-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
/* closed groups still show their links in the laptop dropdown */
@media (min-width: 761px) { html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g:not([open]) > div.mo-gi { display: flex !important; } }
@media (min-width: 761px) {
  html.lg-toptabs .m-nav > .tabbar.admin details > div > .mo-col { display: flex; flex-direction: column; min-width: 0; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > .mo-col > .mo-colh { padding: 0 0 8px; margin: 0 0 6px; border-bottom: 1px solid rgba(250,248,242,0.16); color: #B8945B; font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > .mo-col > .mo-gi { display: flex !important; flex-direction: column; gap: 0 !important; padding: 0 !important; background: none !important; position: static !important; }
}
/* laptop and tablet top bar: the dropdown sits over the page, with no dimming (like the website) */
@media (min-width: 761px) {
  html.lg-toptabs .more-dim { display: none !important; }
  
  html.lg-toptabs .m-nav > .tabbar.admin details > div .ts-btn, html.lg-toptabs .m-nav > .tabbar.admin details > div [data-ts] { color: #FAF8F2 !important; }
}
/* a longer message: a calm rounded card, never a circle */
.lg-toast { border-radius: 18px !important; max-width: min(520px, calc(100vw - 32px)); width: max-content; box-sizing: border-box; text-align: left; }
/* after scheduling: a clear confirmation, and the record on Today */
.cf-sheet .cf-ic { width: 52px; height: 52px; border-radius: 50%; background: #1F4D2C; color: #FAF8F2; display: inline-grid; place-items: center; font-size: 24px; margin-bottom: 4px; }
.cf-told { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.cf-told .chp-ct { flex: 1 0 100%; }
.cf-t { font-size: 13px; padding: 5px 10px; border-radius: 999px; background: #F1EBE1; color: #3A3934; }
.cf-t small { font-size: 11px; color: #6B665C; }
.cf-t.cf-ok { background: #E3EEE5; color: #1F4D2C; }
.cf-t.cf-no { background: #F7E7E4; color: #8A2E22; }
.cf-t.cf-off { opacity: 0.6; }
.cf-acts { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 6px; }
.cf-card summary { cursor: pointer; list-style: none; }
.cf-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.cf-rt { display: flex; flex-direction: column; gap: 2px; }
.cf-rt a { color: #1C1B18; text-decoration: none; }
.cf-rt b { font-weight: 500; }
.ip-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.ip-three .btn { width: 100%; padding-left: 10px; padding-right: 10px; }
@media (max-width: 560px) { .ip-three { grid-template-columns: 1fr; } }
.ip-terms { font-size: 13px; line-height: 1.55; margin: -6px 0 12px; }
.ms-grp { display: block; margin: 14px 0 6px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; }
.ms-lv-why { font-size: 13px; color: #3A3934; font-style: italic; }
/* the Legacy standard: six things every client experiences */
.ls-card { gap: 8px; }
.ls-top { display: flex; justify-content: space-between; align-items: baseline; }
.ls-n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; }
.ls-r { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; border-top: 1px solid rgba(28,27,24,0.07); }
.ls-r > div { display: flex; flex-direction: column; gap: 2px; }
.ls-r b { font-weight: 500; font-size: 14px; }
.ls-r .muted { font-size: 13px; }
.ls-i { width: 22px; height: 22px; flex: none; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; background: #F1EBE1; color: #7A5B2B; }
.ls-r.ok .ls-i { background: #E3EEE5; color: #1F4D2C; }
.ls-later { opacity: 0.6; }
.ls-line { display: block; font-size: 12px; color: #7A5B2B; text-decoration: none; margin-top: 4px; }
.ls-line b { font-weight: 500; }
/* the Legacy standard, read twice: done by us · felt by them */
.ls-sum { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: #3A3934; padding: 6px 0 2px; }
.ls-sum b { font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; margin-right: 6px; }
.ls-f { font-size: 12px; color: #8A847A; }
.ls-f.yes { color: #1F4D2C; }
.ls-f.no { color: #8A3B2B; }
/* moving up a level: the same evidence for every coach */
.ev-form { display: flex; flex-direction: column; gap: 8px; }
.ev-r { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #3A3934; padding: 6px 0; border-top: 1px solid rgba(28,27,24,0.07); cursor: pointer; }
.ev-r input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: #A88449; }
.ev-r b { display: block; font-weight: 500; font-size: 14px; color: #1C1B18; }
.ev-exc { margin-top: 4px; }
/* the sent log: what the mail or text service confirmed, and what it did not */
.rec-st { grid-column: 2; font-size: 12px; color: #8A847A; }
.rec-st b { font-weight: 500; }
.rec-st-ok { color: #1F4D2C; }
.rec-st-mid { color: #7A5B2B; }
.rec-st-no { color: #8A3B2B; }
@media (max-width: 560px) { .rec-st { grid-column: 1; } }
.rec-legend { font-size: 12px; line-height: 1.55; margin: 2px 0 8px; }
.rec-legend b { font-weight: 500; color: #3A3934; }
/* one development summary: why → developing → observed → achieved → next */
.dev-card { gap: 6px; }
.dev-l { list-style: none; margin: 4px 0 0; padding: 0; counter-reset: dv; }
.dev-r { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 0 10px 26px; border-top: 1px solid rgba(28,27,24,0.07); }
.dev-r:first-child { border-top: 0; }
.dev-r::before { counter-increment: dv; content: counter(dv); position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #F1EBE1; color: #7A5B2B; }
.dev-r:not(:last-child)::after { content: ''; position: absolute; left: 8.5px; top: 32px; bottom: -12px; width: 1px; background: rgba(168,132,73,0.35); }
.dev-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.dev-v { font-size: 15px; line-height: 1.5; color: #1C1B18; }
.dev-empty .dev-v { font-size: 13px; color: #8A847A; }
.dev-at { font-size: 12px; }
.dev-f { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.dev-edit > summary { list-style: none; cursor: pointer; }
.dev-edit > summary::-webkit-details-marker { display: none; }
/* For you: never an empty window */
.fy-empty { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #59544B; margin: 4px 0 12px; }
.fy-empty.none { align-items: center; text-align: center; padding: 36px 12px 28px; gap: 8px; }
.fy-empty b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 26px; color: #1C1B18; }
.fy-ok { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #F1EBE1; color: #7A5B2B; font-size: 20px; }
/* Legacy Recommends: clear, calm, one gold button */
.lr { gap: 22px; }
.lr-head { display: flex; flex-direction: column; gap: 10px; }
.lr-ask { align-self: stretch; }
@media (min-width: 640px) { .lr-ask { align-self: flex-start; padding-left: 36px; padding-right: 36px; } }
.lr-cats { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.lr-cat { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.lr-how ol { list-style: none; margin: 6px 0 0; padding: 0; counter-reset: lr; display: flex; flex-direction: column; }
.lr-how li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 40px; border-top: 1px solid rgba(28,27,24,0.07); }
.lr-how li:first-child { border-top: 0; }
.lr-how li::before { counter-increment: lr; content: counter(lr); position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; background: #F1EBE1; color: #7A5B2B; }
.lr-how b { font-weight: 500; font-size: 15px; color: #1C1B18; }
.lr-how span { font-size: 14px; color: #59544B; }
.lr-sub { margin-top: 6px; }
.lr-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: -8px; }
.lr-tile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 14px 18px; border: 1px solid rgba(28,27,24,0.1); border-radius: 16px; background: #FFFDF9; font: inherit; font-size: 15px; color: #1C1B18; text-align: left; cursor: pointer; }
.lr-tile i { font-style: normal; color: #A88449; font-size: 20px; }
.lr-tile:active { background: #F6F1E8; }
.lr-f { display: flex; flex-direction: column; gap: 16px; }
.lr-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lr-chips legend { font-size: 12px; letter-spacing: 0.18em; color: #59544B; margin-bottom: 8px; padding: 0; }
.lr-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lr-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; background: #F6F1E8; color: #3A3934; font-size: 14px; cursor: pointer; }
.lr-chip input:checked + span { background: #B8945B; color: #0E0E0E; }
.lr-chip input:focus-visible + span { outline: 2px solid #7A5B2B; outline-offset: 2px; }
.lr-note { font-size: 13px; }
/* phone: the back button sits on the page margin, never against the screen edge */
@media (max-width: 760px) { .lg-back { padding-left: 16px !important; padding-right: 16px !important; } }
/* phone footer: the name on its own line, then the links in one even row */
@media (max-width: 560px) { .m-foot.quiet > .m-wrap { align-items: baseline !important; } .m-foot.quiet .m-flogo-a { flex: 1 0 100%; padding-bottom: 2px !important; } }
.tabbar .m-more > div #fy-link .mo-n.zero { background: #E3EEE5; color: #1F4D2C; }
/* names in three fields: first, middle, last (side by side on larger screens) */
.name3 { display: grid; grid-template-columns: 1fr; gap: 20px; flex: 1 1 100%; width: 100%; }
@media (min-width: 760px) { .name3 { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 20px 24px; } }
.name3 > .f { min-width: 0; }
.dt-grid > .name3 { grid-column: 1 / -1; }
/* a dropdown with Other: the line to write it sits right under the choice */
.sel-other { margin-top: 10px; }
.sel-other[hidden] { display: none !important; }
.dev-meta { font-size: 12px; color: #8A847A; }
.dev-meta.stale { color: #8A3B2B; }
.dev-acts { display: flex; gap: 16px; flex-wrap: wrap; }
.dev-acts .link-btn { font-size: 11px; padding: 6px 0; }
.dev-line { display: block; font-size: 12px; color: #3A3934; text-decoration: none; margin-top: 4px; line-height: 1.5; }
.dev-line b { font-weight: 500; color: #7A5B2B; }
.dev-go { color: #7A5B2B; letter-spacing: 0.12em; font-size: 11px; white-space: nowrap; }
.ls-sig { font-size: 12px; color: #7A5B2B; font-style: italic; }
.ls-res > summary { list-style: none; cursor: pointer; font-size: 11px; padding: 6px 0 0; }
.ls-res > summary::-webkit-details-marker { display: none; }
.ls-res-f { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }

/* ---------- admin and coach, laptop and tablet: the top bar exactly like the website's ---------- */
@media (min-width: 761px) {
  html.lg-toptabs header.m-head { position: sticky !important; top: 0 !important; z-index: 80; background: #FAF8F2 !important; border-bottom: 1px solid rgba(28,27,24,0.1) !important; box-shadow: none !important; }
  html.lg-toptabs header.m-head > .m-nav { box-sizing: content-box !important; max-width: 1280px !important; width: auto !important; padding-left: 32px !important; padding-right: 32px !important; margin: 0 auto !important;  }
  html:is([data-app=admin],[data-app=coach]).lg-toptabs main { max-width: 1344px !important; }
  /* the words: the website's size and spacing; champagne bronze on hover and for the page you are on */
  html.lg-toptabs .m-nav > .tabbar.admin > a, html.lg-toptabs .m-nav > .tabbar.admin > details > summary, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd > a {
    font-size: 12px !important; letter-spacing: 0.14em !important; color: #1C1B18 !important; transition: color .25s ease; }
  html.lg-toptabs .m-nav > .tabbar.admin > a:hover, html.lg-toptabs .m-nav > .tabbar.admin > details > summary:hover, html.lg-toptabs .m-nav > .tabbar.admin > details[open] > summary,
  html.lg-toptabs .m-nav > .tabbar.admin > a.on, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd > a:hover, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd > a.on, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd.is-open > a { color: #9C7A3F !important; }
  html.lg-toptabs .m-nav > .tabbar.admin > a::after, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd > a::after { content: ""; position: absolute; left: clamp(8px, 1.2vw, 16px); right: clamp(8px, 1.2vw, 16px); bottom: 6px; height: 1px; background: #B8945B; transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
  html.lg-toptabs .m-nav > .tabbar.admin > a:hover::after, html.lg-toptabs .m-nav > .tabbar.admin > a.on::after, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd > a.on::after, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd:hover > a::after, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd.is-open > a::after { transform: scaleX(1); }
  /* MORE: the dark panel with a small arrow pointing at MORE, like the website's menus */
  html.lg-toptabs .m-nav > .tabbar.admin > details > div { top: calc(100% + 14px) !important; overflow: visible !important; border-radius: 0 !important; }
  html.lg-toptabs .m-nav > .tabbar.admin > details > div::after { content: ""; position: absolute; top: -7px; left: var(--aim, calc(100% - 80px)); width: 14px; height: 14px; background: #1C1B18; transform: translateX(-50%) rotate(45deg); }
  html.lg-toptabs .m-nav > .tabbar.admin > details > div::before { top: -16px !important; height: 16px !important; }
  /* nothing floating: the item that needs you (Renewals) is one quiet line at the top with its number beside it; text size lives in the top bar (Aa) */
  html.lg-toptabs .m-nav > .tabbar.admin details > div > a.must { display: flex !important; align-items: center; gap: 10px !important; justify-content: flex-start !important; padding: 0 0 14px !important; margin-bottom: 8px; border-bottom: 1px solid rgba(250,248,242,0.16) !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > a.must .mo-n { margin-left: 0 !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div .ts-btn, html.lg-toptabs .m-nav > .tabbar.admin details > div > [data-ts], html.lg-toptabs .m-nav > .tabbar.admin details > div > .ts-row { display: none !important; }
  /* PLAYERS: choose Players or Coaches */
  html.lg-toptabs .lg-tdd { position: relative; display: inline-flex; align-items: center; }
  html.lg-toptabs .lg-tdd > a { position: relative; display: inline-flex !important; align-items: center; gap: 6px; height: 44px; padding: 0 clamp(8px, 1.2vw, 16px) !important; text-decoration: none; white-space: nowrap; }
  html.lg-toptabs .lg-tdd-p { position: absolute; top: calc(100% + 14px); left: 50%; z-index: 90; min-width: 300px; padding: 22px 0 16px; background: #1C1B18; box-shadow: 0 24px 60px rgba(14,14,14,0.28); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: opacity .18s ease, transform .18s ease, visibility 0s .18s; }
  html.lg-toptabs .lg-tdd-p::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: #1C1B18; transform: translateX(-50%) rotate(45deg); }
  html.lg-toptabs .lg-tdd-p::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  html.lg-toptabs .lg-tdd.is-open .lg-tdd-p { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .22s ease, transform .22s ease; }
  html.lg-toptabs .lg-tdd-p a { display: flex; flex-direction: column; gap: 3px; padding: 11px 28px; color: #FAF8F2 !important; text-decoration: none; letter-spacing: 0; transition: background-color .2s ease; }
  html.lg-toptabs .lg-tdd-p a b { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 500; font-size: 17px; letter-spacing: 0.01em; }
  html.lg-toptabs .lg-tdd-p a span { font: 300 13px/1.4 'Jost', 'Helvetica Neue', sans-serif; color: rgba(250,248,242,0.62); }
  html.lg-toptabs .lg-tdd-p a:hover { background: rgba(250,248,242,0.05); }
  html.lg-toptabs .lg-tdd-p a:hover b { color: #D4B47E; }
}
@media (min-width: 761px) {
  html.lg-toptabs header.m-head > .m-nav { padding-top: 0 !important; padding-bottom: 0 !important; min-height: 105px !important; align-items: center; }
  html.lg-toptabs .m-nav > .tabbar.admin > a::before, html.lg-toptabs .m-nav > .tabbar.admin > .lg-tdd > a::before { display: none !important; }
  html.lg-toptabs .lg-tdd-p, html.lg-toptabs .lg-tdd-p a { text-align: left !important; align-items: flex-start !important; }
}
/* Latest from clients: one calm timeline */
.act-card { gap: 6px; }
.act-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.act-n { font-weight: 500; color: #9C7A3F; }
.act-l { list-style: none; margin: 4px 0 0; padding: 0; }
.act-r { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.07); }
.act-r:first-child { border-top: 0; }
.act-i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #F1EBE1; color: #7A5B2B; }
.act-low .act-i { background: #F6E3E0; color: #8A3B2B; }
.act-pay .act-i, .act-book .act-i { background: #E3EEE5; color: #1F4D2C; }
.act-t { min-width: 0; font-size: 14px; line-height: 1.45; color: #3A3934; }
.act-t a { color: #1C1B18; text-decoration: none; } .act-t b { font-weight: 500; }
.act-w { display: block; font-size: 12px; color: #8A847A; }
.act-r.new .act-w::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #B8945B; margin-right: 6px; vertical-align: 1px; }
.act-go { font-size: 11px; letter-spacing: 0.16em; color: #7A5B2B; text-decoration: none; white-space: nowrap; padding: 8px 0 8px 8px; }
.act-low .act-go { color: #8A3B2B; }
@media (max-width: 560px) { .act-r { grid-template-columns: 30px 1fr; } .act-go { grid-column: 2; padding: 0; } }
/* phone: the Players/Coaches choice is a laptop and tablet thing; the bottom bar stays exactly as it was */
html:not(.lg-toptabs) .lg-tdd { display: contents; }
html:not(.lg-toptabs) .lg-tdd-p { display: none !important; }

/* ---------- Activity & notifications ---------- */
.ac-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ac-seg { margin-top: 4px; }
.ac-filt { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; }
.ac-filt .f { flex: 1 1 180px; }
.ac-card { gap: 8px; }
.ac-l { list-style: none; margin: 4px 0 0; padding: 0; }
.ac-r, .na-r { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.07); }
.ac-l > li:first-child { border-top: 0; }
.ac-i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: #F1EBE1; color: #7A5B2B; }
.ac-good .ac-i { background: #E3EEE5; color: #1F4D2C; }
.ac-bad .ac-i { background: #F6E3E0; color: #8A3B2B; }
.ac-t { min-width: 0; font-size: 14px; line-height: 1.45; color: #3A3934; }
.ac-n { color: #1C1B18; text-decoration: none; font-weight: 500; }
.ac-w { display: block; font-size: 12px; color: #8A847A; }
.ac-r.unread .ac-w::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #B8945B; margin-right: 6px; vertical-align: 1px; }
.ac-acts { display: flex; align-items: center; gap: 12px; }
.ac-acts .link-btn { font-size: 11px; padding: 6px 0; }
.ac-go { font-size: 11px; letter-spacing: 0.16em; color: #7A5B2B; text-decoration: none; white-space: nowrap; }
.ac-empty { padding: 14px 0; color: #8A847A; font-size: 14px; list-style: none; }
.na-st { font-size: 9.5px; letter-spacing: 0.16em; font-weight: 500; color: #7A5B2B; background: #F1EBE1; border-radius: 999px; padding: 4px 6px; text-align: center; width: 64px; box-sizing: border-box; }
.na-r { grid-template-columns: 64px 1fr auto; }
.na-overdue .na-st { background: #F6E3E0; color: #8A3B2B; }
.na-go { color: #1C1B18; font-weight: 500; }
@media (max-width: 560px) { .ac-r { grid-template-columns: 30px 1fr; } .na-r { grid-template-columns: 1fr; gap: 6px; } .ac-acts, .na-go { grid-column: 2; } .na-r .na-go { grid-column: 1; } }
.ac-pr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(28,27,24,0.07); font-size: 14px; }
.ac-pr select { max-width: 180px; }
.act-all { align-self: flex-start; margin-top: 4px; }
/* the bell in the top bar */
.lg-bell { position: relative; list-style: none; }
.lg-bell > summary { list-style: none; cursor: pointer; position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: #1C1B18; }
.lg-bell > summary::-webkit-details-marker { display: none; }
.lg-bell > summary svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.lg-bell > summary:hover { color: #9C7A3F; }
.lg-bell-n { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #B3261E; color: #fff; font-size: 11px; display: grid; place-items: center; }
.lg-bell-p { position: absolute; right: -10px; top: calc(100% + 12px); z-index: 95; width: min(420px, calc(100vw - 24px)); max-height: min(70vh, 560px); overflow-y: auto; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); border-radius: 18px; box-shadow: 0 24px 60px rgba(14,14,14,0.18); padding: 16px 18px 12px; box-sizing: border-box; text-align: left; }
.lg-bell-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #7A5B2B; padding-bottom: 6px; }
.lg-bell-h .link-btn { font-size: 10.5px; }
.lg-bell-all { display: block; text-align: center; font-size: 11px; letter-spacing: 0.18em; color: #7A5B2B; text-decoration: none; padding: 12px 0 4px; border-top: 1px solid rgba(28,27,24,0.07); margin-top: 4px; }
.lg-bell-p .ac-r { grid-template-columns: 26px 1fr; } .lg-bell-p .ac-i { width: 26px; height: 26px; font-size: 12px; } .lg-bell-p .ac-acts { grid-column: 2; }
@media (max-width: 760px) { .lg-bell-p { position: fixed; left: 12px; right: 12px; top: 72px; width: auto; } }
/* journey badges: small, premium, readable */
.jy { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; letter-spacing: 0.16em; font-weight: 500; padding: 3px 8px; border-radius: 999px; background: #F3EAD8; color: #7A5B2B; white-space: nowrap; }
.jy i { width: 6px; height: 6px; border-radius: 50%; background: #B8945B; }
.jy-new { background: #1C1B18; color: #E9D3A6; } .jy-new i { background: #E9D3A6; }
.jy-s { display: inline-flex; font-size: 11px; color: #59544B; padding: 3px 0; white-space: nowrap; }
.jy-s-inactive { color: #8A3B2B; } .jy-s-returning { color: #1F4D2C; }
.jy-filt { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.jy-filt::-webkit-scrollbar { display: none; }
.jy-filt a { flex: none; font-size: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.12); color: #3A3934; text-decoration: none; white-space: nowrap; }
.jy-filt a.on { background: #1C1B18; border-color: #1C1B18; color: #FAF8F2; }
/* the player Overview */
.ov-card { gap: 10px; }
.ov-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ov-badges { display: flex; gap: 8px; align-items: center; }
.ov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 28px; }
.ov-r { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(28,27,24,0.07); font-size: 14px; }
.ov-k { color: #8A847A; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; flex: none; padding-top: 2px; }
.ov-v { text-align: right; color: #1C1B18; }
.ov-nums { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.ov-nums span { flex: 1 1 90px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #F6F1E8; font-size: 12px; color: #59544B; }
.ov-nums b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 26px; color: #1C1B18; line-height: 1; }
.ov-nums .low { background: #F6E3E0; } .ov-nums .low b { color: #8A3B2B; }
.ov-sm { font-size: 12px; }
.ov-more { align-self: flex-start; }
.lg-bell-p, .lg-bell-p *, .ac-t, .ac-t *, .na-r .ac-t * { letter-spacing: 0.01em !important; text-transform: none; }
.lg-bell-p .lg-bell-h, .lg-bell-p .lg-bell-h *, .lg-bell-all { letter-spacing: 0.2em !important; text-transform: uppercase; }
.ac-w { letter-spacing: 0.02em !important; }
.ac-acts .link-btn, .ac-go, .na-go, .na-st { letter-spacing: 0.14em !important; }
/* the member's bell and notifications */
.m-bell { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: #1C1B18; cursor: pointer; padding: 0; }
.m-bell svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.m-bell:hover { color: #9C7A3F; }
.mn-sheet .mn-sub { margin: -4px 0 6px; font-size: 13px; }
.mn-sheet .mn-t { color: #1C1B18; text-decoration: none; }
.mn-sheet .ac-r { grid-template-columns: 30px 1fr; }
.mn-sheet .ac-r.unread { background: linear-gradient(90deg, rgba(184,148,91,0.08), transparent 60%); border-radius: 10px; }
/* phone, member area: room in the top bar for the bell (everything stays one tap, nothing hidden behind the logo) */
@media (max-width: 560px) {
  html[data-app=member] header.m-head .m-nav { gap: 6px !important; }
  html[data-app=member] header.m-head .m-nav > a:first-child img, html[data-app=member] header.m-head .m-nav > a:first-child svg { width: 112px !important; height: auto !important; }
  html[data-app=member] header.m-head .m-navlinks { gap: 2px !important; margin-left: auto; min-width: 0; }
  html[data-app=member] .m-bell { width: 36px; height: 40px; }
  html[data-app=member] header.m-head .m-navlinks > .m-msg, html[data-app=member] header.m-head .m-navlinks > .ts-btn { min-width: 34px !important; padding-left: 4px !important; padding-right: 4px !important; }
  html[data-app=member] header.m-head .m-lang { padding: 0 8px !important; min-width: 0 !important; }
}
@media (max-width: 380px) { html[data-app=member] header.m-head .m-nav > a:first-child img, html[data-app=member] header.m-head .m-nav > a:first-child svg { width: 96px !important; } }
@media (max-width: 560px) {
  html[data-app=member] header.m-head .m-navlinks > * { flex: none !important; }
  html[data-app=member] header.m-head .m-navlinks > .m-lang { width: auto !important; min-width: 38px !important; height: 34px; padding: 0 6px !important;  letter-spacing: 0.12em !important; }
  html[data-app=member] header.m-head .m-navlinks > .ts-btn { width: 30px !important; }
  html[data-app=member] header.m-head .m-navlinks > .m-msg { width: 34px !important; min-width: 34px !important; padding: 0 !important; }
  html[data-app=member] header.m-head .m-navlinks > .m-bell { width: 32px !important; }
}
@media (max-width: 560px) {
  html[data-app=member] header.m-head .m-navlinks > .m-lang { font-size: 0 !important; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 999px; background: #F1EBE1; }
  html[data-app=member] header.m-head .m-navlinks > .m-lang a { font-size: 12px !important; letter-spacing: 0.12em; }
  html[data-app=member] header.m-head .m-navlinks > .m-lang a.on { display: none !important; }
}
@media (max-width: 420px) {
  html[data-app=member] header.m-head .m-nav > a:first-child img, html[data-app=member] header.m-head .m-nav > a:first-child svg { width: 100px !important; }
  html[data-app=member] header.m-head .m-navlinks > .m-lang { min-width: 34px !important; padding: 0 4px !important; }
  html[data-app=member] header.m-head .m-navlinks .ts-btn { width: 30px !important; min-width: 30px !important; }
}
/* the daily briefing */
.br-card { gap: 8px; }
.br-h { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; color: #1C1B18; }
.br-lead { margin: 0; font-size: 15px; line-height: 1.55; color: #3A3934; }
.br-ok, .br-hand { margin: 0; font-size: 14px; color: #1F4D2C; }
.br-eod { display: flex; gap: 8px; flex-wrap: wrap; }
.br-eod span, .br-eod a { flex: 1 1 120px; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #F6F1E8; font-size: 12px; color: #59544B; }
.br-eod b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 26px; color: #1C1B18; line-height: 1; }
.br-cos { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: #3A3934; }
.br-co b { font-weight: 500; }
/* tasks with their why and one-tap actions */
.na-full { grid-template-columns: 64px 1fr; align-items: start; }
.na-full .na-acts { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.na-why { display: block; font-size: 12.5px; color: #59544B; margin-top: 2px; }
.na-inl { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.na-inl select { min-height: 36px; font: inherit; font-size: 14px; padding: 4px 8px; border: 1px solid rgba(28,27,24,0.2); border-radius: 10px; background: #FFFDF8; }
.na-msg { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.na-msg textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.5; padding: 12px; border: 1px solid rgba(28,27,24,0.18); border-radius: 12px; background: #FFFDF8; }
.na-res > summary { list-style: none; cursor: pointer; display: inline-flex; } .na-res > summary::-webkit-details-marker { display: none; }
@media (max-width: 560px) { .na-full { grid-template-columns: 1fr; } .na-full .na-acts { grid-column: 1; } }

/* scheduling suggestions, journey check, coach workload */
.sm-sug { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 6px; }
.sm-h { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted, #7a7368); }
.sm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-chip { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; border: 1px solid rgba(156, 122, 63, 0.35); border-radius: 12px; text-decoration: none; color: inherit; background: rgba(156, 122, 63, 0.04);  }
.sm-chip b { font-weight: 500; font-size: 14px; }
.sm-chip span { font-size: 12px; color: var(--muted, #7a7368); }
.sm-chip:hover, .sm-chip.on { border-color: #9C7A3F; background: rgba(156, 122, 63, 0.12); }
.sm-note { font-size: 12px; }
.sm-warn { font-size: 13px; }
.sm-one { white-space: nowrap; }
.jc-h { margin: 6px 0 10px; font-size: 18px; font-weight: 400; }
.jc-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.jc-r { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.jc-r b { font-weight: 500; }
.jc-i { flex: 0 0 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.jc-ok .jc-i { background: rgba(46, 125, 80, 0.12); color: #2e7d50; }
.jc-miss .jc-i { background: rgba(176, 106, 30, 0.14); color: #a3621b; font-weight: 600; }
.jc-why { display: block; font-size: 12.5px; color: var(--muted, #7a7368); margin-top: 2px; }
.cw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.cw-c { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 12px; }
.cw-c b { font-weight: 500; }
.cw-n { font-size: 28px; line-height: 1.1; }
.cw-n small { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted, #7a7368); }
.cw-l, .cw-f { font-size: 13px; }
.sm-chip { font: inherit; text-align: left; cursor: pointer; }
.sm-chip { flex: 1 1 calc(50% - 8px); min-width: 0; max-width: 260px; }
@media (max-width: 520px) { .sm-chip { padding: 8px 10px; max-width: none; } .sm-chip b { font-size: 13px; } .sm-chip span { font-size: 11px; } }

/* the coach's day: before, during, after */
.cd-card { display: flex; flex-direction: column; gap: 14px; }
.cd-empty { margin: 4px 0 0; }
.cd-next-l { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: #1C1B18; color: #F4EFE6; }
.cd-next-l .muted { color: rgba(244, 239, 230, 0.66); }
.cd-next-l a { color: #E9D9B8; }
.cd-nh { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cd-badge { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #C9A86A; }
.cd-badge.now { color: #9fd3a8; }
.cd-name { font-family: var(--serif, 'Cormorant Garamond', serif); font-size: 28px; line-height: 1.15; text-decoration: none; color: #F4EFE6 !important; }
.cd-dl { display: grid; grid-template-columns: 1fr; gap: 2px 0; margin: 8px 0 4px; }
.cd-dl dt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #C9A86A; margin-top: 10px; }
.cd-dl dd { margin: 2px 0 0; font-size: 15px; line-height: 1.45; }
.cd-li { display: block; }
.cd-li + .cd-li { margin-top: 2px; }
.cd-caps { border-top: 1px solid rgba(244, 239, 230, 0.14); padding-top: 10px; font-size: 14px; }
.cd-k { display: block; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted, #7a7368); }
.cd-next-l .cd-k { color: #C9A86A; }
.cd-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cd-next-l .btn.line { color: #F4EFE6; border-color: rgba(244, 239, 230, 0.45); }
.cd-later { margin-top: 4px; }
.cd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cd-list li { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 15px; }
.cd-lt { min-width: 74px; font-variant-numeric: tabular-nums; color: var(--muted, #7a7368); font-size: 13px; }
.cd-list .muted { flex-basis: 100%; padding-left: 84px; font-size: 13px; }
.cd-wrap { display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid rgba(156, 122, 63, 0.4); border-radius: 14px; background: rgba(156, 122, 63, 0.05); }
.cd-wh { display: flex; flex-direction: column; gap: 2px; }
.cd-t { font-family: var(--serif, 'Cormorant Garamond', serif); font-size: 24px; line-height: 1.2; }
.cd-seg { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cd-seg legend { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted, #7a7368); margin-bottom: 6px; padding: 0; }
.cd-seg label { position: relative; }
.cd-seg input { position: absolute; opacity: 0; pointer-events: none; }
.cd-seg span { display: inline-block; padding: 9px 14px; border: 1px solid rgba(0, 0, 0, 0.14); border-radius: 999px; font-size: 14px; cursor: pointer; }
.cd-seg input:checked + span { border-color: #9C7A3F; background: rgba(156, 122, 63, 0.14); }
.cd-seg input:focus-visible + span { outline: 2px solid #9C7A3F; outline-offset: 2px; }
.cd-newnext, .cd-newfoc { display: none; }
.cd-next:has(input[value=new]:checked) + .cd-newnext, .cd-foc:has(input[value=new]:checked) + .cd-newfoc { display: block; }
.cd-from, .cd-note { font-size: 12px; }
.cd-go { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cd-capf { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .cd-dl { grid-template-columns: 170px 1fr; gap: 10px 18px; } .cd-dl dt { margin-top: 2px; } .cd-dl dd { margin: 0; } }
.cd-wrap:has(input[value=absent]:checked) :is(.cd-obs, .cd-from, .cd-next, .cd-newnext, .cd-foc, .cd-newfoc, .cd-note, label.f) { display: none; }

/* member home: development, requests, times to ask for */
.mh-dl { margin: 8px 0 10px; display: grid; gap: 2px; }
.mh-dl dt { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #9C7A3F; margin-top: 10px; }
.mh-dl dd { margin: 2px 0 0; font-size: 16px; line-height: 1.45; }
.mh-sug { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mh-sk { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #C9A86A; }
.mh-opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid rgba(244, 239, 230, 0.28); border-radius: 12px; cursor: pointer; }
.mh-opt:has(input:checked) { border-color: #C9A86A; background: rgba(201, 168, 106, 0.14); }
.mh-opt input { accent-color: #C9A86A; width: 18px; height: 18px; }
.mh-go { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 4px; }
.mh-n { font-size: 12px; }
.rq-own { display: block; font-size: 12.5px; color: var(--muted, #7a7368); margin: 2px 0 4px; }
.cd-next-l .btn.line, .cd-next-l a.btn.line { color: #F4EFE6 !important; border-color: rgba(244, 239, 230, 0.45) !important; background: transparent !important; }
.cd-more { border: 1px solid rgba(156, 122, 63, 0.4); border-radius: 14px; }
.cd-more > summary { list-style: none; cursor: pointer; padding: 14px 16px; font-size: 15px; display: flex; gap: 6px; align-items: baseline; }
.cd-more > summary::after { content: '›'; margin-left: auto; color: #9C7A3F; }
.cd-more[open] > summary::after { content: '⌄'; }
.cd-more .cd-wrap { border: 0; border-top: 1px solid rgba(156, 122, 63, 0.25); border-radius: 0 0 14px 14px; }
.cd-more .cd-wh .cd-t { display: none; }
.focus-got { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }
.focus-more { margin-top: 10px; display: inline-block; }
.ppl-t span { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; line-height: 1.3; }
body:has(.mh-sug) #again { display: none !important; }
.cd-done li { align-items: center; }
.cd-fix { flex-basis: 100%; padding-left: 84px; }
.cd-fix > summary { font-size: 12.5px; color: #9C7A3F; cursor: pointer; list-style: none; text-decoration: underline; }
.cd-fixf { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.cd-done .muted { flex-basis: auto; padding-left: 0; }
/* workflow health and partnerships */
.wf-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 8px; }
.wf-s { display: flex; flex-direction: column; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.035); font-size: 12.5px; }
.wf-s b { font-size: 26px; font-weight: 400; }
.wf-bad b { color: #a3421b; } .wf-good b { color: #2e7d50; }
.wf-more { margin-top: 10px; } .wf-more > summary { cursor: pointer; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #9C7A3F; }
.wf-w { margin: 8px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }
.op-list { display: grid; gap: 10px; }
.op-c > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.op-k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #9C7A3F; flex-basis: 100%; }
.op-st { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(156, 122, 63, 0.12); }
.op-launched { background: rgba(46, 125, 80, 0.14); } .op-closed { background: rgba(0, 0, 0, 0.06); }
.op-n { flex-basis: 100%; font-size: 13px; }
.op-late { border-color: rgba(163, 66, 27, 0.45); }
.op-body { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.op-dl { display: grid; grid-template-columns: minmax(120px, 30%) 1fr; gap: 4px 12px; font-size: 14px; margin: 0; }
.op-dl dt { color: var(--muted, #7a7368); font-size: 12px; } .op-dl dd { margin: 0; }
.op-h { margin: 0; padding-left: 18px; font-size: 13px; display: grid; gap: 3px; }
.op-f { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.wf-fix { border-color: rgba(163, 66, 27, 0.4); }
@media (min-width: 900px) and (max-width: 1180px) { html.lg-toptabs .m-nav > .tabbar.admin > details > div { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
/* member area: top bar on laptop and tablet */
html.lg-mtop .m-nav > .mt-right { flex: 0 0 auto; }
html.lg-mtop .m-nav > .m-lang { font-size: 11px; letter-spacing: 0.14em; margin-left: auto; }
html.lg-mtop .m-nav > .m-lang + * { margin-left: 0; }
html.lg-mtop .m-nav > .m-msg { display: inline-flex; align-items: center; }
html.lg-mtop nav.mtabs { display: none !important; }
/* member top bar: only what is used every day (bell, messages, search); language and text size live in MORE */
html[data-app=member]:has(nav.tabbar) header.m-head .m-lang, html[data-app=member]:has(nav.tabbar) header.m-head .ts-btn, html[data-app=member]:has(nav.tabbar) header.m-head .m-well, html[data-app=member]:has(nav.tabbar) header.m-head .m-gold { display: none !important; }
html[data-app=member] header.m-head .m-navlinks { gap: 18px; }
/* sign in: the form sits centered under the photo on laptop and tablet */
@media (min-width: 761px) {
  .si-col { margin-left: auto !important; margin-right: auto !important; width: 100%; text-align: center; }
  .si-col form { margin: 0 auto; width: 100%; text-align: left; }
  .si-col form .btn { align-self: stretch !important; }
  .si-col .pk-box { width: 100%; }
}
/* member sessions: a calm card per lesson, with a date tile */
#sessions .list-row { padding: 14px 0 !important; }
#sessions .sx { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 auto; }
#sessions .sx-tile { flex: 0 0 64px; height: 72px; border: 1px solid rgba(156, 122, 63, 0.35); border-radius: 14px; background: #FFFDF8; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
#sessions .sx-tile i { font-style: normal; font-size: 10.5px; letter-spacing: 0.16em; color: #9C7A3F; }
#sessions .sx-tile b { font: 400 30px/1.05 'Cormorant Garamond', Georgia, serif; color: #1C1B18; margin: 3px 0 1px; }
#sessions .sx-tile small { font-size: 9.5px; letter-spacing: 0.16em; color: var(--muted, #7a7368); }
#sessions .sx-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
#sessions .sx-t { font-size: 22px !important; line-height: 1.15; }
#sessions .sx-full { display: none; }
#sessions .sx-info .body { font-size: 14.5px; margin: 0; }
#sessions .sx-info .muted { font-size: 13px; }
#sessions .list-row + .list-row, #sessions .list-row + details .list-row { border-top: 1px solid rgba(28, 27, 24, 0.07); }
#sessions .list-row:hover .sx-tile { border-color: #9C7A3F; }
/* the member MORE is shorter: a narrower panel, three columns */
html.lg-mtop .m-nav > .tabbar.admin > details > div { width: min(760px, calc(100vw - 48px)) !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 4px 28px !important; }
html.lg-mtop .m-nav > .tabbar.admin > details > div > form, html.lg-mtop .m-nav > .tabbar.admin > details > div > .mo-ts { grid-column: auto; }
/* the few items that need you sit side by side in one row at the top, so the columns stay short */
html.lg-toptabs .m-nav > .tabbar.admin details > div > a.must, html.lg-toptabs .m-nav > .tabbar.admin details > div > #fy-link { grid-column: auto !important; padding: 8px 0 !important; min-height: 0 !important; border-bottom: 0 !important; }
html.lg-toptabs .m-nav > .tabbar.admin details > div > details.mo-g:first-of-type { grid-column-start: 1; }
html[data-app=member] .tabbar details > div > .mo-ts { display: flex !important; }
.cd-foln { display: none; }
.cd-fol:has(input:checked) + .cd-foln { display: block; }
.cd-wrap:has(input[value=absent]:checked) :is(.cd-area, .cd-prog, .cd-fol, .cd-foln) { display: none !important; }

/* ---------- one status language for Member, Coach and Admin: green done, red needs action, neutral waiting ---------- */
:root { --st-ok: #2E7D50; --st-ok-bg: rgba(46, 125, 80, 0.11); --st-bad: #A3421B; --st-bad-bg: rgba(163, 66, 27, 0.10); --st-neu: #6F675B; --st-neu-bg: rgba(28, 27, 24, 0.06); --st-cur: #8A6A2F; --st-cur-bg: rgba(184, 148, 91, 0.16); }
.st { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 11px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; white-space: nowrap; vertical-align: middle; }
.st i { font-style: normal; font-size: 11px; line-height: 1; }
.st-ok { color: var(--st-ok); background: var(--st-ok-bg); }
.st-ver { color: #fff; background: var(--st-ok); }
.st-rev { color: var(--st-ok); background: transparent; box-shadow: inset 0 0 0 1px rgba(46, 125, 80, 0.45); }
.st-bad { color: var(--st-bad); background: var(--st-bad-bg); }
.st-neu { color: var(--st-neu); background: var(--st-neu-bg); }
.st-cur { color: var(--st-cur); background: var(--st-cur-bg); }
.na-r > .st { align-self: flex-start; margin-top: 2px; }
/* the member's journey */
.mj-top { display: flex; justify-content: space-between; align-items: baseline; }
.mj-l { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 0; }
.mj-s { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(28, 27, 24, 0.06); }
.mj-s:first-child { border-top: 0; }
.mj-dot { flex: 0 0 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; background: var(--st-neu-bg); color: var(--st-neu); }
.mj-done .mj-dot { background: var(--st-ok-bg); color: var(--st-ok); }
.mj-attention .mj-dot { background: var(--st-bad-bg); color: var(--st-bad); font-weight: 600; }
.mj-current .mj-dot { background: #B8945B; color: #fff; }
.mj-b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; }
.mj-b b { font-weight: 500; font-size: 15px; }
.mj-done .mj-b b { color: var(--st-neu); font-weight: 400; }
.mj-done .st { display: none; }
.mj-why { flex-basis: 100%; font-size: 13.5px; color: var(--muted, #6F675B); }
.mj-current, .mj-attention { background: linear-gradient(90deg, rgba(184, 148, 91, 0.07), transparent); margin: 0 -12px; padding: 12px; border-radius: 12px; }
.mj-attention { background: linear-gradient(90deg, rgba(163, 66, 27, 0.06), transparent); }
.mj-go { flex-basis: 100%; }
/* the Review center */
.rv-top4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.rv-n { display: flex; flex-direction: column; padding: 14px; border-radius: 14px; background: #FFFDF8; border: 1px solid rgba(28, 27, 24, 0.07); text-decoration: none; color: inherit; font-size: 12px; letter-spacing: 0.06em; }
.rv-n b { font: 400 30px/1.1 'Cormorant Garamond', Georgia, serif; }
.rv-n-bad b { color: var(--st-bad); } .rv-n-rev b, .rv-n-ok b { color: var(--st-ok); }
.rv-note { margin: 2px 0 10px; font-size: 13px; }
.rv-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rv-c { padding: 14px 16px; border: 1px solid rgba(28, 27, 24, 0.08); border-radius: 14px; display: flex; flex-direction: column; gap: 6px; background: #FFFDF8; }
.rv-att .rv-c, .rv-c.rv-att, .rv-late { border-color: rgba(163, 66, 27, 0.35); }
.rv-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rv-t { font-weight: 500; font-size: 15px; }
.rv-d { margin-left: auto; font-size: 12.5px; }
.rv-who { font-size: 14px; }
.rv-c .rv-sum, .rv-c p.rv-sum { margin: 0; font-size: 14px; color: #3B372F; }
.rv-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rv-miss { font-size: 13px; color: var(--st-bad); } .rv-ok { font-size: 13px; color: var(--st-ok); }
.rv-a { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 4px; }
.rv-a .ac-go { margin-left: auto; }
.rv-clar > summary { list-style: none; cursor: pointer; }
@media (max-width: 760px) { .rv-top4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* move a lesson in one step */
.mv-f { display: flex; flex-direction: column; gap: 8px; padding: 12px 0 4px; }
.mv-k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--st-ok); }
.mv-opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid rgba(28, 27, 24, 0.12); border-radius: 12px; cursor: pointer; }
.mv-opt:has(input:checked) { border-color: #9C7A3F; background: rgba(156, 122, 63, 0.08); }
.mv-opt b { font-weight: 500; }
.mv-sum { font-size: 13px; color: var(--muted, #6F675B); margin: 2px 0; }
.mv-or { display: block; margin-top: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted, #6F675B); }
.cd-nh .st { margin-left: 8px; }
.mv-f { align-items: stretch !important; text-align: left !important; width: 100%; box-sizing: border-box; }
.mv-f .mv-k { text-align: left; }
.mv-f .mv-opt { flex-direction: row !important; justify-content: flex-start !important; align-items: center !important; width: 100% !important; box-sizing: border-box; margin: 0 !important; font-size: 15px !important; letter-spacing: normal !important; text-transform: none !important; }
.mv-f .mv-opt span { font-size: 15px !important; letter-spacing: normal !important; text-transform: none !important; }
.mv-f .mv-opt input { flex: 0 0 auto; margin: 0 !important; width: 18px; height: 18px; accent-color: #9C7A3F; }
.mv-f .btn { align-self: stretch; }
.cd-q { flex-basis: 100%; padding-left: 84px; font-size: 13px; }
.rv-q { font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* Messages: an icon in the top bar, next to the bell */
.lg-msg { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; color: #1C1B18; text-decoration: none; }
.lg-msg svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }
.lg-msg:hover { color: #9C7A3F; }
.m-navlinks .lg-msg:not(.lg-msg-top) { display: none; }
.tabbar .tab svg path[opacity] { opacity: .35; }
.m-nav > .lg-msg-top { margin-left: auto; } .m-nav > .lg-msg-top ~ .m-find-top { margin-left: 0; }
html.lg-toptabs .m-nav > .lg-msg-top { margin-left: 0; }
@media (max-width: 480px) { .m-nav { flex-wrap: nowrap; } .m-nav > .lg-msg-top, .m-nav > .lg-bell > summary, .m-nav > .m-find-top { width: 38px; } }
@media (max-width: 480px) { header .m-nav:has(> .lg-msg-top) { flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 0 !important; } header .m-nav > .lg-msg-top { margin-left: auto !important; } header .m-nav:has(> .lg-msg-top) > .ts-solo { margin-left: 0 !important; width: 38px; } }
@media (max-width: 480px) { header .m-nav:has(> .m-navlinks .m-bell):not(:has(> .lg-msg-top)) { justify-content: flex-start; } header .m-nav:has(> .m-navlinks .m-bell) > .m-navlinks { margin-left: auto; align-items: center; gap: 0; } header .m-nav:has(> .m-navlinks .m-bell) > .m-find-top { margin-left: 0; } header .m-navlinks:has(.m-bell) > .m-bell, header .m-navlinks:has(.m-bell) > .m-msg:not([style*="none"]) { display: inline-grid; place-items: center; min-width: 38px; height: 44px; } }
/* weekly rhythm option on the booking card */
.mh-wk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 2px; font-size: 14px; }
.mh-wk input { accent-color: #9C7A3F; width: 18px; height: 18px; }
.mh-wk select { font: inherit; font-size: 13px; padding: 6px 10px; border: 1px solid rgba(28,27,24,0.18); border-radius: 10px; background: #FFFDF8; }
.mh-wk:not(:has(input:checked)) select { opacity: .45; }
.rh-line { font-size: 13.5px; color: #5C574D; margin: 4px 0 10px; }
/* family at a glance (parents) */
.fo-l { list-style: none; margin: 10px 0 0; padding: 0; }
.fo-r + .fo-r { border-top: 1px solid rgba(28,27,24,0.07); }
.fo-a { display: grid; grid-template-columns: 76px 1fr auto 14px; gap: 4px 12px; align-items: center; padding: 12px 0; color: inherit; text-decoration: none; }
.fo-n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; }
.fo-x { display: grid; gap: 2px; font-size: 14px; } .fo-x span { color: #6B655A; font-size: 13px; }
.fo-go { color: #9C7A3F; font-size: 20px; }
@media (max-width: 520px) { .fo-a { grid-template-columns: 1fr 14px; } .fo-n { grid-column: 1; } .fo-x, .fo-s { grid-column: 1; } .fo-go { grid-column: 2; grid-row: 1 / span 3; } }
/* each inquiry's path, step by step */
.op-path { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; padding: 0; }
.op-path li { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.12); color: #6B655A; }
.op-path li.is-done { background: #EEF3EC; border-color: #CFDCCB; color: #2F5D3A; }
.op-path li.is-done::before { content: '✓ '; }
.op-path li.is-now { background: #1C1B18; border-color: #1C1B18; color: #F4EEE2; }
.op-make { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 14px; padding: 14px; border-radius: 14px; background: #F6F1E7; }
/* make a request: one tap for the kind, a few words, send */
.ask-q { display: block; font-size: 26px; line-height: 1.15; margin: 4px 0 14px; }
.ask-quick, .ask-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ask-quick { margin-bottom: 10px; }
.ask-c { position: relative; display: grid; gap: 3px; padding: 14px 16px; border: 1px solid rgba(28,27,24,0.12); border-radius: 14px; background: #FFFDF8; color: inherit; text-decoration: none; cursor: pointer; }
.ask-c b { font-weight: 500; font-size: 15px; } .ask-c span { font-size: 12.5px; color: #6B655A; }
.ask-c input { position: absolute; opacity: 0; pointer-events: none; }
.ask-c:hover { border-color: #B8945B; }
.ask-c:has(input:checked) { border-color: #1C1B18; background: #1C1B18; color: #F4EEE2; } .ask-c:has(input:checked) span { color: #D9CBB0; }
.ask-c:has(input:focus-visible) { outline: 2px solid #B8945B; outline-offset: 2px; }
.ask-more {  margin-top: 14px; gap: 10px; flex-direction: column; align-items: flex-start; }
.ask-f:has(input[name="cat"]:checked) .ask-more { display: flex; }
.ask-more .f { width: 100%; } .ask-n { font-size: 12.5px; }
.rh-pause { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 14px; } .rh-pause .muted { font-size: 12.5px; }
@media (max-width: 560px) { .ask-quick, .ask-cats { grid-template-columns: 1fr 1fr; gap: 8px; } .ask-c { padding: 11px 12px; border-radius: 12px; } .ask-c b { font-size: 14px; line-height: 1.25; } .ask-c span { font-size: 11.5px; } }
/* renewal: three prepared choices, one tap each */
.rn-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 12px 0 6px; }
.rn-o { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border: 1px solid rgba(28,27,24,0.12); border-radius: 14px; background: #FFFDF8; }
.rn-o.rn-main { border-color: #B8945B; box-shadow: 0 0 0 1px #B8945B inset; }
.rn-ok { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.rn-o b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.1; color: #1C1B18; }
.rn-od { font-size: 12.5px; color: #6B655A; min-height: 18px; } .rn-o .btn { justify-self: start; margin-top: 6px; }
/* weekly lessons paused: resume */
.rh-resume { display: grid; gap: 6px; } .rh-rt { font-size: 24px; line-height: 1.15; }
.rh-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.rh-row select { font: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid rgba(28,27,24,0.18); border-radius: 10px; background: #FFFDF8; }
/* siblings back to back */
.sib-f { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(28,27,24,0.08); } .sib-f .btn { justify-self: start; } .sib-n { font-size: 12.5px; }
/* new coach setup */
.cs-r + .cs-r { border-top: 1px solid rgba(28,27,24,0.07); padding-top: 10px; } .cs-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 10px; } .cs-h .muted { font-size: 13px; }
.cs-card .op-path { margin: 8px 0 4px; }
.renew-card .rn-opts { width: 100%; flex: 1 1 100%; align-self: stretch; }
@media (max-width: 520px) { .rn-opts { grid-template-columns: 1fr; } .rn-o { grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; } .rn-o .rn-ok, .rn-o b, .rn-o .rn-od { grid-column: 1; } .rn-o .btn { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: center; } }
/* effort report */
.ef-list { display: grid; } .ef-r { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.07); } .ef-r:first-child { border-top: 0; }
.ef-l { display: grid; gap: 2px; flex: 1 1 260px; } .ef-l .muted, .ef-v .muted { font-size: 12.5px; }
.ef-v { display: grid; gap: 4px; justify-items: end; text-align: right; flex: 0 1 280px; } .ef-v b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.1; }
.ef-late { display: grid; gap: 4px; margin-bottom: 12px; } .ef-lr { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(28,27,24,0.07); color: inherit; text-decoration: none; font-size: 14px; }
.ef-test .row { margin-top: 10px; }
@media (max-width: 560px) { .ef-v { justify-items: start; text-align: left; } }
/* before you play: everything for the court, on the next lesson */
.bp { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(250,248,242,0.16); }
.bp-k { display: block; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #C9A86A; margin-bottom: 8px; }
.bp dl { display: grid; grid-template-columns: 96px 1fr; gap: 6px 14px; margin: 0; font-size: 14px; } .bp dt { color: rgba(250,248,242,0.6); } .bp dd { margin: 0; color: rgba(250,248,242,0.92); }
/* guests */
.gp-q { display: block; font-size: 24px; line-height: 1.15; margin: 4px 0 12px; }
.gp-list { display: grid; margin-bottom: 12px; } .gp-r { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.07); } .gp-r:first-child { border-top: 0; }
.gp-f { display: grid; gap: 12px; } .gp-f .btn { justify-self: start; } .gp-n { font-size: 12.5px; } .gp-x { color: #8A8378; }
.gp-page .gp-step { display: grid; gap: 12px; } .gp-text > div { max-height: 300px; overflow: auto; font-size: 13.5px; color: #4A453C; } .gp-sf { display: grid; gap: 12px; } .gp-sf .btn { justify-self: start; }
.cd-app { color: #2F5D3A; }
.cd-wait { color: #7A5B2B; }
.gp-text > summary { cursor: pointer; list-style: none; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; border-bottom: 1px solid #B8945B; justify-self: start; display: inline-block; padding-bottom: 2px; }
.gp-text > summary::-webkit-details-marker { display: none; } .gp-text[open] > summary { margin-bottom: 10px; }
/* today live, day closed, rules, suggested replies, timelines */
.lv-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .lv-strip a { display: grid; gap: 4px; align-content: start; padding: 14px 16px; border-radius: 16px; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); color: inherit; text-decoration: none; } .lv-strip b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.1; } .lv-strip .st { justify-self: start; }
.lv-list { display: grid; gap: 8px; } .lv-r { display: grid; grid-template-columns: 74px 1fr; gap: 6px 14px; padding: 14px 16px; border-radius: 16px; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); color: inherit; text-decoration: none; }
.lv-r.lv-red { border-color: #E3B5B0; box-shadow: inset 4px 0 0 #B3261E; } .lv-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; } .lv-w { display: grid; } .lv-w .muted { font-size: 13px; } .lv-c { grid-column: 2; display: flex; flex-wrap: wrap; gap: 6px; } .lv-up { font-size: 12.5px; }
.dc-sum { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; } .dc-list, .dc-held { display: grid; } .dc-r { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.07); color: inherit; text-decoration: none; font-size: 14.5px; } .dc-r:first-of-type { border-top: 0; }
.ru-list { display: grid; } .ru-r { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 14px 0; border-top: 1px solid rgba(28,27,24,0.07); } .ru-r:first-child { border-top: 0; } .ru-l { display: grid; gap: 3px; flex: 1 1 300px; } .ru-l .muted { font-size: 13px; } .ru-did { font-size: 12.5px; color: #2F5D3A; }
.ru-sw { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; font: inherit; font-size: 11px; letter-spacing: 0.18em; color: #6B655A; } .ru-sw i { position: relative; width: 44px; height: 26px; border-radius: 13px; background: #D9D3C7; transition: background .2s; } .ru-sw i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); } .ru-sw.on i { background: #9C7A3F; } .ru-sw.on i::after { left: 21px; } .ru-sw.on { color: #1C1B18; }
.rd-box { margin: 12px 0 8px; padding: 14px 16px; border-radius: 14px; background: #F6F1E7; display: grid; gap: 8px; } .rd-t { margin: 0; font-size: 14.5px; line-height: 1.5; } .rd-n { font-size: 12px; }
.tl-q { margin: 8px 0 4px; }
@media (max-width: 560px) { .lv-strip { grid-template-columns: 1fr; } .lv-r { grid-template-columns: 1fr; } .lv-c { grid-column: 1; } }
/* command box, freed times, coach hours, drifting away, the week */
.cmd-f { display: grid; gap: 8px; } .cmd-l { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #7A5B2B; } .cmd-row { display: flex; gap: 8px; } .cmd-row input { flex: 1; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid rgba(28,27,24,0.16); border-radius: 12px; background: #FFFDF8; min-width: 0; }
.cmd-ex { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #6B655A; align-items: center; } .cmd-ex button { font: inherit; font-size: 12px; border: 1px solid rgba(28,27,24,0.12); background: #FFFDF8; border-radius: 999px; padding: 4px 10px; cursor: pointer; color: #1C1B18; }
.cmd-res { display: grid; gap: 8px; } .cmd-warn { box-shadow: inset 4px 0 0 #B3261E; } .cmd-t { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 24px; } .cmd-r { display: block; padding: 6px 0; border-top: 1px solid rgba(28,27,24,0.06); color: inherit; text-decoration: none; font-size: 14.5px; }
.spot-card { display: grid; gap: 6px; } .spot-t { font-size: 26px; line-height: 1.1; } .spot-card form { margin-top: 6px; }
.ch-rows { display: grid; gap: 8px; margin: 10px 0; }   .ch-r select { font: inherit;   border: 1px solid rgba(28,27,24,0.16); border-radius: 10px; background: #FFFDF8; }
.dr-c { display: grid; gap: 10px; } .dr-h { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; } .dr-h .muted { font-size: 13px; } .dr-f { display: grid; gap: 10px; } .dr-f textarea { font: inherit; font-size: 14.5px; padding: 12px; border: 1px solid rgba(28,27,24,0.14); border-radius: 12px; background: #FFFDF8; }
.wk-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; } .wk-tiles .t { padding: 16px 18px; border-radius: 16px; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); display: grid; gap: 4px; } .wk-tiles b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 32px; line-height: 1.1; } .wk-tiles span { font-size: 13px; color: #6B655A; }
.wk-c { display: grid; grid-template-columns: 90px 1fr; gap: 4px 12px; align-items: center; padding: 8px 0; } .wk-c .muted { grid-column: 2; font-size: 12.5px; } .wk-bar { height: 10px; border-radius: 6px; background: #E9E1D1; overflow: hidden; } .wk-bar i { display: block; height: 100%; background: #9C7A3F; }
.card.dc-r { display: flex; flex-direction: row; justify-content: space-between; align-items: center; }
.ch-r {  grid-template-columns: 112px minmax(0,1fr) auto minmax(0,1fr);   } .ch-r select { width: 100%;  padding: 7px 6px; font-size: 13.5px; } .ch-d { min-width: 0; font-size: 14px; } .ch-f > .btn { justify-self: start; }
/* today: three answers */
.td3 { display: grid; gap: 0; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); border-radius: 18px; padding: 6px 18px; }
.td3-r { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(28,27,24,0.06); align-items: baseline; } .td3-r:first-child { border-top: 0; }
.td3-k { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; } .td3-v { font-size: 15px; } .td3-v a { color: #1C1B18; font-weight: 500; } .td3-ok { color: #2F5D3A; } .td3-more { font-size: 11px; margin-left: 6px; }
@media (max-width: 480px) { .td3-r { grid-template-columns: 1fr; gap: 2px; } }
/* achievements: an elegant gallery for adults, more playful for juniors */
.ach-top { display: flex; justify-content: space-between; align-items: baseline; } 
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));  }
.ach-b { display: grid;    border: 1px solid rgba(28,27,24,0.08); background: #FBF8F1; color: #8A8378; }
.ach-b.on { background: #1C1B18; color: #F4EEE2; border-color: #1C1B18; } .ach-b b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;   color: inherit; }
.ach-a { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #9C7A3F; } .ach-b.on .ach-a { color: #C9A86A; } .ach-d { font-size: 12.5px; line-height: 1.4; }
.ach-i svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; } .ach-b:not(.on) .ach-i { opacity: .45; } .ach-b.on .ach-i { color: #C9A86A; }
.ach-kid .ach-b.on { background: linear-gradient(135deg, #2C4A7A, #3D7A6A); border: 0; } .ach-kid .ach-b { border-radius: 20px; } .ach-kid .ach-i svg { width: 32px; height: 32px; }
.ach-h { display: grid; gap: 6px; color: inherit; text-decoration: none; } .ach-hr { display: flex; gap: 12px; align-items: center; } .ach-hr b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 22px; } .ach-hr .muted { font-size: 12.5px; }
.ach-i.on { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #1C1B18; color: #C9A86A; } .ach-hn { font-size: 13px; color: #6B655A; }
.ach-conf { display: grid; gap: 8px; } .ach-cr { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.07); } .ach-cr > div { display: grid; gap: 2px; } .ach-cr .muted { font-size: 12.5px; }
.pd-more > summary { cursor: pointer; list-style: none; font-size: 12px; letter-spacing: 0.18em; color: #7A5B2B; } .pd-more > summary::-webkit-details-marker { display: none; } .pd-more[open] > summary { margin-bottom: 12px; } .pd-in { display: grid; gap: 14px; }
.pg-empty { display: grid; gap: 6px; } .care-note > summary { cursor: pointer; font-size: 11px; letter-spacing: 0.16em; color: #7A5B2B; margin: 6px 0; } .care-note form { display: grid; gap: 8px; } .care-note textarea { font: inherit; font-size: 14px; padding: 10px; border-radius: 10px; border: 1px solid rgba(28,27,24,0.14); }
.ach-g { background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); border-radius: 20px; padding: 22px; } @media (min-width: 700px) { .ach-grid { grid-template-columns: repeat(3, 1fr); } }
.pk-msg:not([hidden]) { margin-top: 12px !important; padding: 12px 14px; border-radius: 12px; background: #F6F1E7; color: #1C1B18 !important; font-size: 14px; line-height: 1.5; }
/* Overview: today live as one small line */
.lv-line { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); color: inherit; text-decoration: none; font-size: 14.5px; } .lv-line .eyebrow { margin: 0; } .lv-line .lv-go { margin-left: auto; color: #9C7A3F; font-size: 18px; } .lv-line + .lv-line { margin-top: 8px; }
/* Actions: the same rows as the Overview briefing */
.rv-l .rv-c { border: 0; border-radius: 0; background: none; padding: 16px 0; box-shadow: none; border-top: 1px solid rgba(28,27,24,0.08); letter-spacing: normal; }
.rv-l .rv-c:first-child { border-top: 0; } .rv-l .rv-c * { letter-spacing: normal; text-transform: none; }
.rv-l .rv-c .st, .rv-l .rv-c .st *, .rv-l .rv-c .btn, .rv-l .rv-c .link-btn, .rv-l .rv-c .ac-go { letter-spacing: 0.14em; text-transform: uppercase; }
.rv-l .rv-c.rv-late { box-shadow: none; }
/* make a request: a list of choices, like the rest of the app */
.ask-cats { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; }
.ask-cats .ask-c { border: 0; border-radius: 0; border-top: 1px solid rgba(28,27,24,0.08); background: none; padding: 14px 28px 14px 2px; }
.ask-cats .ask-c:first-child { border-top: 0; } .ask-cats .ask-c::after { content: '›'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: #9C7A3F; font-size: 20px; }
.ask-cats .ask-c b { font-size: 16px; } .ask-cats .ask-c span { font-size: 13px; }
.ask-cats .ask-c:has(input:checked) { background: #F6F1E7; color: #1C1B18; border-radius: 12px; padding-left: 12px; } .ask-cats .ask-c:has(input:checked) span { color: #6B655A; } .ask-cats .ask-c:has(input:checked)::after { content: '✓'; }
.sp-sheet .ask-card, .sp-sheet .gp-card { box-shadow: none; border: 0; padding: 0; background: none; }
/* achievements, compact: icon and name; tap one for what it means */
.ach-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
.ach-b { padding: 12px 10px !important; gap: 2px !important; text-align: center; justify-items: center; cursor: pointer; border-radius: 14px !important; }
.ach-b b { font-size: 15px !important; line-height: 1.15 !important; } .ach-b .ach-a, .ach-b .ach-d { display: none; }
.ach-b.open .ach-d { display: block; font-size: 11.5px; margin-top: 4px; } .ach-b .ach-i svg { width: 22px !important; height: 22px !important; }
.ach-sub { font-size: 12.5px !important; margin: 2px 0 10px !important; }
@media (min-width: 700px) { .ach-grid { grid-template-columns: repeat(6, 1fr) !important; } }

/* make a request: step 1 is the list, step 2 is its own screen with a back arrow */
.ask-f.ask-step2 .ask-cats, .ask-card:has(.ask-step2) .ask-q { display: none !important; }
.ask-more { display: none !important; }
.ask-f.ask-step2 .ask-more { display: flex !important; margin-top: 4px; }
.ask-back { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 0 8px; font: inherit; font-size: 22px; color: #1C1B18; cursor: pointer; text-align: left; }
.ask-back .ask-pick { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; line-height: 1.15; }
.ask-more .btn { width: 100%; border-radius: 999px; min-height: 52px; }
.ask-more textarea { min-height: 110px; }

/* About me: if the form opens in place, the button gives way to it */
details.mt-edit[open] > summary { display: none; }
details.mt-edit { margin-top: 6px; }

/* MORE menu (member, coach, Legacy): a clean list, like Overview, not squares */
@media (max-width: 900px) {
  .tabbar details > div, .tabbar.admin details > div { display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important; padding: 10px 18px 16px !important; }
  .tabbar details > div > a, .tabbar details > div > button:not(.mo-ts), .tabbar.admin details > div > a {
    position: relative; background: none !important; border-radius: 0 !important; border-top: 1px solid rgba(28,27,24,0.08) !important;
    min-height: 52px !important; padding: 10px 30px 10px 2px !important; font-size: 13px !important; letter-spacing: .08em !important; text-transform: none; grid-column: 1 / -1 !important;
  }
  .tabbar details > div > a::after { content: '›'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: #9C7A3F; font-size: 20px; }
  .tabbar details > div > a[aria-current], .tabbar details > div > a.on { background: none !important; color: #7A5B2B !important; font-weight: 500; }
  .tabbar details > div > a:active { background: #F6F1E7 !important; }
  .tabbar .m-more > div #fy-link { border-radius: 14px !important; border-top: 0 !important; padding-left: 16px !important; margin-bottom: 6px !important; letter-spacing: .14em !important; font-size: 12px !important; }
  .tabbar .m-more > div #fy-link::after { content: none; }
  .tabbar .m-more > div .mo-ts { margin-top: 8px !important; }
  .tabbar details > div a.must { border-radius: 14px !important; padding-left: 14px !important; }
}

/* Badges page stays short: the empty Mind · Body · Game note waits on Progress, the Grand Slam intro is one small row */
.mv2.aw .mbg-empty { display: none !important; }
.mv2 .jr-hero.jr-hero-sm, .mv2.aw .jr-hero.jr-hero-sm { flex-direction: row !important; align-items: center !important; text-align: left !important; gap: 14px !important; }
.mv2 .jr-hero-sm > .big-medal { flex: 0 0 auto; width: 72px !important; height: auto !important; }
.mv2 .jr-hero-sm .jr-hero-r { align-items: flex-start !important; }
.mv2 .jr-hero-sm .body { font-size: 14px; margin: 0; }
#challenges .jr-hero.jr-hero-sm { display: flex !important; flex-direction: row !important; align-items: center !important; text-align: left !important; gap: 14px !important; }
#challenges .jr-hero.jr-hero-sm > :first-child { flex: 0 0 64px !important; width: 64px !important; max-width: 64px !important; }
#challenges .jr-hero.jr-hero-sm > :first-child svg { width: 100% !important; height: auto !important; }
#challenges .jr-hero.jr-hero-sm .jr-hero-r {  align-items: flex-start !important; text-align: left !important; }
.mv2.aw #challenges .ch-name { font-size: 20px !important; }
#challenges .jr-hero.jr-hero-sm { flex-wrap: nowrap !important; } #challenges .jr-hero.jr-hero-sm .jr-hero-r { min-width: 0 !important; width: auto !important; flex: 1 1 0 !important; }

/* Legacy Overview, simpler */
body:has(.br-five) .cmd-f:not(:focus-within) .cmd-ex { display: none !important; }
#briefing .br-go { display: inline-block; margin: 6px 0 10px; }
#briefing [hidden] { display: none !important; }
.td-day[hidden], .td-seg[hidden], #activity .act-l > li[hidden] { display: none !important; }
.td-quick:has(> a:only-child), .td-quick { grid-template-columns: 1fr 1fr; }

/* ---------- client checklist ---------- */
.cc-card { gap: 10px; }
.cc-top { display: flex; align-items: center; gap: 14px; }
.cc-h { margin: 2px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.15; }
.cc-ring { position: relative; flex: 0 0 auto; width: 52px; height: 52px; display: inline-grid; place-items: center; }
.cc-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cc-ring circle { fill: none; stroke-width: 3.5; } .cc-ring .cc-bg { stroke: #EDE4D4; } .cc-ring .cc-fg { stroke: #B8945B; stroke-linecap: round; transition: stroke-dashoffset .4s; }
.cc-ring.cc-full .cc-fg { stroke: #2E7D4F; } .cc-ring b { position: relative; font: 500 12px/1 'Jost', sans-serif; color: #1C1B18; letter-spacing: 0; } .cc-ring.cc-full b { color: #2E7D4F; font-size: 16px; }
.cc-list-ring .cc-ring { width: 40px; height: 40px; } .cc-list-ring .cc-ring b { font-size: 10.5px; }
.cc-l { list-style: none; margin: 4px 0 0; padding: 0; }
.cc-r { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.cc-r:first-child { border-top: 0; }
.cc-box { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #CFC3AE; background: #FFFDF8; display: inline-grid; place-items: center; font-size: 14px; color: #FFFDF8; padding: 0; cursor: default; }
.cc-tick .cc-box { cursor: pointer; } .cc-tick { margin: 0; display: contents; }
.cc-done .cc-box { background: #2E7D4F; border-color: #2E7D4F; }
.cc-card .cc-t { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; } .cc-card .cc-t b { font-weight: 500; font-size: 15px; } .cc-card .cc-t span { font-size: 13px; color: #6B655A; }
.cc-done .cc-t b { color: #6B655A; font-weight: 400; }
.cc-todo .cc-t span { color: #9A4A2A; }
.cc-go { flex: 0 0 auto; font-size: 11.5px; letter-spacing: .14em; color: #7A5B2B; text-decoration: none; padding: 8px 0 8px 6px; white-space: nowrap; }
.cc-del { margin: 0; } .cc-del button { background: none; border: 0; color: #9C948A; font-size: 14px; padding: 6px; cursor: pointer; }
.cc-add { display: flex; gap: 8px; margin: 6px 0 0; } .cc-add input { flex: 1 1 auto; min-width: 0; min-height: 44px; border: 0; border-radius: 12px; background: #F4EEE3; padding: 0 14px; font: inherit; font-size: 15px; }
.cc-add .btn { min-height: 44px; border-radius: 12px; }
.cc-note { font-size: 12px; }
.cc-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 14px; padding: 12px 16px; border-radius: 14px; background: #FFFDF8; box-shadow: 0 0 0 1px rgba(28,27,24,0.08); font-size: 14px; }
.cc-filter b { font-weight: 500; } .cc-filter .ok { color: #2E7D4F; }
.pl-alert.cc-miss { background: #FBF4EA !important; color: #7A5B2B !important; }
/* the Clients list stays calm: the checklist replaces the journey chips and the view switch */
.jy-filt, .pl-seg { display: none !important; }
/* Clients page: the numbers live on Overview; filters fold behind one button */
body:has(.cc-filter) .glance.g-links { display: none !important; }
.calf.wf:not(.calf-open) .calf-chips, .calf.wf:not(.calf-open) .calf-row:not(:has(.calf-search)) { display: none !important; }
.calf-tg { background: none; border: 0; padding: 6px 0; font: 500 11.5px/1 'Jost', sans-serif; letter-spacing: .16em; color: #7A5B2B; cursor: pointer; }
body:has(.cc-filter) div:has(> button[data-plv]) { display: none !important; }

/* Overview: the day in five lines */
.br-five { list-style: none; margin: 6px 0 4px; padding: 0; }
.br-five li { border-top: 1px solid rgba(28,27,24,0.08); } .br-five li:first-child { border-top: 0; }
.br-five a { display: flex; align-items: center; gap: 14px; min-height: 54px; color: #1C1B18; text-decoration: none; }
.br-five b { flex: 0 0 auto; min-width: 40px; height: 32px; border-radius: 16px; display: inline-grid; place-items: center; padding: 0 10px; background: #F1EBE1; font: 500 15px/1 'Jost', sans-serif; color: #59544B; }
.br-five .br5-on b { background: #FBE9E5; color: #B3261E; } .br-five .br5-cal b { background: #1C1B18; color: #F4EEE2; }
.br-five span { flex: 1 1 auto; font-size: 16px; } .br-five i { font-style: normal; color: #9C7A3F; font-size: 20px; }
/* the to-do category lists and the overview link to them retire: the five lines and Actions cover them */
body:has(.br-five) .td-l-now, body:has(.br-five) .td-l-soon, body:has(.br-five) .st-more-link, body:has(.br-five) #briefing .br-go { display: none !important; }

/* Actions by client */
.rv-by-client { list-style: none; padding: 0; margin: 0; }
.rv-g { border-top: 1px solid rgba(28,27,24,0.08); } .rv-g:first-child { border-top: 0; }
.rv-gh { width: 100%; display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "n c i" "w c i"; align-items: center; gap: 2px 12px; background: none; border: 0; padding: 12px 0; text-align: left; font: inherit; color: #1C1B18; cursor: pointer; }
.rv-gn { grid-area: n; font-size: 16px; font-weight: 500; } .rv-gw { grid-area: w; font-size: 13px; color: #6B655A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-gc { grid-area: c; min-width: 30px; height: 28px; border-radius: 14px; display: inline-grid; place-items: center; background: #FBE9E5; color: #B3261E; font-size: 13px; font-weight: 500; padding: 0 8px; }
.rv-gh i { grid-area: i; font-style: normal; color: #9C7A3F; font-size: 20px; transition: transform .2s; } .rv-open .rv-gh i { transform: rotate(90deg); }
.rv-gb { margin: 0 0 10px !important; padding: 4px 0 4px 12px !important; border-left: 2px solid #EDE4D4; }
.rv-gb[hidden] { display: none !important; }
.rv-gl { display: inline-block; margin: 4px 0 6px; }
.rv-pc { color: #6B655A; }
.rv-by-client > li[hidden] { display: none !important; }
.rv-more { margin: 6px auto 0; display: block; }
body:has(.rv-by-client) .pf-bar { display: none !important; }
/* Overview keeps one small list for what is not a client task (your list, time off, group requests) */
body:has(.br-five) .td-l-soon { display: block !important; }

/* no mistakes: preview sheet and undo */
.sf-sheet .sf-lines { display: grid; gap: 10px; margin: 4px 0 18px; }
.sf-sheet .sf-lines p { margin: 0; display: grid; gap: 2px; }
.sf-k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #7A5B2B; }
.sf-v { font-size: 16px; color: #1C1B18; } .sf-msg { display: block; padding: 12px 14px; border-radius: 14px; background: #F4EEE3; font-size: 15px; line-height: 1.45; white-space: pre-wrap; }
.sf-acts { display: grid; gap: 10px; } .sf-acts .btn { width: 100%; min-height: 52px; border-radius: 999px; }
.sf-toast { position: fixed; left: 16px; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); z-index: 2147483000; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #1C1B18; color: #F4EEE2; font-size: 15px; box-shadow: 0 12px 32px rgba(0,0,0,.25); max-width: 520px; margin: 0 auto; }
.sf-toast button { background: none; border: 0; color: #E3C58F; font: 500 13px/1 'Jost', sans-serif; letter-spacing: .16em; padding: 8px 0 8px 12px; cursor: pointer; }
.tabbar details > div > details.mo-rest > summary { font-size: 12px !important; }
.tabbar details > div > details.mo-rest .mo-rest-l { display: grid; grid-template-columns: 1fr; gap: 0; padding-bottom: 6px; }
.tabbar details > div > details.mo-rest .mo-rest-l a { background: none !important; border-radius: 0 !important; border-top: 1px solid rgba(28,27,24,0.06) !important; min-height: 46px !important; font-size: 12.5px !important; letter-spacing: .08em !important; padding-left: 2px !important; }
/* Legacy and coach MORE: six rows, then everything else in closed groups */
.tabbar details > div > .mo-main { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; }
.tabbar details > div > .mo-main > a { position: relative; background: none !important; border-radius: 0 !important; border-top: 1px solid rgba(28,27,24,0.08) !important; min-height: 52px !important; padding: 10px 30px 10px 2px !important; font-size: 13px !important; letter-spacing: .08em !important; }
.tabbar details > div > .mo-main > a:first-child { border-top: 0 !important; }
.tabbar details > div > .mo-main > a::after { content: '›'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: #9C7A3F; font-size: 20px; }
.tabbar details > div > .mo-eh { grid-column: 1 / -1; margin: 14px 0 2px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #9C948A; }
.tabbar.admin details > div #fy-link { background: #F6F1E7 !important; color: #1C1B18 !important; }
.tabbar details > div > .mo-main > a.must { box-shadow: none !important; background: none !important; } .tabbar details > div > .mo-main > a.must .mo-n { margin-left: auto; margin-right: 8px; }

/* ---------- Client Control v2: statuses, owners, proof ---------- */
.cc-tt { min-width: 0; display: grid; gap: 4px; }
.cc-hl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; } .cc-hn { font-size: 13px; color: #6B655A; }
.cc-line { margin: 0; font-size: 14.5px; line-height: 1.4; color: #3A362F; }
.cc-cs { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.cc-cs-ready { background: #E3EEE5; color: #1F4D2C; } .cc-cs-waiting { background: #F1EBE1; color: #59544B; } .cc-cs-attention { background: #FBE9E5; color: #B3261E; } .cc-cs-blocked { background: #3A1612; color: #FBE9E5; }
.cc-card .cc-r { align-items: flex-start; }
.cc-card .cc-box { margin-top: 1px; font-size: 13px; color: #6B655A; }
.cc-s-ok .cc-box { background: #2E7D4F; border-color: #2E7D4F; color: #fff; }
.cc-s-action .cc-box { border-color: #B3261E; color: #B3261E; font-weight: 600; }
.cc-s-blocked .cc-box { background: #3A1612; border-color: #3A1612; color: #FBE9E5; font-size: 9px; }
.cc-s-waiting .cc-box, .cc-s-progress .cc-box { border-color: #CFC3AE; color: #7A5B2B; }
.cc-s-na .cc-box { border-style: dashed; color: #B5AC9E; }
.cc-s-na .cc-t b, .cc-s-ok .cc-t b { color: #6B655A; font-weight: 400; }
.cc-s-action .cc-t span, .cc-s-blocked .cc-t span { color: #9A4A2A !important; }
.cc-own.cc-s-ok .cc-tick .cc-box { background: #2E7D4F; border-color: #2E7D4F; color: #fff; }
.cc-d { flex: 1 1 auto; min-width: 0; }
.cc-d > summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; cursor: pointer; }
.cc-d > summary::-webkit-details-marker { display: none; }
.cc-st { flex: 0 0 auto; max-width: 46%; text-align: right; font-size: 11.5px; letter-spacing: .04em; color: #7A5B2B; padding-top: 2px; }
.cc-s-action .cc-st, .cc-s-blocked .cc-st { color: #B3261E; } .cc-s-ok .cc-st { color: #2E7D4F; } .cc-s-na .cc-st { color: #9C948A; }
.cc-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 10px 0 6px; font-size: 13.5px; }
.cc-dl dt { color: #9C948A; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding-top: 2px; } .cc-dl dd { margin: 0; color: #1C1B18; } .cc-dl dd.warn { color: #B3261E; }
.cc-d .cc-go { display: inline-block; padding: 6px 0; }
.cc-d .cc-del { margin: 0; } .cc-d .cc-del .link-btn { font-size: 11px; }
.cc-card.cc-blocked { box-shadow: inset 0 0 0 1.5px #3A1612; } .cc-card.cc-attention { box-shadow: inset 0 0 0 1px rgba(179,38,30,.35); }
/* the Clients list filters */
.cc-filter { flex-direction: column; align-items: stretch; }
.cc-fts { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; } .cc-fts::-webkit-scrollbar { display: none; }
.cc-ft { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid rgba(28,27,24,0.14); font-size: 13px; color: #1C1B18; text-decoration: none; white-space: nowrap; }
.cc-ft b { font-weight: 500; } .cc-ft.on { background: #1C1B18; color: #F4EEE2; border-color: #1C1B18; }
.pl-alert.cc-miss { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; } .pl-alert.cc-miss > span:last-child { font-size: 13px; }
.pl-alert.cc-m-ready { background: #F1F7F2 !important; color: #1F4D2C !important; }
.pl-alert.cc-m-waiting { background: #F7F3EC !important; color: #59544B !important; }
/* partnership / school / launch checklists */
.org-cl { display: grid; gap: 6px; margin: 4px 0 14px; padding: 12px 14px; border-radius: 14px; background: #FBF8F2; }
.org-top { display: flex; align-items: center; gap: 12px; font-size: 14px; } .org-top .cc-ring { width: 40px; height: 40px; } .org-top .cc-ring b { font-size: 10.5px; }
.org-cl .cc-t { display: grid; gap: 1px; } .org-cl .cc-t b { font-weight: 500; font-size: 14.5px; } .org-cl .cc-t span { font-size: 12.5px; color: #6B655A; }
.op-new { gap: 8px; }
/* the client workspace: one tap to each part */
.cw-nav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 64px); z-index: 30; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 2px; margin: 0 -2px; background: linear-gradient(#F8F5EF 80%, rgba(248,245,239,0)); }
.cw-nav::-webkit-scrollbar { display: none; }
.cw-nav a { flex: 0 0 auto; height: 34px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 17px; background: #FFFDF8; box-shadow: 0 0 0 1px rgba(28,27,24,0.12); font-size: 12px; letter-spacing: .12em; color: #1C1B18; text-decoration: none; text-transform: uppercase; }
.cw-nav a.on { background: #1C1B18; color: #F4EEE2; box-shadow: none; }
body:has(.cc-filter) .pl-tabs > a.tab { display: none !important; }
.cc-more > summary { list-style: none; cursor: pointer; padding: 12px 0 4px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #2E7D4F; border-top: 1px solid rgba(28,27,24,0.08); }
.cc-more > summary::-webkit-details-marker { display: none; } .cc-more > summary::after { content: ' ›'; } .cc-more[open] > summary::after { content: ' ⌄'; }
.cc-allok .cc-t b { color: #2E7D4F; }
.cmd-hint { margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: #FBF4EA; color: #7A5B2B; font-size: 14px; }
body:has(.br-five) .cmd-f.cmd-show .cmd-ex { display: flex !important; }
.cmd-res { scroll-margin-top: 90px; }

/* Overview panels: color, date and three choices */
.b5-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 6px; font-size: 12px; color: #6B655A; }
.b5-k::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.b5-k.b5-red::before, .b5-red .b5-dot { background: #B3261E; } .b5-k.b5-yellow::before, .b5-yellow .b5-dot { background: #C9962E; } .b5-k.b5-green::before, .b5-green .b5-dot { background: #2E7D4F; } .b5-grey .b5-dot { background: #B5AC9E; }
.b5-note { margin: 0 0 6px; font-size: 13px; }
.b5-l { list-style: none; margin: 0; padding: 0; }
.b5-r { display: flex; gap: 12px; padding: 12px 0 12px 10px; border-top: 1px solid rgba(28,27,24,0.08); position: relative; }
.b5-r::before { content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 2px; }
.b5-red::before { background: #B3261E; } .b5-yellow::before { background: #C9962E; } .b5-green::before { background: #2E7D4F; } .b5-grey::before { background: #D9D2C5; }
.b5-dot { display: none; }
.b5-t { min-width: 0; flex: 1 1 auto; display: grid; gap: 2px; } .b5-t b { font-weight: 500; font-size: 15px; } .b5-t > span { font-size: 13px; color: #6B655A; }
.b5-red .b5-t > span { color: #9A4A2A; }
.b5-a { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 6px; }
.b5-a a, .b5-a button { font: 500 11.5px/1 'Jost', sans-serif; letter-spacing: .14em; color: #7A5B2B; text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.b5-a a.b5-do { color: #1C1B18; border-bottom: 1px solid #B8945B; }
.b5-f, .b5-later { margin: 0; display: inline; } .b5-later select { font: 500 11.5px/1 'Jost', sans-serif; letter-spacing: .1em; color: #7A5B2B; background: transparent; border: 0; padding: 6px 0; cursor: pointer; }
.b5-all { display: inline-block; margin-top: 14px; }
.br-eod a { color: inherit; text-decoration: none; cursor: pointer; } .br-eod a:hover { box-shadow: 0 0 0 1px #B8945B; }
.br-eod a::after { content: "›"; margin-top: 4px; color: #9C7A3F; font-size: 16px; }

/* lesson actions: small, calm, in proportion */
.sa-b, button.sa-b, summary.sa-b { display: inline-flex !important; align-items: center; justify-content: center; height: 32px !important; min-height: 32px !important; padding: 0 12px !important; border-radius: 16px !important; background: transparent !important; border: 1px solid #D9CBB0 !important; color: #1C1B18 !important; font: 500 11px/1 'Jost', sans-serif !important; letter-spacing: .12em !important; box-shadow: none !important; cursor: pointer; white-space: nowrap; width: auto !important; }
.sa-b.sa-cancel { color: #9A4A2A !important; border-color: #E7C9C0 !important; }
.sa-b.sa-del { border-color: transparent !important; color: #8A8276 !important; text-decoration: underline; text-underline-offset: 3px; padding: 0 6px !important; }
.sa-b:hover { border-color: #B8945B !important; }
details.mv-l { display: inline-block; } details.mv-l > summary { list-style: none; } details.mv-l > summary::-webkit-details-marker { display: none; }
form.inline:has(> .sa-b) { display: inline-block; margin: 0 4px 4px 0; }
td:has(.sa-b) { white-space: nowrap; }
.mv-sheet .mv-f { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.mv-sheet .mv-f label { display: grid; gap: 6px; font-size: 11px; letter-spacing: .16em; color: #7A5B2B; }
.mv-sheet .mv-f input, .mv-sheet .mv-f select { min-height: 46px; border-radius: 12px; border: 1px solid #E2D9C8; background: #FFFDF8; padding: 0 12px; font: inherit; font-size: 15px; letter-spacing: 0; color: #1C1B18; width: 100%; box-sizing: border-box; }
.mv-sheet .mv-f .btn { grid-column: 1 / -1; min-height: 50px; border-radius: 999px; width: 100%; }
.mv-was { margin: -4px 0 12px; font-size: 14px; }
@media (max-width: 420px) { .mv-sheet .mv-f { grid-template-columns: 1fr; } }
/* one button to take a lesson away: Cancel (the player is told). Delete stays only where there is nothing to cancel */
td:has(.sa-cancel) form:has(.sa-del), li:has(.sa-cancel) form:has(.sa-del), .sa-row:has(.sa-cancel) form:has(.sa-del) { display: none !important; }
/* weekly hours: a morning block, a break, an afternoon block */
.ch-r { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ch-r select { flex: 0 1 130px; min-width: 110px; }
.ch-sp { font-size: 12.5px; color: #7A5B2B; white-space: nowrap; }
.ch-2 { display: none; align-items: center; gap: 8px 10px; flex-wrap: wrap; flex-basis: 100%; padding-left: 28px; }
.ch-r:has(.ch-sp input:checked) .ch-2 { display: flex; }
.lv-pick { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px 16px; margin: 4px 0 12px; padding: 14px; border-radius: 14px; background: #FBF8F2; }
.lv-pick .lv-f { margin: 0; } .lv-pick select { width: 100%; min-height: 44px; } .lv-note { grid-column: 1 / -1; font-size: 12.5px; }
@media (max-width: 560px) { .lv-pick { grid-template-columns: 1fr; } }
/* status chips never run over the text next to them */
.na-r > .st, .ac-l .na-r > .st { flex: 0 0 auto; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; max-width: 100%; box-sizing: border-box; }
.na-r:has(> .st) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.na-r:has(> .st) > .ac-t { flex: 1 1 220px; min-width: 0; }
/* timelines: each kind has its own color, so a glance is enough */
.ac-r .ac-i { transition: none; }
.ac-g-registration .ac-i { background: #EDE6F4 !important; color: #5B4A7A !important; }
.ac-g-purchases .ac-i { background: #E3EEE5 !important; color: #1F4D2C !important; }
.ac-g-lessons .ac-i { background: #E4ECF3 !important; color: #2F4E6B !important; }
.ac-g-packages .ac-i { background: #F7EBD3 !important; color: #7A5B2B !important; }
.ac-g-coaching .ac-i { background: #F3EAD9 !important; color: #8E6A35 !important; }
.ac-g-service .ac-i { background: #F8E6EC !important; color: #8A3B55 !important; }
.ac-g-membership .ac-i { background: #1C1B18 !important; color: #E3C58F !important; }
.ac-r.ac-bad .ac-i { background: #FBE9E5 !important; color: #B3261E !important; }
.ac-key { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 2px 0 8px; font-size: 11.5px; color: #6B655A; }
.ac-key span::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }
.ac-key .k-reg::before { background: #8F7AB0; } .ac-key .k-pay::before { background: #2E7D4F; } .ac-key .k-les::before { background: #4F7397; } .ac-key .k-coa::before { background: #B8945B; } .ac-key .k-svc::before { background: #B4607D; } .ac-key .k-bad::before { background: #B3261E; }
/* Practice this week picker */
.pr-pick2 { display: grid; gap: 12px; }
.pr-why { margin: 0; font-size: 14.5px; line-height: 1.5; color: #3A362F; } .pr-why b { font-weight: 500; color: #1C1B18; }
.pr-tabs { display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: #F1EBE1; }
.pr-tab { flex: 1 1 0; height: 38px; border: 0; border-radius: 10px; background: none; font: 500 12px/1 'Jost', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #59544B; cursor: pointer; }
.pr-tab span { opacity: .6; } .pr-tab.on { background: #FFFDF8; color: #1C1B18; box-shadow: 0 1px 3px rgba(28,27,24,.12); }
.pr-list { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow-y: auto; }
.pr-list[hidden] { display: none; }
.pr-list li { border-top: 1px solid rgba(28,27,24,0.08); } .pr-list li:first-child { border-top: 0; }
.pr-it { display: flex; align-items: center; gap: 14px; padding: 12px 2px; cursor: pointer; }
.pr-tt { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; } .pr-tt b { font-weight: 500; font-size: 15px; } .pr-tt span { font-size: 12.5px; color: #6B655A; }
.pr-it input { position: absolute; opacity: 0; pointer-events: none; }
.pr-ck { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #CFC3AE; display: inline-grid; place-items: center; }
.pr-it input:checked + .pr-ck { background: #B8945B; border-color: #B8945B; } .pr-it input:checked + .pr-ck::after { content: '✓'; color: #fff; font-size: 14px; }
.pr-it input:focus-visible + .pr-ck { outline: 2px solid #B8945B; outline-offset: 2px; }
.pr-full { opacity: .45; }
.pr-send { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0 2px; background: linear-gradient(rgba(255,253,248,0), #FFFDF8 30%); }
.pr-n { font-size: 13px; color: #59544B; min-width: 0; } .pr-send .btn { flex: 0 0 auto; border-radius: 999px; min-height: 44px; } .pr-send .btn:disabled { opacity: .45; }
/* coach setup: an open step is a button to remind them */
.op-path .cs-step { background: none; border: 0; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.op-path .cs-step span { color: #B8945B; } .op-path li:has(.cs-step):hover { box-shadow: 0 0 0 1px #B8945B; }
.rem-what { margin: -4px 0 10px; } .rem-f { display: grid; gap: 14px; }
.rem-ch { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; } .rem-ch legend { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7A5B2B; margin-bottom: 6px; }
.rem-off { opacity: .55; } .rem-f .btn { border-radius: 999px; min-height: 50px; }
/* a coach's players and lessons: edit right there */
.cp-r { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.cp-r:first-of-type { border-top: 0; }
.cp-n { color: inherit; text-decoration: none; min-width: 0; } .cp-n b { font-weight: 500; }
.cp-ed > summary { list-style: none; cursor: pointer; font: 500 11px/1 'Jost', sans-serif; letter-spacing: .14em; color: #7A5B2B; padding: 8px 0; } .cp-ed > summary::-webkit-details-marker { display: none; }
.cp-ed[open] { flex-basis: 100%; } .cp-ed[open] > summary { color: #1C1B18; }
.cp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 12px; border-radius: 12px; background: #FBF8F2; }
.cp-acts > a { font: 500 11px/1 'Jost', sans-serif; letter-spacing: .14em; color: #7A5B2B; text-decoration: none; }
.cp-sw { display: flex; gap: 8px; align-items: center; margin: 0; } .cp-sw select { min-height: 34px; border-radius: 10px; font-size: 14px; max-width: 220px; } .cp-rm { margin: 0; }
.cl-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.st-toast { position: fixed !important; left: 50% !important; bottom: calc(env(safe-area-inset-bottom, 0px) + 28px) !important; transform: translateX(-50%) !important; z-index: 2147483000; max-width: min(520px, calc(100vw - 32px)); padding: 14px 18px; border-radius: 16px; background: #1C1B18; color: #F4EEE2; font-size: 15px; box-shadow: 0 12px 32px rgba(0,0,0,.25); opacity: 0; transition: opacity .25s; }
.st-toast.on { opacity: 1; } .st-toast::before { content: '✓  '; color: #E3C58F; }
.st-toast.st-err::before { content: "!  "; color: #F2A79E; }
section:not(.tl-open) .tl-more { display: none !important; } .tl-all-b { margin: 10px auto 0; display: block; }
/* their choices, at a glance */
.cn-tags { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 2px 0 6px; }
.cn-t { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12.5px; white-space: nowrap; }
.cn-t::before { content: ''; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; }
.cn-yes { background: #E3EEE5; color: #1F4D2C; } .cn-yes::before { background: #2E7D4F; }
.cn-no { background: #FBE9E5; color: #9A2A21; } .cn-no::before { background: #B3261E; }
.cn-na { background: #F1EBE1; color: #6B655A; } .cn-na::before { background: #B5AC9E; }
@media (min-width: 900px) {
  .pl-compact .pl-top > .cc-list-ring { grid-area: av; justify-self: start; }
  .pl-compact .pl-top { grid-template-columns: 48px minmax(0, 1.2fr) 82px minmax(0, 1.1fr) minmax(0, 300px) !important; }
  .pl-compact .pl-pills { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; min-width: 0; }
  .pl-compact .pl-pills > * { max-width: 100%; }
}
/* money in and out */
.lg-card { gap: 12px; } .lg-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; }
.lg-fl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; } .lg-fl select { min-height: 38px; border-radius: 10px; font-size: 14px; } .lg-fl .muted { font-size: 12.5px; }
.lg-sum { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #59544B; } .lg-sum b { font-weight: 500; color: #1C1B18; margin-left: 4px; } .lg-in b { color: #2E7D4F !important; } .lg-out b { color: #9A2A21 !important; }
.lg-l { list-style: none; margin: 0; padding: 0; } .lg-r { border-top: 1px solid rgba(28,27,24,0.08); } .lg-r:first-child { border-top: 0; }
.lg-r > a, .lg-r > div { display: flex; align-items: center; gap: 14px; padding: 11px 0; color: inherit; text-decoration: none; }
.lg-d { flex: 0 0 52px; font-size: 12.5px; color: #6B655A; } .lg-w { flex: 1 1 auto; min-width: 0; display: grid; } .lg-w b { font-weight: 500; font-size: 15px; } .lg-w span { font-size: 12.5px; color: #6B655A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lg-a { flex: 0 0 auto; font-variant-numeric: tabular-nums; font-size: 15px; } .lg-in .lg-a { color: #2E7D4F; } .lg-out .lg-a { color: #9A2A21; }
.lg-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; } .lg-f .lg-note { grid-column: span 2; } .lg-f .btn { align-self: end; }
@media (max-width: 640px) { .lg-f { grid-template-columns: 1fr; } .lg-f .lg-note { grid-column: auto; } }
/* desktop MORE: everything stays inside the panel (scrolls if needed), the six main rows sit in one line */
@media (min-width: 901px) {
  .tabbar.admin details > div { max-height: calc(100vh - 120px) !important; overflow-y: auto !important; overscroll-behavior: contain; }
  .tabbar details > div > .mo-main { display: flex !important; flex-wrap: wrap; gap: 6px 22px; grid-column: 1 / -1; }
  .tabbar details > div > .mo-main > a { border-top: 0 !important; min-height: 36px !important; padding: 6px 0 !important; }
  .tabbar details > div > .mo-main > a::after { content: none !important; }
}
.cv-reply { display: grid; gap: 8px; margin: 12px 0 2px; padding: 12px 14px; border-radius: 14px; background: #FBF8F2; }
.cv-f { display: grid; gap: 8px; } .cv-f textarea { border-radius: 12px; border: 1px solid #E2D9C8; background: #FFFDF8; padding: 10px 12px; font: inherit; font-size: 15px; } .cv-f .btn { justify-self: start; border-radius: 999px; }
.cv-ph { display: flex; gap: 16px; } .cv-none { margin: 10px 0 0; font-size: 13px; color: #9A4A2A; }

/* the top bar stays on screen in all three apps, at every size */
header.m-head { position: sticky !important; top: 0 !important; z-index: 60 !important; background: rgba(250,248,242,0.92); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); }
/* laptop MORE: drops right under the button, fully on screen, scrolls inside if long */
@media (min-width: 761px) {
  html.lg-toptabs .m-nav > .tabbar details > div { position: fixed !important; top: var(--mo-top, 84px) !important; left: var(--mo-left, 16px) !important; right: auto !important; bottom: auto !important; width: min(1000px, calc(100vw - 32px)) !important; max-height: calc(100vh - var(--mo-top, 84px) - 16px) !important; overflow-y: auto !important; overscroll-behavior: contain; transform: none !important; }
  html.lg-toptabs .m-nav > .tabbar.admin details > div > .mo-col { align-self: start; }
}
/* map page lists: compact rows so a long list stays short */
.map-lists .list-row, .map-lists details > summary { min-height: 0 !important; padding-top: 8px !important; padding-bottom: 8px !important; font-size: 14.5px; }
.map-lists .card { gap: 4px !important; padding-top: 16px !important; padding-bottom: 16px !important; }
.map-lists .list-row .muted, .map-lists .list-row span:last-child { font-size: 12.5px; }
.rd-chip.rd-date { white-space: nowrap; min-width: max-content; } .rd-chip.rd-date span { white-space: nowrap; }
.bk-rank { display: inline-grid; place-items: center; margin-left: 8px; min-width: 26px; height: 20px; padding: 0 5px; border-radius: 10px; background: #1C1B18; color: #F4EEE2; font-size: 10.5px; letter-spacing: .04em; }
.bk-cnt { font-size: 13px; line-height: 1.5; color: #9A4A2A; } .bk-cnt.ok { color: #2E7D4F; }
.st-card.st-bad { box-shadow: inset 0 0 0 1.5px #B3261E; } .st-red { color: #B3261E !important; } .st-perm { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.st-perm li.ok b { color: #2E7D4F; font-weight: 500; } .st-perm li.no b { color: #B3261E; font-weight: 500; } .st-perm li span { color: #6B655A; font-size: 13px; }
.st-alert { display: block; color: #B3261E !important; text-decoration: none; border: 1.5px solid #B3261E; background: #FFF1EF; }
/* My links: outside tools one tap away */
.lk-card { display: flex; flex-direction: column; gap: 4px; }
.lk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(28,27,24,0.1); }
.lk-row:first-of-type { border-top: 0; }
.lk-a { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 12px 0; min-height: 44px; text-decoration: none; color: inherit; }
.lk-l { font-size: 15px; }
.lk-l::after { content: " ↗"; color: #8A6D3B; font-size: 12px; }
.lk-n { font-size: 13px; color: #59544B; line-height: 1.4; }
.lk-add { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; padding-top: 10px; border-top: 1px solid rgba(28,27,24,0.1); }
.lk-add .f { flex: 1 1 200px; min-width: 0; }
/* Actions at a glance: to do, pending, done */
.ac-sum { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.ac-s { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid rgba(28,27,24,0.15); border-left-width: 4px; background: #FFFDF8; text-decoration: none; color: inherit; min-height: 44px; }
.ac-s b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1; }
.ac-s span { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.ac-s small { font-size: 12px; color: #59544B; }
.ac-s-todo { border-left-color: #A3402F; } .ac-s-wait { border-left-color: #B8945B; } .ac-s-done { border-left-color: #4E7A55; }
.ac-s.on { background: #F6F0E4; border-color: rgba(28,27,24,0.28); }
@media (max-width: 700px) {
  .ac-seg { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; border-radius: 999px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ac-seg::-webkit-scrollbar { display: none; }
  .ac-seg > a { flex: 0 0 auto; white-space: nowrap; padding-left: 16px; padding-right: 16px; }
  .ac-sum { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ac-s { padding: 10px 10px 10px 12px; }
  .ac-s b { font-size: 24px; }
  .ac-s span { font-size: 10px; letter-spacing: 0.12em; }
  .ac-s small { display: none; }
}
@media (min-width: 761px) {
  .tabbar details > div > .mo-main { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 0 28px !important; }
  .tabbar details > div > .mo-main > a { width: auto !important; border-top: 1px solid rgba(255,255,255,0.08) !important; min-height: 44px !important; padding: 8px 0 !important; }
  .tabbar details > div > .mo-main > a:nth-child(-n+4) { border-top: 0 !important; }
}
@media (min-width: 761px) { html.lg-toptabs .m-nav > .tabbar > details > div::before { background: transparent !important; width: auto !important; border-radius: 0 !important; margin: 0 !important; } }
/* MORE open: stop the page scrolling without turning the body into its own scroller (that pushed the sticky top bar and the menu off screen after scrolling) */
html.more-open body { overflow: visible !important; }
html.more-open { overflow: hidden !important; }
/* the top bar is sticky now, so BACK stays in place at the top of the page instead of sliding under it */
.lg-back { position: relative !important; top: auto !important; background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* Wellness: the three first, the coach's pick, "have more time?" only after the three, everything else behind SEE ALL */
.wl-coach { gap: 8px !important; }
.wl-coach-l { list-style: none; margin: 0; padding: 0; display: grid; }
.wl-coach-l li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.wl-coach-l li:first-child { border-top: 0; }
.wl-coach-l li.done .wl-coach-t { color: #59544B; }
.wl-coach-t { font-size: 15.5px; }
.wl-coach-l .muted { font-size: 13px; }
.wl-moretime { gap: 8px !important; }
.wl-all-det { border-top: 1px solid rgba(28,27,24,0.1); padding-top: 4px; }
.wl-all-sum { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 14px 32px 14px 2px; min-height: 44px; position: relative; }
.wl-all-sum::-webkit-details-marker { display: none; }
.wl-all-sum span { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.wl-all-sum small { font-size: 13px; color: #59544B; }
.wl-all-sum::after { content: ''; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.wl-all-det[open] > .wl-all-sum::after { transform: translateY(-30%) rotate(-135deg); }
.wl-all-det > .wl-more { margin-top: 6px; }
.ac-others { margin-top: 14px; border-top: 1px solid rgba(28,27,24,0.1); }
.ac-others > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 14px 0; min-height: 44px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.ac-others > summary::-webkit-details-marker { display: none; }
.ac-others > summary small { font-size: 13px; letter-spacing: 0; text-transform: none; color: #59544B; }
/* Ask Legacy on a phone: steps aside while you scroll or read, comes back when you stop or scroll up */
.ak-launch { transition: transform .28s ease, opacity .28s ease; }
@media (max-width: 760px) { html.ak-away .ak-launch:not([aria-expanded="true"]) { transform: translateX(calc(100% + 24px)); opacity: 0; pointer-events: none; } }
/* MORE: the main rows, then one EVERYTHING ELSE button; the groups appear only when it is tapped */
.tabbar details > div:not(.mo-all) > details.mo-g, .tabbar details > div:not(.mo-all) > .mo-col { display: none !important; }
.tabbar details > div > .mo-eh-btn { grid-column: 1 / -1; display: flex !important; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; padding: 10px 4px !important; margin-top: 6px; background: none !important; border: 0; border-top: 1px solid rgba(255,255,255,0.12); color: inherit; font: inherit; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; opacity: 0.85; }
.tabbar details > div > .mo-eh-btn b { font-weight: 400; letter-spacing: 0; margin-left: auto; opacity: 0.7; }
.tabbar details > div > .mo-eh-btn::after { content: ''; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -4px 4px 0 0; transition: transform .2s; }
.tabbar details > div.mo-all > .mo-eh-btn::after { transform: rotate(-135deg); margin-top: 4px; }
@media (max-width: 760px) { .tabbar details > div > .mo-eh-btn { border-top-color: rgba(28,27,24,0.1); } }
/* Legacy Assistant (staff): answers from the records, as calm cards */
.as-card { display: flex; flex-direction: column; gap: 10px; }
.as-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.15; }
.as-lead { margin: 0; font-size: 14.5px; line-height: 1.5; }
.as-g { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; border-top: 1px solid rgba(28,27,24,0.08); }
.as-gl { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #59544B; }
.as-dot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #B5AC9E; display: inline-block; }
.as-dot.as-red { background: #A3402F; } .as-dot.as-yellow { background: #C9A03D; } .as-dot.as-green { background: #4E7A55; } .as-dot.as-grey { background: #B5AC9E; }
.as-g ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.as-g li a, .as-g li > b { display: flex; flex-direction: column; gap: 1px; padding: 7px 0; text-decoration: none; color: inherit; min-height: 36px; }
.as-g li b { font-weight: 500; font-size: 14px; line-height: 1.35; }
.as-g li span { font-size: 12.5px; color: #59544B; line-height: 1.35; }
.as-g li a b::after { content: ' ›'; color: #8A6D3B; }
.as-more { font-size: 12.5px; color: #59544B; }
.as-act { align-self: flex-start; }
.as-act2 { font-size: 13px; color: #7A5B2B; text-decoration: none; letter-spacing: 0.04em; }
.as-how { font-size: 12px; color: #6B655A; line-height: 1.4; }
.as-brief .as-line { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 2px; background: none; border: 0; border-top: 1px solid rgba(28,27,24,0.08); font: inherit; font-size: 15px; text-align: left; color: inherit; cursor: pointer; }
.as-brief .as-line span { margin-left: auto; color: #8A6D3B; font-size: 18px; }
.as-how-chip { font-style: italic; }
.as-prep { gap: 14px !important; }
.as-prep-r { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid rgba(28,27,24,0.08); }
.as-prep-r:first-of-type { border-top: 0; padding-top: 0; }
.as-prep-l { margin: 0; padding-left: 18px; font-size: 13.5px; color: #4A463F; }
/* the one-minute lesson report */
.cd-wrap1 { gap: 14px !important; }
.cd-mbg { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.cd-mbg-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cd-mbg-l { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.cd-mbg-c { display: inline-flex; gap: 6px; }
.cd-mbg-c label { position: relative; }
.cd-mbg-c input { position: absolute; opacity: 0; pointer-events: none; }
.cd-mbg-c span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid rgba(28,27,24,0.18); border-radius: 999px; font-size: 13px; cursor: pointer; background: #FFFDF8; }
.cd-mbg-c input:checked + span { background: #1C1B18; color: #F4EEE2; border-color: #1C1B18; }
.cd-mbg-c input:focus-visible + span { outline: 2px solid #B8945B; outline-offset: 2px; }
.cd-mbg-last { font-size: 12.5px; color: #6B655A; }
.cd-mbg-in, .cd-next5-in { width: 100%; box-sizing: border-box; min-height: 44px; border: 0; border-bottom: 1px solid rgba(28,27,24,0.35); background: transparent; font: inherit; font-size: 15px; padding: 8px 2px; }
.cd-more1 > summary { cursor: pointer; font-size: 13px; color: #7A5B2B; min-height: 40px; display: flex; align-items: center; }
.cd-more1[open] { display: flex; flex-direction: column; gap: 10px; }
/* Daily review */
.dr-start { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 18px; border: 1px solid rgba(184,148,91,0.55); background: #FFFDF8; border-radius: 14px; text-decoration: none; color: inherit; min-height: 44px; }
.dr-start > span:nth-child(2) { grid-column: 1; font-size: 14.5px; color: #3A3934; }
.dr-start > span:last-child { grid-column: 2; grid-row: 1 / span 2; color: #8A6D3B; font-size: 22px; }
.dr-start.done { border-color: rgba(78,122,85,0.4); }
.dr-start.done .eyebrow { color: #4E7A55; }
.dr { display: flex; flex-direction: column; gap: 12px; }
.dr-part > summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; cursor: pointer; min-height: 48px; }
.dr-part > summary::-webkit-details-marker { display: none; }
.dr-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #1C1B18; color: #F4EEE2; font-size: 13px; }
.dr-part.dr-ok .dr-n { background: #4E7A55; }
.dr-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dr-l b { font-weight: 500; font-size: 16px; }
.dr-l small { font-size: 13px; color: #59544B; line-height: 1.4; }
.dr-m { font-size: 12px; color: #6B655A; white-space: nowrap; }
.dr-part[open] { gap: 12px; }
.dr-next { align-self: flex-start; margin-top: 6px; }
.dr-finish { align-self: flex-start; }
.dr-why { font-size: 12.5px; }
.as-page { gap: 8px; }
/* member home: My Legacy at a glance, right under the greeting */
.mv2 > .td3 { order: -7 !important; }
.td3-h { display: block; padding: 10px 0 4px; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; }
.td3-more { color: #7A5B2B !important; font-weight: 400 !important; white-space: nowrap; text-decoration: none; }
@media (max-width: 480px) { .td3-r { grid-template-columns: 96px 1fr !important; gap: 10px !important; padding: 9px 0 !important; } .td3-k { font-size: 9.5px; letter-spacing: 0.14em; line-height: 1.5; } .td3-v { font-size: 14.5px; line-height: 1.4; } }
/* Scorecard */
.sc-card { gap: 2px !important; }
.sc-r { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); align-items: start; }
.sc-r:first-of-type { border-top: 0; }
.sc-n, .sc-v { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-n b { font-weight: 500; font-size: 15px; } .sc-n small, .sc-v small { font-size: 12.5px; color: #59544B; line-height: 1.4; }
.sc-v { text-align: right; } .sc-v b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 21px; line-height: 1.2; }
@media (max-width: 520px) { .sc-r { grid-template-columns: 1fr; gap: 4px; } .sc-v { text-align: left; } }
.as-card a, .ak-log .as-card a { border: 0 !important; text-decoration: none !important; box-shadow: none !important; }
.as-g li > div { display: flex; flex-direction: column; gap: 1px; padding: 7px 0; }
.ak-log .as-card .as-act { padding: 12px 18px !important; min-height: 44px; font-size: 12px !important; }
.cd-well input { font-size: 15.5px; }
.cd-welcome { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: #F6F0E4; }
.cd-welcome textarea { width: 100%; box-sizing: border-box; border: 1px solid rgba(28,27,24,0.15); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14.5px; background: #FFFDF8; }
.fs-felt { border: 0; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fs-felt legend { font-size: 13px; color: #59544B; margin-bottom: 8px; padding: 0; }
.fs-felt label { position: relative; }
.fs-felt input { position: absolute; opacity: 0; pointer-events: none; }
.fs-felt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid rgba(28,27,24,0.18); border-radius: 999px; font-size: 14px; cursor: pointer; background: #FFFDF8; }
.fs-felt input:checked + span { background: #1C1B18; color: #F4EEE2; border-color: #1C1B18; }
.fs-felt input:focus-visible + span { outline: 2px solid #B8945B; outline-offset: 2px; }
/* after a lesson: the coach's note first, then how it felt */
.fs-note-c { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; margin: 4px 0 6px; border-radius: 14px; background: #F6F0E4; }
.fs-well-k { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #7A5B2B; }
.fs-well { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.25; }
.fs-coach, .fs-next { margin: 0; font-size: 14.5px; line-height: 1.5; color: #3A3934; }
.fs-next b { font-weight: 500; }
.fs-from { font-size: 12.5px; color: #6B655A; }
/* member Home in under a minute: at a glance, badges, your 3, next lesson; the rest in MORE */
.mv2.v-home > .fam-row { order: -12 !important; }
.mv2.v-home > .mt-hero { order: -11 !important; }
.mv2.v-home > .td3 { order: -10 !important; }
.mv2.v-home > .notice, .mv2.v-home > .tier-urgent, .mv2.v-home > .court-now, .mv2.v-home > .rf-now { order: -10 !important; }
.mv2.v-home > .ach-h { order: -9 !important; }
.mv2.v-home > .w3-home, .mv2.v-home > .wl-three { order: -8 !important; }
.mv2.v-home > .next { order: -7 !important; }
.mv2.v-home > .bday, .mv2.v-home > .anniv { order: -7 !important; }
.mv2.v-home > .mh-rest { order: 50 !important; }
.mh-rest { border-top: 1px solid rgba(28,27,24,0.1); }
.mh-rest > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 16px 30px 16px 2px; min-height: 48px; position: relative; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.mh-rest > summary small { letter-spacing: 0; text-transform: none; font-size: 13px; color: #59544B; }
.mh-rest > summary::-webkit-details-marker { display: none; }
.mh-rest > summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid #7A5B2B; border-bottom: 1.5px solid #7A5B2B; transform: translateY(-70%) rotate(45deg); }
.mh-rest[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.mh-rest-b { display: flex; flex-direction: column; gap: 16px; padding-bottom: 8px; }
/* the badge shelf */
.ach-shelf { gap: 10px !important; text-decoration: none; color: inherit; }
.ach-top { display: flex; justify-content: space-between; align-items: baseline; }
.ach-cnt { font-size: 13px; color: #7A5B2B; letter-spacing: 0.08em; }
.ach-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.ach-b { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.ach-b .ach-i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed rgba(28,27,24,0.22); color: rgba(28,27,24,0.28); background: transparent; }
.ach-b .ach-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ach-b.on .ach-i { border: 0; background: linear-gradient(145deg, #D9BC85, #A9844A); color: #1C1B18; box-shadow: 0 4px 12px rgba(169,132,74,0.35); }
.ach-b.new .ach-i { outline: 2px solid rgba(184,148,91,0.45); outline-offset: 3px; }
.ach-b small { font-size: 10.5px; line-height: 1.2; color: #59544B; }
.ach-b.on small { color: #1C1B18; }
.ach-latest { font-size: 14.5px; } .ach-latest b { font-weight: 500; }
.ach-hn { font-size: 13px; color: #59544B; }
.ach-new { text-align: center; }
.ach-new-i { display: grid; place-items: center; width: 84px; height: 84px; margin: 6px auto 8px; border-radius: 50%; background: linear-gradient(145deg, #D9BC85, #A9844A); box-shadow: 0 8px 26px rgba(169,132,74,0.4); }
.ach-new-i svg { width: 40px; height: 40px; fill: none; stroke: #1C1B18; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ach-shelf .ach-b, .ach-shelf .ach-b.on { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; min-height: 0 !important; color: inherit !important; border-radius: 0 !important; }
.ach-shelf .ach-b small { font-size: 10px !important; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; color: #59544B !important; }
.ach-shelf .ach-b.on small { color: #1C1B18 !important; font-weight: 500; }
@media (max-width: 380px) { .ach-shelf .ach-b .ach-i { width: 38px; height: 38px; } }
.cd-sheet { max-height: 92vh; overflow-y: auto; }
.cd-sheet .cd-wrap1 { border: 0 !important; box-shadow: none !important; padding: 0 !important; background: transparent !important; }
.cd-open { width: 100%; }
/* lesson reports, one line each */
.lr-card { gap: 2px !important; }
.lr-r { display: grid; grid-template-columns: 10px 1fr; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.08); text-decoration: none; color: inherit; min-height: 44px; }
.lr-r:first-of-type { border-top: 0; }
.lr-r i { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; background: #4E7A55; }
.lr-yellow i { background: #C9A03D; } .lr-red i { background: #A3402F; }
.lr-r b { display: block; font-weight: 500; font-size: 14.5px; } .lr-r small { display: block; font-size: 13px; color: #4A463F; line-height: 1.45; }
/* every panel is its own page: full screen, instant, only that information, BACK at the top (small confirmations stay small) */
html dialog.rg-sheet:not(.sf-sheet):not(.guard-dlg):not(.yay-dlg):not(.ct-sheet)[open] {
  position: fixed !important; inset: 0 !important; top: 0 !important; margin: 0 !important; width: 100% !important; max-width: none !important; height: 100% !important; max-height: none !important;
  border-radius: 0 !important; box-shadow: none !important; background: #FAF8F2 !important; overflow-y: auto !important; overscroll-behavior: contain;
  padding: calc(env(safe-area-inset-top, 0px) + 70px) max(20px, calc((100vw - 720px) / 2)) calc(env(safe-area-inset-bottom, 0px) + 32px) !important;
  animation: lg-page .14s ease-out !important; transform: none !important;
}
html dialog.rg-sheet:not(.sf-sheet):not(.guard-dlg):not(.yay-dlg):not(.ct-sheet)::backdrop { background: #FAF8F2 !important; animation: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html dialog.rg-sheet:not(.sf-sheet):not(.guard-dlg):not(.yay-dlg):not(.ct-sheet)::before { display: none !important; }
html dialog.rg-sheet:not(.sf-sheet):not(.guard-dlg):not(.yay-dlg):not(.ct-sheet)[open] > .x-close { display: none !important; }
@keyframes lg-page { from { opacity: 0; } to { opacity: 1; } }
.pg-back { position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 10px) max(16px, calc((100vw - 720px) / 2 - 4px)) 10px; background: rgba(250,248,242,0.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(28,27,24,0.08); }
.pg-back button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 8px; border: 1px solid rgba(184,148,91,0.55); border-radius: 999px; background: #FFFDF8; color: #7A5B2B; font: inherit; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.pg-back button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-back span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #59544B; }

/* member Home: only what matters */
.mv2.v-home > .mh-off { display: none !important; }
.td-need { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid var(--gold, #b8935a); border-radius: 16px; background: rgba(184, 147, 90, .07); color: inherit; text-decoration: none; }
.td-need-k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d, #8a6a36); white-space: nowrap; }
.td-need-v { flex: 1; font-size: 16px; }
.td-need-go { font-size: 22px; color: var(--gold-d, #8a6a36); }
.mv2.v-home > .td-need { order: -10 !important; }
.mv2.v-home > .next { order: -9 !important; }
.mv2.v-home > .w3-home, .mv2.v-home > .wl-three { order: -8 !important; }
.mv2.v-home > .ach-h { order: -7 !important; }
.dr-ok summary { list-style: none; cursor: pointer; padding: 4px 0; } .dr-ok summary::-webkit-details-marker { display: none; }
.dr-okt { color: #2F5D3A; font-size: 15px; } .dr-okr { padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.06); display: grid; gap: 2px; } .dr-okr small { color: #6b665c; }
.pp-moved { padding: 12px 0 0; border-top: 1px solid rgba(28,27,24,0.06); margin-top: 6px; } .pp-tags .cn-tags { margin-top: 8px; }
.am-fold-h { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: #7A5B2B; cursor: pointer; text-align: left; }
.am-fold-h span:first-child { flex: 1; } .am-fold-h small { letter-spacing: 0; font-size: 13px; color: #6b665c; }
.am-fold:not(.am-open) > .pg-rows, .am-fold:not(.am-open) > .pp-moved { display: none; } .am-fold.am-open .td-chev { transform: rotate(180deg); }
/* laptop MORE with "Everything else" open: taller than the screen, so the black box ends at the bottom of the screen and scrolls inside */
@media (min-width: 761px) {
  html.lg-toptabs .m-nav > .tabbar.admin > details > div.mo-all, html.lg-toptabs .m-nav > .tabbar > details > div.mo-all { max-height: calc(100vh - var(--mo-top, 84px) - 24px) !important; overflow-y: auto !important; overscroll-behavior: contain; padding-bottom: 28px !important; }
  html.lg-toptabs .m-nav > .tabbar > details > div.mo-all::after { display: none; }
}

/* lessons by colour: scheduled red, done (not paid yet) yellow, done and paid green */
.lc { display: inline-block; font-size: 12px; letter-spacing: .02em; padding: 2px 8px; border-radius: 10px; border: 1px solid; white-space: nowrap; }
.lc-sched { background: #F8E4E0; border-color: #B5483A; color: #7A2E24; }
.lc-done { background: #FBF1CF; border-color: #C9A227; color: #6B5410; }
.lc-paid { background: #E3F0E1; border-color: #4F8A4A; color: #2F5A2C; }
.lc-off { background: #F4F1EC; border-color: #C9C2B6; color: #8A8478; }
.cal-ev.lc-sched { background: #F8E4E0; border-left-color: #B5483A; color: #7A2E24; }
.cal-ev.lc-done { background: #FBF1CF; border-left-color: #C9A227; color: #6B5410; }
.cal-ev.lc-paid { background: #E3F0E1; border-left-color: #4F8A4A; color: #2F5A2C; }
.lc-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 4px; font-size: 13px; color: #59544B; }
.lc-key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; border: 1px solid; }
.lc-key i.lc-sched { background: #B5483A; border-color: #B5483A; } .lc-key i.lc-done { background: #C9A227; border-color: #C9A227; } .lc-key i.lc-paid { background: #4F8A4A; border-color: #4F8A4A; }
.lc-pay { display: inline-flex; gap: 6px; align-items: center; } .lc-pay select, .lc-pay input { padding: 4px 6px; font-size: 13px; }
@media (max-width: 700px) {
  /* on the phone the day squares show one coloured dot per lesson */
  .cal-ev.lc-sched, .cal-ev.lc-done, .cal-ev.lc-paid { display: inline-block; width: 9px; height: 9px; padding: 0; margin: 1px; border: 0; border-radius: 50%; font-size: 0; }
  .cal-ev.lc-sched { background: #B5483A; } .cal-ev.lc-done { background: #C9A227; } .cal-ev.lc-paid { background: #4F8A4A; }
  .cal-d .cal-dot { display: none; }
}
/* testers */
.tester-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; font-size: 10px; letter-spacing: .12em; font-weight: 500; color: #5B4A8A; background: #EEEAF7; border: 1px solid #B9AEDB; border-radius: 9px; vertical-align: 2px; }
.tester-tag.sm { font-size: 9px; padding: 0 5px; margin-left: 6px; }
.tester-box { display: grid; gap: 8px; padding: 12px 14px; border: 1px dashed #B9AEDB; border-radius: 10px; background: #FAF9FD; }
.pl-show { display: inline-flex; align-items: center; gap: 8px; } .pl-show-k { font-size: 11px; letter-spacing: .14em; color: #59544B; }
.dup-note { border-left: 3px solid #B5483A; display: grid; gap: 10px; }
/* the fields you must fill: a very light outline */
form.mf-req input[required]:not([type=checkbox]):not([type=radio]), form.mf-req select[required], form.mf-req textarea[required], form.mf-req .mf-need { outline: 1px solid rgba(184,148,91,0.45); outline-offset: 2px; border-radius: 2px; }
form.mf-req input[required]:valid:not(:placeholder-shown), form.mf-req select[required]:valid, form.mf-req textarea[required]:valid:not(:placeholder-shown) { outline-color: rgba(122,154,106,0.25); }
.lc-me { display: inline-block; margin-left: 6px; font-size: 11px; letter-spacing: .04em; color: #7A5B2B; }

/* "Things that need you" and the other quick lists: soft cards, the colour says how urgent, one gold DO IT */
.b5-sheet .b5-key { gap: 8px; margin: 2px 0 10px; }
.b5-sheet .b5-k { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: #F6F2EA; font-size: 11.5px; letter-spacing: .04em; color: #4A463F; }
.b5-sheet .b5-l { display: grid; gap: 10px; margin-top: 6px; }
.b5-sheet .b5-r { border: 1px solid rgba(28,27,24,0.08); border-radius: 14px; padding: 16px 18px 14px 22px; background: #FFFDF9; box-shadow: 0 1px 2px rgba(28,27,24,0.04); overflow: hidden; }
.b5-sheet .b5-r::before { top: 0; bottom: 0; left: 0; width: 5px; border-radius: 0; }
.b5-sheet .b5-red { background: linear-gradient(90deg, #FBF0EE 0, #FFFDF9 55%); }
.b5-sheet .b5-yellow { background: linear-gradient(90deg, #FBF5E6 0, #FFFDF9 55%); }
.b5-sheet .b5-green { background: linear-gradient(90deg, #EFF6F0 0, #FFFDF9 55%); }
.b5-sheet .b5-t { gap: 6px; }
.b5-sheet .b5-t b { font-size: 16px; line-height: 1.4; color: #1C1B18; }
.b5-sheet .b5-t > span { display: inline-flex; align-self: flex-start; width: fit-content; padding: 3px 10px; border-radius: 999px; font-size: 12px; background: #F1EBE1; color: #59544B; }
.b5-sheet .b5-red .b5-t > span { background: #F6DEDA; color: #8E2A20; }
.b5-sheet .b5-yellow .b5-t > span { background: #F5E8C8; color: #6B5410; }
.b5-sheet .b5-green .b5-t > span { background: #DCEEDF; color: #2F5A2C; }
.b5-sheet .b5-a { gap: 8px 10px; margin-top: 8px; }
.b5-sheet .b5-a a, .b5-sheet .b5-a button { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.25); color: #1C1B18; letter-spacing: .14em; }
.b5-sheet .b5-a a:hover, .b5-sheet .b5-a button:hover { border-color: #1C1B18; }
.b5-sheet .b5-a a.b5-do { background: #B8945B; border-color: #B8945B; color: #0E0E0E; padding: 0 20px; }
.b5-sheet .b5-a a.b5-do:hover { background: #A9864F; }
.b5-sheet .b5-later select { min-height: 36px; padding: 0 30px 0 14px; border-radius: 999px; border: 1px dashed rgba(28,27,24,0.25); color: #59544B; -webkit-appearance: none; appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%237A5B2B' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; }
.b5-sheet .b5-all { margin-top: 18px; }
@media (max-width: 560px) { .b5-sheet .b5-r { padding: 14px 12px 12px 18px; } .b5-sheet .b5-a { gap: 6px; flex-wrap: nowrap; } .b5-sheet .b5-a a, .b5-sheet .b5-a button { min-height: 40px; padding: 0 12px; letter-spacing: .08em; font-size: 11px; white-space: nowrap; } .b5-sheet .b5-a a.b5-do { padding: 0 14px; } .b5-sheet .b5-later select { min-height: 40px; padding: 0 24px 0 10px; letter-spacing: .04em; font-size: 11px; background-position: right 9px center; max-width: 140px; } }
.lk-trash { margin-top: 18px; padding-top: 14px; border-top: 1px dashed rgba(28,27,24,0.18); }
.lk-trash > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.lk-trash > summary::-webkit-details-marker { display: none; }
.lk-trash > summary .eyebrow::before { content: "🗑 "; }
.lk-gone .lk-l { color: #8A8478; text-decoration: line-through; text-decoration-color: rgba(138,132,120,0.5); }
.pf-bar .pf-qw { flex: 1 1 260px; display: flex; gap: 8px; align-items: center; min-width: 0; }
.pf-bar .pf-qw .pf-q { flex: 1 1 auto; min-width: 0; }
.pf-bar .pf-go { min-height: 44px; padding: 0 18px; border-radius: 12px; white-space: nowrap; }
.pf-none { margin: 4px 0 12px; }
.dlg-ask { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -4px 0 14px; padding: 12px 14px; background: #FBF1CF; border: 1px solid #C9A227; border-radius: 12px; color: #4A3A0C; font-size: 14px; }
.dlg-ask span { flex: 1 1 100%; }
/* the two answers sit together, side by side, a little smaller */
.dlg-ask .btn, .dlg-ask .btn.small, .dlg-ask .btn.line { flex: 0 0 auto; width: auto !important; min-width: 0; margin: 0 !important; padding: 9px 16px !important; font-size: 11px !important; letter-spacing: 0.16em; line-height: 1.2; min-height: 0; }
.dlg-ask .btn + .btn { margin-left: 2px !important; }

/* PHONE and EMAIL open the same small window as DIRECTIONS: the title, the number or address, one row per choice, Cancel */
dialog.ct-sheet[open] { position: fixed; inset: auto 0 max(calc(env(safe-area-inset-bottom) + 12px), 16px) 0; margin: 0 auto; width: min(420px, calc(100vw - 24px)); max-height: calc(100vh - 40px); border: 0; border-radius: 22px; padding: 18px 16px 10px; background: #FFFDF8; box-shadow: 0 20px 50px rgba(14,14,14,0.22); gap: 8px; overflow: auto; }
dialog.ct-sheet::backdrop { background: rgba(14,14,14,0.32); }
@media (min-width: 761px) { dialog.ct-sheet[open] { inset: 0; margin: auto; height: fit-content; } }
dialog.ct-sheet > form:first-child { display: none; }
dialog.ct-sheet > .eyebrow { display: block; text-align: center; font-size: 11px; letter-spacing: .24em; color: #7A5B2B; margin: 0; }
dialog.ct-sheet .ct-val { justify-content: center; background: none; padding: 2px 0 8px; gap: 10px; }
dialog.ct-sheet .ct-v { font-size: 15px; color: #4A463F; text-align: center; }
dialog.ct-sheet .ct-acts { gap: 8px; }
dialog.ct-sheet .ct-acts .btn, dialog.ct-sheet .ct-acts .btn:first-child { min-height: 52px; border-radius: 14px; background: #F1EBE1; border: 0; color: #1C1B18; font: 400 16px 'Jost', sans-serif; letter-spacing: .02em; text-transform: none; }
dialog.ct-sheet .ct-acts .btn:first-child { box-shadow: inset 0 0 0 1.5px #59544B; }
dialog.ct-sheet .ct-acts .btn:hover { background: #E8DFD0; }
dialog.ct-sheet .ct-cancel { min-height: 48px; width: 100%; border: 0; background: none; color: #59544B; font: 400 15px 'Jost', sans-serif; cursor: pointer; }
dialog.ct-sheet .ct-copy { text-decoration: none; padding: 6px 12px; border-radius: 999px; background: #F1EBE1; letter-spacing: .12em; font-size: 11px; }
.par-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 4px 0 10px; font-size: 14px; color: #4A463F; } .par-line b { font-weight: 500; color: #1C1B18; }
html body dialog.rg-sheet.ct-sheet[open] { background: #FFFDF8 !important; box-shadow: 0 20px 50px rgba(14,14,14,0.22) !important; overflow-y: auto !important; position: fixed !important; inset: auto 0 max(calc(env(safe-area-inset-bottom) + 12px), 16px) 0 !important; top: auto !important; margin: 0 auto !important; width: min(420px, calc(100vw - 24px)) !important; max-width: 420px !important; height: fit-content !important; min-height: 0 !important; max-height: calc(100vh - 40px) !important; border-radius: 22px !important; padding: 18px 16px 10px !important; transform: none !important; }
@media (min-width: 761px) { html body dialog.rg-sheet.ct-sheet[open] { inset: 0 !important; margin: auto !important; } }
html body dialog.ct-sheet::before { display: none !important; }
.mf-pay legend { font-size: 11px; letter-spacing: .2em; }
.mf-payf { margin-top: 14px; padding-top: 12px; border-top: 1px dashed rgba(28,27,24,0.15); }
.mf-more { border-top: 1px solid rgba(28,27,24,0.1); padding-top: 12px; }
.mf-more > summary { cursor: pointer; list-style: none; padding: 8px 0; font-size: 15px; }
.mf-more > summary::-webkit-details-marker { display: none; }
.mf-more > summary::before { content: "+"; display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; margin-right: 10px; border: 1px solid #B8945B; color: #7A5B2B; border-radius: 50%; font-size: 14px; }
.mf-more[open] > summary::before { content: "−"; }
.mf-more > summary b { font-weight: 500; }
.mf-moreb { padding-top: 12px; }
.mf-off { display: none !important; }
/* juniors stand out in the players list: a soft blue card and a blue JUNIOR tag */
.pl-list .pl-card.pl-kid { background: linear-gradient(90deg, #E6F0FA 0, #F3F8FD 60%, #FBFDFF 100%) !important; border-color: #C9DDF0 !important; box-shadow: inset 4px 0 0 #8FB8DE; }
.pl-list .pl-card.pl-kid .pl-age { background: #D7E7F7 !important; color: #2E5A85 !important; border-color: #B5D0EA !important; }
.pl-list .pl-card.pl-kid:hover { border-color: #8FB8DE !important; }
.mf-fam select { max-width: 100%; }
/* member panels open between the top bar and the bottom tabs */
html[data-app="member"] body dialog.rg-sheet.pg-inline.pg-inline.pg-inline.pg-inline[open] { position: fixed !important; inset: var(--lg-top, 0px) 0 var(--lg-bot, 0px) 0 !important; top: var(--lg-top, 0px) !important; bottom: var(--lg-bot, 0px) !important; height: auto !important; max-height: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; z-index: 45 !important; padding-top: 0 !important; border: 0 !important; box-shadow: none !important; }
html[data-app="member"] dialog.pg-inline.pg-inline.pg-inline > .pg-back.pg-back { position: sticky !important; top: 0; margin: 0 calc(-1 * max(20px, calc((100vw - 720px) / 2))) 14px; padding-top: 10px !important; }
html.lg-inline-open, html.lg-inline-open body { overflow: hidden; }
.cd-pat { display: grid; gap: 4px; } .cd-pat b { font-weight: 500; }
.cd-pat-box { margin: 8px 0 14px; padding: 12px 14px; border-radius: 12px; background: #F6F2EA; border-left: 3px solid #B8945B; display: grid; gap: 6px; font-size: 14px; }
.b5-why { display: block; margin-top: 4px; font-size: 12.5px; font-weight: 400; color: #6B655A; line-height: 1.45; }

/* ---------- Step 28: the journey between buyer, member, coach and Legacy ---------- */
.jy-s-to_book, .jy-s-matching { color: #7A5B2B; } .jy-s-low { color: #7A5B2B; } .jy-s-stopped { color: #8A3B2B; } .jy-s-first_booked, .jy-s-first_done { color: #1F4D2C; }
.jm-card .jm-l { margin: 6px 0 0; font-size: 15px; line-height: 1.5; } .jm-card .jm-need { color: #8A3B2B; }
.jm-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.jy-strip { list-style: none; margin: 0 0 14px; padding: 12px 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.1); border-radius: 16px; }
.jy-strip li { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.3; color: #6B655A; }
.jy-strip i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid rgba(28,27,24,0.2); color: #6B655A; background: #fff; }
.jy-strip li.done i { background: #EAF1E6; border-color: #9DB894; color: #1F4D2C; } .jy-strip li.now { color: #1C1B18; font-weight: 500; }
.jy-strip li.now i { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.rn-why { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #3A3934; width: 100%; } .rn-why b { font-weight: 500; color: #7A5B2B; }
.rn-more { width: 100%; } .rn-more > summary { cursor: pointer; font-size: 13px; color: #59544B; padding: 8px 0; min-height: 40px; display: flex; align-items: center; }
.hold-r { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.1); } .hold-r .b5-why { flex: 1 1 100%; margin: 0; }
.fam-now { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: #3A3934; background: #F6F1E7; border-radius: 12px; padding: 10px 14px; }
.fam-new { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; padding: 14px; border: 1px solid rgba(184,148,91,0.45); border-radius: 14px; background: #FFFDF8; }
.fam-new[hidden] { display: none !important; }
.fam-ask { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #FBF3E6; border: 1px solid #B8945B; }
/* a panel with little in it: a pop-up in the middle, not a whole page (long panels still fill the page) */
html dialog.rg-sheet.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop[open] {
  inset: 0 !important; margin: auto !important; width: calc(100vw - 32px) !important; max-width: 560px !important; height: fit-content !important; max-height: 86vh !important;
  border-radius: 22px !important; box-shadow: 0 24px 70px rgba(28,27,24,0.28) !important; background: #FFFDF8 !important;
  padding: 18px 22px 24px !important; overflow-y: auto !important; animation: lg-pop .22s cubic-bezier(.2,.9,.25,1) !important;
}
html dialog.rg-sheet.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop::backdrop { background: rgba(28,27,24,0.42) !important; -webkit-backdrop-filter: blur(3px) !important; backdrop-filter: blur(3px) !important; }
html dialog.rg-sheet.rg-pop > .pg-back { position: static !important; padding: 0 0 10px !important; margin: 0 0 6px !important; background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border-bottom: 1px solid rgba(28,27,24,0.08) !important; flex-direction: row-reverse; justify-content: space-between; }
html dialog.rg-sheet.rg-pop > .pg-back button { width: 44px; height: 44px; padding: 0 !important; justify-content: center; font-size: 16px; letter-spacing: 0; border-radius: 50%; }
html dialog.rg-sheet.rg-pop > .pg-back span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; }
.lg-hit { outline: 2px solid #B8945B; outline-offset: 6px; border-radius: 10px; transition: outline-color .6s; background: rgba(184,148,91,0.08); }
form .f[id] { scroll-margin-top: 120px; }
.xp-box { display: flex; flex-direction: column; gap: 12px; }
.xp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 12px 20px; padding: 14px; border: 1px solid rgba(28,27,24,0.1); border-radius: 14px; background: #FFFDF8; align-items: end; }
.xp-row .xp-same, .xp-row .xp-prog { grid-column: 1 / -1; } .xp-row .xp-prog[hidden] { display: none !important; }
.xp-row .xp-del { grid-column: 1 / -1; justify-self: end; }
.xp-add { align-self: flex-start; }
@media (max-width: 560px) { .xp-row { grid-template-columns: 1fr; } }
.cal-testers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 4px; font-size: 13px; }
/* whole words, never cut: the date (month, day, year) and the player's name keep their full width */
html label.f:has(> .bd-pick) { min-width: min(100%, 21em); flex: 1 1 auto; }   /* auto, not 21em: in a column form a 21em basis became a tall empty gap under the date */
html .bd-pick { grid-template-columns: minmax(8.6em, 1.6fr) minmax(4.4em, 0.8fr) minmax(5.6em, 1fr); }
html .bd-pick select { min-width: 0; text-overflow: clip; padding-right: 22px; }
html .cal-add form > .row > label.f:first-of-type { flex: 1 1 100%; }
html .cal-add form > .row > label.f select, html .cal-add form > .row > label.f input { text-overflow: clip; }
html .cal-add form > .row > label.f:has([name=time]) { flex: 1 1 9em; min-width: 9em; }
.bd-wd { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: #7A5B2B; text-transform: capitalize; }
.lu-note { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #F6F1E7; font-size: 14px; line-height: 1.5; color: #3A3934; } .lu-note b { font-weight: 500; color: #7A5B2B; }
.cal-cx > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; cursor: pointer; min-height: 44px; list-style: none; } .cal-cx > summary::-webkit-details-marker { display: none; }
.cal-cx > summary::after { content: '⌄'; margin-left: auto; color: #7A5B2B; } .cal-cx[open] > summary::after { transform: rotate(180deg); }
.cal-cx td { opacity: .85; }
.lu-where { display: flex; flex-wrap: wrap; gap: 8px 20px; flex: 1 1 100%; align-items: flex-end; } .lu-where[hidden] { display: none !important; }
.lu-where > label.f { flex: 1 1 260px; } .lu-where .lu-oth[hidden] { display: none !important; }
.lu-why { flex: 1 1 100%; font-size: 13px; color: #6B655A; }
.lp-open { margin-left: 6px; font-size: 11px; } .lp-f { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; } .lp-f .lu-oth[hidden] { display: none !important; }

/* ---------- pop-ups in proportion: one rhythm for every small panel (spacing, type sizes, buttons) ---------- */
html dialog.rg-sheet.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop[open] { padding: 20px 28px 28px !important; }
@media (max-width: 560px) { html dialog.rg-sheet.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop[open] { padding: 16px 20px 22px !important; } }
dialog.rg-pop > .pg-back { margin-bottom: 14px !important; padding-bottom: 12px !important; align-items: center; }
dialog.rg-pop .pop-dup { display: none !important; }
dialog.rg-pop > .x-close { display: none !important; }
dialog.rg-pop > :not(.pg-back):not(script) + :not(script) { margin-top: 12px; }
dialog.rg-pop > p, dialog.rg-pop > h2, dialog.rg-pop > h3 { margin-bottom: 0 !important; }
dialog.rg-pop h2, dialog.rg-pop .rgx-h { font-size: clamp(26px, 4vw, 32px) !important; line-height: 1.12 !important; margin: 0 !important; }
dialog.rg-pop > .eyebrow + h2, dialog.rg-pop > .eyebrow + .rgx-h { margin-top: 6px !important; }
dialog.rg-pop .body { font-size: 16px; line-height: 1.55; }
dialog.rg-pop .muted { font-size: 13px !important; line-height: 1.55 !important; color: #6B655A; }
dialog.rg-pop .btn { min-height: 48px; }
dialog.rg-pop .btn:focus:not(:focus-visible), dialog.rg-pop a:focus:not(:focus-visible), dialog.rg-pop button:focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
dialog.rg-pop form { margin: 0; }
/* the "confirmed" pop-up: icon and name side by side, chips spaced, the notes quiet, the buttons with room */
html dialog.cf-sheet.rg-sheet.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop[open] { display: grid !important; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; }
.cf-sheet.rg-pop > * { grid-column: 1 / -1; }
.cf-sheet.rg-pop > .cf-ic { grid-column: 1; width: 44px; height: 44px; font-size: 20px; margin: 0 !important; }
.cf-sheet.rg-pop > .cf-ic ~ h2 { grid-column: 2; grid-row: auto; margin: 0 !important; align-self: center; }
.cf-sheet.rg-pop > .cf-ic + .eyebrow.pop-dup + h2 { grid-row: 2; }
.cf-sheet.rg-pop > .cf-ic { grid-row: 2; }
.cf-sheet.rg-pop > p.body { padding-top: 2px; color: #3A3934; }
.cf-sheet.rg-pop .cf-told { gap: 8px; margin-top: 18px !important; }
.cf-sheet.rg-pop .cf-told .chp-ct { padding: 0 0 2px; }
.cf-sheet.rg-pop .cf-t { font-size: 13px; padding: 6px 12px; line-height: 1.3; }
.cf-sheet.rg-pop .cf-acts { margin-top: 20px !important; gap: 12px 22px; }
.cf-sheet.rg-pop .cf-acts + .muted { margin-top: 10px !important; display: block; }
.xp-aoth { margin-top: 10px; } .xp-aoth[hidden] { display: none !important; }

/* ---------- a player's lessons: one calm card per lesson (date tile · time · type and court · status · actions) ---------- */
table.ls-cards, table.ls-cards tbody { display: block !important; width: 100% !important; border: 0 !important; }
table.ls-cards tr.ls-h { display: none !important; }
table.ls-cards tr:not(.ls-h) { display: grid !important; grid-template-columns: 66px minmax(0, 1fr) auto; grid-template-areas: "d t a" "d k a" "d s a"; gap: 3px 18px; align-items: center;
  padding: 14px 16px 14px 14px !important; margin: 0 0 10px !important; border: 1px solid rgba(28,27,24,0.08) !important; border-radius: 18px; background: #FFFDF8; box-shadow: 0 1px 2px rgba(28,27,24,0.04); }
table.ls-cards tr:not(.ls-h) > td { display: block !important; width: auto !important; padding: 0 !important; border: 0 !important; text-align: left !important; font-size: 14px; line-height: 1.45; }
table.ls-cards td[data-l]::before { display: none !important; content: none !important; }
table.ls-cards tr:not(.ls-h) > td.ld { grid-area: d; align-self: stretch; display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border-radius: 14px !important; background: var(--t-sand, #F3E8D2); color: #6B5126; padding: 8px 0 !important; min-height: 74px; }
table.ls-cards td.ld .fresh-tag { font-size: 8.5px; letter-spacing: .12em; margin-bottom: 2px; }
table.ls-cards .ld-m { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }
table.ls-cards .ld-d { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: 1; color: #1C1B18; }
table.ls-cards .ld-w { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; }
table.ls-cards td.lt { grid-area: t; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 23px !important; line-height: 1.1 !important; color: #1C1B18; }
table.ls-cards td.lsrc { grid-area: t; justify-self: end; font-size: 11.5px !important; letter-spacing: 0.06em; color: #5E584D; background: #F2EDE3; border-radius: 999px; padding: 4px 10px !important; white-space: nowrap; }
table.ls-cards td.lk { grid-area: k; color: #3A3934; } table.ls-cards td.lk br { display: none; } table.ls-cards td.lk .muted::before { content: ' · '; }
table.ls-cards td.lst { grid-area: s; font-size: 13px !important; color: #5E584D; }
table.ls-cards td.lst .lc { margin-right: 6px; }
table.ls-cards tr:not(.ls-h) > td.lact { grid-area: a; display: flex !important; flex-direction: column; align-items: stretch; gap: 8px; white-space: nowrap; }
table.ls-cards td.lact form.inline, table.ls-cards td.lact details { margin: 0 !important; display: block; }
table.ls-cards td.lact .sa-b, table.ls-cards td.lact summary.sa-b { width: 100% !important; justify-content: center; }
table.ls-cards td.lact .sa-cancel, table.ls-cards td.lact .sa-cancel:hover { background: transparent !important; color: #9A4A2A !important; border-color: #E7C9C0 !important; }
table.ls-cards tr.fresh-row { border-color: rgba(184,148,91,0.6) !important; box-shadow: 0 0 0 3px rgba(184,148,91,0.12); }
table.ls-cards details.mv-l[open] { grid-column: 1 / -1; }
@media (max-width: 640px) {
  table.ls-cards tr:not(.ls-h) { grid-template-columns: 58px minmax(0, 1fr); grid-template-areas: "d t" "d k" "d s" "a a"; }
  table.ls-cards td.lact { flex-direction: row; flex-wrap: wrap; margin-top: 8px; } table.ls-cards td.lact > * { flex: 1 1 auto; }
}

/* small quiet lesson buttons stay quiet inside sheets too (the sheets' own gold submit rule is very strong, so these are stronger) */
dialog.rg-sheet form button.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b.sa-b:not(.armed) { background: transparent !important; color: #3A3934 !important; box-shadow: none !important; }
dialog.rg-sheet form button.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel:not(.armed) { color: #9A4A2A !important; border-color: #E7C9C0 !important; }
form[data-twotap].armed button.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel, dialog.rg-sheet form[data-twotap].armed button.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel.sa-cancel { background: #B3261E !important; color: #FAF8F2 !important; border-color: #B3261E !important; }
.mf-where { display: flex; flex-direction: column; gap: 14px; }
.mf-xp > summary { cursor: pointer; list-style: none; font-size: 14px; color: #7A5B2B; padding: 8px 0; min-height: 40px; display: flex; align-items: center; gap: 8px; }
.mf-xp > summary::-webkit-details-marker { display: none; }
.mf-xp > summary .muted { color: #6B655A; font-size: 13px; }
.mf-xp[open] > summary { margin-bottom: 8px; }
.mf-xp .xp-box { border: 0; padding: 0; margin: 0; } .mf-xp .xp-box > legend { display: none; }

/* ---------- Step 30 ---------- */
/* undo: a small bar at the bottom for a few seconds */
.undo-bar { position: fixed; left: 50%; bottom: calc(96px + var(--lg-lift, 0px)); transform: translateX(-50%); z-index: 90; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; max-width: calc(100vw - 32px); box-sizing: border-box;
  padding: 12px 14px 12px 20px; border-radius: 18px; background: #1C1B18; color: #FAF8F2; box-shadow: 0 14px 40px rgba(28,27,24,0.3); font-size: 14px; animation: lg-pop .22s ease; transition: opacity .35s, transform .35s; }
@media (max-width: 760px) { body:has(.tabbar) .undo-bar { bottom: calc(160px + var(--lg-lift, 0px)); } }
.undo-bar form { margin: 0; } .undo-bar button { background: none; border: 0; color: #E3C893; font: inherit; font-size: 12px; letter-spacing: .2em; padding: 8px 6px; min-height: 40px; cursor: pointer; }
.undo-bar small { flex: 1 1 100%; font-size: 11px; color: rgba(250,248,242,0.6); margin-top: -4px; }
.undo-bar.undo-out { opacity: 0; transform: translate(-50%, 16px); }
/* a whole series */
.sr-all { margin: 6px 0 2px; font-size: 14px; }
/* to collect */
.cl-fam { display: flex; flex-direction: column; gap: 10px; } .cl-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.cl-top a { color: inherit; text-decoration: none; } .cl-sum { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; }
.cl-rows { display: flex; flex-direction: column; } .cl-r { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(28,27,24,0.08); font-size: 14px; } .cl-r:first-child { border-top: 0; }
.cl-tot { font-weight: 500; border-top: 1px solid rgba(28,27,24,0.3) !important; }
.cl-acts { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; } .cl-paid { display: inline-flex; gap: 8px; align-items: center; } .cl-paid select { min-height: 40px; }
.cl-stmt { display: flex; flex-direction: column; gap: 10px; background: var(--t-mind, #E2E9F1) !important; border: 0 !important; }
/* clean-up */
.cu-sec { display: flex; flex-direction: column; gap: 8px; } .cu-r { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.cu-r a:first-child { color: inherit; text-decoration: none; } .cu-r .muted { font-size: 13px; flex: 1 1 auto; } .cu-r form { margin: 0; }
/* program photos */
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pp-card { display: flex; flex-direction: column; gap: 10px; } .pp-prev { display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #EFE9DE; }
.pp-prev img { width: 100%; height: 100%; object-fit: cover; display: block; } .pp-prev.cut { background: var(--t-body, #E1E8D8); } .pp-prev.cut img { object-fit: contain; object-position: bottom; }
/* same person? */
.dup-ask { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; } .dup-ask a { color: #7A5B2B; }
/* select several players */
.pl-selbtn { cursor: pointer; } .pl-bulk { position: sticky; bottom: calc(12px + var(--lg-lift, 0px)); z-index: 40; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border-radius: 18px; background: #FFFDF8; box-shadow: 0 10px 30px rgba(28,27,24,0.18); flex: 1 1 100%; }
.pl-bulk[hidden] { display: none !important; } .pl-bulk-n { font-weight: 500; margin-right: 6px; } .pl-bulk-f { display: inline-flex; gap: 6px; align-items: center; margin: 0; } .pl-bulk select { min-height: 40px; }
.pl-off { opacity: 0.45; pointer-events: none; }
body.pl-selecting a.pl-card { position: relative; outline: 1.5px dashed rgba(184,148,91,0.5); outline-offset: 2px; }
body.pl-selecting a.pl-card::after { content: ''; position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid #B8945B; background: #FFFDF8; }
body.pl-selecting a.pl-card.pl-sel { outline: 2px solid #B8945B; background: #FBF3E6 !important; }
body.pl-selecting a.pl-card.pl-sel::after { background: #B8945B; box-shadow: inset 0 0 0 4px #FFFDF8; }
@media (max-width: 760px) { body:has(.tabbar) .pl-bulk { bottom: calc(96px + var(--lg-lift, 0px)); } }
/* member app: Lessons and Progress in color too */
.sp-times .sp-t:nth-child(5n+1) { --st: var(--t-mind); --sti: var(--t-mind-i); } .sp-times .sp-t:nth-child(5n+2) { --st: var(--t-sand); --sti: var(--t-sand-i); }
.sp-times .sp-t:nth-child(5n+3) { --st: var(--t-game); --sti: var(--t-game-i); } .sp-times .sp-t:nth-child(5n+4) { --st: var(--t-body); --sti: var(--t-body-i); } .sp-times .sp-t:nth-child(5n+5) { --st: var(--t-mind); --sti: var(--t-mind-i); }
.sp-times .sp-t:not(.soon):not([disabled]) { box-shadow: inset 4px 0 0 var(--sti, #B8945B); background: color-mix(in srgb, var(--st, #F3E8D2) 55%, #FFFDF8) !important; }
.sp-times .sp-t:not(.soon):not([disabled]) b { color: var(--sti, #1C1B18); }
.wk-strip .wk-day:not([aria-pressed="true"]):not(.on) { background: color-mix(in srgb, var(--t-sand, #F3E8D2) 45%, #FFFDF8); }
.v-sessions .list-row .ok, .v-sessions .list-row svg { color: var(--t-body-i, #44593A); }
.v-progress .mt-hero, .v-progress .next { border-radius: 22px; }
.v-progress .next { background: linear-gradient(135deg, var(--t-mind, #E2E9F1), #FFFDF8 70%) !important; }

/* ---------- Step 31: best free times, the month's money, pairs, letters ---------- */
.lu-best { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 2px; }
.lu-best[hidden] { display: none; }
.lu-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lu-chip { appearance: none; border: 1px solid rgba(184, 148, 91, .55); background: rgba(184, 148, 91, .08); color: #4A3A1E; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13px; cursor: pointer; min-height: 38px; }
.lu-chip:hover { background: rgba(184, 148, 91, .16); }
.lu-chip.on { background: #1C1B18; color: #FAF8F2; border-color: #1C1B18; }
.mg-card { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, #1C1B18 0%, #2B2721 100%); color: #FAF8F2; text-decoration: none; box-shadow: 0 10px 28px rgba(28, 27, 24, .14); }
.mg-card .eyebrow { color: #D8BC8A; }
.mg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mg-i { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mg-i b { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-size: clamp(22px, 5.4vw, 30px); font-weight: 500; line-height: 1.1; color: #FAF8F2; }
.mg-i small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 248, 242, .66); }
.mg-i.mg-due b { color: #E9C98F; }
.mg-cmp { font-size: 13px; color: rgba(250, 248, 242, .78); }
.pr-card { display: flex; flex-direction: column; gap: 12px; }
.pr-who { display: flex; flex-direction: column; gap: 8px; }
.pr-who a { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 12px; background: rgba(28, 27, 24, .04); color: inherit; text-decoration: none; font-weight: 500; }
.pr-who a .muted { font-weight: 400; font-size: 13px; }
.pr-card .btn { align-self: flex-start; }
.lt-card { display: flex; flex-direction: column; gap: 12px; }
.lt-card textarea { width: 100%; box-sizing: border-box; min-height: 180px; font: inherit; font-size: 15px; line-height: 1.55; padding: 14px; border-radius: 12px; border: 1px solid rgba(28, 27, 24, .16); background: #FFFDF8; }

/* ---------- Step 32: the People filter chips scroll inside their row (the page never gets wider than the phone) ---------- */
.cc-filter { min-width: 0; max-width: 100%; }
.cc-filter > .cc-fts, .cc-filter > .cc-fh { min-width: 0; max-width: 100%; }
/* easier to read on the phone: the smallest labels go up a little (form labels, journey pills) */
@media (max-width: 760px) { #add-lesson label.f { font-size: 11px; } .auto-fold > form label.f { font-size: 11px; } }
.jy { font-size: 10.5px; }

/* ---------- Step 33: prepared for you ---------- */
.s33-card { display: flex; flex-direction: column; gap: 8px; }
.s33-card .btn { align-self: flex-start; margin-top: 4px; }
.s33-name { font-size: 17px; font-weight: 500; color: inherit; text-decoration: none; }
.s33-days { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.s33-days b { font-weight: 500; margin-right: 6px; }
.s33-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(28, 27, 24, .08); }
.s33-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.s33-row a:not(.btn) { color: inherit; font-weight: 500; text-decoration: none; }
.s33-row .btn { flex: none; }
.s33-fc { display: flex; flex-direction: column; gap: 10px; }
.s33-fc-top { display: flex; flex-direction: column; gap: 2px; }
.s33-fc-top b { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-size: 32px; font-weight: 500; line-height: 1.1; }
.s33-cap { display: grid; grid-template-columns: minmax(90px, auto) 1fr auto; align-items: center; gap: 12px; font-size: 14px; }
.s33-bar { height: 8px; border-radius: 999px; background: rgba(28, 27, 24, .08); overflow: hidden; }
.s33-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #C9A86A, #8A6A2F); }
.s33-acct { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.s33-hub { padding-top: 6px; padding-bottom: 6px; }
.s33-hub .s33-row:first-child { border-top: 0; }
.s33-hub .s33-row b { font-weight: 500; }
.s33-n { flex: none; min-width: 28px; height: 28px; padding: 0 9px; border-radius: 999px; background: #F3EAD8; color: #7A5B2B; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }
.s33-hub a.s33-row, .s33-hub a.s33-row * { text-decoration: none !important; }
.s33-hub a.s33-row { color: #1C1B18; }
.s33-hub a.s33-row small { color: #6F675B; }
.s33-hub a.s33-row > .muted { font-size: 20px; color: #B8945B; }

/* ---------- Step 34: weekly review, autopilot ---------- */
.wk-list { padding-top: 4px; padding-bottom: 4px; }
.wk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(28, 27, 24, .08); }
.wk-row:first-child { border-top: 0; }
.wk-row > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wk-row b { font-weight: 500; }
.wk-acts { display: flex; align-items: center; gap: 10px; flex: none; }
@media (max-width: 560px) { .wk-row { flex-direction: column; align-items: stretch; } .wk-acts { justify-content: flex-start; } }
.ap-form { display: flex; flex-direction: column; gap: 4px; }
.ap-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(28, 27, 24, .08); cursor: pointer; }
.ap-row > span { display: flex; flex-direction: column; gap: 3px; }
.ap-row b { font-weight: 500; }
.ap-row input { width: 22px; height: 22px; flex: none; accent-color: #7A5B2B; }
.ap-form .btn { align-self: flex-start; margin-top: 12px; }
/* the evening-before check-in */
.ci-form { display: flex; flex-direction: column; gap: 16px; }
.ci-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ci-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ci-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(28, 27, 24, .22); border-radius: 999px; font-size: 15px; cursor: pointer; }
.ci-chip input:checked + span { background: #1C1B18; color: #FAF8F2; border-color: #1C1B18; }
.ci-chip input:focus-visible + span { outline: 2px solid #B8945B; outline-offset: 2px; }

/* played indoors: one tick in the lesson note, a small tag on the lesson */
.lnote-in { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #3A3934; cursor: pointer; }
.lnote-in input { width: 20px; height: 20px; margin: 0; accent-color: #7A5B2B; flex: none; }
.ls-in { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: rgba(70, 110, 150, .12); color: #35587A; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.lg-draft-hint { display: block; font-size: 13px; color: #7A5B2B; }

/* People: SELECT SEVERAL looks like the other controls, and says what it does */
.pl-selbtn.pl-selbtn { appearance: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(28, 27, 24, .18); border-radius: 999px; background: #FFFDF8; color: #1C1B18; font: inherit; font-size: 12px; letter-spacing: .14em; cursor: pointer; white-space: nowrap; }
.pl-selbtn.pl-selbtn:hover { border-color: #B8945B; }
.pl-selbtn svg { width: 18px; height: 18px; fill: none; stroke: #7A5B2B; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pl-selbtn[hidden] { display: none !important; }
.pl-bulk .pl-bulk-t { flex-basis: 100%; font-size: 14px; color: #59544B; line-height: 1.5; }
.pl-bulk .pl-off { opacity: .4; pointer-events: none; }

/* ---------- the phone: every panel (member, coach, admin) slides up from the bottom, half the screen or as tall as it needs ---------- */
@media (max-width: 767px) {
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet { position: fixed !important; inset: auto 0 0 0 !important; top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important; margin: 0 auto !important;
    width: 100vw !important; max-width: min(560px, 100vw) !important; box-sizing: border-box !important; overflow-x: hidden !important; height: auto !important; min-height: 0 !important; max-height: 90vh !important; max-height: 90dvh !important; overflow-y: auto !important; overscroll-behavior: contain;
    border: 0 !important; border-radius: 26px 26px 0 0 !important; box-shadow: 0 -12px 40px rgba(14, 14, 14, .18) !important;
    padding: 30px 22px calc(28px + env(safe-area-inset-bottom, 0px)) !important; background: #FAF8F2 !important; transform: none !important; }
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet[open] { display: flex !important; flex-direction: column !important; gap: 12px !important; animation: lg-rise .3s cubic-bezier(.2, .9, .25, 1) !important; }
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet::backdrop { background: rgba(14, 14, 14, .45) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet::before { content: '' !important; display: block !important; position: sticky; top: -18px; align-self: center; flex: none; width: 44px; height: 5px; margin: -16px auto 4px !important; border-radius: 3px; background: rgba(28, 27, 24, .2); }
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet[open] > .x-close { display: inline-flex !important; position: absolute !important; top: 14px !important; right: 14px !important; z-index: 2; }
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet > .pg-back { display: none !important; }
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet > .pop-dup { display: revert !important; }
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet > *:not(.x-close) { max-width: 100%; min-width: 0; box-sizing: border-box; }
}
/* the phone: the date picker (month, day, year) takes the whole row, and the bottom tabs never make the page wider than the screen */
@media (max-width: 767px) {
  html label.f:has(> .bd-pick) { grid-column: 1 / -1 !important; min-width: 0 !important; max-width: 100% !important; }
  html nav.tabbar { max-width: calc(100vw - 16px) !important; box-sizing: border-box !important; }
  html nav.tabbar > a, html nav.tabbar > details { min-width: 0 !important; }
}

/* booking times (Lessons): calm and neutral, no colors; color stays in Wellness and Progress */
.sp-times .sp-t.sp-t:not(.soon):not([disabled]):not(.on) { box-shadow: none !important; background: #FFFDF8 !important; border: 1px solid rgba(28, 27, 24, .14) !important; }
.sp-times .sp-t.sp-t:not(.soon):not([disabled]):not(.on) b { color: #1C1B18 !important; }
.sp-times .sp-t.sp-t:not(.soon):not([disabled]):not(.on):hover { border-color: #B8945B !important; }
.sp-times .sp-t.sp-t.on { box-shadow: none !important; background: #1C1B18 !important; border-color: #1C1B18 !important; color: #FAF8F2 !important; }
.sp-times .sp-t.sp-t.on b, .sp-times .sp-t.sp-t.on span { color: #FAF8F2 !important; }

/* Money: line by line, one month at a time */
.mm-card { display: flex; flex-direction: column; gap: 12px; }
.mm-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mm-top select { min-height: 40px; }
.mm-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mm-sum > span { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgba(28, 27, 24, .04); min-width: 0; }
.mm-sum b { font-family: var(--serif, 'Cormorant Garamond', Georgia, serif); font-size: clamp(22px, 5vw, 30px); font-weight: 500; line-height: 1.1; }
.mm-sum small { font-size: 12px; color: #6F675B; line-height: 1.35; }
.mm-sum .mm-due b { color: #A3421B; }
.mm-how { margin: 0; font-size: 13px; line-height: 1.55; }
.mm-h { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7A5B2B; margin-top: 6px; }
.mm-l { list-style: none; margin: 0; padding: 0; }
.mm-l > li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 10px 0; border-top: 1px solid rgba(28, 27, 24, .08); }
.mm-l > li:first-child { border-top: 0; }
.mm-l > li > form { grid-column: 2 / -1; justify-self: start; margin: 0; }
.mm-d { font-size: 13px; color: #6F675B; }
.mm-w { display: flex; flex-direction: column; min-width: 0; }
.mm-w a { color: #1C1B18; text-decoration: none; font-weight: 500; }
.mm-w small { color: #6F675B; font-size: 12px; }
.mm-a { font-weight: 500; white-space: nowrap; }
.mm-s { grid-column: 2 / -1; font-size: 12px; color: #2E7D50; }
.mm-due .mm-s { color: #A3421B; font-weight: 500; }
.mm-cover .mm-s { color: #6F675B; }
.mm-x { font-size: 11px !important; color: #8A7F70 !important; }
.mm-back { display: flex; align-items: center; gap: 12px; margin: 0; }
.mm-card > .btn { align-self: flex-start; }
@media (max-width: 520px) { .mm-sum { grid-template-columns: 1fr 1fr; } .mm-sum > span:first-child { grid-column: 1 / -1; } }
.mm-l > li { grid-template-columns: 54px minmax(0, 1fr) auto auto; }
.mm-l > li > form { grid-column: auto; justify-self: end; }
.mm-x { appearance: none; border: 1px solid rgba(28, 27, 24, .14); background: transparent; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 10px !important; letter-spacing: .14em; color: #8A7F70 !important; cursor: pointer; white-space: nowrap; }
.mm-x:hover { border-color: #A3421B; color: #A3421B !important; }
.mm-s { grid-column: 2 / -1; }
.mm-fold > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.mm-fold > summary::-webkit-details-marker { display: none; }
.mm-fold > summary::after { content: '›'; font-size: 18px; transition: transform .2s; }
.mm-fold[open] > summary::after { transform: rotate(90deg); }

/* DO IT → the field to fill and the button to tap after, both shown */
.lg-todo { outline: 2px solid #B8945B !important; outline-offset: 6px; border-radius: 6px; background: rgba(184, 148, 91, .07); }
.lg-todo.lg-todo-done { outline-color: #2E7D50 !important; background: rgba(46, 125, 80, .05); }
.lg-step { display: block; margin: 0 0 6px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #7A5B2B; font-weight: 500; }
.lg-step2 { margin: 8px 0 6px; }
.lg-todo-done .lg-step1 { color: #2E7D50; }
.lg-next { box-shadow: 0 0 0 3px rgba(184, 148, 91, .45), 0 8px 22px rgba(184, 148, 91, .35) !important; }
.lg-next.lg-next-go { animation: lg-next-pulse 1.4s ease-in-out infinite; }
@keyframes lg-next-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(184, 148, 91, .45); } 50% { box-shadow: 0 0 0 8px rgba(184, 148, 91, .15); } }
@media (prefers-reduced-motion: reduce) { .lg-next.lg-next-go { animation: none; } }
/* REMOVE: quiet until tapped once, then it asks */
.b5-del { display: inline; margin: 0; }
.b5-x { appearance: none; border: 0; background: none; font: inherit; font-size: 11px; letter-spacing: .16em; color: #8A7F70; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; padding: 8px 4px; }
.b5-x.armed { color: #FAF8F2; background: #A3421B; border-radius: 999px; padding: 8px 14px; text-decoration: none; }
/* Overview: latest client updates in one line (the full list is in Actions) */
#activity.act-one { padding-top: 16px; padding-bottom: 16px; }
#activity.act-one .act-top { margin-bottom: 0; }

/* the command box examples are links: they work in every browser, with one tap */
.cmd-ex a.cmd-chip { font-size: 12px; border: 1px solid rgba(28,27,24,0.12); background: #FFFDF8; color: #3A3934; border-radius: 999px; padding: 4px 10px; text-decoration: none; letter-spacing: 0; text-transform: none; }
.cmd-ex a.cmd-chip:hover { border-color: #B8955A; color: #1C1B18; }
#cmd-res { scroll-margin-top: 90px; }
.acc-live { display: grid; gap: 6px; padding: 14px 18px !important; margin: 10px 0 !important; }
.acc-live .link-btn { justify-self: start; }

.f-err-msg { display: block; margin-top: 6px; font-size: 13px; line-height: 1.4; color: #9A2A2A; letter-spacing: 0; text-transform: none; font-weight: 500; }
.f-err-save { margin: 0 0 10px !important; padding: 10px 14px; border-radius: 12px; background: #FBEDEA; color: #8A2626; font-size: 14px; line-height: 1.45; }
.fu-row { position: relative; }
.fu-row .fu-go { display: inline-flex; margin: 8px 10px 0 0; vertical-align: top; }
.fu-row .fu-done { display: inline-block; vertical-align: top; margin-top: 8px; }
/* People: adults and juniors in balance. The same calm card for everyone; only a soft side line and the tag tell them apart. */
.pl-list .pl-card.pl-kid { background: #FFFDF8 !important; border-color: rgba(28,27,24,0.1) !important; box-shadow: inset 3px 0 0 #9DBBD6 !important; }
.pl-list .pl-card.pl-kid:hover { border-color: #9DBBD6 !important; }
.pl-list .pl-card.pl-kid .pl-age { background: #EEF3F8 !important; color: #3E6286 !important; border-color: #D6E2EE !important; }
.pl-list .pl-card:not(.pl-kid) { box-shadow: inset 3px 0 0 #C9AE7C !important; }
.pl-list .pl-card:not(.pl-kid) .pl-age { background: #F4EDE0 !important; color: #6B4E22 !important; border-color: #E6D8BE !important; }

/* select several: one clear bar. Who is selected, then three plain actions, and ✕ to close */
.pl-bulk:not([hidden]) { display: grid !important; gap: 10px; padding: 16px 18px !important; border-radius: 16px; background: #FFFDF8; border: 1px solid #E6D8BE; box-shadow: 0 10px 30px rgba(28,27,24,0.08); }
.pl-bulk-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.pl-bulk-top .pl-bulk-n { font-weight: 600; margin-right: auto; }
.pl-bulk-x { all: unset; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #F1EBE1; color: #1C1B18; font-size: 15px; }
.pl-bulk-x:hover { background: #E6D8BE; }
.pl-bulk-t { font-size: 13px; color: #59544B; }
.pl-bulk-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pl-bulk-acts .pl-bulk-f { display: inline-flex; align-items: center; gap: 8px; }
.pl-bulk-co { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.2em; color: #59544B; }
.pl-bulk-co select { min-height: 36px; border-radius: 10px; }
/* no square around a link or row when a panel opens (the browser focuses it for itself); keyboard users still see a soft ring */
dialog :focus:not(:focus-visible), dialog a:focus, dialog .link-btn:focus, dialog li:focus, dialog .mn-t:focus { outline: none !important; box-shadow: none !important; }
dialog :focus-visible { outline: 2px solid rgba(184,148,91,0.55) !important; outline-offset: 3px; border-radius: 8px; }
/* every ✕ in a circle is drawn, so it sits exactly in the middle */
.x-close, .ss-x, .pl-bulk-x, .ak-x { position: relative; }
.x-close > span, .ss-x, .pl-bulk-x, .ak-x { font-size: 0 !important; color: transparent !important; }
.x-close > span { position: absolute; inset: 0; }
.x-close > span::before, .x-close > span::after, .ss-x::before, .ss-x::after, .pl-bulk-x::before, .pl-bulk-x::after, .ak-x::before, .ak-x::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.6px; margin: -0.8px 0 0 -8px; background: #1C1B18; border-radius: 2px; transform: rotate(45deg); }
.x-close > span::after, .ss-x::after, .pl-bulk-x::after, .ak-x::after { transform: rotate(-45deg); }
.who-pick .x-close > span::before, .who-pick .x-close > span::after, .match-card .x-close > span::before, .match-card .x-close > span::after, dialog.moment .x-close > span::before, dialog.moment .x-close > span::after, dialog.wl-guide .x-close > span::before, dialog.wl-guide .x-close > span::after { background: #FAF8F2; }
.dr-pin { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; text-decoration: none; color: inherit; border: 1px solid #E6D8BE !important; }
.dr-pin .eyebrow, .dr-pin b, .dr-pin .muted { grid-column: 1; }
.dr-pin b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 24px; }
.dr-pin .dr-go { grid-column: 2; grid-row: 1 / span 3; background: #B8945B; color: #0E0E0E; padding: 12px 18px; font-size: 11px; letter-spacing: 0.22em; border-radius: 999px; }
.op-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 14px; }
.op-tabs a { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.14); text-decoration: none; color: #3A3934; font-size: 13px; background: #FFFDF8; }
.op-tabs a.on { background: #1C1B18; color: #FAF8F2; border-color: #1C1B18; }
.op-tabs a b { color: #8A2626; font-weight: 600; margin-left: 4px; }
.op-tabs a.on b { color: #EBD3A4; }

.ach-guide { display: grid; gap: 10px; }
.ach-guide .ach-k { display: grid; grid-template-columns: 140px 1fr; gap: 4px 14px; align-items: baseline; padding: 8px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.ach-guide .ach-k b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 19px; }
.ach-guide .ach-k span { font-size: 14px; color: #4A463F; line-height: 1.5; }
.ach-guide .ach-next { margin: 4px 0 0; padding: 12px 14px; background: #F4EDE0; border-radius: 12px; font-size: 14px; }
@media (max-width: 560px) { .ach-guide .ach-k { grid-template-columns: 1fr; } }
details.ach-fold { border-top: 1px solid rgba(28,27,24,0.08); padding: 4px 0; }
details.ach-fold > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; }
details.ach-fold > summary::-webkit-details-marker { display: none; }
details.ach-fold > summary::after { content: '+'; font-size: 18px; letter-spacing: 0; color: #7A5B2B; margin-left: 10px; }
details.ach-fold[open] > summary::after { content: '−'; }
details.ach-fold > summary small { margin-left: auto; letter-spacing: 0.1em; color: #59544B; }

/* ---------- Wellness, studio style ---------- */
html.wl-studio .m-wrap.wl { padding-top: 0 !important; }
.ws-head { background: #1C1B18; color: #FAF8F2; margin: 0 calc(50% - 50vw); padding: 34px 16px 46px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ws-t { font-size: 17px; letter-spacing: 0.32em; font-weight: 500; }
.ws-cats { display: flex; gap: 6px; overflow-x: auto; max-width: 100%; padding: 0 4px; scrollbar-width: none; }
.ws-cats::-webkit-scrollbar { display: none; }
.ws-cat { all: unset; cursor: pointer; flex: 0 0 auto; width: 86px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(250,248,242,0.82); }
.ws-cat svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ws-cat span { font-size: 11px; letter-spacing: 0.16em; text-align: center; line-height: 1.3; }
.ws-cat.on, .ws-cat:hover { color: #D9BE8C; }
.ws-head + div[hidden] + * , .ws-head ~ .card:first-of-type { margin-top: -26px; position: relative; }
html.wl-studio .m-wrap.wl > .card, html.wl-studio .m-wrap.wl > section, html.wl-studio .m-wrap.wl > details { border-radius: 22px; }
/* water */
.wl-water .wr-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.wr-t { display: block; font-size: 15px; letter-spacing: 0.22em; color: #1C1B18; }
.wr-s { display: block; font-size: 14px; color: #8C877D; margin-top: 4px; }
.wr-n { text-align: right; } .wr-n b { font-size: 20px; font-weight: 600; } .wr-n span { display: block; font-size: 13px; color: #8C877D; }
.wr-g { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.wr-c { all: unset; cursor: pointer; display: flex; justify-content: center; align-items: flex-end; padding: 4px 0; transition: transform .2s ease; }
/* glasses: an outline when empty, water rises in when tapped */
.wr-g { display: flex !important; gap: 4px 10px !important; flex-wrap: wrap; justify-content: flex-start; }
.wr-c svg { width: 34px; height: 44px; overflow: visible; }
.wr-c .wr-gl { fill: rgba(255,255,255,0.55); stroke: #B9AE9C; stroke-width: 1.6; stroke-linejoin: round; transition: stroke .25s ease; }
.wr-c .wr-sh { stroke: rgba(255,255,255,0.9); stroke-width: 1.6; stroke-linecap: round; fill: none; }
.wr-c .wr-w, .wr-c .wr-wave { fill: #A9C7DD; transform: translateY(40px); transition: transform .45s cubic-bezier(.2,.9,.25,1); }
.wr-c .wr-wave { fill: #C6DBEA; }
.wr-c.on .wr-w, .wr-c.on .wr-wave { transform: translateY(0); }
.wr-c.on .wr-gl { stroke: #7FA6C3; fill: none; }
.wr-c:hover .wr-gl { stroke: #7FA6C3; }
.wr-c:focus-visible { outline: 2px solid #C49A55; outline-offset: 3px; border-radius: 8px; }
.wr-c:active { transform: scale(0.94); }
/* the library: count bar and photo cards in two columns */
.ws-all > .card, .ws-lib { background: #FAF8F2 !important; border: 0 !important; box-shadow: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.ws-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; margin: 4px 0 16px; }
.ws-bar .ws-q { grid-column: 1 / -1; margin-top: 10px; min-height: 44px; border-radius: 12px; border: 1px solid rgba(28,27,24,0.14); padding: 0 14px; background: #FFFDF8; }
.ws-count { text-align: center; font-size: 14px; letter-spacing: 0.24em; color: #1C1B18; }
.ws-ic { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.ws-ic svg { width: 24px; height: 24px; fill: none; stroke: #1C1B18; stroke-width: 1.5; stroke-linecap: round; }
.ws-ic.on { background: #F1EBE1; }
html.wl-studio .ws-lib .wl-switch { display: none !important; }
html.wl-studio .wl-sec .wl-list { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 760px) { html.wl-studio .wl-sec .wl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
details.ws-card { padding: 0 !important; overflow: hidden; border-radius: 18px !important; border: 0 !important; background: #EFEBE3 !important; box-shadow: none !important; margin: 0 !important; }
details.ws-card > summary { display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 6px; padding: 0 0 14px !important; min-height: 0 !important; }
details.ws-card > summary::before { content: ''; display: block; width: 100%; aspect-ratio: 4 / 3; background: var(--wl-img) center / cover no-repeat, #D9D2C4; margin-bottom: 6px; }
details.ws-card > summary > * { padding: 0 14px; }
details.ws-card > summary .wl-it-t { font-size: 17px; line-height: 1.25; color: #1C1B18; }
details.ws-card > summary::after { display: none !important; }
details.ws-card[open] { grid-column: 1 / -1; background: #FFFDF8 !important; }
details.ws-card[open] > summary::before { aspect-ratio: 16 / 7; }
details.ws-card > :not(summary) { padding-left: 14px; padding-right: 14px; }
details.ws-card.ws-off { display: none !important; }
/* the filter sheet */
dialog.ws-sheet .ws-sh { text-align: center; font-size: 16px; letter-spacing: 0.3em; font-family: inherit; margin: 18px 0 6px; font-weight: 600; }
dialog.ws-sheet .ws-sp { text-align: center; color: #59544B; margin: 0 0 18px; }
dialog.ws-sheet .ws-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-top: 1px solid rgba(28,27,24,0.08); font-size: 13px; letter-spacing: 0.22em; }
dialog.ws-sheet .ws-val { all: unset; cursor: pointer; color: #7A5B2B; letter-spacing: 0; font-size: 15px; font-weight: 600; }
.ws-sw { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 999px; background: #D6D1C7; position: relative; cursor: pointer; transition: background-color .2s ease; margin: 0; }
.ws-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform .2s ease; }
.ws-sw:checked { background: #B8945B; } .ws-sw:checked::after { transform: translateX(22px); }
dialog.ws-sheet .ws-save { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; text-align: center; margin-top: 18px; padding: 18px; border-radius: 14px; background: #1C1B18; color: #FAF8F2; font-size: 13px; letter-spacing: 0.28em; }
/* ---------- Profile header ---------- */
.pf-hero { background: #1C1B18; color: #FAF8F2; margin: -8px calc(50% - 50vw) 18px; padding: 28px max(16px, calc(50vw - 420px)) 30px; display: grid; gap: 18px; }
.pf-top { display: flex; align-items: center; gap: 18px; }
.pf-av { flex: 0 0 auto; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: #3A3934; color: #EBD3A4; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; }
.pf-id b { display: block; font-size: 20px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.pf-id span { display: block; color: rgba(250,248,242,0.66); font-size: 14px; margin-top: 4px; }
.pf-gr input { width: 100%; box-sizing: border-box; min-height: 52px; border-radius: 14px; border: 1px solid rgba(250,248,242,0.22); background: transparent; color: #FAF8F2; padding: 0 16px; font-size: 16px; }
.pf-gr input::placeholder { color: rgba(250,248,242,0.6); }
.ws-cat { width: auto !important; min-width: 70px; padding: 0 10px; }
html.wl-studio .wl-switch-h { display: none !important; }
html.wl-studio .wl-more-close { display: none !important; }
html.wl-studio .wl-sec .wl-list.wl-list.wl-list { gap: 14px !important; column-gap: 14px !important; row-gap: 14px !important; }
html.wl-studio .wl-sec .wl-list > details.ws-card.ws-card { border: 0 !important; border-radius: 18px !important; background: #EFEBE3 !important; margin: 0 !important; }
html.wl-studio .wl-sec .wl-list > details.ws-card + details.ws-card { border-top: 0 !important; }
html.wl-studio details.ws-card > summary { gap: 8px !important; }
html.wl-studio details.ws-card > summary > *:not(.wl-it-t) { font-size: 11px !important; letter-spacing: 0.2em; text-transform: uppercase; color: #8C877D !important; background: none !important; padding-top: 0 !important; padding-bottom: 0 !important; }
html.wl-studio details.ws-card > summary [data-wl-fav] { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; background: rgba(250,248,242,0.85) !important; display: grid; place-items: center; padding: 0 !important; }
html.wl-studio details.ws-card { position: relative; }
html.has-pf-hero .pf-hero { margin-top: -24px; margin-bottom: 0; }
html.has-pf-hero .pf-hero + .grid3 { margin-top: 18px; }

/* the one next-step card (Home for families, Today for coaches) */
.ns-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 16px; margin: 0 0 20px; padding: 18px 20px; border: 1px solid var(--gold, #b8935a); border-radius: 18px; background: linear-gradient(135deg, rgba(184, 147, 90, .10), rgba(184, 147, 90, .03)); }
.ns-k { grid-column: 1 / -1; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-d, #8a6a36); }
.ns-t { font-family: var(--serif, 'Cormorant Garamond', serif); font-size: 22px; line-height: 1.25; }
.ns-card .ns-go, .ns-card form { justify-self: end; margin: 0; white-space: nowrap; }
.ns-card form .ns-go { width: auto; }
@media (max-width: 520px) { .ns-card { grid-template-columns: 1fr; } .ns-card .ns-go, .ns-card form, .ns-card form .ns-go { justify-self: stretch; width: 100%; text-align: center; } }
.ns-coach { margin-bottom: 16px; }

/* Keep my lessons going: the family's own switch */
.at-box { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; padding: 14px 16px; border: 1px solid rgba(0, 0, 0, .1); border-radius: 14px; }
.at-row { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.at-t { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.at-t b { font-size: 16px; font-weight: 500; }
.at-t small { font-size: 13px; line-height: 1.45; color: var(--muted, #6b6459); }
.at-sw { position: relative; flex: none; width: 50px; height: 30px; border: 0; border-radius: 30px; background: #cfc8bc; cursor: pointer; padding: 0; transition: background .2s; }
.at-sw i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .2s; }
.at-sw.on { background: var(--gold, #b8935a); }
.at-sw.on i { left: 23px; }
.at-due { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; font-size: 14px; }
.at-note { font-size: 13px; }

/* the Legacy timeline on the player page (Legacy and the coach) */
.tl { list-style: none; margin: 10px 0 6px; padding: 0 0 0 18px; border-left: 1px solid rgba(184, 147, 90, .45); display: flex; flex-direction: column; gap: 12px; }
.tl li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.tl li::before { content: ''; position: absolute; left: -23px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 1px solid var(--gold, #b8935a); }
.tl li.tl-badge::before, .tl li.tl-level::before, .tl li.tl-anniv::before, .tl li.tl-milestone::before { background: var(--gold, #b8935a); }
.tl-d { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #6b6459); }
.tl-more summary { margin-top: 4px; }

/* Your first month: five moments on one line */
.fm .fm-now { font-size: 24px; line-height: 1.2; }
.fm-path { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; position: relative; }
.fm-path::before { content: ''; position: absolute; left: 10%; right: 10%; top: 13px; height: 1px; background: rgba(184, 147, 90, .4); }
.fm-path li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 3px; }
.fm-path i { width: 26px; height: 26px; border-radius: 50%; border: 1px solid #B8945B; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; color: #fff; }
.fm-path li.done i { background: #B8945B; }
.fm-path li.on i { box-shadow: 0 0 0 4px rgba(184, 148, 91, .22); }
.fm-d { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: #8A6A36; }
.fm-l { font-size: 12px; line-height: 1.25; color: #59544B; }
.fm-path li.on .fm-l { color: #1C1B18; font-weight: 500; }

/* the member card, the tiers and Legacy moments */
.mc-card { position: relative; margin: 18px 0 6px; padding: 22px 22px 18px; border-radius: 20px; color: #F5EFE4; background: linear-gradient(140deg, #1C1B18 0%, #2B2722 60%, #3A3128 100%); box-shadow: 0 14px 34px rgba(28, 27, 24, .22); display: flex; flex-direction: column; gap: 14px; overflow: hidden; aspect-ratio: 1.586 / 1; max-width: 440px; }
.mc-card::after { content: ''; position: absolute; inset: 0; border-radius: 20px; border: 1px solid rgba(184, 148, 91, .45); pointer-events: none; }
.mc-founding { background: linear-gradient(140deg, #23201B 0%, #3A3226 55%, #5A4630 100%); }
.mc-inner { background: linear-gradient(140deg, #B8945B 0%, #8A6A36 55%, #4E3B1E 100%); }
.mc-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mc-brand { font-size: 13px; letter-spacing: .42em; color: #D9C29A; }
.mc-inner .mc-brand { color: #FFF7E8; }
.mc-tier { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.mc-tier i { font-style: normal; color: #D9C29A; }
.mc-inner .mc-tier i { color: #FFF7E8; }
.mc-name { font-size: 28px; line-height: 1.1; margin-top: auto; }
.mc-row { display: flex; gap: 22px; }
.mc-row span { display: flex; flex-direction: column; gap: 2px; }
.mc-row small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.mc-row b { font-weight: 500; font-size: 15px; }
.mc-foot { display: flex; justify-content: space-between; align-items: center; }
.mc-tag { font-size: 11px; letter-spacing: .2em; opacity: .8; }
.mc-qr-b { min-width: 44px; min-height: 44px; border-radius: 12px; border: 1px solid rgba(245, 239, 228, .5); background: rgba(255, 255, 255, .08); color: inherit; font-size: 12px; letter-spacing: .14em; cursor: pointer; }
.mc-next { font-size: 13px; margin: 0 0 18px; }
.mc-sheet .mc-qr { width: min(260px, 70vw); margin: 10px auto; }
.mc-sheet .mc-qr svg { width: 100%; height: auto; display: block; border-radius: 10px; }
.mc-check { font-size: 18px; } .mc-check.ok { color: #2F6B3A; } .mc-check.warn { color: #8E1F16; }
.tier-m { color: var(--gold, #b8935a); }
.cel-card { position: relative; display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; padding: 20px; border-radius: 18px; background: #1C1B18; color: #F5EFE4; text-align: center; align-items: center; }
.cel-card .eyebrow { color: #D9C29A; }
.cel-mark { font-size: 26px; color: #D9C29A; }
.cel-t { font-size: 28px; line-height: 1.15; }
.cel-card .link-btn { color: #D9C29A; }
.mv2.v-home > .ns-card, .mv2.v-home > .cel-card { order: -11 !important; }
.mv2.v-home > .f30 { order: -6 !important; }   /* below the next lesson and Your 3 */
/* one gold button: with a next step on Home, the cards below use the quiet outline */
.mv2.v-home:has(> .ns-card .btn:not(.line)) > .notice .btn:not(.line) { background: transparent !important; color: #7A5B2B !important; border: 1px solid #B8945B !important; box-shadow: none !important; }
/* readability floor: small labels never below 11px on a phone */
.pg-seg a { font-size: 11px !important; }
.mc-row small { font-size: 11px; }

/* Overview is the day: today's lessons, one line each, then one quiet link to Actions (the only to-do list) */
.br-today { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-direction: column; }
.br-today li { display: flex; align-items: baseline; gap: 14px; padding: 10px 2px; border-bottom: 1px solid rgba(28, 27, 24, .08); font-size: 15px; }
.br-today .br-t { flex: none; width: 84px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #7A5B2B; }
.br-today a { color: #1C1B18; text-decoration: none; font-weight: 500; }
.br-today .muted { margin-left: auto; font-size: 13px; }
.br-act { display: flex; justify-content: space-between; align-items: center; margin: 10px 0 4px; padding: 14px 2px; color: #7A5B2B; text-decoration: none; font-size: 15px; border-top: 1px solid rgba(28, 27, 24, .08); }
.br-act i { font-style: normal; font-size: 18px; }
.td-l-soon:not(:has(> :not(.td-lh):not([hidden]))) { display: none !important; }

/* Wellness header in the Legacy style: light page, serif title, the sections as quiet letter-spaced words (no dark band, no icons) */
.ws-head { background: transparent !important; color: #1C1B18 !important; margin: 0 !important; padding: 26px 0 8px !important; align-items: flex-start !important; gap: 10px !important; border-bottom: 1px solid rgba(28, 27, 24, .1); }
.ws-head .ws-k { color: #8A6A36; }
.ws-head .ws-t { font-family: 'Cormorant Garamond', Georgia, serif !important; font-weight: 400 !important; font-size: 44px !important; letter-spacing: 0 !important; line-height: 1.05; margin: 0; color: #1C1B18 !important; text-transform: none !important; }
.ws-cats { gap: 22px !important; padding: 6px 0 0 !important; justify-content: flex-start; }
.ws-cat { width: auto !important; min-width: 0 !important; padding: 10px 0 12px !important; color: #59544B !important; border-bottom: 1px solid transparent; }
.ws-cat svg { display: none !important; }
.ws-cat span { font-size: 12px !important; letter-spacing: .2em !important; white-space: nowrap; }
.ws-cat.on, .ws-cat:hover { color: #1C1B18 !important; border-bottom-color: #B8945B; }
.ws-head + div[hidden] + *, .ws-head ~ .card:first-of-type { margin-top: 18px !important; }

/* Daily habits: water and sleep in one quiet card, below Your 3 */
.wl-habits { display: flex; flex-direction: column; gap: 22px; }
.wl-habits .wl-water, .wl-habits .wl-sleep { display: flex; flex-direction: column; }
.wl-habits .wr-t { font-size: 13px; text-transform: uppercase; }
.sl-g { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.sl-c { all: unset; cursor: pointer; text-align: center; min-height: 40px; display: grid; place-items: center; border-radius: 12px; background: #EFEBE3; font-size: 14px; color: #59544B; }
.sl-c.rec { box-shadow: inset 0 0 0 1px #B8945B; color: #7A5B2B; }
.sl-c.on { background: #1C1B18; color: #FAF8F2; box-shadow: none; }
.sl-note { font-size: 13px; margin-top: 10px; }

/* Profile header: light, in the Legacy style (the black is kept for the member card) */
.pf-hero { background: transparent !important; color: #1C1B18 !important; margin: 0 0 6px !important; padding: 22px 0 6px !important; }
html.has-pf-hero .pf-hero { margin-top: 0 !important; }
.pf-hero .pf-av { background: #F1EBE1 !important; color: #7A5B2B !important; box-shadow: inset 0 0 0 1px #B8945B; }
.pf-hero .pf-id b { font-family: 'Cormorant Garamond', Georgia, serif !important; font-weight: 400 !important; font-size: 32px !important; letter-spacing: 0 !important; text-transform: none !important; color: #1C1B18 !important; }
.pf-hero .pf-id span { color: #6B655A !important; }

/* Wellness: the daily grateful line at the top */
.ws-gr { display: block; width: 100%; margin-top: 6px; }
.ws-gr input { width: 100%; box-sizing: border-box; min-height: 54px; border-radius: 14px; border: 1px solid #E2D9C8; background: #FFFFFF; color: #1C1B18; padding: 0 16px; font: inherit; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; font-style: italic; }
.ws-gr input::placeholder { color: #8C877D; }
.ws-gr input:focus { outline: none; border-color: #B8945B; box-shadow: 0 0 0 3px rgba(184, 148, 91, .18); }
.wl-habits .wl-water, .wl-habits .wl-sleep { padding: 0 !important; margin: 0 !important; background: none !important; box-shadow: none !important; border: 0 !important; }
.wl-habits .wl-sleep { padding-top: 18px !important; border-top: 1px solid rgba(28, 27, 24, .08) !important; }
.stay-done { display: flex; flex-direction: column; gap: 4px; padding: 18px 4px; list-style: none; }
.stay-done b { font-weight: 500; color: #2F6B3A; }
.stay-done span { color: #6B655A; font-size: 14px; }
.stay-done .link-btn { align-self: flex-start; margin-top: 6px; }
.qd-sheet .qd-f { display: flex; flex-direction: column; gap: 14px; }
.qd-fit { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.qd-fit label { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; }
.qd-note { margin: 0; font-size: 14px; }

/* My Progress: three questions, then one folded line */
.pg-q .dev-l { margin: 4px 0 0; }
.pg-q .pg-q-rows { display: flex; flex-direction: column; margin-top: 4px; }
.pg-q .stats { margin-top: 4px; }
.pg-more2 { padding: 0 !important; }
.pg-more2 > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 20px 24px; min-height: 56px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; }
.pg-more2 > summary::-webkit-details-marker { display: none; }
.pg-more2 > summary span:first-child { flex: 1; }
.pg-more2 > summary small { color: #6F6A60; letter-spacing: 0.1em; }
.pg-more2[open] .td-chev { transform: rotate(180deg); }
.pg-more2 .pg-q-rows { padding: 0 24px 12px; }
.pg-q .dev-r { padding-left: 0; }
.pg-q .dev-r::before, .pg-q .dev-r::after { display: none; }
html .pg-more2 > summary { font-size: 12px !important; line-height: 1.4; font-family: inherit; padding: 20px 28px !important; }
.pg-q .stats { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
html .pg-more2 > summary > span:first-child { font-size: 12px !important; letter-spacing: 0.24em !important; }
/* Actions: one style for every part (My list, the three counts, each section): the same white rounded card, the same title line, the same rows */
[data-app=admin] main .card.tier-act#t-todo, [data-app=coach] main .card.tier-act#t-todo { box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06) !important; border-left: 0 !important; }
#t-todo > div:first-child .eyebrow::before, #t-todo .eyebrow .ic, #t-todo > .eyebrow .ic, .rv-sec .eyebrow .ic { display: none !important; }
#t-todo .eyebrow, .rv-sec > .eyebrow, .rv-sec .eyebrow { color: #7A5B2B !important; font-size: 11px !important; letter-spacing: 0.28em !important; }
.ac-s { border: 0 !important; border-radius: 18px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(14,14,14,0.04), 0 10px 28px rgba(14,14,14,0.06); padding: 18px 20px !important; position: relative; }
.ac-s::before { content: ''; position: absolute; left: 20px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: #B8945B; }
.ac-s-todo::before { background: #A3402F; } .ac-s-done::before { background: #4E7A55; }
.ac-s b { padding-top: 12px; }
.rv-sec .rv-av, .rv-sec > .eyebrow + .ic, .rv-s-ver .rv-ic { display: none !important; }
#t-todo .eyebrow[class*="ic-"]::before, .rv-sec .eyebrow[class*="ic-"]::before { display: none !important; content: none !important; }
#t-todo .eyebrow[class*="ic-"], .rv-sec .eyebrow[class*="ic-"] { padding-left: 0 !important; }

/* Progress and Achievements: the lists are open, with a calm small title (one tap still folds them) */
html .ach-fold > summary, html .ach-fold > summary > span:first-child { font-size: 12px !important; letter-spacing: 0.24em !important; line-height: 1.4 !important; font-family: inherit !important; }
html .ach-fold > summary { min-height: 48px; padding: 14px 0 !important; }
/* the practice library: the categories are always in view (Mind, Body, Nutrition, Game, Favorites); the one chosen shows below */
html.wl-studio .ws-lib .wl-switch { display: flex !important; position: static; background: transparent; padding: 4px 0 14px; margin: 0; gap: 8px; }
html.wl-studio .ws-lib .wl-switch a { min-height: 42px; padding: 0 18px; border-radius: 999px; background: #FFFFFF; box-shadow: 0 0 0 1px rgba(28,27,24,0.12); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #1C1B18; }
html.wl-studio .ws-lib .wl-switch a.on { background: #0E0E0E; color: #FAF8F2; box-shadow: none; }
html.wl-studio .ws-lib .wl-switch { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
html.wl-studio .ws-lib .wl-switch::-webkit-scrollbar { display: none; }
html.wl-studio .ws-lib .wl-switch a { flex: 0 0 auto; white-space: nowrap; min-height: 40px !important; padding: 0 16px !important; font-size: 11px !important; }

/* Achievements: the next badge to aim for, one line above the badges (no explanation card) */
.ach-next.ach-next-solo { margin: 0 0 18px; padding: 12px 14px; background: #F4EDE0; border-radius: 12px; font-size: 14px; }

/* Filter practices: simple choices that change the list at once */
dialog.ws-sheet .ws-grp { padding: 14px 4px; border-top: 1px solid rgba(28,27,24,0.08); }
dialog.ws-sheet .ws-gl { display: block; font-size: 12px; letter-spacing: 0.22em; color: #59544B; margin-bottom: 10px; }
dialog.ws-sheet .ws-opts { display: flex; flex-wrap: wrap; gap: 8px; }
dialog.ws-sheet .ws-opt { all: unset; box-sizing: border-box; cursor: pointer; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.18); font-size: 14px; color: #1C1B18; background: #fff; }
dialog.ws-sheet .ws-opt[aria-pressed="true"] { background: #1C1B18; border-color: #1C1B18; color: #fff; }
dialog.ws-sheet .ws-clear { all: unset; cursor: pointer; display: block; margin: 14px auto 0; font-size: 13px; letter-spacing: 0.12em; color: #7A5B2B; text-decoration: underline; text-underline-offset: 4px; }

/* My tennis: everything else for the player as a calm list at the bottom (after About me) */
[data-app=member] .mt-more { display: flex; flex-direction: column; padding: 22px 22px 8px; }
[data-app=member] .mt-more .eyebrow { margin-bottom: 6px; }
[data-app=member] .mt-more a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 2px; border-top: 1px solid rgba(28,27,24,0.08); color: #1C1B18; text-decoration: none; font-size: 16px; }
[data-app=member] .mt-more a:first-of-type { border-top: 0; }
[data-app=member] .mt-more a i { font-style: normal; color: #7A5B2B; font-size: 20px; }

/* Wellness: a practice in its own pop-up */
dialog.wl-pop { padding: 0 0 calc(18px + env(safe-area-inset-bottom)); gap: 0; }
dialog.wl-pop .x-close { z-index: 3; }
dialog.wl-pop > .wl-it { margin: 0 !important; width: 100% !important; max-width: none !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; grid-column: auto !important; }
dialog.wl-pop > .wl-it > summary { pointer-events: none; cursor: default; }
dialog.wl-pop > .wl-it > summary .wl-heart { pointer-events: auto; }
dialog.wl-pop > .wl-it > :not(summary) { padding-left: 20px; padding-right: 20px; }
.wl-ph { display: none; }

/* Member PROFILE / MORE menu: roomier and calmer (bigger panel, taller rows, space between the last buttons) */
html[data-app=member] .tabbar .m-more[open] > div { padding: 22px 24px calc(22px + env(safe-area-inset-bottom)) !important; border-radius: 28px !important; max-height: calc(100vh - 150px) !important; }
html[data-app=member] .tabbar .m-more > div > a:not(#fy-link) { min-height: 58px !important; font-size: 14px !important; letter-spacing: .18em !important; }
html[data-app=member] .tabbar .m-more > div .mo-ts { margin-top: 14px !important; }
html[data-app=member] .tabbar .m-more > div .mo-out { margin-top: 12px !important; }
dialog.wl-pop { padding-top: 64px; }
html[data-app=member] .tabbar .m-more > div > :last-child { margin-top: 12px !important; }
/* Your 3 for today: one line on why today's practices fit the day */
.w3-why { margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: #F4EDE0; color: #3A3934; font-size: 14px; line-height: 1.5; }
.ach-next-solo .ach-do { display: block; margin-top: 4px; font-size: 13px; color: #59544B; }
/* Checkbox rows: text sits right next to the box, everywhere */
label.lnote-in, .lnote-in { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: flex-start !important; gap: 10px !important; width: auto !important; max-width: 100%; }
.lnote-in input[type="checkbox"] { flex: 0 0 20px !important; width: 20px !important; height: 20px !important; margin: 0 !important; }
.lnote-in > span { flex: 0 1 auto !important; width: auto !important; text-align: left !important; }
/* My to-do & documents */
.tdo-page .tdo-card { gap: 6px; }
.tdo-list { list-style: none; margin: 0; padding: 0; display: grid; }
.tdo-list li + li { border-top: 1px solid rgba(28, 27, 24, .08); }
.tdo-row { display: flex; align-items: center; gap: 14px; padding: 16px 2px; color: #1C1B18; text-decoration: none; min-height: 56px; }
.tdo-row:hover { background: rgba(184, 148, 91, .06); }
.tdo-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #B8945B; }
.tdo-urgent .tdo-dot { background: #B3261E; }
.tdo-tx { flex: 1 1 auto; display: grid; gap: 3px; min-width: 0; }
.tdo-tx b { font-weight: 500; font-size: 16px; }
.tdo-tx span { color: #6B6A64; font-size: 14px; line-height: 1.45; }
.tdo-go { flex: none; color: #8A6A35; font-size: 20px; }
.tdo-ic { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #1C1B18; display: grid; place-items: center; }
.tdo-ic svg { width: 18px; height: 18px; fill: none; stroke: #E8D9BC; stroke-width: 1.6; }
.tdo-none { margin: 4px 0 0; color: #3A3934; }
.tdo-page .wp-q { margin: 0; }
.tdo-slim { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: #FFFDF8; border: 1px solid rgba(184, 148, 91, .35); color: #1C1B18; text-decoration: none; font-size: 15px; line-height: 1.4; }
.tdo-slim .tdo-n { flex: none; min-width: 26px; height: 26px; border-radius: 13px; background: #B3261E; color: #fff; display: grid; place-items: center; font-size: 13px; padding: 0 7px; }
.tdo-slim .tdo-go { margin-left: auto; font-size: 12px; letter-spacing: .14em; color: #8A6A35; white-space: nowrap; }
.m-more > summary { position: relative; }
.m-more > summary .mo-dot { position: absolute; top: 6px; right: calc(50% - 20px); width: 9px; height: 9px; border-radius: 50%; background: #B3261E; box-shadow: 0 0 0 2px #FBF8F2; }
/* Badges page: the focus, then everything else folded */
.ach-focus { display: grid !important; gap: 4px; }
.ach-focus .af-k { font-size: 11px; letter-spacing: .2em; color: #8A6A35; }
.ach-focus b { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 500; line-height: 1.15; }
.aw-all .aw-in { padding: 8px 0 18px; border-bottom: 1px solid rgba(28, 27, 24, .08); margin-bottom: 8px; box-shadow: none; background: none; }
/* Reminders: the box for each choice (email, mobile number) */
.rb-f { display: flex; flex-direction: column; gap: 8px; padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.rb-f[hidden] { display: none !important; }
/* Your tennis: one short page at a time */
.obq { display: flex; flex-direction: column; gap: 14px; }
.obq[hidden] { display: none !important; }
.obq-of { font-size: 11px; letter-spacing: .24em; color: #8A6A35; }
.obq-who { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.2; }
.obq-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.obq-nav[hidden], .ob-fin[hidden] { display: none !important; }
.obq-nav .btn { min-width: 160px; }
/* a panel's Back sits on the left, in line with what is under it (never floating in the middle) */
html[data-app="member"] dialog.pg-inline > .pg-back { justify-content: flex-start !important; text-align: left !important; }
html[data-app="member"] dialog.pg-inline > .pg-back > button { margin-left: 0 !important; margin-right: 0 !important; }
/* the big member pages: cards that have their own fill keep their words off the sides */
@media (min-width: 768px) {
  .mv2 .card:not(.ws-card):not([data-edge-ok]) { padding-left: 28px; padding-right: 28px; }
  .mv2 .card.pg-flat, .mv2 .card[style*="background: transparent"] { padding-left: 0; padding-right: 0; }
}
/* Wellness on a laptop: about 80% of the screen and four practices in one row */
@media (min-width: 1024px) {
  .m-wrap.wl { max-width: min(1240px, 80vw) !important; }
  /* member pages on a laptop: one calm column (about 980px); Wellness keeps its wider studio layout */
  html[data-app="member"] main .mv2, html[data-app="member"] main .m-wrap:not(.wl):not(.lr), html[data-app="member"] main > .m-wrap:not(.wl):not(.lr), html[data-app="member"] main > *:not(nav):not(dialog):not(.tabbar):not(.wl):not(.lr) { max-width: min(980px, 72vw) !important; }
  /* Wellness: the week and Your 3 for today next to each other, not stretched across */
  .wl-pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px; align-items: start; }
  .wl-pair > .card { margin-top: 0 !important; margin-bottom: 0 !important; height: auto; }
  .wl-pair .wl-week .ww-d, .wl-pair .wl-week [class*="day"] { min-width: 0; }
  html.wl-studio .wl-sec .wl-list { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
/* the greeting avatar: no "+" badge (adding a photo lives in My tennis) */
.mt-avatar .mt-plus { display: none !important; }
/* member Profile menu: Text size shows on a laptop too */
html[data-app="member"] body .m-nav > .tabbar.admin details.m-more > div > .ts-row.mo-ts, html[data-app="member"] body .tabbar details.m-more > div > .ts-row.mo-ts { display: flex !important; }
/* Your tennis: each question has room to breathe */
.obq { gap: 26px !important; }
.obq-sec { display: flex; flex-direction: column; gap: 12px; }
.obq-sec + .obq-sec { padding-top: 22px; border-top: 1px solid rgba(28, 27, 24, .08); }

.wl-pair { margin: 0 0 20px; }
@media (max-width: 1023px) { .wl-pair { display: block; } .wl-pair > .card + .card { margin-top: 16px; } }

/* member pop-ups with a lot inside (badges, from your coach, photos): wider, scrolling inside */
@media (min-width: 768px) { html dialog.rg-sheet.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop-wide[open] { max-width: min(880px, calc(100vw - 64px)) !important; } }
.wp-dep[hidden], .wp-ir[hidden], [data-wp-add][hidden] { display: none !important; }
.wp-dep { margin: 4px 0 6px; padding-left: 14px; border-left: 2px solid rgba(196,154,85,0.35); }
.wp-add { margin: 2px 0 12px; }
.wp-opt { margin: 10px 0 4px; } .wp-opt > summary { list-style: none; cursor: pointer; } .wp-opt > summary::-webkit-details-marker { display: none; }
.hcd-list .list-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.08); font-size: 15px; } .hcd-list .list-row > span:last-child { text-align: right; } .hcd-sheet .btn { margin-top: 16px; align-self: flex-start; }
/* inside a pop-up: calm sizes, never a giant title or photo */
html dialog.rg-pop h1, html dialog.rg-pop .m-h1, html dialog.rg-pop .big, html dialog.rg-pop h2, html dialog.rg-pop .rgx-h { font-size: clamp(22px, 2.2vw, 28px) !important; line-height: 1.2 !important; margin-top: 4px !important; }
html dialog.rg-pop h3, html dialog.rg-pop .serif[style*="font-size: 2"], html dialog.rg-pop .serif[style*="font-size: 3"] { font-size: 20px !important; line-height: 1.25 !important; }
html dialog.rg-pop img:not(.av):not([class*="icon"]):not([width="24"]) { max-height: 220px !important; width: auto; max-width: 100% !important; object-fit: cover; border-radius: 12px; }
html dialog.rg-pop [style*="background-image"]:not(.av) { max-height: 220px; }
html dialog.rg-pop .is-full { margin-top: 18px !important; }
/* member PROFILE menu on a tablet or laptop: one tidy list under PROFILE, grouped, light card */
@media (min-width: 768px) {
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more { position: relative; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div {
    display: flex !important; flex-direction: column !important; grid-template-columns: none !important; flex-wrap: nowrap !important;
    position: absolute !important; top: calc(100% + 14px) !important; left: 50% !important; right: auto !important; transform: translateX(-50%) !important;
    width: 300px !important; max-width: 300px !important; min-width: 0 !important; padding: 10px !important; gap: 0 !important; columns: auto !important;
    background: #FFFDF8 !important; color: #1C1B18 !important; border: 1px solid rgba(28,27,24,0.1) !important; border-radius: 16px !important; box-shadow: 0 18px 50px rgba(28,27,24,0.16) !important; z-index: 80 !important;
  }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > a, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > button, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > form button {
    display: flex !important; align-items: center; justify-content: space-between; gap: 10px; width: 100% !important; box-sizing: border-box;
    padding: 11px 14px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: none !important;
    color: #1C1B18 !important; font: 500 12px/1.3 'Jost', sans-serif !important; letter-spacing: 0.14em !important; text-transform: uppercase; text-align: left; white-space: nowrap; cursor: pointer;
  }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > a:hover, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > button:hover, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > form button:hover { background: #F3EEE4 !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > a.must { color: #7A5B2B !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div .mo-n { position: static !important; margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #C49A55; color: #fff; font-size: 11px; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div .mo-n.zero { display: none !important; }
  /* the settings at the bottom: language and text size side by side, then sign out */
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-lang { margin-top: 6px !important; border-top: 1px solid rgba(28,27,24,0.08) !important; border-radius: 0 !important; padding-top: 14px !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-ts { text-transform: none; letter-spacing: 0.04em !important; font-size: 13px !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-ts .ts-aa { font-family: 'Cormorant Garamond', serif; font-size: 18px; margin-right: 8px; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-out { margin: 6px 0 0 !important; padding-top: 6px !important; border-top: 1px solid rgba(28,27,24,0.08) !important; width: 100%; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-out button { color: #8E1F16 !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; background: #FFFDF8; border-left: 1px solid rgba(28,27,24,0.1); border-top: 1px solid rgba(28,27,24,0.1); transform: translateX(-50%) rotate(45deg); }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > *::before, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > *::after { display: none !important; }
}
/* member notifications on a tablet or laptop: a small panel right under the bell (like admin), not a big window */
@media (min-width: 768px) {
  html[data-app="member"] dialog#mn-sheet.rg-pop.rg-pop.rg-pop.rg-pop.rg-pop[open] { inset: auto !important; top: 78px !important; right: max(24px, calc((100vw - min(1240px, 80vw)) / 2 - 40px)) !important; left: auto !important; margin: 0 !important; width: 380px !important; max-width: calc(100vw - 32px) !important; max-height: min(70vh, 560px) !important; animation: lg-drop .18s ease !important; }
  html[data-app="member"] dialog#mn-sheet.rg-pop::backdrop { background: rgba(28,27,24,0.08) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  html[data-app="member"] dialog#mn-sheet h1, html[data-app="member"] dialog#mn-sheet h2, html[data-app="member"] dialog#mn-sheet .rgx-h { font-size: 20px !important; }
}
@keyframes lg-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
/* Achievements: the title, the line under it and 0 / 6 sit inside the box, never on its edge */
html .card.ach-g, html .mv2 .card.ach-g, html .ach-fold .card.ach-g { padding: 22px 26px 24px !important; box-sizing: border-box; }
html .ach-g .ach-top { padding: 0 !important; }
@media (min-width: 768px) {
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open]::before, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open]::after, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > summary::before { display: none !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > a#fy-link { order: 1; color: #1C1B18 !important; font-size: 12px !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > a.must { order: 0; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > a:not(.must):not(#fy-link):not(.mo-lang) { order: 2; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-lang { order: 3; } 
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-ts { order: 4; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > .mo-out { order: 5; }
  html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > a, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > button, html[data-app="member"] body .mem-top.mem-top.mem-top details.m-more[open] > div > form button { padding: 9px 14px !important; min-height: 0 !important; }
}
/* ASK LEGACY: the same pill as admin, for members and coaches, on a tablet or laptop */
@media (min-width: 768px) {
  html:is([data-app=member],[data-app=coach]) body .ak-launch.ak-launch { width: auto !important; height: 52px !important; padding: 0 24px 0 20px !important; gap: 12px !important; border-radius: 999px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; bottom: 24px !important; right: 24px !important; }
  html:is([data-app=member],[data-app=coach]) body .ak-launch.ak-launch svg { width: 20px !important; height: 20px !important; }
  html:is([data-app=member],[data-app=coach]) body .ak-launch.ak-launch .ak-label { position: static !important; transform: none !important; clip: auto !important; width: auto !important; height: auto !important; overflow: visible !important; white-space: nowrap; font: 500 12px/1 'Jost', sans-serif !important; letter-spacing: 0.22em !important; text-transform: uppercase; color: #F5EFE4 !important; }
}
/* New booking alerts: pinned at the top of Overview until opened, confirmed or marked done */
.ba-wrap { display: flex; flex-direction: column; gap: 12px; margin: 0 0 22px; }
.ba-card { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 18px 22px; border-radius: 16px; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.1); box-shadow: 0 10px 30px rgba(28,27,24,0.06); }
.ba-card.ba-new { background: #1C1B18; border-color: #1C1B18; }
.ba-card.ba-new .ba-t, .ba-card.ba-new .ba-cd { color: #F5EFE4; } .ba-card.ba-new .ba-l { color: #CFC6B6; } .ba-card.ba-new .ba-k { color: #D9BE8C; } .ba-card.ba-new .link-btn { color: #D9BE8C; }
.ba-main { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #1C1B18; }
.ba-k { font-size: 11px; letter-spacing: 0.24em; color: #7A5B2B; } .ba-t { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 22px; line-height: 1.2; } .ba-l { font-size: 14px; color: #59544B; line-height: 1.45; }
.ba-side { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; } .ba-cd { font-size: 13px; color: #1C1B18; white-space: nowrap; }
.ba-soon .ba-cd { color: #B26A00 !important; font-weight: 500; } .ba-late .ba-cd { color: #E5675C !important; font-weight: 500; } .ba-late:not(.ba-new) .ba-cd { color: #B3261E !important; }
.ba-detail .list-row { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.notify-who { margin: 0 0 10px; padding: 10px 14px; border-radius: 10px; background: #F3EEE4; color: #59544B; font-size: 13px; line-height: 1.5; }
.notify-who-s { display: block; font-size: 12px; margin: 2px 0 8px; }
/* a family's preferred times: one per line, numbered */
.pt-list { list-style: none; counter-reset: pt; margin: 10px 0 12px; padding: 0; display: grid; gap: 6px; }
.pt-list li { counter-increment: pt; display: flex; align-items: baseline; gap: 12px; font-size: 16px; line-height: 1.4; }
.pt-list li::before { content: counter(pt); flex: 0 0 24px; height: 24px; border-radius: 50%; background: #1C1B18; color: #F4EFE6; font-size: 12px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; transform: translateY(-1px); }
.pt-list li b { font-weight: 500; color: #1C1B18; }
.pt-list .pt-bk { font-size: 12px; letter-spacing: 0.08em; color: #7A5B2B; }
.cf-bought { display: block; margin: 6px 0 2px; font-size: 14px; letter-spacing: 0; text-transform: none; color: #7A5B2B; line-height: 1.45; }
/* the confirmation after saving: stays 10 seconds, ✕ closes it */
.lg-done { position: fixed; top: calc(env(safe-area-inset-top) + 18px); left: 50%; transform: translate(-50%, -12px); opacity: 0; transition: opacity .25s, transform .25s; z-index: 2147483000; width: min(560px, calc(100vw - 32px)); box-sizing: border-box; display: flex; align-items: flex-start; gap: 12px; padding: 16px 48px 18px 18px; border-radius: 14px; background: #EAF4EC; border: 1px solid #9BC7A5; color: #1D4A2A; box-shadow: 0 14px 40px rgba(0,0,0,0.16); font-size: 15px; line-height: 1.5; overflow: hidden; }
.lg-done.on { opacity: 1; transform: translate(-50%, 0); }
.lg-done.err { background: #FBECEA; border-color: #E2A59C; color: #7A2318; }
.lg-done-ic { flex: 0 0 26px; height: 26px; border-radius: 50%; background: #2E7D45; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }
.lg-done.err .lg-done-ic { background: #B3261E; }
.lg-done-t { flex: 1; min-width: 0; padding-top: 2px; }
.lg-done-x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(0,0,0,0.06); color: inherit; font-size: 14px; cursor: pointer; }
.lg-done-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: currentColor; opacity: .35; transform-origin: left; animation: lgDoneBar 10s linear forwards; }
@keyframes lgDoneBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
dialog .lg-done { position: fixed; }
.notice.flash-n { display: none; }
/* More for today: the same width as the rest of the admin, and one line per item */
@media (min-width: 761px) { dialog.st-more-sheet { padding-left: max(24px, calc((100vw - 1216px) / 2)) !important; padding-right: max(24px, calc((100vw - 1216px) / 2)) !important; } }
.st-more-sheet .calm-in { width: 100%; max-width: none; }
.st-more-sheet .mt-list { margin: 0 !important; }
html dialog.rg-sheet.st-more-sheet.st-more-sheet.st-more-sheet.st-more-sheet.st-more-sheet.st-more-sheet[open] { padding-left: max(20px, calc((100vw - 1216px) / 2)) !important; padding-right: max(20px, calc((100vw - 1216px) / 2)) !important; }
dialog.st-more-sheet .pg-back { padding-left: max(16px, calc((100vw - 1216px) / 2 - 4px)) !important; padding-right: max(16px, calc((100vw - 1216px) / 2 - 4px)) !important; }
@media (min-width: 1000px) { :is([data-app=coach], [data-app=admin]) .st-more-sheet .glance-strip { grid-template-columns: repeat(4, 1fr) !important; } :is([data-app=coach], [data-app=admin]) .st-more-sheet .glance-strip > .g-urgent { grid-column: 1 / -1; } }
a.pg-row, a.pg-row:hover { text-decoration: none !important; color: #0E0E0E; } a.pg-row * { text-decoration: none !important; }
.ba-card.ba-sch { border-left: 4px solid #B8945B; background: #FBF5EA; }
/* after scheduling: the confirmation is green, closes by itself after 10 seconds (✕ or DONE close it sooner) */
dialog.cf-sheet.cf-auto { border-top: 6px solid #2E7D45 !important; position: fixed; overflow: hidden; }
dialog.cf-sheet.cf-auto .cf-ic { background: #2E7D45 !important; color: #fff !important; }
dialog.cf-sheet.cf-auto .lg-done-bar { color: #2E7D45; }
/* Notify me: the chosen day is dark with white text; several picks, in order, each can move or go */
html .wait-f .nt-day.nt-day:has(input:checked) { background: #0E0E0E !important; border-color: #0E0E0E !important; }
html .wait-f .nt-day.nt-day:has(input:checked) .wk-d { color: #FAF8F2 !important; } html .wait-f .nt-day.nt-day:has(input:checked) .nt-every { color: rgba(250,248,242,0.75) !important; }
.wait-f .nt-days.nt-need, .wait-f .nt-sel.nt-need { animation: ntShake .35s; } @keyframes ntShake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.nt-sel { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px dashed #D9CBB0; border-radius: 14px; background: #FFFDF8; }
.nt-sel:not(.has)::after { content: attr(data-empty); font-size: 14px; color: #59544B; }
.nt-sel:not(.has) .sp-k { display: none; }
.nt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.nt-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #E7E0D3; border-radius: 12px; font-size: 15px; }
.nt-n { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #1C1B18; color: #F4EFE6; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.nt-lbl { flex: 1; font-weight: 500; color: #1C1B18; } .nt-tag { font-size: 12px; color: #7A5B2B; }
.nt-mv, .nt-x { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #E7E0D3; background: #FAF8F2; cursor: pointer; font-size: 13px; color: #1C1B18; }
.nt-mv:disabled { opacity: .3; cursor: default; } .nt-x { color: #8A2C1E; }
/* this window and Schedule a session: a comfortable width, not the whole screen */
@media (min-width: 761px) {
  html[data-app="member"] .wait-f, html[data-app="member"] #notify > form, html[data-app="member"] .opt-f, html[data-app="member"] form.sched-f { max-width: 720px; margin-left: auto !important; margin-right: auto !important; }
}
dialog > form[method="dialog"]:has(> .x-close) ~ .x-close { display: none !important; }
.mh-pair { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 900px) { .mh-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; } .mh-pair > * { margin: 0 !important; min-width: 0; } }
@media (min-width: 761px) {
  html[data-app="member"] .sv-cal > form.sand, html[data-app="member"] details.sv-cal form.sand { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
  html[data-app="member"] dialog[open]:has(form.wait-f), html[data-app="member"] dialog[open]:has(.sv-cal form.sand) { max-width: 760px !important; }
}
/* Daily habits: water on the left, sleep on the right (like the rest of Wellness); sleep as moons, last night's hours in the night colour */
@media (min-width: 900px) {
  .wl-habits { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 40px; row-gap: 14px; align-items: start; }
  .wl-habits > .eyebrow { grid-column: 1 / -1; }
  .wl-habits .wl-sleep { padding-top: 0 !important; border-top: 0 !important; padding-left: 40px !important; border-left: 1px solid rgba(28, 27, 24, .08) !important; }
}
.wl-habits .sl-g { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wl-habits .sl-c { display: flex !important; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 4px !important; border-radius: 14px !important; border: 1px solid #E7E0D3 !important; background: #FFFDF8 !important; color: #59544B !important; cursor: pointer; }
.wl-habits .sl-c .sl-moon { width: 20px; height: 20px; fill: #D9D2C3; transition: fill .2s; }
.wl-habits .sl-c .sl-v { font-size: 15px; font-weight: 500; }
.wl-habits .sl-c.rec { border-color: #D9BE8C !important; background: #FBF5EA !important; } .wl-habits .sl-c.rec .sl-moon { fill: #D9BE8C; }
.wl-habits .sl-c.on { background: #1E2433 !important; border-color: #1E2433 !important; color: #F5EFE4 !important; } .wl-habits .sl-c.on .sl-moon { fill: #E8C77E; }
dialog:has(> .x-close) .fold-close, dialog:has(> form[method="dialog"] > .x-close) .fold-close { display: none !important; }
/* Wellness history: day by day, week / month / since the start, downloadable */
.wl-history { display: flex; flex-direction: column; gap: 14px; }
.wh-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; } .wh-top .muted { display: block; margin-top: 4px; }
.wh-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #F1EBE1; border-radius: 999px; }
.wh-tab { padding: 8px 14px; border-radius: 999px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #59544B; text-decoration: none; } .wh-tab.on { background: #1C1B18; color: #FAF8F2; }
.wh-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; } .wh-sum span { padding: 12px 14px; background: #FBF5EA; border-radius: 12px; font-size: 13px; color: #59544B; } .wh-sum b { display: block; font: 400 24px/1.1 'Cormorant Garamond', Georgia, serif; color: #1C1B18; }
@media (max-width: 640px) { .wh-sum { grid-template-columns: 1fr 1fr; } }
.wh-list { display: flex; flex-direction: column; max-height: 520px; overflow-y: auto; border-top: 1px solid #EEE7DA; }
.wh-row { display: grid; grid-template-columns: 92px 1fr auto auto 44px; gap: 10px; align-items: center; padding: 10px 2px; border-bottom: 1px solid #EEE7DA; font-size: 14px; }
.wh-row.wh-none { color: #9A9387; } .wh-d b { font-weight: 500; color: #1C1B18; } .wh-none .wh-d b { color: #9A9387; }
.wh-x { display: flex; flex-wrap: wrap; gap: 6px; } .wh-p { padding: 4px 10px; border-radius: 999px; background: #F1EBE1; font-size: 13px; color: #1C1B18; } .wh-p i { display: block; font-size: 12px; color: #59544B; }
.wh-mind { background: #E7EEF6; } .wh-body { background: #E8F1E6; } .wh-game { background: #F6E7E1; }
.wh-n { font-size: 13px; color: #59544B; white-space: nowrap; } .wh-c { font-weight: 500; text-align: right; }
@media (max-width: 640px) { .wh-row { grid-template-columns: 70px 1fr 40px; } .wh-row .wh-n { display: none; } }
.wh-dl { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
/* Member profile menu: one clean black panel (no sticker look), white text, gold for what needs you, sign out in red */
@media (min-width: 761px) {
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more[open] > div { background: #141414 !important; border: 1px solid #2A2824 !important; border-radius: 16px !important; box-shadow: 0 24px 60px rgba(0,0,0,0.35) !important; padding: 8px !important; min-width: 280px; width: 300px !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more[open] > div::before, html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more[open] > div::after { background: #141414 !important; border-color: #2A2824 !important; box-shadow: none !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > a, html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > button, html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > form > button {
    display: flex !important; align-items: center; justify-content: space-between; gap: 10px; width: 100%; box-sizing: border-box; min-height: 44px !important; padding: 10px 14px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important;
    color: #EDE6DA !important; font-family: inherit; font-size: 12px !important; letter-spacing: 0.16em !important; font-weight: 500; text-transform: uppercase; text-decoration: none !important; cursor: pointer; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > a:hover, html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > button:hover, html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > form > button:hover { background: rgba(255,255,255,0.07) !important; color: #FFFFFF !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > a.must { color: #E8C77E !important; background: rgba(232,199,126,0.08) !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more .mo-n { background: #E8C77E !important; color: #141414 !important; min-width: 22px; height: 22px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; letter-spacing: 0; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > .mo-lang { margin-top: 6px !important; border-top: 1px solid rgba(255,255,255,0.1) !important; border-radius: 0 0 10px 10px !important; padding-top: 14px !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > .mo-ts { text-transform: none !important; letter-spacing: 0.02em !important; font-size: 13px !important; justify-content: flex-start; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > .mo-ts .ts-aa { color: #E8C77E !important; font-size: 16px; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > form.mo-out { margin: 6px 0 0 !important; padding: 6px 0 0 !important; border-top: 1px solid rgba(255,255,255,0.1) !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > form.mo-out > button { color: #FF8A7A !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more > div > form.mo-out > button:hover { background: rgba(255,138,122,0.1) !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more[open] > div::before { background: #141414 !important; border-color: #2A2824 !important; }
  html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more[open]::before, html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top details.m-more[open]::after { display: none !important; }
}
/* Aa (text size) next to search in the top bar, the same in member, coach and admin */
@media (min-width: 768px) { html[data-app=member]:has(nav.tabbar) header.m-head .ts-btn.ts-btn { display: inline-flex !important; } }
/* Events: what is coming, said warmly, then the idea button */
.ev-soon { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: linear-gradient(135deg, #1C1B18, #2E2A22); color: #EDE6DA; }
.ev-soon-k { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #E8C77E; }
.ev-soon b { font: 400 22px/1.25 'Cormorant Garamond', Georgia, serif; color: #FAF8F2; } .ev-soon span:last-child { font-size: 15px; line-height: 1.55; color: #CFC6B6; }
details.ev-idea > summary.ev-idea-btn { list-style: none; display: inline-flex; align-self: flex-start; cursor: pointer; } details.ev-idea > summary.ev-idea-btn::-webkit-details-marker { display: none; }
/* Member notifications: the same small panel as admin (title line with ✕, then the list) */
@media (min-width: 761px) {
  html[data-app="member"] dialog#mn-sheet.mn-sheet[open] { padding: 22px 24px 18px !important; border-radius: 18px !important; width: min(460px, calc(100vw - 32px)) !important; }
  html[data-app="member"] dialog#mn-sheet > .pg-back { display: none !important; }
  html[data-app="member"] dialog#mn-sheet > .rgx-h { margin: 0 0 6px !important; padding-right: 48px; font-family: 'Jost', 'Helvetica Neue', sans-serif !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0.24em !important; text-transform: uppercase; color: #3A3934 !important; line-height: 32px !important; }
  html[data-app="member"] dialog#mn-sheet > .x-close { position: absolute !important; top: 18px !important; right: 18px !important; width: 36px !important; height: 36px !important; }
  html[data-app="member"] dialog#mn-sheet .mn-sub { font-size: 13px; margin: 0 0 6px; }
  html[data-app="member"] dialog#mn-sheet .ac-l { margin: 0; padding: 0; }
  html[data-app="member"] dialog#mn-sheet .ac-r { padding: 14px 0 !important; border-bottom: 1px solid #EEE7DA; font-size: 15px; line-height: 1.45; }
  html[data-app="member"] dialog#mn-sheet .ac-r:last-child { border-bottom: 0; }
}
.ac-head-acts { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ac-mylist { white-space: nowrap; }
/* one top bar for everyone: messages, bell, search, Aa, in the same order and on phone too */
html[data-app=member] header.m-head .m-nav > .m-msg.mt-right { order: 1; }
html[data-app=member] header.m-head .m-nav > .m-bell.mt-right { order: 2; }
html[data-app=member] header.m-head .m-nav > .m-find-top { order: 3; }
html[data-app=member] header.m-head .m-nav > .ts-solo { order: 4; }
html[data-app=member]:has(nav.tabbar) header.m-head .m-nav > .ts-btn.ts-solo.ts-solo { display: inline-flex !important; }
html[data-app=member] header.m-head .m-navlinks > a.m-msg { order: 1; }
html[data-app=member] header.m-head .m-navlinks > .m-bell { order: 2; }
/* one ✕ only: when the top bar of a window already has its close, the second one tucked inside the window's own form is not shown */
html dialog.rg-sheet:not(.rg-bsheet):not(.sf-sheet):not(.guard-dlg):not(.yay-dlg):not(.ct-sheet)[open]:has(> .pg-back) > form[method="dialog"] > .x-close { display: none !important; }
/* the bell: turn on push notifications on this phone */
.lg-bell-p .lg-push-c { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; margin: 0 0 8px; border: 1px solid #E7E0D3; border-radius: 12px; background: #FBF8F1; }
.lg-bell-p .lg-push-c .eyebrow { font-size: 10px; letter-spacing: 2px; }
.lg-bell-p .lg-push-c .btn { width: 100%; justify-content: center; white-space: normal; line-height: 1.3; }
.lg-push-c [hidden], .lg-push-f [hidden] { display: none !important; }
.lg-push-c .pk-on, .lg-push-f .pk-on { color: #2F6B3A; font-size: 14px; }
/* the refund button: red, so it is never pressed by mistake */
html body dialog.rf-sheet.rf-sheet.rf-sheet form.rf-f button.btn.rf-go.rf-go[type=submit], html body dialog.rf-sheet.rf-sheet.rf-sheet form.rf-f button.btn.rf-go.rf-go[type=submit]:hover { background: #8C1D18 !important; border-color: #8C1D18 !important; color: #FFFFFF !important; }
/* the profile menu: only the small pointer under PROFILE, no stray line (a leftover pointer drew a diagonal bar in Safari) */
html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top.mem-top details.m-more[open] > div::before { display: none !important; content: none !important; }
html[data-app="member"] body .mem-top.mem-top.mem-top.mem-top.mem-top details.m-more[open] > div::after { width: 14px !important; height: 14px !important; top: -7px !important; border: 0 !important; transform: translateX(-50%) rotate(45deg) !important; }
/* Schedule a session: a slim form (about 60% of the page on a computer), centered, never stretched across */
@media (min-width: 861px) { html[data-app="member"] body form#request { width: 100%; max-width: 680px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; } }
/* the idea form for events opens right under its button */
details.ev-idea-inline { margin-top: 10px; } details.ev-idea-inline > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
details.ev-idea-inline > summary::-webkit-details-marker { display: none; } details.ev-idea-inline[open] .ev-caret { transform: rotate(180deg); }
details.ev-idea-inline > form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; max-width: 620px; }
.ev-idea-lead { margin-top: 12px; }
/* Home: my next badge, how far, what to do */
#ach-home.ach-next { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
#ach-home.ach-next .ach-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
#ach-home.ach-next .ach-cnt { font-size: 13px; color: #7A5B2B; letter-spacing: 1px; }
#ach-home.ach-next .ach-nx { display: flex; align-items: center; gap: 14px; }
#ach-home.ach-next .ach-nx-i { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #1C1B18; color: #D9BE8C; }
#ach-home.ach-next .ach-nx-i svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#ach-home.ach-next .ach-nx-t { display: flex; flex-direction: column; gap: 2px; } #ach-home.ach-next .ach-nx-t b { font-size: 24px; font-weight: 400; color: #1C1B18; }
#ach-home.ach-next .ach-bar { display: block; height: 8px; border-radius: 6px; background: #EFE8DA; overflow: hidden; } #ach-home.ach-next .ach-bar i { display: block; height: 100%; border-radius: 6px; background: #B8945B; }
#ach-home.ach-next .ach-pl b { font-weight: 500; font-size: 15px; color: #1C1B18; } #ach-home.ach-next .ach-hn { font-size: 14px; color: #59544B; }
#ach-home.ach-next .ach-ft { font-size: 13px; color: #59544B; margin-top: 4px; } #ach-home.ach-next .ach-all { color: #7A5B2B; letter-spacing: 1.5px; font-size: 12px; white-space: nowrap; }
#ach-home.ach-next .ach-nx-i.ach-b { border-radius: 50% !important; border: 0 !important; }
/* breathing room: banners never sit right under the greeting */
html[data-app="member"] .m-wrap.v-home > .notice.tier-act, html[data-app="member"] .m-wrap > .notice.tier-act { margin-top: 20px !important; margin-bottom: 8px; }
/* events: text inside the dark "coming soon" box never touches its edges; the idea form opens without an extra ✕ */
html body .ev-soon.ev-soon { padding: 22px 26px !important; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; border-radius: 16px; }
details.ev-idea-inline .fold-close, details.ev-idea-inline > .x-close { display: none !important; }
section.card.events { padding-bottom: 30px !important; }
/* inside the apps: no tall empty space before the quiet footer line */
body:has(.tabbar) main { min-height: 0 !important; }
body:has(.tabbar) .m-foot.quiet { margin-top: 28px !important; padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important; }

/* sleep: a slim row of four, rectangles not squares */
.wl-sleep .sl-c { display: flex !important; align-items: center !important; justify-content: center !important; aspect-ratio: auto !important; min-height: 0 !important; height: 52px !important; padding: 0 8px !important; flex-direction: row !important; gap: 6px !important; border-radius: 12px !important; }
.wl-sleep .sl-c .sl-moon { width: 14px !important; height: 14px !important; }
.wl-sleep .sl-c .sl-v { font-size: 16px !important; }

/* ---------- wellness journal: one quiet page per day ---------- */
.wh2 .wh2-lead { margin: 6px 0 16px; font-size: 14px; line-height: 1.55; color: #59544B; }
.wh2 .wh-tabs { margin-bottom: 18px; }
.whs-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(184,148,91,0.45); border-bottom: 1px solid rgba(28,27,24,0.08); margin-bottom: 8px; }
.whs { padding: 14px 6px 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; }
.whs + .whs { border-left: 1px solid rgba(28,27,24,0.08); }
.whs b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1; color: #1C1B18; }
.whs b small { font-size: 15px; color: #9A9387; }
.whs span { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #7A5B2B; line-height: 1.35; }
.wh2-list { display: flex; flex-direction: column; }
.wh2-day { padding: 18px 0 16px; border-bottom: 1px solid rgba(28,27,24,0.08); }
.wh2-dh { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.wh2-num { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; line-height: 0.9; color: #1C1B18; min-width: 38px; }
.wh2-wd { display: flex; flex-direction: column; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #9A9387; flex: 1; }
.wh2-wd b { font-weight: 500; color: #1C1B18; letter-spacing: 0.14em; }
.wh2-dots { display: inline-flex; align-items: center; gap: 5px; }
.wh2-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid #B8945B; }
.wh2-dots i.on { background: #B8945B; }
.wh2-dots em { font-style: normal; font-size: 12px; color: #59544B; margin-left: 4px; }
.wh2-b { display: flex; flex-direction: column; gap: 10px; padding-left: 50px; }
.wh2-p { display: flex; flex-direction: column; gap: 2px; }
.wh2-k { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #7A5B2B; }
.wh2-t { font-size: 15px; color: #1C1B18; line-height: 1.4; }
.wh2-note, .wh2-grat { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; color: #3A3934; line-height: 1.4; }
.wh2-badge .wh2-t { color: #7A5B2B; }
.wh2-m { display: flex; gap: 18px; font-size: 12px; letter-spacing: 0.06em; color: #59544B; padding-top: 2px; }
.wh2-m b { font-weight: 500; color: #1C1B18; }
.wh2-quiet { padding: 12px 0 12px 50px; font-size: 12px; letter-spacing: 0.06em; color: #9A9387; border-bottom: 1px solid rgba(28,27,24,0.06); font-style: italic; }
.wh2 .wh-dl { padding-top: 18px; }
@media (max-width: 420px) { .whs b { font-size: 22px; } .whs span { font-size: 9px; letter-spacing: 0.1em; } .wh2-b, .wh2-quiet { padding-left: 0; } }
/* plan profile: folding sections */
.wp-form details.wp-sec { border-top: 1px solid rgba(28,27,24,0.1); }
.wp-form details.wp-sec:last-of-type { border-bottom: 1px solid rgba(28,27,24,0.1); margin-bottom: 18px; }
.wp-form details.wp-sec > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 58px; padding: 6px 0; }
.wp-form details.wp-sec > summary::-webkit-details-marker { display: none; }
.wp-st { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #1C1B18; }
.wp-sn { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #7A5B2B; white-space: nowrap; }
.wp-sn.ok { color: #2F6B3E; }
.wp-sn::after { content: ' +'; color: #B8945B; font-size: 16px; }
details.wp-sec[open] .wp-sn::after { content: ' −'; }
.wp-sb { padding: 0 0 18px; }
.wp-sb .wp-next { margin-top: 14px; }
.wp-form .lg-step { display: none !important; }
.wp-form .lg-todo { outline: 0 !important; box-shadow: none !important; background: none !important; }
/* small buttons get a comfortable tap area on phones */
@media (max-width: 760px) {
  .link-btn, button.link-btn, a.link-btn { min-height: 40px; display: inline-flex; align-items: center; }
  .whs span { font-size: 10px !important; }
  input[type=checkbox], input[type=radio] { min-width: 22px; min-height: 22px; }
}
/* wellness folds */
details.wl-fold { background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); border-radius: 20px; margin: 0 0 12px; }
details.wl-fold > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; padding: 18px 20px; min-height: 64px; box-sizing: border-box; }
details.wl-fold > summary::-webkit-details-marker { display: none; }
.wf-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #1C1B18; }
.wf-s { grid-column: 1; font-size: 13px; color: #59544B; }
details.wl-fold > summary i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 22px; color: #B8945B; }
details.wl-fold[open] > summary i { transform: rotate(45deg); }
details.wl-fold > :not(summary) { margin: 0 !important; border: 0 !important; box-shadow: none !important; }
details.wl-fold > .wl-history .eyebrow:first-child, details.wl-fold > .wl-history .wh2-lead { display: none; }
/* People list: ten at a time */
.pl-folded > .pl-later { display: none !important; }
.pl-more-btn { display: block; width: 100%; margin: 14px 0 6px; }
/* Messages: swipe to trash */
.msg-row { position: relative; transition: transform .2s ease; }
.msg-swipe-act { all: unset; position: absolute; right: -96px; top: 0; bottom: 0; width: 88px; display: none; align-items: center; justify-content: center; background: #8B2E24; color: #FAF8F2; font-size: 11px; letter-spacing: 0.18em; border-radius: 12px; cursor: pointer; }
.msg-row.swiped { transform: translateX(-96px); }
.msg-row.swiped .msg-swipe-act { display: flex; }
@media (max-width: 760px) { .msg-row input[type=checkbox] { width: 24px; height: 24px; } }
/* Coach Today: what happened, as large buttons */
.cd-seg.cd-att { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cd-seg span { padding: 12px 16px; min-height: 46px; box-sizing: border-box; display: flex !important; align-items: center; justify-content: center; text-align: center; font-size: 15px; }
.cd-seg.cd-att span { width: 100%; }
.cd-seg input:checked + span { background: #1C1B18 !important; color: #FAF8F2 !important; border-color: #1C1B18 !important; }
.cd-seg.cd-att input[value="played"]:checked + span::before { content: '✓ '; color: #D9BE8C; }
/* Lessons week: day letters easier to read, today in bold gold */
.wk-d { font-size: 11.5px !important; letter-spacing: 0.08em; }
.wk-day.on .wk-d { font-weight: 600; color: #7A5B2B !important; }
/* small grey labels: at least 11px on phones */
@media (max-width: 760px) {
  .bubble .who, .msg-under .draft-small, .m-more > summary { font-size: 11.5px !important; }
  .tabbar a { font-size: 11px !important; }
}
@media (max-width: 760px) { html body nav.tabbar a { font-size: 11px !important; } }
/* journal: lighter, clean sans-serif numbers */
.wh-loading { opacity: .5; transition: opacity .2s; }
.whs b { font-family: 'Jost', 'Helvetica Neue', sans-serif !important; font-weight: 300 !important; font-size: 24px !important; }
.whs b small { font-size: 14px !important; }
.whs span { letter-spacing: 0.1em !important; font-weight: 400; }
.wh2-num { font-family: 'Jost', 'Helvetica Neue', sans-serif !important; font-weight: 300; font-size: 28px !important; }
.wh2-wd b { font-weight: 400 !important; letter-spacing: 0.12em !important; }
.wh2-m b { font-weight: 400 !important; }
details.wl-fold > summary .wf-s { background: none !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; }
/* journal tabs: full width, three equal parts */
#w-history .wh-tabs { display: grid !important; grid-template-columns: repeat(3, 1fr); width: 100%; box-sizing: border-box; }
#w-history .wh-tab { text-align: center; justify-content: center; display: flex; align-items: center; min-height: 40px; }
/* billing: the package at a glance */
.bl-pkg { margin: 18px 0 6px; padding: 18px 0 4px; border-top: 1px solid rgba(184,148,91,0.45); }
.bl-pkg-h { display: flex; justify-content: space-between; align-items: center; }
.bl-pkg-k { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; }
.bl-pkg-st { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #2F6B3E; }
.bl-pkg-off .bl-pkg-st { color: #8B2E24; }
.bl-pkg-big { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 10px; }
.bl-pkg-big b { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 300; font-size: 44px; line-height: 1; color: #1C1B18; }
.bl-pkg-big span { font-size: 14px; color: #59544B; }
.bl-pkg-bar { height: 4px; border-radius: 4px; background: #EFE8DC; overflow: hidden; }
.bl-pkg-bar i { display: block; height: 100%; background: #B8945B; }
.bl-pkg-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 16px 0 0; }
.bl-pkg-dl div { display: flex; flex-direction: column; gap: 2px; }
.bl-pkg-dl dt { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #9A9387; }
.bl-pkg-dl dd { margin: 0; font-size: 15px; color: #1C1B18; }
/* Achievements, simpler: no repeated intro, a small medal beside the count, one line of progress */
.mv2.aw .ach-focus { display: none !important; }
@media (max-width: 760px) {
  .mv2.aw .jr-hero:not(.jr-hero-sm) { flex-direction: row !important; align-items: center !important; text-align: left !important; gap: 16px !important; }
  .mv2.aw .jr-hero:not(.jr-hero-sm) > .big-medal, .mv2.aw .jr-hero:not(.jr-hero-sm) > svg { width: 104px !important; height: auto !important; max-width: 104px !important; flex: none; }
  .mv2.aw .jr-hero-r { align-items: flex-start !important; text-align: left !important; }
  .mv2.aw #challenges .jr-top .ch-name { font-size: 20px !important; }
  .mv2.aw .jr-badges { gap: 10px !important; }
}
.mv2.aw .jr-hero-r:has(.jv-medal) .jr-all { display: none !important; }
.wh2-bl { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: #7A5B2B; }
.whs span { font-size: 9.5px !important; letter-spacing: 0.06em !important; word-break: normal; hyphens: none; }
.whs { padding-left: 2px !important; padding-right: 2px !important; }
.sw-loading { opacity: .55; transition: opacity .15s; pointer-events: none; }
/* Promise watch */
details.pw > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
details.pw > summary::-webkit-details-marker { display: none; }
.pw-sum { font-size: 14px; color: #3A3934; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.pw-n { display: inline-flex; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; }
.pw-n.ok { background: #E6F0E8; color: #2F6B3E; } .pw-n.amber { background: #F6EBD6; color: #7A5B2B; } .pw-n.red { background: #8B2E24; color: #FAF8F2; }
.pw-b h4 { margin: 18px 0 6px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; font-weight: 500; }
.pw-r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.pw-r > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pw-r a { font-size: 13px; color: #7A5B2B; }
.pw-r.red { border-left: 3px solid #8B2E24; padding-left: 10px; }
.pw-q { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; color: #1C1B18; }
.pw-qa { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
/* member home: book again, and words */
.ba-again { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.ba-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; color: #1C1B18; }
details.qt-card > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
details.qt-card > summary::-webkit-details-marker { display: none; }
.qt-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #1C1B18; }
.qt-f { display: flex; flex-direction: column; gap: 14px; padding-top: 14px; }
.qt-f textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 12px; border: 1px solid rgba(28,27,24,0.2); border-radius: 12px; background: #FFFDF8; }
.pf-hit { box-shadow: 0 0 0 2px #B8945B !important; transition: box-shadow .4s; }

/* phones, everywhere (website, member, coach, admin): Ask Legacy is the round black button with "ASK LEGACY" underneath */
@media (max-width: 760px) {
  html:root body:not(#lg0) .ak-launch.ak-launch { width: 58px !important; height: 58px !important; min-width: 0 !important; padding: 0 !important; gap: 0 !important; border-radius: 50% !important; display: flex !important; align-items: center !important; justify-content: center !important; background: #0E0E0E !important; color: #D9BE8C !important; border: 1.5px solid #B8945B !important; box-shadow: 0 10px 26px rgba(14,14,14,0.3), 0 0 0 4px rgba(184,148,91,0.16) !important; overflow: visible !important; right: 16px !important; }
  html:root body:not(#lg0) .ak-launch.ak-launch svg { color: #D9BE8C !important; width: 24px !important; height: 24px !important; }
  html:root body:not(#lg0) .ak-launch.ak-launch .ak-label { display: block !important; position: absolute !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important; top: 100% !important; left: 50% !important; transform: translateX(-50%) !important; margin: 4px 0 0 !important; font-size: 9.5px !important; letter-spacing: .14em !important; font-weight: 500 !important; color: #7A5B2B !important; background: rgba(250,248,242,0.92) !important; padding: 1px 6px !important; border-radius: 6px !important; white-space: nowrap !important; }
  html:not([data-app]) body:not(#lg0) .ak-launch.ak-launch { bottom: calc(30px + env(safe-area-inset-bottom)) !important; }
  html:not([data-app]) body.sb-on:not(#lg0) .ak-launch.ak-launch { bottom: calc(96px + env(safe-area-inset-bottom)) !important; }
}
.lg-none, .ws-else { margin: 10px 0; font-size: 14px; }
.ws-else .link-btn { min-height: 0; display: inline; }
/* ---------- Legacy Recommends: a calm feed, like a well-kept profile ---------- */
.lr .lr-btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 6px; }
.lr .lr-btns .btn { flex: 1 1 160px; }
.lr .lc-search { width: 100%; box-sizing: border-box; min-height: 46px; padding: 0 16px; border: 1px solid rgba(28,27,24,0.16); border-radius: 999px; background: #FFFDF8; font: inherit; font-size: 16px; }
.lr-feed { display: flex; flex-direction: column; gap: 14px; }
.lr-post { background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); border-radius: 18px; padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; }
.lr-post[hidden] { display: none !important; }
.lr-top { display: flex; align-items: center; gap: 10px; }
.lr-av { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #F1EBE1; color: #7A5B2B; font-size: 14px; font-weight: 500; overflow: hidden; border: 1px solid rgba(184,148,91,0.4); }
.lr-av.leg { background: #0E0E0E; }
.lr-av img { width: 100%; height: 100%; object-fit: cover; }
.lr-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; flex: 1; }
.lr-who b { font-weight: 500; font-size: 14px; color: #1C1B18; }
.lr-who small { font-size: 11.5px; letter-spacing: 0.06em; color: #7A5B2B; }
.lr-t { margin: 2px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 21px; line-height: 1.2; color: #1C1B18; }
.lr-b { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3A3934; }
.lr-go { align-self: flex-start; margin-top: 2px; }
.lr .lr-chips { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.lr .lr-chips legend { font-size: 11px; letter-spacing: 0.18em; color: #59544B; margin-bottom: 6px; }
/* ---------- Legacy Recommends posts: like a beautiful feed ---------- */
.lr-feed { gap: 22px !important; }
.ig { background: #FFFDF8; border: 1px solid rgba(28,27,24,0.08); border-radius: 20px; overflow: hidden; box-shadow: 0 8px 24px -16px rgba(28,27,24,0.25); }
.ig[hidden] { display: none !important; }
.ig-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ig-who { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.ig-who b { font-weight: 500; font-size: 14px; color: #1C1B18; }
.ig-who small { font-size: 11px; letter-spacing: 0.08em; color: #7A5B2B; }
.ig-when { font-size: 12px; color: #9A9387; }
.ig-media { display: block; text-decoration: none; }
.ig-ph { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #F1EBE1; }
.ig-tile { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 12px; aspect-ratio: 1 / 1; padding: 12% 10%; box-sizing: border-box; background: radial-gradient(120% 90% at 30% 15%, #26231F 0%, #0E0E0D 70%); color: #FAF8F2; }
.ig:nth-child(3n+2) .ig-tile { background: radial-gradient(120% 90% at 30% 15%, #FBF8F2 0%, #EDE4D5 75%); color: #1C1B18; }
.ig:nth-child(3n+3) .ig-tile { background: radial-gradient(120% 90% at 70% 15%, #3A3328 0%, #1A1714 75%); }
.ig-k { font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase; color: #C9A86B; }
.ig-tt { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(26px, 8vw, 36px); line-height: 1.1; }
.ig-tile i { width: 40px; height: 1px; background: #B8945B; }
.ig-v { font-size: 10.5px; letter-spacing: 0.3em; color: #C9A86B; }
.ig-acts { display: flex; align-items: center; gap: 4px; padding: 8px 8px 0; }
.ig-b { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; min-width: 44px; height: 44px; justify-content: center; font-size: 13px; color: #1C1B18; }
.ig-b svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.ig-heart.on svg { fill: #B3261E; stroke: #B3261E; }
.ig-heart.on { animation: ig-pop .3s ease; }
@keyframes ig-pop { 50% { transform: scale(1.18); } }
.ig-b.ok { color: #2F6B3E; }
.ig-visit { margin-left: auto; margin-right: 8px; font-size: 11px; letter-spacing: 0.22em; color: #7A5B2B; text-decoration: none; border-bottom: 1px solid #B8945B; padding: 4px 0; }
.ig-cap { padding: 4px 16px 14px; font-size: 14.5px; line-height: 1.5; color: #3A3934; }
.ig-cap b { font-weight: 500; color: #1C1B18; }
.ig-cap .ig-txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ig-cap.open .ig-txt { display: inline; -webkit-line-clamp: unset; }
.ig-more { all: unset; cursor: pointer; color: #9A9387; font-size: 13.5px; }
.ig-reps { padding: 0 16px 10px; font-size: 13.5px; color: #3A3934; }
.ig-reps p { margin: 4px 0; } .ig-reps b { font-weight: 500; }
.ig-reply { display: flex; gap: 8px; padding: 0 12px 14px; }
.ig-reply input { flex: 1; min-width: 0; min-height: 40px; padding: 0 14px; border: 1px solid rgba(28,27,24,0.15); border-radius: 999px; font: inherit; font-size: 16px; background: #fff; }
.lr, .lr-feed, .ig { min-width: 0; max-width: 100%; box-sizing: border-box; }
.ig-media, .ig-tile { width: 100%; }
.ig-tt { max-width: 100%; overflow-wrap: anywhere; }
.lr .lc-cats { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
html body .m-wrap.lr { display: flex !important; flex-direction: column; gap: 14px; width: auto !important; max-width: 680px !important; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; border: 0 !important; }
html body .m-wrap.lr > .lc-cats { width: 100% !important; max-width: 100% !important; box-sizing: border-box; margin-left: 0 !important; margin-right: 0 !important; }
html body .m-wrap.lr { overflow-x: clip; }
html body .ig, html body .ig * { white-space: normal !important; }
html body .ig .ig-tt { display: block; width: 100%; }
html body .ig .ig-cap .ig-txt { display: -webkit-box !important; }
html body .ig .ig-cap.open .ig-txt { display: inline !important; }
.bl-more { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 8px; padding-top: 16px; border-top: 1px solid rgba(184,148,91,0.45); }
.bl-more .bl-buy { width: 100%; text-align: center; justify-content: center; }
.bl-more-l { display: flex; flex-direction: column; gap: 2px; }
/* smaller picture: 4 by 3 */
html body .ig .ig-ph, html body .ig .ig-tile { aspect-ratio: 4 / 3 !important; }
html body .ig .ig-ph { object-fit: contain; background: #FFFFFF; }
html body .ig .ig-tile { padding: 8% 10%; gap: 10px; }
html body .ig .ig-tt { font-size: clamp(22px, 6.4vw, 30px); }
/* softer post icons: thinner, rounded, warm grey */
html body .ig .ig-b { color: #6E675C; gap: 6px; }
html body .ig .ig-b svg { width: 23px; height: 23px; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
html body .ig .ig-heart.on svg { fill: #C0574F; stroke: #C0574F; }
html body .ig .ig-b span { font-size: 12.5px; color: #8A8377; }
/* VISIT as a small soft pill that goes straight to the product */
html body .ig .ig-visit { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; background: #B8945B; color: #1C1B18; padding: 9px 16px 9px 18px; font-size: 11px; letter-spacing: 0.2em; font-weight: 500; box-shadow: 0 2px 8px rgba(122,91,43,.18); -webkit-tap-highlight-color: transparent; transition: transform .15s ease, background .15s ease; }
html body .ig .ig-visit:active { transform: scale(.96); background: #A8844C; }
/* "How would you like to be shown?": a small three-part switch */
html body .lr-chips { display: block !important; border: 0; padding: 0 !important; margin: 0 !important; }
html body .lr-chips legend { font-size: 11px !important; letter-spacing: 0.18em; color: #59544B; margin: 0 0 8px !important; padding: 0 !important; }
html body .lr-seg { display: flex; gap: 0; background: #F1EBE0; border-radius: 999px; padding: 3px; }
html body .lr-chip { flex: 1 1 0; min-width: 0; display: flex; margin: 0; }
html body .lr-chip span { flex: 1; justify-content: center; text-align: center; min-height: 34px !important; padding: 6px 8px !important; font-size: 13px !important; border-radius: 999px; background: transparent !important; color: #59544B !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s ease; }
html body .lr-chip input:checked + span { background: #B8945B !important; color: #1C1B18 !important; box-shadow: 0 1px 4px rgba(122,91,43,.2); }
/* package time choices: free in green, extra time in bronze */
html body .pk-why { font-size: 13.5px; line-height: 1.5; margin-top: -4px; }
html body .pk-x { font-weight: 500; color: #7A5B2B; }
html body .pk-x.free { color: #2F6B3E; }
html body .choice input:checked ~ .muted .pk-x { color: inherit; }
/* Ask Legacy steps aside while reading; room at the end of each page so it never covers the last lines */
@media (max-width: 760px) {
  html:root body:not(#lg0) .ak-launch.ak-launch { transition: transform .28s ease, opacity .28s ease !important; }
  html.ak-tuck:root body:not(#lg0) .ak-launch.ak-launch { transform: translateX(92px) !important; opacity: 0 !important; pointer-events: none !important; }
  html[data-app] main, html[data-app] body > .m-wrap:last-of-type { padding-bottom: 96px; }
}
/* Home: when nothing is booked, one booking card holds the make-up session and "same as last time" */
body:has(#next-none) .mk-n, body:has(#next-none) .ba-again { display: none !important; }
#next-none .nn-extra { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
#next-none .nn-extra a { color: #D9BE8C; font-size: 14px; text-decoration: none; border-bottom: 1px solid rgba(217,190,140,.35); align-self: flex-start; padding-bottom: 2px; }
.op-ai { display: flex; flex-direction: column; gap: 8px; background: #F6F1E7; border-left: 2px solid #B8945B; padding: 14px 16px; }
.op-ai textarea { font: inherit; font-size: 15px; line-height: 1.55; padding: 12px; border: 1px solid rgba(28,27,24,0.15); background: #FFFDF8; resize: vertical; width: 100%; box-sizing: border-box; }
.op-ai .btn, .op-aif .btn { align-self: flex-start; }

/* Welcome (first steps) page: logo on the left, language and Sign out together on the right, both square and the same height */
html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) { display: flex !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; }
html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-navlinks { margin-left: auto !important; display: flex !important; flex-wrap: nowrap !important; align-items: center !important; gap: 10px !important; width: auto !important; flex: none !important; }
html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-lang a:not(.on) { border-radius: 0 !important; background: transparent !important; border: 1px solid rgba(28,27,24,0.35) !important; height: 40px !important; min-height: 40px !important; min-width: 44px !important; padding: 0 12px !important; box-sizing: border-box; color: #1C1B18 !important; }
html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-onb-out .btn { height: 40px !important; min-height: 40px !important; padding: 0 14px !important; display: inline-flex !important; align-items: center !important; box-sizing: border-box; margin: 0 !important; }
@media (max-width: 420px) { html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) > a:first-child img { max-width: 140px; height: auto; } }
html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-lang, html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-lang a { background: transparent !important; box-shadow: none !important; }
html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-lang::before, html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-lang::after, html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-lang a::before, html:root body:not(#lg0) header.m-head .m-nav:has(.m-onb-out) .m-lang a::after { display: none !important; }

/* Back: on the left, above the page, with an arrow */
html:root body:not(#lg0) .m-back-row { display: flex; padding-top: 18px !important; padding-bottom: 0 !important; }
html:root body:not(#lg0) .m-back-row .m-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; color: #1C1B18; text-decoration: none; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid #B8945B; }
html:root body:not(#lg0) .m-back-row .m-back span { font-size: 18px; letter-spacing: 0; color: #7A5B2B; transition: transform .2s ease; }
html:root body:not(#lg0) .m-back-row .m-back:hover span { transform: translateX(-3px); }
/* language switch in the member header: square and outlined, like the other buttons */
html:root body:not(#lg0) header.m-head .m-lang a:not(.on) { border-radius: 0 !important; background: transparent !important; border: 1px solid rgba(28,27,24,0.35) !important; box-shadow: none !important; }
html:root body:not(#lg0) header.m-head .m-lang, html:root body:not(#lg0) header.m-head .m-lang a { background: transparent !important; box-shadow: none !important; }
html:root body:not(#lg0) header.m-head .m-lang::before, html:root body:not(#lg0) header.m-head .m-lang::after, html:root body:not(#lg0) header.m-head .m-lang a::before, html:root body:not(#lg0) header.m-head .m-lang a::after { display: none !important; }

/* member area: one corner everywhere. Buttons, choices, day and time tiles, chips and text boxes all share the same slightly rounded corner */
html[data-app="member"]:root body:not(#lg0) :is(.btn, .mc-qr-b, .choice, .dt-chip span, .wk-day, .sp-t, .opt-pick .sp-t, textarea, input[type="text"].boxed, .rq-note textarea, .lg-sheet-b, .link-btn.boxed, .dt-picks .bk-mv button, .dt-picks .bk-picks-l > li > button, header.m-head .m-navlinks .btn, header.m-head .m-lang a) { border-radius: 10px !important; }
html[data-app="member"]:root body:not(#lg0) textarea { border-radius: 10px !important; }

/* a pick you can feel: the tapped time turns black with a check for a moment, then lets go */
html:root body:not(#lg0) :is(.sp-t, .nt-times label, .dt-chip span, .dt-chip).just-picked, html:root body:not(#lg0) .dt-chip.just-picked span { background: #1C1B18 !important; color: #FAF8F2 !important; border-color: #1C1B18 !important; transition: background .15s ease, color .15s ease; }
html:root body:not(#lg0) :is(.sp-t, .nt-times label).just-picked *, html:root body:not(#lg0) .dt-chip.just-picked span * { color: #FAF8F2 !important; }
html:root body:not(#lg0) :is(.sp-t, .nt-times label).just-picked { position: relative; }
html:root body:not(#lg0) :is(.sp-t, .nt-times label).just-picked::after { content: "✓"; position: absolute; top: 10px; right: 14px; color: #D9BE8C; font-size: 18px; }
html:root body:not(#lg0) :is(.sp-t, .nt-times label, .dt-chip).just-dup, html:root body:not(#lg0) .dt-chip.just-dup span { animation: lgShake .35s ease; border-color: #B8945B !important; }
@keyframes lgShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
/* no accidental text selection when tapping a tile */
html:root body:not(#lg0) :is(.sp-t, .nt-times label, .nt-days label, .wk-day, .dt-chip) { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html:root body:not(#lg0) .lg-toast.lg-pick { z-index: 2147483000; }

/* Ask your coach: each shot is one filled tile with the same slightly rounded corner (no outline around a pill) */
html[data-app]:root body:not(#lg0) .rv-chips .rv-c { border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 10px !important; padding: 0 !important; }
html[data-app]:root body:not(#lg0) .rv-chips .rv-c span { border-radius: 10px !important; padding: 13px 20px; }
html[data-app]:root body:not(#lg0) :is(.rv-step textarea, .rv-drop, .rv-send, .rv-f .btn) { border-radius: 10px !important; }
/* lesson times you picked: numbered, reorder or remove, like Notify me */
.opt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.opt-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #fff; border: 1px solid #E7E0D3; border-radius: 10px; font-size: 15px; }
.opt-row.fresh { border-color: #B8945B; }
.opt-n { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #1C1B18; color: #F4EFE6; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.opt-l { flex: 1; font-weight: 500; color: #1C1B18; min-width: 0; } .opt-tag { font-size: 12px; color: #7A5B2B; white-space: nowrap; }
.opt-mv, .opt-x { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid #E7E0D3; background: #FAF8F2; cursor: pointer; font-size: 15px; color: #1C1B18; }
.opt-mv:disabled { opacity: .3; cursor: default; } .opt-x { color: #8A2C1E; }
@media (max-width: 420px) { .opt-tag { display: none; } }
/* once a time is in your list it lets go of the black: a soft gold outline with a check shows it is already chosen for this day */
html:root body:not(#lg0) .opt-pick .sp-times .sp-t.sp-t.on:not(.just-picked) { background: #F7F1E6 !important; border-color: #B8945B !important; color: #1C1B18 !important; position: relative; }
html:root body:not(#lg0) .opt-pick .sp-times .sp-t.sp-t.on:not(.just-picked) b, html:root body:not(#lg0) .opt-pick .sp-times .sp-t.sp-t.on:not(.just-picked) span { color: #1C1B18 !important; }
html:root body:not(#lg0) .opt-pick .sp-times .sp-t.sp-t.on:not(.just-picked)::after { content: "✓ in your list"; position: absolute; top: 10px; right: 12px; font-size: 12px; color: #7A5B2B; }
html[lang^="es"]:root body:not(#lg0) .opt-pick .sp-times .sp-t.sp-t.on:not(.just-picked)::after { content: "✓ en tu lista"; }

/* "Leave without saving?": a small panel at the bottom of the sheet, the safe choice first */
html:root body:not(#lg0) .dlg-ask.dlg-ask2 { position: fixed; inset: 0; z-index: 50; margin: 0; padding: 16px; border: 0; border-radius: 0; background: rgba(14,14,14,0.38); display: flex; align-items: flex-end; justify-content: center; animation: dlgAskIn .18s ease; }
html:root body:not(#lg0) .dlg-ask2 .dlg-ask-p { width: 100%; max-width: 460px; background: #FAF8F2; border-radius: 18px; padding: 24px 20px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 10px; box-shadow: 0 -8px 40px rgba(0,0,0,0.25); text-align: center; }
html:root body:not(#lg0) .dlg-ask2 .dlg-ask-p b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1.2; color: #1C1B18; }
html:root body:not(#lg0) .dlg-ask2 .dlg-ask-p > span { font-size: 15px; line-height: 1.5; color: #59544B; margin-bottom: 8px; }
html:root body:not(#lg0) .dlg-ask2 .dlg-ask-p .btn { width: 100%; min-height: 54px; justify-content: center; border-radius: 10px !important; }
html:root body:not(#lg0) .dlg-ask2 .dlg-ask-leave { width: 100%; min-height: 50px; background: transparent; border: 0; font: inherit; font-size: 15px; color: #8A2C1E; cursor: pointer; }
@media (min-width: 761px) { html:root body:not(#lg0) .dlg-ask.dlg-ask2 { align-items: center; } }
@keyframes dlgAskIn { from { opacity: 0; } to { opacity: 1; } }
/* phones: keyboard open, the bottom bar steps aside, and comes back pinned to the bottom when it closes */
html.kb-open:root body:not(#lg0) nav.tabbar, html.kb-open:root body:not(#lg0) .ak-launch, html.kb-open:root body:not(#lg0) .my-legacy-fab { display: none !important; }

/* the phone: every pop-up panel floats a little above the bottom edge of the screen, with rounded corners all round */
@media (max-width: 767px) {
  html body dialog.rg-sheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet.rg-bsheet { inset: auto 8px calc(14px + env(safe-area-inset-bottom, 0px)) 8px !important; bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important; left: 8px !important; right: 8px !important;
    width: calc(100vw - 16px) !important; max-width: min(560px, calc(100vw - 16px)) !important; max-height: calc(90dvh - 14px) !important; border-radius: 26px !important; padding-bottom: 26px !important; box-shadow: 0 12px 40px rgba(14, 14, 14, .22) !important; }
  html body dialog.rg-sheet.ct-sheet.ct-sheet[open] { inset: auto 0 calc(env(safe-area-inset-bottom, 0px) + 22px) 0 !important; }
  html:root body:not(#lg0) .lg-sheet { bottom: calc(env(safe-area-inset-bottom, 0px) + 22px); }
  html:root body:not(#lg0) .dlg-ask.dlg-ask2 { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  html:root body:not(#lg0) .dlg-ask2 .dlg-ask-p { padding-bottom: 20px; }
}
html:root body:not(#lg0) dialog.rg-sheet:focus, html:root body:not(#lg0) dialog.rg-sheet:focus-visible { outline: none !important; }
/* plan question answers (No allergies / Yes, add them): the button and the link share one shape, the member area's 10px corner */
html:root body:not(#lg0) .wp-qbs .wp-qb, html:root body:not(#lg0) .wp-qbs form .wp-qb { border-radius: 10px !important; border: 1px solid rgba(28,27,24,0.2) !important; background: #fff !important; min-height: 44px; padding: 10px 16px !important; }
/* the member area, coach and admin: the page never glides from the top on its own (a tap on an in-page link still scrolls smoothly) */
html[data-app] { scroll-behavior: auto !important; }
/* one BACK only: when the smart "Back to …" bar shows, the page's own ← BACK steps aside */
html:root body:not(#lg0) main:has(> .lg-back:not([hidden])) .m-back-row { display: none !important; }
/* plan profile: the questions lead; "Next · Food" is a quiet step forward, not the loudest thing on the screen */
html:root body:not(#lg0) .wp-sb .wp-next.wp-next { display: flex !important; align-items: center; align-self: flex-end !important; width: fit-content !important; text-decoration: none !important; background-image: none !important; min-width: 0 !important; min-height: 44px !important; padding: 0 16px !important; margin: 18px 0 0 auto !important;
  background: transparent !important; color: #7A5B2B !important; border: 1px solid rgba(184,148,91,0.55) !important; border-radius: 10px !important; box-shadow: none !important; font-size: 12px !important; letter-spacing: .16em !important; font-weight: 500 !important; }
html:root body:not(#lg0) .wp-sb .wp-next.wp-next:hover { background: rgba(184,148,91,0.08) !important; }
/* every question label in the plan profile looks the same (small capitals), whether it is a box to type in or a choice */
html:root body:not(#lg0) form.wp-form label.f { font-size: 12px !important; letter-spacing: .16em !important; text-transform: uppercase; color: #59544B; }
html:root body:not(#lg0) form.wp-form label.f input, html:root body:not(#lg0) form.wp-form label.f textarea, html:root body:not(#lg0) form.wp-form label.f select { text-transform: none; letter-spacing: normal; }
/* Messages: "Write to" above the two choices; an empty conversation says so plainly */
html:root body:not(#lg0) #messages .mto-ask { display: block; margin: 0 0 10px; }
html:root body:not(#lg0) #messages .msg-empty .msg-none { display: block; font-weight: 500; font-size: 16px; color: #1C1B18; margin-top: 4px; }
html:root body:not(#lg0) #messages .mto:has(> .mto-b:only-of-type) { grid-template-columns: 1fr; }
/* Text size (Aa) and every other pop-up in the member area: the same 10px corner on every choice and button, a dark ✕, no gold ring around the panel */
html[data-app]:root body:not(#lg0) dialog.ts-sheet .ts-o, html[data-app]:root body:not(#lg0) dialog.ts-sheet .ts-done, html[data-app]:root body:not(#lg0) .ts-tip :is(.ts-inv-go, .ts-inv-no, button:not(.ts-x)) { border-radius: 10px !important; }
html[data-app]:root body:not(#lg0) dialog.ts-sheet .ts-x, html[data-app]:root body:not(#lg0) .ts-tip .ts-x { color: #1C1B18 !important; }
html[data-app]:root body:not(#lg0) dialog:focus, html[data-app]:root body:not(#lg0) dialog:focus-visible { outline: none !important; }
html[data-app]:root body:not(#lg0) dialog :is(button, a.btn, .btn):not(.x-close):not(.ts-x):not(.link-btn):not([class*="chip"]):not(.mto-b):not(.msg-send):not(.pg-row) { border-radius: 10px; }
/* the last square buttons in the member area: Let's go, the Wellness filters and Show practices, I did it, the favorite heart */
html[data-app="member"]:root body:not(#lg0) :is(.moment-btn, .ws-opt, .ws-save, .wl-check, .wl-heart) { border-radius: 10px !important; }
/* the coach app and the owner screens: the same slightly rounded 10px corner as the member area on every button (the public website keeps its square buttons) */
html[data-app="coach"]:root body:not(#lg0) :is(.btn, .choice, .lg-sheet-b, .todo-ck), html[data-app="admin"]:root body:not(#lg0) :is(.btn, .choice, .lg-sheet-b, .todo-ck) { border-radius: 10px !important; }
/* coach app and owner pop-ups: the small buttons inside (record, goals, see all, filters, suggested times, practice tabs, badges, milestones) take the same 10px corner */
html[data-app]:not([data-app="member"]):root body:not(#lg0) dialog :is(.mic-b, .g-chip, .cap-more, .tab, .sm-chip, .pr-tab, .chp-k, .msa-t), html[data-app]:not([data-app="member"]):root body:not(#lg0) dialog button:not(.x-close):not(.ts-x):not(.link-btn):not(.pg-row):not(.pr-item) { border-radius: 10px !important; }
/* Plan profile: one line per two-choice question; the choices sit on the right, the same size, lined up under each other */
html:root body:not(#lg0) form.wp-form .wp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); }
html:root body:not(#lg0) form.wp-form .wp-row .wp-l { margin: 0; flex: 1 1 auto; min-width: 0; line-height: 1.4; }
html:root body:not(#lg0) form.wp-form .wp-row .wp-opts { flex: 0 0 auto; flex-wrap: nowrap; gap: 8px; justify-content: flex-end; }
html:root body:not(#lg0) form.wp-form .wp-row .wp-o { justify-content: center; min-width: 76px; min-height: 44px; padding: 8px 12px; }
html:root body:not(#lg0) form.wp-form .wp-o { border-radius: 10px; }
html:root body:not(#lg0) form.wp-form .wp-row .wp-opts .wp-o { flex: 0 0 auto !important; width: 72px !important; min-width: 0 !important; max-width: 72px !important; padding: 8px 0 !important; }
html:root body:not(#lg0) form.wp-form .wp-row .wp-opts { width: auto !important; flex: 0 0 auto !important; display: flex !important; }
html:root body:not(#lg0) form.wp-form .wp-row .wp-l { padding-right: 4px; }
/* "Move this lesson": one clean column, nothing overlapping. Date (month · day · year side by side), time, where, then the series choice and the button */
html:root body:not(#lg0) dialog.mv-sheet form.mv-f, html:root body:not(#lg0) form.mv-f { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 16px !important; padding: 8px 0 4px !important; background: transparent !important; }
html:root body:not(#lg0) form.mv-f > label { display: flex !important; flex-direction: column !important; gap: 8px !important; width: 100% !important; margin: 0 !important; padding: 0 !important; font-size: 11px; letter-spacing: .16em; color: #7A5B2B; text-transform: uppercase; }
html:root body:not(#lg0) form.mv-f > label[hidden] { display: none !important; }
html:root body:not(#lg0) form.mv-f .bd-pick { display: grid !important; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 8px; width: 100%; }
html:root body:not(#lg0) form.mv-f .bd-pick select { width: 100% !important; min-width: 0 !important; }
html:root body:not(#lg0) form.mv-f .bd-wd { font-size: 13px; letter-spacing: normal; text-transform: none; color: #7A5B2B; margin-top: -2px; }
html:root body:not(#lg0) form.mv-f select, html:root body:not(#lg0) form.mv-f input:not([type=checkbox]):not([type=hidden]) { width: 100% !important; box-sizing: border-box; min-height: 48px; border-radius: 10px !important; border: 1px solid #E2D9C8 !important; background: #FFFDF8 !important; padding: 0 14px !important; font: inherit; font-size: 16px !important; letter-spacing: normal !important; text-transform: none !important; color: #1C1B18; margin: 0 !important; }
html:root body:not(#lg0) form.mv-f > label.choice { flex-direction: row !important; align-items: center !important; gap: 12px !important; padding: 14px !important; border: 1px solid #E2D9C8; border-radius: 10px; background: #FFFDF8; letter-spacing: normal !important; text-transform: none !important; color: #1C1B18 !important; font-size: 15px !important; }
html:root body:not(#lg0) form.mv-f > label.choice span { font-size: 15px !important; letter-spacing: normal !important; text-transform: none !important; line-height: 1.4; color: #1C1B18; }
html:root body:not(#lg0) form.mv-f > label.choice input { flex: 0 0 auto; width: 20px; height: 20px; margin: 0 !important; accent-color: #1C1B18; }
html:root body:not(#lg0) form.mv-f > .btn { width: 100% !important; margin: 4px 0 0 !important; }
html:root body:not(#lg0) form.mv-f > .draft-btn { align-self: center; }
html:root body:not(#lg0) form.mv-f > label.choice input[type=checkbox] { position: static !important; opacity: 1 !important; transform: none !important; inset: auto !important; }
html:root body:not(#lg0) form.mv-f > label.choice::before, html:root body:not(#lg0) form.mv-f > label.choice::after { content: none !important; display: none !important; }
html:root body:not(#lg0) form.mv-f > label.choice span::before, html:root body:not(#lg0) form.mv-f > label.choice span::after { content: none !important; display: none !important; }
html:root body:not(#lg0) form.mv-f > label.choice span { padding: 0 !important; }
/* Workflow health: three equal tiles in one row, lined up with the card's edges (like To do · Pending · Done above) */
html:root body:not(#lg0) .wf-card .wf-sum { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; margin: 0 0 18px !important; padding: 0 !important; width: 100% !important; }
html:root body:not(#lg0) .wf-card .wf-sum .wf-s { grid-column: auto !important; display: flex !important; flex-direction: column !important; justify-content: flex-start; gap: 4px; margin: 0 !important; padding: 14px 12px !important; min-width: 0; border-radius: 14px !important; background: #F3EFE6 !important; font-size: 12px !important; line-height: 1.35; color: #59544B; letter-spacing: normal; }
html:root body:not(#lg0) .wf-card .wf-sum .wf-s b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px !important; font-weight: 500 !important; line-height: 1; color: #1C1B18; }
html:root body:not(#lg0) .wf-card .wf-sum .wf-bad b { color: #A13D2D; }
html:root body:not(#lg0) .wf-card .wf-sum .wf-good b { color: #2F7A4B; }
/* Actions, inside a client's group: each item is compact (no empty space between what to do and its buttons) */
html:root body:not(#lg0) .rv-gb > li.rv-c, html:root body:not(#lg0) .rv-l > li.rv-c { gap: 8px !important; padding-top: 14px !important; padding-bottom: 14px !important; }
html:root body:not(#lg0) .rv-gb > li.rv-c > .ac-t, html:root body:not(#lg0) .rv-l > li.rv-c > .ac-t { flex: 0 0 auto !important; min-height: 0 !important; }
html:root body:not(#lg0) .rv-gb > li.rv-c > .na-acts { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px 16px !important; margin: 0 !important; }
html:root body:not(#lg0) .rv-gb > li.rv-c > .na-acts .na-inl { margin: 0 !important; }
html:root body:not(#lg0) .rv-gb > li.rv-c .rv-off .link-btn { color: #8A4A3A; }

/* ---------- a lesson card, balanced (phone and inside the Lessons sheet): even padding, a date tile that stays a tile,
   payment on one line (how · amount · MARK PAID), Undo and Delete as an equal pair ---------- */
html:root body:not(#lg0) table.ls-cards tr:not(.ls-h) { padding: 16px !important; column-gap: 16px !important; row-gap: 4px !important; align-items: start !important; }
html:root body:not(#lg0) table.ls-cards tr:not(.ls-h) > td.ld { align-self: start !important; height: 78px !important; min-height: 0 !important; padding: 0 !important; border-radius: 12px !important; justify-content: center !important; }
html:root body:not(#lg0) table.ls-cards tr:not(.ls-h) > td.lt { align-self: center !important; }
html:root body:not(#lg0) table.ls-cards tr:not(.ls-h) > td.lsrc { align-self: center !important; font-size: 11px !important; padding: 3px 10px !important; }
html:root body:not(#lg0) table.ls-cards td.lst { display: flex !important; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
html:root body:not(#lg0) table.ls-cards td.lst > .muted, html:root body:not(#lg0) table.ls-cards td.lst > .pn-line { flex: 1 0 100%; margin: 0 !important; }
html:root body:not(#lg0) table.ls-cards td.lst .lc { margin: 0 !important; }
html:root body:not(#lg0) table.ls-cards td.lst > *:not(.lc):not(.muted):not(.pn-line):not(.ls-in) { flex: 1 0 100%; }
@media (max-width: 640px) {
  html:root body:not(#lg0) table.ls-cards tr:not(.ls-h) { grid-template-columns: 62px minmax(0, 1fr) !important; }
  html:root body:not(#lg0) table.ls-cards tr:not(.ls-h) > td.lact { display: flex !important; flex-flow: row wrap; gap: 10px !important; margin-top: 12px !important; padding-top: 14px !important; border-top: 1px solid rgba(28,27,24,0.07) !important; white-space: normal; }
  html:root body:not(#lg0) table.ls-cards td.lact > * { min-width: 0; flex: 1 1 0 !important; }
  html:root body:not(#lg0) table.ls-cards td.lact > form.lc-pay, html:root body:not(#lg0) table.ls-cards td.lact > details, html:root body:not(#lg0) table.ls-cards td.lact > .pill, html:root body:not(#lg0) table.ls-cards td.lact > form:has(.sa-del) { flex: 1 0 100% !important; }
  html:root body:not(#lg0) table.ls-cards td.lact:has(.sa-cancel) > form:has(.sa-del) { display: none !important; }
  html:root body:not(#lg0) table.ls-cards td.lact form.lc-pay { display: grid !important; grid-template-columns: minmax(0, 1fr) 84px auto; gap: 8px !important; align-items: stretch; }
  html:root body:not(#lg0) table.ls-cards td.lact form.lc-pay select, html:root body:not(#lg0) table.ls-cards td.lact form.lc-pay input[name=amount] { width: 100% !important; height: 44px !important; min-height: 44px !important; margin: 0 !important; padding: 0 12px !important; font-size: 15px !important; border: 1px solid rgba(28,27,24,0.16) !important; border-radius: 10px !important; background-color: #fff !important; box-sizing: border-box; }
  html:root body:not(#lg0) table.ls-cards td.lact form.lc-pay button.lc-pay-b.lc-pay-b.lc-pay-b { width: auto !important; min-height: 44px !important; height: 44px !important; padding: 0 16px !important; margin: 0 !important; border-radius: 10px !important; box-shadow: none !important; font-size: 12px !important; letter-spacing: 0.14em; white-space: nowrap; }
  /* Undo and Delete: the same quiet outlined button, side by side */
  html:root body:not(#lg0) table.ls-cards td.lact > form.inline:not(.lc-pay) { margin: 0 !important; display: block !important; }
  html:root body:not(#lg0) table.ls-cards td.lact > form.inline:not(.lc-pay) button.link-btn.link-btn,
  html:root body:not(#lg0) table.ls-cards td.lact > form.inline:not(.lc-pay) button.sa-del.sa-del.sa-del.sa-del { width: 100% !important; height: 42px !important; min-height: 42px !important; display: flex !important; align-items: center; justify-content: center; padding: 0 12px !important; margin: 0 !important;
    background: transparent !important; border: 1px solid rgba(28,27,24,0.16) !important; border-radius: 10px !important; box-shadow: none !important; text-decoration: none !important; font-size: 12px !important; letter-spacing: 0.14em; color: #3A3934 !important; }
  /* Delete: rare and final, so a quiet line of its own under the other buttons (it still asks twice) */
  html:root body:not(#lg0) table.ls-cards td.lact > form.inline:not(.lc-pay) button.sa-del.sa-del.sa-del.sa-del { border-color: transparent !important; height: 34px !important; min-height: 34px !important; color: #9A4A2A !important; font-size: 11.5px !important; }
}
html:root body:not(#lg0) table.ls-cards td.lst > details.lnote { margin: 2px 0 0 !important; }
html:root body:not(#lg0) table.ls-cards td.lst > details.lnote > summary { padding: 4px 0 !important; min-height: 0 !important; }
@media (max-width: 640px) {
  html:root body:not(#lg0) table.ls-cards td.lact:has(.sa-cancel) > form.inline:has(.sa-del):has(.sa-del) { display: none !important; }
  html:root body:not(#lg0) table.ls-cards td.lact > form.inline:not(.lc-pay) button.link-btn.link-btn { white-space: nowrap; letter-spacing: 0.08em !important; font-size: 11.5px !important; }
}

/* milestones counted over many lessons: PROGRESS − [ 3 ] of 25 + SAVE, a full line under the row */
.bm-r:has(.bm-cnt) .bm-st { display: none; }
.bm-cnt { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 2px 0 0 !important; }
.bm-cnt .bm-cl { font-size: 11px; letter-spacing: .16em; color: #7A5B2B; margin-right: 4px; }
html:root body:not(#lg0) .bm-cnt .chp-k { width: 40px !important; height: 40px !important; min-height: 40px !important; padding: 0 !important; font-size: 18px; border-radius: 10px !important; border: 1px solid rgba(28,27,24,.16) !important; background: #fff !important; color: #1C1B18 !important; box-shadow: none !important; display: inline-flex; align-items: center; justify-content: center; }
html:root body:not(#lg0) .bm-cnt input[name=count] { width: 58px !important; height: 40px !important; min-height: 40px !important; padding: 0 4px !important; text-align: center; font-size: 17px !important; font-weight: 500; border: 1px solid rgba(28,27,24,.16) !important; border-radius: 10px !important; background: #fff !important; -moz-appearance: textfield; }
.bm-cnt input[name=count]::-webkit-inner-spin-button, .bm-cnt input[name=count]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.bm-cnt .bm-of { font-size: 14px; color: #5E584D; }
html:root body:not(#lg0) .bm-cnt .bm-save { margin-left: auto !important; height: 40px !important; min-height: 40px !important; padding: 0 18px !important; border-radius: 10px !important; box-shadow: none !important; background: transparent !important; color: #7A5B2B !important; border: 1px solid #B8945B !important; width: auto !important; }
html:root body:not(#lg0) .bm-cnt.dirty .bm-save { background: #B8945B !important; color: #0E0E0E !important; }
html:root body:not(#lg0) .bm-a .bm-all { font-size: 11.5px; }
.bm-r:has(.bm-cnt) .bm-a { min-width: 0 !important; }
@media (max-width: 480px) { .bm-cnt .bm-cl { display: none; } .bm-cnt { flex-wrap: nowrap; gap: 6px; } html:root body:not(#lg0) .bm-cnt .bm-save { padding: 0 14px !important; } }
.bm-cnt .bm-of { white-space: nowrap; }

/* the phone sheet always sits on the screen, over everything */
html:root body:not(#lg0) .lg-sheet { position: fixed !important; z-index: 10001; }
html:root body:not(#lg0) .lg-sheet > .x-close { position: absolute !important; top: 10px !important; right: 10px !important; left: auto !important; margin: 0 !important; }

/* example text in a field reads as a hint, never as an answer already given: italic and lighter */
html[data-app] input::placeholder, html[data-app] textarea::placeholder { font-style: italic; color: #8A8276 !important; opacity: 1; }

/* Daily Power: the smaller line under the day's quote */
.moment-sub { display: block; margin: -6px 0 18px; font-size: 16px; line-height: 1.5; letter-spacing: 0.01em; color: #EBD3A4; text-shadow: 0 1px 14px rgba(14,14,14,0.55); }
.moment-off { display: block; margin-top: 14px; font-size: 12px; color: rgba(250,248,242,0.62); text-decoration: underline; text-underline-offset: 3px; }

/* Legacy Recommends on a laptop: the whole photo and the words about it fit on one screen */
@media (min-width: 900px) {
  html body .ig .ig-media { display: flex; justify-content: center; background: #15130F; }
  html body .ig .ig-ph { background: transparent; }
  html body .ig .ig-ph, html body .ig .ig-tile { width: 100%; max-height: 340px; aspect-ratio: auto !important; object-fit: contain; }
  html body .ig .ig-tile { aspect-ratio: 4 / 3 !important; max-width: 453px; }
}
/* Schedule a session on a laptop: the whole form on one screen, one week of days in view (scroll for more), the five times in one row */
@media (min-width: 900px) {
  html body #request { gap: 10px !important; }
  html body .rg-sheet #request > .eyebrow { display: none; }
  html body #request > .serif { font-size: 22px !important; }
  html body #request .rq-court select { min-height: 44px; }
  html body #request .wk-strip { gap: 6px; }
  html body #request .wk-strip .wk-day { flex: 0 0 calc((100% - 36px) / 7) !important; min-width: 0 !important; }
  html body #request .opt-pick .sp-times { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 8px !important; }
  html body #request .opt-pick .sp-t2 { min-height: 54px; padding: 8px 10px; grid-column: auto !important; }
  html body .rg-sheet:has(#request) .rg-title, html body .rg-sheet:has(#request) h2:first-of-type { font-size: 22px; margin: 0; }
  html body #request .rq-court select { height: 44px; padding-top: 0; padding-bottom: 0; }
  html body #request .wk-month { margin-bottom: 2px; }
  html body #request .sp-why, html body #request .sp-24 { font-size: 13px; line-height: 1.45; }
}
/* admin and coach on a laptop: the Aa text-size button in the top bar, like the member app */
@media (min-width: 768px) {
  html:is([data-app=admin], [data-app=coach]) header.m-head .ts-btn.ts-btn { display: inline-flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; flex: none; }
}
/* Legacy plans: photos, the plan answers, the monthly check (Nov 13, 2026) */
.lp-ph { margin: -4px 0 4px; position: relative; }
.lp-ph img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: #EDE6D8; }
.lp-credit { display: block; margin-top: 6px; font-size: 11px; color: #6B655A; }
.lp-credit a { color: inherit; text-decoration: underline; }
.lp-th { width: 52px; height: 52px; flex: none; object-fit: cover; border-radius: 10px; background: #EDE6D8; }
.wl-three.w3-clean .w3-i.w3c:has(.lp-th) { grid-template-columns: 44px 52px 1fr 32px !important; }
@media (max-width: 640px) { .wl-three.w3-clean .w3-i.w3c:has(.lp-th) { grid-template-columns: 44px 44px 1fr 28px !important; gap: 10px !important; } }
.lp-why { margin: 0; font-size: 15px; line-height: 1.6; color: #3A3934; }
.lp-why b, .lp-opts b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: #7A5B2B; margin-bottom: 2px; }
.lp-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.lp-opts li { background: #F5F0E6; border-radius: 10px; padding: 10px 12px; font-size: 14px; line-height: 1.5; color: #3A3934; }
.lp-plan > summary { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.lp-plan > summary::-webkit-details-marker { display: none; }
.lp-plan > summary::after { content: '+'; position: absolute; right: 22px; top: 18px; font-size: 20px; color: #7A5B2B; }
.lp-plan { position: relative; }
.lp-plan[open] > summary::after { content: '–'; }
.lp-sum { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 21px; line-height: 1.3; color: #1C1B18; padding-right: 28px; }
.lp-tip { margin: 12px 0 0; background: #F5F0E6; border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.lp-tip b { display: block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: #7A5B2B; margin-bottom: 2px; }
.lp-form { display: grid; gap: 18px; margin-top: 16px; }
.lp-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.lp-form legend { font-size: 15px; font-weight: 500; color: #1C1B18; margin-bottom: 8px; padding: 0; }
.lp-private { border-top: 1px solid #E7E0D3 !important; padding-top: 16px !important; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.lp-grid.lp-one { grid-template-columns: 1fr; }
.lp-ck { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid #E2D9C8; border-radius: 10px; background: #FFFDF8; cursor: pointer; font-size: 15px; line-height: 1.4; min-height: 44px; box-sizing: border-box; }
.lp-ck input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: #B8945B; flex: none; }
.lp-ck:has(input:checked) { border-color: #B8945B; background: #FBF6EC; }
.lp-k { font-size: 13px; letter-spacing: 0.08em; color: #59544B; }
.lp-sel { display: grid; gap: 6px; }
.lp-sel select { min-height: 44px; border: 1px solid #E2D9C8; border-radius: 10px; background: #FFFDF8; padding: 0 12px; font: inherit; font-size: 15px; }
.lp-warn { margin: 0; background: #FBEFE6; border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #6A3A1E; }
.lp-tests .lp-tg { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 14px; }
.lp-t { border: 1px solid #E7E0D3; border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; background: #FFFDF8; }
.lp-t-h { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; font-size: 14px; line-height: 1.35; color: #3A3934; }
.lp-t-h b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 28px; font-weight: 500; color: #1C1B18; }
.lp-g, .lp-g-empty { width: 100%; height: 64px; display: block; }
.lp-g-empty { border-bottom: 1px dashed #E2D9C8; height: 40px; }
.lp-g-base { stroke: #E7E0D3; stroke-width: 1; }
.lp-g-l { fill: none; stroke: #B8945B; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lp-g-d { fill: #FFFDF8; stroke: #B8945B; stroke-width: 2; }
.lp-g-d.last { fill: #B8945B; }
.lp-t-f { display: flex; justify-content: space-between; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.lp-t-f .up { color: #2F6B3A; } .lp-t-f .dn { color: #8A4A2A; }
.lp-t-add { display: flex; gap: 6px; align-items: center; }
.lp-t-add input { width: 92px; min-height: 40px; border: 1px solid #E2D9C8; border-radius: 10px; padding: 0 10px; font: inherit; font-size: 15px; background: #fff; }
/* owner screens */
.lp-ph-list, .lp-adm { display: grid; gap: 12px; }
.lp-ph-h { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.lp-ph-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.lp-ph-o button { all: unset; cursor: pointer; display: block; position: relative; width: 100%; }
.lp-ph-o img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; outline: 2px solid transparent; outline-offset: 2px; }
.lp-ph-o.on img { outline-color: #B8945B; }
.lp-ph-o span { position: absolute; left: 8px; bottom: 8px; background: rgba(14,14,14,0.78); color: #FAF8F2; font-size: 11px; letter-spacing: 0.14em; padding: 5px 8px; border-radius: 6px; }
.lp-ph-o small { display: block; font-size: 12px; color: #6B655A; margin-top: 4px; }
.lp-ph-q input { flex: 1; min-width: 0; min-height: 40px; border: 1px solid #E2D9C8; border-radius: 10px; padding: 0 10px; font: inherit; }
.lp-adm-r > summary { cursor: pointer; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.lp-flags { flex-basis: 100%; font-size: 13px; color: #8A4A2A; }
@media (max-width: 640px) { .lp-ph-opts { gap: 6px; } .lp-th { width: 44px; height: 44px; } }
html body .lp-plan > .fold-close { display: none !important; }
html body .lp-form label.lp-ck { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; color: #1C1B18 !important; margin: 0 !important; }
html body .lp-form label.lp-ck span { text-transform: none; letter-spacing: 0; }
html body .lp-form label.lp-sel { display: grid !important; gap: 6px !important; text-transform: none !important; letter-spacing: 0 !important; margin: 0 !important; }
html body .lp-form .lp-k { display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: none; color: #59544B; }
@media (min-width: 900px) { .lp-form .lp-sels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .lp-grid.lp-one { grid-template-columns: 1fr 1fr; } }
html body .lp-private legend { display: block; width: 100%; }
@media (max-width: 640px) { html body .lp-grid:not(.lp-one) { grid-template-columns: 1fr 1fr; } html body .lp-form label.lp-ck { font-size: 14px !important; padding: 9px 10px; } .lp-tests .lp-tg { grid-template-columns: 1fr 1fr; gap: 8px; } .lp-t { padding: 10px; } .lp-t-add input { width: 70px; } .lp-t-h { flex-direction: column; gap: 2px; } }
html body .lp-tests .lp-tg { margin: 14px 0 0 !important; padding: 0 !important; width: 100% !important; max-width: none !important; }
.lp-ph-opts { max-width: 720px; }
.pd-wrap { display: flex; flex-direction: column; gap: 8px; }
.pd-k { font-size: 11px; letter-spacing: 0.16em; color: #59544B; }
.pd-today { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; letter-spacing: 0; text-transform: none; cursor: pointer; }
.pd-today input { width: 18px; height: 18px; accent-color: #B8945B; margin: 0; }
.pd-date input { width: 100%; }
.pay-g .pd-wrap { grid-column: 1 / -1; }
.zin-r { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid #E7E0D3; padding-top: 16px; margin-top: 14px; max-width: 640px; }
.zin-r .zin-top { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.zin-r .zin-amt { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; font-weight: 500; line-height: 1; }
.zin-r .zin-from { font-size: 15px; color: #3A3934; }
.zin-r .zin-from strong { font-weight: 500; color: #1C1B18; }
.zin-r .zin-for, .zin-r .zin-hrs { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: 0.14em; color: #59544B; }
.zin-r .zin-for select, .zin-r .zin-hrs input { box-sizing: border-box; width: 100%; max-width: 420px; min-height: 42px; padding: 0 12px; border: 1px solid rgba(28,27,24,0.18); border-radius: 10px; background: #fff; font: inherit; font-size: 15px; letter-spacing: 0; color: #1C1B18; }
.zin-r .zin-hrs input { max-width: 140px; }
.zin-r .zin-note { margin: 0; font-size: 14px; line-height: 1.5; }
.zin-r .zin-sug { color: #7A5B2B; }
.zin-r .zin-warn { color: #9A4A2A; }
.zin-r .zin-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.zin-r .zin-acts .btn { width: auto; min-height: 40px; padding: 0 18px; font-size: 11px; letter-spacing: 0.14em; border-radius: 999px; box-shadow: none; }
.zin-r .zin-rm > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; background: transparent; color: #7A5B2B; border: 1px solid #B8945B; }
.zin-r .zin-rm > summary::-webkit-details-marker { display: none; }
.zin-r .zin-rm[open] > summary { display: none; }
.zin-r .zin-rm-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border: 1px solid rgba(154,74,42,0.35); border-radius: 12px; background: #FBF4F0; font-size: 14px; color: #3A3934; }
.zin-r .zin-rm-box .zin-yes { color: #9A4A2A !important; border-color: #9A4A2A !important; }
/* member app top bar: messages, notifications and Ask Legacy only */
html.m-calm-top[data-app] header .m-nav > .m-find, html.m-calm-top[data-app] header.m-head .m-nav > .ts-btn.ts-solo.ts-solo.ts-solo, html.m-calm-top[data-app] header .m-navlinks .m-find { display: none !important; }
html:root.m-calm-top body:not(#lg0) header .ak-launch.ak-launch.ak-top { position: static !important; width: 44px !important; height: 44px !important; min-width: 44px !important; margin: 0 0 0 auto !important; box-shadow: none !important; flex: 0 0 auto; }
html:root.m-calm-top body:not(#lg0) header .ak-launch.ak-launch.ak-top { background: #0E0E0E !important; color: #D9BE8C !important; border: 1.5px solid #B8945B !important; border-radius: 50% !important; padding: 0 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; }
html:root.m-calm-top body:not(#lg0) header .ak-launch.ak-launch.ak-top svg { display: block !important; width: 20px !important; height: 20px !important; color: #D9BE8C !important; }
html:root.m-calm-top body:not(#lg0) header .ak-launch.ak-launch.ak-top .ak-label { display: none !important; }
html.m-calm-top header .ak-launch.ak-top + .m-navlinks, html.m-calm-top header .ak-launch.ak-top ~ .lg-msg-top { margin-left: 6px !important; }
html.m-calm-top .ak-launch.ak-top { position: static !important; inset: auto !important; transform: none !important; width: 44px; height: 44px; min-width: 44px; padding: 0 !important; border-radius: 50%; box-shadow: none !important; display: inline-flex; align-items: center; justify-content: center; }
html.m-calm-top .ak-launch.ak-top .ak-label { display: none !important; }

/* the first session: "Does this time work?" sits inside the next-session card, said once (Nov 16) */
.next.hero .fo-in { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 4px; border-top: 1px solid rgba(217,190,140,.25); margin-top: 6px; }
.next.hero .fo-in .fo-q { margin: 0; font-size: 15px; line-height: 1.5; color: #E9E2D3; }
.next.hero .fo-in .fo-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.next.hero .fo-in .fo-yes { cursor: pointer; border: 0; background: #B8945B; color: #0E0E0E; min-height: 46px; padding: 0 22px; border-radius: 10px; font: inherit; font-size: 12px; letter-spacing: .2em; font-weight: 500; }
.next.hero .fo-in .fo-no { cursor: pointer; background: none; border: 0; border-bottom: 1px solid #B8945B; color: #D9BE8C; padding: 6px 0 2px; font: inherit; font-size: 12px; letter-spacing: .2em; }
.next.hero:has(.fo-in) .nx-rs { display: none !important; }
/* papers: asked once, in Your next step, not again inside the session card */
body:has(.ns-card .ns-go[href*="papers"]) .next.hero .nx-set.fix[href*="papers"] { display: none !important; }

.rs-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }
.rs-chips .muted { flex-basis: 100%; font-size: 13px; }
.rs-chip { cursor: pointer; min-height: 44px; padding: 0 14px; border: 1px solid #B8945B; background: #FFFDF8; color: #1C1B18; border-radius: 10px; font: inherit; font-size: 14px; }
.rs-chip.on { background: #B8945B; color: #0E0E0E; }

/* Legacy's Today: Do today, the same 3 things as the 6 am email */
.dt-card .dt-l { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; }
.dt-card .dt-l li + li { border-top: 1px solid rgba(28,27,24,.1); }
.dt-card .dt-l a { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; color: #1C1B18; text-decoration: none; font-size: 15px; line-height: 1.45; min-height: 44px; }
.dt-card .dt-l b { color: #8C6A35; font-size: 20px; font-weight: 400; }
.dt-card .dt-more { font-size: 12px; letter-spacing: .16em; color: #7A5B2B; text-transform: uppercase; }

/* voice notes: the written version under the recording */
.vrec .vr-tw { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.vrec .vr-tw textarea { width: 100%; box-sizing: border-box; }
.vc-play .vc-text summary { cursor: pointer; font-size: 13px; letter-spacing: .14em; color: #7A5B2B; padding: 6px 0; }

/* ---------- a lesson card inside a sheet (Lessons, Played…): the sheet is narrow even on a computer, so the card stacks like on a phone:
   date tile · time · type · where it counts · status, then the actions on their own row. Nothing sits on top of anything. ---------- */
html:root body:not(#lg0) dialog table.ls-cards tr:not(.ls-h) { grid-template-columns: 62px minmax(0, 1fr) !important; grid-template-areas: "d t" "d k" "d c" "d s" "a a" !important; }
html:root body:not(#lg0) dialog table.ls-cards tr:not(.ls-h) > td.lt { white-space: nowrap; }
html:root body:not(#lg0) dialog table.ls-cards tr:not(.ls-h) > td.lsrc { grid-area: c !important; justify-self: start !important; align-self: start !important; }
html:root body:not(#lg0) dialog table.ls-cards tr:not(.ls-h) > td.lact { display: flex !important; flex-flow: row wrap !important; gap: 10px !important; white-space: normal !important; margin-top: 12px !important; padding-top: 14px !important; border-top: 1px solid rgba(28,27,24,0.07) !important; }
html:root body:not(#lg0) dialog table.ls-cards td.lact > * { min-width: 0; flex: 1 1 auto !important; }
html:root body:not(#lg0) dialog table.ls-cards td.lact > a.link-btn, html:root body:not(#lg0) dialog table.ls-cards td.lact > form.lc-pay { flex: 1 0 100% !important; white-space: normal !important; letter-spacing: 0.04em; line-height: 1.5; }
/* Nov 19, 2026 (owner): admin panels in proportion: a pop-up (never a whole new page), calm buttons, tidy fields, one title */
html dialog.gl-sheet .gl-i .gl-r { display: flex !important; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 !important; min-height: 0 !important; border: 0 !important; font-size: 15px; }
html dialog.gl-sheet .gl-i { padding: 12px 0 !important; border-bottom: 1px solid rgba(28,27,24,.09); }
html dialog.gl-sheet .gl-s { margin-top: 4px !important; font-size: 13px; line-height: 1.5; color: #59544B; }
html dialog.gl-sheet .gl-s .chip, html dialog.gl-sheet .gl-s [class*="chip"] { font-size: 12px; padding: 1px 8px; }
html dialog.gl-sheet h3.gl-mo { font-family: inherit !important; font-size: 12px !important; line-height: 1.4 !important; letter-spacing: .16em !important; font-weight: 500 !important; text-transform: uppercase; color: #7A5B2B !important; margin: 22px 0 2px !important; }
html dialog.gl-sheet .gl-sub { margin: 2px 0 6px !important; font-size: 14px; }
html dialog.gl-sheet textarea { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-height: 0; resize: vertical; }
html dialog.gl-sheet textarea#gl-played-txt { height: 180px; }
/* buttons: normal size, side by side; the first is gold, the others are outlined */
html dialog.gl-sheet .btn, html dialog.gl-sheet form button[type=submit].btn { width: auto !important; align-self: auto !important; flex: 0 0 auto !important; min-height: 40px !important; height: auto !important; padding: 0 18px !important; font-size: 11px !important; letter-spacing: .14em !important; border-radius: 999px !important; box-shadow: none !important; }
html dialog.gl-sheet .btn.ghost, html dialog.gl-sheet form button[type=submit].btn.ghost { background: transparent !important; color: #7A5B2B !important; border: 1px solid #B8945B !important; }
html dialog.gl-sheet .btn.ghost:hover { background: #F6F1E7 !important; }
/* fields: label above, one height, one look */
html dialog.gl-sheet form.inline { display: flex !important; flex-wrap: wrap; gap: 12px !important; align-items: flex-end !important; margin: 6px 0 4px; }
html dialog.gl-sheet form.inline > label { display: flex !important; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: .12em; font-weight: 500; color: #59544B; line-height: 1.3; }
html dialog.gl-sheet form.inline > label input, html dialog.gl-sheet form.inline > label select { box-sizing: border-box; width: 100% !important; min-height: 42px; padding: 0 12px !important; border: 1px solid rgba(28,27,24,.18) !important; border-radius: 10px !important; background: #fff !important; font: inherit; font-size: 15px !important; letter-spacing: 0; color: #1C1B18; }
html dialog.gl-sheet form.inline > label input:focus, html dialog.gl-sheet form.inline > label select:focus { outline: 2px solid rgba(184,148,91,.45); outline-offset: 1px; border-color: #B8945B !important; }
html dialog.gl-sheet form.inline > .btn, html dialog.gl-sheet form.inline > button[type=submit].btn { min-height: 42px !important; }
html dialog.gl-sheet .draft-btn { display: none !important; }   /* a number setting needs no draft */
html dialog.rg-sheet.rg-pop > .pg-back > span.pop-same { visibility: hidden; }
html body dialog.gl-sheet.gl-sheet.gl-sheet form button[type=submit].btn.btn { width: auto !important; align-self: auto !important; min-height: 42px !important; border-radius: 999px !important; padding: 0 20px !important; }
html body dialog.gl-sheet.gl-sheet.gl-sheet .btn.ghost.ghost, html body dialog.gl-sheet.gl-sheet.gl-sheet form button[type=submit].btn.ghost.ghost { background: transparent !important; color: #7A5B2B !important; border: 1px solid #B8945B !important; }
html dialog.gl-sheet form.inline > label:has(select + select) { flex: 1 1 300px !important; }
html dialog.gl-sheet form.inline > label:has(select + select) { flex-direction: row !important; flex-wrap: wrap; align-items: center; }
html dialog.gl-sheet form.inline > label:has(select + select) > :first-child:not(select) { flex-basis: 100%; }
html dialog.gl-sheet form.inline label select + select, html dialog.gl-sheet form.inline label :is(select):has(+ select) { width: auto !important; min-width: 78px; flex: 1 1 0; }
/* the top line of an admin pop-up: just ✕ in the corner, no empty bar above the title */
html dialog.rg-sheet.rg-pop > .pg-back:has(> span.pop-same) { position: absolute !important; top: 14px; right: 14px; padding: 0 !important; margin: 0 !important; border: 0 !important; z-index: 3; }
html dialog.rg-sheet.rg-pop > .pg-back:has(> span.pop-same) > span { display: none; }
html dialog.rg-sheet.rg-pop:has(> .pg-back > span.pop-same) > h2:first-of-type { margin-top: 6px !important; padding-right: 56px; }
html dialog.gl-sheet p.body { font-size: 15px !important; margin: 10px 0 4px !important; }
html dialog.gl-sheet form.inline > label:has(input[type=date], select + select):has(+ label select:only-of-type) { flex-basis: 100% !important; }
html dialog.gl-sheet form.inline > label:has(select + select) small, html dialog.gl-sheet form.inline > label:has(select + select) .dt-day { flex-basis: 100%; }
/* admin and coach panels: the one main button stays full width but lighter: a normal height, no heavy shadow */
html[data-app="admin"] dialog.rg-sheet:not(.gl-sheet) form button[type=submit].btn:not(.link-btn):not(.line), html[data-app="coach"] dialog.rg-sheet:not(.gl-sheet) form button[type=submit].btn:not(.link-btn):not(.line) { min-height: 46px !important; box-shadow: none !important; border-radius: 12px !important; }
/* the top-bar Ask Legacy (phone, admin and coach): the floating one steps aside */
.ak-topbtn { display: none; }
@media (max-width: 767px) {
  html.ak-in-head .ak-topbtn { display: inline-flex; color: #B8945B; }
  html.ak-in-head .ak-launch, html.ak-in-head .ak-launch + *:not(#ak-panel):not(.ak-panel), html.ak-in-head .ak-lbl { opacity: 0 !important; pointer-events: none !important; }
}
/* proportion, every admin page: rounded alert boxes, lighter gold buttons, a compact Players / Coaches switch, less empty space under BACK */
html[data-app="admin"] .notice.err, html[data-app="admin"] .notice { border-radius: 14px; }
html[data-app="admin"] .btn:not(.line):not(.ghost) { box-shadow: 0 1px 2px rgba(28,27,24,.12) !important; }
html[data-app="admin"] a.notice, html[data-app="admin"] .st-alert { border-radius: 14px !important; }
@media (min-width: 768px) { html[data-app="admin"] nav.pg-seg.pc-seg { max-width: 420px; } }
/* Nov 19, 2026: Money chart, earned (when played) next to received (when paid) */
#m-chart .mc-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
#m-chart .mc-key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: #59544B; margin: 4px 0 10px; }
#m-chart .mc-key i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
#m-chart .mc-e { background: #B8945B; }
#m-chart .mc-p { background: #E6D9C2; box-shadow: inset 0 0 0 1px #CDB78F; }
#m-chart .mc-pair { display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 100%; height: 100%; }
#m-chart .mc-one { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; flex: 1 1 0; min-width: 0; max-width: 30px; }
#m-chart .mc-one .bar-b { width: 100%; max-width: 30px; }
#m-chart .mc-one .bar-v { font-size: 10px; }
#m-chart .bar-col.on .bar-l { color: #1C1B18; font-weight: 600; }
#m-chart .bar-col.on .mc-e { background: #8E6C36; }
#m-chart .mc-gap { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid #E7E0D3; font-size: 15px; }
#m-chart .mc-gap b { font-weight: 500; }
#m-chart .mc-month { margin-top: 16px; padding-top: 14px; border-top: 1px solid #E7E0D3; display: flex; flex-direction: column; gap: 8px; }
#m-chart .mc-mh { display: flex; flex-direction: column; gap: 2px; }
#m-chart .mc-mh b { font-weight: 500; font-size: 16px; }
@media (max-width: 700px) { #m-chart .mc-one .bar-v { display: none; } #m-chart .mc-pair { gap: 1px; } }
#m-chart .mc-sel select { min-height: 40px; padding: 0 36px 0 14px; border: 1px solid rgba(28,27,24,0.18); border-radius: 10px; background-color: #fff; font: inherit; font-size: 14px; color: #1C1B18; }
#m-chart .mc-one { max-width: 44px; } #m-chart .mc-one .bar-b { max-width: 44px; } #m-chart .mc-one .bar-v { font-size: 11px; }
#m-chart .mc-p { background: #8E8A80; box-shadow: none; }
/* package in hours: one clear block on the player overview */
.ov-pkg { margin-top: 14px; padding: 14px 16px; border: 1px solid rgba(28,27,24,0.09); border-radius: 12px; background: #FFFDF8; display: flex; flex-direction: column; gap: 10px; }
.ov-pkg-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.ov-pkg-n { font-size: 15px; color: #1C1B18; } .ov-pkg-n b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 26px; }
.ov-pkg-left { margin-left: auto; font-size: 13px; color: #59544B; }
.ov-bar { height: 8px; border-radius: 999px; background: #EFE8DC; overflow: hidden; } .ov-bar i { display: block; height: 100%; background: #B8945B; border-radius: 999px; }
.ov-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ov-chip { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: #F1EBE1; color: #3A3934; } .ov-chip small { color: #8A847A; }
.ov-chip.ov-ok { background: #E3EEE5; color: #1F4D2C; } .ov-chip.ov-due { background: #FBF0D6; color: #8A6A12; font-weight: 500; } .ov-chip.ov-soft { background: transparent; border: 1px solid rgba(28,27,24,0.12); color: #59544B; }
.ov-pkg-act { display: flex; flex-wrap: wrap; gap: 8px; }
/* overview rows: each label sits right beside its answer, not at the far side */
.ov-card .ov-r { justify-content: flex-start; align-items: baseline; gap: 14px; }
.ov-card .ov-k { width: 104px; }
.ov-card .ov-v { text-align: left; flex: 1; min-width: 0; }
/* Money › Reports */
.rp-card { display: flex; flex-direction: column; gap: 14px; }
.rp-pre { display: flex; flex-wrap: wrap; gap: 8px; }
.rp-pre .chip-btn { font: inherit; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.18); background: #FFFDF8; color: #3A3934; cursor: pointer; }
.rp-pre .chip-btn.on { background: #1C1B18; color: #FFFDF8; border-color: #1C1B18; }
.rp-pl summary { cursor: pointer; font-size: 14px; padding: 6px 0; } .rp-pl b { font-weight: 500; }
.rp-q { width: 100%; margin: 8px 0; }
.rp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 16px; max-height: 260px; overflow: auto; padding: 4px 0; }
.rp-p { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 4px 0; }
/* Renewals: date, repeats and notes on one straight line; the year is wide enough to read */
html .rn-f { align-items: flex-start !important; }
html .rn-f > label.f, html .rn-f > .btn { align-self: flex-start; }
html .rn-f > .btn { margin-top: 22px; }
html .rn-f .rn-due { flex: 2 1 320px !important; min-width: min(100%, 20em); }
html .rn-f .rn-due .bd-pick { grid-template-columns: minmax(8.6em, 1.6fr) minmax(4.4em, 0.8fr) minmax(6.4em, 1fr); }
html .rn-f .rn-due .bd-wd { display: none; }
html .rn-f .rn-rep { flex: 1 1 180px !important; }
.rn-every { display: flex; flex-direction: column; gap: 8px; }
.rn-custom { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #3A3934; }
.rn-custom[hidden] { display: none; }
.rn-custom input { width: 4.2em; min-height: 40px; } .rn-custom select { min-height: 40px; }
/* Nov 20, 2026: Remind me later and Mark done on every Needs you item */
.na-ld { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-left: auto; }
.na-ld form { margin: 0; display: inline-flex; }
.na-ld select { font: inherit; font-size: 11px; letter-spacing: 0.14em; color: #7A5B2B; background: transparent; border: 1px solid #D9CDB8; border-radius: 0; padding: 6px 26px 6px 10px; min-height: 32px; cursor: pointer; }
.na-ld .link-btn { font-size: 11px; letter-spacing: 0.14em; }
@media (max-width: 560px) { .na-ld { margin-left: 0; width: 100%; } }
/* Renewals edit: Save, Save draft and Remove together on the right, same line as the fields */
html .rn-f { flex-wrap: wrap; align-items: flex-start !important; gap: 10px 18px !important; }
html .rn-f .rn-notes { flex: 2 1 220px !important; }
html .rn-f .rn-btns { margin-left: auto; margin-top: 22px; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
html .rn-f .rn-btns .draft-btn { margin: 0; }
html .rn-ed > form.rn-del { display: flex; justify-content: flex-end; margin-top: 6px; }
/* Nov 20, 2026: Weekly hours, a MORNING and an AFTERNOON block side by side on every day */
.ch-v2 .ch-head { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 12px; margin-top: 8px; font-size: 11px; letter-spacing: 0.2em; color: #7A5B2B; }
.ch-v2 .ch-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ch-v2 .ch-r { display: grid !important; grid-template-columns: 130px 1fr 1fr; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid #EEE7DA; }
.ch-v2 .ch-d { font-size: 16px; color: #1C1B18; display: flex; flex-direction: column; line-height: 1.2; }
.ch-v2 .ch-d small { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #8C877D; min-height: 1em; }
.ch-v2 .ch-b { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border: 1px solid #E3DACB; background: #FFFFFF; transition: border-color .15s, background .15s; }
.ch-v2 .ch-b.on { border-color: #B8945B; background: #FBF7EF; }
.ch-v2 .ch-bt { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.18em; color: #59544B; cursor: pointer; min-height: 36px; margin: 0; }
.ch-v2 .ch-bt input { width: 18px; height: 18px; accent-color: #B8945B; margin: 0; }
.ch-v2 .ch-b.on .ch-bt { color: #7A5B2B; }
.ch-v2 .ch-t { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
.ch-v2 .ch-t select { min-height: 36px; font-size: 14px; padding: 4px 26px 4px 8px; border-radius: 0; }
.ch-v2 .ch-b:not(.on) .ch-t { opacity: 0.35; }
.ch-v2 .ch-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.ch-v2 .ch-foot .btn { width: auto !important; min-width: 200px; }
@media (max-width: 720px) {
  .ch-v2 .ch-head { display: none; }
  .ch-v2 .ch-r { grid-template-columns: 1fr; gap: 8px; }
  .ch-v2 .ch-d { flex-direction: row; align-items: baseline; gap: 10px; }
  .ch-v2 .ch-t { margin-left: 0; }
  .ch-v2 .ch-foot .btn { width: 100% !important; }
}

/* Nov 22, 2026: the More sheet always opens whole, with air above and below (padding is counted inside the height now) */
html[data-app] .tabbar .m-more[open] > div { box-sizing: border-box !important; padding: 28px 24px calc(24px + env(safe-area-inset-bottom)) !important; max-height: calc(100vh - 166px - env(safe-area-inset-top)) !important; max-height: calc(100dvh - 166px - env(safe-area-inset-top)) !important; overscroll-behavior: contain; scroll-padding: 28px 0 24px; }
html[data-app] .tabbar .m-more[open] > div::before { order: -99 !important; margin: -12px auto 6px !important; }
html[data-app] .tabbar .m-more[open] > div > a.must { margin-bottom: 10px !important; }

/* Nov 22, 2026: Daily Power on/off, a quiet square switch in the brand (no heavy gold block, no round knob) */
html body .dp-sw { all: unset; box-sizing: border-box; flex: 0 0 auto; position: relative; display: inline-block; width: 48px; height: 26px; padding: 0; border: 1px solid #CFC6B6; border-radius: 4px; background: #F4EFE6; cursor: pointer; transition: background .2s, border-color .2s; -webkit-tap-highlight-color: transparent; }
html body .dp-sw::after { content: ''; position: absolute; inset: -9px -6px; }
html body .dp-sw span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 2px; background: #FFFDF8; box-shadow: 0 1px 2px rgba(14,14,14,0.18); transition: transform .2s ease, background .2s; }
html body .dp-sw[aria-checked="true"] { background: #E9DCC4; border-color: #B8945B; }
html body .dp-sw[aria-checked="true"] span { transform: translateX(22px); background: #B8945B; box-shadow: none; }
html body .dp-sw:focus-visible { outline: 2px solid #B8945B; outline-offset: 3px; }

/* Nov 22, 2026: the monthly check reads as one clear list: what it is, how, where you stand, then one row per check */
html body .lp-tests .lp-tests-h { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 26px; line-height: 1.2; margin: 6px 0 8px; color: #1C1B18; }
html body .lp-tests .lp-tests-what { margin: 0 0 10px; font-size: 15px; line-height: 1.55; color: #3A3934; }
html body .lp-tests .lp-tests-how { margin: 0 0 14px; font-size: 14px; line-height: 1.55; color: #59544B; }
html body .lp-tests .lp-tests-how b { font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #7E5F2C; margin-right: 6px; }
html body .lp-tests .lp-tests-st { display: inline-block; margin: 0; padding: 7px 12px; border: 1px solid #E2D9C8; background: #F6F1E8; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #59544B; }
html body .lp-tests .lp-tests-st.ok { border-color: #BFD5C3; background: #EEF5EF; color: #1F4D2C; }
html body .lp-tests .lp-tg { display: block !important; margin: 16px 0 0 !important; border-top: 1px solid #E7E0D3; }
html body .lp-tests .lp-t { display: grid !important; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 0 !important; border: 0 !important; border-bottom: 1px solid #E7E0D3 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
html body .lp-tests .lp-t-h { grid-column: 1 / -1; font-size: 15px !important; font-weight: 500; color: #1C1B18 !important; }
html body .lp-tests .lp-t-h b { font-size: 26px !important; line-height: 1; }
html body .lp-tests .lp-t-how { grid-column: 1 / -1; margin: 0; font-size: 13.5px; line-height: 1.5; color: #6A645A; }
html body .lp-tests .lp-t > svg { grid-column: 1 / -1; width: 100%; max-height: 56px; }
html body .lp-tests .lp-t-f { grid-column: 1 / -1; display: flex !important; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: nowrap !important; }
html body .lp-tests .lp-t-f > .muted { font-size: 13px; min-width: 0; }
html body .lp-tests .lp-t-add { flex: none; display: flex; gap: 0; }
html body .lp-tests .lp-t-add input { width: 84px !important; min-height: 42px; border: 1px solid #CFC6B6 !important; border-right: 0 !important; border-radius: 0 !important; padding: 0 10px; font-size: 16px !important; background: #fff; }
html body .lp-tests .lp-t-add button { min-height: 42px; padding: 0 14px !important; border: 1px solid #0E0E0E !important; border-radius: 0 !important; background: #0E0E0E !important; color: #FAF8F2 !important; font: 500 11px/1 'Jost', sans-serif !important; letter-spacing: .18em !important; text-decoration: none !important; cursor: pointer; }
html body .lp-tests .lp-t-done .lp-t-h span::after { content: ' ✓'; color: #2F6B3A; }
html body .lp-tests .lp-t-done .lp-t-add button { background: transparent !important; color: #1C1B18 !important; border-color: #CFC6B6 !important; }

/* Nov 22, 2026: Ask Legacy in the top bar stays put on every tab (it no longer slides away while scrolling or on Messages) */
html:root body:not(#lg0) .m-nav .ak-launch.ak-launch.ak-top { transform: none !important; opacity: 1 !important; pointer-events: auto !important; }
html:not(.kb-on):not(.kb-open):not(.mu-docked) body:has(.mv2.v-messages) .m-nav .ak-launch.ak-top { display: flex !important; }

/* Nov 22, 2026: the two ways to sign (coach agreement, member papers) stack on a phone and sit side by side on a wide screen; a style for another grid had squeezed them into narrow columns */
html body .sign-ways .sw-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
@media (max-width: 640px) { html body .sign-ways .sw-grid { grid-template-columns: 1fr !important; } }
html body .sign-ways .sw { border-radius: 4px !important; padding: 16px 18px !important; min-width: 0; }
html body .sign-ways .sw > span { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
html body .sign-ways .sw strong { font-size: 17px; }
html body .sign-ways .sw-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
html body .sign-ways a.sw { position: relative; padding-right: 44px !important; border: 1px solid #B8945B; }
html body .sign-ways a.sw::after { content: '→'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: #7E5F2C; }

/* Nov 22, 2026: the once-a-season gift reminder in the member app */
dialog.gift-pop { border: 0; padding: 0; width: min(420px, calc(100vw - 32px)); background: #032312; color: #FAF8F2; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
dialog.gift-pop.ny { background: #0E0E0E; }
dialog.gift-pop::backdrop { background: rgba(14,14,14,0.55); }
dialog.gift-pop .gpp-in { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; text-align: center; }
dialog.gift-pop img { width: 100%; height: auto; display: block; box-shadow: 0 10px 24px rgba(0,0,0,0.35); margin-bottom: 6px; }
dialog.gift-pop .gpp-k { font-size: 11px; letter-spacing: 0.3em; color: #C9A464; }
dialog.gift-pop h2 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.2; color: #FAF8F2; }
dialog.gift-pop p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(250,248,242,0.86); }
dialog.gift-pop .gpp-go { display: block; margin-top: 6px; padding: 15px; background: #C9A464; color: #032312; text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; }
dialog.gift-pop .gpp-x { all: unset; cursor: pointer; padding: 10px; font-size: 13px; color: rgba(250,248,242,0.75); text-decoration: underline; text-underline-offset: 4px; }

/* Nov 23, 2026: the bell shows a quiet dot for new updates; the only "to do" number is on Actions */
.lg-bell-n.lg-bell-dot { min-width: 10px; width: 10px; height: 10px; padding: 0; top: 10px; right: 8px; border-radius: 50%; }

/* Nov 23, 2026: Wellness opens on Your 3 for today; habits and the monthly check are one tap away */
.wl-fold > summary.wl-fold-s { list-style: none; cursor: pointer; display: flex; flex-direction: column; gap: 4px; min-height: 44px; }
.wl-fold > summary.wl-fold-s::-webkit-details-marker { display: none; }
.wl-fold[open] > summary.wl-fold-s { margin-bottom: 12px; }

/* Nov 23, 2026: level label on its own line, the level and CHANGE below it, never overlapping */
.wl-lvl-line .wl-lv-k { flex-basis: 100%; }
.wl-lvl-line .wl-lv-v { flex: 0 1 auto; min-width: 0; }

/* Nov 23, 2026: voice note extras behind MORE */
.vr-more { display: flex; flex-direction: column; gap: 6px; }
.vr-more > summary { list-style: none; cursor: pointer; align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; }
.vr-more > summary::-webkit-details-marker { display: none; }
.vr-more[open] { padding-bottom: 4px; }
.vr-more:not(:has(> button:not([hidden]))) { display: none; }

/* Nov 23, 2026: coach Players filters folded */
.pl-filters > summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; }
.pl-filters > summary::-webkit-details-marker { display: none; }
.pl-filters[open] { display: flex; flex-direction: column; gap: 12px; }

/* Nov 23, 2026: the first sign-in welcome card in the member app */
dialog.first-wel { border: 0; padding: 0; width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #0E0E0E; color: #FAF8F2; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
dialog.first-wel::backdrop { background: rgba(14,14,14,0.6); }
dialog.first-wel .fw-in { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 18px; text-align: center; }
dialog.first-wel .fw-stage { position: relative; perspective: 900px; padding: 6px 4px 10px; margin-bottom: 6px; }
dialog.first-wel .fw-card { position: relative; overflow: hidden; aspect-ratio: 1.586; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 26px 22px 18px; box-sizing: border-box; border-radius: 14px;
  background: radial-gradient(130% 100% at 20% 0%, #3A3022 0%, #17140F 55%, #0B0A09 100%); border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(201,164,100,0.55), inset 0 0 0 6px #0E0E0E, inset 0 0 0 7px rgba(201,164,100,0.22), 0 18px 40px rgba(0,0,0,0.55), 0 2px 0 rgba(255,255,255,0.04);
  transform-origin: 50% 60%; opacity: 0; transform: rotateX(18deg) translateY(16px) scale(0.96); animation: fwIn 1s 0.15s cubic-bezier(.2,.8,.2,1) forwards; }
dialog.first-wel .fw-court { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(201,164,100,0.10); stroke-width: 1; pointer-events: none; }
dialog.first-wel .fw-card img { position: relative; width: 58%; height: auto; display: block; margin-top: 6px; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.6)); }
dialog.first-wel .fw-bot { position: relative; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; }
dialog.first-wel .fw-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.1; letter-spacing: 0.02em; background: linear-gradient(180deg, #F4E3BE 0%, #C9A464 60%, #9C7A3F 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
dialog.first-wel .fw-meta { width: 100%; display: flex; justify-content: space-between; font-size: 9.5px; letter-spacing: 0.26em; color: rgba(250,248,242,0.7); }
dialog.first-wel .fw-sheen { position: absolute; top: -20%; bottom: -20%; width: 38%; left: -60%; background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(244,227,190,0.16) 45%, rgba(255,255,255,0.32) 50%, rgba(244,227,190,0.16) 55%, rgba(255,255,255,0) 100%); transform: skewX(-18deg); animation: fwSheen 1.6s 1.1s ease-in-out forwards; pointer-events: none; }
dialog.first-wel .fw-sp { position: absolute; width: 6px; height: 6px; background: #E3C27E; transform: rotate(45deg) scale(0); opacity: 0; box-shadow: 0 0 8px rgba(227,194,126,0.9); animation: fwSpark 1.8s ease-out forwards; }
dialog.first-wel .fw-sp.s1 { top: 2%; left: 8%; animation-delay: 0.9s; }
dialog.first-wel .fw-sp.s2 { top: 10%; right: 4%; animation-delay: 1.2s; width: 4px; height: 4px; }
dialog.first-wel .fw-sp.s3 { bottom: 6%; left: 2%; animation-delay: 1.5s; width: 4px; height: 4px; }
dialog.first-wel .fw-sp.s4 { bottom: 2%; right: 12%; animation-delay: 1.0s; }
dialog.first-wel .fw-sp.s5 { top: 46%; right: -1%; animation-delay: 1.7s; width: 3px; height: 3px; }
@keyframes fwSheen { 0% { left: -60%; opacity: 1; } 85% { opacity: 1; } 100% { left: 140%; opacity: 0; } }
@keyframes fwSpark { 0% { opacity: 0; transform: rotate(45deg) scale(0); } 30% { opacity: 1; transform: rotate(45deg) scale(1.2); } 100% { opacity: 0; transform: rotate(45deg) scale(0.4) translateY(-10px); } }
dialog.first-wel .fw-k { font-size: 11px; letter-spacing: 0.3em; color: #C9A464; }
dialog.first-wel h2 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 27px; line-height: 1.2; color: #FAF8F2; }
dialog.first-wel p { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(250,248,242,0.86); }
dialog.first-wel .fw-motto { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 19px; color: #C9A464; }
dialog.first-wel .fw-go { display: block; margin-top: 6px; padding: 15px; background: #B8945B; color: #0E0E0E; text-decoration: none; border: 0; border-radius: 0; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: 0.24em; cursor: pointer; width: 100%; box-sizing: border-box; }
dialog.first-wel button.fw-x:not(.fw-go) { all: unset; cursor: pointer; padding: 10px; font-size: 13px; color: rgba(250,248,242,0.75); text-decoration: underline; text-underline-offset: 4px; }
@keyframes fwIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.first-wel .fw-card { animation: none; opacity: 1; transform: none; } dialog.first-wel .fw-sheen, dialog.first-wel .fw-sp { display: none; } }

/* Nov 23, 2026: a tapped suggested time is clearly chosen, and the fields it filled glow once */
.sm-chip.on { border-color: #0E0E0E; background: #0E0E0E; color: #FAF8F2; }
.sm-chip.on span { color: rgba(250,248,242,0.78); }
.sm-chip.on b::before { content: '✓ '; color: #C9A464; }
.sm-filled { font-weight: 500; }
@keyframes smFlash { 0% { box-shadow: 0 0 0 0 rgba(184,148,91,0); } 25% { box-shadow: 0 0 0 4px rgba(184,148,91,0.55); } 100% { box-shadow: 0 0 0 0 rgba(184,148,91,0); } }
.sm-flash { animation: smFlash 1.4s ease; border-radius: 4px; }

/* Nov 23, 2026: box breathing pace choices (Regular, Easier, Harder, Short on time) */
.bx-pre { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
.bx-pre button { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; text-align: left; padding: 12px 14px; min-height: 64px; border-radius: 14px; border: 1px solid rgba(250,248,242,.35); background: transparent; color: #FAF8F2; font: 400 13px/1.3 'Jost', sans-serif; cursor: pointer; }
.bx-pre button b { font-weight: 500; font-size: 15px; letter-spacing: 0.02em; }
.bx-pre button span { color: rgba(250,248,242,.72); }
.bx-pre button.on { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.bx-pre button.on span { color: rgba(14,14,14,.75); }

/* Nov 23, 2026 (owner): all the water glasses on one row, whatever the number */
html body .wr-g { display: flex !important; flex-wrap: nowrap !important; gap: 4px !important; justify-content: space-between; }
html body .wr-g .wr-c { flex: 1 1 0; min-width: 0; justify-content: center; }
html body .wr-g .wr-c svg { width: 100%; max-width: 34px; height: auto; aspect-ratio: 40 / 52; }

/* Nov 23, 2026 (owner): no empty space between a plan's title and where it starts (the – on the title already closes it) */
details.lp-plan > .fold-close.over-card, details.lp-plan .lp-tip > .fold-close { display: none !important; }
details.lp-plan > form.has-fx-plain { padding-top: 0 !important; }
details.lp-plan > summary { margin-bottom: 4px; }
details.lp-plan .lp-tip.has-fx-plain { padding-top: 14px !important; }
details.lp-plan fieldset legend + p.muted { margin-top: 4px; }
/* the habits fold: its content starts right under the title, as one card (no card inside a card) */
#w-fold > .card { padding: 0 !important; margin-top: 10px !important; background: none !important; box-shadow: none !important; border: 0 !important; }
#w-fold > .card.has-fx > .fold-close.in-card { top: -6px; right: 0; }
#w-fold.wl-month .lp-tests > .eyebrow:first-of-type { display: none; }
#w-fold.wl-month > .card { margin-top: 4px !important; }
/* closed cards are compact, with a + to open (– when open) */
#w-fold.wl-month > summary, details.lp-plan > summary { padding: 4px 34px 4px 0 !important; gap: 8px !important; }
#w-fold.wl-month { position: relative; }
#w-fold.wl-month > summary { list-style: none; cursor: pointer; }
#w-fold.wl-month > summary::-webkit-details-marker { display: none; }
#w-fold.wl-month > summary::after { content: '+'; position: absolute; right: 22px; top: 22px; font-size: 20px; color: #7A5B2B; }
#w-fold.wl-month[open] > summary::after { content: '–'; }

/* Nov 23, 2026 (owner): the shareable badge card */
dialog.aw-sheet .aw-share { margin-top: 14px; width: 100%; }
dialog.bc-sheet { border: 0; padding: 18px; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #FAF8F2; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
dialog.bc-sheet::backdrop { background: rgba(14,14,14,0.6); }
dialog.bc-sheet img { display: block; width: 100%; height: auto; margin: 26px 0 14px; box-shadow: 0 14px 30px rgba(0,0,0,0.3); }
dialog.bc-sheet .bc-acts { display: flex; flex-direction: column; gap: 8px; }
dialog.bc-sheet .bc-acts .btn { width: 100%; text-align: center; }
dialog.bc-sheet .bc-n { margin: 10px 0 0; font-size: 13px; text-align: center; }
dialog.first-wel .fw-share { all: unset; cursor: pointer; box-sizing: border-box; display: block; width: 100%; padding: 13px; border: 1px solid rgba(201,164,100,0.6); color: #E3C27E; font: 500 12px/1 'Jost', sans-serif; letter-spacing: 0.24em; text-align: center; }
dialog.ml-new { text-align: center; }
dialog.ml-new .ml-num { display: block; margin: 8px auto 4px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 96px; line-height: 1; background: linear-gradient(180deg, #F4E3BE, #C9A464 60%, #8A6A34); -webkit-background-clip: text; background-clip: text; color: transparent; }
dialog.ml-new .ml-gift { color: #7E5F2C; }

/* Nov 23, 2026 (owner's redesign): the milestone moment */
dialog.ml-new .ml-medal { display: block; width: 180px; height: 180px; margin: 6px auto 10px; }
dialog.ml-new .ml-gift { background: #EFE6D8; color: #7E5A2C; padding: 16px 18px; margin: 4px 0 8px; }
dialog.ml-new [data-card].btn { background: #111111; color: #F5EFE4; border-color: #111111; }

/* Nov 23, 2026 (owner's redesign): the milestone moment */
dialog.ml-new .ml-medal { display: block; width: 180px; height: 180px; margin: 6px auto 10px; }
dialog.ml-new .ml-gift { background: #EFE6D8; color: #7E5A2C; padding: 16px 18px; margin: 4px 0 8px; }
dialog.ml-new [data-card].btn { background: #111111; color: #F5EFE4; border-color: #111111; }
dialog.ml-new [data-card].btn { color: #F5EFE4 !important; }
dialog.ml-new .rgx-h, .nc-card .nc-t { font-variant-numeric: lining-nums; }
dialog.ml-new .rgx-h { padding-right: 0 !important; text-align: center; }

/* Nov 23, 2026: the Confirmed sheet, compact and clear (no legend, no empty space) */
dialog.cf2 { width: min(480px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px; background: #FFFDF8; color: #1C1B18; box-shadow: 0 30px 80px rgba(0,0,0,.28); overflow: hidden; }
dialog.cf2::backdrop { background: rgba(14,14,14,.45); backdrop-filter: blur(3px); }
dialog.cf2 .x-close { position: absolute !important; top: 14px !important; right: 14px !important; z-index: 2; color: #FAF8F2 !important; background: rgba(250,248,242,.08) !important; border: 1px solid rgba(250,248,242,.35) !important; }
dialog.cf2 .x-close span { color: #FAF8F2 !important; }
.cf2-top { display: flex; gap: 16px; align-items: center; padding: 26px 64px 24px 26px; background: #0E0E0E; color: #FAF8F2; }
.cf2-top .eyebrow { color: #C9A464; margin: 0; }
.cf2-top h2 { margin: 4px 0 2px; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; font-size: 30px; line-height: 1.1; color: #FAF8F2; }
.cf2-top p { margin: 0; font-size: 15px; color: rgba(250,248,242,.78); }
.cf2-ic { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #2E6B3F; color: #FAF8F2; font-size: 22px; box-shadow: 0 0 0 6px rgba(46,107,63,.22); }
.cf2-told { padding: 20px 26px 4px; }
.cf2-list { list-style: none; margin: 10px 0 0; padding: 0; }
.cf2-r { display: grid; grid-template-columns: 26px 58px 1fr; align-items: baseline; gap: 2px 8px; padding: 11px 0; border-top: 1px solid rgba(28,27,24,.08); font-size: 15px; }
.cf2-r:first-child { border-top: 0; }
.cf2-r b { font-weight: 500; }
.cf2-s { color: #59544B; }
.cf2-i { font-weight: 600; }
.cf2-ok .cf2-i { color: #2E6B3F; } .cf2-no .cf2-i { color: #A3392B; } .cf2-wait .cf2-i, .cf2-off .cf2-i { color: #8C867B; } .cf2-off { opacity: .65; }
.cf2-a { grid-column: 3; font-size: 14px; color: #7A5B2B; text-decoration: underline; text-underline-offset: 3px; }
.cf2-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 16px 26px 24px; }

/* the veil in the page head is lifted by app-feel.js once the page is complete (style, back button, top bar), so nothing jumps */
body { transition: opacity .14s ease; }

/* Nov 24, 2026 (owner: a glitch while a page opens): on the phone, admin and coach never flash the floating Ask Legacy
   before it moves into the top bar. It starts hidden; it only floats if a page has no top bar to hold it (html.ak-no-head) */
@media (max-width: 767px) {
  html:is([data-app=admin],[data-app=coach]):not(.ak-no-head) .ak-launch:not(.ak-top):not([aria-expanded="true"]) { opacity: 0 !important; pointer-events: none !important; transition: none !important; }
  html:is([data-app=admin],[data-app=coach]):not(.ak-no-head) .ak-launch:not([aria-expanded="true"]) + .ak-lbl { opacity: 0 !important; }
}

/* Nov 24, 2026: Post / Story size on the share screen, and the initial-only choice */
.bc-sheet .bc-size { display: flex; gap: 0; margin: 0 auto 12px; border: 1px solid rgba(184,148,91,.5); width: max-content; }
.bc-sheet .bc-size button { background: transparent; border: 0; padding: 10px 18px; font: 500 12px/1 'Jost', sans-serif; letter-spacing: .18em; color: #59544B; cursor: pointer; min-height: 40px; }
.bc-sheet .bc-size button[aria-pressed="true"] { background: #0E0E0E; color: #FAF8F2; }
.bc-sheet.bc-story img { max-height: 62vh; width: auto; margin: 0 auto; display: block; }
.bc-sheet .bc-ini { display: block; margin: 10px auto 0; }

/* Nov 28, 2026 (owner): milestone moments feel glamorous: a slow gold glow on the medal, a light sweep over the title, a few falling gold flecks */
dialog.ml-new { position: relative; overflow: hidden; }
dialog.ml-new .ml-medal { animation: mlGlow 2.8s ease-in-out infinite; }
dialog.ml-new .rgx-h { background: linear-gradient(100deg, #1C1B18 0%, #1C1B18 36%, #C9A464 46%, #F4E3BE 50%, #C9A464 54%, #1C1B18 64%, #1C1B18 100%); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: mlSweep 3.2s ease-out 0.6s 1 both; }
dialog.ml-new::before { content: ""; position: absolute; inset: -40px 0 auto 0; height: 120%; pointer-events: none; background-image: radial-gradient(circle, rgba(201,164,100,0.9) 1.5px, transparent 2px), radial-gradient(circle, rgba(244,227,190,0.95) 1px, transparent 1.6px), radial-gradient(circle, rgba(138,106,52,0.8) 1.2px, transparent 1.8px); background-size: 90px 110px, 130px 150px, 170px 120px; background-position: 10px 0, 60px 30px, 120px 10px; animation: mlFall 5s linear 0.3s 2 both; opacity: 0; }
@keyframes mlGlow { 0%, 100% { filter: drop-shadow(0 0 0 rgba(201,164,100,0)); } 50% { filter: drop-shadow(0 0 18px rgba(201,164,100,0.55)); } }
@keyframes mlSweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes mlFall { 0% { opacity: 0; transform: translateY(-60px); } 15% { opacity: 1; } 85% { opacity: 0.8; } 100% { opacity: 0; transform: translateY(220px); } }
@media (prefers-reduced-motion: reduce) { dialog.ml-new .ml-medal, dialog.ml-new .rgx-h, dialog.ml-new::before { animation: none; } dialog.ml-new .rgx-h { color: #1C1B18; background: none; } }
