/* Legacy member area and admin */
body { margin: 0; background: #FAF8F2; color: #1C1B18; font: 300 16px/1.6 'Jost', 'Helvetica Neue', sans-serif; }
a { color: #7A5B2B; }
.m-wrap { max-width: 1280px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.m-head { border-bottom: 1px solid rgba(28,27,24,0.1); }
.m-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-top: 22px; padding-bottom: 22px; }
.m-logo { display: block; width: 190px; height: auto; max-width: 100%; aspect-ratio: 1400 / 390; }
.m-navlinks { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 12px; letter-spacing: 0.18em; }
.m-navlinks a, .m-navlinks span { color: #1C1B18; text-decoration: none; }
.m-navlinks a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; }
.m-nav > a:first-child { display: block; padding: 6px 0; }
.m-gold { color: #7A5B2B !important; }
.m-foot { background: #0E0E0E; color: #FAF8F2; margin-top: 40px; }
.m-footin { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 48px; padding-bottom: 40px; }
.m-flogo { display: block; width: 190px; height: auto; max-width: 100%; aspect-ratio: 1400 / 390; }
.m-flogo-a { display: inline-block; align-self: flex-start; }
.m-tag {     padding-top: 6px; }
.m-flinks { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 12px; letter-spacing: 0.16em; color: rgba(250,248,242,0.78); }
.m-flinks a { color: #FAF8F2; text-decoration: none; padding: 10px 0; }
.m-flinks span { padding: 10px 0; }
.serif { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; }
.eyebrow { font-size: 11px; letter-spacing: 0.3em; color: #7A5B2B; text-transform: uppercase; }
.m-h1 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(38px, 3.4vw, 48px); line-height: 1; }
.m-section { padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.card { background: #FFFDF8; border: 1px solid rgba(28,27,24,0.12); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; min-width: 0; }
.card h2 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 30px; line-height: 1.1; }
.big { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 64px; line-height: 0.9; }
.muted { color: #59544B; font-size: 14px; }
.body { color: #4A463F; font-size: 15px; }
.bar { height: 6px; background: #EDE6DA; } .bar > div { height: 6px; background: #B8945B; }
.list-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 14px 0; border-top: 1px solid rgba(28,27,24,0.12); }
.sand { background: #F1EBE1; padding: clamp(24px, 4vw, 44px); }
.btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; border: 0; background: #B8945B; color: #0E0E0E !important; padding: 18px 28px; font: 500 13px/1.2 'Jost', sans-serif; letter-spacing: 0.2em; cursor: pointer; text-decoration: none; min-height: 48px; box-sizing: border-box; }
.btn.dark { background: #1C1B18; color: #FAF8F2 !important; }
.btn.line { background: transparent; border: 1px solid rgba(28,27,24,0.35); color: #1C1B18 !important; font-weight: 400; }
.btn.small { padding: 10px 14px; min-height: 40px; font-size: 11px; }
.link-btn { background: none; border: 0;  color: #7A5B2B;  font: 400 12px/1.2 'Jost', sans-serif; letter-spacing: 0.2em; cursor: pointer; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 11px; letter-spacing: 0.22em; color: #4A463F; flex: 0 0 auto; min-width: 0; }
/* side by side only inside rows; in a column a 200px basis became 200px of empty height under each field */
.row:not([style*="column"]) > label.f, .pk-else > label.f, [style*="display: flex"]:not([style*="column"]):not(.card) > label.f { flex: 1 1 200px; }
label.f input, label.f select, label.f textarea { border: 0; border-bottom: 1px solid #1C1B18; background: transparent; padding: 10px 0; font: 300 17px/1.4 'Jost', sans-serif; letter-spacing: 0; color: #1C1B18; min-height: 44px; width: 100%; box-sizing: border-box; }
.choice { display: inline-flex; flex-direction: column; gap: 2px; border: 1px solid rgba(28,27,24,0.25); padding: 12px 16px; cursor: pointer; position: relative; background: transparent; min-height: 56px; box-sizing: border-box; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:has(input:checked) { border-color: #B8945B; background: #FFFDF8; }
.notice { background: #FFFDF8; border: 1px solid #B8945B; padding: 16px 20px; font-size: 15px; }
.ok { color: #2F6B3E; } .warn { color: #9A4A2A; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-size: 11px; letter-spacing: 0.2em; color: #59544B; font-weight: 400; padding: 10px 8px; border-bottom: 1px solid rgba(28,27,24,0.2); }
table.t td { padding: 12px 8px; border-bottom: 1px solid rgba(28,27,24,0.1); vertical-align: middle; }
.scroll-x { overflow-x: auto; }
.inline { display: inline; }
@media (max-width: 640px) { .m-wrap { padding-left: 16px; padding-right: 16px; } .big { font-size: 52px; } }
body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1 0 auto; }
.m-lang { font-size: 12px; letter-spacing: 0.16em; color: #59544B; }
.m-lang a { color: #59544B !important; text-decoration: none; padding: 8px 2px; }
.m-lang a.on { color: #1C1B18 !important;  }
details.m-manage summary { list-style: none; cursor: pointer; }
details.m-manage summary::-webkit-details-marker { display: none; }
@media (max-width: 640px) { .m-logo { width: 132px; } .m-flogo { width: 150px; } }

/* Progress, photos and videos, messages */
.pr-item { border-top: 1px solid rgba(28,27,24,0.12); padding: 20px 0 8px; display: flex; flex-direction: column; gap: 14px; }
.pr-item.latest { border-top-color: #B8945B; }
.pr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 28px; }
.pr-next { background: #F1EBE1; padding: 14px 16px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; padding-top: 6px; }
.media-item { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.media-item img, .media-item video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #E4DBCC; display: block; }
.media-item figcaption { font-size: 14px; line-height: 1.5; color: #3A3934; }
.media-link { aspect-ratio: 4 / 5; background: #1C1B18; color: #FAF8F2 !important; text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; letter-spacing: 0.2em; }
.thread { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 4px; max-height: 460px; overflow-y: auto; }
.bubble { max-width: 78%; padding: 12px 16px; font-size: 15px; line-height: 1.6; display: flex; flex-direction: column; gap: 4px; }
.bubble.me { align-self: flex-end; background: #F1EBE1; }
.bubble.coach { align-self: flex-start; background: #FFFDF8; border: 1px solid #B8945B; }
.bubble .who { font-size: 11px; letter-spacing: 0.18em; color: #7A5B2B; text-transform: uppercase; }
details.m-manage > summary.btn { list-style: none; }
details.m-manage > summary.btn::-webkit-details-marker { display: none; }
@media (max-width: 640px) { .bubble { max-width: 92%; } }
/* Fields stacked in a column keep their natural height */
.card > label.f, form.card > label.f, form[style*="column"] > label.f { flex: 0 0 auto; }
label.f textarea { resize: vertical; }

/* Anniversary, bring a friend */
.anniv { background: #0E0E0E; color: #FAF8F2; padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.7; }
.friend { flex-direction: row; flex-wrap: wrap; gap: 28px 56px; }
.friend-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.friend-form { flex: 1.3 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.friend-form > label.f { flex: 0 0 auto; }

/* Phones: member header on one tidy row */
@media (max-width: 600px){
  .m-nav:has(.m-gold) { flex-wrap: nowrap; gap: 12px; }
  .m-nav:has(.m-gold) .m-navlinks { flex-wrap: nowrap; gap: 4px 14px; }
  .m-navlinks .m-gold { display: none; }
  .m-nav:not(:has(.m-gold)) .m-navlinks { gap: 0 18px; }
  .m-nav > a:first-child { flex: none; }
  .m-logo { width: 132px; height: auto; }
}

/* ---------- Legacy master view ---------- */
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: rgba(28,27,24,0.12); border: 1px solid rgba(28,27,24,0.12); }
.glance > div { background: #FFFDF8; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.glance .big { font-size: 48px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(28,27,24,0.25); color: #1C1B18; text-decoration: none; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.tab.on { background: #1C1B18; border-color: #1C1B18; color: #FAF8F2; }
table.players tr:hover td { background: #F6F1E8; }
.st { display: inline-block; padding: 4px 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid rgba(28,27,24,0.2); white-space: nowrap; }
.st-active { border-color: #7A9A6A; color: #3A6A3A; } .st-pending { border-color: #B8945B; color: #7A5B2B; background: #FBF5EA; } .st-paused, .st-ended { color: #59544B; }
.pill { display: inline-block; background: #B8945B; color: #0E0E0E;  letter-spacing: 0.1em;  margin-left: 6px; vertical-align: middle; }
/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: rgba(28,27,24,0.12); border: 1px solid rgba(28,27,24,0.12); }
.cal-h { background: #F1EBE1; padding: 10px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #59544B; }
.cal-d { position: relative; background: #FFFDF8; min-height: 112px; padding: 8px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: #1C1B18; min-width: 0; }
.cal-d:hover { background: #F8F3EA; } .cal-empty { background: #FAF8F2; }
.cal-n {   line-height: 1; }
.cal-today .cal-n { background: #1C1B18; color: #FAF8F2; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 16px; }
.cal-on { box-shadow: inset 0 0 0 2px #B8945B; }
.cal-ev { font-size: 12px; line-height: 1.3; padding: 3px 6px; background: #F1E7D4; border-left: 2px solid #B8945B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.s-played { background: #EEF2EA; border-color: #7A9A6A; color: #3A4A36; } .cal-ev.s-cancelled { background: #F4F1EC; border-color: #C9C2B6; color: #8A8478; text-decoration: line-through; }
.cal-more { font-size: 11px; color: #59544B; } .cal-dot { display: none; }
@media (max-width: 700px) {
  .cal-d { min-height: 58px; padding: 6px 4px; align-items: center; } .cal-h { padding: 8px 2px; text-align: center;   }
  .cal-ev, .cal-more { display: none; }
  .cal-dot { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; background: #B8945B; color: #0E0E0E; font-size: 11px; border-radius: 10px; }
  .glance .big { font-size: 40px; }
}
/* map */
.lmap { height: min(70vh, 620px); min-height: 380px; border: 1px solid rgba(28,27,24,0.15); z-index: 0; }
.leaflet-popup-content { font: 300 14px/1.5 'Jost', sans-serif; } .leaflet-popup-content a { color: #7A5B2B; }
/* inbox */
.inbox-row { display: grid; grid-template-columns: minmax(140px, 1fr) 3fr auto; gap: 6px 20px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid rgba(28,27,24,0.1); text-decoration: none; color: #1C1B18; }
.inbox-row:hover { background: #F8F3EA; } .inbox-row.unread .inbox-name { font-weight: 500; }
.inbox-last { color: #4A463F; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 700px) { .inbox-row { grid-template-columns: 1fr auto; } .inbox-last { grid-column: 1 / -1; white-space: normal; } }

/* Admin on phones: the menu becomes one row you can swipe, so the page starts right away */
@media (max-width: 760px) {
  .m-nav:not(:has(.m-gold)) { flex-wrap: wrap; }
  .m-nav:not(:has(.m-gold)) .m-navlinks { width: 100%; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 0 20px; padding-bottom: 6px; scrollbar-width: none; }
  .m-nav:not(:has(.m-gold)) .m-navlinks::-webkit-scrollbar { display: none; }
  .m-nav:not(:has(.m-gold)) .m-navlinks a, .m-nav:not(:has(.m-gold)) .m-navlinks form { flex: none; white-space: nowrap; }
}
/* Players list on phones: each player becomes a tidy card */
@media (max-width: 700px) {
  table.players, table.players tbody, table.players tr, table.players td { display: block; width: 100%; box-sizing: border-box; }
  table.players tr:first-child { display: none; }
  table.players tr { padding: 14px 0; border-bottom: 1px solid rgba(28,27,24,0.12); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
  table.players td { border: 0; padding: 0; font-size: 14px; }
  table.players td:first-child, table.players td[data-l="Plays at"] { grid-column: 1 / -1; }
  table.players td[data-l]::before { content: attr(data-l); display: block;  letter-spacing: 0.18em; text-transform: uppercase; color: #59544B; }
  .m-nav:not(:has(.m-gold)) { flex-wrap: wrap !important; }
  .m-nav:not(:has(.m-gold)) .m-navlinks { flex: 1 1 100% !important; }
}
/* quick contact, today, money */
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(28,27,24,0.25); color: #1C1B18; text-decoration: none; font-size: 11px; letter-spacing: 0.18em; background: #FFFDF8; }
.quick a:hover { border-color: #B8945B; color: #7A5B2B; }
.today-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 8px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(28,27,24,0.1); }
.today-time {   white-space: nowrap; }
.today-act { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: flex-end; }
.today-act > a { font-size: 11px; letter-spacing: 0.18em; color: #7A5B2B; text-decoration: none; border-bottom: 1px solid #B8945B; padding: 6px 0 2px; }
@media (max-width: 700px) { .today-row { grid-template-columns: 74px 1fr; } .today-time { font-size: 18px; } .today-act { grid-column: 1 / -1; justify-content: flex-start; } }
.bars { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; height: 220px; align-items: end; }
.bar-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.bar-b { width: 100%; max-width: 44px; background: #B8945B; display: block; }
.bar-v { font-size: 11px; color: #4A463F; white-space: nowrap; } .bar-l { font-size: 11px; letter-spacing: 0.1em; color: #59544B; text-transform: uppercase; }
@media (max-width: 700px) { .bars { gap: 3px; height: 180px; } .bar-v { display: none; }  }

/* ---------- Phones: tables become easy cards, buttons never cut off ---------- */
@media (max-width: 700px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; box-sizing: border-box; }
  table.stack tr:first-child:has(th) { display: none; }
  table.stack tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid rgba(28,27,24,0.12); }
  table.stack td { width: auto; border: 0; padding: 0; font-size: 14px; text-align: left !important; }
  table.stack td:first-child { font-size: 15px; color: #1C1B18; }
  table.stack td:last-child:has(form, button, a.btn) { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; white-space: normal !important; }
  table.stack td[data-l]::before { content: attr(data-l) " "; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #59544B; }
  table.stack form.inline { display: inline-flex; }
  table.stack .btn.small { min-height: 44px; padding-left: 18px; padding-right: 18px; }
}

/* ---------- Bottom tab bar on phones (member area, coach and admin) ---------- */
.tabbar { display: none; }
@media (max-width: 760px) {
  .tabbar { 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-bottom: env(safe-area-inset-bottom); }
  .tabbar a, .tabbar summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 58px; font-size: 9.5px; letter-spacing: 0.14em; color: #4A463F; text-decoration: none; position: relative; cursor: pointer; list-style: none; }
  .tabbar summary::-webkit-details-marker { display: none; }
  .tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .on { color: #7A5B2B; }
  .tabbar .on::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; background: #B8945B; }
  .tabbar .badge { position: absolute; top: 7px; 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; letter-spacing: 0; line-height: 17px; text-align: center; }
  .tabbar details { position: static; display: block; }
  .tabbar details > summary { height: 58px; min-height: 0; box-sizing: border-box; }
  .tabbar details:not([open]) > div { display: none !important; }
  .tabbar details > div { position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); background: #FFFDF8; border-top: 1px solid rgba(28,27,24,0.14); box-shadow: 0 -12px 30px rgba(28,27,24,0.08); padding: 8px 16px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .tabbar details > div a, .tabbar details > div button { flex-direction: row; justify-content: flex-start; min-height: 52px; font-size: 12px; letter-spacing: 0.16em; color: #1C1B18; border-bottom: 1px solid rgba(28,27,24,0.08); background: none; border-left: 0; border-right: 0; border-top: 0; font-family: inherit; text-align: left; padding: 0; cursor: pointer; }
  .tabbar details > div form { display: contents; }
  body:has(.tabbar) { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  body:has(.tabbar.admin) .m-navlinks { display: none !important; }
  body:has(.tabbar) .wa-float { display: none; }
}

/* ---------- Jump bar on long pages ---------- */
.jump { position: sticky; top: 0; z-index: 30; display: flex;  overflow-x: auto; scrollbar-width: none;   background: #FAF8F2; }
.jump::-webkit-scrollbar { display: none; }
.jump { gap: 0 22px; border-bottom: 1px solid rgba(28,27,24,0.12); padding: 0; margin: 0; }
.jump a { flex: none; font-size: 11px; letter-spacing: 0.2em; color: #4A463F; text-decoration: none; min-height: 46px; box-sizing: border-box; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; }
.jump a:hover, .jump a:focus-visible { color: #1C1B18; border-bottom-color: #B8945B; }
[id] { scroll-margin-top: 72px; }

/* ---------- Member: next session ---------- */
.next { background: #1C1B18; color: #FAF8F2; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.next .eyebrow { color: #B8945B; }
.next .when { font-family: 'Cormorant Garamond', serif; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; }
.next .meta { color: rgba(250,248,242,0.78); font-size: 15px; }
.next .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.next .acts a { color: #FAF8F2; border: 1px solid rgba(250,248,242,0.4); padding: 12px 18px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.2em; text-decoration: none; }
.next .acts a.gold { background: #B8945B; border-color: #B8945B; color: #1C1B18; }
.more-list > summary {  cursor: pointer; padding: 14px 0 4px; }

@media (max-width: 760px) {
  body:has(.tabbar.admin) header.m-head { position: static; }
  .m-lang { white-space: nowrap; }
  body:has(.tabbar):not(:has(.tabbar.admin)) .jump, body:has(.tabbar:not(.admin)) [id] { scroll-margin-top: 96px; }
}
/* lesson notes, reschedule requests */
.lnote { margin-top: 6px; }
.lnote > summary { list-style: none; cursor: pointer; font-size: 12px; letter-spacing: 0.12em; color: #7A5B2B; padding: 6px 0; min-height: 32px; display: inline-flex; align-items: center; }
.lnote > summary::-webkit-details-marker { display: none; }
.lnote-f { display: flex; gap: 8px; align-items: center; padding-top: 6px; flex-wrap: wrap; }
.lnote-f input { flex: 1 1 220px; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid rgba(28,27,24,0.25); background: #FFFDF8; min-width: 0; }
.resched { display: flex; flex-direction: column; gap: 8px; background: #F6F1E8; padding: 12px 14px; margin-top: 6px; font-size: 14px; }
.resched .f { min-width: 0; }

/* ---------- Admin and coach: the bottom bar on every screen size ---------- */
.tabbar.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); }
.tabbar.admin a, .tabbar.admin summary { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 62px; box-sizing: border-box; font-size: 10px; letter-spacing: 0.16em; color: #4A463F; text-decoration: none; position: relative; cursor: pointer; list-style: none; }
.tabbar.admin a:hover, .tabbar.admin summary:hover { color: #1C1B18; }
.tabbar.admin summary::-webkit-details-marker { display: none; }
.tabbar.admin svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tabbar.admin .on { color: #7A5B2B; }
.tabbar.admin .on::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 2px; background: #B8945B; }
.tabbar.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; letter-spacing: 0; line-height: 17px; text-align: center; }
.tabbar.admin details { display: block; position: static; }
.tabbar.admin details:not([open]) > div { display: none !important; }
.tabbar.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; }
.tabbar.admin details > div a, .tabbar.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; font-weight: 300; text-align: left; padding: 0; cursor: pointer; width: 100%; }
.tabbar.admin details > div form { display: contents; }
body:has(.tabbar.admin) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
body:has(.tabbar.admin) .m-navlinks { display: none !important; }
body:has(.tabbar.admin) header.m-head { position: static; }
@media (min-width: 761px) { .tabbar.admin a, .tabbar.admin summary { font-size: 11px; } }
/* member area polish */
.know { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px 36px; }
.know > div { display: flex; flex-direction: column; gap: 6px; }
.know strong { font-weight: 500; font-size: 15px; color: #1C1B18; }
.know span { font-size: 15px; line-height: 1.6; color: #4A463F; }
.m-lang a.on { border-bottom: 0; text-decoration: underline; text-decoration-color: #B8945B; text-underline-offset: 6px; }
details > summary.link-btn { display: inline-flex !important; align-items: center; width: auto; }
details.m-manage > summary.btn { padding-left: 18px; padding-right: 18px; }
.m-navlinks form .btn.small { white-space: nowrap; }
@media (max-width: 760px) { .signin-photo { aspect-ratio: 16 / 10 !important; max-height: 260px !important; } }
@media (max-width: 600px) { .m-navlinks form .btn.small { padding-left: 12px; padding-right: 12px; letter-spacing: 0.14em; } }
/* easier to tap, easier to scan */

.wk-day { display: block; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; padding: 18px 0 4px; }
.wk-row { display: grid; grid-template-columns: 86px 1fr auto; gap: 4px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(28,27,24,0.08); color: #1C1B18; text-decoration: none; min-height: 44px; box-sizing: border-box; }
.wk-row:hover { background: #F6F1E8; }

@media (max-width: 520px) { .wk-row { grid-template-columns: 74px 1fr; } .wk-row .muted { grid-column: 2; } }
/* joining papers */
.papers-due { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; background: #F1EBE1; border-left: 3px solid #B8945B; padding: 24px clamp(20px, 4vw, 36px); }
.papers-due > div { display: flex; flex-direction: column; gap: 8px; flex: 1 1 320px; }
.paper-steps { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0 0 0 18px; font-size: 13px; letter-spacing: 0.06em; color: #59544B; }
.paper-steps a { color: #4A463F; }
.papers { display: flex; flex-direction: column; gap: 20px; }
.paper p.body { margin: 0; }
.paper .notice-law { display: block; font-size: 21px; line-height: 1.45; font-weight: 500; text-transform: uppercase; letter-spacing: 0.01em; color: #1C1B18; border: 2px solid #1C1B18; padding: 18px 20px; }
.paper .agree { display: flex; gap: 12px; align-items: center; font-size: 16px; padding: 10px 14px; background: #F6F1E8; min-height: 48px; box-sizing: border-box; cursor: pointer; }
.paper .agree input { width: 22px; height: 22px; accent-color: #7A5B2B; flex: none; }
.paper.sign { border-color: #B8945B; }
.sig-input { font-family: 'Cormorant Garamond', Georgia, serif !important; font-style: italic; font-size: 30px !important; }
@media (max-width: 600px) { .paper .notice-law { font-size: 19px; padding: 14px; } }
.pill.warn-pill { background: #F6E3DA; color: #9A4A2A; }
@media (max-width: 600px) { .paper-steps { flex-direction: column; gap: 6px; } }
.paper fieldset.q { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.paper fieldset.q legend { font-size: 16px; line-height: 1.55; color: #1C1B18; padding: 0 0 10px; }
.paper fieldset.q[hidden] { display: none; }
.top-note { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #1C1B18; color: #FAF8F2; padding: 16px 22px; text-decoration: none; font-size: 15px; }
.top-note .link-btn { color: #B8945B; border-color: #B8945B; }
.cal-off { display: block;  letter-spacing: 0.06em; background: #F6E3DA; color: #9A4A2A; padding: 1px 4px; margin-top: 2px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* tournaments and the Legacy journey */
.sub-h { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #59544B; padding-top: 6px; }
.tourn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.tourn { border: 1px solid rgba(28,27,24,0.15); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; background: #FFFDF8; }
.tourn.rec { border-color: #B8945B; background: #FBF7EE; }
.tourn-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tourn-date { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; }
.tourn .pill { margin-left: 0; }
.jr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.jr-stats > div { display: flex; flex-direction: column; }
.jr-stats .big { font-size: 44px; }
.jr { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 1px solid #B8945B; display: flex; flex-direction: column; gap: 18px; }
.jr li { position: relative; display: flex; flex-direction: column; gap: 2px; }
.jr li::before { content: ""; position: absolute; left: -27px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: #FAF8F2; border: 1px solid #B8945B; }
.jr li.jr-tournament::before, .jr li.jr-milestone::before, .jr li.jr-anniv::before, .jr li.jr-start::before { background: #B8945B; }
.jr-d { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; }
.jr-t {   line-height: 1.2; }
@media (max-width: 520px) { .jr-stats .big { font-size: 34px; } }
.tourn .pill { white-space: nowrap;  }
/* My tennis */
.mt-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.mt-face, .mt-avatar { border-radius: 50%; overflow: hidden; background: #E9E1D2; display: flex; align-items: center; justify-content: center; flex: none; }
.mt-face { width: 132px; height: 132px; border: 2px solid #B8945B; }
.mt-face img, .mt-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-face span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 48px; color: #7A5B2B; }
.mt-avatar { width: 56px; height: 56px; border: 1px solid #B8945B; text-decoration: none; }
.mt-avatar span { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #7A5B2B; }
.mt-id { display: flex; flex-direction: column; gap: 6px; flex: 1 1 280px; }
.mt-id .m-h1 { margin: 0; }
.mt-photo { display: inline; }
.mt-quick { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-quick a { border: 1px solid rgba(28,27,24,0.2); background: #FFFDF8; padding: 10px 16px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; font-size: 14px; color: #1C1B18; text-decoration: none; }
.mt-quick a:hover { border-color: #B8945B; }
.mt-card { text-decoration: none; color: inherit; }
.mt-card:hover { border-color: #B8945B; }
.goal { display: grid;  gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.goal-tick {   border: 1px solid #B8945B; background: #FFFDF8; color: #FAF8F2; font-size: 18px; cursor: pointer; border-radius: 50%; }
.goal.done .goal-tick { background: #B8945B; }
.goal.done .goal-t { color: #59544B; }
.goal-t { font-size: 16px; line-height: 1.45; }
@media (max-width: 520px) { .mt-face { width: 96px; height: 96px; } .mt-avatar { width: 46px; height: 46px; } }
.jr li.jr-goal::before { background: #7A5B2B; border-color: #7A5B2B; }
/* weekly check-in */
.ci-form { display: flex; flex-direction: column; gap: 16px; }
.ci-row { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ci-row legend { padding: 0 0 8px; font-size: 16px; }
.ci-row legend strong { font-weight: 500; }
.ci-scale { display: grid; grid-template-columns: repeat(5, minmax(44px, 64px)); gap: 8px; }
.ci-scale label { position: relative; }
.ci-scale input { position: absolute; opacity: 0; inset: 0; }
.ci-scale span { display: flex; align-items: center; justify-content: center; height: 48px; border: 1px solid rgba(28,27,24,0.25); font-size: 17px; cursor: pointer; background: #FFFDF8; }
.ci-scale input:checked + span { background: #B8945B; border-color: #B8945B; color: #0E0E0E; font-weight: 500; }
.ci-scale input:focus-visible + span { outline: 2px solid #7A5B2B; outline-offset: 2px; }
.ci-legend { margin-top: -8px; }
.ci-trend { display: flex; flex-direction: column; gap: 10px; }
.ci-line { display: grid; grid-template-columns: 64px 1fr 28px; gap: 12px; align-items: end; }
.ci-lab { font-size: 13px; letter-spacing: 0.1em; color: #4A463F; }
.ci-bars { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.ci-bars span { width: 14px; background: #B8945B; opacity: 0.85; }
.ci-now { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; }
.tip { border-left: 3px solid #B8945B; padding: 4px 0 4px 16px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.ci-form .f input { min-height: 0; }
.ci-form > .f, .ci-form > .agree { flex: none; }
.yc { gap: 12px; }

/* ---------- comfortable on every device: readable labels, easy taps ---------- */
.link-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border-bottom: 0; text-decoration: underline; text-decoration-color: #B8945B; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.pill { font-size: 11px; padding: 3px 8px; }
.tourn .pill { font-size: 11px; }
.cal-off { font-size: 11px; }
.tabbar a, .tabbar summary, .tabbar.admin a, .tabbar.admin summary { font-size: 11px !important; letter-spacing: 0.06em !important; }
.list-row > a, .list-row > span > a:first-child { min-height: 40px; display: inline-flex; align-items: center; padding: 0; }
.notice a { display: inline-block; padding: 8px 0; }
@media (max-width: 820px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; box-sizing: border-box; }
  table.stack tr:first-child:has(th) { display: none; }
  table.stack tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid rgba(28,27,24,0.12); }
  table.stack td { width: auto; border: 0; padding: 0; font-size: 14px; text-align: left !important; }
  table.stack td:last-child:has(form, button, a.btn) { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; white-space: normal !important; }
  table.stack td[data-l]::before { content: attr(data-l) " "; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #59544B; }
}
@media (max-width: 700px) { .cal-h { font-size: 11px; letter-spacing: 0.04em; } table.players td[data-l]::before { font-size: 11px; } }
.link-btn { min-width: 40px; justify-content: center; }
a.pill { display: inline-flex; align-items: center;  padding: 0 10px; }
table.stack td a, table.t td a { display: inline-block; padding: 9px 0; }
.tabbar .badge, .tabbar.admin .badge { font-size: 11px; }
@media (max-width: 700px) { .bar-l { font-size: 11px; letter-spacing: 0; } }
.paper-steps a { display: inline-block; padding: 10px 0; }
a.pill { min-height: 36px; }
@media (max-width: 760px) { .jump { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); padding-right: 24px; } }
.ci-trend { max-width: 480px; }
a.pill:not(.warn-pill) { background: #F1EBE1; color: #7A5B2B; border: 1px solid #D9C7A6; }
.goal-tick { width: 40px; height: 40px; } .goal { grid-template-columns: 48px 1fr auto; }
/* member area views: tabs on tablets and laptops */
.mtabs { display: flex; gap: 6px 28px; flex-wrap: wrap; border-bottom: 1px solid rgba(28,27,24,0.12); padding-top: 4px; padding-bottom: 0; }
.mtabs a { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #4A463F; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 2px solid transparent; }
.mtabs a.on { color: #1C1B18; border-bottom-color: #B8945B; }
.mtabs a:hover { color: #1C1B18; }
.badge-s { background: #9A4A2A; color: #FFF; border-radius: 9px; font-size: 11px; letter-spacing: 0; padding: 1px 6px; }
@media (max-width: 760px) { .mtabs { display: none; } }
.glance-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.glance-strip a { display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; box-sizing: border-box; padding: 10px 16px; border: 1px solid #D9C7A6; background: #FBF7EE; color: #1C1B18; text-decoration: none; font-size: 14px; }
.glance-strip a strong {    color: #7A5B2B; line-height: 1; }
.glance-strip a:hover { border-color: #B8945B; }
.tabbar.admin details { height: 100%; } .tabbar.admin details > summary { height: 62px; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.tabbar svg { flex: none; width: 22px; height: 22px; min-height: 22px; }
.tabbar details > summary { padding: 0 !important; }
.tabbar details > summary { gap: 4px !important; }

/* Reschedule is there when needed, but quiet: a small text link, never a button */
.m-quiet > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; letter-spacing: 0; color: #59544B; text-decoration: underline; text-decoration-color: rgba(111,106,96,0.4); text-underline-offset: 4px; }
.m-quiet > summary::-webkit-details-marker { display: none; }
.m-quiet[open] > summary { color: #1C1B18; }

/* Clear keyboard focus with 3:1 contrast */
:focus-visible { outline: 2px solid #7A5B2B; outline-offset: 3px; }
.tabbar :focus-visible, .m-dark :focus-visible { outline-color: #D9B98A; }

/* Lists in the same order everywhere: past at the top, today, coming up at the bottom */
.ppf-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.ppf-jump a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(28,27,24,0.18); color: #1C1B18; text-decoration: none; font-size: 13px; letter-spacing: 0.06em; }
.ppf-jump a strong { font-weight: 500; color: #7A5B2B; }
.ppf { border-top: 1px solid rgba(28,27,24,0.12); padding-top: 10px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 90px; }
.ppf > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.ppf > summary::-webkit-details-marker { display: none; }
.ppf > summary::after { content: '−'; font-size: 20px; color: #7A5B2B; }
.ppf:not([open]) > summary::after { content: '+'; }
.ppf-now > summary .eyebrow { color: #1C1B18; font-weight: 500; }
.ppf-past { }   /* past items stay fully readable (contrast) */
/* A clear X to leave a task page */
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.close-x { flex: 0 0 auto; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(28,27,24,0.25); color: #1C1B18; background: #FFFDF8; }
.close-x svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.6; fill: none; }
.close-x:hover { border-color: #7A5B2B; color: #7A5B2B; }
.close-x:focus-visible { outline: 2px solid #7A5B2B; outline-offset: 3px; }
/* Coach pay periods: one line each, tap to see every lesson */
.pp { border: 1px solid rgba(28,27,24,0.12); background: #FFFDF8; }
.pp > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(130px, 1.2fr) minmax(150px, 2fr) auto minmax(120px, 1fr); gap: 6px 16px; align-items: center; padding: 14px 16px; min-height: 48px; font-size: 15px; }
.pp > summary::-webkit-details-marker { display: none; }
.pp[open] > summary { border-bottom: 1px solid rgba(28,27,24,0.12); }
.pp > table, .pp > form, .pp > .muted { margin: 12px 16px; }
.pp-amt { font-weight: 500; white-space: nowrap; }
.pp-st { text-align: right; font-size: 14px; }
@media (max-width: 640px) { .pp > summary { grid-template-columns: 1fr auto; } .pp-n { grid-column: 1 / -1; order: 3; font-size: 14px; color: #59544B; } .pp-st { grid-column: 1 / -1; order: 4; text-align: left; } }
/* Map: a message on top when there are no pins yet */
.lmap-wrap { position: relative; }
.lmap-empty { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 500; background: rgba(255,253,248,0.96); border: 1px solid rgba(184,148,91,0.6); padding: 14px 16px; font-size: 15px; line-height: 1.5; max-width: 520px; }
/* keep the website's FAQ phone sizes away from admin lists */
details.ppf > summary { padding: 0 !important; gap: 12px !important; }
details.ppf > summary > span:first-child { font-size: 11px !important; line-height: 1.4; }
details.pp > summary { padding: 14px 16px !important; gap: 6px 16px !important; }
details.pp > summary > span:first-child { font-size: 15px !important; line-height: 1.4; }
.pp > table { width: calc(100% - 32px); }
/* Built-in map */
.lmap { position: relative; overflow: hidden; background: #EDE8DF; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab; }
.lmap.drag { cursor: grabbing; }
.lm-tiles, .lm-pins { position: absolute; inset: 0; }
.lm-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.lm-pin { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%;   padding: 0; cursor: pointer; box-shadow: 0 2px 8px rgba(14,14,14,0.25); }

.lm-pin:hover, .lm-pin:focus-visible { transform-origin: center; outline: 2px solid #1C1B18; outline-offset: 2px; }
.lm-pop { position: absolute; left: 0; top: 0; z-index: 5; margin: -14px 0 0 0; translate: -50% -100%; background: #FFFDF8; border: 1px solid rgba(28,27,24,0.15); box-shadow: 0 8px 26px rgba(14,14,14,0.2); padding: 14px 16px; min-width: 200px; max-width: 280px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.45; cursor: default; }
.lm-pop strong { font-weight: 500; font-size: 15px; }
.lm-pop a { color: #1C1B18; padding-top: 6px; }
.lm-zoom { position: absolute; right: 12px; top: 12px; z-index: 4; display: flex; flex-direction: column; }
.lm-zoom button { width: 44px; height: 44px; border: 1px solid rgba(28,27,24,0.2); background: #FFFDF8; font-size: 22px; line-height: 1; color: #1C1B18; cursor: pointer; }
.lm-zoom button + button { border-top: 0; }
.lm-zoom button:hover { background: #F1EBE1; }
.lm-attr { position: absolute; right: 0; bottom: 0; z-index: 4; background: rgba(255,253,248,0.85); font-size: 11px; padding: 2px 8px; color: #4A463F; }

/* Admin and member area: comfortable tap targets for names in lists, checkboxes never squeezed */
.list-row a { display: inline-block; padding: 8px 0; }
input[type="checkbox"], input[type="radio"] { flex: none; }
h1, h2, h3, .m-h1 { text-wrap: balance; }

/* ---------- Progress you can see: points, milestone bar, last session, skill bars, badges ---------- */
.gr { gap: 18px; }
.gr-h { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; }
.gr-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid rgba(28,27,24,0.12); padding-top: 18px; }
.gr-stats > div { display: flex; flex-direction: column; gap: 4px; }
.gr-stats .big { font-size: 48px; }
.gr-next { display: flex; flex-direction: column; gap: 8px; }
.gr-next-t { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.gr-track { position: relative; height: 8px; background: #EDE6DA; overflow: hidden; }
.gr-track i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #B8945B, #D4B47E); transition: width .8s ease; }
.gr-quote { margin: 4px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 22px; line-height: 1.35; color: #1C1B18; }
.gr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gr-chips span { font-size: 12px; letter-spacing: 0.08em; padding: 5px 10px; border: 1px solid rgba(184,148,91,0.6); color: #7A5B2B; }
.gr-nexttime { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid #B8945B; padding-left: 14px; }
.gr-won { display: flex; align-items: center; gap: 14px; background: #F6F0E4; padding: 12px 14px; }
.gr-won strong { display: block; font-weight: 500; }
.gr-more { border-top: 1px solid rgba(28,27,24,0.1); padding-top: 6px; }
.gs { display: flex; flex-direction: column;   }
.gs-t { display: flex; justify-content: space-between; gap: 12px;  }
.gs-bar { position: relative;   }
.gs-bar em { position: absolute; inset: 0 auto 0 0; background: rgba(184,148,91,0.35); }
.gs-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #B8945B, #D4B47E); transition: width .8s ease; }
.gs-bar em { z-index: 1; }
.gs-bar b { position: absolute;      z-index: 2; }
.gs-key { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;  }
.gs-key span { display: inline-block; width: 14px;  vertical-align: middle; }
.gs-key .k1 { background: rgba(184,148,91,0.35); } .gs-key .k2 { background: #B8945B; } 
.bdg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px 16px; padding: 6px 0; }
.bdg { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.bdg .bdg-n { font-size: 15px; line-height: 1.3; color: #1C1B18; }
.bdg:not(.on) .bdg-n { color: #59544B; }
.bdg .muted { font-size: 13px; line-height: 1.45; }
.bdg-mark { position: relative; display: inline-flex; width: 48px; height: 48px; flex: none; align-items: center; justify-content: center; }
.bdg-mark svg { position: absolute; inset: 0; stroke: rgba(28,27,24,0.22); }
.bdg-mark > span { position: relative; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 18px; color: rgba(28,27,24,0.35); }
.bdg-mark.on svg { stroke: #B8945B; }
.bdg-mark.on { background: radial-gradient(circle, #FFF8EA 0 58%, transparent 60%); }
.bdg-mark.on > span { color: #7A5B2B; font-weight: 500; }
.gr-teaser { text-decoration: none; color: inherit; gap: 10px; border-color: rgba(184,148,91,0.6); }
.gr-teaser:hover { border-color: #B8945B; }
.gr-teaser-f { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 14px; color: #59544B; padding-top: 4px; }
.gr-teaser-f .gold { color: #7A5B2B; letter-spacing: 0.16em; font-size: 12px; }
@media (max-width: 520px) { .gr-stats .big { font-size: 36px; } .gr-quote { font-size: 20px; } .bdg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) { .gr-track i, .gs-bar i { transition: none; } }

/* coach: the lesson recap and the skill bars */
.lnote-f.recap { flex-direction: column; align-items: stretch; gap: 12px; max-width: 640px; }
.lnote-f.recap input, .lnote-f.recap select { flex: none; width: 100%; box-sizing: border-box; }
.lnote-f.recap .f-l { font-size: 11px; letter-spacing: 0.24em; color: #4A463F; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid rgba(28,27,24,0.25); font-size: 13px; }
.chip input:checked + span { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.chip input:focus-visible + span { outline: 2px solid #7A5B2B; outline-offset: 2px; }
.lnote-f.recap .chk { display: flex; gap: 10px; align-items: center; font-size: 14px; color: #4A463F; }
.lnote-f.recap .chk input { width: 20px; height: 20px; flex: none; accent-color: #7A5B2B; }
.lnote-f.recap .btn { align-self: flex-start; }
.sk-row { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(100px, 2fr) auto auto auto auto; gap: 8px 14px; align-items: center; }
.sk-bar { position: relative; height: 8px; background: #EDE6DA; }
.sk-bar i { position: absolute; inset: 0 auto 0 0; background: #B8945B; }
.sk-bar b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: #1C1B18; }
.sk-in { flex-direction: row !important; align-items: center; gap: 6px !important; font-size: 11px; }
.sk-in select { padding: 6px 8px; }
@media (max-width: 640px) { .sk-row { grid-template-columns: 1fr 1fr; } .sk-bar { grid-column: 1 / -1; order: 2; } }
.lnote-f.recap > * { flex: none !important; }
.gr .big, .gr-stats .big, .bdg-mark > span, .serif.pts { font-variant-numeric: lining-nums; }
.card .list-row .serif { font-variant-numeric: lining-nums; }

/* ---------- Mind · Body · Game tags, used across progress, skills, badges and challenges ---------- */
.ch-p { display: inline-block; font-size: 10px; letter-spacing: 0.22em; font-weight: 500; padding: 2px 0; white-space: nowrap; }
.ch-mind { color: #4F5F6E; } .ch-body { color: #5E6E4E; } .ch-game { color: #7A5B2B; } .ch-all { color: #7A5B2B; }
.bdg-pl { padding-top: 14px; border-top: 1px solid rgba(28,27,24,0.08); }
.bdg-pl:first-of-type { border-top: 0; }
.chip-pl { flex-basis: 100%; font-size: 10px; letter-spacing: 0.22em; color: #59544B; padding-top: 4px; }

/* ---------- Legacy Challenges ---------- */
.ch { gap: 16px; }
.ch-on { display: flex; flex-direction: column; gap: 12px; border: 1px solid rgba(184,148,91,0.5); padding: 20px; background: #FFFEFA; }
.ch-on.done { background: #F6F0E4; }
.ch-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ch-head > div { display: flex; flex-direction: column; gap: 2px; }
.ch-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: 1.1; }
.ch-stages { display: flex; flex-direction: column; gap: 8px; }
.ch-stage { border-top: 1px solid rgba(28,27,24,0.1); padding-top: 10px; }
.ch-stage-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.ch-city { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #59544B; }
.ch-stage.cur .ch-city, .ch-stage.ok .ch-city { color: #1C1B18; }
.ch-stage.ok .ch-stage-h .muted { color: #5E6E4E; }
.ch-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.ch-steps li { display: grid; grid-template-columns: 86px 1fr auto auto; gap: 4px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.06); font-size: 15px; }
.ch-steps li.ok .ch-l { color: #59544B; text-decoration: line-through; text-decoration-color: rgba(184,148,91,0.7); }
.ch-c { font-size: 14px; color: #7A5B2B; font-variant-numeric: lining-nums tabular-nums; }
.ch-steps .link-btn { min-height: 40px; }
.ch-today { font-size: 13px; }
.ch-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.ch-card { display: flex; flex-direction: column; gap: 8px; border: 1px solid rgba(28,27,24,0.14); padding: 20px; }
.ch-card.feat { border-color: #B8945B; background: #FBF6EC; grid-column: 1 / -1; }
.ch-card form { margin-top: auto; padding-top: 6px; }
.ch-medal { display: flex; flex-direction: column; gap: 12px; background: #F6F0E4; padding: 18px; }
.medal-mark { position: relative; display: inline-flex; width: 64px; height: 64px; flex: none; align-items: flex-end; justify-content: center; }
.medal-mark svg { position: absolute; inset: 0; stroke: rgba(28,27,24,0.25); }
.medal-mark > span { position: relative; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 16px; letter-spacing: 0.06em; color: rgba(28,27,24,0.4); padding-bottom: 16px; font-variant-numeric: lining-nums; }
.medal-mark.on svg { stroke: #B8945B; }
.medal-mark.on > span { color: #7A5B2B; font-weight: 500; }
@media (max-width: 520px) { .ch-steps li { grid-template-columns: 1fr auto; } .ch-steps li .ch-p { grid-column: 1 / -1; } .ch-steps li form, .ch-steps li .ch-today { grid-column: 1 / -1; } .ch-name { font-size: 26px; } }
.ch-round { font-size: 18px; color: #7A5B2B; vertical-align: middle; }
.ch-coll { display: flex; flex-direction: column; gap: 6px; }
.ch-coll-row { display: flex; flex-wrap: wrap;  }
.ch-coll-i { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.ch-again { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; border-top: 1px solid rgba(184,148,91,0.4); padding-top: 12px; }
.ch-again .body { flex: 1 1 260px; }
.ch-adm { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }

/* ---------- Grand Slam journey: seals, bordered progress bars, cities ---------- */
.seal { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.seal svg { position: absolute; inset: 0; }
.seal-m { position: relative; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; font-weight: 500; color: #4A463D; letter-spacing: 0.02em; font-variant-numeric: lining-nums; }
.seal.on .seal-m { color: #3E2E12; text-shadow: 0 1px 0 rgba(255,245,220,0.6); }
.seal.on { filter: drop-shadow(0 4px 10px rgba(154,119,65,0.35)); }
.seal.on::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.55) 45%, transparent 60%); background-size: 250% 100%; animation: seal-shine 3.2s ease-in-out 1; pointer-events: none; mix-blend-mode: soft-light; }
@keyframes seal-shine { from { background-position: 120% 0; } to { background-position: -40% 0; } }
@media (prefers-reduced-motion: reduce) { .seal.on::after { animation: none; } }
.pbar { position: relative; display: block; height: 12px; border: 1px solid #B8945B; background: #FFFDF8; box-sizing: border-box; overflow: hidden; }
.pbar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #B8945B, #D4B47E); transition: width .8s ease; }
.jr-top { display: flex; justify-content: space-between;  gap: 16px; }
.jr-top > div { display: flex; flex-direction: column; gap: 4px; }
.jr-all { display: flex; flex-direction: column; gap: 8px; }
.jr-all .pbar { height: 16px; }
.jr-all-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; }
.jr-all-t strong { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 34px; font-weight: 500; color: #7A5B2B; line-height: 1; font-variant-numeric: lining-nums; }
.jr-cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.jr-city { display: flex; flex-direction: column; gap: 6px; }
.jr-city .ch-city { font-size: 20px; }
.jr-city.cur .ch-city, .jr-city.ok .ch-city { color: #1C1B18; }
.jr-now { display: flex; flex-direction: column;  border-top: 1px solid rgba(28,27,24,0.1);  }
.jr-now-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.jr-now-h .ch-city { color: #1C1B18; font-size: 26px; }
.jr-badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));  }
.jb { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.jb-n { font-size: 17px; line-height: 1.3; color: #1C1B18; }
.jb:not(.on) .jb-n { color: #3A3934; }
.jb .muted { font-size: 13px; line-height: 1.45; }
.jb-c { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 200px; }
.jb-who { font-size: 12px !important; letter-spacing: 0.06em; }
.jr-season { border-top: 1px dashed rgba(184,148,91,0.5);  }
.bdg .seal { margin-bottom: 2px; }
@media (max-width: 640px) { .jr-cities { grid-template-columns: repeat(2, 1fr); } }
.card .list-row > a { display: inline-flex; align-items: center; min-height: 44px; }
.today-act a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }

/* the number sits at the end of the line */
.pbar-row { display: flex; align-items: center; gap: 12px; width: 100%; }
.pbar-row .pbar { flex: 1 1 auto; min-width: 40px; }
.pbar-n { flex: none; min-width: 3.2em; text-align: right; font-weight: 500; font-size: 15px; color: #7A5B2B; font-variant-numeric: lining-nums tabular-nums; }
.jr-all .pbar-n { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; min-width: 2.6em; }
.jb-c .pbar-row { gap: 8px; } .jb-c .pbar-n { font-size: 13px; font-weight: 400; color: #59544B; }
.goal-line { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.goal-line-t { font-size: 17px; }
.goal-line.done .goal-line-t { color: #5E6E4E; }
.goal-t .pbar-row { margin: 6px 0 2px; }
.goal-pr select { padding: 6px 8px; }

/* journey: the player chooses badges or lines */
.jv-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; }
.jv-switch { display: inline-flex; border: 1px solid #B8945B; }
.jv-switch a { padding: 10px 16px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; font-size: 12px; letter-spacing: 0.16em; color: #7A5B2B; text-decoration: none; }
.jv-switch a.on { background: #B8945B; color: #0E0E0E; }
.jv-switch a:not(.on):hover { background: rgba(184,148,91,0.12); }
.jv-medal { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.jv-pct { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 54px; line-height: 1; color: #7A5B2B; font-variant-numeric: lining-nums; }
.jv-city { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid rgba(28,27,24,0.1); padding-top: 14px; }
.jv-city-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.jv-city-h .ch-city { font-size: 22px; }
.jv-city.ok .ch-city { color: #1C1B18; }
.jv-seals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jv-s { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.jv-s > span:last-child { font-size: 12px; line-height: 1.35; color: #59544B; }
.jv-s.on > span:last-child { color: #1C1B18; }
.jb-cnt { font-size: 14px; color: #7A5B2B; font-variant-numeric: lining-nums tabular-nums; }
.jl-list { display: flex; flex-direction: column; }
.jl { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.jl:last-child { border-bottom: 0; }
.jl-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.jl-t { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.jl:not(.on) .pbar-n { color: #59544B; font-weight: 400; }
.jl .muted { font-size: 13px; }
@media (max-width: 560px) { .jv-pct { font-size: 44px; } .jv-seals { gap: 8px; } }
@media (min-width: 561px) { .jv-seals { gap: 18px; } .jv-s { align-items: flex-start; text-align: left; } }
@media (max-width: 560px) { .jr-badges { grid-template-columns: repeat(2, minmax(0, 1fr));  }  }

/* ---------- Grand Slam, second edition: medal, route, next step, balance, celebration ---------- */
.jr-top { align-items: flex-start; flex-wrap: wrap; }
.jr-hero { display: flex;  align-items: center; flex-wrap: wrap; }
.jr-hero-r { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column;  }
.big-medal { display: inline-flex; flex: none; filter: drop-shadow(0 10px 22px rgba(120,86,40,0.16)); }
.big-medal svg { max-width: 100%; height: auto; }
.big-medal.on { position: relative; }
.jr-sym { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.jr-sym > span { display: inline-flex; align-items: center; gap: 10px; }
.jr-sym b, .jr-bal b { font-size: 10px; letter-spacing: 0.2em; font-weight: 500; color: #59544B; }
.jr-bal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); border-bottom: 1px solid rgba(28,27,24,0.08); }
.jr-bal-i { display: flex; align-items: center; gap: 8px; min-width: 0; }
.jr-bal-i > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.jr-bal-i em { font-style: normal; font-size: 15px; color: #1C1B18; font-variant-numeric: lining-nums; }
.jr-bal-i:not(.on) em { color: #5E594F; }
.jr-next { display: flex;    border: 1px solid rgba(184,148,91,0.45);  }
.jr-next-b { display: flex; gap: 14px; align-items: flex-start; }
.jr-next .link-btn { align-self: flex-start; }
/* the road from Melbourne to the medal */
.route { position: relative; height: 92px; margin: 10px 34px 0 6px; }
.route-line { position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: rgba(184,148,91,0.3); }
.route-line i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p); background: linear-gradient(90deg, #C99B62, #E7C996); }
.route-me { position: absolute; top: 50%; left: var(--p); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #B8945B; box-shadow: 0 0 0 5px rgba(184,148,91,0.22); }
.route.kid .route-me { background: radial-gradient(circle at 35% 35%, #F4F7B8, #D7DE3E); box-shadow: 0 0 0 4px rgba(215,222,62,0.25); animation: bounce 1.6s ease-in-out infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.route-stop { position: absolute; top: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; width: 84px; }
.route-stop:first-of-type { transform: none; align-items: flex-start; text-align: left; }
.route-stop i { width: 12px; height: 12px; margin-top: 9px; border-radius: 50%; background: #FAF8F2; border: 1.5px solid rgba(184,148,91,0.6); }
.route-stop.rs-done i { background: #B8945B; border-color: #B8945B; }
.route-stop.rs-cur i { border-color: #7A5B2B; }
.route-stop b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 18px; line-height: 1.1; color: #5E594F; white-space: nowrap; margin-top: 6px; }
.route-stop.rs-done b, .route-stop.rs-cur b { color: #1C1B18; }
.route-stop em { font-style: normal; font-size: 12px; color: #59544B; font-variant-numeric: lining-nums; }
.route-stop.rs-end { top: -14px; }
.route-stop.rs-end .medal-mark { transform: scale(0.62); margin: -10px 0 -14px; }
.route-stop.rs-end b { margin-top: 0; }
/* earned and still to earn */
.jb .seal, .jv-s .seal { margin-bottom: 2px; }
.jv-s:not(.on) > span:last-child { color: #5E594F; }
.jl-list.compact .jl { padding: 8px 0; }
.ms-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 16px 10px; }
.ms { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; line-height: 1.35; color: #5E594F; }
.ms.on { color: #1C1B18; }
/* the moment a badge is earned */
.cele { border: 0; padding: 40px 32px 32px; max-width: 440px; width: calc(100% - 32px); box-sizing: border-box; background: #FAF8F2; color: #1C1B18; text-align: center; box-shadow: 0 30px 80px rgba(28,27,24,0.35); }
.cele[open] { display: flex; flex-direction: column; align-items: center; gap: 14px; animation: celeIn 0.5s ease both; }
.cele::backdrop { background: rgba(20,19,17,0.55); backdrop-filter: blur(2px); }
.cele-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; color: #59544B; cursor: pointer; }
.cele-art { display: flex; justify-content: center; padding: 4px 0 6px; }
.cele-art .seal { animation: celePop 0.9s cubic-bezier(.2,1.4,.4,1) both 0.15s; }
.cele-seals { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.cele-h { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 38px; line-height: 1.1; margin: 0; }
.cele .body { margin: 0; }
.cele form { margin: 0; }
@keyframes celeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes celePop { from { opacity: 0; transform: scale(0.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cele[open], .cele-art .seal, .route.kid .route-me { animation: none; } }
/* little ones: a touch more playful, still elegant */
.ch.kid .jr-next { background: #F3F4E2; border-color: rgba(160,168,60,0.45); }
.ch.kid .jv-pct { color: #6E7A2A; }
@media (max-width: 560px) {
  .jr-hero { flex-direction: column; align-items: center; text-align: left; }
  .jr-hero > .big-medal svg {  height: auto; }
  .jr-hero-r { width: 100%; }
  .jr-bal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .route-stop { width: 62px; } 
  .route-stop em { font-size: 11px; }
  
}

.jr-top > .jv-switch { flex-direction: row; gap: 0; }
.route-stop { background: none; color: inherit; padding: 0; border: 0; }
.route-stop.rs-end { transform: translateX(-50%); align-items: center; }
/* on a phone the road runs top to bottom, so every city has room */
@media (max-width: 560px) {
  .route { height: auto; margin: 6px 0 0; display: flex; flex-direction: column; }
  .route-line { left: 7px; right: auto; top: 12px; bottom: 34px; width: 2px; height: auto; }
  .route-line i { width: 100%; height: var(--p); }
  .route-me { top: var(--p); left: 50%; }
  .route-stop, .route-stop:first-of-type, .route-stop.rs-end { position: relative; left: auto !important; top: auto; transform: none; width: auto; flex-direction: row; align-items: baseline; gap: 10px; text-align: left; padding: 6px 0 6px 30px; min-height: 32px; box-sizing: border-box; }
  .route-stop i { position: absolute; left: 2px; top: 13px; margin: 0; }
  .route-stop b { margin: 0; font-size: 19px; white-space: nowrap; }
  .route-stop.rs-end .medal-mark { position: absolute; left: -17px; top: -12px; transform: scale(0.5); margin: 0; }
}

/* one Grand Slam at a time: the next city waits, locked */
.jv-lock { display: flex;   border-top: 1px solid rgba(28,27,24,0.1);  }
.jv-lock-i { flex: none;   border-radius: 50%; background: #2A2824; color: rgba(214,182,130,0.7); display: inline-flex; align-items: center; justify-content: center; }
.jv-lock > span:last-child {  flex-direction: column; gap: 4px; }
.jv-lock .ch-city { font-size: 22px; color: #3A3934; }
.route-stop.rs-ahead b { color: #A8A296; }

/* ---------- calmer journey: one number, one line, one next step, one city ---------- */
#challenges { gap: 22px; }
.jr-hero { gap: 20px 32px; }
.jr-hero-r { gap: 12px; }
.jr-where { display: flex; align-items: center; gap: 12px; }
.jr-dots { display: inline-flex; gap: 6px; }
.jr-dots i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(184,148,91,0.55); }
.jr-dots i.d { background: #B8945B; border-color: #B8945B; }
.jr-dots i.c { border-color: #7A5B2B; box-shadow: 0 0 0 3px rgba(184,148,91,0.18); }
.ch.kid .jr-dots i.c { background: #D7DE3E; border-color: #A9B02C; animation: bounce 1.6s ease-in-out infinite; }
.jr-next { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; background: transparent; border: 1px solid rgba(184,148,91,0.55); }
.jr-next .jl-b { gap: 4px; }
.jr-next .eyebrow { font-size: 10px; }
.jr-next .jb-n .muted { font-size: 15px; }
.jr-next form { margin: 0; }
.jr-now { gap: 18px; padding-top: 20px; }
.jr-badges { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; }
details.jb > summary, details.jl > summary, details.jv-done > summary, details.ms-card > summary { list-style: none; cursor: pointer; }
details.jb > summary::-webkit-details-marker, details.jl > summary::-webkit-details-marker, details.jv-done > summary::-webkit-details-marker, details.ms-card > summary::-webkit-details-marker { display: none; }
details.jb > summary { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
details.jb .jb-n { font-size: 16px; }
.jb-st { font-size: 13px; color: #59544B; font-variant-numeric: lining-nums; }
.jb-st.on { color: #7A5B2B; } .jb-st.ok { color: #5E6E4E; }
.jb-more { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding-top: 8px; }
.jb-more .muted { font-size: 13px; line-height: 1.5; }
.jb-more form { margin: 0; }
details.jl > summary { display: flex; gap: 14px; align-items: center; }
details.jl .jb-more { align-items: flex-start; text-align: left; padding: 6px 0 0 54px; }
.jl-list details.jl {  border-bottom: 1px solid rgba(28,27,24,0.08); }
.jr-season { border-top: 0; padding-top: 0; font-size: 13px; text-align: center; }
details.jv-done { border-top: 1px solid rgba(28,27,24,0.1); padding-top: 14px; }
details.jv-done > summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.jv-done-t { display: flex; align-items: baseline; gap: 10px; }
.jv-done-t .ch-city { font-size: 20px; color: #1C1B18; }
.jv-done-s { display: inline-flex; gap: 4px; }
.jv-done-b { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; font-size: 14px; }
.jv-lock { align-items: center; gap: 12px; padding-top: 14px; }
.jv-lock-i { width: 32px; height: 32px; }
.jv-lock strong { font-weight: 500; color: #3A3934; }
details.ms-card > summary {   justify-content: space-between;  gap: 8px 16px; }
details.ms-card > summary::after { content: '+'; font-size: 20px; color: #7A5B2B;  line-height: 1; }
details.ms-card[open] > summary::after { content: '–'; }
details.ms-card[open] > summary { margin-bottom: 8px; }
@media (max-width: 560px) {
  .jr-hero > .big-medal svg { width: 128px; }
  .jr-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .jr-badges .seal { width: 68px !important; height: 68px !important; }
  .jv-medal { justify-content: center; text-align: center; }
  .jr-where { justify-content: center; }
}
.jv-lock > span:last-child { display: block; }
@media (max-width: 560px) { .jr-hero-r { flex: none; } .jr-next { text-align: left; } }
details.jl > summary > .jl-b { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
details.jl .jl-t { display: flex; }
.jl-list details.jl { padding: 10px 0; }
details.jl { display: block; }
details.jb { display: block; }

/* ---------- quiet motion: soft fades on everything you can press, lines that glide to their value ---------- */
.btn, .link-btn, .mtabs a, .jv-switch a, .quick a, .mt-quick a, .mt-card, .glance-strip a, .gr-teaser, .close-x, .inbox-row, .wk-row, .cal-d,
.tabbar a, .tabbar summary, .jump a, table.players td, .chip span, .lm-zoom button, .cele-x, .jv-done > summary, details.ms-card > summary {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease, opacity .25s ease, transform .25s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(122,91,43,0.18); }
.btn:active { transform: translateY(0); box-shadow: none; }
details.jb > summary .seal { transition: transform .35s cubic-bezier(.2,.8,.3,1); }
details.jb > summary:hover .seal { transform: translateY(-2px) scale(1.04); }
.jb-more, details.jl .jb-more, .jv-done-b, details.ms-card[open] > :not(summary), .gr-more[open] > :not(summary) { animation: softIn .35s ease both; }
@keyframes softIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.pbar i, .gr-track i, .gs-bar i { animation: lineIn 1.1s cubic-bezier(.2,.8,.3,1) both .15s; }
@keyframes lineIn { from { width: 0; } }
.big-medal rect { transform-box: fill-box; transform-origin: 50% 100%; animation: medalIn 1.4s cubic-bezier(.2,.8,.3,1) both .2s; }
@keyframes medalIn { from { transform: scaleY(0); } }
.mtabs a.on { transition: color .25s ease; }
@media (prefers-reduced-motion: reduce) {
  .btn, .link-btn, .mtabs a, .jv-switch a, .quick a, .mt-quick a, .mt-card, .glance-strip a, .gr-teaser, details.jb > summary .seal { transition: none; }
  .btn:hover, details.jb > summary:hover .seal { transform: none; }
  .jb-more, details.jl .jb-more, .jv-done-b, details.ms-card[open] > :not(summary), .gr-more[open] > :not(summary), .pbar i, .gr-track i, .gs-bar i, .big-medal rect { animation: none; }
}

/* preview of a member area, for Legacy and the player's coach */
.pv-bar { position: sticky; top: 0; z-index: 100; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 10px 24px; background: #1C1B18; color: #FAF8F2; font-size: 13px; line-height: 1.5; }
.pv-bar strong { font-weight: 500; letter-spacing: 0.2em; color: #D4B47E; }
.pv-bar em { font-style: normal; color: #EBD3A4; }
.pv-bar a { color: #1C1B18; background: #B8945B; padding: 10px 16px; min-height: 40px; box-sizing: border-box; display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.2em; text-decoration: none; }

/* Type: serif for headlines, big numbers and quotes; sans-serif medium for lists, times and small titles */
.cal-n { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 500; font-size: 16px; }
.today-time { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 500; font-size: 16px; letter-spacing: 0.02em; }
.wk-t { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 500; font-size: 15px; }
.glance-strip a strong { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 500; font-size: 16px; }
.jr-t { font-family: 'Jost', 'Helvetica Neue', sans-serif; font-weight: 500; font-size: 16px; }
.jb-n, .jr-next .jb-n { font-weight: 500; }
.jv-s > span:last-child, .ms > span:last-child { font-weight: 400; }

/* badges are crests: the shine travels across the crest itself */
.seal.crest { border-radius: 0; }
.seal.crest.on::after { display: none; }
.seal.crest.on { filter: drop-shadow(0 5px 10px rgba(154,119,65,0.32)); }
.seal-shine { animation: crestShine 6s ease-in-out infinite; }
@keyframes crestShine { 0%, 70% { transform: skewX(-18deg) translateX(0); } 100% { transform: skewX(-18deg) translateX(220px); } }
@media (prefers-reduced-motion: reduce) { .seal-shine { animation: none; display: none; } }
.jr-badges .seal.crest { height: auto !important; } .jr-badges .seal.crest svg { width: 100%; height: auto; }
.seal.crest svg { position: static; display: block; width: 100%; height: auto; }
.seal.crest { align-items: stretch; }

/* badges are Legacy tennis balls */
.seal.ball svg { position: static; display: block; width: 100%; height: auto; }
.seal.ball.on::after { display: none; }
.seal.ball.on { filter: drop-shadow(0 5px 10px rgba(154,119,65,0.32)); }
.seal.ball { border-radius: 50%; }

/* badges are Legacy coins: calm, fine lines, no shine */
.seal.coin svg { position: static; display: block; width: 100%; height: auto; }
.seal.coin.on::after { display: none; }
.seal.coin, .seal.coin.on { filter: none; border-radius: 50%; }
.seal.coin.on { box-shadow: 0 6px 18px rgba(122,91,43,0.10); }

.seal.coin.on { box-shadow: 0 8px 20px rgba(28,27,24,0.18); }

.big-medal { filter: drop-shadow(0 12px 24px rgba(28,27,24,0.16)); }

/* the gold line around the medal draws itself to the player's progress */
.medal-arc { animation: arcIn 1.4s cubic-bezier(.2,.8,.3,1) both .25s; }
@keyframes arcIn { from { stroke-dasharray: 0 616; } }
@media (prefers-reduced-motion: reduce) { .medal-arc { animation: none; } }

/* ---------- the finish moment ---------- */
.fin { display: flex; flex-direction: column; gap: 22px; border-top: 1px solid rgba(28,27,24,0.1); padding-top: 24px; }
.fin-h { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.fin-t { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; }
.fin-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.fin-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 12px 0 0; }
.fin-steps li::before { content: ''; position: absolute; top: 15px; left: 32px; right: 0; height: 1px; background: rgba(28,27,24,0.15); }
.fin-steps li:last-child::before { display: none; }
.fin-steps li.done::before { background: #B8945B; }
.fin-steps i { position: relative; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; border: 1px solid rgba(28,27,24,0.25); color: #59544B; background: #FFFDF8; margin-bottom: 6px; }
.fin-steps li.done i { background: #1C1B18; border-color: #1C1B18; color: #D4B47E; }
.fin-steps li.cur i { border-color: #B8945B; color: #7A5B2B; box-shadow: 0 0 0 4px rgba(184,148,91,0.15); }
.fin-steps b { font-weight: 500; font-size: 15px; color: #1C1B18; }
.fin-steps li:not(.done):not(.cur) b { color: #5E594F; }
.fin-steps span { font-size: 13px; color: #59544B; }
.fin-form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.fin-box { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 18px; background: #1C1B18; color: #D4B47E; text-align: center; border: 1px solid #B8945B; box-shadow: inset 0 0 0 4px #1C1B18, inset 0 0 0 5px rgba(212,180,126,0.45); }
.fin-box span { font-size: 10px; letter-spacing: 0.3em; color: rgba(212,180,126,0.75); }
.fin-box b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 26px; letter-spacing: 0.12em; color: #EBD3A4; }
.fin-box em { font-style: normal; font-size: 10px; letter-spacing: 0.26em; color: rgba(212,180,126,0.75); }
.ch-coll-row { gap: 22px; }
.ch-coll-i .big-medal { filter: drop-shadow(0 6px 12px rgba(28,27,24,0.18)); }
@media (max-width: 560px) {
  .fin-steps { grid-template-columns: 1fr; gap: 14px; }
  .fin-steps li { flex-direction: row; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0; }
  .fin-steps li::before { display: none; }
  .fin-steps i { margin: 0; }
  .fin-steps span { flex-basis: 100%; padding-left: 42px; margin-top: -6px; }
}

/* ---------- "Your game": fine gold lines, like the rest of the journey ---------- */
.gs { gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.07); }
.gs:last-of-type { border-bottom: 0; }
.gs-t { font-size: 15px; align-items: baseline; }
.gs-t > span:first-child { font-weight: 500; display: inline-flex; align-items: baseline; gap: 8px; }
.gs-t .muted { font-size: 13px; }
.gs-bar { height: 6px; background: transparent; border: 1px solid rgba(184,148,91,0.55); box-sizing: content-box; margin-top: 6px; }
.gs-bar i { background: linear-gradient(90deg, #B8945B, #D9BC86); }
.gs-bar em { background: rgba(255,253,248,0.5); }
.gs-bar b { top: -6px; bottom: auto; width: 9px; height: 9px; margin-left: -5px; background: #FFFDF8; border: 1px solid #1C1B18; transform: rotate(45deg); }
.gs > .muted { font-size: 13px; }
.gs-key { font-size: 12px; color: #59544B; padding-top: 6px; }
.gs-key span { height: 6px; }
.gs-key .k1 { background: linear-gradient(90deg, #E4D2B0, #E4D2B0); border: 1px solid rgba(184,148,91,0.55); }
.gs-key .k2 { background: linear-gradient(90deg, #B8945B, #D9BC86); }
.gs-key .k3 { width: 8px; height: 8px; background: #FFFDF8; border: 1px solid #1C1B18; transform: rotate(45deg); margin: 0 2px; }
.fin-form > label.f { flex: 0 0 auto; }
.fin-row { display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.fin-row .fin-form { flex: 1 1 360px; }
.fin-medal { flex: none; filter: drop-shadow(0 14px 24px rgba(28,27,24,0.2)); }
@media (max-width: 760px) { .fin-medal { display: none; } }
.ch-coll-i .big-medal rect { animation: none; }

/* ---------- coach coins ---------- */
.cb { display: flex; flex-direction: column; gap: 22px; }
.cb-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.cb-n { display: block; margin-top: 6px; font-size: 14px; color: #59544B; }
.cb-n strong { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 34px; color: #1C1B18; margin-right: 4px; }
.cb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.cb-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.cb-pl { font-size: 11px; letter-spacing: 0.24em; color: #7A5B2B; padding-bottom: 8px; border-bottom: 1px solid rgba(184,148,91,0.35); }
.cb-i { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cb-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.cb-t b { font-weight: 500; font-size: 14px; color: #1C1B18; }
.cb-i:not(.on) .cb-t b { color: #59544B; font-weight: 400; }
.cb-t .muted { font-size: 12px; }
.cb-line { display: block; height: 3px; border: 1px solid rgba(184,148,91,0.5); max-width: 140px; margin: 2px 0; }
.cb-line i { display: block; height: 100%; background: linear-gradient(90deg, #B8945B, #D9BC86); }
.cb-all { display: flex; flex-direction: column; gap: 10px; }
.cb-row { border-top: 1px solid rgba(28,27,24,0.08); }
.cb-row > summary { list-style: none; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0; cursor: pointer; }
.cb-row > summary::-webkit-details-marker { display: none; }
.cb-who { font-weight: 500; min-width: 140px; }
.cb-mini { display: inline-flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.cb-more { font-size: 11px; letter-spacing: 0.2em; color: #7A5B2B; }
.cb-row[open] .cb-more { visibility: hidden; }
.cb-row > .cb { border: 0; padding: 0 0 18px; box-shadow: none; background: transparent; }
@media (max-width: 900px) { .cb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cb-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- people who help with the schedule ---------- */
.hlp { gap: 14px; }
.hlp-i { border-top: 1px solid rgba(28,27,24,0.08); }
.hlp-i > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap; padding: 12px 0; cursor: pointer; }
.hlp-i > summary::-webkit-details-marker { display: none; }
.hlp-n { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hlp-n b { font-weight: 500; }
.hlp-n .muted { font-size: 13px; overflow-wrap: anywhere; }
.hlp-tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.hlp-tags span { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; border: 1px solid rgba(184,148,91,0.5); padding: 4px 8px; }
.hlp-f { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 16px; }
.hlp-f .row > label.f { flex: 1 1 140px; }
.hlp-add { border-top: 1px solid rgba(28,27,24,0.08); padding-top: 12px; }
.hlp-admin { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px; border-left: 2px solid #B8945B; background: #FFFDF8; }
.hlp-a { font-size: 15px; overflow-wrap: anywhere; }
.hlp-a b { font-weight: 500; }
.hp { display: flex; flex-direction: column; gap: 24px; padding-top: 56px; padding-bottom: 80px; }
.hp-row { align-items: flex-start; }
.hp-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-r { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; max-width: 520px; }

/* ---------- concierge: calendar feed, on my way, arrival notes, away dates ---------- */
.feed { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border: 1px solid rgba(184,148,91,0.45); background: #FFFDF8; }
.feed-t { display: flex; gap: 12px; align-items: flex-start; min-width: 0; flex: 1 1 280px; color: #7A5B2B; }
.feed-t svg { flex: none; margin-top: 2px; }
.feed-t > span { display: flex; flex-direction: column; gap: 2px; color: #1C1B18; }
.feed-t b { font-weight: 500; font-size: 15px; }
.feed-t .muted { font-size: 13px; }
.feed-l { display: flex; flex-wrap: wrap; gap: 8px; }
.feed-c { flex-basis: 100%; }
.feed-c summary { cursor: pointer; font-size: 12px; letter-spacing: 0.16em; color: #59544B; list-style: none; text-transform: uppercase; }
.feed-c summary::-webkit-details-marker { display: none; }
.feed-c input { width: 100%; margin-top: 8px; font: 300 13px/1.4 'Jost', sans-serif; border: 0; border-bottom: 1px solid rgba(28,27,24,0.3); background: transparent; padding: 8px 0; color: #4A463F; }
.acc-line { display: block; font-size: 13px; color: #7A5B2B; margin-top: 2px; }
.ow-line, .ow-now { display: block; font-size: 13px; color: #5E6E4E; margin-top: 2px; }
.ow-now { margin-top: 10px; font-size: 15px; color: #EBD3A4; border-left: 2px solid #B8945B; padding-left: 10px; }
.ow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.ow-sel select { font: 400 13px/1 'Jost', sans-serif; padding: 0 10px; min-height: 40px; border: 1px solid rgba(28,27,24,0.25); background: #FFFDF8; color: #1C1B18; }
.ow-b { min-height: 40px; padding: 0 16px; border: 0; background: #1C1B18; color: #FAF8F2; font: 500 11px/1 'Jost', sans-serif; letter-spacing: 0.2em; cursor: pointer; }
.ow-b.line { background: transparent; color: #1C1B18; border: 1px solid rgba(28,27,24,0.4); }
.acc-me { display: block; }
.away { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(28,27,24,0.08); padding-top: 16px; margin-top: 8px; }
.away-i { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.away-i b { font-weight: 500; }
.away-f { display: flex; flex-direction: column; gap: 12px; padding-top: 12px; max-width: 420px; }
.away-f .row > label.f { flex: 1 1 150px; }
.hp-r .link-btn { min-height: 0; padding: 6px 0; }
@media (max-width: 560px) { .feed-l { width: 100%; } .feed-l .btn { flex: 1 1 140px; text-align: center; } }

/* ---------- a note for the coach ---------- */
.pn { flex-basis: 100%; }
.pn > summary { cursor: pointer; list-style: none; font-size: 13px; color: #7A5B2B; padding: 6px 0; min-height: 32px; display: inline-flex; align-items: center; }
.pn > summary::-webkit-details-marker { display: none; }
.pn-has { color: #4A463F; font-style: italic; }
.pn-f { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; padding: 6px 0 10px; }
.pn-f input { flex: 1 1 240px; min-width: 0; border: 0; border-bottom: 1px solid #1C1B18; background: transparent; font: 300 16px/1.4 'Jost', sans-serif; padding: 10px 0; color: #1C1B18; }
.pn-f input:focus { outline: none; border-bottom-color: #B8945B; }
.pn-line { display: block; font-size: 13px; color: #1C1B18; font-style: italic; margin-top: 2px; }

/* Smooth page changes: moving between Legacy pages is a soft cross-fade, and the member header stays in place,
   so the site feels like one continuous experience. Browsers without view transitions simply load as before. */
@view-transition { navigation: none; }
::view-transition-old(root) { animation: lgFadeOut 0.22s cubic-bezier(.4,0,.2,1) both; }
::view-transition-new(root) { animation: lgFadeIn 0.32s cubic-bezier(.2,.8,.3,1) both; }
@keyframes lgFadeOut { to { opacity: 0; } }
@keyframes lgFadeIn { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
.m-head { view-transition-name: lg-mhead; }
::view-transition-old(lg-mhead), ::view-transition-new(lg-mhead) { animation: none; }
::view-transition-group(lg-mhead) { animation: none; }

/* ---------- the first session countdown ---------- */
.fs { gap: 20px; }
.fs-top { display: flex; align-items: center; gap: 22px; }
.fs-n { flex: none; min-width: 84px; height: 84px; padding: 0 12px; box-sizing: border-box; border: 1px solid #B8945B; border-radius: 42px; display: inline-flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 40px; line-height: 1; color: #7A5B2B; }
.fs-h { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.fs-steps li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.fs-steps i { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(28,27,24,0.25); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; color: #59544B; }
.fs-steps li.done i { background: #1C1B18; border-color: #1C1B18; color: #D4B47E; }
.fs-steps li > span { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fs-steps b { font-weight: 500; font-size: 15px; }
.fs-steps .muted { font-size: 13px; }
@media (max-width: 760px) { .fs-steps { grid-template-columns: 1fr; } .fs-top { align-items: flex-start; } .fs-n { min-width: 64px; height: 64px; } }
.fs-n.word { font-size: 22px; }

/* Undo send */
.undo-bar { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 9999; display: flex; align-items: center; gap: 24px; background: #0E0E0E; color: #FAF8F2; padding: 14px 20px 14px 24px; font-size: 14px; letter-spacing: 0.02em; box-shadow: 0 12px 30px rgba(0,0,0,0.25); max-width: calc(100vw - 32px); box-sizing: border-box; }
.undo-b { background: none; border: 0; border-bottom: 1px solid #B8945B; color: #B8945B; font: inherit; font-size: 12px; letter-spacing: 0.22em; padding: 6px 0 3px; cursor: pointer; min-height: 32px; }
.undo-b:hover { color: #FAF8F2; border-color: #FAF8F2; }

/* Messages: search, filters and trash */
.msg-filter { display: grid; grid-template-columns: minmax(200px, 2fr) repeat(4, minmax(120px, 1fr)) auto; gap: 12px 16px; align-items: end; }
@media (max-width: 1000px) { .msg-filter { grid-template-columns: 1fr 1fr; } .msg-filter .f:first-child { grid-column: 1 / -1; } }
.msg-row { display: grid; grid-template-columns: 28px minmax(130px, 1fr) 3fr auto; gap: 4px 16px; align-items: baseline; padding: 14px 4px; border-bottom: 1px solid rgba(28,27,24,0.1); }
.msg-row:hover { background: #F8F3EA; }
.msg-row input[type=checkbox] { width: 18px; height: 18px; accent-color: #7A5B2B; align-self: center; }
.msg-row a { color: #1C1B18; text-decoration: none; min-width: 0; }
.msg-row .msg-sub { font-weight: 500; }
.msg-row .msg-snip { color: #4A463F; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.msg-row.unread .msg-name { font-weight: 500; }
@media (max-width: 700px) { .msg-row { grid-template-columns: 28px 1fr auto; } .msg-row .msg-body { grid-column: 2 / -1; } }
.msg-bulk { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; padding-top: 14px; }
.bubble .msg-subj { font-weight: 500; }
.bubble-x { align-self: flex-end; background: none; border: 0; color: #59544B; font-size: 11px; letter-spacing: 0.18em; cursor: pointer; padding: 4px 0; min-height: 28px; }
.bubble-x:hover { color: #9A4A2A; }
.msg-row mark { background: rgba(184,148,91,0.28); color: inherit; padding: 0 1px; }

/* Milestones by age and level */
.ms .ms-how { display: block; font-size: 11px; line-height: 1.4; color: #5E594F; max-width: 140px; margin: 2px auto 0; letter-spacing: 0; }
.ms.sug { } .ms.sug .ms-how { color: #7A5B2B; }
.ms-suggest { padding-top: 14px; border-top: 1px solid rgba(28,27,24,0.1); margin-top: 8px; }
.ms-adm { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 12px 0; border-bottom: 1px solid rgba(28,27,24,0.1); }
.ms-adm.on .ms-adm-t strong::before { content: '✓ '; color: #4E6B4A; }
.ms-adm-t { flex: 1 1 260px; min-width: 0; font-size: 15px; line-height: 1.5; }
.ms-adm-a { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: flex-end; }
/* Measurable goals */
.goal-num { display: flex; flex-direction: column; gap: 8px; padding: 6px 0 14px; border-bottom: 1px solid rgba(28,27,24,0.08); }
.goal-logs { display: flex; flex-wrap: wrap; gap: 6px; }
.goal-log { display: inline-flex; align-items: center; gap: 4px; margin: 0; background: #F6F1E8; padding: 2px 4px 2px 10px; font-size: 13px; }
.goal-log .bubble-x { min-height: 24px; padding: 0 6px; font-size: 14px; }
.goal-meas { display: block; font-size: 13px; line-height: 1.5; color: #3A3934; padding-top: 4px; }
.goal-meas strong { font-weight: 500; color: #7A5B2B; }
.goal-trend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding-top: 4px; font-size: 12px; color: #59544B; }
.goal-trend b { font-weight: 500; color: #1C1B18; }

/* Birthdays */
.bd-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.bd-month.now { border-color: #B8945B; box-shadow: inset 0 0 0 1px #B8945B; }
.bd-day { display: inline-block; min-width: 28px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; color: #7A5B2B; }
.bd-today { background: #F8F1E3; }
.cal-bd { display: block; font-size: 11px; line-height: 1.3; color: #7A5B2B; background: #F6EBD6; padding: 1px 4px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Journal editor */
.jr-ed { display: flex; flex-direction: column; gap: 20px; }
.jr-ed .jr-text { font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.6; min-height: 320px; }
.jr-es { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid rgba(28,27,24,0.12); padding-top: 16px; }
.jr-es[open] > label { margin-top: 16px; }
.jr-es > summary, .jr-help > summary { align-self: flex-start; }

/* What each player sees: one switch per part of the member area (admin) */
.mv-card { gap: 14px; }
.mv-group { display: flex; flex-direction: column; border-top: 1px solid rgba(28,27,24,0.1); padding-top: 10px; }
.mv-group .sub-h { margin-bottom: 4px; }
.mv-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.06); cursor: pointer; }
.mv-row:last-child { border-bottom: 0; }
.mv-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mv-t b { font-weight: 500; font-size: 15px; color: #1C1B18; }
.mv-auto { color: #7A5B2B; }
.mv-sw { appearance: none; -webkit-appearance: none; flex: none; width: 48px; height: 28px; border-radius: 28px; background: #D9D3C7; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.mv-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFDF8; box-shadow: 0 1px 3px rgba(0,0,0,0.2); transition: transform .2s; }
.mv-sw:checked { background: #B8945B; }
.mv-sw:checked::after { transform: translateX(20px); }
.mv-sw:focus-visible { outline: 2px solid #7A5B2B; outline-offset: 2px; }

/* Before your session: the get-ready card */
.rd { border-color: rgba(184,148,91,0.55); background: #FFFDF8; gap: 18px; }
.rd-top { display: flex; flex-direction: column; gap: 8px; }
.rd-h { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; color: #1C1B18; }
.rd-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 28px; }
.rd-r { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid #B8945B; padding-top: 12px; }

.rd-r b { font-weight: 500; }
.rd-acts { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }

/* The brand, inside the member area too */
.m-tag { display: block; margin-top: 4px; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 19px; color: #7A5B2B; }
.m-brand { display: block; margin-top: 10px; max-width: 640px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.3; color: #3A3934; }
.m-brand em { color: #7A5B2B; }
.more-list > summary { list-style: none; display: inline-flex; margin: 6px 0; }
.more-list > summary::-webkit-details-marker { display: none; }
.more-list[open] > summary { margin-bottom: 12px; }
/* A personal touch (admin Today) and belonging in the member area */
.care { gap: 4px; border-color: rgba(184,148,91,0.55); }
.care-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.care-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 260px; }
.care-t b { font-weight: 500; }
.care-why { font-size: 14px; color: #4A463F; padding-left: 12px; position: relative; }
.care-why::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #B8945B; }
.care-why.care-care::before { background: #9A4A2A; } .care-why.care-heart::before { background: #D4B47E; }
.care-a { display: flex; gap: 16px; font-size: 12px; letter-spacing: 0.18em; }
.care-a a { color: #7A5B2B; text-decoration: none; border-bottom: 1px solid #B8945B; padding: 6px 0 2px; }
.m-since { display: block; margin-top: 4px; font-size: 13px; letter-spacing: 0.04em; color: #59544B; }
.mv-row input.mv-sw { appearance: none !important; -webkit-appearance: none !important; width: 48px !important; height: 28px !important; min-width: 48px; min-height: 28px !important; padding: 0 !important; border: 0 !important; border-radius: 28px !important; background: #D9D3C7 !important; box-shadow: none !important; position: relative; display: inline-block; vertical-align: middle; accent-color: auto; }
.mv-row input.mv-sw:checked { background: #B8945B !important; }
.mv-row input.mv-sw::before { content: none !important; display: none !important; }
.mv-row input.mv-sw::after { content: '' !important; position: absolute !important; top: 3px !important; left: 3px !important; width: 22px !important; height: 22px !important; border-radius: 50% !important; background: #FFFDF8 !important; box-shadow: 0 1px 3px rgba(0,0,0,0.25) !important; transition: transform .2s; border: 0 !important; }
.mv-row input.mv-sw:checked::after { transform: translateX(20px); }

/* ---------- Member area polish ---------- */
/* Milestones: the same quiet heading as every other card */
details.ms-card > summary .eyebrow { font-size: 11px !important; letter-spacing: 0.3em !important; }
details.ms-card > summary { padding: 4px 0 !important; }

/* Tournaments you are in: one line each, details on tap */
.tourn-rows { display: flex; flex-direction: column; border-top: 1px solid rgba(184,148,91,0.35); }
details.tourn-row { border-bottom: 1px solid rgba(184,148,91,0.35); }
details.tourn-row > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 14px; padding: 14px 0; min-height: 44px; box-sizing: border-box; }
details.tourn-row > summary::-webkit-details-marker { display: none; }
.tr-date { font-size: 11px; letter-spacing: 0.2em; color: #7A5B2B; text-transform: uppercase; white-space: nowrap; }
.tr-name { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; line-height: 1.2; color: #1C1B18; min-width: 0; }
.tr-in { font-size: 13px; color: #3F6B45; white-space: nowrap; }
.tr-more { display: flex; flex-direction: column; gap: 6px; padding: 0 0 16px; }
@media (max-width: 520px) { details.tourn-row > summary { grid-template-columns: 1fr auto; } .tr-date { grid-column: 1 / -1; } }

/* Weekly check-in: one calm line until it is opened */
details.ci-open > summary { list-style: none; display: inline-flex; align-self: flex-start; cursor: pointer; }
details.ci-open > summary::-webkit-details-marker { display: none; }
details.ci-open[open] > summary { display: none; }
details.ci-open .ci-body { display: flex; flex-direction: column; gap: 18px; animation: softIn .35s ease both; }

/* The pain question: a Legacy checkbox, not the browser's */
.ci-form .agree input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 1px solid #B8945B; background: #FFFDF8; display: grid; place-content: center; margin: 0; cursor: pointer; flex: none; }
.ci-form .agree input[type="checkbox"]::before { content: ''; width: 12px; height: 12px; transform: scale(0); transition: transform .15s ease; background: #7A5B2B; clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.ci-form .agree input[type="checkbox"]:checked::before { transform: scale(1); }
.ci-form .agree input[type="checkbox"]:focus-visible { outline: 2px solid #7A5B2B; outline-offset: 2px; }
.ci-form .agree { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }

/* Greeting on phones: the portrait sits above the words, so the greeting keeps its full width */
@media (max-width: 520px) {
  div:has(> .mt-avatar) { flex-direction: column; align-items: flex-start !important; gap: 14px !important; }
}

/* Member footer: the line stays whole */
.m-foot .m-tag { white-space: nowrap; color: #B8945B; }
.m-h1 { text-wrap: balance; }
details.ci-open > summary.btn { padding: 14px 22px !important; min-height: 46px; box-sizing: border-box; align-items: center; }
details.tourn-row > summary > span.tr-date { font-size: 11px !important; line-height: 1.4; }
details.ms-card > summary { flex-wrap: nowrap; }

details.ms-card > summary::after { margin-left: 12px !important; }
details.ms-card > summary { display: grid !important; grid-template-columns: 1fr auto; align-items: center; row-gap: 4px; }
details.ms-card > summary > .eyebrow { grid-column: 1; }
details.ms-card > summary > .muted { grid-column: 1; margin-left: 0; text-align: left; }
details.ms-card > summary::after { grid-column: 2; grid-row: 1 / span 2; }
@media (max-width: 520px) { .m-h1 { font-size: 38px !important; line-height: 1.08; } }

/* ================= My Legacy: one visual system =================
   Sections, not boxes: each view reads as one page in ivory, with a bronze eyebrow and a fine line between sections.
   Legacy Black only for the next session. Boxes only for things you act on (an event, a Founder's place, a form). */
.mv2 { gap: 0; }
.mv2 > * + * { margin-top: 28px; }
.mv2 .card { background: transparent; border: 0; border-top: 1px solid rgba(28,27,24,0.14); padding: 30px 0 4px; gap: 14px; }
.mv2 > .card:first-child, .mv2 > div:first-child + .card { border-top: 0; }
.mv2 .grid3, .mv2 .row { gap: 0 40px; }
.mv2 .grid3 > .card, .mv2 .row > .card { border-top: 1px solid rgba(28,27,24,0.14); }
.mv2 .card h2 { font-size: 28px; }
.mv2 .notice { margin: 0; }
.mv2 .eyebrow { font-size: 11px; letter-spacing: 0.3em; }
.mv2 .card > .eyebrow:first-child, .mv2 .card > div:first-child > .eyebrow:first-child { color: #7A5B2B; }
/* Mind · Body · Game: always the same small capitals */
.rd-k { display: block; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: #7A5B2B; margin-bottom: 2px; }

/* Header: Messages, one tap from anywhere */
.m-msg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: #1C1B18; text-decoration: none; font-size: 12px; letter-spacing: 0.18em; position: relative; }
.m-msg svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.m-msg b { min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: #7A5B2B; color: #FAF8F2; font-size: 11px; font-weight: 500; letter-spacing: 0; display: inline-flex; align-items: center; justify-content: center; }
.m-msg.on { color: #7A5B2B; }
@media (max-width: 640px) { .m-msg span { display: none; } }

/* Today: your current focus */
.focus { display: flex; flex-direction: column; gap: 14px; padding: 4px 0 4px 22px; border-left: 2px solid #B8945B; }
.focus-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.focus-next { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(24px, 3vw, 30px); line-height: 1.2; color: #1C1B18; }
.focus-mbg { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px 28px; font-size: 15.5px; line-height: 1.5; color: #3A3934; }

/* Today: Arrive ready, inside the next session */
.next .nx-ready { margin-top: 18px; border-top: 1px solid rgba(250,248,242,0.18); padding-top: 14px; }
.next .nx-ready > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between;  gap: 12px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #FAF8F2; min-height: 44px; align-items: center; }
.next .nx-ready > summary::-webkit-details-marker { display: none; }
.next .nx-ready > summary span { font-family: 'Jost', sans-serif; font-size: 10.5px; letter-spacing: 0.26em; color: #B8945B; text-transform: uppercase; }
.next .nx-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 28px; padding: 8px 0 6px; font-size: 15px; line-height: 1.5; color: rgba(250,248,242,0.86); }
.next .nx-rows .rd-k { color: #B8945B; }
.next .nx-note { display: inline-flex; align-items: center; min-height: 44px; color: #B8945B; text-decoration: none; font-size: 12px; letter-spacing: 0.2em; }

/* Today: From your coach (note, your reflection, your week) */
.ftc { gap: 18px !important; }
.ftc-note { display: flex; flex-direction: column; gap: 10px; }
.ftc-date { font-size: 12px; letter-spacing: 0.14em; color: #59544B; text-transform: uppercase; }
.ftc-reflect { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; background: #F6F1E8; }

.ftc-mine, .cn-mine { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid rgba(184,148,91,0.5); }
.ftc .ci { border-top: 1px solid rgba(28,27,24,0.1); padding-top: 18px; display: flex; flex-direction: column; gap: 14px; }

/* Today: one quiet line of progress */
.mglance { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding: 22px 0; border-top: 1px solid rgba(28,27,24,0.14); border-bottom: 1px solid rgba(28,27,24,0.14); color: #59544B; text-decoration: none; font-size: 13px; letter-spacing: 0.04em; }
.mglance span { display: inline-flex; align-items: baseline; gap: 7px; }
.mglance b { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 28px; color: #1C1B18; letter-spacing: 0; }
.mglance .mglance-go { margin-left: auto; color: #7A5B2B; font-size: 12px; letter-spacing: 0.2em; }
@media (max-width: 640px) { .mglance { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; } .mglance .mglance-go { grid-column: 1 / -1; margin-left: 0; } }

/* Progress: where you started */
.started .st-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.started .st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px 40px; }
.started .st-grid > div { display: flex; flex-direction: column; }
/* Progress: coach notes, newest open, earlier ones on tap */
.cn-row { border-top: 1px solid rgba(28,27,24,0.1); padding: 12px 0; }
.cn-row:first-of-type { border-top: 0; }
details.cn-row > summary { list-style: none; cursor: pointer; min-height: 44px; }
details.cn-row > summary::-webkit-details-marker { display: none; }
.cn-h { display: flex; flex-direction: column; gap: 4px; }
.cn-t { font-size: 15.5px; color: #1C1B18; line-height: 1.5; }
div.cn-row .cn-t { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 20px; }
.cn-b { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
div.cn-row .cn-b .gr-quote { display: none; }

/* Legacy: the Founder's place */
.mv2 .card.founder { background: #FFFDF8; border: 1px solid rgba(184,148,91,0.5); border-top: 2px solid #B8945B; padding: 28px; gap: 14px; }
.fo-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fo-no { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; color: #7A5B2B; }
.fo-t { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.1; }
.fo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 32px; padding-top: 8px; border-top: 1px solid rgba(184,148,91,0.3); margin-top: 6px; }
.fo-grid > div { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; }
details.fo-plan { border-top: 1px solid rgba(184,148,91,0.3); padding-top: 10px; }
details.fo-plan > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between;  gap: 12px; min-height: 44px; align-items: center; }
details.fo-plan > summary::-webkit-details-marker { display: none; }
details.fo-plan > summary::after { content: '+'; color: #7A5B2B; font-size: 20px; }
details.fo-plan[open] > summary::after { content: '–'; }
.fo-plan-b { padding: 4px 0 8px; }
/* Legacy: Socials and events */
.events .ev { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px; background: #FFFDF8; border: 1px solid rgba(184,148,91,0.4); }
.events .ev-f { border-color: #B8945B; border-top-width: 2px; }
.ev-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.ev-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: #59544B; }
.ev-t { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; line-height: 1.15; color: #1C1B18; }
details.ev-ask > summary { list-style: none; display: inline-flex; cursor: pointer; }
details.ev-ask > summary::-webkit-details-marker { display: none; }
details.ev-ask[open] > summary { display: none; }
.ev-form { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }

.mv2 section > div { padding-left: 0 !important; padding-right: 0 !important; }
.mglance { background: transparent !important; }
.ftc-reflect textarea { height: 76px; min-height: 76px; resize: vertical; }
.next .nx-ready > summary { flex-wrap: wrap; row-gap: 2px; }
.next details.nx-ready > summary > span { font-size: 10.5px !important; letter-spacing: 0.26em !important; line-height: 1.4; }
.ftc-reflect > label.f { flex: none !important; }
details.cn-row > summary > span.tr-date, div.cn-row > div > span.tr-date { font-size: 11px !important; letter-spacing: 0.2em; }
details.cn-row > summary { display: flex; flex-direction: column; gap: 4px; }
details.cn-row > summary .cn-t { font-size: 15.5px !important; }
.mv2 .ftc-mine, .mv2 .cn-mine { padding-left: 14px !important; }
.mv2 .ftc-reflect { padding: 18px 20px !important; }
.mv2 .events .ev { padding: 20px 22px !important; }
details.fo-plan > summary > span.sub-h { font-size: 11px !important; letter-spacing: 0.24em !important; line-height: 1.4; }
details.ev-ask > summary.btn { padding: 14px 22px !important; }

/* My Legacy header: the same calm header as booking and private requests (sticky, one row, same logo size) */
.m-head:has(.m-msg) { position: sticky; top: 0; z-index: 40; background: rgba(250,248,242,0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.m-nav:has(.m-msg) { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; gap: 16px; }
.m-nav:has(.m-msg) .m-logo { width: 168px !important; height: auto; }
.m-nav:has(.m-msg) .m-navlinks { flex-wrap: nowrap; gap: 6px 22px; }
@media (max-width: 640px) {
  .m-nav:has(.m-msg) { padding-top: 12px; padding-bottom: 12px; }
  .m-nav:has(.m-msg) .m-logo { width: 128px !important; }
  .m-nav:has(.m-msg) form.inline { display: none; }   /* sign out lives in Account on phones */
  .m-nav:has(.m-msg) .m-lang { font-size: 12px; letter-spacing: 0.1em; padding: 0 2px; }   /* EN | ES always one tap away in the app */
  .m-nav:has(.m-msg) .m-lang a { padding: 12px 4px; display: inline-block; }
}
.acct-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px 0 0; border-top: 1px solid rgba(28,27,24,0.14); font-size: 12px; letter-spacing: 0.18em; }
.acct-foot .m-lang a { color: #1C1B18; text-decoration: none; padding: 10px 6px; }
.acct-foot .m-lang a.on { color: #7A5B2B; border-bottom: 1px solid #B8945B; }
.m-nav:has(.m-msg) { flex-wrap: nowrap !important; }
.m-nav:has(.m-msg) .m-navlinks { flex: 0 1 auto !important; width: auto !important; justify-content: flex-end; }

/* Founder: Today ribbon, household, voice, renewal */
a.fo-ribbon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; padding: 14px 20px; background: #0E0E0E; color: #FAF8F2; text-decoration: none; border-left: 2px solid #B8945B; margin: 4px 0 0; }
a.fo-ribbon:hover { background: #1C1B18; }
.fo-rb-k { font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase; color: #D9BE8C; white-space: nowrap; }
.fo-rb-t { flex: 1 1 260px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; line-height: 1.3; }
.fo-rb-n { color: rgba(250,248,242,0.75); }
.fo-rb-go { font-size: 11px; letter-spacing: 0.24em; color: #D9BE8C; white-space: nowrap; border-bottom: 1px solid rgba(217,190,140,0.6); padding-bottom: 3px; }
.fo-house { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(184,148,91,0.3); padding-top: 14px; }
.fo-house > .sub-h { margin-bottom: 4px; }
.fo-hrow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 8px 0; border-bottom: 1px solid rgba(28,27,24,0.07); }
.fo-house > .muted:last-child { padding-top: 6px; }
details.fo-voice { border-top: 1px solid rgba(184,148,91,0.3); padding-top: 10px; }
details.fo-voice > summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; min-height: 44px; }
details.fo-voice > summary::-webkit-details-marker { display: none; }
details.fo-voice > summary::after { content: '+'; color: #7A5B2B; font-size: 20px; margin-left: auto; }
details.fo-voice[open] > summary::after { content: '–'; }
details.fo-voice > summary > span.sub-h { font-size: 11px !important; letter-spacing: 0.24em !important; line-height: 1.4; }
details.fo-voice > summary > span.muted { font-size: 14px !important; }
details.fo-voice[open] { display: flex; flex-direction: column; gap: 10px; padding-bottom: 6px; }
.fo-voice-f { display: flex; flex-direction: column; gap: 10px; }
.fo-voice-f textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 12px 14px; border: 1px solid rgba(28,27,24,0.2); background: #FFFFFF; resize: vertical; }
.fo-voice-f .btn { align-self: flex-start; }
.fo-idea { font-style: italic; }
.fo-renew { border-top: 1px solid rgba(184,148,91,0.3); padding-top: 12px; }
@media (max-width: 600px) { a.fo-ribbon { padding: 14px 16px; } .fo-rb-t { font-size: 18px; flex-basis: 100%; } .mv2 .card.founder { padding: 22px 18px; } }
details.fo-plan > summary > span.muted { margin-left: auto; margin-right: 4px; }

/* Membership label: the same word everywhere */
.mtype { display: inline-block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; padding: 3px 8px; line-height: 1.4; border: 1px solid rgba(28,27,24,0.22); color: #4A463F; white-space: nowrap; vertical-align: middle; font-weight: 400; }
.mtype-founder { background: #0E0E0E; color: #D9BE8C; border-color: #B8945B; }
td .mtype { margin-left: 6px; }

/* See it as they do: window by window */
.pv-wins { display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px 0; }
.pv-wins::-webkit-scrollbar { display: none; }
.pv-wins a { flex: 0 0 auto; font-size: 11px; letter-spacing: 0.18em; padding: 10px 14px; min-height: 40px; box-sizing: border-box; display: inline-flex; align-items: center; border: 1px solid rgba(28,27,24,0.2); color: #1C1B18; text-decoration: none; background: #FFFFFF; }
.pv-wins a:hover { border-color: #B8945B; }
.pv-wins a.on { background: #0E0E0E; color: #D9BE8C; border-color: #0E0E0E; }
.pv-bar .pv-wins { flex: 1 1 100%; order: 3; }
.pv-bar .pv-wins a { background: transparent; color: rgba(250,248,242,0.85); border-color: rgba(250,248,242,0.25); padding: 8px 12px; min-height: 36px; }
.pv-bar .pv-wins a.on { background: #B8945B; color: #0E0E0E; border-color: #B8945B; }
.pv-card { gap: 14px; }
.pv-card .pv-wins { flex-wrap: wrap; overflow: visible; }
.pv-short { display: none; }
@media (max-width: 600px) {
  .pv-bar { padding: 8px 16px; gap: 8px 12px; }
  .pv-long { display: none; } .pv-short { display: inline; }
  .pv-bar > a { padding: 6px 12px; min-height: 32px; font-size: 10px; }
  .pv-bar .pv-wins a { padding: 6px 10px; min-height: 32px; font-size: 10px; }
}

/* Admin: the first fifteen */
.card.fo-slot { flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 24px; border-style: dashed; background: transparent; }
.card.fo-adm { gap: 16px; border-top: 2px solid #B8945B; }
.fo-adm-h { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.fo-adm-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; border-top: 1px solid rgba(184,148,91,0.3); padding-top: 14px; }
.fo-adm-g > div, .fo-adm-house { display: flex; flex-direction: column; gap: 4px; }
.fo-cks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 24px; }
.fo-ck { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid rgba(28,27,24,0.07); }
.fo-ck > span:first-child { width: 20px; flex: 0 0 20px; color: #9A4A2A; font-size: 15px; }
.fo-ck.ok > span:first-child { color: #5E7A4A; }
.fo-ck b { font-weight: 500; display: block; font-size: 14px; }
.fo-ck .muted { font-size: 13px; }
/* Admin: Faces of Legacy photos */
.face-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.face-ph { display: flex; flex-direction: column; gap: 4px; }
.face-ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #EDE6DA; }

/* Admin: my list */
.todo { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.todo-ck { width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid #B8945B; background: #FFFFFF; color: #FAF8F2; cursor: pointer; padding: 0; font-size: 14px; line-height: 1; border-radius: 50%; }
.todo.done .todo-ck { background: #B8945B; }
.todo-t { flex: 1 1 auto; font-size: 16px; line-height: 1.4; }
.todo.done .todo-t { color: #8A857B; text-decoration: line-through; }
.todo-w { font-size: 13px; color: #6B665C; white-space: nowrap; }
.todo-w.warn { color: #9A4A2A; }
.todo-x { background: none; border: 0; color: #A39E93; font-size: 20px; cursor: pointer; padding: 4px 6px; min-width: 32px; min-height: 32px; }
.todo-x:hover { color: #9A4A2A; }
.todo-add { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; padding-top: 12px; }
.todo-add input[name=text] { flex: 1 1 240px; }
.todo-add input { font: inherit; padding: 10px 12px; border: 1px solid rgba(28,27,24,0.2); background: #FFFFFF; min-height: 44px; box-sizing: border-box; }
@media (max-width: 600px) { .todo { flex-wrap: wrap; } .todo-t { flex-basis: calc(100% - 80px); } .todo-w { margin-left: 38px; } .todo-add input[type=date], .todo-add input[type=time] { flex: 1 1 40%; } }
.setup-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid rgba(28,27,24,0.08); }
.setup-i { width: 26px; height: 26px; flex: 0 0 26px; border: 1px solid; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.setup-row b { font-weight: 500; display: block; }

/* How was today? */
.mv2 form.pulse { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px !important; background: #FFFDF8; border: 1px solid rgba(184,148,91,0.45); margin: 4px 0; }
.pulse-q { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; line-height: 1.25; }
.pulse-b { display: flex; flex-wrap: wrap; gap: 8px; }
.pulse-o { flex: 1 1 100px; min-height: 48px; font: inherit; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; background: #FFFFFF; color: #1C1B18; border: 1px solid rgba(28,27,24,0.25); cursor: pointer; }
.pulse-o:hover { border-color: #B8945B; }
.pulse-loved { background: #0E0E0E; color: #D9BE8C; border-color: #0E0E0E; }
.pulse-more summary { cursor: pointer; font-size: 14px; color: #7A5B2B; min-height: 32px; display: inline-flex; align-items: center; }
.pulse-more textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 10px 12px; border: 1px solid rgba(28,27,24,0.2); margin-top: 8px; }

.nb-chip { font-size: 11px; letter-spacing: 0.08em; padding: 3px 8px; border: 1px solid rgba(28,27,24,0.2); color: #6B665C; white-space: nowrap; }
.nb-chip.ok { border-color: #B8945B; color: #7A5B2B; background: #FFFDF8; }

/* Every button and card answers when you point at it, so it is always clear what can be clicked */
@media (hover: hover) {
  a[href], button, summary, label.chk, input[type=submit] { transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .2s ease, filter .2s ease; }
  .btn:hover, a.btn:hover, button.btn:hover, summary.btn:hover, input.btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(122,91,43,0.2); }
  .btn.line:hover, a.btn.line:hover, button.btn.line:hover { background: #1C1B18 !important; border-color: #1C1B18 !important; color: #FAF8F2 !important; filter: none; }
  .next a:hover { background: #FAF8F2 !important; border-color: #FAF8F2 !important; color: #0E0E0E !important; }
  a.prog-card:hover { box-shadow: 0 16px 36px rgba(14,14,14,0.24); transform: translateY(-3px); }
  section a[href][style*="border-top"][style*="Cormorant"]:hover { color: #7A5B2B !important; padding-left: 8px !important; }
  a.wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14,14,14,0.28); filter: brightness(1.12); }
  a.mt-card:hover, a.mglance:hover, .glance-strip a:hover, a.fo-ribbon:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(14,14,14,0.08); }
  label.chk:hover { color: #7A5B2B; }
  a.rs-btn:hover, a.rs-btn:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(122,91,43,0.25); }
  .rs-hero a.rs-btn.line:hover, .rs-sec.dark a.rs-btn.line:hover { background: #FAF8F2 !important; border-color: #FAF8F2 !important; color: #0E0E0E !important; }
  .rs-sec:not(.dark) a.rs-btn.line:hover, .rs-end a.rs-btn.line:hover { background: #1C1B18 !important; border-color: #1C1B18 !important; color: #FAF8F2 !important; }
}
@media (prefers-reduced-motion: reduce) { a[href]:hover, button:hover, .btn:hover, a.prog-card:hover { transform: none !important; } }

@media (hover: hover) {
  a.nd-i:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,14,14,0.10); border-color: #B8945B !important; }
  a.pill:hover, .ow-b:hover { filter: brightness(1.08); transform: translateY(-1px); }
}

@media (hover: hover) {
  section a[href][style*="border-top: 1px solid"]:hover { border-top-color: #B8945B !important; padding-left: 8px !important; color: #7A5B2B !important; }
  a.tab:not(.on):hover, .tabs a:not(.on):hover { border-color: #1C1B18 !important; background: rgba(28,27,24,0.06); }
}

/* ---------- Face ID sign-in (passkeys) ---------- */
.pk-box { display: flex; flex-direction: column; gap: 14px; max-width: 460px; }
.pk-box[hidden], .pk-offer[hidden], [data-pk-adddevice][hidden] { display: none !important; }
.pk-btn { align-self: stretch; justify-content: center; text-align: center; min-height: 56px; }
.pk-btn.is-busy, [data-pk-add].is-busy { opacity: 0.6; pointer-events: none; }
.pk-or { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #59544B; }
.pk-or::before, .pk-or::after { content: ""; flex: 1; height: 1px; background: rgba(28, 27, 24, 0.14); }
.pk-msg { margin: 0; font-size: 14px; line-height: 1.55; color: #4A463F; }
.pk-offer { gap: 12px; border-left: 2px solid #B8945B; }
.pk-h { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: clamp(26px, 3vw, 32px); line-height: 1.15; margin: 0; }

.pk-list { display: flex; flex-direction: column; }
.pk-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(28, 27, 24, 0.1); }
.pk-row > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pk-row strong { font-weight: 500; }
.pk-pw summary { cursor: pointer; list-style: none; display: inline-block; padding: 12px 0; }
.pk-pw summary::-webkit-details-marker { display: none; }
.lock-screen .pk-box { margin-top: 8px; }

/* ---------- Get the app ---------- */
.app-guide { gap: 12px; border-left: 2px solid #B8945B; }
.app-guide[hidden], [data-push-offer][hidden], [data-push-can][hidden], [data-push-ios-note][hidden] { display: none !important; }
.ag-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.55; color: #3A3934; }
.ag-steps b { font-weight: 500; color: #1C1B18; }
.ag-share { display: inline-block; width: 16px; height: 20px; vertical-align: -3px; margin: 0 2px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20' fill='none' stroke='%237A5B2B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 13V1.5M4.5 5 8 1.5 11.5 5'/%3E%3Cpath d='M5 8H2.5v10.5h11V8H11'/%3E%3C/svg%3E"); }
.is-armed { background: #8A3B2B !important; border-color: #8A3B2B !important; color: #FAF8F2 !important; }
.mv-l { display: inline-block; vertical-align: middle; }
.mv-l > summary { list-style: none; cursor: pointer; }
.mv-l > summary::-webkit-details-marker { display: none; }
.mv-l[open] { display: block; flex-basis: 100%; }
.mv-f { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin: 10px 0 4px; padding: 14px; background: #F1EBE1; }
.mv-f label { display: flex; flex-direction: column; gap: 4px; font-size: 10px; letter-spacing: 0.22em; color: #59544B; }
.mv-f input { font: 300 16px/1.3 'Jost', sans-serif; padding: 8px 10px; border: 1px solid rgba(28,27,24,0.25); background: #FFFDF8; color: #1C1B18; min-height: 44px; box-sizing: border-box; }
/* My details / Complete your profile */
.dt-card { gap: 16px; }
.dt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 24px; }
.dt-grid .dt-wide { grid-column: 1 / -1; }
.dt-k { font-size: 11px; letter-spacing: 0.24em; color: #59544B; }
.dt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.dt-chip { position: relative; cursor: pointer; }
.dt-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dt-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(28,27,24,0.28); font-size: 14px; background: #FFFDF8; color: #1C1B18; transition: background-color .2s ease, border-color .2s ease; }
.dt-chip input:checked + span { background: #F1EBE1; border-color: #B8945B; }
.dt-chip input:focus-visible + span { outline: 2px solid #B8945B; outline-offset: 2px; }
/* Tournaments: finding them (Legacy only) */
.tf-card { gap: 14px; }
.tf-grp { display: flex; flex-direction: column; gap: 8px; }
.tf-h { font-size: 11px; letter-spacing: 0.24em; color: #4A463F; }
.tf-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.tf-link { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid rgba(184,148,91,0.4); background: #FBF7EE; text-decoration: none; color: #1C1B18; min-height: 56px; box-sizing: border-box; }
.tf-link:hover { border-color: #B8945B; }
.tf-n { font-size: 15px; font-weight: 400; }
.tf-d { font-size: 12.5px; color: #59544B; line-height: 1.35; }
.tf-rows { display: flex; flex-direction: column; padding-top: 8px; }
.tf-row { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 6px 16px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.1); font-size: 14px; line-height: 1.45; }
.tf-who { color: #7A5B2B; font-size: 13px; }
@media (max-width: 560px) { .tf-row { grid-template-columns: 1fr; } }
@media (max-width: 760px) { body:has(.tabbar) .tf-link { border-radius: 14px; } }
/* the map: OpenStreetMap in its normal colours; active pins are gold with a white ring, new bookings white with a gold ring, so both read on water and parks */
.lm-tiles img { filter: none; }
.lm-pin { background: #FFFFFF !important; border: 3px solid #7A5B2B !important; box-shadow: 0 0 0 2px #FFFFFF, 0 3px 8px rgba(14,14,14,0.35) !important; }
.lm-pin.on { background: #B8945B !important; border-color: #FFFFFF !important; box-shadow: 0 0 0 1px rgba(14,14,14,0.3), 0 3px 8px rgba(14,14,14,0.35) !important; }
.lm-attr a { color: #4A463F; }
/* Welcome steps (required before the member area opens) */
.ob { gap: 24px; }
.ob-steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.ob-steps li { flex: 1 1 0; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(28,27,24,0.14); background: #FFFDF8; font-size: 14px; color: #59544B; min-width: 0; }
.ob-steps li span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(28,27,24,0.25); font-size: 13px; }
.ob-steps li.on { border-color: #B8945B; color: #1C1B18; }
.ob-steps li.on span { background: #B8945B; border-color: #B8945B; color: #0E0E0E; }
.ob-steps li.done span { background: #1C1B18; border-color: #1C1B18; color: #FAF8F2; }
.ob-p { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.ob-p + .ob-p { border-top: 1px solid rgba(28,27,24,0.12); padding-top: 16px; }
.pk-person { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.1); }
@media (max-width: 560px) { .ob-steps li { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; font-size: 12px; } }
@media (max-width: 760px) { .ob-steps li { border-radius: 14px; } }
/* calendar: US holidays (blue), celebrations (rose), clocks change (sand) */
.cal-d.cal-hol-federal { background: #EEF2F7; } .cal-d.cal-hol-federal:hover { background: #E4EAF2; }
.cal-d.cal-hol-day { background: #F8EEEE; } .cal-d.cal-hol-day:hover { background: #F2E4E4; }
.cal-d.cal-hol-clock { background: #F6F1E6; }
.cal-hol { font-size: 11px; line-height: 1.25; font-weight: 400; letter-spacing: 0.02em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-hol.k-federal { color: #3D5A80; } .cal-hol.k-day { color: #9A4A5A; } .cal-hol.k-clock { color: #7A5B2B; }
.cal-hols { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 13px; color: #4A463F; }
.cal-hols ul { list-style: none; margin: 0; padding: 0; flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cal-hols li a { color: #1C1B18; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; }
.cal-hols b { font-weight: 500; }
.cal-hols i, .cal-key i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.cal-key { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #59544B; }
i.k-federal { background: #3D5A80; } i.k-day { background: #C47A86; } i.k-clock { background: #B8945B; }
.cal-hol-note { border-color: #3D5A80; }
@media (max-width: 700px) { .cal-hol { font-size: 8.5px; letter-spacing: 0; text-align: center; -webkit-line-clamp: 2; max-width: 100%; } .cal-hols ul { flex-direction: column; gap: 2px; } }
.cal-hol .hl-s { display: none; }
@media (max-width: 700px) { .cal-hol .hl-f { display: none; } .cal-hol .hl-s { display: inline; } .cal-hol { overflow-wrap: anywhere; hyphens: manual; } }
.sib { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.1); }
.sib-f { display: flex; flex-direction: column; gap: 10px; padding-left: 30px; }
/* equipment */
.eq-card { gap: 14px; }
.eq-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.eq-balls { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; padding: 12px 14px; background: #F1EBE1; font-size: 14px; }
.eq-balls.due { background: #F6E7DF; }
.eq-k { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: #7A5B2B; }
.eq-form { gap: 12px 18px; align-items: flex-end; }
.eq-list { display: flex; flex-direction: column; }
.eq-row { display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; padding: 12px 0; border-top: 1px solid rgba(28,27,24,0.1); flex-wrap: wrap; font-size: 15px; }
.eq-acts { display: inline-flex; gap: 14px; align-items: center; }
.eq-acts select { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid rgba(28,27,24,0.25); background: #FFFDF8; min-height: 40px; }
@media (max-width: 760px) { body:has(.tabbar) .eq-balls { border-radius: 14px; } }
.eq-rep { display: flex; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; align-items: center; padding: 10px 14px; background: #F6E7DF; font-size: 14px; }
.eq-row.rep { background: linear-gradient(90deg, rgba(246,231,223,0.6), transparent); }
.eq-rd > summary { list-style: none; cursor: pointer; } .eq-rd > summary::-webkit-details-marker { display: none; }
.eq-rf { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; align-items: center; }
.eq-rf select, .eq-rf input { font: inherit; font-size: 14px; padding: 8px 10px; border: 1px solid rgba(28,27,24,0.25); background: #FFFDF8; min-height: 40px; }
.eq-rf input { flex: 1 1 180px; }
.ca-sec { padding-top: 4px; }
@media (max-width: 760px) { body:has(.tabbar) .eq-rep { border-radius: 14px; } }
/* emergency details on Today and the player page */
.em-line { display: block; font-size: 13px; color: #4A463F; padding-top: 4px; line-height: 1.5; }
.em-line b { font-weight: 500; color: #9A4A2A; letter-spacing: 0.04em; }
.em-line a { color: #9A4A2A; }
.em-line a[href^="tel:911"] { font-weight: 500; }
/* heat and lightning on Today */
.wx-line { display: block; font-size: 13px; line-height: 1.45; padding: 6px 10px; margin-top: 6px; }
.wx-storm { background: #EEF2F7; color: #2F4766; } .wx-heat { background: #F6E7DF; color: #8A3E22; } .wx-warm { background: #FBF3E4; color: #7A5B2B; }
.wx-sum { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; background: #FBF7EE; border-left: 3px solid #B8945B; font-size: 14px; line-height: 1.5; }
.wx-sum b { font-weight: 500; }
@media (max-width: 760px) { body:has(.tabbar) .wx-line, body:has(.tabbar) .wx-sum { border-radius: 12px; border-left: 0; } }
/* renewals */
.rn-card { gap: 0; padding-top: 8px; padding-bottom: 8px; }
.rn-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; padding: 16px 0; border-top: 1px solid rgba(28,27,24,0.1); }
.rn-row:first-child { border-top: 0; }
.rn-main { display: flex; flex-direction: column; gap: 3px; flex: 1 1 300px; min-width: 0; }
.rn-t { font-size: 16px; font-weight: 400; }
.rn-n { font-size: 13px; }
.rn-acts { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.rn-late .rn-t, .rn-soon .rn-t { color: #9A4A2A; }
.rn-ed > summary { list-style: none; cursor: pointer; } .rn-ed > summary::-webkit-details-marker { display: none; }
.rn-ed[open] { flex-basis: 100%; }

/* Records: client file, sent log, change history */
.rec-card { display: flex; flex-direction: column; gap: 10px; }
.rec-top { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-start; justify-content: space-between; }
.rec-top > div { flex: 1 1 280px; }
.rec-sec > summary { cursor: pointer; padding: 10px 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #1C1B18; border-top: 1px solid #E7E0D3; list-style-position: inside; }
.rec-row { display: block; border-top: 1px solid #EFE9DE; padding: 9px 0; font-size: 14px; line-height: 1.5; }
.rec-row > summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 150px 1fr; gap: 2px 14px; }
.rec-row > summary::-webkit-details-marker { display: none; }
.rec-ch { display: grid; grid-template-columns: 150px 1fr; gap: 2px 14px; }
.rec-when { color: #59544B; font-size: 13px; white-space: nowrap; }
.rec-what { overflow-wrap: anywhere; color: #1C1B18; }
.rec-to { grid-column: 2; font-size: 13px; overflow-wrap: anywhere; }
.rec-body { white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.6 Helvetica, Arial, sans-serif; color: #3A3934; background: #F4EFE6; padding: 12px 14px; margin: 8px 0 2px; border-radius: 10px; max-height: 360px; overflow: auto; }
@media (max-width: 560px) { .rec-row > summary, .rec-ch { grid-template-columns: 1fr; } .rec-to { grid-column: 1; } }
.rec-card details.rec-row > summary { font: inherit; font-size: 14px; letter-spacing: 0; text-transform: none; padding: 0; color: #1C1B18; }
.rec-card details.rec-row > summary > span { font-size: 14px !important; letter-spacing: 0 !important; line-height: 1.5 !important; text-transform: none !important; font-family: inherit !important; }
.rec-card details.rec-row > summary > span.rec-when, .rec-card details.rec-row > summary > span.rec-to { font-size: 13px !important; color: #59544B; }
.rec-card details.rec-sec > summary > span.muted { font-size: 13px !important; }

/* Papers: required marks, three ways to sign, finger signature */
.req { color: #B3261E; font-weight: 600; margin-left: 3px; font-size: 1.1em; line-height: 1; }
.to-sign { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: #B3261E; color: #FFFFFF; font-size: 10px; letter-spacing: 0.14em; vertical-align: 2px; }
.req-key { margin: 0; font-size: 13px; }
.notice.ok-n { border-left-color: #2F6B3E; }
.sign-ways { display: flex; flex-direction: column; gap: 14px; border: 1.5px solid #B8945B; }
.sw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.sw { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; background: #F4EFE6; color: #1C1B18; text-decoration: none; }
.sw > b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #0E0E0E; color: #FAF8F2; display: grid; place-items: center; font-weight: 500; font-size: 14px; }
.sw > span { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.5; color: #3A3934; }
.sw strong { font-weight: 500; font-size: 16px; color: #1C1B18; }
.sw-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 4px; }
.sw-up > summary { cursor: pointer; font-size: 15px; padding: 10px 0; color: #1C1B18; text-decoration: underline; text-underline-offset: 4px; }
.sw-form, .sw-also { display: flex; flex-direction: column; gap: 12px; }
.sw-form input[type=file] { font-size: 14px; padding: 10px 0; }
.sig-pad-wrap { display: flex; flex-direction: column; gap: 6px; position: relative; }
.sig-pad-wrap .f-l { font-size: 12px; letter-spacing: 0.16em; color: #59544B; }
.sig-pad { width: 100%; height: 160px; background: #FFFFFF; border: 1px solid #C9BFAE; border-radius: 12px; touch-action: none; cursor: crosshair;
  background-image: linear-gradient(transparent 120px, #E7E0D3 120px, #E7E0D3 121px, transparent 121px); }
.sig-pad-wrap .sig-clear { align-self: flex-end; }
.pc-card { display: flex; flex-direction: column; gap: 12px; }
.pc-up { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid #EFE9DE; font-size: 14px; }
.pc-files { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.pc-rec > summary { cursor: pointer; padding: 10px 0; font-size: 13px; letter-spacing: 0.08em; border-top: 1px solid #E7E0D3; }
.pc-form { display: flex; flex-direction: column; gap: 14px; }
label.f:has(> .req) { display: block; line-height: 1.6; }
label.f:has(> .req) > input, label.f:has(> .req) > select, label.f:has(> .req) > textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; }
.paper.sign .sig-pad-wrap { align-self: stretch; width: 100%; margin: 0 !important; padding: 0 !important; max-width: none !important; }
.paper-acts { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding-top: 6px; border-top: 1px solid #EFE9DE; }
.paper-acts .link-btn { font-size: 12px; }
.lg-share[hidden] { display: none !important; }
.pp-warn { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #FBEAE8; color: #8E1F16; font-size: 14px; line-height: 1.5; border-left: 3px solid #B3261E; }
.pp-warn a { color: #8E1F16; font-weight: 600; letter-spacing: 0.06em; }
.pp-warn.pp-wait { background: #FFF4E0; color: #6B4A12; border-left-color: #B8945B; }
.pp-warn.pp-wait a { color: #6B4A12; }
.hc-card { display: flex; flex-direction: column; gap: 12px; border: 1.5px solid #B8945B; }
.hc-list .list-row { font-size: 14px; }
.agree.esign { background: #FFFFFF; border: 1px solid #E7E0D3; font-size: 14px !important; line-height: 1.5; }
fieldset.hd-q { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
fieldset.hd-q legend { padding: 0 0 8px; font-size: 16px; line-height: 1.5; color: #1C1B18; }
.pk-log { grid-column: 2 / -1; margin-top: 6px; }
.pk-log > summary { cursor: pointer; font-size: 12px; letter-spacing: 0.14em; color: #7A5B2B; padding: 6px 0; }
.pk-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 0; }
.pk-else { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; padding: 4px 0; }
.pk-done { display: block; grid-column: 2 / -1; margin-top: 6px; font-size: 13px; color: #2F6B3E; }
.pk-done.pk-off { color: #8E1F16; }
.pk-card { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid #B8945B; }

/* notifications: which phone is this, and a clear "on" state */
.pk-this { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: #0E0E0E; color: #FAF8F2; font-size: 10px; letter-spacing: 0.14em; vertical-align: 2px; }
.pk-on { font-size: 14px; color: #2F6B3E; font-weight: 500; letter-spacing: 0.02em; }
/* tick boxes look ticked: a clear check on every chosen option */
.choice:has(input[type=checkbox]) { padding-left: 50px; justify-content: center; }
.choice:has(input[type=checkbox])::before { content: ''; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1.5px solid rgba(28,27,24,0.35); border-radius: 6px; background: #FFFFFF; box-sizing: border-box; }
.choice:has(input[type=checkbox]:checked)::before { background: #B8945B; border-color: #B8945B; }
.choice:has(input[type=checkbox]:checked)::after { content: ''; position: absolute; left: 23px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid #0E0E0E; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.choice:has(input[type=checkbox]:focus-visible) { outline: 2px solid #8A6A35; outline-offset: 2px; }
/* running low: one-tap renew */
.renew-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; }
.renew-card .rn-f { margin: 0; }
.renew-card .rn-n { flex-basis: 100%; font-size: 13px; }
/* Account in the order people expect: plan, details, preferences, court, notifications and sign-in, services, then their data */
.mv2.v-account > .grid3 { order: 1; }
.mv2.v-account > #details { order: 2; }
.mv2.v-account > #prefs { order: 3; }
.mv2.v-account > #court { order: 4; }
.mv2.v-account > #alerts { order: 5; }
.mv2.v-account > #reminders { order: 6; }
.mv2.v-account > #faceid { order: 7; }
.mv2.v-account > #racket { order: 8; }
.mv2.v-account > #restring { order: 9; }
.mv2.v-account > #gifts { order: 10; }
.mv2.v-account > #know { order: 11; }
.mv2.v-account > #mydata { order: 12; }
.mv2.v-account > .acct-foot { order: 20; }
/* Progress: what to work on (the coach's notes, then the practice library) comes before the milestones and the journey */
.mv2.v-journey > #then-now { order: 1; }
.mv2.v-journey > .rings-card { order: 2; }
.mv2.v-journey > #started { order: 3; }
.mv2.v-journey > #my-goals { order: 4; }
.mv2.v-journey > #skills { order: 5; }
.mv2.v-journey > #challenges { order: 6; }
.mv2.v-journey > #progress { order: 7; }
.mv2.v-journey > #last-session { order: 8; }
.mv2.v-journey > #library { order: 9; }
.mv2.v-journey > #badges { order: 10; }
.mv2.v-journey > #journey { order: 11; }
.mv2.v-journey > #media { order: 12; }
.mv2.v-journey > #tournaments { order: 13; }

/* sign-in: help for a slow email appears after a minute, never before */
.mc-help { display: flex; flex-direction: column; gap: 6px; max-width: 460px; padding: 14px 16px; background: #F1EBE1; border-radius: 14px; opacity: 0; visibility: hidden; animation: mc-show .4s ease 60s forwards; }
@keyframes mc-show { to { opacity: 1; visibility: visible; } }
@media (prefers-reduced-motion: reduce) { .mc-help { animation-duration: 0s; } }

/* Personal offers: the client's private page, and the owner's list */
.of-wrap { max-width: 640px; padding-top: 72px; display: flex; flex-direction: column; gap: 22px; }
.of-note { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 22px; line-height: 1.45; color: #3A3934; margin: 0; }
.of-card { gap: 14px; border-radius: 22px; background: #FFFDF8; }
.of-title { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: 1.15; color: #1C1B18; }
.of-rows { display: flex; flex-direction: column; border-top: 1px solid rgba(28,27,24,0.12); }
.of-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(28,27,24,0.12); font-size: 15px; }
.of-rows > div > span:first-child { color: #59544B; }
.of-price > span:last-child { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; color: #7A5B2B; }
.of-pay { display: flex; flex-direction: column; gap: 12px; }
.of-way { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid rgba(28,27,24,0.2); border-radius: 16px; background: #FFFDF8; cursor: pointer; min-height: 44px; }
.of-way:has(input:checked) { border-color: #B8945B; background: #F1EBE1; }
.of-way input { accent-color: #7A5B2B; width: 20px; height: 20px; flex: none; }
.of-way > span { display: flex; flex-direction: column; gap: 2px; }
.of-way b { font-weight: 500; font-size: 16px; }
.of-zelle { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: #F1EBE1; }
.of-zelle[hidden] { display: none; }
.of-zto { font-size: 20px; letter-spacing: 0.02em; color: #1C1B18; word-break: break-all; }
.of-agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: #4A463F; padding: 6px 0; }
.of-agree input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: #7A5B2B; }
.of-agree a { color: #7A5B2B; }
.of-pay .btn { align-self: stretch; text-align: center; }
.of-row { gap: 12px; }
.of-head { display: flex; flex-direction: column; gap: 4px; }
.of-acts { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.of-acts select { min-height: 40px; }
/* a card is a column: a field's flex size there must never become empty height */
.card:not([style*="flex-direction: row"]) > label.f, form.card:not([style*="flex-direction: row"]) > label.f { flex-basis: auto !important; flex-grow: 0 !important; }

/* ---------- Between-lesson plans ---------- */
.wp-plan { display: flex; flex-direction: column; gap: 6px; }
.wp-t { color: #1C1B18 !important; opacity: 1 !important; font-family: var(--serif, 'Cormorant Garamond', serif); font-weight: 500; font-size: clamp(26px, 5vw, 34px); line-height: 1.15; margin: 4px 0 6px; }
.wp-check { font-size: 13px; line-height: 1.55; color: #3A3934; background: #F4EDE0; border-radius: 12px; padding: 10px 14px; margin: 0; }
.wp-miss, .wp-need .body { font-size: 14px; line-height: 1.55; }
.wp-miss { color: #7A3B1F; margin: 4px 0 0; }
.wp-sec { padding: 14px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.wp-sec p { margin: 6px 0 0; line-height: 1.6; }
.wp-k { display: block; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #7A5B2B; }
.wp-list { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; line-height: 1.55; }
.wp-dose { display: block; font-size: 13px; color: #59544B; margin-top: 2px; }
.wp-aff { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-family: var(--serif, 'Cormorant Garamond', serif); font-size: 20px; font-style: italic; }
.wp-safe { margin: 10px 0 0; padding: 10px 14px 10px 30px; background: #F7F2EA; border-radius: 12px; font-size: 13px; line-height: 1.5; color: #3A3934; }
.wp-stop { background: #FBEDE7; border-radius: 12px; padding: 14px; }
.wp-911 { font-size: 12px; line-height: 1.5; color: #59544B; margin: 10px 0 0; padding-top: 12px; border-top: 1px solid rgba(28,27,24,0.08); }
.wp-link { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.wp-form { display: flex; flex-direction: column; gap: 10px; }
.wp-h { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(28,27,24,0.08); }
.wp-l { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #59544B; margin-top: 6px; }
.wp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-o { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(28,27,24,0.16); border-radius: 999px; font-size: 14px; background: #fff; cursor: pointer; }
.wp-o input { margin: 0; accent-color: #1C1B18; }
.wp-ir, .wp-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 12px; padding: 8px 0; }
.wp-log { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.wp-o:has(input:checked) { background: #1C1B18; border-color: #1C1B18; color: #fff; }
.wp-o input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wp-o { position: relative; }
.wp-o:focus-within { outline: 2px solid #B8955A; outline-offset: 2px; }
.wp-week { margin: 6px 0 0; padding: 10px 14px 10px 30px; background: #EEF3EF; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.wp-streak { margin: 0; font-size: 14px; color: #7A5B2B; font-weight: 600; }
.wp-wx { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FFF4DE; font-size: 14px; line-height: 1.5; }
.wp-home { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #3F6B55; border: 1px solid #A9C4B5; border-radius: 999px; padding: 2px 8px; }
.wp-tick { display: block; margin-top: 8px; }
.wp-done { all: unset; box-sizing: border-box; cursor: pointer; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.2); font-size: 13px; letter-spacing: 0.08em; background: #fff; }
.wp-done.on { background: #2F5D46; border-color: #2F5D46; color: #fff; }
.wp-q .wp-qt { font-size: 18px; line-height: 1.4; margin: 6px 0 12px; }
.wp-qbs { display: flex; flex-wrap: wrap; gap: 8px; }
.wp-qb { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(28,27,24,0.2); background: #fff; font-size: 15px; color: #1C1B18; text-decoration: none; }
.wp-ci { display: flex; flex-direction: column; gap: 8px; }
.wp-scale { display: flex; align-items: center; gap: 6px; }
.wp-lo, .wp-hi { font-size: 12px; color: #59544B; min-width: 44px; }
.wp-hi { text-align: right; }
.wp-sc { position: relative; }
.wp-sc input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wp-sc span { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(28,27,24,0.2); background: #fff; font-size: 15px; cursor: pointer; }
.wp-sc input:checked + span { background: #1C1B18; color: #fff; border-color: #1C1B18; }
.wp-sc input:focus-visible + span { outline: 2px solid #B8955A; outline-offset: 2px; }
.wp-painx summary { cursor: pointer; font-size: 14px; color: #59544B; padding: 6px 0; }
.wp-att .wp-attl { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.wp-att .wp-attl a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid rgba(28,27,24,0.08); text-decoration: none; color: inherit; }
.wp-att .wp-attl li:first-child a { border-top: 0; }
.wp-att .wp-attl span { font-size: 14px; color: #59544B; }
.wp-say { width: 100%; min-height: 84px; }
@media (max-width: 400px) { .wp-sc span { width: 36px; height: 36px; } }
.again-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; margin: 0 0 12px; background: #1C1B18; color: #FAF8F2; text-decoration: none; font-size: 15px; line-height: 1.45; }
.again-link b { font-weight: 500; color: #D9BE8C; letter-spacing: 0.04em; }
.again-link:hover { background: #2A2823; }

/* best days and times: the ordered list under the chips */
.dt-picks { display: flex; flex-direction: column; gap: 8px; }
.dt-picks .bk-picks-h { font-size: 12px; letter-spacing: .24em; color: #59544B; margin-top: 4px; }
.dt-picks .bk-picks-e, .dt-picks .dt-picks-n { font-size: 14px; line-height: 1.5; color: #59544B; }
.dt-chip.dt-cur span { background: #1C1B18 !important; color: #FAF8F2 !important; border-color: #1C1B18 !important; }
.dt-chip.dt-taken span { background: #F1EBE1; border-color: #B8945B; }
.dt-picks .bk-picks-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.dt-picks .bk-picks-l li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(28,27,24,0.08); }
.dt-picks .bk-picks-l li:first-child { border-top: 0; }
.dt-picks .bk-rank { display: inline-grid; place-items: center; min-width: 32px; height: 22px; padding: 0 6px; border-radius: 11px; background: #1C1B18; color: #F4EEE2; font-size: 12px; }
.dt-picks .bk-pk { flex: 1 1 auto; font-size: 16px; } .dt-picks .bk-pk small { color: #8A8276; font-size: 12px; margin-left: 4px; }
.dt-picks .bk-picks-l button { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(28,27,24,0.18); background: transparent; font-size: 18px; line-height: 1; cursor: pointer; color: #59544B; }
.dt-picks .bk-mv { display: inline-flex; gap: 6px; } .dt-picks .bk-picks-l button:disabled { opacity: .3; cursor: default; }
/* laptop proportions: member pages read as one calm column, not stretched edge to edge (pages that set their own narrower width keep it) */
html body h1.m-h1 { font-size: clamp(38px, 3.4vw, 48px) !important; }
@media (max-width: 520px) { html body h1.m-h1 { font-size: 38px !important; } }
/* Daily Power in the account: a preview of today's quote and one switch that saves on tap */
.dp-pref { gap: 14px; }
.dp-pref-h { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.dp-pref-h > div { display: flex; flex-direction: column; gap: 6px; }
.dp-pref-t { font-size: 15px; line-height: 1.5; color: #3A372F; }
.dp-sw { flex: 0 0 auto; position: relative; width: 56px; height: 32px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; background: #CFC8BB; transition: background .2s; margin-top: 2px; }
.dp-sw[aria-checked="true"] { background: #B8955A; }
.dp-sw span { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.dp-sw[aria-checked="true"] span { transform: translateX(24px); }
.dp-sw:focus-visible { outline: 2px solid #1C1B18; outline-offset: 3px; }
.dp-pref-q { margin: 0; padding: 18px 20px; border-left: 2px solid #B8955A; background: #F4EFE6; border-radius: 0 10px 10px 0; }
.dp-pref-q figcaption { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: #7A5B2B; margin-bottom: 8px; }
.dp-pref-q blockquote { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 24px; line-height: 1.25; color: #1C1B18; }
.dp-pref-q p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #4A463F; }
.dp-pref-s { font-size: 13px; }

/* Nov 23, 2026 (owner): a lesson row keeps its actions on one line: Map, payment, Mark not done */
.today-act .sb-wrap { display: inline-flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.today-act .sb-wrap > a, .today-act .sb-wrap > .link-btn, .today-act .sb-wrap form.inline > .link-btn, .today-act > a { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #7A5B2B; text-decoration: none; border: 0; border-bottom: 1px solid #B8945B; background: none; padding: 6px 0 2px; margin: 0; min-height: 44px; display: inline-flex; align-items: center; box-sizing: border-box; }
.today-act .sb-wrap form.inline { display: inline-flex; margin: 0; }

/* Nov 23, 2026 (owner): add your email, impossible to miss */
.ae-card { display: flex; flex-direction: column; gap: 12px; padding: 24px 22px; margin: 0 0 18px; background: #0E0E0E; color: #FAF8F2; border-left: 4px solid #B8945B; border-radius: 0; }
.ae-card .ae-k { font-size: 11px; letter-spacing: 0.28em; color: #C9A464; }
.ae-card .ae-h { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.15; color: #FAF8F2; }
.ae-card .ae-b { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(250,248,242,0.86); }
.ae-card .ae-f { display: flex; flex-direction: column; gap: 10px; }
.ae-card .ae-f .f { color: rgba(250,248,242,0.75); }
.ae-card .ae-f input { background: #FAF8F2; color: #0E0E0E; border: 0; padding: 14px; font-size: 17px; }
.ae-card .ae-f .btn { width: 100%; }
.ae-card .ae-f .link-btn { color: #C9A464; align-self: center; }
.ae-card .ae-n { margin: 0; font-size: 13px; color: rgba(250,248,242,0.65); }
.p2-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; margin: 0 0 16px; border: 1px solid rgba(184,148,91,0.45); background: #FFFDF8; color: #1C1B18; text-decoration: none; font-size: 15px; line-height: 1.45; }
.p2-line b { font-weight: 500; }
.p2-line > span[aria-hidden] { color: #7E5F2C; font-size: 20px; }

/* Nov 23, 2026 (owner): Your coach noticed */
.nc-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 18px; margin: 0 0 16px; background: #FFFDF8; border: 1px solid rgba(184,148,91,0.5); border-left: 4px solid #B8945B; }
.nc-card .nc-k { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: #7E5F2C; padding-right: 30px; }
.nc-card .nc-t { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; line-height: 1.25; color: #1C1B18; }
.nc-card .nc-by { font-size: 13px; color: #59544B; }
.nc-card .nc-x { all: unset; cursor: pointer; position: absolute; top: 14px; right: 16px; font-size: 14px; color: #8C877D; padding: 6px; }
/* Nov 23, 2026 (owner's redesign): Your coach noticed */
.nc-card { background: #F7F1E8; border: 1px solid rgba(184,148,91,0.55); border-left: 6px solid #141210; padding: 26px 26px 20px; }
.nc-card .nc-k { font-weight: 600; letter-spacing: 0.18em; color: #7E5A2C; }
.nc-card .nc-t { font-size: 30px; line-height: 1.2; color: #1C1B18; padding-bottom: 16px; border-bottom: 1px solid rgba(184,148,91,0.5); }
.nc-card .nc-by { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: #7E5A2C; }
.nc-card .nc-by i { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #1C1B18; }
/* Nov 23, 2026 (owner's redesign): Your coach noticed */
.nc-card { background: #F7F1E8; border: 1px solid rgba(184,148,91,0.55); border-left: 6px solid #141210; padding: 26px 26px 20px; }
.nc-card .nc-k { font-weight: 600; letter-spacing: 0.18em; color: #7E5A2C; }
.nc-card .nc-t { font-size: 30px; line-height: 1.2; color: #1C1B18; padding-bottom: 16px; border-bottom: 1px solid rgba(184,148,91,0.5); }
.nc-card .nc-by { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: #7E5A2C; }
.nc-card .nc-by i { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 22px; color: #1C1B18; }
/* Nov 23, 2026 (owner): the Founding gift on the Founder page */

/* Nov 23, 2026: Founder mood photo, always with an action */
.card.founder .fo-mood { display: flex; flex-direction: column; gap: 0; margin: 4px 0; }
.card.founder .fo-mood picture { display: block; }
.card.founder .fo-mood img { display: block; width: 100% !important; height: auto !important; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 66%; }
.card.founder .fo-mood > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 0; border-bottom: 1px solid rgba(184,148,91,0.35); }
.card.founder .fo-mt { font-size: 24px; font-style: italic; }
