/*
 * CHOPPD cosmetic refresh - flat, quiet, data-first.
 *
 * This file only overrides styles.css. To revert the look completely, delete the
 * <link rel="stylesheet" href="./theme-refresh.css"> line in index.html
 * (a copy of the original files is in ./backup-before-refresh/).
 */

/* ---------- tokens ---------- */

:root {
  --bg: #f4f5f7;
  --panel: #ffffff;
  --surface-2: #f7f8fa;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e3e7ed;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e3ebfd;
  --steel: #3f4650;
  --danger: #dc2626;
  --amber: #d97706;
  --ok: #16a34a;
  --shadow: none;
  --radius: 10px;
}

:root[data-theme="dark"] {
  --bg: #0e0e10;
  --panel: #161618;
  --surface-2: #1c1c1f;
  --ink: #ececee;
  --muted: #8e8e96;
  --line: #2a2a2e;
  --accent: #3b6fd8;
  --accent-dark: #7fa6ee;
  --accent-soft: #172440;
  --steel: #b8b8c0;
  --danger: #ff7b72;
  --amber: #e3a03c;
  --ok: #3fb96a;
  --shadow: none;
}

/* ---------- base ---------- */

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

.app-shell {
  width: min(1180px, calc(100vw - 40px));
  padding: 20px 0 48px;
}

h1, h2, h3 { font-style: normal; }

/* ---------- header ---------- */

.topbar {
  align-items: center;
  padding: 0 0 16px;
  margin-bottom: 18px;
  border-left: 0;
  border-bottom: 1px solid var(--line);
}

.topbar .eyebrow { display: none; }

.topbar h1 {
  margin: 0;
  font-family: inherit;
  font-style: normal;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  line-height: 1.1;
}

.topbar h2 {
  margin: 4px 0 0;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.topbar p { margin: 0; }
.topbar p:empty { display: none; }
.topbar em { font-style: normal; font-size: 0.78rem; color: var(--muted); }

.account-strip,
.topbar-ftp { font-weight: 600; font-size: 0.82rem; }

/* Header layout: brand left, one tidy utility row right, device chips on their own slim row. */
.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  padding-bottom: 14px;
}

.topbar-actions { display: contents; }

.topbar-utils {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.topbar-utils .account-strip { gap: 10px; }
.topbar-utils .topbar-ftp { gap: 6px; }
.topbar-utils .topbar-ftp input { min-height: 30px; width: 70px; padding: 4px 8px; }

[hidden] { display: none !important; }

/* Tabs on the left, device chips on the right of the same row. */
.nav-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.nav-row .app-nav { margin-bottom: 0; }

.device-strip-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-items: unset;
  margin-left: auto;
  gap: 8px 14px;
}

.device-strip { justify-content: flex-start; gap: 8px; }

.device-button {
  min-width: 0;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 999px;
  gap: 8px;
}

.device-button > span:last-child { display: flex; align-items: baseline; gap: 6px; }
.device-button strong,
.device-button small { display: inline; margin: 0; }

.device-hint { font-size: 0.72rem; color: var(--muted); }

/* ---------- surfaces ---------- */

.builder-panel,
.preview-section,
.planner-panel,
.catalog-panel,
.history-panel,
.target-block,
.metric-board,
.timeline-wrap,
.completion-panel,
.plan-panel {
  border-radius: var(--radius);
  box-shadow: none;
}

.plan-panel { background: transparent; border: 0; padding: 0; }

.section-heading h2,
.compact-heading h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* ---------- controls ---------- */

.device-button,
.primary-button,
.secondary-button,
.danger-button,
.icon-button {
  border-radius: 8px;
  min-height: 38px;
  font-weight: 600;
  letter-spacing: 0.005em;
  box-shadow: none;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}

.compact-button { min-height: 30px; font-size: 0.8rem; }

.primary-button { background: var(--accent); color: #fff; }
.primary-button:hover { background: var(--accent); filter: brightness(1.1); box-shadow: none; }

.secondary-button,
.icon-button { background: transparent; border-color: var(--line); color: var(--ink); }
.secondary-button:hover,
.icon-button:hover { background: var(--surface-2); border-color: var(--muted); }

.danger-button { background: transparent; border-color: var(--line); color: var(--danger); }
.danger-button:hover { background: var(--surface-2); border-color: var(--danger); }

#disconnect-strava:disabled { background: transparent; border-color: var(--ok); color: var(--ok); }

/* device status chips */
.device-button { min-width: 150px; background: var(--panel); border-color: var(--line); padding: 6px 12px; }
.device-button strong { font-size: 0.8rem; font-weight: 700; }
.device-button small { font-size: 0.72rem; color: var(--muted); }
.device-dot { width: 8px; height: 8px; background: var(--line); }
.device-button.connected { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.device-button.connected .device-dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }
.device-button.connecting .device-dot { background: var(--amber); box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 18%, transparent); }

/* nav as a segmented control */
.app-nav {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  margin-bottom: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.app-nav .secondary-button,
.app-nav button {
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  border-radius: 7px;
}

.app-nav .secondary-button:hover,
.app-nav button:hover { background: transparent; color: var(--ink); }

.app-nav .active,
.app-nav button.active { background: var(--panel); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }

/* inputs */
.field input,
.field select,
.field textarea,
.interval-row input,
.topbar-ftp input,
.plan-day input[type="number"] {
  border-radius: 8px;
  background: var(--surface-2);
  border-color: var(--line);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.interval-row input:focus,
.topbar-ftp input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

.field span,
.row-field span { font-weight: 600; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; }

.interval-row { border-radius: 8px; background: var(--surface-2); }

.save-status,
.ai-workout-status { color: var(--muted); font-weight: 600; }

.duration-pill { font-weight: 600; }

/* theme switch */
.theme-toggle { font-weight: 600; font-size: 0.78rem; }

/* ---------- sign-in ---------- */

.auth-card { border-radius: 14px; }

.auth-card-left {
  background: var(--surface-2);
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.auth-card-left .eyebrow { color: var(--muted); }
.auth-card-left h2 { color: var(--ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.01em; }
.auth-card-left p { color: var(--muted); font-weight: 500; }
.auth-features li { color: var(--ink); font-weight: 500; }
.auth-features li::before { background: var(--accent-soft); color: var(--accent); }

/* ---------- plan ---------- */

.plan-index-item,
.plan-next { border-radius: var(--radius); }

.plan-next { background: var(--accent-soft); border-color: transparent; }
.plan-next small { color: var(--muted); }

.plan-week { border-radius: var(--radius); background: var(--panel); }

.plan-week > summary span {
  background: var(--surface-2);
  color: var(--muted);
  border: 1px solid var(--line);
  font-weight: 600;
}

.plan-week.recovery > summary span { color: var(--ok); }

.plan-cell { background: var(--surface-2); border: 1px solid transparent; border-radius: 8px; }
.plan-cell.today { border-color: var(--accent); background: var(--panel); }
.plan-cell.drop-target { background: var(--accent-soft); border-color: var(--accent); }

.plan-session { border-radius: 8px; background: var(--panel); border-color: var(--line); }
.plan-session.done { border-left: 3px solid var(--ok); }
.plan-add-ride { border-radius: 6px; }

.plan-type {
  font-weight: 700;
  letter-spacing: 0.06em;
  --hue: var(--muted);
  color: var(--hue);
  background: color-mix(in srgb, var(--hue) 14%, transparent);
}

.plan-type.type-endurance,
.plan-type.type-recovery { --hue: #16a34a; color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); }
.plan-type.type-tempo { --hue: #ca8a04; color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); }
.plan-type.type-sweetspot { --hue: #ea580c; color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); }
.plan-type.type-threshold,
.plan-type.type-overunder { --hue: #dc2626; color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); }
.plan-type.type-vo2 { --hue: #9333ea; color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); }
.plan-type.type-external { --hue: var(--steel); color: var(--hue); background: color-mix(in srgb, var(--hue) 14%, transparent); }

:root[data-theme="dark"] .plan-type.type-endurance,
:root[data-theme="dark"] .plan-type.type-recovery { --hue: #4ade80; }
:root[data-theme="dark"] .plan-type.type-tempo { --hue: #facc15; }
:root[data-theme="dark"] .plan-type.type-sweetspot { --hue: #fb923c; }
:root[data-theme="dark"] .plan-type.type-threshold,
:root[data-theme="dark"] .plan-type.type-overunder { --hue: #f87171; }
:root[data-theme="dark"] .plan-type.type-vo2 { --hue: #c084fc; }
:root[data-theme="dark"] .plan-type.type-external { --hue: var(--steel); }
:root[data-theme="dark"] .plan-type { color: var(--hue); }

.plan-add-choices { display: grid; gap: 10px; }
.plan-add-choices h3 { margin: 0 0 4px; font-size: 1rem; }
.plan-add-choices button { justify-content: flex-start; text-align: left; padding: 10px 14px; }
.plan-type.type-custom { --hue: var(--accent-dark); color: var(--hue); background: color-mix(in srgb, var(--accent) 16%, transparent); }

.plan-origin-tag {
  justify-self: start;
  display: inline-block;
  width: fit-content;
  padding: 1px 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- squarer corners ---------- */
/* Every element gets a small radius; only status dots and the toggle stay round. */
* { border-radius: 4px !important; }
.device-dot,
.theme-toggle .switch { border-radius: 999px !important; }
.plan-dialog { border-radius: 6px !important; }

/* ---------- preview / ride charts: accent-tinted instead of pastel blue ---------- */

.profile-bar {
  background: color-mix(in srgb, var(--accent) calc(35% + var(--bar-intensity) * 0.65), var(--surface-2));
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.duration-pill { background: var(--accent-soft); color: var(--accent-dark); }

.segment-card { border-left-width: 3px; }

/* ---- live ride chart (power profile, trainer-road style) ---- */
.timeline-wrap { padding: 0; overflow: hidden; }
.ride-live-chart {
  width: 100%;
  min-height: 0;
  background: var(--panel);
  border: 1px solid var(--line);
}
.rc-legend {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 8px 12px 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}
.rc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.rc-legend span::before { content: ""; width: 14px; height: 8px; background: currentColor; }
.rc-legend .target { color: var(--accent); }
.rc-legend .power { color: var(--ink); }
.rc-legend .power::before, .rc-legend .hr::before { height: 2px; }
.rc-legend .hr { color: #e5484d; }
.rc-svg { display: block; width: 100%; height: auto; }
.rc-grid { stroke: color-mix(in srgb, var(--muted) 22%, transparent); stroke-width: 1; }
.rc-grid.base { stroke: color-mix(in srgb, var(--muted) 55%, transparent); }
.rc-tick { stroke: color-mix(in srgb, var(--muted) 55%, transparent); }
.rc-axis { fill: var(--muted); font-size: 11px; font-family: inherit; }
.rc-axis.ftp { font-size: 10px; letter-spacing: 0.02em; }
.rc-ftp { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 4; opacity: 0.7; }
.rc-block { fill: var(--accent); }
.rc-block.z1 { fill-opacity: 0.12; }
.rc-block.z2 { fill-opacity: 0.18; }
.rc-block.z3 { fill-opacity: 0.25; }
.rc-block.z4 { fill-opacity: 0.32; }
.rc-block.z5 { fill-opacity: 0.4; }
.rc-block.current { fill-opacity: 0.5; }
.rc-block-done { fill: var(--accent); }
.rc-block-done.z1 { fill-opacity: 0.3; }
.rc-block-done.z2 { fill-opacity: 0.42; }
.rc-block-done.z3 { fill-opacity: 0.55; }
.rc-block-done.z4 { fill-opacity: 0.7; }
.rc-block-done.z5 { fill-opacity: 0.85; }
.rc-block-top { stroke: var(--accent); stroke-width: 2; }
.rc-block-top.current { stroke: var(--ink); }
.rc-target-label { fill: var(--ink); font-size: 12px; font-weight: 700; }
.rc-power { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.rc-hr { fill: none; stroke: #e5484d; stroke-width: 1.4; stroke-linejoin: round; opacity: 0.85; }
.rc-now { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.7; }
.rc-now-dot { fill: var(--ink); stroke: var(--panel); stroke-width: 2; }
.chart-legend .cadence { color: var(--muted); }

/* ---- history: intervals.icu panel, overview, badges ---- */
.icu-panel { border: 1px solid var(--line); background: var(--panel); margin-bottom: 12px; }
.icu-panel > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; cursor: pointer; list-style: none; }
.icu-panel > summary::-webkit-details-marker { display: none; }
.icu-panel > summary::after { content: "+"; color: var(--muted); font-size: 1.1rem; margin-left: auto; padding-left: 10px; }
.icu-panel[open] > summary::after { content: "\2212"; }
.icu-panel > summary .duration-pill { margin-left: auto; }
#icu-pill.on { background: var(--accent); color: #fff; }
.icu-body { padding: 0 12px 12px; display: grid; gap: 10px; }
.icu-help, .icu-status { margin: 0; color: var(--muted); font-size: 0.82rem; }
.icu-status.error { color: #e5484d; }
.icu-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.icu-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.manual-ride .history-external-form { padding: 0 12px 12px; }
a.secondary-button { display: inline-flex; align-items: center; text-decoration: none; }

.history-overview { display: grid; gap: 12px; margin-bottom: 12px; }
.history-overview:empty { display: none; }
.history-summary { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.history-chart { border: 1px solid var(--line); background: var(--panel); padding: 10px 12px 4px; }
.history-chart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 0.82rem; }
.rc-legend-inline { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.rc-legend-inline i { display: inline-block; width: 10px; height: 10px; margin-left: 6px; }
.hv-app-key { background: var(--accent); }
.hv-other-key { background: color-mix(in srgb, var(--muted) 60%, transparent); }
.hv-svg { display: block; width: 100%; height: auto; }
.hv-grid { stroke: color-mix(in srgb, var(--muted) 25%, transparent); }
.hv-axis { fill: var(--muted); font-size: 11px; }
.hv-app { fill: var(--accent); }
.hv-other { fill: color-mix(in srgb, var(--muted) 60%, transparent); }
.history-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.history-chip { border: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: 5px 10px; font: inherit; font-size: 0.82rem; font-weight: 600; cursor: pointer; }
.history-chip span { opacity: 0.7; margin-left: 4px; }
.history-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.history-badges { display: flex; flex-wrap: wrap; gap: 5px; margin: 3px 0; }
.history-badge { border: 1px solid var(--accent); color: var(--accent-dark); background: var(--accent-soft); padding: 1px 7px; font-size: 0.72rem; font-weight: 600; }
.history-badge.muted { border-color: var(--line); background: transparent; color: var(--muted); }
.history-badge.plan { background: var(--accent); border-color: var(--accent); color: #fff; }
/* big target numbers follow the text colour (white in dark theme) */
.target-watts span { color: var(--ink); }
/* ---- plan: completed sessions ---- */
.plan-session.done { background: color-mix(in srgb, var(--accent) 12%, var(--panel)); border-left: 3px solid var(--accent); }
.plan-session.done .plan-session-main strong { color: var(--muted); }
.plan-session.done .plan-type { opacity: 0.7; }
.plan-session.skipped { opacity: 0.55; border-style: dashed; }
.plan-session.skipped .plan-session-main strong { text-decoration: line-through; }
.plan-done-badge, .plan-skip-badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 7px; margin-right: 6px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.plan-done-badge { background: var(--accent); color: #fff; }
.plan-skip-badge { border: 1px solid var(--line); color: var(--muted); }
.plan-flag { display: inline-block; margin-top: 4px; padding: 0 6px; border: 1px solid var(--line); color: var(--muted); font-size: 0.7rem; font-weight: 600; }
.plan-done-badge, .plan-skip-badge { align-self: flex-start; margin-bottom: 4px; }

#strava-pill.on { background: var(--accent); color: #fff; }

/* ---- compact connections bar ---- */
.icu-panel > summary { padding: 6px 10px; font-size: 0.85rem; }
.icu-panel > summary strong { font-size: 0.85rem; font-weight: 600; }
.icu-panel > summary .duration-pill, .conn-pills .duration-pill { font-size: 0.7rem; padding: 1px 8px; }
.icu-panel > summary .duration-pill { margin-left: 0; }
.conn-pills { display: inline-flex; gap: 6px; margin-left: auto; }
#icu-pill::before { content: "intervals.icu: "; }
#strava-pill::before { content: "Strava: "; }
.icu-panel { margin-bottom: 8px; }
.conn-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; padding: 4px 12px 12px; }
.conn-section { display: grid; gap: 8px; align-content: start; }
.conn-section h3 { margin: 0; font-size: 0.85rem; }
.icu-actions .compact-button, .icu-fields .field input { font-size: 0.8rem; }
/* ---- plan: weekly load and other activities ---- */
.plan-week-meter { display: block; flex-basis: 100%; height: 3px; background: var(--line); margin-top: 6px; }
.plan-week-meter i { display: block; height: 100%; background: var(--accent); }
.plan-week-meter.over i { background: #e5484d; }
.plan-other { padding: 3px 6px; border-left: 2px dashed var(--muted); background: transparent; color: var(--muted); font-size: 0.72rem; line-height: 1.25; margin-top: 4px; }
.plan-other-name { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-other small { display: block; opacity: 0.85; }
/* ---- weekly load chart (html bars) ---- */
.wk-note { margin: 4px 0 10px; color: var(--muted); font-size: 0.78rem; }
.wk-chart { display: grid; grid-template-columns: repeat(var(--weeks), minmax(0, 1fr)); gap: 6px; padding-bottom: 8px; }
.wk-col { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.wk-bar-area { display: flex; flex-direction: column; justify-content: flex-end; border-bottom: 1px solid color-mix(in srgb, var(--muted) 55%, transparent); }
.wk-total { text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--ink); height: 20px; line-height: 20px; }
.wk-seg { display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 600; overflow: hidden; }
.wk-seg.app { background: var(--accent); color: #fff; }
.wk-seg.other { background: color-mix(in srgb, var(--muted) 55%, var(--panel)); color: var(--ink); }
.wk-date { margin-top: 5px; text-align: center; font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.wk-now { text-align: center; font-size: 0.64rem; color: var(--accent-dark); min-height: 1em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.wk-col.current .wk-date { color: var(--ink); font-weight: 700; }

/* ---- connections bar: tidy pills ---- */
.icu-panel > summary { justify-content: flex-start; gap: 12px; }
.icu-panel > summary::after { margin-left: auto; }
.conn-pills { margin-left: 0; }
.conn-pills .duration-pill { display: inline-flex; gap: 0.35em; background: transparent; border: 1px solid var(--line); color: var(--muted); font-weight: 500; }
.conn-pills #icu-pill.on, .conn-pills #strava-pill.on { background: var(--accent-soft); border-color: transparent; color: var(--accent-dark); }
/* ---- library controls ---- */
.library-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.library-controls select, .library-controls input { background: var(--panel); color: var(--ink); border: 1px solid var(--line); padding: 7px 10px; font: inherit; font-size: 0.88rem; min-width: 0; }
.library-controls select { flex: 0 1 240px; }
.library-controls input { flex: 1 1 200px; }
/* ---- Peaks presets ---- */
.plan-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; margin-bottom: 12px; }
.plan-preset { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); cursor: pointer; }
.plan-preset:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.plan-preset input { margin-top: 3px; }
.plan-preset strong { display: block; font-size: 0.9rem; }
.plan-preset small { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 2px; }
.plan-preset-info { margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.plan-preset-info p { margin: 0 0 6px; }
.plan-preset-info p:last-child { margin-bottom: 0; }
.plan-preset-info strong { color: var(--ink); }
.plan-preset-on .plan-custom-only { display: none; }
.plan-note-line { display: block; margin-top: 4px; color: var(--muted); font-size: 0.72rem; line-height: 1.35; white-space: normal; }
.plan-session.plan-event { border-color: var(--accent); }