:root {
  /* Brand */
  --orange: #FF3366;
  --fuchsia: #FF3366;
  --peach: #FF3366;
  --teal: #2EC4B6;
  --beige: #2EC4B6;
  --blue: #20A4F3;
  --blue2: #2EC4B6;

  /* Dark canvas — slide 04 aesthetic */
  --white: rgba(246,247,248,0.05);   /* card surface on dark */
  --warm-snow: #0b1a26;              /* slightly lighter ink */
  --warm-border: rgba(246,247,248,0.09);
  --gray1: rgba(246,247,248,0.08);   /* nested dark surface */
  --gray2: rgba(246,247,248,0.13);   /* elevated dark surface */
  --gray3: rgba(246,247,248,0.22);   /* highlighted surface */
  --gray4: rgba(246,247,248,0.38);   /* muted text */
  --gray5: rgba(246,247,248,0.65);   /* secondary text */
  --black: #011627;                  /* kept as ink for dark bg uses */
  --ink: #011627;

  /* Surfaces */
  --border: rgba(246,247,248,0.09);
  --card-bg: rgba(246,247,248,0.05);

  /* Shadows — subtler on dark */
  --shadow: 0 1px 4px rgba(0,0,0,0.3), 0 4px 20px rgba(0,0,0,0.2);
  --shadow-md: 0 6px 32px rgba(0,0,0,0.4);

  /* Shape */
  --radius: 14px;
  --radius-sm: 10px;

  /* Type */
  --syne: 'Chivo', sans-serif;
  --inter: 'Inter', sans-serif;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { background:var(--ink); color:rgba(246,247,248,0.92); font-family:var(--inter); font-size:14px; min-height:100vh; }

/* ── LAYOUT ── */
.app { display:grid; grid-template-columns:240px 1fr; height:100vh; overflow:hidden; }
.sidebar { background:var(--ink); border-right:none; display:flex; flex-direction:column; overflow-y:auto; }
.main { overflow-y:auto; background:var(--ink); min-width:0; }

/* ── SIDEBAR ── */
.sidebar-top { padding:28px 20px 20px; }
.brand { display:flex; align-items:center; gap:10px; margin-bottom:32px; }
.brand-name { font-family:var(--syne); font-size:15px; font-weight:900; color:rgba(246,247,248,0.92); letter-spacing:-0.01em; }
.brand-name .brand-accent { color:var(--fuchsia); }
.brand-sub { font-family:var(--syne); font-size:10px; color:rgba(246,247,248,0.35); font-weight:700; letter-spacing:0.02em; }

.nav-group { margin-bottom:8px; }
.nav-group-label { font-size:9px; font-weight:700; color:rgba(246,247,248,0.28); text-transform:uppercase; letter-spacing:0.12em; padding:0 10px; margin-bottom:4px; }
.nav-item { display:flex; align-items:center; gap:10px; padding:8px 10px; border-radius:8px; color:rgba(246,247,248,0.55); cursor:pointer; transition:all 0.15s; font-size:13px; font-weight:400; margin-bottom:1px; }
.nav-item:hover { background:rgba(246,247,248,0.07); color:rgba(246,247,248,0.9); }
.nav-item.active { background:var(--fuchsia); color:rgba(246,247,248,0.92); font-weight:600; }
.nav-item.active .nav-icon { opacity:1; }
.nav-icon { width:15px; height:15px; opacity:0.45; flex-shrink:0; }
.nav-item.active .nav-icon { opacity:1; }
.nav-item:hover .nav-icon { opacity:0.8; }

/* Race widget — dark treatment */
.race-widget { margin:12px 14px; background:rgba(246,247,248,0.06); border-radius:12px; padding:14px; border:1px solid rgba(246,247,248,0.1); }
.race-tag { display:inline-flex; align-items:center; gap:4px; background:rgba(255,51,102,0.2); color:rgba(255,51,102,0.9); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; padding:3px 8px; border-radius:20px; margin-bottom:10px; }
.race-name { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); margin-bottom:12px; letter-spacing:-0.01em; }
.race-countdown { display:flex; gap:10px; margin-bottom:10px; }
.race-num { text-align:center; }
.race-num-val { font-family:var(--syne); font-size:22px; font-weight:900; color:var(--teal); line-height:1; }
.race-num-label { font-size:9px; color:rgba(246,247,248,0.35); text-transform:uppercase; letter-spacing:0.06em; }
.race-sep { font-size:18px; color:rgba(246,247,248,0.15); align-self:flex-start; padding-top:2px; }
.race-bar { height:3px; background:rgba(246,247,248,0.1); border-radius:2px; overflow:hidden; }
.race-bar-fill { height:100%; background:linear-gradient(90deg, var(--fuchsia), var(--teal)); border-radius:2px; transition:width 1s ease; }

/* Athlete footer — dark */
.athlete-footer { margin-top:auto; padding:14px 16px; border-top:1px solid rgba(246,247,248,0.08); }
.athlete-row { display:flex; align-items:center; gap:10px; }
.avatar { width:34px; height:34px; border-radius:50%; background:var(--fuchsia); display:flex; align-items:center; justify-content:center; font-family:var(--syne); font-size:12px; font-weight:800; color:rgba(246,247,248,0.92); flex-shrink:0; }
.athlete-info-name { font-size:13px; font-weight:600; color:rgba(246,247,248,0.85); }
.athlete-info-sub { font-size:11px; color:rgba(246,247,248,0.35); }

/* ── MAIN ── */
.main-inner { padding:32px 36px; }
.page { display:none; }
.page.active { display:block; }

/* Page header — dramatic hierarchy */
.page-header { margin-bottom:32px; }
.page-eyebrow {
  font-family:var(--syne);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:0.14em;
  color:var(--teal);
  margin-bottom:8px;
  display:flex;
  align-items:center;
  gap:8px;
}
.page-eyebrow::before {
  content:'';
  display:inline-block;
  width:20px;
  height:2px;
  background:var(--teal);
  border-radius:1px;
}
.page-title {
  font-family:var(--syne);
  font-size:38px;
  font-weight:900;
  color:rgba(246,247,248,0.92);
  letter-spacing:-0.035em;
  line-height:1.0;
}
.page-subtitle { font-size:14px; color:var(--gray4); margin-top:8px; line-height:1.5; }

/* Section label — eyebrow style */
.section-label {
  font-family:var(--syne);
  font-size:10px;
  font-weight:800;
  color:var(--gray4);
  text-transform:uppercase;
  letter-spacing:0.12em;
  margin-bottom:16px;
  display:flex;
  align-items:center;
  gap:10px;
}
.section-label::after { content:''; flex:1; height:1px; background:var(--warm-border); }

/* ── STAT CARDS ── */
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; margin-bottom:24px; }
.stat-card { background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius); padding:20px; transition:all 0.2s; cursor:default; }
.stat-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.stat-card.accent { background:var(--fuchsia); border-color:var(--fuchsia); }
.stat-card.accent .stat-label { color:rgba(255,255,255,0.7); }
.stat-card.accent .stat-value { color:rgba(246,247,248,0.92); }
.stat-card.accent .stat-trend { color:rgba(255,255,255,0.6); }
.stat-label { font-family:var(--syne); font-size:10px; font-weight:800; color:var(--gray4); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:10px; }
.stat-value { font-family:var(--syne); font-size:28px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; letter-spacing:-0.02em; }
.stat-unit { font-size:13px; font-weight:500; margin-left:3px; }
.stat-trend { font-size:11px; color:var(--gray4); margin-top:8px; }
.trend-up { color:#1a9e6e; }
.trend-down { color:var(--fuchsia); }

/* ── CHART CARDS ── */
.chart-card { background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius); padding:24px; margin-bottom:16px; }
.chart-card.blue-accent { border-left:3px solid var(--blue); }
.chart-card.orange-accent { border-left:3px solid var(--fuchsia); }
.chart-header { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:16px; }
.chart-title { font-family:var(--syne); font-size:15px; font-weight:700; color:rgba(246,247,248,0.92); }
.chart-subtitle { font-size:12px; color:var(--gray4); margin-top:2px; }
.chart-legend { display:flex; gap:14px; flex-wrap:wrap; }
.legend-item { display:flex; align-items:center; gap:5px; font-size:11px; color:var(--gray5); }
.legend-dot { width:8px; height:8px; border-radius:2px; flex-shrink:0; }
.chart-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; width:100%; }
.chart-wrap { position:relative; }

/* ── PRs ── */
.pr-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px; margin-bottom:24px; }
.pr-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:16px; position:relative; overflow:hidden; transition:all 0.2s; }
.pr-card:hover { box-shadow:var(--shadow-md); transform:translateY(-1px); }
.pr-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; }
.pr-card.run::before { background:var(--orange); }
.pr-card.bike::before { background:var(--blue); }
.pr-card.swim::before { background:var(--blue2); }
.pr-sport { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px; }
.pr-card.run .pr-sport { color:var(--orange); }
.pr-card.bike .pr-sport { color:var(--blue); }
.pr-card.swim .pr-sport { color:var(--blue2); }
.pr-distance { font-family:var(--syne); font-size:13px; font-weight:700; color:rgba(246,247,248,0.92); margin-bottom:6px; }
.pr-value { font-family:var(--syne); font-size:26px; font-weight:800; color:rgba(246,247,248,0.92); line-height:1; margin-bottom:4px; }
.pr-unit { font-size:12px; font-weight:400; color:var(--gray4); }
.pr-date { font-size:11px; color:var(--gray4); }

/* ── ACTIVITY CAROUSEL ── */
.carousel-wrap { position:relative; margin-bottom:24px; }
.carousel { display:flex; gap:14px; overflow-x:auto; padding-bottom:8px; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
.carousel::-webkit-scrollbar { height:3px; }
.carousel::-webkit-scrollbar-track { background:var(--gray2); border-radius:2px; }
.carousel::-webkit-scrollbar-thumb { background:var(--gray3); border-radius:2px; }
.activity-card { flex:0 0 200px; background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius); overflow:hidden; scroll-snap-align:start; transition:all 0.2s; cursor:default; position:relative; }
.activity-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.activity-card:hover .ac-feedback { opacity:1; transform:translateY(0); }
.ac-feedback { position:absolute; inset:0; background:var(--black); border-radius:var(--radius); padding:14px; display:flex; flex-direction:column; justify-content:space-between; opacity:0; transform:translateY(6px); transition:all 0.22s ease; pointer-events:none; }
.ac-feedback-tag { display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.08em; padding:3px 8px; border-radius:20px; margin-bottom:8px; align-self:flex-start; }
.ac-feedback-title { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); line-height:1.2; margin-bottom:6px; }
.ac-feedback-body { font-size:11px; color:rgba(255,255,255,0.7); line-height:1.6; flex:1; }
.ac-feedback-load { display:flex; align-items:center; justify-content:space-between; margin-top:10px; padding-top:10px; border-top:1px solid rgba(255,255,255,0.1); }
.ac-feedback-load-label { font-size:10px; color:rgba(255,255,255,0.5); text-transform:uppercase; letter-spacing:0.06em; }
.ac-feedback-load-val { font-family:var(--syne); font-size:13px; font-weight:800; color:rgba(246,247,248,0.92); }
.activity-card-map { height:100px; display:flex; align-items:center; justify-content:center; font-size:28px; }
.activity-card-map.run-bg { background:linear-gradient(135deg, rgba(255,51,102,0.08), rgba(247,197,159,0.2)); }
.activity-card-map.bike-bg { background:linear-gradient(135deg, rgba(32,164,243,0.08), rgba(46,196,182,0.15)); }
.activity-card-map.swim-bg { background:linear-gradient(135deg, rgba(46,196,182,0.08), rgba(32,164,243,0.15)); }
.activity-card-map.str-bg { background:linear-gradient(135deg, rgba(90,88,85,0.06), rgba(90,88,85,0.12)); }
.activity-card-body { padding:12px; }
.activity-card-date { font-size:10px; color:var(--gray4); margin-bottom:4px; text-transform:uppercase; letter-spacing:0.06em; }
.activity-card-name { font-family:var(--syne); font-size:13px; font-weight:700; color:rgba(246,247,248,0.92); margin-bottom:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.activity-card-stats { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.act-stat { background:var(--warm-snow); border-radius:6px; padding:6px 8px; }
.act-stat-val { font-family:var(--syne); font-size:13px; font-weight:700; color:rgba(246,247,248,0.92); }
.act-stat-label { font-size:9px; color:var(--gray4); text-transform:uppercase; letter-spacing:0.06em; }

/* ── FITNESS FORECAST ── */
.forecast-header { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
.forecast-badge { background:rgba(32,164,243,0.08); color:var(--blue); font-size:11px; font-weight:600; padding:4px 10px; border-radius:20px; }
.fitness-zones { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:16px; }
.fitness-zone { background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius-sm); padding:16px; }
.fz-label { font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:0.08em; color:var(--gray4); margin-bottom:6px; }
.fz-value { font-family:var(--syne); font-size:20px; font-weight:800; color:rgba(246,247,248,0.92); }
.fz-sub { font-size:11px; color:var(--gray4); margin-top:3px; }

/* ── HOVER REVEAL ── */
.hv-card { position:relative; cursor:default; }
.hv-card .hv-tip { position:absolute; bottom:calc(100% + 8px); left:0; width:240px; background:var(--black); color:rgba(246,247,248,0.92); padding:12px 14px; border-radius:12px; font-size:12px; line-height:1.65; opacity:0; pointer-events:none; transform:translateY(6px); transition:all 0.2s ease; z-index:200; }
.hv-card .hv-tip::after { content:''; position:absolute; top:100%; left:18px; border:6px solid transparent; border-top-color:rgba(246,247,248,0.92); }
.hv-card:hover .hv-tip { opacity:1; transform:translateY(0); }
.hv-hint { font-size:10px; color:var(--gray4); margin-top:5px; }

/* ── ACTIVITY TABLE ── */
.act-table { width:100%; border-collapse:collapse; }
.act-table th { font-size:10px; font-weight:600; color:var(--gray4); text-transform:uppercase; letter-spacing:0.07em; padding:0 12px 10px; text-align:left; border-bottom:1px solid var(--border); }
.act-table td { padding:11px 12px; border-bottom:1px solid var(--border); font-size:13px; color:var(--gray5); }
.act-table tr:last-child td { border-bottom:none; }
.act-table tr:hover td { background:var(--gray1); }
.sport-pill { display:inline-flex; align-items:center; padding:3px 9px; border-radius:20px; font-size:11px; font-weight:600; }
.pill-run { background:rgba(255,51,102,0.1); color:var(--orange); }
.pill-bike { background:rgba(32,164,243,0.1); color:var(--blue); }
.pill-swim { background:rgba(46,196,182,0.1); color:var(--blue2); }
.pill-str { background:var(--gray2); color:var(--gray5); }

/* ── CHAT FLOAT ── */
@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.6;transform:scale(0.85)} }
.chat-fab { position:fixed; bottom:28px; right:28px; width:56px; height:56px; background:var(--black); border-radius:50%; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(1,22,39,0.25); z-index:1000; transition:all 0.2s; }
.chat-fab:hover { background:#FF3366; transform:scale(1.08); }
.chat-fab-badge { position:absolute; top:0; right:0; width:13px; height:13px; background:#2EC4B6; border-radius:50%; border:2px solid var(--white); animation:pulse-dot 2s infinite; }
.chat-overlay { position:fixed; bottom:96px; right:28px; width:380px; height:560px; background:var(--white); border-radius:20px; box-shadow:0 8px 40px rgba(1,22,39,0.18); border:1px solid var(--border); display:flex; flex-direction:column; z-index:999; transform:scale(0.92) translateY(20px); opacity:0; pointer-events:none; transition:all 0.25s cubic-bezier(0.34,1.56,0.64,1); transform-origin:bottom right; overflow:hidden; }
.chat-overlay.open { transform:scale(1) translateY(0); opacity:1; pointer-events:all; }
.chat-header { padding:16px 18px 14px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.chat-header-left { display:flex; align-items:center; gap:9px; }
.chat-dot { width:7px; height:7px; border-radius:50%; background:#2EC4B6; animation:pulse-dot 2s infinite; flex-shrink:0; }
.chat-title { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); }
.chat-sub { font-size:10px; color:var(--gray4); margin-top:1px; }
.chat-close { width:26px; height:26px; border-radius:50%; background:var(--gray2); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.15s; flex-shrink:0; }
.chat-close:hover { background:var(--gray3); }
.msg { max-width:100%; }
.chat-messages { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:12px; }
.msg-bubble { padding:10px 14px; border-radius:14px; font-size:13px; line-height:1.65; }
.msg-coach .msg-bubble { background:var(--gray1); border:1px solid var(--border); color:rgba(246,247,248,0.92); border-radius:4px 14px 14px 14px; }
.msg-user .msg-bubble { background:var(--black); color:rgba(246,247,248,0.92); border-radius:14px 4px 14px 14px; }
.msg-sender { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; margin-bottom:4px; color:var(--gray4); }
.msg-coach .msg-sender { color:#FF3366; }
.chat-input-wrap { padding:12px; border-top:1px solid var(--border); }
.quick-row { display:flex; flex-direction:column; gap:4px; margin-bottom:8px; }
.quick-btn { background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm); padding:7px 11px; color:var(--gray5); font-size:11px; cursor:pointer; text-align:left; transition:all 0.15s; font-family:var(--inter); }
.quick-btn:hover { border-color:#FF3366; color:rgba(246,247,248,0.92); }
.input-row { display:flex; gap:8px; align-items:flex-end; }
.chat-textarea { flex:1; background:var(--gray1); border:1px solid var(--border); border-radius:var(--radius-sm); padding:9px 12px; color:rgba(246,247,248,0.92); font-family:var(--inter); font-size:13px; resize:none; min-height:38px; max-height:90px; outline:none; transition:border-color 0.15s; line-height:1.5; }
.chat-textarea:focus { border-color:#FF3366; background:var(--white); }
.chat-textarea::placeholder { color:var(--gray4); }
.send-btn { width:36px; height:36px; border-radius:var(--radius-sm); background:var(--black); border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all 0.15s; }
.send-btn:hover { background:#FF3366; }
.chat-hint { font-size:10px; color:var(--gray4); text-align:center; margin-top:6px; }

/* ── TABS ── */
.tab-row { display:flex; gap:6px; margin-bottom:16px; flex-wrap:wrap; }
.tab { padding:6px 14px; font-size:12px; font-weight:500; border-radius:20px; border:1px solid var(--border); background:var(--white); color:var(--gray5); cursor:pointer; transition:all 0.15s; }
.tab:hover { border-color:var(--gray3); color:rgba(246,247,248,0.92); }
.tab.active { background:var(--blue); border-color:var(--blue); color:rgba(246,247,248,0.92); }

/* ── SECTION DIVIDER ── */
.section-label { font-size:11px; font-weight:600; color:var(--gray4); text-transform:uppercase; letter-spacing:0.09em; margin-bottom:14px; display:flex; align-items:center; gap:8px; }
.section-label::after { content:''; flex:1; height:1px; background:var(--border); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width:4px; height:4px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:var(--gray3); border-radius:2px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.fade-up { animation:fadeUp 0.3s ease forwards; }

/* ── CALENDAR PAGE ── */
.cal-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-bottom:16px; }
.cal-nav { display:flex; align-items:center; gap:8px; }
.cal-nav-btn { width:32px; height:32px; border-radius:8px; border:1px solid var(--border); background:var(--white); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:all 0.15s; font-family:var(--inter); }
.cal-nav-btn:hover { background:var(--gray1); border-color:var(--gray3); }
.cal-period { font-family:var(--syne); font-size:18px; font-weight:800; color:rgba(246,247,248,0.92); padding:0 8px; min-width:200px; text-align:center; }
.cal-today-btn { padding:6px 12px; font-size:11px; font-weight:600; border:1px solid var(--border); background:var(--white); color:var(--gray5); border-radius:6px; cursor:pointer; font-family:var(--inter); }
.cal-today-btn:hover { background:var(--gray1); }

.cal-layout { display:grid; grid-template-columns:1fr 240px; gap:16px; }

.cal-grid { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; }
.cal-header-row { display:grid; grid-template-columns:60px repeat(7, 1fr); background:var(--gray1); border-bottom:1px solid var(--border); }
.cal-day-header { padding:10px 8px; font-size:10px; font-weight:700; color:var(--gray4); text-transform:uppercase; letter-spacing:0.07em; text-align:center; }
.cal-week-row { display:grid; grid-template-columns:60px repeat(7, 1fr); border-bottom:1px solid var(--border); min-height:90px; }
.cal-week-row:last-child { border-bottom:none; }
.cal-week-num { padding:8px; font-size:10px; color:var(--gray4); text-transform:uppercase; letter-spacing:0.07em; background:var(--gray1); border-right:1px solid var(--border); display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:3px; }
.cal-week-num-big { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); line-height:1; }
.cal-week-num-km { font-family:var(--syne); font-size:11px; font-weight:700; color:var(--blue); }
.cal-day { padding:6px 5px; border-right:1px solid var(--border); position:relative; cursor:pointer; transition:background 0.15s; min-height:90px; }
.cal-day:last-child { border-right:none; }
.cal-day:hover { background:var(--gray1); }
.cal-day.cal-today { background:rgba(255,51,102,0.04); }
.cal-day.cal-today .cal-day-num { color:var(--orange); font-weight:800; }
.cal-day.cal-future { opacity:0.4; }
.cal-day.cal-other-month { opacity:0.3; }
.cal-day-num { font-size:11px; color:var(--gray5); font-weight:600; margin-bottom:4px; }

.cal-act { display:block; padding:4px 6px; margin-bottom:3px; border-radius:5px; font-size:10px; font-weight:600; line-height:1.3; cursor:pointer; transition:all 0.15s; overflow:hidden; }
.cal-act:hover { transform:translateX(2px); box-shadow:0 2px 6px rgba(1,22,39,0.1); }
.cal-act-icon { display:inline-block; margin-right:3px; font-size:11px; }
.cal-act-dist { font-family:var(--syne); font-weight:800; }
.cal-act-easy { background:rgba(46,196,182,0.12); color:#1a8b80; }
.cal-act-recovery { background:rgba(46,196,182,0.18); color:#1a8b80; }
.cal-act-long { background:rgba(32,164,243,0.12); color:#0a7cc0; }
.cal-act-tempo { background:rgba(255,51,102,0.13); color:#cc1a47; }
.cal-act-threshold { background:rgba(255,51,102,0.18); color:#a01539; }
.cal-act-intervals { background:rgba(255,51,102,0.18); color:#a01539; }
.cal-act-fartlek { background:rgba(255,107,53,0.15); color:#b04a1a; }
.cal-act-progression { background:rgba(32,164,243,0.18); color:#0a7cc0; }
.cal-act-race { background:#011627; color:#fff; }
.cal-act-strides { background:rgba(255,51,102,0.15); color:#cc1a47; }
.cal-act-easy_swim, .cal-act-swim, .cal-act-long_swim { background:rgba(46,196,182,0.15); color:#1a8b80; }
.cal-act-endurance, .cal-act-climb, .cal-act-indoor { background:rgba(32,164,243,0.13); color:#0a7cc0; }

.cal-sidebar { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:14px; height:fit-content; position:sticky; top:0; }
.cal-side-title { font-size:10px; font-weight:700; color:var(--gray4); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:10px; }
.cal-side-stat { padding:10px 0; border-bottom:1px solid var(--border); }
.cal-side-stat:last-child { border-bottom:none; }
.cal-side-stat-label { font-size:11px; color:var(--gray4); margin-bottom:3px; }
.cal-side-stat-val { font-family:var(--syne); font-size:18px; font-weight:800; color:rgba(246,247,248,0.92); }
.cal-legend { margin-top:14px; padding-top:14px; border-top:1px solid var(--border); }
.cal-legend-item { display:flex; align-items:center; gap:7px; font-size:11px; color:var(--gray5); margin-bottom:4px; }
.cal-legend-dot { width:10px; height:10px; border-radius:3px; flex-shrink:0; }

/* ── ACTIVITY DETAIL MODAL ── */
.adm-overlay { position:fixed; inset:0; background:rgba(1,22,39,0.5); z-index:2000; display:flex; align-items:center; justify-content:center; backdrop-filter:blur(4px); animation:fadeUp 0.2s ease; }
.adm { background:var(--white); border-radius:18px; max-width:900px; width:92%; max-height:90vh; overflow-y:auto; box-shadow:0 24px 80px rgba(1,22,39,0.30); }
.adm-header { padding:24px 28px 16px; border-bottom:1px solid var(--warm-border); position:sticky; top:0; background:var(--white); z-index:5; }
.adm-tag { display:inline-block; padding:4px 10px; border-radius:20px; font-family:var(--syne); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:8px; }
.adm-title { font-family:var(--syne); font-size:26px; font-weight:900; color:rgba(246,247,248,0.92); letter-spacing:-0.025em; margin-bottom:4px; }
.adm-subtitle { font-size:13px; color:var(--gray4); }
.adm-close { position:absolute; top:20px; right:20px; width:32px; height:32px; border-radius:50%; background:var(--warm-snow); border:1px solid var(--warm-border); cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background 0.15s; }
.adm-close:hover { background:var(--warm-border); }
.adm-body { padding:24px 28px; }

.adm-stats { display:grid; grid-template-columns:repeat(4, 1fr); gap:10px; margin-bottom:20px; }
.adm-stat { background:var(--warm-snow); padding:12px; border-radius:8px; border:1px solid var(--warm-border); }
.adm-stat-lbl { font-family:var(--syne); font-size:9px; color:var(--gray4); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:5px; font-weight:800; }
.adm-stat-val { font-family:var(--syne); font-size:18px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; letter-spacing:-0.02em; }

.adm-feedback { background:rgba(32,164,243,0.05); border-left:3px solid var(--blue); padding:12px 14px; border-radius:8px; margin-bottom:20px; font-size:13px; color:var(--gray5); line-height:1.6; }

.adm-section-title { font-family:var(--syne); font-size:13px; font-weight:800; color:rgba(246,247,248,0.92); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:10px; }

.adm-map-wrap { background:var(--gray1); border-radius:8px; padding:16px; margin-bottom:20px; }
.adm-map-wrap svg { width:100%; height:auto; max-height:240px; }
.adm-avg-hides { background:rgba(255,51,102,0.05); border:1px solid rgba(255,51,102,0.18); border-left:3px solid var(--orange); border-radius:0 var(--radius-sm) var(--radius-sm) 0; padding:12px 14px; margin-bottom:20px; }
.adm-avg-hides-head { font-size:10px; font-weight:800; color:var(--orange); text-transform:uppercase; letter-spacing:0.08em; display:flex; align-items:center; gap:5px; margin-bottom:6px; }
.adm-avg-hides-body { font-size:12px; color:var(--gray5); line-height:1.6; }

.adm-splits { width:100%; border-collapse:collapse; }
.adm-splits th { font-size:10px; font-weight:700; color:var(--gray4); text-transform:uppercase; letter-spacing:0.07em; padding:8px 10px; text-align:left; border-bottom:1px solid var(--border); }
.adm-splits td { padding:9px 10px; font-size:13px; color:var(--gray5); border-bottom:1px solid var(--border); }
.adm-splits tr:last-child td { border-bottom:none; }
.adm-splits .pace-fast { color:var(--orange); font-weight:600; }
.adm-splits .pace-slow { color:var(--gray4); }
.adm-pace-bar { display:inline-block; height:6px; border-radius:3px; vertical-align:middle; margin-left:6px; background:linear-gradient(90deg, var(--blue), var(--orange)); }

.adm-laps { width:100%; border-collapse:collapse; margin-bottom:16px; }
.adm-laps th, .adm-laps td { padding:8px 10px; font-size:12px; border-bottom:1px solid var(--border); }
.adm-laps th { font-size:10px; font-weight:700; color:var(--gray4); text-transform:uppercase; letter-spacing:0.07em; text-align:left; }
.adm-laps td { color:var(--gray5); }
.adm-lap-fast { background:rgba(255,51,102,0.04); }

.adm-chart-wrap { background:var(--gray1); border-radius:8px; padding:14px; margin-bottom:20px; height:200px; }

/* ════════════════════════════════════════════════════════════════════
   NEW PREMIUM COMPONENTS — added in May 2026 redesign pass
   ════════════════════════════════════════════════════════════════════ */

/* Race widget — days-only countdown */
.race-num-hero .race-num-val { font-size:38px; color:rgba(246,247,248,0.92); }
.race-num-hero .race-num-label { font-size:10px; }
.race-countdown-days { justify-content:flex-start; margin-bottom:12px; }
.race-meta { font-size:10px; color:var(--gray4); margin-top:8px; letter-spacing:0.04em; }

/* Athlete profile strip — ink dark hero treatment */
.athlete-strip {
  background: var(--ink);
  border: none;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.athlete-strip::after {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,51,102,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.athlete-strip-left { display:flex; align-items:center; gap:14px; position:relative; z-index:1; }
.athlete-strip-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--fuchsia); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--syne); font-size: 16px; font-weight: 900;
  box-shadow: 0 0 0 3px rgba(255,51,102,0.3);
}
.athlete-strip-name { font-family:var(--syne); font-size:20px; font-weight:900; color:rgba(246,247,248,0.92); margin-bottom:7px; letter-spacing:-0.02em; }
.athlete-strip-meta { display:flex; gap:6px; flex-wrap:wrap; }
.athlete-tag {
  font-family:var(--syne); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em;
  padding:3px 9px; border-radius:20px; background:rgba(246,247,248,0.1); border:1px solid rgba(246,247,248,0.15); color:rgba(246,247,248,0.7);
}
.athlete-tag-run { background:rgba(255,51,102,0.2); color:rgba(255,100,130,0.95); border-color:rgba(255,51,102,0.3); }
.athlete-tag-bike { background:rgba(32,164,243,0.15); color:rgba(100,190,255,0.95); border-color:rgba(32,164,243,0.25); }
.athlete-tag-swim { background:rgba(46,196,182,0.15); color:rgba(80,220,200,0.95); border-color:rgba(46,196,182,0.25); }
.athlete-tag-tri { background:rgba(246,247,248,0.12); color:rgba(246,247,248,0.85); border-color:rgba(246,247,248,0.2); }

.athlete-strip-races { position:relative; z-index:1; }
.athlete-strip-races-label { font-family:var(--syne); font-size:9px; font-weight:800; color:rgba(246,247,248,0.35); text-transform:uppercase; letter-spacing:0.12em; margin-bottom:8px; }
.athlete-strip-races-list { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.athlete-race-chip {
  display:flex; align-items:center; gap:6px;
  background:rgba(246,247,248,0.07); border:1px solid rgba(246,247,248,0.14); border-radius:20px;
  padding:6px 12px; font-size:12px; font-weight:600; color:rgba(246,247,248,0.8);
}
.athlete-race-chip-dot { width:6px; height:6px; border-radius:50%; background:rgba(246,247,248,0.3); }
.athlete-race-chip-primary { border-color:rgba(255,51,102,0.4); background:rgba(255,51,102,0.12); }
.athlete-race-chip-primary .athlete-race-chip-dot { background:var(--fuchsia); animation:pulse-dot 2s infinite; }
.athlete-race-chip-when { font-size:11px; color:rgba(246,247,248,0.45); font-weight:500; margin-left:4px; }
.athlete-add-race-btn {
  background:rgba(246,247,248,0.1); color:rgba(246,247,248,0.75); border:1px solid rgba(246,247,248,0.18); border-radius:20px;
  padding:7px 14px; font-family:var(--syne); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; cursor:pointer;
  transition:all 0.15s;
}
.athlete-add-race-btn:hover { background:var(--fuchsia); color:rgba(246,247,248,0.92); border-color:var(--fuchsia); }

/* Premium metric cards */
.metrics-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; margin-bottom:28px; }
@media (max-width: 1100px) { .metrics-grid { grid-template-columns:repeat(2, minmax(0,1fr)); } }
.metric-card {
  background:var(--white);
  border:1px solid var(--warm-border);
  border-radius:var(--radius);
  padding:20px;
  display:flex; flex-direction:column; gap:10px;
  transition:all 0.2s;
}
.metric-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.metric-card-status { background:linear-gradient(135deg, rgba(255,51,102,0.04) 0%, rgba(32,164,243,0.03) 100%); border-color:rgba(255,51,102,0.18); }
.metric-card-head { display:flex; align-items:center; justify-content:space-between; }
.metric-card-label { font-family:var(--syne); font-size:9px; font-weight:800; color:var(--gray4); text-transform:uppercase; letter-spacing:0.12em; }
.metric-pill { font-family:var(--syne); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; padding:3px 9px; border-radius:20px; }
.metric-pill-productive { background:var(--fuchsia); color:rgba(246,247,248,0.92); }
.metric-pill-up { background:rgba(46,196,182,0.12); color:#1a9e6e; }
.metric-pill-balanced { background:rgba(32,164,243,0.10); color:var(--blue); }
.metric-card-headline { font-family:var(--syne); font-size:32px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; letter-spacing:-0.03em; }
.metric-card-unit { font-size:13px; font-weight:600; color:var(--gray4); margin-left:4px; }
.metric-card-sub { font-size:11px; color:var(--gray5); line-height:1.6; }
.metric-card-bar { height:5px; background:var(--warm-border); border-radius:6px; overflow:hidden; position:relative; margin-top:2px; }
.metric-card-bar-thin { height:3px; }
.metric-card-bar-fill { height:100%; background:linear-gradient(90deg, var(--fuchsia), var(--blue)); border-radius:6px; transition:width 0.6s ease; }
.metric-card-bar-marks { display:flex; justify-content:space-between; font-size:9px; color:var(--gray4); margin-top:6px; text-transform:uppercase; letter-spacing:0.06em; }
.metric-card-spark { margin-top:auto; }
.metric-card-microsplit { display:flex; justify-content:space-between; font-size:10px; color:var(--gray5); padding-top:8px; border-top:1px solid var(--warm-border); }
.metric-card-microsplit strong { color:rgba(246,247,248,0.92); font-weight:700; }

/* HR zones bar */
.hr-zones-bar { display:flex; height:14px; border-radius:20px; overflow:hidden; background:var(--gray2); }
.hr-zone { height:100%; transition:flex 0.3s; }
.hr-z1 { background:#A8DAD1; } .hr-z2 { background:#2EC4B6; } .hr-z3 { background:#20A4F3; } .hr-z4 { background:#FF7A99; } .hr-z5 { background:#FF3366; }
.hr-zones-legend { display:flex; gap:8px; flex-wrap:wrap; font-size:9px; color:var(--gray5); }
.hr-zones-legend span { display:flex; align-items:center; gap:3px; }
.hr-zones-legend i { width:8px; height:8px; border-radius:2px; display:inline-block; }

/* Coach card */
/* Coach card — cinematic dark panel (matches slide 7 aesthetic) */
.coach-card {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--fuchsia);
  box-shadow: var(--shadow-md);
}
.coach-card::after {
  content: '';
  position: absolute;
  top: -60px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,51,102,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.coach-card-side {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px 0;
  position: relative; z-index: 1;
}
.coach-avatar { width:36px; height:36px; border-radius:50%; box-shadow:0 0 0 2px rgba(255,51,102,0.4); }
.coach-card-meta { }
.coach-card-name { font-family:var(--syne); font-size:11px; font-weight:800; color:rgba(246,247,248,0.9); text-transform:uppercase; letter-spacing:0.08em; }
.coach-card-sub { font-size:9px; color:rgba(246,247,248,0.38); margin-top:2px; letter-spacing:0.04em; }
.coach-card-body { color:rgba(246,247,248,0.92); position:relative; z-index:1; padding:14px 22px 20px; }
.coach-card-quote {
  font-size:14px;
  line-height:1.75;
  color:rgba(246,247,248,0.88);
  margin-bottom:16px;
  font-style: italic;
}
.coach-card-quote strong { color:var(--fuchsia); font-weight:700; font-style:normal; }
.coach-card-foot { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.coach-card-tag { font-family:var(--syne); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em; padding:4px 10px; border-radius:20px; background:rgba(246,247,248,0.07); color:rgba(246,247,248,0.55); border:1px solid rgba(246,247,248,0.1); }
.coach-card-cta { margin-left:auto; background:var(--fuchsia); color:rgba(246,247,248,0.92); border:none; padding:7px 16px; border-radius:20px; font-family:var(--syne); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; cursor:pointer; transition:all 0.15s; }
.coach-card-cta:hover { background:var(--white); color:var(--fuchsia); }

.coach-mini { display:flex; align-items:center; gap:8px; padding:7px 14px; background:rgba(46,196,182,0.08); border:1px solid rgba(46,196,182,0.25); border-radius:20px; cursor:pointer; transition:all 0.15s; }
.coach-mini:hover { background:rgba(46,196,182,0.16); transform:translateY(-1px); }
.coach-mini-dot { width:7px; height:7px; border-radius:50%; background:#2EC4B6; animation:pulse-dot 2s infinite; }
.coach-mini-text { font-size:11px; color:#2EC4B6; }
.coach-mini-text strong { color:#2EC4B6; font-weight:800; }

/* Form education panels */
.form-edu { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; margin-top:18px; }
.form-edu-block { background:var(--gray1); border-radius:var(--radius-sm); padding:14px; border-top:3px solid var(--gray3); }
.form-edu-block:nth-child(1) { border-top-color:var(--blue); }
.form-edu-block:nth-child(2) { border-top-color:var(--orange); }
.form-edu-block:nth-child(3) { border-top-color:#2EC4B6; }
.form-edu-num { font-family:var(--syne); font-size:24px; font-weight:900; line-height:1; }
.form-edu-label { font-size:10px; font-weight:700; color:var(--gray4); text-transform:uppercase; letter-spacing:0.07em; margin-top:6px; }
.form-edu-body { font-size:12px; color:var(--gray5); line-height:1.6; margin-top:8px; }

/* Period toggle */
.period-toggle { display:inline-flex; background:var(--gray1); border:1px solid var(--border); border-radius:20px; padding:3px; gap:2px; }
.period-btn { padding:5px 12px; font-size:11px; font-weight:600; border-radius:20px; border:none; background:transparent; color:var(--gray5); cursor:pointer; font-family:var(--inter); transition:all 0.15s; }
.period-btn:hover { color:rgba(246,247,248,0.92); }
.period-btn-active { background:var(--black); color:rgba(246,247,248,0.92); }

/* Readiness pill on Road to Amsterdam */
.readiness-pill { background:linear-gradient(135deg, var(--orange), #FF7A99); color:rgba(246,247,248,0.92); border-radius:14px; padding:14px 20px; text-align:center; min-width:160px; box-shadow:0 4px 14px rgba(255,51,102,0.25); }
.readiness-pill-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:0.07em; opacity:0.85; }
.readiness-pill-val { font-family:var(--syne); font-size:32px; font-weight:900; line-height:1.05; margin:4px 0; }
.readiness-pill-trend { font-size:10px; opacity:0.8; }

/* Road progress */
.road-progress { margin-bottom:20px; }
.road-progress-track { position:relative; height:8px; background:var(--gray2); border-radius:6px; }
.road-progress-fill { position:absolute; left:0; top:0; height:100%; background:linear-gradient(90deg, var(--blue), var(--orange)); border-radius:6px; transition:width 0.8s ease; }
.road-progress-cursor { position:absolute; top:-5px; transform:translateX(-50%); }
.road-progress-cursor::before { content:''; display:block; width:18px; height:18px; border-radius:50%; background:var(--orange); border:3px solid var(--white); box-shadow:0 0 0 1px var(--orange), 0 4px 10px rgba(255,51,102,0.4); }
.road-progress-cursor-label { position:absolute; top:-26px; left:50%; transform:translateX(-50%); font-size:10px; font-weight:700; color:var(--orange); white-space:nowrap; }
.road-progress-flag { position:absolute; top:-5px; transform:translateX(-100%); }
.road-progress-flag::before { content:'🏁'; font-size:14px; line-height:18px; }
.road-progress-flag-label { position:absolute; top:-26px; right:0; font-size:10px; font-weight:700; color:rgba(246,247,248,0.92); white-space:nowrap; }
.road-progress-marks { display:flex; justify-content:space-between; margin-top:14px; font-size:10px; color:var(--gray4); }

/* Road gaps (improvements list) */
.road-gaps { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:10px; margin-top:8px; }
.road-gap { display:flex; align-items:flex-start; gap:12px; padding:14px; border-radius:var(--radius-sm); border:1px solid var(--border); }
.road-gap-on { background:rgba(46,196,182,0.05); border-color:rgba(46,196,182,0.2); }
.road-gap-watch { background:rgba(255,51,102,0.04); border-color:rgba(255,51,102,0.2); }
.road-gap-icon { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:12px; flex-shrink:0; }
.road-gap-on .road-gap-icon { background:#2EC4B6; color:rgba(246,247,248,0.92); }
.road-gap-watch .road-gap-icon { background:var(--orange); color:rgba(246,247,248,0.92); }
.road-gap-title { font-family:var(--syne); font-size:13px; font-weight:800; color:rgba(246,247,248,0.92); margin-bottom:3px; }
.road-gap-body { font-size:11px; color:var(--gray5); line-height:1.55; }

/* Wellness grid (Garmin) */
.wellness-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:10px; margin-bottom:24px; }
.wellness-card { background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius); padding:16px; transition:all 0.2s; }
.wellness-card:hover { box-shadow:var(--shadow-md); transform:translateY(-1px); }
.wellness-card-icon { width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.wellness-card-label { font-size:10px; font-weight:700; color:var(--gray4); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:4px; }
.wellness-card-val { font-family:var(--syne); font-size:24px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; }
.wellness-card-unit { font-size:11px; font-weight:600; color:var(--gray4); margin-left:3px; }
.wellness-card-sub { font-size:11px; color:var(--gray5); margin-top:6px; }
.wellness-delta { font-size:10px; font-weight:600; margin-left:6px; vertical-align:middle; }
.wellness-narrative { font-size:13px; color:var(--gray5); line-height:1.65; padding:12px 14px; background:rgba(46,196,182,0.06); border-left:3px solid #2EC4B6; border-radius:0 var(--radius-sm) var(--radius-sm) 0; margin-bottom:14px; }

/* Today's session block — Overview */
.today-session-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:14px 16px; }
.today-session-meta { display:flex; align-items:center; gap:10px; margin-bottom:5px; }
.today-session-label { font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.1em; }
.today-session-dist { font-size:11px; font-weight:600; color:var(--gray4); background:var(--gray1); border-radius:4px; padding:1px 7px; }
.today-session-name { font-family:var(--syne); font-size:15px; font-weight:800; color:rgba(246,247,248,0.92); margin-bottom:5px; }
.today-session-why { font-size:12px; color:var(--gray5); line-height:1.6; font-style:italic; margin-bottom:8px; }
.today-session-link { font-size:11px; font-weight:600; color:var(--orange); text-decoration:none; }
.today-session-link:hover { text-decoration:underline; }

/* Coach message card — This Week */
.tw3-coach-message-card { background:rgba(255,51,102,0.04); border:1px solid rgba(255,51,102,0.15); border-left:3px solid var(--orange); border-radius:var(--radius); padding:16px 18px; margin-bottom:16px; }
.tw3-coach-message-label { font-size:10px; font-weight:800; color:var(--orange); text-transform:uppercase; letter-spacing:0.08em; display:flex; align-items:center; gap:6px; margin-bottom:10px; }
.tw3-coach-message-body { font-size:13px; color:var(--gray5); line-height:1.7; }
.tw3-coach-message-body p { margin:0 0 8px; }
.tw3-coach-message-body p:last-child { margin-bottom:0; }

/* PR hero */
.pr-hero {
  position:relative; overflow:hidden;
  background:linear-gradient(135deg, #011627 0%, #1a3454 100%);
  color:rgba(246,247,248,0.92);
  border-radius:var(--radius);
  margin-bottom:28px;
  display:grid; grid-template-columns:1fr;
}
.pr-hero-banner { height:8px; background:linear-gradient(90deg, var(--orange), var(--blue), #2EC4B6); }
.pr-hero-body { padding:24px 28px; position:relative; z-index:1; }
.pr-hero::after { content:'🏆'; position:absolute; top:50%; right:-10px; transform:translateY(-50%) rotate(-12deg); font-size:200px; opacity:0.05; pointer-events:none; }
.pr-hero-tag { display:inline-flex; align-items:center; gap:7px; background:rgba(255,51,102,0.15); color:var(--orange); padding:5px 12px; border-radius:20px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:14px; }
.pr-hero-tag-dot { width:6px; height:6px; border-radius:50%; background:var(--orange); animation:pulse-dot 2s infinite; }
.pr-hero-title { font-family:var(--syne); font-size:36px; font-weight:900; line-height:1.05; letter-spacing:-0.02em; margin-bottom:6px; }
.pr-hero-meta { font-size:13px; color:rgba(255,255,255,0.65); margin-bottom:20px; }
.pr-hero-splits { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin-bottom:18px; max-width:520px; }
.pr-hero-split { background:rgba(255,255,255,0.06); border-radius:var(--radius-sm); padding:12px; border:1px solid rgba(255,255,255,0.08); }
.pr-hero-split-num { font-family:var(--syne); font-size:18px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; }
.pr-hero-split-lab { font-size:10px; color:rgba(255,255,255,0.5); text-transform:uppercase; letter-spacing:0.06em; margin-top:4px; }
.pr-hero-split-best { background:rgba(255,51,102,0.18); border-color:rgba(255,51,102,0.4); }
.pr-hero-split-best .pr-hero-split-num { color:var(--orange); }
.pr-hero-coach { font-size:13px; color:rgba(255,255,255,0.85); line-height:1.7; max-width:560px; padding-left:14px; border-left:3px solid var(--orange); }
.pr-hero-coach strong { color:var(--orange); }

/* PR rich card carousel */
.pr-carousel { display:flex; gap:12px; overflow-x:auto; padding-bottom:10px; scroll-snap-type:x mandatory; margin-bottom:24px; }
.pr-rich-card {
  flex:0 0 248px; scroll-snap-align:start;
  background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius);
  padding:18px;
  display:flex; flex-direction:column; gap:8px;
  transition:all 0.2s;
  position:relative;
}
.pr-rich-card:hover { box-shadow:var(--shadow-md); transform:translateY(-2px); }
.pr-rich-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; border-radius:var(--radius) var(--radius) 0 0; background:var(--warm-border); }
.pr-rich-run::before { background:var(--fuchsia); }
.pr-rich-bike::before { background:var(--blue); }
.pr-rich-swim::before { background:var(--teal); }
.pr-rich-warning::before { background:var(--fuchsia); }
.pr-rich-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:4px; }
.pr-rich-distance { font-family:var(--syne); font-size:13px; font-weight:800; color:rgba(246,247,248,0.92); }
.pr-rich-pill { font-family:var(--syne); font-size:9px; font-weight:800; padding:3px 8px; border-radius:20px; text-transform:uppercase; letter-spacing:0.08em; }
.pr-rich-pill-run { background:rgba(255,51,102,0.1); color:var(--fuchsia); }
.pr-rich-pill-bike { background:rgba(32,164,243,0.1); color:var(--blue); }
.pr-rich-pill-swim { background:rgba(46,196,182,0.1); color:var(--teal); }
.pr-rich-pill-trail { background:rgba(90,90,90,0.08); color:var(--gray5); }
.pr-rich-pill-podium { background:var(--fuchsia); color:rgba(246,247,248,0.92); }
.pr-rich-time { font-family:var(--syne); font-size:32px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; letter-spacing:-0.03em; }
.pr-rich-unit { font-size:14px; font-weight:600; color:var(--gray4); }
.pr-rich-pace { font-size:12px; font-weight:600; color:var(--gray5); }
.pr-rich-context { font-size:12px; color:rgba(246,247,248,0.92); font-style:italic; padding:8px 0; border-top:1px solid var(--warm-border); border-bottom:1px solid var(--warm-border); margin:4px 0; }
.pr-rich-meta { font-size:10px; color:var(--gray4); }
.pr-rich-splits { display:flex; flex-wrap:wrap; gap:5px; margin-top:8px; }
.pr-rich-splits span { font-family:var(--syne); font-size:10px; font-weight:800; padding:3px 7px; background:var(--warm-snow); border-radius:6px; color:var(--gray5); }
.pr-rich-splits .pr-rich-best { background:var(--fuchsia); color:rgba(246,247,248,0.92); }
.pr-rich-summary { background:var(--warm-snow); border-color:var(--warm-border); }
.pr-rich-warning { background:rgba(255,51,102,0.03); border-color:rgba(255,51,102,0.18); }

/* Race Hero (Race Plans) */
.race-hero {
  background:linear-gradient(135deg, var(--orange) 0%, #B82649 100%);
  border-radius:var(--radius); padding:24px 28px; color:rgba(246,247,248,0.92); margin-bottom:24px;
  position:relative; overflow:hidden;
}
.race-hero::before { content:''; position:absolute; right:-50px; top:-50px; width:240px; height:240px; border-radius:50%; background:rgba(255,255,255,0.06); }
.race-hero::after { content:''; position:absolute; right:30px; bottom:-80px; width:180px; height:180px; border-radius:50%; background:rgba(255,255,255,0.04); }
.race-hero-tag { display:inline-flex; align-items:center; gap:7px; background:rgba(255,255,255,0.15); padding:5px 12px; border-radius:20px; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:16px; position:relative; z-index:1; }
.race-hero-tag-dot { width:6px; height:6px; border-radius:50%; background:var(--white); animation:pulse-dot 2s infinite; }
.race-hero-grid { display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center; position:relative; z-index:1; }
.race-hero-title { font-family:var(--syne); font-size:38px; font-weight:900; line-height:1.05; letter-spacing:-0.02em; margin-bottom:6px; }
.race-hero-meta { font-size:13px; color:rgba(255,255,255,0.78); margin-bottom:20px; }
.race-hero-stats { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:14px; max-width:480px; }
.race-hero-stats > div { background:rgba(255,255,255,0.1); padding:10px 12px; border-radius:var(--radius-sm); }
.rh-stat-num { font-family:var(--syne); font-size:22px; font-weight:900; line-height:1; }
.rh-stat-lab { font-size:10px; color:rgba(255,255,255,0.65); text-transform:uppercase; letter-spacing:0.06em; margin-top:4px; }
.race-hero-actions { display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.race-hero-readiness { background:var(--white); color:rgba(246,247,248,0.92); padding:14px 18px; border-radius:14px; text-align:center; min-width:160px; box-shadow:0 6px 20px rgba(0,0,0,0.15); }
.rh-readiness-num { font-family:var(--syne); font-size:34px; font-weight:900; color:var(--orange); line-height:1; }
.rh-readiness-lab { font-size:10px; color:var(--gray5); text-transform:uppercase; letter-spacing:0.06em; margin-top:4px; }
.race-hero-btn { background:var(--white); color:rgba(246,247,248,0.92); border:none; padding:9px 18px; border-radius:20px; font-size:12px; font-weight:700; cursor:pointer; font-family:var(--inter); transition:all 0.15s; }
.race-hero-btn:hover { background:var(--black); color:rgba(246,247,248,0.92); }
.race-hero-btn-ghost { background:transparent; color:rgba(246,247,248,0.92); border:1px solid rgba(255,255,255,0.4); }
.race-hero-btn-ghost:hover { background:rgba(255,255,255,0.1); color:rgba(246,247,248,0.92); }

/* Race row stack */
.races-stack { display:flex; flex-direction:column; gap:8px; margin-bottom:24px; }
.race-row { display:flex; align-items:center; gap:16px; background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius-sm); padding:14px 18px; transition:all 0.15s; cursor:default; }
.race-row:hover { border-color:var(--gray3); box-shadow:var(--shadow); }
.race-row-primary-row { border-color:rgba(255,51,102,0.25); background:rgba(255,51,102,0.03); }
.race-row-date { text-align:center; min-width:48px; padding:4px 0; border-right:1px solid var(--warm-border); padding-right:14px; }
.race-row-month { font-size:10px; font-weight:800; color:var(--gray4); text-transform:uppercase; letter-spacing:0.08em; }
.race-row-day { font-family:var(--syne); font-size:24px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; }
.race-row-body { flex:1; }
.race-row-name { font-family:var(--syne); font-size:15px; font-weight:800; color:rgba(246,247,248,0.92); margin-bottom:3px; }
.race-row-meta { font-size:12px; color:var(--gray5); }
.race-row-tag { font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.07em; padding:5px 11px; border-radius:20px; }
.race-row-tag-primary { background:var(--orange); color:rgba(246,247,248,0.92); }
.race-row-tag-secondary { background:var(--gray2); color:var(--gray5); }

.add-race-card {
  display:flex; align-items:center; gap:16px;
  background:var(--gray1); border:2px dashed var(--gray3); border-radius:var(--radius);
  padding:20px; margin-bottom:24px; transition:all 0.15s;
}
.add-race-card:hover { border-color:var(--orange); background:rgba(255,51,102,0.03); }
.add-race-card-icon { width:44px; height:44px; border-radius:50%; background:var(--white); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:24px; color:var(--orange); font-weight:300; }
.add-race-card-title { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); margin-bottom:3px; }
.add-race-card-sub { font-size:12px; color:var(--gray5); }
.add-race-card-btn { margin-left:auto; background:var(--black); color:rgba(246,247,248,0.92); border:none; padding:9px 18px; border-radius:20px; font-size:12px; font-weight:700; cursor:pointer; font-family:var(--inter); }
.add-race-card-btn:hover { background:var(--orange); }

.future-ideas { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; margin-bottom:24px; }
.future-idea-card { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:16px; transition:all 0.15s; }
.future-idea-card:hover { box-shadow:var(--shadow-md); transform:translateY(-1px); }
.fi-card-icon { width:42px; height:24px; padding:0 10px; border-radius:6px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; margin-bottom:10px; }
.fi-card-title { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); margin-bottom:5px; }
.fi-card-body { font-size:12px; color:var(--gray5); line-height:1.6; }

/* Discipline tabs */
.discipline-tabs { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; margin-bottom:18px; }
.disc-tab {
  background:var(--white); border:1.5px solid var(--border); border-radius:var(--radius);
  padding:14px 16px; cursor:pointer; text-align:left; font-family:var(--inter);
  display:flex; align-items:center; gap:14px; transition:all 0.2s;
}
.disc-tab:hover { border-color:var(--gray3); box-shadow:var(--shadow); }
.disc-tab-active { border-color:rgba(246,247,248,0.92); background:linear-gradient(135deg, var(--white), var(--gray1)); }
.disc-tab-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.disc-tab-dot-run { background:var(--orange); box-shadow:0 0 0 3px rgba(255,51,102,0.2); }
.disc-tab-dot-bike { background:var(--blue); box-shadow:0 0 0 3px rgba(32,164,243,0.2); }
.disc-tab-dot-swim { background:#2EC4B6; box-shadow:0 0 0 3px rgba(46,196,182,0.2); }
.disc-tab-name { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); margin-bottom:2px; }
.disc-tab-stat { font-size:11px; color:var(--gray4); }

/* Discipline heatmap */
.discipline-heatmap { background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:18px; margin-bottom:18px; }
.discipline-heatmap-head { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.dh-title { font-family:var(--syne); font-size:14px; font-weight:800; color:rgba(246,247,248,0.92); }
.dh-sub { font-size:11px; color:var(--gray4); margin-top:2px; }
.dh-legend { display:flex; align-items:center; gap:4px; font-size:10px; color:var(--gray4); }
.dh-sq { width:11px; height:11px; border-radius:2px; }
.dh-sq-0 { background:var(--gray2); }
.dh-sq-1 { background:rgba(255,51,102,0.18); }
.dh-sq-2 { background:rgba(255,51,102,0.4); }
.dh-sq-3 { background:rgba(255,51,102,0.65); }
.dh-sq-4 { background:var(--orange); }
.dh-grid { display:grid; grid-template-columns:repeat(13, 1fr); gap:3px; }
.dh-grid > div { aspect-ratio:1; border-radius:2px; }
.disc-section { display:none; }
.disc-section-active { display:block; }

/* ── COACH FEEDBACK (modal) ── */
.adm-feedback-slot { margin-bottom:24px; }
.adm-feedback-loading {
  display:flex; align-items:center; gap:10px;
  padding:14px 16px; background:var(--gray1); border-radius:10px;
  font-size:13px; color:var(--gray4);
}
.adm-feedback-spinner {
  width:14px; height:14px; border-radius:50%;
  border:2px solid var(--gray3); border-top-color:var(--orange);
  animation:adm-spin 0.8s linear infinite;
  display:inline-block;
}
@keyframes adm-spin { to { transform:rotate(360deg); } }

.adm-feedback-muted { color:var(--gray4); font-style:italic; }

.coach-insight-prose {
  font-family:var(--inter);
  font-size:16px;
  line-height:1.7;
  color:rgba(246,247,248,0.92);
  max-width:640px;
  margin-bottom:18px;
}
.coach-insight-prose p { margin-bottom:14px; }
.coach-insight-prose p:last-child { margin-bottom:0; }

.coach-breakdown {
  background:var(--gray1);
  border-radius:12px;
  padding:0 16px;
  margin-bottom:14px;
  border:1px solid var(--border);
}
.coach-breakdown summary {
  cursor:pointer; font-family:var(--syne);
  font-size:12px; font-weight:800; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--gray5); padding:14px 0; user-select:none;
  list-style:none;
}
.coach-breakdown summary::-webkit-details-marker { display:none; }
.coach-breakdown summary::before {
  content:'+'; display:inline-block; width:14px;
  font-size:14px; color:var(--orange); font-weight:700;
  margin-right:6px;
}
.coach-breakdown[open] summary::before { content:'−'; }
.coach-breakdown-body { padding:4px 0 16px; }
.coach-breakdown-item { margin-bottom:14px; }
.coach-breakdown-item:last-child { margin-bottom:0; }
.coach-breakdown-label {
  font-family:var(--syne); font-size:10px; font-weight:800;
  letter-spacing:0.07em; text-transform:uppercase;
  color:var(--orange); margin-bottom:4px;
}
.coach-breakdown-text { font-size:13px; color:var(--gray5); line-height:1.6; }

.coach-source-chip {
  display:inline-block; padding:5px 10px; border-radius:20px;
  font-family:var(--inter); font-size:11px; font-weight:500;
}
.coach-source-chip-llm {
  background:rgba(46,196,182,0.12); color:#1a9b8f;
}
.coach-source-chip-template {
  background:var(--gray2); color:var(--gray4); font-size:10px;
}



/* ── Shared utility ── */
.tw-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray4);
  margin-bottom: 6px;
}
.tw-eyebrow-dark { color: var(--gray4); }
.tw-source-chip {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 99px;
  background: var(--gray1);
  color: var(--gray4);
}
.tw-source-chip-llm { background:rgba(46,196,182,0.12); color:#1a9b8f; }
.tw-source-chip-template { background:var(--gray2); color:var(--gray4); font-size:10px; }


#tw3-feedback-card, .tw3-feedback-card {
  background: linear-gradient(180deg, var(--white) 0%, var(--gray1) 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 30px; margin-bottom: 24px;
}
.tw3-feedback-question {
  font-family: var(--syne); font-weight: 900; font-size: 16px;
  color: var(--black); letter-spacing: -0.01em; margin-bottom: 14px;
}
.tw3-feel-pills {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.tw3-feel-pill {
  flex: 0 1 auto; padding: 10px 18px; border-radius: 999px;
  border: 1.5px solid var(--border); background: var(--white);
  font-family: var(--syne); font-weight: 800; font-size: 13px;
  color: var(--black); cursor: pointer;
  transition: all 0.15s ease;
}
.tw3-feel-pill:hover { border-color: var(--gray4); transform: translateY(-1px); }
.tw3-feel-pill-selected {
  background: var(--orange); border-color: var(--orange); color: var(--white);
  box-shadow: 0 4px 14px rgba(255,51,102,0.30);
}
.tw3-feel-pill-warn {
  border-color: rgba(255,51,102,0.40); color: var(--orange);
  background: rgba(255,51,102,0.06);
}
.tw3-feel-pill-warn.tw3-feel-pill-selected {
  background: var(--orange); color: var(--white);
}
.tw3-feedback-textarea, #tw3-feedback-notes {
  width: 100%; min-height: 90px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--inter); font-size: 14px; line-height: 1.55;
  color: var(--black); background: var(--white);
  resize: vertical; outline: none;
  transition: border-color 0.15s ease;
}
.tw3-feedback-textarea:focus, #tw3-feedback-notes:focus { border-color: var(--orange); }
.tw3-feedback-submit, #tw3-feedback-submit {
  margin-top: 14px; padding: 12px 22px; border-radius: 999px;
  border: none; background: var(--black); color: var(--white);
  font-family: var(--syne); font-weight: 800; font-size: 13px;
  letter-spacing: 0.04em; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tw3-feedback-submit:hover, #tw3-feedback-submit:hover {
  background: var(--orange); transform: translateY(-1px);
}
.tw3-feedback-submit:disabled, #tw3-feedback-submit:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none;
}
.tw3-feedback-error, #tw3-feedback-error {
  margin-top: 10px; padding: 10px 12px;
  background: rgba(255,51,102,0.08); border: 1px solid rgba(255,51,102,0.30);
  border-radius: 8px; color: var(--orange); font-size: 12px;
}
.tw3-feedback-confirm, #tw3-feedback-confirm {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; background: rgba(46,196,182,0.10);
  border: 1px solid rgba(46,196,182,0.30); border-radius: 12px;
}
.tw3-feedback-confirm-icon {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  background: #2EC4B6; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
}
.tw3-feedback-confirm-title {
  font-family: var(--syne); font-weight: 800; font-size: 14px; color: #1a9b8f;
}
.tw3-feedback-confirm-body {
  font-family: var(--inter); font-size: 13px; color: var(--gray5);
  margin-top: 2px; line-height: 1.5;
}


.tw3-accordion {
  background: var(--white);
  border: 1.5px solid var(--gray2);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}
.tw3-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--inter);
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}
.tw3-accordion-toggle:hover { background: var(--gray1); }
.tw3-accordion-toggle-label { font-weight: 700; }
.tw3-accordion-toggle-sub {
  font-size: 12px;
  color: var(--gray4);
  font-weight: 400;
}
.tw3-accordion-toggle-stats {
  font-size: 12px;
  color: var(--blue2);
  font-weight: 600;
  margin-left: auto;
  margin-right: 4px;
}

/* ── THIS WEEK v6 — Performance panel + 3-col comparison ── */

/* ── Performance Panel ── */
/* ═══ PERF PANEL — dramatic redesign ════════════════════════════════ */
.tw3-perf-panel {
  background: linear-gradient(150deg, #0f2035 0%, #011627 55%);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}
.tw3-perf-panel::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,51,102,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.tw3-perf-panel::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 20px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,196,182,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Top grid */
.tw3-perf-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Hero cell — Volume */
.tw3-pt-hero {
  padding: 24px 26px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.tw3-pt-lbl {
  font-family: var(--syne);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  display: block;
  margin-bottom: 6px;
}
.tw3-pt-val {
  font-family: var(--syne);
  font-size: 56px;
  font-weight: 900;
  color: rgba(246,247,248,0.95);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0 0 2px;
}
.tw3-pt-unit {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,0.38);
  margin-left: 2px;
}
.tw3-pt-bar {
  height: 4px;
  background: rgba(255,255,255,0.09);
  border-radius: 2px;
  margin: 14px 0 7px;
  overflow: hidden;
}
.tw3-pt-bar-f {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transition: width 0.8s ease;
}
.tw3-pt-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.32);
}

/* Other top cells */
.tw3-pt-cell {
  padding: 24px 18px 20px;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.tw3-pt-cell:last-child { border-right: none; }
.tw3-pt-cv {
  font-family: var(--syne);
  font-size: 36px;
  font-weight: 900;
  color: rgba(246,247,248,0.95);
  line-height: 1;
  letter-spacing: -0.03em;
}
.tw3-pt-unit2 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.35);
  margin-left: 3px;
}
.tw3-pt-cd { font-size: 11px; font-weight: 600; }

/* HR comparison bars */
.tw3-hrc { display: flex; flex-direction: column; gap: 5px; }
.tw3-hrc-r { display: flex; align-items: center; gap: 8px; }
.tw3-hrc-l { font-size: 9px; color: rgba(255,255,255,0.28); width: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.tw3-hrc-b { flex: 1; height: 3px; background: rgba(255,255,255,0.09); border-radius: 2px; overflow: hidden; }
.tw3-hrc-f { height: 3px; border-radius: 2px; transition: width 0.6s ease; }

/* Session pips — bigger, rounded rectangles */
.tw3-pips { display: flex; gap: 5px; flex-wrap: wrap; margin: 2px 0 3px; }
.tw3-pip { width: 12px; height: 8px; border-radius: 3px; }
.tw3-pip.d { background: var(--teal); box-shadow: 0 0 6px rgba(46,196,182,0.4); }
.tw3-pip.m { background: var(--fuchsia); }
.tw3-pip.r { background: rgba(255,255,255,0.10); }
.tw3-pip.p { border: 1.5px solid rgba(255,255,255,0.22); background: transparent; }

/* Bottom wellness row */
.tw3-perf-bot {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.tw3-pb {
  padding: 16px 18px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.tw3-pb:last-child { border-right: none; }
.tw3-pb-l {
  font-family: var(--syne);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.28);
  display: block;
  margin-bottom: 5px;
}
.tw3-pb-v {
  font-family: var(--syne);
  font-size: 28px;
  font-weight: 900;
  color: rgba(246,247,248,0.92);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 5px;
}
.tw3-pb-u {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.30);
  margin-left: 2px;
}
.tw3-pb-d { font-size: 11px; font-weight: 700; }

/* Status color classes */
.tw3-up { color: var(--teal) !important; }
.tw3-wn { color: rgba(255,185,30,0.90) !important; }
.tw3-dn { color: var(--fuchsia) !important; }

/* Color-propagate status to value via :has() */
.tw3-pb:has(.tw3-pb-d.tw3-up) .tw3-pb-v   { color: var(--teal) !important; }
.tw3-pb:has(.tw3-pb-d.tw3-wn) .tw3-pb-v   { color: rgba(255,185,30,0.90) !important; }
.tw3-pb:has(.tw3-pb-d.tw3-dn) .tw3-pb-v   { color: rgba(255,100,120,0.95) !important; }

/* Ghost number — large faded volume behind the hero cell */
.tw3-pt-hero::after {
  content: attr(data-ghost);
  position: absolute;
  bottom: 8px; right: 12px;
  font-family: var(--syne);
  font-size: 80px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.tw3-up{color:var(--blue2);} .tw3-dn{color:var(--orange);} .tw3-wn{color:#d4aa10;}

/* ── Coach Read Card (white) ── */
.tw3-coach-read-card{background:var(--white);border-radius:14px;border:1.5px solid var(--gray2);padding:20px 22px;margin-bottom:16px;}
.tw3-cr-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
.tw3-cr-eyebrow{display:flex;align-items:center;gap:7px;}
.tw3-cr-dot{width:6px;height:6px;border-radius:50%;background:var(--orange);}
.tw3-cr-label{font-family:var(--syne);font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:var(--orange);}
.tw3-cr-chips{display:flex;gap:5px;}
.tw3-chip{font-size:9px;font-weight:700;padding:3px 9px;border-radius:99px;}
.tw3-chip-strava{background:rgba(252,76,2,.12);color:#c44a18;}
.tw3-chip-garmin{background:rgba(0,170,80,.12);color:#0a6b35;}
.tw3-cr-prose{font-size:14px;line-height:1.8;color:var(--gray5);}
.tw3-cr-prose p{margin-bottom:10px;}
.tw3-cr-prose p:last-child{margin-bottom:0;}
.tw3-cr-prose strong{color:rgba(246,247,248,0.92);font-weight:700;}

/* ── Week Comparison ── */
.tw3-comparison{margin-bottom:16px;}
.tw3-cmp-title{font-family:var(--syne);font-size:11px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:var(--gray4);margin-bottom:10px;display:flex;align-items:center;gap:10px;}
.tw3-cmp-title::after{content:'';flex:1;height:1px;background:var(--gray2);}
.tw3-cmp-cols{display:grid;grid-template-columns:44px 1fr 1fr 1fr;gap:7px;margin-bottom:7px;padding:0 2px;}
.tw3-col-hd{padding-left:14px;}
.tw3-col-main{font-family:var(--syne);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--gray5);}
.tw3-col-range{font-size:11px;color:var(--gray4);margin-top:2px;}
.tw3-cmp-loading{font-size:13px;color:var(--gray4);padding:20px 0;text-align:center;}

/* ── Day row ── */
.tw3-wrow{display:grid;grid-template-columns:44px 1fr 1fr 1fr;gap:7px;margin-bottom:7px;align-items:stretch;}
.tw3-dlbl{display:flex;flex-direction:column;align-items:center;justify-content:center;}
.tw3-dnm{font-family:var(--syne);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:var(--gray3);}
.tw3-dnm.today{color:var(--orange);}

/* ── Day card ── */
.tw3-dc{background:var(--white);border-radius:10px;border:1px solid var(--gray2);border-left:4px solid var(--gray2);overflow:hidden;}
.tw3-dc.done   {border-left-color:var(--blue2);}
.tw3-dc.missed {border-left-color:var(--orange);background:rgba(255,51,102,.025);}
.tw3-dc.mod    {border-left-color:#c27a08;}
.tw3-dc.plan   {border-left-color:var(--gray2);}
.tw3-dc.rest   {border-left-color:var(--gray2);background:var(--gray1);}
.tw3-dc.today  {border-left-color:var(--orange);border-color:var(--orange);box-shadow:0 0 0 2px rgba(255,51,102,.08);}
.tw3-dc.locked {border-left-color:var(--gray2);border-style:dashed;background:var(--gray1);}
.tw3-dc.has-detail .tw3-dc-head{cursor:pointer;}
.tw3-dc.has-detail .tw3-dc-head:hover{background:rgba(0,0,0,.018);}

.tw3-dc-head{display:flex;align-items:center;gap:9px;padding:11px 12px;}
.tw3-dc-sdot{width:6px;height:6px;border-radius:50%;flex-shrink:0;background:var(--gray2);}
.tw3-dc.done   .tw3-dc-sdot{background:var(--blue2);}
.tw3-dc.missed .tw3-dc-sdot{background:var(--orange);}
.tw3-dc.mod    .tw3-dc-sdot{background:#c27a08;}
.tw3-dc.today  .tw3-dc-sdot{background:var(--orange);box-shadow:0 0 0 3px rgba(255,51,102,.2);}
.tw3-dc-info{flex:1;min-width:0;}
.tw3-dc-name{font-family:var(--syne);font-size:12px;font-weight:900;color:rgba(246,247,248,0.92);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2;}
.tw3-dc-name.muted{font-family:var(--inter);font-weight:400;font-style:italic;color:var(--gray4);font-size:11px;}
.tw3-dc-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:3px;}
.tw3-dc-m{font-size:11px;color:var(--gray5);}
.tw3-dc-msep{width:2px;height:2px;border-radius:50%;background:var(--gray3);}
.tw3-dc-delta{font-size:10px;font-weight:700;}
.tw3-dc-delta.on{color:var(--blue2);}
.tw3-dc-delta.short{color:#c27a08;}
.tw3-dc-delta.over{color:var(--orange);}
.tw3-dc-right{display:flex;align-items:center;gap:5px;flex-shrink:0;}
.tw3-sw{font-size:10px;font-weight:700;color:var(--gray4);}
.tw3-sw.done{color:var(--blue2);}
.tw3-sw.missed{color:var(--orange);}
.tw3-sw.mod{color:#c27a08;}
.tw3-dc-chev{color:var(--gray3);transition:transform .2s;flex-shrink:0;}
.tw3-dc[aria-expanded="true"] .tw3-dc-chev{transform:rotate(180deg);}
.tw3-today-flag{font-family:var(--syne);font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:var(--orange);}

/* ── Expand detail ── */
.tw3-dc-detail{border-top:1px solid var(--gray1);padding:12px 14px 14px;background:rgba(0,0,0,.012);display:none;}
.tw3-dc[aria-expanded="true"] .tw3-dc-detail{display:block;}
.tw3-dc-why{font-family:var(--inter);font-size:12px;font-style:italic;color:var(--gray5);line-height:1.65;padding-bottom:10px;border-bottom:1px solid var(--gray1);margin-bottom:10px;}
.tw3-detail-lbl{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--gray4);margin-bottom:7px;}

/* Diff table */
.tw3-diff{border:1px solid var(--gray2);border-radius:8px;overflow:hidden;font-size:12px;margin-bottom:10px;}
.tw3-diff-row{display:grid;grid-template-columns:62px 1fr 16px 1fr 54px;align-items:center;padding:6px 10px;border-bottom:1px solid var(--gray1);gap:3px;}
.tw3-diff-row:last-child{border-bottom:none;}
.tw3-diff-row.hd{background:var(--gray1);padding:4px 10px;}
.tw3-diff-metric{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--gray4);}
.tw3-diff-plan{font-size:11px;color:var(--gray4);}
.tw3-diff-arrow{font-size:9px;color:var(--gray3);text-align:center;}
.tw3-diff-actual{font-size:12px;font-weight:700;color:rgba(246,247,248,0.92);}
.tw3-diff-delta{font-size:10px;font-weight:700;text-align:right;padding:1px 6px;border-radius:99px;}
.tw3-diff-delta.on   {background:rgba(46,196,182,.12);color:var(--blue2);}
.tw3-diff-delta.short{background:rgba(194,122,8,.12); color:#a06208;}
.tw3-diff-delta.over {background:rgba(255,51,102,.1); color:var(--orange);}
.tw3-diff-delta.ok   {background:rgba(46,196,182,.12);color:var(--blue2);}
.tw3-diff-row.hd .tw3-diff-plan,.tw3-diff-row.hd .tw3-diff-actual{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--gray3);}

/* Prescription grid */
.tw3-rx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(90px,1fr));gap:7px;margin-bottom:10px;}
.tw3-rx-cell{background:var(--white);border:1px solid var(--gray2);border-radius:7px;padding:8px 10px;}
.tw3-rx-lbl{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--gray4);margin-bottom:2px;}
.tw3-rx-val{font-family:var(--syne);font-size:14px;font-weight:900;color:rgba(246,247,248,0.92);line-height:1;}
.tw3-rx-unit{font-size:10px;font-weight:400;color:var(--gray4);}
.tw3-dc-desc{font-size:12px;line-height:1.65;color:var(--gray5);}

/* Structure table */
.tw3-struct{background:var(--white);border:1px solid var(--gray2);border-radius:7px;overflow:hidden;margin-top:8px;}
.tw3-struct-row{display:flex;align-items:baseline;gap:8px;padding:5px 10px;border-bottom:1px solid var(--gray1);font-size:12px;}
.tw3-struct-row:last-child{border-bottom:none;}
.tw3-struct-seg{font-weight:700;color:rgba(246,247,248,0.92);min-width:72px;flex-shrink:0;}
.tw3-struct-detail{color:var(--gray5);flex:1; color:var(--gray5); font-size:12px;}

/* ═══════════════════════════════════════════════════
   PEAK STATE VISUAL POLISH — added June 2026
   Warm, editorial, coaching-first aesthetic
═══════════════════════════════════════════════════ */

/* Ink section utility — for dramatic dark panels */
.section-ink {
  background: var(--ink);
  border-radius: var(--radius);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-ink-inner { position: relative; z-index: 1; }
.section-ink .section-label { color: rgba(46,196,182,0.7); }
.section-ink .section-label::after { background: rgba(246,247,248,0.1); }

/* Warm section utility — for editorial warm-tone panels */
.section-warm {
  background: var(--warm-snow);
  border-radius: var(--radius);
  border: 1px solid var(--warm-border);
}

/* Chart card — consistent warm treatment */
.chart-card { background:var(--white); border:1px solid var(--warm-border); }
.chart-title { font-family:var(--syne); font-size:15px; font-weight:800; color:rgba(246,247,248,0.92); letter-spacing:-0.01em; }

/* Calendar warm border treatment */
.cal-grid { background:var(--white); border:1px solid var(--warm-border); }
.cal-header-row { background:var(--warm-snow); border-bottom:1px solid var(--warm-border); }
.cal-week-row { border-bottom:1px solid var(--warm-border); }
.cal-week-num { background:var(--warm-snow); border-right:1px solid var(--warm-border); }
.cal-day { border-right:1px solid var(--warm-border); }

/* HR zones bar — warm strip */
.hr-zones-bar { display:flex; height:8px; border-radius:4px; overflow:hidden; gap:2px; }
.hr-zone { height:100%; border-radius:2px; }
.hr-z1 { background: var(--teal); opacity:0.6; }
.hr-z2 { background: var(--teal); }
.hr-z3 { background: var(--blue); }
.hr-z4 { background: var(--fuchsia); opacity:0.7; }
.hr-z5 { background: var(--fuchsia); }

/* PR hero — dark ink panel (matches slide 4 aesthetic) */
.pr-hero {
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}
.pr-hero-banner { height:4px; background:linear-gradient(90deg, var(--fuchsia), var(--blue), var(--teal)); }
.pr-hero-title { font-family:var(--syne); font-size:38px; font-weight:900; line-height:1.05; letter-spacing:-0.025em; color:rgba(246,247,248,0.92); margin-bottom:6px; }
.pr-hero-meta { font-size:13px; color:rgba(246,247,248,0.6); margin-bottom:20px; }
.pr-hero-coach { font-size:13px; color:rgba(246,247,248,0.82); line-height:1.72; max-width:560px; padding-left:16px; border-left:4px solid var(--fuchsia); font-style:italic; }
.pr-hero-coach strong { color:var(--fuchsia); font-style:normal; font-weight:700; }
.pr-hero-split { background:rgba(246,247,248,0.06); border-radius:var(--radius-sm); padding:12px; border:1px solid rgba(246,247,248,0.1); }
.pr-hero-split-best { background:rgba(255,51,102,0.18); border-color:rgba(255,51,102,0.35); }
.pr-hero-split-num { font-family:var(--syne); font-size:18px; font-weight:900; color:rgba(246,247,248,0.92); line-height:1; }
.pr-hero-split-best .pr-hero-split-num { color:var(--fuchsia); }
.pr-hero-split-lab { font-size:10px; color:rgba(246,247,248,0.45); text-transform:uppercase; letter-spacing:0.06em; margin-top:4px; }
.pr-hero-tag { display:inline-flex; align-items:center; gap:7px; background:rgba(255,51,102,0.15); color:rgba(255,100,130,0.9); padding:5px 12px; border-radius:20px; font-family:var(--syne); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:14px; }

/* This Week page — coaching cards */
.tw3-coach-hero { background:var(--ink); border-radius:var(--radius); padding:24px 28px; color:rgba(246,247,248,0.92); margin-bottom:24px; border-left:4px solid var(--fuchsia); box-shadow:var(--shadow-md); }
.tw3-coach-week-title { font-family:var(--syne); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.12em; color:rgba(255,51,102,0.8); margin-bottom:12px; display:flex; align-items:center; gap:8px; }
.tw3-coach-hero-prose { font-size:14px; line-height:1.75; color:rgba(246,247,248,0.88); font-style:italic; }

/* Session cards — warm */
.tw3-session-card { background:var(--white); border:1px solid var(--warm-border); border-radius:var(--radius); padding:18px 20px; margin-bottom:10px; transition:all 0.2s; }
.tw3-session-card:hover { box-shadow:var(--shadow-md); transform:translateY(-1px); }
.tw3-session-card.run-border { border-left:3px solid var(--fuchsia); }
.tw3-session-card.ride-border { border-left:3px solid var(--blue); }
.tw3-session-card.swim-border { border-left:3px solid var(--teal); }
.tw3-session-card.rest-border { border-left:3px solid var(--warm-border); }

/* ── Missed workout attention system ─────────────────────────────────────── */

/* Pending bar — above the roulette */
.tw3-pending-bar { display:flex; align-items:center; gap:14px; background:rgba(245,200,66,0.07); border:1px solid rgba(245,200,66,0.22); border-radius:var(--radius); padding:12px 18px; margin-bottom:18px; }
.tw3-pending-bar--done { background:rgba(46,196,182,0.07); border-color:rgba(46,196,182,0.22); }
.tw3-pending-bar-icon { width:28px; height:28px; border-radius:50%; background:#F5C842; color:#011627; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:14px; flex-shrink:0; font-family:var(--syne); }
.tw3-pending-bar--done .tw3-pending-bar-icon { background:var(--teal); color:var(--white); }
.tw3-pending-bar-msg { font-size:13px; color:rgba(246,247,248,0.78); line-height:1.4; }
.tw3-pending-bar-count { font-weight:800; color:#F5C842; }
.tw3-pending-bar--done .tw3-pending-bar-count { color:var(--teal); }

/* Yellow ! attention badge on the workout row */
.tw3-missed-btn { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; background:#F5C842; color:#011627; font-weight:900; font-size:13px; font-family:var(--syne); border:none; cursor:pointer; flex-shrink:0; transition:all 0.18s; animation:tw3PulseYellow 2.4s ease-in-out infinite; }
.tw3-missed-btn:hover { background:#F0B429; transform:scale(1.12); }
@keyframes tw3PulseYellow { 0%,100% { box-shadow:0 0 0 0 rgba(245,200,66,0.4); } 50% { box-shadow:0 0 0 6px rgba(245,200,66,0); } }

/* Inline questionnaire */
.tw3-missed-q { background:rgba(245,200,66,0.05); border:1px solid rgba(245,200,66,0.18); border-radius:8px; padding:16px 18px; margin-top:10px; }
.tw3-missed-q-intro { font-size:11px; color:rgba(246,247,248,0.5); line-height:1.5; margin-bottom:12px; font-style:italic; }
.tw3-missed-q-label { font-family:var(--syne); font-size:10px; font-weight:800; color:#F5C842; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:8px; }
.tw3-missed-reason-grid { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px; }
.tw3-missed-reason-btn { background:rgba(246,247,248,0.05); border:1px solid rgba(246,247,248,0.12); border-radius:6px; color:rgba(246,247,248,0.65); font-size:12px; padding:7px 13px; cursor:pointer; transition:all 0.15s; }
.tw3-missed-reason-btn:hover { border-color:rgba(245,200,66,0.5); color:#F5C842; }
.tw3-missed-reason-btn.selected { background:rgba(245,200,66,0.12); border-color:#F5C842; color:#F5C842; }
.tw3-missed-feel-row { display:flex; align-items:center; gap:10px; margin-bottom:14px; flex-wrap:wrap; }
.tw3-missed-feel-label { font-size:11px; color:rgba(246,247,248,0.45); white-space:nowrap; }
.tw3-missed-feel-btns { display:flex; gap:5px; }
.tw3-missed-feel-btn { background:rgba(246,247,248,0.05); border:1px solid rgba(246,247,248,0.12); border-radius:6px; color:rgba(246,247,248,0.55); font-size:11px; padding:5px 11px; cursor:pointer; transition:all 0.15s; }
.tw3-missed-feel-btn:hover { border-color:rgba(245,200,66,0.5); color:#F5C842; }
.tw3-missed-feel-btn.selected { background:rgba(245,200,66,0.12); border-color:#F5C842; color:#F5C842; }
.tw3-missed-submit { width:100%; background:#F5C842; color:#011627; border:none; border-radius:6px; font-family:var(--syne); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:0.06em; padding:9px 16px; cursor:pointer; transition:all 0.15s; margin-top:4px; }
.tw3-missed-submit:hover:not(:disabled) { background:#F0B429; }
.tw3-missed-submit:disabled { opacity:0.35; cursor:not-allowed; }

/* Answered state badge */
.tw3-sw.missed-done { color:rgba(46,196,182,0.7); font-size:10px; }

/* Feedback card — warm editorial */
.tw3-feedback-card { background:var(--warm-snow); border:1px solid var(--warm-border); border-radius:var(--radius); padding:24px 28px; }
.tw3-feedback-question { font-family:var(--syne); font-size:22px; font-weight:900; color:rgba(246,247,248,0.92); letter-spacing:-0.02em; margin-bottom:6px; }
.tw3-fbs { font-size:13px; color:var(--gray4); margin-bottom:20px; }

/* Feel pills — Peak State style */
.tw3-feel-pill { background:var(--white); border:1px solid var(--warm-border); color:var(--gray5); border-radius:8px; padding:10px 18px; font-family:var(--syne); font-size:13px; font-weight:700; cursor:pointer; transition:all 0.15s; }
.tw3-feel-pill:hover { border-color:var(--fuchsia); color:var(--fuchsia); }
.tw3-feel-pill-selected { background:var(--fuchsia); border-color:var(--fuchsia); color:rgba(246,247,248,0.92); }

/* Status strip — warm */
.tw3-status-strip { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.tw3-status-pill { background:var(--white); border:1px solid var(--warm-border); border-radius:20px; padding:6px 14px; font-family:var(--syne); font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:0.08em; color:var(--gray5); }
.tw3-status-race-countdown { background:rgba(255,51,102,0.08); border-color:rgba(255,51,102,0.2); color:var(--fuchsia); }

/* Inline border fixes — global warm-border sweep */
.pr-card { border:1px solid var(--warm-border); }
.chart-card { border:1px solid var(--warm-border); }


/* ═══════════════════════════════════════════════════
   SLIDE 04 VISUAL LANGUAGE — applied globally
   Ink canvas · Snow text · Teal labels · Fuchsia accent
   Ghost numbers · Effort bars · Sparkline texture
═══════════════════════════════════════════════════ */

/* Global text override — snow on ink */
.page-title { color: rgba(246,247,248,0.95) !important; }
.page-subtitle { color: rgba(246,247,248,0.45) !important; }
.page-eyebrow { color: var(--teal) !important; }
.page-eyebrow::before { background: var(--teal) !important; }

.chart-title { color: rgba(246,247,248,0.92) !important; }
.chart-subtitle { color: rgba(246,247,248,0.45) !important; }
.section-label { color: rgba(246,247,248,0.38) !important; }
.section-label::after { background: rgba(246,247,248,0.09) !important; }

/* Metric cards — dark panels */
.metric-card-label { color: rgba(246,247,248,0.38) !important; }
.metric-card-headline { color: rgba(246,247,248,0.95) !important; }
.metric-card-sub { color: rgba(246,247,248,0.55) !important; }
.metric-card-bar { background: rgba(246,247,248,0.10) !important; }

/* Stat cards */
.stat-label { color: rgba(246,247,248,0.38) !important; }
.stat-value { color: rgba(246,247,248,0.95) !important; }
.stat-trend { color: rgba(246,247,248,0.42) !important; }

/* Activity cards — dark surfaces */
.activity-card { background: rgba(246,247,248,0.05) !important; border-color: rgba(246,247,248,0.09) !important; }
.activity-card-date { color: rgba(246,247,248,0.35) !important; }
.activity-card-name { color: rgba(246,247,248,0.92) !important; }
.act-stat { background: rgba(246,247,248,0.08) !important; }
.act-stat-val { color: rgba(246,247,248,0.92) !important; }
.act-stat-label { color: rgba(246,247,248,0.38) !important; }

/* Chart cards — dark */
.chart-card { background: rgba(246,247,248,0.04) !important; border-color: rgba(246,247,248,0.09) !important; }

/* Calendar — dark */
.cal-grid { background: rgba(246,247,248,0.04) !important; border-color: rgba(246,247,248,0.09) !important; }
.cal-header-row { background: rgba(246,247,248,0.07) !important; border-bottom-color: rgba(246,247,248,0.09) !important; }
.cal-day-header { color: rgba(246,247,248,0.38) !important; }
.cal-week-row { border-bottom-color: rgba(246,247,248,0.07) !important; }
.cal-week-num { background: rgba(246,247,248,0.07) !important; border-right-color: rgba(246,247,248,0.09) !important; color: rgba(246,247,248,0.35) !important; }
.cal-week-num-big { color: rgba(246,247,248,0.75) !important; }
.cal-day { border-right-color: rgba(246,247,248,0.07) !important; }
.cal-day:hover { background: rgba(246,247,248,0.05) !important; }
.cal-day-num { color: rgba(246,247,248,0.65); }
.cal-today .cal-day-num { color: var(--fuchsia) !important; }
.cal-period { color: rgba(246,247,248,0.92) !important; }
.cal-nav-btn { background: rgba(246,247,248,0.06) !important; border-color: rgba(246,247,248,0.09) !important; color: rgba(246,247,248,0.75) !important; }
.cal-nav-btn:hover { background: rgba(246,247,248,0.12) !important; }
.cal-today-btn { background: rgba(246,247,248,0.06) !important; border-color: rgba(246,247,248,0.09) !important; color: rgba(246,247,248,0.65) !important; }
.cal-side-stat { border-color: rgba(246,247,248,0.09) !important; }
.cal-side-stat-num { color: rgba(246,247,248,0.92) !important; }
.cal-side-stat-label { color: rgba(246,247,248,0.38) !important; }

/* PR cards — dark */
.pr-rich-card { background: rgba(246,247,248,0.05) !important; border-color: rgba(246,247,248,0.09) !important; }
.pr-rich-distance { color: rgba(246,247,248,0.92) !important; }
.pr-rich-time { color: rgba(246,247,248,0.95) !important; }
.pr-rich-pace { color: rgba(246,247,248,0.60) !important; }
.pr-rich-context { color: rgba(246,247,248,0.65) !important; border-top-color: rgba(246,247,248,0.09) !important; border-bottom-color: rgba(246,247,248,0.09) !important; }
.pr-rich-meta { color: rgba(246,247,248,0.38) !important; }
.pr-rich-splits span { background: rgba(246,247,248,0.08) !important; color: rgba(246,247,248,0.65) !important; }
.pr-rich-summary { background: rgba(246,247,248,0.03) !important; }

/* Wellness cards — dark */
.wellness-card { background: rgba(246,247,248,0.05) !important; border-color: rgba(246,247,248,0.09) !important; }
.wellness-card-label { color: rgba(246,247,248,0.38) !important; }
.wellness-card-val { color: rgba(246,247,248,0.92) !important; }
.wellness-card-sub { color: rgba(246,247,248,0.50) !important; }
.wellness-card-unit { color: rgba(246,247,248,0.38) !important; }
.wellness-narrative { background: rgba(46,196,182,0.08) !important; border-left-color: var(--teal) !important; color: rgba(246,247,248,0.72) !important; }

/* Activity detail modal — dark */
.adm { background: #0d1f2d !important; }
.adm-header { background: #0d1f2d !important; border-bottom-color: rgba(246,247,248,0.09) !important; }
.adm-title { color: rgba(246,247,248,0.95) !important; }
.adm-subtitle { color: rgba(246,247,248,0.45) !important; }
.adm-close { background: rgba(246,247,248,0.07) !important; border-color: rgba(246,247,248,0.10) !important; }
.adm-stat { background: rgba(246,247,248,0.07) !important; }
.adm-stat-lbl { color: rgba(246,247,248,0.38) !important; }
.adm-stat-val { color: rgba(246,247,248,0.92) !important; }
.adm-section-title { color: rgba(246,247,248,0.55) !important; }
.adm-map-wrap { background: rgba(246,247,248,0.06) !important; }
.adm-splits, .adm-laps { color: rgba(246,247,248,0.75); }
.adm-splits th, .adm-laps th { color: rgba(246,247,248,0.38) !important; border-bottom-color: rgba(246,247,248,0.09) !important; }
.adm-splits td, .adm-laps td { border-bottom-color: rgba(246,247,248,0.07) !important; color: rgba(246,247,248,0.72) !important; }

/* Race plans — dark */
.race-row { background: rgba(246,247,248,0.05) !important; border-color: rgba(246,247,248,0.09) !important; }
.race-row:hover { background: rgba(246,247,248,0.08) !important; }
.race-row-month { color: rgba(246,247,248,0.38) !important; }
.race-row-day { color: rgba(246,247,248,0.92) !important; }
.race-row-name { color: rgba(246,247,248,0.92) !important; }
.race-row-body > :last-child { color: rgba(246,247,248,0.45) !important; }

/* This Week — dark */
.tw3-feedback-card { background: rgba(246,247,248,0.04) !important; border-color: rgba(246,247,248,0.09) !important; }
.tw3-feedback-question { color: rgba(246,247,248,0.92) !important; }
.tw3-fbs { color: rgba(246,247,248,0.45) !important; }
.tw3-feel-pill { background: rgba(246,247,248,0.07) !important; border-color: rgba(246,247,248,0.12) !important; color: rgba(246,247,248,0.70) !important; }
.tw3-feel-pill:hover { border-color: var(--fuchsia) !important; color: var(--fuchsia) !important; }
.tw3-feel-pill-selected { background: var(--fuchsia) !important; border-color: var(--fuchsia) !important; color: rgba(246,247,248,0.95) !important; }
.tw3-dc { background: rgba(246,247,248,0.05); border-color: rgba(246,247,248,0.09); }
.tw3-dc-name { color: rgba(246,247,248,0.88) !important; }
.tw3-dc-meta { color: rgba(246,247,248,0.48) !important; }

/* Nav tabs — dark */
.tab { background: rgba(246,247,248,0.06) !important; border-color: rgba(246,247,248,0.10) !important; color: rgba(246,247,248,0.65) !important; }
.tab:hover { background: rgba(246,247,248,0.10) !important; }
.tab.active { background: var(--blue) !important; border-color: var(--blue) !important; }
.period-btn { background: rgba(246,247,248,0.06) !important; border-color: rgba(246,247,248,0.10) !important; color: rgba(246,247,248,0.60) !important; }

/* hv tooltips */
.hv-hint { color: rgba(246,247,248,0.22) !important; }

/* Form gauge and educational panels */
.form-edu-block { background: rgba(246,247,248,0.05) !important; border-color: rgba(246,247,248,0.09) !important; }

/* Connections page */
.chain-item { color: rgba(246,247,248,0.75) !important; }

/* Race widget in sidebar stays as-is (already dark) */

/* Slide 04 illustration elements — effort composition bars */
.effort-comp-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  gap: 1px;
  margin-top: 6px;
}
.ecb-hard  { background: var(--fuchsia); }
.ecb-tempo { background: var(--blue); }
.ecb-easy  { background: var(--teal); }
.ecb-rest  { background: rgba(246,247,248,0.15); }

/* Ghost number — large faded metric as background texture */
.ghost-num {
  font-family: var(--syne);
  font-weight: 900;
  font-size: 72px;
  color: rgba(246,247,248,0.06);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* Teal label — for all section eyebrow contexts */
.label-teal {
  font-family: var(--syne);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 7px;
}
.label-teal::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--teal);
  border-radius: 1px;
}

/* Fuchsia accent line — sparingly on key values */
.val-fuchsia { color: var(--fuchsia) !important; }
.val-teal    { color: var(--teal)    !important; }
.val-blue    { color: var(--blue)    !important; }
.val-snow    { color: rgba(246,247,248,0.92) !important; }
.val-muted   { color: rgba(246,247,248,0.40) !important; }

/* Inline style override — catch any remaining white backgrounds */
.main-inner *[style*="background:var(--white)"],
.main-inner *[style*="background: var(--white)"] {
  background: rgba(246,247,248,0.05) !important;
}


/* ═══════════════════════════════════════════════════
   VISUAL DEPTH SYSTEM — cards that stand out
   Background (#011627) → Section band → Card → Elevated card
═══════════════════════════════════════════════════ */

/* Card surfaces — distinctly lighter than ink background */
.metric-card,
.chart-card,
.activity-card,
.pr-rich-card,
.wellness-card,
.stat-card,
.race-row,
.tw3-feedback-card,
.tw3-dc,
.cal-grid,
.adm {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.11) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

/* Elevated on hover — perceptible lift */
.metric-card:hover,
.activity-card:hover,
.pr-rich-card:hover,
.wellness-card:hover,
.race-row:hover {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.16) !important;
  box-shadow: 0 6px 28px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08) !important;
  transform: translateY(-2px);
}

/* Section bands — group related cards on a subtly elevated plane */
.metrics-grid {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.07);
}

.carousel-wrap {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 16px 16px 8px;
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 24px;
}

/* Chart cards — slightly more elevated than metric cards */
.chart-card {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
}

/* Metric card color accent top borders — each card has a color identity */
.metric-card-status {
  border-top: 2px solid var(--fuchsia) !important;
  background: rgba(255,51,102,0.06) !important;
}
.metric-card:nth-child(2) {
  border-top: 2px solid var(--teal) !important;
  background: rgba(46,196,182,0.05) !important;
}
.metric-card:nth-child(3) {
  border-top: 2px solid var(--blue) !important;
  background: rgba(32,164,243,0.05) !important;
}
.metric-card:nth-child(4) {
  border-top: 2px solid rgba(255,51,102,0.6) !important;
  background: rgba(255,51,102,0.04) !important;
}

/* Activity map gradients — sport-tinted, more vivid */
.activity-card-map.run-bg  { background: linear-gradient(135deg, rgba(255,51,102,0.14) 0%, rgba(255,51,102,0.06) 100%) !important; }
.activity-card-map.bike-bg { background: linear-gradient(135deg, rgba(32,164,243,0.14) 0%, rgba(46,196,182,0.08) 100%) !important; }
.activity-card-map.swim-bg { background: linear-gradient(135deg, rgba(46,196,182,0.14) 0%, rgba(32,164,243,0.08) 100%) !important; }
.activity-card-map.str-bg  { background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%) !important; }

/* Nested surfaces — slightly elevated inside cards */
.act-stat        { background: rgba(255,255,255,0.08) !important; }
.metric-card-bar { background: rgba(255,255,255,0.10) !important; }
.form-edu-block  { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.09) !important; }
.fitness-zone    { background: rgba(255,255,255,0.06) !important; border-color: rgba(255,255,255,0.09) !important; }

/* Big-3 ink panel — keep solid ink but add subtle inner glow per metric */
.page-fitness .hv-card[style*="border-right"] {
  position: relative;
}

/* Wellness grid section band */
.wellness-grid {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  gap: 10px;
}
.wellness-card {
  background: rgba(255,255,255,0.07) !important;
}

/* PR carousel section */
.pr-carousel {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  padding: 12px 12px 4px;
  border: 1px solid rgba(255,255,255,0.05);
}

/* Race stack section */
.races-stack {
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}
.race-row {
  background: rgba(255,255,255,0.05) !important;
  border-color: rgba(255,255,255,0.08) !important;
  border-radius: 10px !important;
}
.race-row:hover { background: rgba(255,255,255,0.09) !important; }

/* Calendar — stronger cell distinction */
.cal-grid { background: rgba(255,255,255,0.05) !important; }
.cal-header-row { background: rgba(255,255,255,0.08) !important; }
.cal-week-num   { background: rgba(255,255,255,0.06) !important; }
.cal-day:hover  { background: rgba(255,255,255,0.06) !important; }

/* This Week feedback card */
.tw3-feedback-card { 
  background: rgba(255,255,255,0.06) !important; 
  border-color: rgba(255,255,255,0.10) !important;
}
.tw3-feel-pill { background: rgba(255,255,255,0.07) !important; border-color: rgba(255,255,255,0.12) !important; }

/* Chart cards – tinted by type */
.chart-card.blue-accent  { border-top: 2px solid var(--blue) !important; background: rgba(32,164,243,0.05) !important; }
.chart-card.orange-accent { border-top: 2px solid var(--fuchsia) !important; background: rgba(255,51,102,0.04) !important; }

/* Section labels — add space above to breathe */
.section-label { margin-top: 8px; margin-bottom: 18px; }

/* Main inner padding — more generous */
.main-inner { padding: 36px 40px; }

/* More spacing between chart cards */
.chart-card { margin-bottom: 20px !important; }


/* ═══════════════════════════════════════════════════
   THIS WEEK COMPARISON — column hierarchy
   Last week (dim) · THIS WEEK (bright, teal) · Next week (dimmer)
═══════════════════════════════════════════════════ */

/* Comparison wrapper — give it a contained dark panel */
.tw3-comparison {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 20px;
}
.tw3-cmp-title {
  color: rgba(246,247,248,0.40) !important;
  margin-bottom: 16px !important;
}
.tw3-cmp-title::after { background: rgba(255,255,255,0.07) !important; }

/* ── Column headers ─────────────────────────────── */

/* Last week header — muted */
.tw3-cmp-cols > *:nth-child(2) .tw3-col-main {
  color: rgba(246,247,248,0.35) !important;
}
.tw3-cmp-cols > *:nth-child(2) .tw3-col-range {
  color: rgba(246,247,248,0.22) !important;
}

/* THIS WEEK header — bright + teal underline pill */
.tw3-cmp-cols > *:nth-child(3) {
  background: rgba(46,196,182,0.10);
  border-radius: 8px 8px 0 0;
  border-top: 2px solid rgba(46,196,182,0.6);
  padding: 8px 14px 6px;
  margin-bottom: -1px;
}
.tw3-cmp-cols > *:nth-child(3) .tw3-col-main {
  color: var(--teal) !important;
  letter-spacing: 0.10em;
}
.tw3-cmp-cols > *:nth-child(3) .tw3-col-range {
  color: rgba(46,196,182,0.65) !important;
}

/* Next week header — very muted */
.tw3-cmp-cols > *:nth-child(4) .tw3-col-main {
  color: rgba(246,247,248,0.22) !important;
}
.tw3-cmp-cols > *:nth-child(4) .tw3-col-range {
  color: rgba(246,247,248,0.15) !important;
}

/* ── Day cells ──────────────────────────────────── */

/* Last week column — dimmed */
.tw3-wrow > *:nth-child(2) {
  opacity: 0.55;
}
.tw3-wrow > *:nth-child(2):hover {
  opacity: 0.75;
}

/* THIS WEEK column — elevated, teal-tinted */
.tw3-wrow > *:nth-child(3).tw3-dc,
.tw3-wrow > *:nth-child(3) {
  background: rgba(46,196,182,0.07) !important;
  border-color: rgba(46,196,182,0.20) !important;
  box-shadow:
    0 0 0 1px rgba(46,196,182,0.08),
    0 3px 16px rgba(0,0,0,0.35) !important;
  border-radius: 0 0 10px 10px !important;
  border-top-width: 0 !important;
}
/* Today's cell in this-week column — extra fuchsia highlight */
.tw3-wrow > *:nth-child(3).tw3-dc.today {
  background: rgba(255,51,102,0.10) !important;
  border-color: rgba(255,51,102,0.30) !important;
  box-shadow:
    0 0 0 1px rgba(255,51,102,0.15),
    0 3px 20px rgba(255,51,102,0.12) !important;
}
.tw3-wrow > *:nth-child(3) .tw3-dc-name {
  color: rgba(246,247,248,0.98) !important;
}
.tw3-wrow > *:nth-child(3) .tw3-dc-m {
  color: rgba(246,247,248,0.60) !important;
}

/* Next week column — very dimmed */
.tw3-wrow > *:nth-child(4) {
  opacity: 0.35;
}
.tw3-wrow > *:nth-child(4):hover {
  opacity: 0.55;
}

/* Unplanned / extra activity rendering */
.tw3-dc-col { display: flex; flex-direction: column; gap: 4px; }
.tw3-dc-col .tw3-dc { flex: 1; }
.tw3-extra-pill {
  font-size: 10px;
  color: rgba(246,247,248,0.55);
  background: rgba(246,247,248,0.06);
  border: 1px solid rgba(246,247,248,0.10);
  border-radius: 6px;
  padding: 3px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Day label — this week day gets teal treatment */
.tw3-dnm { color: rgba(246,247,248,0.30) !important; }
.tw3-dnm.today { color: var(--fuchsia) !important; }

/* Row spacing — breathe between days */
.tw3-wrow { margin-bottom: 10px !important; }

/* Detail expand — teal accent inside this-week */
.tw3-wrow > *:nth-child(3) .tw3-dc-detail {
  background: rgba(46,196,182,0.04) !important;
  border-top-color: rgba(46,196,182,0.15) !important;
}
.tw3-wrow > *:nth-child(3) .tw3-dc-why {
  color: rgba(46,196,182,0.80) !important;
  border-bottom-color: rgba(46,196,182,0.12) !important;
}

/* Section label for comparison table — "WEEK COMPARISON" */
.tw3-cmp-title {
  font-size: 10px !important;
  color: rgba(246,247,248,0.30) !important;
}

/* ── WORKOUT SPARKLINE ────────────────────────────────────────────── */
.tw3-spark-wrap {
  padding: 0 12px 8px;
  opacity: 0.85;
}
.tw3-workout-spark {
  display: block;
  width: 100%;
  height: 36px;
  overflow: visible;
}

/* Dimmer sparkline for completed sessions (history) */
.tw3-dc.done .tw3-spark-wrap { opacity: 0.4; filter: grayscale(0.3); }
.tw3-dc.missed .tw3-spark-wrap { opacity: 0.2; filter: grayscale(0.8); }


/* ═══════════════════════════════════════════════════
   OVERVIEW HERO — title left · compact profile corner
   Premium · minimal · no repetition
═══════════════════════════════════════════════════ */

.overview-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

/* Left: big title block */
.overview-hero-left {
  flex: 1;
  min-width: 0;
}
.overview-hero-left .page-eyebrow { margin-bottom: 10px; }
.overview-hero-left .page-title   { margin-bottom: 8px; }
.overview-hero-sub {
  font-size: 13px;
  color: rgba(246,247,248,0.32);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

/* Right: compact profile — blends into the corner */
.overview-profile-corner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 14px;
  opacity: 0.72;
  transition: opacity 0.2s;
  max-width: 200px;
}
.overview-profile-corner:hover { opacity: 1; }

/* Avatar — very small, fuchsia ring */
.opc-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fuchsia);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--syne);
  font-size: 10px;
  font-weight: 900;
  color: rgba(246,247,248,0.95);
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(255,51,102,0.35);
}

/* Info block */
.opc-info { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.opc-name {
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 800;
  color: rgba(246,247,248,0.75);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Sport tags — minimal inline chips */
.opc-sports { display: flex; gap: 4px; flex-wrap: wrap; }
.opc-sport {
  font-family: var(--syne);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
}
.opc-run  { background: rgba(255,51,102,0.15); color: rgba(255,100,130,0.85); }
.opc-bike { background: rgba(32,164,243,0.12); color: rgba(100,180,255,0.85); }
.opc-swim { background: rgba(46,196,182,0.12); color: rgba(80,210,195,0.85); }

/* Primary race — single subtle line */
.opc-races {
  display: flex;
  align-items: center;
  gap: 5px;
}
.opc-race-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fuchsia);
  flex-shrink: 0;
  animation: pulse-dot 2.4s infinite;
}
.opc-race-name {
  font-size: 10px;
  font-weight: 600;
  color: rgba(246,247,248,0.55);
  white-space: nowrap;
}
.opc-race-date {
  font-family: var(--syne);
  font-size: 10px;
  font-weight: 800;
  color: rgba(255,51,102,0.75);
  white-space: nowrap;
}

/* Today session block — more refined */
.today-session-card {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.09) !important;
  border-radius: var(--radius) !important;
  padding: 18px 20px !important;
  transition: all 0.2s;
}
.today-session-card:hover {
  background: rgba(255,255,255,0.08) !important;
}
.today-session-label {
  font-family: var(--syne) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.14em !important;
}
.today-session-dist {
  font-family: var(--syne);
  font-size: 10px;
  font-weight: 700;
  background: rgba(255,255,255,0.08) !important;
  color: rgba(246,247,248,0.55) !important;
  border-radius: 4px;
  padding: 2px 8px;
}
.today-session-name {
  font-family: var(--syne) !important;
  font-size: 17px !important;
  font-weight: 900 !important;
  color: rgba(246,247,248,0.95) !important;
  letter-spacing: -0.015em !important;
  margin-bottom: 7px !important;
  line-height: 1.25 !important;
}
.today-session-why {
  font-size: 13px !important;
  color: rgba(246,247,248,0.50) !important;
  line-height: 1.68 !important;
  font-style: italic !important;
  margin-bottom: 12px !important;
}
.today-session-link {
  font-family: var(--syne) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--fuchsia) !important;
}
.today-session-link:hover { opacity: 0.7; }

/* ─────────────────────────────────────────────────────────
   CONNECTIONS PAGE — dark-theme correct
   ───────────────────────────────────────────────────────── */

.conn-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
}

.conn-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px;
}

.conn-card-active {
  border-color: rgba(255,255,255,0.12);
}

.conn-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.conn-card-identity {
  display: flex;
  align-items: center;
  gap: 13px;
}

.conn-card-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.conn-card-name {
  font-family: var(--syne);
  font-size: 16px;
  font-weight: 900;
  color: rgba(246,247,248,0.95);
  margin-bottom: 3px;
}

.conn-card-desc {
  font-size: 12px;
  color: rgba(246,247,248,0.45);
  line-height: 1.5;
}

.conn-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.conn-status-live {
  background: rgba(46,196,182,0.15);
  color: #2EC4B6;
}

.conn-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2EC4B6;
  animation: pulse-dot 2s infinite;
}

.conn-status-bar {
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.conn-status-bar-ok {
  background: rgba(46,196,182,0.07);
  border: 1px solid rgba(46,196,182,0.2);
}

.conn-status-bar-label {
  font-size: 12px;
  color: #2EC4B6;
  font-weight: 700;
}

.conn-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.conn-stat {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.conn-stat-val {
  font-family: var(--syne);
  font-size: 18px;
  font-weight: 900;
  color: rgba(246,247,248,0.92);
  line-height: 1.1;
  margin-bottom: 4px;
}

.conn-stat-lbl {
  font-size: 10px;
  color: rgba(246,247,248,0.38);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.conn-card-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.conn-btn {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--inter);
  border: none;
  transition: opacity 0.15s;
}

.conn-btn:hover { opacity: 0.82; }

.conn-btn-primary {
  color: rgba(246,247,248,0.95);
}

.conn-btn-ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(246,247,248,0.6);
  border: 1px solid rgba(255,255,255,0.1) !important;
}

/* Future / coming soon grid */
.conn-future-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.conn-future-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 16px;
  opacity: 0.55;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: opacity 0.2s;
}

.conn-future-card:hover { opacity: 0.8; }

.conn-future-logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.conn-future-name {
  font-family: var(--syne);
  font-size: 13px;
  font-weight: 900;
  color: rgba(246,247,248,0.85);
}

.conn-future-desc {
  font-size: 11px;
  color: rgba(246,247,248,0.4);
  line-height: 1.5;
}

.conn-future-chip {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(246,247,248,0.3);
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 3px 9px;
}

/* ─────────────────────────────────────────────────────────
   THIS WEEK — 2-column main layout
   ───────────────────────────────────────────────────────── */

.tw3-main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  align-items: start; /* each col natural height — JS syncs coach to metrics */
}

.tw3-metrics-col {
  display: flex;
  flex-direction: column;
}

.tw3-coach-col {
  display: flex;
  flex-direction: column;
  /* match the metrics column height exactly */
  align-self: stretch;
}

/* Override perf panel margin since it now lives inside a col */
.tw3-metrics-col .tw3-perf-panel {
  margin-bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Volume hero row inside dark panel */
.tw3-metric-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tw3-mh-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.tw3-mh-body {
  flex: 1;
}

/* Stats 3-column grid */
.tw3-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex: 1;
}

.tw3-sg-cell {
  padding: 16px 18px;
  border-right: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tw3-sg-cell:last-child { border-right: none; }

.tw3-sg-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

/* Wellness bar: add icon slot */
.tw3-pb {
  position: relative;
}

.tw3-pb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

/* Coach card — height set by JS to match metrics panel */
.tw3-coach-col {
  min-height: 0;
}

.tw3-coach-read-card-side {
  /* height is injected via JS: style.height = metricsPanel.offsetHeight + 'px' */
  display: flex;
  flex-direction: column;
  margin-bottom: 0 !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* Prose fills remaining card space, clips when card height is set */
.tw3-coach-read-card-side .tw3-cr-prose {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* Gradient fade at bottom when not expanded */
.tw3-coach-read-card-side:not(.tw3-coach-expanded) .tw3-cr-prose::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: linear-gradient(to bottom, transparent, #0c1e2e);
  pointer-events: none;
}

/* Expanded: release the fixed height */
.tw3-coach-read-card-side.tw3-coach-expanded {
  height: auto !important;
  overflow: visible;
}
.tw3-coach-read-card-side.tw3-coach-expanded .tw3-cr-prose {
  overflow: visible;
  flex: none;
}
.tw3-coach-read-card-side.tw3-coach-expanded .tw3-cr-prose::after {
  display: none;
}

/* Coach prose key phrases highlighted */
.tw3-cr-prose strong,
.tw3-cr-prose b {
  color: var(--orange);
  font-weight: 700;
}

.tw3-cr-prose em {
  color: rgba(246,247,248,0.9);
  font-style: normal;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────
   THIS WEEK — Week roulette carousel
   ───────────────────────────────────────────────────────── */

.tw3-roulette-wrap {
  margin-bottom: 20px;
}

.tw3-roulette-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tw3-roulette-header .tw3-cmp-title {
  margin-bottom: 0;
}

.tw3-roulette-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tw3-rnav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tw3-rnav-btn:hover {
  background: rgba(255,51,102,0.15);
  color: var(--orange);
  border-color: rgba(255,51,102,0.3);
}

.tw3-rnav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.tw3-roulette-pos {
  font-family: var(--syne);
  font-size: 11px;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  min-width: 38px;
  text-align: center;
}

/* Stage: grid — equal-width side columns, side cards sit at top (natural height) */
.tw3-roulette-stage {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 12px;
  align-items: start;
  overflow: hidden;
}

.tw3-roulette-loading {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  padding: 28px 0;
  text-align: center;
  width: 100%;
}

/* Individual week cards */
.tw3-rw-card {
  border-radius: 14px;
  padding: 20px;
  transition: all 0.35s cubic-bezier(0.34, 1.1, 0.64, 1);
  flex-shrink: 0;
  cursor: pointer;
}

/* Center = current week (big, bright) */
.tw3-rw-card-center {
  flex: 1;
  background: linear-gradient(150deg, #0f2035 0%, #011627 100%);
  border: 1px solid rgba(255,51,102,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,51,102,0.1);
  transform: scale(1);
  z-index: 2;
}

/* Side cards — straight, faded, fill their grid column */
.tw3-rw-card-side {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transform: none;
  opacity: 0.6;
  pointer-events: none;
  width: 100%;
}

.tw3-rw-card-side.tw3-rw-left,
.tw3-rw-card-side.tw3-rw-right {
  transform: none;
  transform-origin: unset;
}

/* Card inner layout */
.tw3-rw-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.tw3-rw-title {
  font-family: var(--syne);
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,0.9);
  letter-spacing: -0.01em;
}

.tw3-rw-range {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 2px;
}

.tw3-rw-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 3px 9px;
  border-radius: 20px;
}

.tw3-rw-badge-current {
  background: rgba(255,51,102,0.18);
  color: var(--orange);
}

.tw3-rw-badge-past {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.4);
}

.tw3-rw-badge-next {
  background: rgba(32,164,243,0.15);
  color: var(--blue);
}

/* Metric rows inside card */
.tw3-rw-metrics {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tw3-rw-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tw3-rw-metric:last-child { border-bottom: none; }

.tw3-rw-metric-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 7px;
}

.tw3-rw-metric-lbl svg { flex-shrink: 0; opacity: 0.6; }

.tw3-rw-metric-val {
  font-family: var(--syne);
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
}

.tw3-rw-metric-delta {
  font-size: 10px;
  margin-left: 5px;
  font-weight: 600;
}

.tw3-rw-delta-up   { color: #2EC4B6; }
.tw3-rw-delta-down { color: rgba(255,255,255,0.3); }
.tw3-rw-delta-warn { color: var(--orange); }

/* Volume bar inside card */
.tw3-rw-vol-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  margin: 10px 0 4px;
  overflow: hidden;
}

.tw3-rw-vol-bar-f {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  transition: width 0.7s ease;
}

/* Day-by-day rows inside roulette center card */
.tw3-rw-day-rows {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* Add a small label above the rows */
.tw3-rw-day-rows::before {
  content: 'Day by day';
  display: block;
  font-family: var(--syne);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 10px;
}

/* Roulette card — per-column day rows */
.tw3-rw-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tw3-rw-row:last-child { border-bottom: none; }

.tw3-rw-row-today { background: rgba(255,51,102,0.04); border-radius: 6px; padding: 6px 6px; margin: 0 -6px; }

.tw3-rw-row-day {
  font-family: var(--syne);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.28);
  width: 26px;
  flex-shrink: 0;
  padding-top: 2px;
}

.tw3-rw-row-day.today { color: var(--orange); }

.tw3-rw-row-cell {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.tw3-rw-cell-name {
  font-size: 12px;
  font-weight: 600;
  color: rgba(246,247,248,0.82);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tw3-rw-cell-meta {
  font-size: 11px;
  color: rgba(246,247,248,0.38);
}

.tw3-rw-cell-rest {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-style: italic;
}

/* Reuse tw3-sw badge styles inside roulette */
.tw3-rw-sw {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 2px 7px;
  border-radius: 10px;
}

.tw3-rw-sw.done    { background: rgba(46,196,182,0.15); color: #2EC4B6; }
.tw3-rw-sw.missed  { background: rgba(255,51,102,0.12); color: var(--orange); }
.tw3-rw-sw.mod     { background: rgba(32,164,243,0.12); color: var(--blue); }
.tw3-rw-sw.today   { background: rgba(255,51,102,0.18); color: var(--orange); }

/* Center card — show only this-week column from comparison rows */
.tw3-rw-center-days .tw3-cmp-cols,
.tw3-rw-center-days .tw3-wrow {
  grid-template-columns: 44px 1fr !important;
  gap: 7px !important;
}

/* All three center variants: collapse to 2-col grid (day-label + data) */
.tw3-rw-center-days-last .tw3-cmp-cols,
.tw3-rw-center-days-last .tw3-wrow,
.tw3-rw-center-days-current .tw3-cmp-cols,
.tw3-rw-center-days-current .tw3-wrow,
.tw3-rw-center-days-next .tw3-cmp-cols,
.tw3-rw-center-days-next .tw3-wrow {
  grid-template-columns: 44px 1fr !important;
  gap: 7px !important;
}

/* LAST WEEK center: show col 2, hide cols 3+4 */
.tw3-rw-center-days-last .tw3-cmp-cols > *:nth-child(3),
.tw3-rw-center-days-last .tw3-cmp-cols > *:nth-child(4),
.tw3-rw-center-days-last .tw3-wrow > *:nth-child(3),
.tw3-rw-center-days-last .tw3-wrow > *:nth-child(4) { display: none !important; }
.tw3-rw-center-days-last .tw3-wrow > *:nth-child(2) { display: block; }

/* THIS WEEK center: show col 3, hide cols 2+4 */
.tw3-rw-center-days-current .tw3-cmp-cols > *:nth-child(2),
.tw3-rw-center-days-current .tw3-cmp-cols > *:nth-child(4),
.tw3-rw-center-days-current .tw3-wrow > *:nth-child(2),
.tw3-rw-center-days-current .tw3-wrow > *:nth-child(4) { display: none !important; }
.tw3-rw-center-days-current .tw3-wrow > *:nth-child(3) { display: block; }

/* NEXT WEEK center: show col 4, hide cols 2+3 */
.tw3-rw-center-days-next .tw3-cmp-cols > *:nth-child(2),
.tw3-rw-center-days-next .tw3-cmp-cols > *:nth-child(3),
.tw3-rw-center-days-next .tw3-wrow > *:nth-child(2),
.tw3-rw-center-days-next .tw3-wrow > *:nth-child(3) { display: none !important; }
.tw3-rw-center-days-next .tw3-wrow > *:nth-child(4) { display: block; }

/* Center card fills its grid column */
.tw3-rw-card-center {
  width: 100%;
  min-width: 0;
}
/* Roulette card — compact horizontal stat strip */
.tw3-rw-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
}

.tw3-rw-stat {
  flex: 1;
  text-align: center;
}

.tw3-rw-stat-val {
  font-family: var(--syne);
  font-size: 16px;
  font-weight: 900;
  color: rgba(246,247,248,0.92);
  line-height: 1.1;
  margin-bottom: 3px;
}

.tw3-rw-stat-target {
  font-size: 11px;
  font-weight: 600;
  color: rgba(246,247,248,0.35);
}

.tw3-rw-stat-lbl {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(246,247,248,0.3);
}

.tw3-rw-stat-feel {
  font-size: 12px !important;
  color: var(--teal) !important;
}

.tw3-rw-stat-div {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

/* Sparkline hidden by default — shown only when card is expanded */
.tw3-spark-wrap {
  display: none;
  padding: 0 14px 12px !important;
  opacity: 1 !important;
}
.tw3-dc[aria-expanded="true"] .tw3-spark-wrap {
  display: block;
}
.tw3-workout-spark {
  height: 56px !important;
}

/* Compact collapsed card */
.tw3-dc {
  border-left-width: 3px !important;
  border-radius: 10px !important;
}
.tw3-dc-head {
  padding: 9px 12px !important;
  gap: 9px !important;
}
.tw3-dc-name {
  font-size: 13px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.2 !important;
}
.tw3-dc-m {
  font-size: 11px !important;
  color: rgba(246,247,248,0.45) !important;
}
.tw3-dc-meta { margin-top: 2px !important; }
.tw3-sw {
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
}
.tw3-dc-sdot {
  width: 7px !important;
  height: 7px !important;
}
.tw3-dc.done .tw3-spark-wrap   { opacity: 0.65 !important; filter: none !important; }
.tw3-dc.missed .tw3-spark-wrap { opacity: 0.35 !important; filter: grayscale(0.4) !important; }

/* Tighter day rows in roulette center card */
.tw3-rw-center-days-current .tw3-wrow,
.tw3-rw-center-days-last .tw3-wrow,
.tw3-rw-center-days-next .tw3-wrow {
  margin-bottom: 5px !important;
  gap: 0 !important;
}

/* (duplicate block removed — see rules above) */

/* Show more button — inline below prose */
.tw3-coach-show-more {
  position: static;
  margin-top: 8px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--syne);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--orange);
  opacity: 0.85;
  transition: opacity 0.15s;
}

.tw3-coach-show-more:hover { opacity: 1; }

.tw3-coach-show-more svg {
  transition: transform 0.25s;
  flex-shrink: 0;
}

.tw3-coach-expanded .tw3-coach-show-more {
  position: static;
  margin-top: 10px;
}

.tw3-coach-expanded .tw3-coach-show-more svg {
  transform: rotate(180deg);
}
