:root {
  color-scheme: dark;
  --orange: #f28a24;
  --ink: #111111;
  --field: rgba(235, 235, 235, .35);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body {
  min-height: 100vh;
  font-family: Inter, Arial, sans-serif;
  background: var(--ink);
  color: #f5f5f5;
}
.login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 32px 20px;
}
.background {
  position: fixed;
  inset: -14px;
  z-index: -2;
  background-image:
    linear-gradient(rgba(0,0,0,.70), rgba(0,0,0,.70)),
    url("nouveau-fond.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(1.5px);
  transform: scale(1.025);
}
.login-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0,0,0,.16);
}
/* Les champs restent centrés, sans panneau autour. */
.login-panel {
  width: min(100%, 280px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.field { margin: 0 0 18px; }
label {
  display: block;
  margin: 0 0 5px;
  text-align: center;
  color: var(--orange);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
}
input {
  display: block;
  width: 100%;
  height: 24px;
  padding: 0 5px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1px;
  outline: none;
  background: var(--field);
  color: #ffffff;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}
input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(242,138,36,.22);
}
.status {
  min-height: 16px;
  margin: 10px 0 0;
  color: #ffc18a;
  text-align: center;
  font-size: 12px;
}
@media (max-width: 480px) {
  .login-panel { width: min(100%, 260px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}


/* ── Running Coach · identité visuelle unifiée ── */
:root {
  --orange: #ff8a3d;
  --ink: #0b0d10;
  --surface: #14181d;
  --surface-raised: #1a2027;
  --surface-soft: rgba(255,255,255,.035);
  --border: rgba(255,255,255,.085);
  --text-main: #f4f5f6;
  --text-muted: #929ba5;
  --accent-lime: #c8f36a;
  --shadow-card: 0 18px 48px rgba(0,0,0,.22);
}
body:not(.login-shell) {
  background:
    radial-gradient(ellipse at 82% 0%, rgba(255,138,61,.075), transparent 34rem),
    radial-gradient(ellipse at 0% 70%, rgba(200,243,106,.035), transparent 30rem),
    var(--ink);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}
body:not(.login-shell) .background { opacity:.12; }
body:not(.login-shell) .eyebrow {
  color: var(--accent-lime);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .2em;
}
body:not(.login-shell) .muted,
body:not(.login-shell) .footer-note { color: var(--text-muted); }
body:not(.login-shell) .dashboard-title,
body:not(.login-shell) .page-title,
body:not(.login-shell) .title {
  color: #f7f8f8;
  font-weight: 650;
  letter-spacing: -.055em;
}
body:not(.login-shell) .panel,
body:not(.login-shell) .metric,
body:not(.login-shell) .stat-card,
body:not(.login-shell) .record-card,
body:not(.login-shell) .recent-chart-card,
body:not(.login-shell) .hall-of-fame,
body:not(.login-shell) .timeline-run-detail,
body:not(.login-shell) .activity-list,
body:not(.login-shell) .session-dialog {
  background: linear-gradient(145deg, rgba(28,34,41,.96), rgba(17,21,26,.98));
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}
body:not(.login-shell) .panel { padding: clamp(18px,2.2vw,26px); }
body:not(.login-shell) .metric,
body:not(.login-shell) .stat-card,
body:not(.login-shell) .record-card,
body:not(.login-shell) .recent-chart-card { padding: 18px; }
body:not(.login-shell) .metric-label,
body:not(.login-shell) .stat-label,
body:not(.login-shell) .filter-label,
body:not(.login-shell) .field label {
  color: #9ca6b0;
  letter-spacing: .11em;
  font-size: 10px;
  font-weight: 700;
}
body:not(.login-shell) .metric-value,
body:not(.login-shell) .stat-value { color:#fff; font-variant-numeric:tabular-nums; }
body:not(.login-shell) .app-sidebar {
  background: rgba(12,15,19,.94);
  border-right: 1px solid var(--border);
  box-shadow: 12px 0 36px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}
body:not(.login-shell) .sidebar-brand { color:#f5f6f7; font-weight:750; letter-spacing:-.035em; }
body:not(.login-shell) .sidebar-link {
  color:#9ba4ad;
  border:1px solid transparent;
  border-radius:11px;
  transition: background .18s ease,color .18s ease,border-color .18s ease;
}
body:not(.login-shell) .sidebar-link:hover {
  color:#fff;
  background:rgba(255,255,255,.055);
}
body:not(.login-shell) .sidebar-link.active {
  color:#fff;
  background:linear-gradient(100deg,rgba(255,138,61,.16),rgba(255,138,61,.045));
  border-color:rgba(255,138,61,.18);
}
body:not(.login-shell) button,
body:not(.login-shell) .action,
body:not(.login-shell) .submit,
body:not(.login-shell) .primary,
body:not(.login-shell) .logout {
  border-radius:11px;
  transition:transform .18s ease,background .18s ease,border-color .18s ease;
}
body:not(.login-shell) button:hover,
body:not(.login-shell) .action:hover,
body:not(.login-shell) .submit:hover,
body:not(.login-shell) .primary:hover { transform:translateY(-1px); }
body:not(.login-shell) input,
body:not(.login-shell) select,
body:not(.login-shell) textarea {
  color:#f4f5f6;
  background:rgba(7,10,13,.58);
  border:1px solid rgba(255,255,255,.12);
  border-radius:10px;
}
body:not(.login-shell) input:focus,
body:not(.login-shell) select:focus,
body:not(.login-shell) textarea:focus {
  outline:none;
  border-color:rgba(255,138,61,.7);
  box-shadow:0 0 0 3px rgba(255,138,61,.12);
}
body:not(.login-shell) .progress-track { background:rgba(255,255,255,.09); border-radius:99px; overflow:hidden; }
body:not(.login-shell) .progress-fill { background:linear-gradient(90deg,var(--orange),var(--accent-lime)); border-radius:99px; }
body:not(.login-shell) .status { color:#ffc18a; }
@media(max-width:760px) {
  body:not(.login-shell) .panel { border-radius:15px; }
  body:not(.login-shell) .app-sidebar { backdrop-filter:blur(20px); }
}
@media(prefers-reduced-motion:reduce) {
  body:not(.login-shell) button,
  body:not(.login-shell) .action,
  body:not(.login-shell) .submit,
  body:not(.login-shell) .primary { transition:none; }
}


/* Finitions propres à chaque écran */
body:not(.login-shell) .welcome {
  border:1px solid rgba(200,243,106,.14);
  border-radius:20px;
  background:linear-gradient(115deg,rgba(200,243,106,.055),rgba(255,255,255,.025) 48%,rgba(255,138,61,.055));
  box-shadow:var(--shadow-card);
}
body:not(.login-shell) .dashboard-nav a,
body:not(.login-shell) .nav-link,
body:not(.login-shell) .menu-toggle,
body:not(.login-shell) .week-controls button,
body:not(.login-shell) .action {
  border-radius:10px;
  background:rgba(255,255,255,.045);
  border-color:var(--border);
  color:#dfe4e8;
}
body:not(.login-shell) .dashboard-nav a:hover,
body:not(.login-shell) .nav-link.active,
body:not(.login-shell) .week-controls button:hover,
body:not(.login-shell) .action:hover {
  border-color:rgba(255,138,61,.42);
  background:rgba(255,138,61,.09);
  color:#fff;
}
body:not(.login-shell) .logout,
body:not(.login-shell) .submit {
  background:linear-gradient(120deg,#ff9b55,#ff7b32);
  border:1px solid rgba(255,174,116,.55);
  color:#17110b;
  font-weight:750;
  box-shadow:0 7px 20px rgba(255,125,50,.12);
}
body:not(.login-shell) .activity-list { padding:5px 14px; }
body:not(.login-shell) .activity-item { padding:15px 8px; border-bottom-color:rgba(255,255,255,.07); }
body:not(.login-shell) .activity-item:hover,
body:not(.login-shell) .activity-item[aria-pressed="true"] { background:rgba(255,138,61,.065); }
body:not(.login-shell) .detail-card,
body:not(.login-shell) .session-note {
  border-radius:12px;
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.075);
}
body:not(.login-shell) .detail-card strong,
body:not(.login-shell) .session-note strong { color:var(--accent-lime); }
body:not(.login-shell) .session-note { background:rgba(200,243,106,.035); }
body:not(.login-shell) .filter-select,
body:not(.login-shell) .inline-title-input,
body:not(.login-shell) .title-edit input { border-radius:10px; }
body:not(.login-shell) .day {
  border-radius:13px;
  border-color:rgba(255,255,255,.075);
  background:rgba(255,255,255,.022);
}
body:not(.login-shell) .day.today {
  border-color:rgba(200,243,106,.48);
  background:rgba(200,243,106,.035);
}
body:not(.login-shell) .day-head { border-bottom-color:rgba(255,255,255,.075); }
body:not(.login-shell) .day-name { color:#a4adb6; letter-spacing:.08em; }
body:not(.login-shell) .session {
  border-radius:8px;
  padding:9px;
  border-left-width:3px;
}
body:not(.login-shell) .session.easy { background:rgba(69,189,120,.09); }
body:not(.login-shell) .session.long { background:rgba(67,143,232,.09); }
body:not(.login-shell) .session.tempo { background:rgba(240,100,54,.09); }
body:not(.login-shell) .session.strength { background:rgba(168,121,232,.09); }
body:not(.login-shell) .session.done { opacity:.72; }
body:not(.login-shell) .stats-grid {
  border-color:rgba(255,255,255,.075);
}
body:not(.login-shell) .stat-card {
  background:transparent;
  border:0;
  box-shadow:none;
  border-radius:0;
}
body:not(.login-shell) .stat-value { color:var(--accent-lime); }
body:not(.login-shell) .week-summary { color:#aab3bc; }
body:not(.login-shell) .session-dialog {
  color:var(--text-main);
  background:#171d23;
}
body:not(.login-shell) .field small { color:#89939d; }
body:not(.login-shell) .empty-state {
  border-color:rgba(255,255,255,.12);
  border-radius:12px;
  background:rgba(255,255,255,.018);
}
body:not(.login-shell) .timeline-run-detail { border-radius:12px; }
body:not(.login-shell) .timeline-node { border-color:var(--accent-lime); }
body:not(.login-shell) .timeline-item:hover .timeline-node,
body:not(.login-shell) .timeline-item[aria-pressed="true"] .timeline-node {
  background:var(--accent-lime);
  box-shadow:0 0 0 5px rgba(200,243,106,.12);
}
@media(max-width:850px) {
  body:not(.login-shell) .activity-layout { grid-template-columns:1fr; }
  body:not(.login-shell) .week-grid { gap:7px; }
}
@media(max-width:520px) {
  body:not(.login-shell) .dashboard-page,
  body:not(.login-shell) .activities-page { padding:18px 13px; }
  body:not(.login-shell) .dashboard-top { margin-bottom:24px; }
  body:not(.login-shell) .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body:not(.login-shell) .metric-value { font-size:24px; }
  body:not(.login-shell) .activity-layout { grid-template-columns:minmax(0,1fr); }
  body:not(.login-shell) .filters { grid-template-columns:1fr; }
  body:not(.login-shell) .week-grid { grid-template-columns:1fr; }
}


/* Direction artistique inspirée de la référence mobile : noir profond, orange incandescent, lignes fines */
:root {
  --orange:#ff6a1a;
  --accent-lime:#ff8a3d;
  --ink:#07090b;
  --surface:#0e1115;
  --surface-raised:#12161b;
  --surface-soft:rgba(255,255,255,.025);
  --border:rgba(255,255,255,.095);
  --text-main:#f1f2f3;
  --text-muted:#89919a;
  --shadow-card:0 16px 38px rgba(0,0,0,.38);
}
body:not(.login-shell) {
  background:
    radial-gradient(ellipse at 50% -20%,rgba(255,91,22,.075),transparent 42rem),
    #07090b;
}
body:not(.login-shell) .background { opacity:.035; }
body:not(.login-shell) .eyebrow {
  color:#ff8a3d;
  letter-spacing:.2em;
  font-family:"Arial Narrow",Inter,sans-serif;
  text-transform:uppercase;
}
body:not(.login-shell) .dashboard-title,
body:not(.login-shell) .page-title,
body:not(.login-shell) .title,
body:not(.login-shell) .section-heading h2,
body:not(.login-shell) .welcome h2 {
  font-family:"Arial Narrow",Inter,sans-serif;
  text-transform:uppercase;
  letter-spacing:.055em;
  font-weight:700;
}
body:not(.login-shell) .panel,
body:not(.login-shell) .metric,
body:not(.login-shell) .stat-card,
body:not(.login-shell) .record-card,
body:not(.login-shell) .recent-chart-card,
body:not(.login-shell) .hall-of-fame,
body:not(.login-shell) .timeline-run-detail,
body:not(.login-shell) .activity-list,
body:not(.login-shell) .session-dialog {
  background:linear-gradient(155deg,rgba(17,21,26,.98),rgba(9,12,15,.99));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 12px 34px rgba(0,0,0,.32);
}
body:not(.login-shell) .welcome {
  border:1px solid rgba(255,106,26,.42);
  background:linear-gradient(135deg,rgba(255,106,26,.09),rgba(10,13,16,.97) 56%);
  box-shadow:0 0 26px rgba(255,91,22,.075),var(--shadow-card);
}
body:not(.login-shell) .metric,
body:not(.login-shell) .stat-card { border-radius:13px; }
body:not(.login-shell) .metric-value,
body:not(.login-shell) .stat-value,
body:not(.login-shell) .detail-card strong,
body:not(.login-shell) .session-note strong {
  color:#ff792b;
  text-shadow:0 0 18px rgba(255,91,22,.16);
}
body:not(.login-shell) .metric-label,
body:not(.login-shell) .stat-label,
body:not(.login-shell) .filter-label,
body:not(.login-shell) .field label { color:#a2a8ae; }
body:not(.login-shell) .app-sidebar {
  background:rgba(7,9,11,.97);
  border-right:1px solid rgba(255,255,255,.08);
  box-shadow:10px 0 34px rgba(0,0,0,.35);
}
body:not(.login-shell) .sidebar-brand { color:#f0f1f2; letter-spacing:.18em; }
body:not(.login-shell) .sidebar-link.active {
  color:#ff8a3d;
  background:linear-gradient(90deg,rgba(255,106,26,.16),rgba(255,106,26,.025));
  border-color:rgba(255,106,26,.28);
  box-shadow:inset 2px 0 #ff6a1a;
}
body:not(.login-shell) .sidebar-link:hover { color:#fff; background:rgba(255,255,255,.045); }
body:not(.login-shell) .logout,
body:not(.login-shell) .submit,
body:not(.login-shell) .primary {
  color:#ff8a3d !important;
  background:rgba(255,106,26,.08) !important;
  border:1px solid rgba(255,106,26,.68) !important;
  box-shadow:0 0 18px rgba(255,91,22,.08);
}
body:not(.login-shell) .logout:hover,
body:not(.login-shell) .submit:hover,
body:not(.login-shell) .primary:hover {
  color:#080a0c !important;
  background:#ff792b !important;
}
body:not(.login-shell) .dashboard-nav a,
body:not(.login-shell) .nav-link,
body:not(.login-shell) .menu-toggle,
body:not(.login-shell) .week-controls button,
body:not(.login-shell) .action {
  color:#c3c8cd;
  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.11);
}
body:not(.login-shell) .dashboard-nav a:hover,
body:not(.login-shell) .nav-link.active,
body:not(.login-shell) .week-controls button:hover,
body:not(.login-shell) .action:hover {
  color:#ff8a3d;
  border-color:rgba(255,106,26,.55);
  background:rgba(255,106,26,.07);
}
body:not(.login-shell) input,
body:not(.login-shell) select,
body:not(.login-shell) textarea {
  background:#090c0f;
  border-color:rgba(255,255,255,.13);
  border-radius:8px;
}
body:not(.login-shell) input:focus,
body:not(.login-shell) select:focus,
body:not(.login-shell) textarea:focus {
  border-color:#ff6a1a;
  box-shadow:0 0 0 2px rgba(255,106,26,.12),0 0 16px rgba(255,106,26,.07);
}
body:not(.login-shell) .progress-track { background:rgba(255,255,255,.1); }
body:not(.login-shell) .progress-fill { background:linear-gradient(90deg,#ff5415,#ff9a42); }
body:not(.login-shell) .day {
  background:rgba(255,255,255,.018);
  border-color:rgba(255,255,255,.08);
  border-radius:10px;
}
body:not(.login-shell) .day.today {
  border-color:rgba(255,106,26,.72);
  box-shadow:inset 0 0 18px rgba(255,106,26,.055),0 0 14px rgba(255,106,26,.055);
}
body:not(.login-shell) .session { background:rgba(255,255,255,.025); border-radius:6px; }
body:not(.login-shell) .session.easy { border-left-color:#ff9b4a; background:rgba(255,155,74,.07); }
body:not(.login-shell) .session.long { border-left-color:#ff6a1a; background:rgba(255,106,26,.08); }
body:not(.login-shell) .session.tempo { border-left-color:#ff4e38; background:rgba(255,78,56,.07); }
body:not(.login-shell) .session.strength { border-left-color:#c18bff; background:rgba(193,139,255,.07); }
body:not(.login-shell) .session.done { border-left-color:#888; }
body:not(.login-shell) .timeline-node {
  border-color:#ff6a1a;
  background:#0b0d10;
  box-shadow:0 0 10px rgba(255,106,26,.2);
}
body:not(.login-shell) .timeline-item:hover .timeline-node,
body:not(.login-shell) .timeline-item[aria-pressed="true"] .timeline-node {
  background:#ff6a1a;
  box-shadow:0 0 0 4px rgba(255,106,26,.13),0 0 15px rgba(255,106,26,.35);
}
body:not(.login-shell) .detail-card,
body:not(.login-shell) .session-note {
  background:rgba(255,255,255,.022);
  border:1px solid rgba(255,255,255,.075);
}
body:not(.login-shell) .session-note { border-color:rgba(255,106,26,.15); }
body:not(.login-shell) .empty-state {
  background:rgba(255,255,255,.015);
  border-color:rgba(255,255,255,.1);
}
@media(max-width:760px) {
  body:not(.login-shell) .dashboard-page,
  body:not(.login-shell) .activities-page { padding:18px 14px; }
}


/* Dashboard : hiérarchie multisport et graphiques lumineux */
.dashboard-status { margin:0 0 14px !important; }
.dashboard-page .section-heading { margin-top:38px; }
.dashboard-page #sports-title { letter-spacing:.04em; }
.dashboard-page #sport-statistics { margin-top:22px; }
.dashboard-page .sport-stats { display:grid; gap:9px; }
.dashboard-page .sport-row {
  display:grid;
  grid-template-columns:minmax(145px,1.4fr) repeat(3,minmax(0,1fr));
  align-items:center;
  gap:12px;
  padding:15px 16px;
  border:1px solid rgba(255,255,255,.075);
  border-radius:11px;
  background:linear-gradient(105deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
}
.dashboard-page .sport-row:first-child {
  padding:0 16px 8px;
  border:0;
  border-radius:0;
  background:none;
  box-shadow:none;
}
.dashboard-page .sport-name {
  color:#f0f1f2;
  font-size:13px;
  font-weight:700;
  letter-spacing:.025em;
}
.dashboard-page .sport-cell { display:flex; flex-direction:column; gap:4px; min-width:0; }
.dashboard-page .sport-cell strong {
  color:#ff792b;
  font-size:18px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  text-shadow:0 0 14px rgba(255,106,26,.22);
}
.dashboard-page .sport-cell span {
  color:#78828c;
  font-size:9px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.dashboard-page .sport-row:first-child .sport-name,
.dashboard-page .sport-row:first-child .sport-cell span {
  color:#7e8993;
  font-size:9px;
  font-weight:700;
  letter-spacing:.13em;
}
.dashboard-page .recent-summary-card,
.dashboard-page .recent-chart-card {
  background:linear-gradient(150deg,rgba(19,23,28,.98),rgba(8,11,14,.98));
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.dashboard-page .recent-summary-card strong,
.dashboard-page .recent-chart-heading strong {
  color:#ff792b;
  text-shadow:0 0 18px rgba(255,91,22,.3);
}
.dashboard-page .recent-chart-card {
  position:relative;
  overflow:hidden;
}
.dashboard-page .recent-chart-card::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:2px;
  background:linear-gradient(180deg,transparent,#ff6a1a,transparent);
  opacity:.7;
}
.dashboard-page .recent-chart svg {
  filter:drop-shadow(0 0 4px rgba(255,106,26,.2));
}
.dashboard-page .recent-chart svg polyline,
.dashboard-page .recent-chart svg path {
  filter:drop-shadow(0 0 3px currentColor) drop-shadow(0 0 7px rgba(255,106,26,.45));
}
.dashboard-page .recent-chart svg circle {
  filter:drop-shadow(0 0 4px rgba(255,106,26,.75));
  stroke:#fff;
  stroke-width:1.2;
}
.dashboard-page .recent-chart svg text { fill:#89939d; }
.dashboard-page .recent-chart svg line { stroke:rgba(255,255,255,.09); }
.dashboard-page .recent-evolution .section-heading { margin-bottom:16px; }
@media(max-width:760px) {
  .dashboard-page .sport-row { grid-template-columns:1.25fr repeat(3,minmax(0,1fr)); gap:7px; padding:13px 10px; }
  .dashboard-page .sport-cell strong { font-size:14px; }
  .dashboard-page .sport-name { font-size:11px; }
}
@media(max-width:420px) {
  .dashboard-page .sport-row { grid-template-columns:1.1fr repeat(3,minmax(0,1fr)); gap:5px; padding:12px 8px; }
  .dashboard-page .sport-cell strong { font-size:12px; }
  .dashboard-page .sport-cell span { font-size:8px; }
}


/* Refonte visuelle des statistiques en cartes et histogrammes façon Weekly Summary */
.dashboard-page .sport-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:12px;margin-top:18px}
.dashboard-page .sport-card{position:relative;overflow:hidden;padding:18px;border:1px solid rgba(255,255,255,.1);border-radius:13px;background:linear-gradient(150deg,#171b20,#0b0e11);box-shadow:0 12px 28px rgba(0,0,0,.28)}
.dashboard-page .sport-card::after{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#ff641b,rgba(255,100,27,0))}
.dashboard-page .sport-card-top{display:flex;justify-content:space-between;align-items:center}
.dashboard-page .sport-icon{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(255,111,35,.28);border-radius:10px;background:rgba(255,106,26,.09);font-size:17px}
.dashboard-page .sport-card-label{color:#77818b;font-size:9px;letter-spacing:.16em}
.dashboard-page .sport-card h3{margin:13px 0 12px;color:#f4f5f6;font-size:14px;font-weight:650}
.dashboard-page .sport-volume{display:flex;align-items:baseline;gap:8px}
.dashboard-page .sport-volume strong{color:#ff792b;font-size:30px;line-height:1;font-variant-numeric:tabular-nums;text-shadow:0 0 18px rgba(255,106,26,.25)}
.dashboard-page .sport-volume span{color:#8e98a1;font-size:11px}
.dashboard-page .sport-volume-track{height:4px;margin:13px 0 16px;overflow:hidden;border-radius:9px;background:rgba(255,255,255,.08)}
.dashboard-page .sport-volume-track span{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#ff5415,#ff9c48);box-shadow:0 0 10px rgba(255,106,26,.55)}
.dashboard-page .sport-card-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.dashboard-page .sport-card-metrics div{display:flex;flex-direction:column;gap:5px;min-width:0}
.dashboard-page .sport-card-metrics span{color:#74808a;font-size:8px;letter-spacing:.13em}
.dashboard-page .sport-card-metrics strong{color:#e8eaec;font-size:13px;font-weight:650;white-space:nowrap}
.dashboard-page .recent-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dashboard-page .recent-chart-card{border-radius:13px;background:linear-gradient(155deg,#171b20,#090c0f);border:1px solid rgba(255,255,255,.09);padding:18px}
.dashboard-page .recent-chart-card:first-child{grid-column:1/-1}
.dashboard-page .recent-chart{height:180px}
.dashboard-page .recent-chart svg{overflow:visible}
.dashboard-page .recent-chart svg .chart-grid line{stroke:rgba(255,255,255,.09);stroke-width:1}
.dashboard-page .recent-chart svg text{fill:#858e97;font-size:8px}
.dashboard-page .recent-chart svg .chart-bar{fill:#ff6a1a;filter:drop-shadow(0 0 4px rgba(255,106,26,.42))}
.dashboard-page .recent-chart-heading strong{color:#ff792b;font-size:22px}
@media(max-width:760px){.dashboard-page .recent-chart-grid{grid-template-columns:1fr}.dashboard-page .recent-chart-card:first-child{grid-column:auto}.dashboard-page .sport-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.dashboard-page .sport-cards{grid-template-columns:1fr}.dashboard-page .recent-chart-card{padding:14px}}


/* Courbe néon inspirée de la capture et cartes multisport sur une seule rangée */
.dashboard-page .recent-chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.dashboard-page .recent-chart-card:first-child{grid-column:auto}
.dashboard-page .recent-chart-card{padding:16px 14px 10px;background:linear-gradient(160deg,#11161b,#080b0e);border:1px solid rgba(255,255,255,.075);border-radius:12px}
.dashboard-page .recent-chart{height:158px;margin-top:8px}
.dashboard-page .recent-chart svg{overflow:visible}
.dashboard-page .recent-chart svg .chart-grid line{stroke:rgba(255,255,255,.075);stroke-width:.8}
.dashboard-page .recent-chart svg .chart-line{fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dashboard-page .recent-chart svg .chart-cursor{stroke:rgba(255,255,255,.32);stroke-width:.8;stroke-dasharray:2 3}
.dashboard-page .recent-chart svg .chart-point{fill:#ff9b35;stroke:#ffbd73;stroke-width:.7;opacity:.65}
.dashboard-page .recent-chart svg .chart-end-halo{fill:rgba(255,100,20,.08);stroke:#ff681d;stroke-width:1}
.dashboard-page .recent-chart svg .chart-end{fill:#ffbd73;stroke:#ff641b;stroke-width:1.2}
.dashboard-page .recent-chart svg .chart-pager-dot{fill:rgba(255,255,255,.2)}
.dashboard-page .recent-chart svg .chart-pager-dot.active{fill:#ff7626}
.dashboard-page .sport-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.dashboard-page .sport-card{min-width:0;padding:15px 13px}
.dashboard-page .sport-card h3{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-page .sport-volume strong{font-size:26px}
.dashboard-page .sport-card-metrics{gap:5px}
.dashboard-page .sport-card-metrics strong{font-size:11px}
@media(max-width:760px){
 .dashboard-page .recent-chart-grid{grid-template-columns:1fr}
 .dashboard-page .sport-cards{grid-template-columns:repeat(3,minmax(0,1fr));overflow-x:auto;padding-bottom:8px}
 .dashboard-page .sport-card{min-width:170px}
}


/* Correctif ferme : trois graphiques et les disciplines sur une seule rangée */
main.dashboard-page .recent-chart-grid {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  align-items:stretch;
  gap:10px !important;
}
main.dashboard-page .recent-chart-card {
  display:flex;
  flex-direction:column;
  min-width:0;
  width:100%;
}
main.dashboard-page .recent-chart {
  min-width:0;
  width:100%;
  height:135px;
}
main.dashboard-page #sport-statistics.sport-cards {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  width:100%;
  min-width:0;
  gap:10px !important;
  overflow:visible !important;
}
main.dashboard-page #sport-statistics .sport-card {
  min-width:0 !important;
  width:100%;
  padding:14px 11px;
}
main.dashboard-page #sport-statistics .sport-card h3 {
  white-space:normal;
  overflow-wrap:anywhere;
}
main.dashboard-page #sport-statistics .sport-card-metrics {
  grid-template-columns:1fr;
  gap:9px;
}
main.dashboard-page #sport-statistics .sport-card-metrics strong {
  white-space:normal;
  overflow-wrap:anywhere;
}
@media(max-width:760px) {
  main.dashboard-page .recent-chart-grid {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  main.dashboard-page .recent-chart-card { padding:9px 7px 6px; }
  main.dashboard-page .recent-chart { height:105px; }
  main.dashboard-page .recent-chart-heading { display:block; }
  main.dashboard-page .recent-chart-heading strong { display:block; font-size:14px; white-space:normal; }
  main.dashboard-page .recent-chart-note { font-size:8px; }
  main.dashboard-page #sport-statistics.sport-cards {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:6px !important;
  }
  main.dashboard-page #sport-statistics .sport-card { padding:10px 7px; }
  main.dashboard-page #sport-statistics .sport-volume strong { font-size:22px; }
  main.dashboard-page #sport-statistics .sport-card-metrics strong { font-size:10px; }
}


/* Suppression complète des lueurs sur les trois graphiques */
main.dashboard-page .recent-chart,
main.dashboard-page .recent-chart svg,
main.dashboard-page .recent-chart svg * {
  filter:none !important;
  -webkit-filter:none !important;
  text-shadow:none !important;
}
main.dashboard-page .recent-chart svg .chart-line {
  filter:none !important;
  stroke-width:1.8;
}
main.dashboard-page .recent-chart svg .chart-point,
main.dashboard-page .recent-chart svg .chart-end,
main.dashboard-page .recent-chart svg .chart-end-halo,
main.dashboard-page .recent-chart svg .chart-pager-dot.active {
  filter:none !important;
}
main.dashboard-page .recent-chart svg .chart-end-halo {
  fill:transparent !important;
  stroke:rgba(255,106,26,.45) !important;
}
main.dashboard-page .recent-chart svg .chart-end {
  fill:#ff9b35 !important;
  stroke:#ffc078 !important;
}
main.dashboard-page .recent-chart svg .chart-pager-dot.active {
  fill:#ff7626 !important;
}


/* Tableau de bord — reprendre le traitement visuel de l’onglet actif */
main.dashboard-page .metric,
main.dashboard-page .panel,
main.dashboard-page .timeline-run-detail,
main.dashboard-page .hall-of-fame,
main.dashboard-page .record-card,
main.dashboard-page .recent-chart-card,
main.dashboard-page .chart-view,
main.dashboard-page .goal-card,
main.dashboard-page .progress-card {
  border:1px solid rgba(255,138,61,.34) !important;
  background:linear-gradient(145deg,rgba(255,138,61,.075),rgba(255,255,255,.025) 48%,rgba(12,15,19,.96)) !important;
  box-shadow:inset 3px 0 0 rgba(255,112,36,.72),0 10px 28px rgba(0,0,0,.2) !important;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
main.dashboard-page .metric:hover,
main.dashboard-page .panel:hover,
main.dashboard-page .timeline-run-detail:hover,
main.dashboard-page .hall-of-fame:hover,
main.dashboard-page .record-card:hover,
main.dashboard-page .recent-chart-card:hover,
main.dashboard-page .chart-view:hover {
  border-color:rgba(255,151,83,.58) !important;
  background:linear-gradient(145deg,rgba(255,138,61,.11),rgba(255,255,255,.035) 48%,rgba(12,15,19,.98)) !important;
  box-shadow:inset 3px 0 0 #ff792b,0 12px 30px rgba(0,0,0,.28) !important;
}


/* Objectif principal — carte événement immersive */
main.dashboard-page .goal-section{margin:30px 0 34px;min-width:0}
main.dashboard-page .goal-hero{
 position:relative;isolation:isolate;overflow:hidden;padding:28px 30px 30px;
 border:1px solid rgba(255,119,42,.42);border-radius:22px;
 background:linear-gradient(112deg,#0d1013 0%,#101316 54%,#15100d 100%);
 box-shadow:inset 3px 0 0 #ff7626,0 18px 44px rgba(0,0,0,.3);
}
main.dashboard-page .goal-hero:before{
 content:"";position:absolute;z-index:-1;inset:0;
 background:radial-gradient(ellipse at 88% 56%,rgba(255,91,18,.23),transparent 34%),
 radial-gradient(ellipse at 75% 100%,rgba(255,112,34,.09),transparent 42%);
 pointer-events:none;
}
main.dashboard-page .goal-hero-top{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}
main.dashboard-page .goal-heading{display:flex;align-items:center;gap:15px}
main.dashboard-page .goal-heading-icon{display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(255,125,44,.3);border-radius:16px;color:#ff812f;font-size:38px;line-height:1}
main.dashboard-page .goal-heading h2{margin:0;color:#f4f5f6;font-size:24px;font-weight:800;text-transform:uppercase;letter-spacing:.015em}
main.dashboard-page .goal-heading p{margin:5px 0 0;color:#9aa1a8;font-size:14px}
main.dashboard-page .goal-status{display:inline-flex;align-items:center;gap:9px;padding:10px 15px;border:1px solid rgba(255,125,44,.5);border-radius:999px;color:#ff9a4d;background:rgba(255,111,32,.08);font-size:13px;font-weight:700;white-space:nowrap}
main.dashboard-page .goal-status span{font-size:17px}
main.dashboard-page .goal-hero-content{display:grid;grid-template-columns:245px minmax(0,1fr);align-items:center;gap:30px;min-height:230px}
main.dashboard-page .goal-distance-orbit{width:218px;height:218px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#ff9b35,#ff6b1b);padding:11px;box-shadow:0 0 0 1px rgba(255,138,52,.08)}
main.dashboard-page .goal-distance-inner{width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0b0e11;border:1px solid rgba(255,255,255,.06)}
main.dashboard-page .goal-runner-icon{font-size:28px;margin-bottom:7px}
main.dashboard-page .goal-distance-inner strong{font-size:42px;line-height:1;color:#f5f6f7;font-weight:800;letter-spacing:-.04em}
main.dashboard-page .goal-distance-inner>span:last-child{margin-top:7px;color:#ff9a4d;font-size:11px;font-weight:800;letter-spacing:.18em}
main.dashboard-page .goal-details{position:relative;z-index:1;max-width:720px}
main.dashboard-page .goal-details .eyebrow{color:#ff812f;font-size:12px;letter-spacing:.17em;font-weight:800}
main.dashboard-page .goal-details h3{margin:10px 0 17px;color:#f6f6f7;font-size:clamp(25px,3vw,36px);line-height:1.12;font-weight:800}
main.dashboard-page .goal-meta{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:17px}
main.dashboard-page .goal-meta span{display:flex;align-items:center;gap:9px;color:#c4c8cc;font-size:15px}
main.dashboard-page .goal-meta span span{color:#ff852f;font-size:22px}
main.dashboard-page .goal-details>p{max-width:650px;margin:0;color:#9da5ac;font-size:14px;line-height:1.65}
@media(max-width:760px){
 main.dashboard-page .goal-hero{padding:20px 17px;border-radius:17px}
 main.dashboard-page .goal-hero-top{align-items:flex-start;flex-direction:column;margin-bottom:20px}
 main.dashboard-page .goal-heading h2{font-size:19px}
 main.dashboard-page .goal-heading-icon{width:44px;height:44px;font-size:31px}
 main.dashboard-page .goal-hero-content{grid-template-columns:1fr;gap:20px}
 main.dashboard-page .goal-distance-orbit{width:150px;height:150px;padding:8px;margin:auto}
 main.dashboard-page .goal-distance-inner strong{font-size:32px}
 main.dashboard-page .goal-details h3{font-size:25px}
 main.dashboard-page .goal-meta{gap:12px}
}


/* Objectif principal — version compacte, panoramique */
main.dashboard-page .goal-section{margin:22px 0 30px}
main.dashboard-page .goal-hero{
  padding:16px 22px 18px;
  border-radius:15px;
  min-height:0;
  background:
    linear-gradient(100deg,rgba(9,12,15,.98) 0%,rgba(9,12,15,.95) 48%,rgba(9,12,15,.54) 100%),
    url("https://images.unsplash.com/photo-1552674605-db6ffd4facb5?auto=format&fit=crop&w=1800&q=85") center 48%/cover no-repeat,
    #0d1013;
  box-shadow:inset 2px 0 0 #ff7626,0 12px 30px rgba(0,0,0,.24);
}
main.dashboard-page .goal-hero:before{
  background:
    linear-gradient(90deg,rgba(9,12,15,.2),rgba(9,12,15,.12) 58%,rgba(9,12,15,.28)),
    radial-gradient(ellipse at 84% 75%,rgba(255,91,18,.18),transparent 38%);
}
main.dashboard-page .goal-hero-top{margin-bottom:12px}
main.dashboard-page .goal-heading{gap:11px}
main.dashboard-page .goal-heading-icon{width:40px;height:40px;border-radius:12px;font-size:28px}
main.dashboard-page .goal-heading h2{font-size:17px}
main.dashboard-page .goal-heading p{margin-top:2px;font-size:11px}
main.dashboard-page .goal-status{padding:6px 10px;font-size:10px;gap:6px}
main.dashboard-page .goal-status span{font-size:13px}
main.dashboard-page .goal-hero-content{
  grid-template-columns:124px minmax(0,1fr);
  gap:22px;
  min-height:124px;
}
main.dashboard-page .goal-distance-orbit{
  width:116px;height:116px;padding:6px;
  background:linear-gradient(145deg,#ff9b35,#ff6b1b);
}
main.dashboard-page .goal-runner-icon{font-size:18px;margin-bottom:3px}
main.dashboard-page .goal-distance-inner strong{font-size:25px}
main.dashboard-page .goal-distance-inner>span:last-child{margin-top:4px;font-size:8px;letter-spacing:.15em}
main.dashboard-page .goal-details{max-width:680px}
main.dashboard-page .goal-details .eyebrow{font-size:9px;letter-spacing:.15em}
main.dashboard-page .goal-details h3{margin:5px 0 9px;font-size:clamp(19px,2.1vw,25px)}
main.dashboard-page .goal-meta{gap:18px;margin-bottom:8px}
main.dashboard-page .goal-meta span{gap:6px;font-size:11px}
main.dashboard-page .goal-meta span span{font-size:15px}
main.dashboard-page .goal-details>p{max-width:600px;font-size:11px;line-height:1.5}
@media(max-width:760px){
  main.dashboard-page .goal-hero{padding:15px 16px}
  main.dashboard-page .goal-hero-top{align-items:center;flex-direction:row;gap:8px;margin-bottom:13px}
  main.dashboard-page .goal-heading h2{font-size:15px}
  main.dashboard-page .goal-heading-icon{width:36px;height:36px;font-size:25px}
  main.dashboard-page .goal-status{font-size:9px;padding:5px 7px}
  main.dashboard-page .goal-hero-content{grid-template-columns:82px minmax(0,1fr);gap:13px;min-height:82px}
  main.dashboard-page .goal-distance-orbit{width:78px;height:78px;padding:4px}
  main.dashboard-page .goal-runner-icon{font-size:13px;margin-bottom:1px}
  main.dashboard-page .goal-distance-inner strong{font-size:19px}
  main.dashboard-page .goal-distance-inner>span:last-child{font-size:6px;margin-top:2px}
  main.dashboard-page .goal-details h3{font-size:17px;margin:4px 0 7px}
  main.dashboard-page .goal-meta{gap:8px;margin-bottom:5px}
  main.dashboard-page .goal-meta span{font-size:9px}
  main.dashboard-page .goal-meta span span{font-size:12px}
  main.dashboard-page .goal-details>p{font-size:9px;line-height:1.4}
}
@media(max-width:390px){
  main.dashboard-page .goal-hero-top{align-items:flex-start;flex-direction:column}
  main.dashboard-page .goal-hero-content{grid-template-columns:1fr}
  main.dashboard-page .goal-distance-orbit{margin:0}
}


/* Objectif principal — préparation + illustration trail assortie */
main.dashboard-page .goal-hero{
  background:linear-gradient(105deg,#0b0e11 0%,#101113 56%,#17100d 100%);
}
main.dashboard-page .goal-hero:before{
  background:radial-gradient(ellipse at 82% 72%,rgba(255,91,18,.14),transparent 40%);
}
main.dashboard-page .goal-hero-content{position:relative;min-height:132px}
main.dashboard-page .goal-distance-orbit{
  width:116px;height:116px;padding:7px;
  background:conic-gradient(from -8deg,#ff8a2d 0deg 244.8deg,rgba(255,255,255,.12) 244.8deg 360deg);
  box-shadow:0 0 22px rgba(255,111,32,.09);
}
main.dashboard-page .goal-distance-inner strong{font-size:31px}
main.dashboard-page .goal-distance-inner>span:last-child{font-size:8px;letter-spacing:.08em}
main.dashboard-page .goal-details{z-index:2;max-width:660px}
main.dashboard-page .goal-meta{gap:15px;margin-bottom:9px}
main.dashboard-page .goal-meta span{font-size:10px}
main.dashboard-page .goal-distance-progress{width:min(100%,430px);margin:0 0 8px;position:relative;z-index:2}
main.dashboard-page .goal-progress-track{height:7px;border-radius:99px;background:rgba(255,255,255,.12);overflow:hidden}
main.dashboard-page .goal-progress-track span{display:block;width:67.8%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ff9b38,#ff6d20);box-shadow:0 0 10px rgba(255,115,32,.18)}
main.dashboard-page .goal-progress-label{display:block;margin-top:4px;color:#aeb3b8;font-size:10px}
main.dashboard-page .goal-progress-label strong{color:#f4f5f6;font-weight:700}
main.dashboard-page .goal-details>p{max-width:520px;font-size:10px;line-height:1.45}
main.dashboard-page .goal-art{
  display:block;position:absolute;z-index:1;right:0;top:0;bottom:-18px;width:43%;
  opacity:.82;pointer-events:none;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.28) 20%,#000 55%);
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.28) 20%,#000 55%);
}
main.dashboard-page .goal-art svg{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:760px){
  main.dashboard-page .goal-hero-content{grid-template-columns:82px minmax(0,1fr);gap:13px;min-height:88px}
  main.dashboard-page .goal-distance-orbit{width:78px;height:78px;padding:5px}
  main.dashboard-page .goal-distance-inner strong{font-size:22px}
  main.dashboard-page .goal-distance-inner>span:last-child{font-size:6px}
  main.dashboard-page .goal-meta{gap:7px}
  main.dashboard-page .goal-meta span{font-size:9px}
  main.dashboard-page .goal-distance-progress{width:100%;margin-bottom:6px}
  main.dashboard-page .goal-progress-track{height:5px}
  main.dashboard-page .goal-progress-label{font-size:9px}
  main.dashboard-page .goal-details>p{font-size:9px}
  main.dashboard-page .goal-art{width:48%;opacity:.42}
}
@media(max-width:390px){
  main.dashboard-page .goal-hero-content{grid-template-columns:1fr}
  main.dashboard-page .goal-distance-orbit{margin:0}
  main.dashboard-page .goal-art{width:58%;opacity:.28}
}


/* Photo fournie : intégration dans la carte Objectif principal */
main.dashboard-page .goal-art{
  background-image:
    linear-gradient(90deg,#0b0e11 0%,rgba(11,14,17,.48) 22%,rgba(11,14,17,.05) 58%,rgba(11,14,17,.08) 100%),
    linear-gradient(0deg,rgba(11,14,17,.28),transparent 42%),
    url("./assets/goal-runner.webp") !important;
  background-position:center,center,center 54% !important;
  background-size:cover,cover,cover !important;
  background-repeat:no-repeat !important;
}
main.dashboard-page .goal-art svg{display:none !important}
@media(max-width:760px){
  main.dashboard-page .goal-art{background-position:center,center,58% center !important;opacity:.72}
}
@media(max-width:390px){
  main.dashboard-page .goal-art{opacity:.48}
}


/* Objectif principal — coureur en silhouette, intégré au fond */
main.dashboard-page .goal-art{
  display:block !important;
  position:absolute !important;
  z-index:1 !important;
  right:0 !important;
  top:-16px !important;
  bottom:-16px !important;
  width:43% !important;
  opacity:.48 !important;
  overflow:hidden !important;
  background:radial-gradient(ellipse at 68% 58%,rgba(255,106,26,.12),transparent 68%) !important;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 18%,#000 58%) !important;
  mask-image:linear-gradient(90deg,transparent 0%,rgba(0,0,0,.2) 18%,#000 58%) !important;
}
main.dashboard-page .goal-art img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center 54% !important;
  transform:scaleY(1.18) !important;
  transform-origin:center center !important;
  filter:grayscale(1) brightness(.38) contrast(1.35) sepia(.2) !important;
  border:0 !important;
  border-radius:0 !important;
}
@media(max-width:760px){
  main.dashboard-page .goal-art{width:48% !important;top:-12px !important;bottom:-12px !important;opacity:.42 !important}
}
@media(max-width:390px){
  main.dashboard-page .goal-art{width:58% !important;top:-10px !important;bottom:-10px !important;opacity:.34 !important}
}


/* Analyse coach — typographie discrète et raccourci vers le bilan */
.coach-review .coach-narrative p,
.coach-review .coach-next p {
  color: #aaa39b;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: .005em;
}
.coach-review .coach-intro {
  color: #8f8982;
  font-size: 11px;
  font-weight: 400;
}
.coach-review .detail-section-heading h3 {
  color: #e0d5c9;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.015em;
}
.coach-review .detail-section-kicker,
.coach-review .coach-next > span {
  color: #c18a60;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .16em;
}
.coach-review .coach-next {
  border-color: rgba(193,138,96,.2);
  background: rgba(193,138,96,.045);
}
.coach-review { scroll-margin-top: 24px; }
.coach-jump {
  position: sticky;
  top: 12px;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  margin: 0 0 12px auto;
  padding: 7px 11px;
  border: 1px solid rgba(193,138,96,.28);
  border-radius: 999px;
  color: #c5a184;
  background: rgba(18,19,20,.88);
  backdrop-filter: blur(10px);
  font: 500 10px/1.2 inherit;
  letter-spacing: .035em;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.coach-jump > span:first-child { color: #d39461; font-size: 11px; }
.coach-jump .coach-jump-arrow { color: #8f8175; font-size: 12px; }
.coach-jump:hover {
  color: #ead2bc;
  border-color: rgba(193,138,96,.52);
  background: rgba(31,27,24,.94);
}
@media(max-width:760px) {
  .coach-review .coach-narrative p,
  .coach-review .coach-next p { font-size: 12px; line-height: 1.65; }
}


/* Analyse individuelle — cartes assorties aux métriques de la séance */
.coach-review .coach-narrative {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.coach-review .coach-narrative p {
  position:relative;
  display:flex;
  align-items:center;
  min-height:104px;
  margin:0;
  padding:17px 17px 17px 88px;
  overflow:hidden;
  border:1px solid rgba(193,138,96,.25);
  border-radius:16px;
  color:#b9b0a7;
  background:linear-gradient(145deg,rgba(193,138,96,.095),rgba(24,23,22,.94) 58%,rgba(15,16,17,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  font-size:12px;
  font-weight:400;
  line-height:1.62;
}
.coach-review .coach-narrative p::before {
  content:"";
  position:absolute;
  left:13px;
  top:50%;
  width:60px;
  height:60px;
  transform:translateY(-50%);
  border:1px solid rgba(193,138,96,.12);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(193,138,96,.16),rgba(193,138,96,.045));
}
.coach-review .coach-narrative p::after {
  position:absolute;
  left:13px;
  top:50%;
  width:60px;
  transform:translateY(-50%);
  color:#e5a75f;
  text-align:center;
  font-size:27px;
  line-height:1;
  text-shadow:0 0 16px rgba(229,167,95,.15);
}
.coach-review .coach-narrative p:nth-child(1)::after { content:"◎"; }
.coach-review .coach-narrative p:nth-child(2)::after { content:"⌁"; }
.coach-review .coach-narrative p:nth-child(3)::after { content:"♡"; }
.coach-review .coach-narrative p:nth-child(4)::after { content:"✎"; }
.coach-review .coach-narrative p:nth-child(5)::after { content:"◇"; }
.coach-review .coach-narrative p::before,
.coach-review .coach-narrative p::after { pointer-events:none; }
.coach-review .coach-narrative p:nth-child(n+5) { grid-column:1/-1; }
.coach-review .coach-next {
  margin-top:13px;
  padding:17px 19px;
  border:1px solid rgba(193,138,96,.25);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(193,138,96,.09),rgba(17,18,19,.96) 70%);
}
.coach-review .coach-next p {
  margin:7px 0 0;
  color:#b9b0a7;
  font-size:12px;
  line-height:1.65;
}
@media(max-width:760px) {
  .coach-review .coach-narrative { grid-template-columns:1fr; gap:9px; }
  .coach-review .coach-narrative p,
  .coach-review .coach-narrative p:nth-child(n+5) {
    grid-column:auto;
    min-height:88px;
    padding:14px 13px 14px 78px;
    font-size:11px;
  }
  .coach-review .coach-narrative p::before,
  .coach-review .coach-narrative p::after { left:10px; width:54px; }
  .coach-review .coach-narrative p::before { height:54px; }
  .coach-review .coach-next { padding:14px; }
}


/* Ajustement demandé : reprendre uniquement les couleurs des cartes métriques, sans pictogrammes */
.coach-review .coach-narrative p {
  padding:17px !important;
  color:#f1e5d3 !important;
  border-color:rgba(116,79,48,.48) !important;
  background:linear-gradient(145deg,#1a1918 0%,#151515 58%,#101112 100%) !important;
}
.coach-review .coach-narrative p::before,
.coach-review .coach-narrative p::after {
  content:none !important;
  display:none !important;
}
.coach-review .coach-next {
  border-color:rgba(116,79,48,.48) !important;
  background:linear-gradient(145deg,#1a1918 0%,#151515 58%,#101112 100%) !important;
}
.coach-review .coach-narrative p,
.coach-review .coach-next p {
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1.65 !important;
}
.coach-review .detail-section-heading h3 { color:#f1e5d3 !important; }


/* Bilan coach — retour à une présentation narrative sans encadrés */
.coach-review .coach-narrative {
  display:block !important;
  margin-top:16px !important;
}
.coach-review .coach-narrative p,
.coach-review .coach-narrative p:nth-child(n+5) {
  display:block !important;
  min-height:0 !important;
  margin:0 0 13px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:none !important;
  box-shadow:none !important;
  color:#b9aa99 !important;
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1.72 !important;
}
.coach-review .coach-narrative p::before,
.coach-review .coach-narrative p::after {
  content:none !important;
  display:none !important;
}
.coach-review .coach-next {
  margin-top:15px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:none !important;
  box-shadow:none !important;
}
.coach-review .coach-next p {
  color:#b9aa99 !important;
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1.72 !important;
}
.coach-review .detail-section-heading h3 {
  color:#e7d7c5 !important;
}
.coach-review .detail-section-kicker,
.coach-review .coach-next > span {
  color:#c18a60 !important;
}


/* Finition du bilan : respiration avec la section précédente et titre orange */
.coach-review {
  margin-top: 28px !important;
  padding-top: 8px !important;
}
.coach-review .detail-section-heading h3 {
  color: #ff8a3d !important;
}

/* État de forme */
.readiness-dashboard{margin:28px 0}
.readiness-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.readiness-summary-card,.readiness-summary-coach{background:linear-gradient(145deg,rgba(37,31,27,.92),rgba(20,19,18,.96));border:1px solid rgba(255,157,83,.14);border-radius:16px;padding:17px}
.readiness-summary-top{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px}
.readiness-summary-top strong{font-size:15px;color:#f5eee8}.readiness-summary-top span{font-size:10px;color:#b9a99c;text-transform:uppercase;letter-spacing:.08em}
.readiness-summary-metrics{display:flex;flex-wrap:wrap;gap:7px}.readiness-summary-metrics span{font-size:11px;color:#b9aaa0;background:rgba(255,255,255,.035);padding:6px 8px;border-radius:7px}.readiness-summary-metrics b{color:#f4b17c;margin-left:4px}
.readiness-summary-card ul{margin:10px 0 0;padding-left:17px;color:#e5b58f;font-size:11px;line-height:1.5}.readiness-summary-card li[data-level="caution"]{color:#ff987e}
.readiness-summary-coach{margin-top:14px;border-color:rgba(255,157,83,.25)}.readiness-summary-coach>span{font-size:9px;letter-spacing:.14em;color:#f2a36b}.readiness-summary-coach p{margin:8px 0 0;color:#eee2d8;font-size:13px;line-height:1.6}
.readiness-summary-note{font-size:10px;line-height:1.5;color:#95877e;margin:10px 2px 0}
@media(max-width:650px){.readiness-summary-grid{grid-template-columns:1fr}}

/* État de forme — cartes illustrées, lecture au premier regard */
.readiness-visual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.readiness-visual-card{min-width:0;overflow:hidden;border:1px solid rgba(255,166,103,.16);border-radius:17px;background:radial-gradient(circle at 18% 5%,rgba(255,157,91,.11),transparent 55%),linear-gradient(145deg,rgba(35,29,26,.96),rgba(16,17,18,.98));box-shadow:inset 0 1px rgba(255,255,255,.045);transition:border-color .2s,transform .2s}
.readiness-visual-card:hover{border-color:rgba(255,166,103,.34);transform:translateY(-2px)}
.readiness-visual-card summary{position:relative;display:flex;align-items:center;gap:12px;padding:17px 14px;list-style:none;cursor:pointer;min-height:112px}
.readiness-visual-card summary::-webkit-details-marker{display:none}
.readiness-art{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid rgba(255,164,105,.24);border-radius:16px;color:#f3ae79;background:linear-gradient(145deg,rgba(255,165,103,.13),rgba(255,255,255,.025));box-shadow:0 0 25px rgba(255,135,73,.07)}
.readiness-art svg{width:32px;height:32px}
.readiness-card-copy{display:flex;flex-direction:column;min-width:0;gap:4px}
.readiness-card-name{color:#c9b7a8;font-size:11px;font-weight:700;letter-spacing:.04em}
.readiness-card-copy strong{color:#fff0e2;font-size:clamp(22px,2.3vw,29px);line-height:1.1;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.readiness-card-copy small{color:#96877c;font-size:10px;line-height:1.35}
.readiness-card-open{position:absolute;right:11px;top:10px;color:#9c8170;font-size:15px}
.readiness-visual-card[open] .readiness-card-open{transform:rotate(45deg)}
.readiness-visual-card[data-state="watch"] .readiness-art{color:#e9bb7e;border-color:rgba(233,187,126,.32)}
.readiness-visual-card[data-state="caution"] .readiness-art{color:#ff907c;border-color:rgba(255,144,124,.4)}
.readiness-visual-card[data-state="missing"] .readiness-art{color:#948b85;border-color:rgba(180,170,160,.18)}
.readiness-card-details{padding:0 15px 15px;border-top:1px solid rgba(255,255,255,.06);color:#bcaea4;font-size:11px;line-height:1.5}
.readiness-card-details>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.045)}
.readiness-card-details>div b{color:#f0bd91;font-weight:650;text-align:right}
.readiness-card-details ul{margin:10px 0 0;padding-left:16px;color:#e7b58d}
.readiness-visual-coach{display:flex;align-items:flex-start;gap:12px;margin-top:13px;padding:14px 16px;border:1px solid rgba(255,166,103,.18);border-radius:14px;background:linear-gradient(110deg,rgba(255,157,91,.08),rgba(255,255,255,.018))}
.readiness-coach-mark{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:rgba(255,157,91,.1);color:#f4ae79}
.readiness-visual-coach b{color:#f2b17e;font-size:10px;letter-spacing:.1em;text-transform:uppercase}
.readiness-visual-coach p{margin:5px 0 0;color:#d7c9bd;font-size:12px;line-height:1.5}
.readiness-visual-note{margin:9px 2px 0;color:#8e8178;font-size:10px}
@media(max-width:900px){.readiness-visual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.readiness-visual-grid{gap:9px}.readiness-visual-card summary{gap:9px;padding:13px 10px;min-height:100px}.readiness-art{flex-basis:43px;width:43px;height:43px;border-radius:13px}.readiness-art svg{width:27px;height:27px}.readiness-card-copy strong{font-size:23px}.readiness-card-copy small{font-size:9px}}

/* Illustrations readiness — finition éditoriale */
.readiness-visual-card summary{gap:14px;min-height:132px;padding:18px 16px}
.readiness-art{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;border:1px solid rgba(255,164,105,.17);border-radius:22px;background:radial-gradient(circle at 50% 38%,rgba(255,174,119,.14),rgba(255,255,255,.012) 72%);box-shadow:inset 0 1px rgba(255,255,255,.07),0 8px 24px rgba(0,0,0,.16);color:inherit}
.readiness-art svg{display:block;width:70px;height:70px;overflow:visible;filter:drop-shadow(0 5px 9px rgba(230,139,88,.13))}
.readiness-card-copy{gap:5px}
.readiness-card-name{font-size:12px;letter-spacing:.06em}
.readiness-card-copy strong{font-size:clamp(25px,2.6vw,32px)}
.readiness-card-copy small{font-size:10px}
@media(max-width:480px){.readiness-visual-card summary{min-height:112px;gap:10px;padding:13px 10px}.readiness-art{flex-basis:59px;width:59px;height:59px;border-radius:18px}.readiness-art svg{width:57px;height:57px}.readiness-card-copy strong{font-size:23px}}


/* Compte rendu coach — lecture éditoriale et segments COROS */
.coach-review .coach-narrative { display:block; margin-top:17px; }
.coach-review .coach-narrative p { margin:0 0 14px; color:#c7b9aa; font-size:13px; line-height:1.78; }
.coach-review .coach-intro { margin:7px 0 0; color:#91877e; font-size:11px; line-height:1.6; }
.coach-laps { margin:18px 0 8px; padding:15px; border:1px solid rgba(193,138,96,.22); border-radius:13px; background:linear-gradient(145deg,rgba(193,138,96,.07),rgba(17,18,19,.72)); }
.coach-laps-heading { display:flex; justify-content:space-between; gap:12px; margin-bottom:12px; color:#c18a60; font-size:9px; letter-spacing:.13em; }
.coach-laps-heading strong { color:#e4d3c2; font-size:10px; letter-spacing:0; }
.coach-laps-table { display:grid; gap:0; overflow-x:auto; }
.coach-laps-row { display:grid; grid-template-columns:.4fr .75fr .9fr .9fr .85fr .8fr; gap:8px; align-items:center; min-width:390px; padding:9px 2px; border-top:1px solid rgba(255,255,255,.055); color:#b9aa99; font-size:10px; font-variant-numeric:tabular-nums; }
.coach-laps-row strong { color:#f0bd91; font-size:11px; font-weight:650; }
.coach-laps-head { border-top:0; color:#8e8178; font-size:8px; font-weight:700; letter-spacing:.08em; }
.coach-engine-panel { margin-top:18px; padding:14px 15px; border:1px solid rgba(193,138,96,.18); border-radius:13px; background:rgba(255,255,255,.018); }
.coach-engine-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; color:#c18a60; font-size:9px; letter-spacing:.12em; }
.coach-engine-heading strong { color:#e3d2c0; font-size:10px; letter-spacing:0; }
.coach-engine-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:12px 0; }
.coach-engine-metrics>div { display:flex; flex-direction:column; gap:4px; padding:9px; border-radius:8px; background:rgba(255,255,255,.035); }
.coach-engine-metrics strong { color:#f0bd91; font-size:15px; }
.coach-engine-metrics span,.coach-engine-confidence { color:#91877e; font-size:9px; line-height:1.5; }
.coach-engine-signals { margin:10px 0; padding-left:16px; color:#d8b18d; font-size:10px; line-height:1.6; }
.coach-engine-signals li[data-level="caution"] { color:#ff9b86; }
.coach-engine-clear { margin:10px 0; color:#9d9187; font-size:10px; }
.coach-engine-recommendation { margin-top:12px; padding-top:11px; border-top:1px solid rgba(255,255,255,.06); }
.coach-engine-recommendation>span { color:#c18a60; font-size:8px; letter-spacing:.12em; }
.coach-engine-recommendation p { margin:6px 0 0; color:#c7b9aa; font-size:11px; line-height:1.6; }
.coach-engine-confidence { margin:10px 0 0; }
@media(max-width:480px) {
  .coach-review .coach-narrative p { font-size:12px; line-height:1.7; }
  .coach-laps { padding:11px; }
  .coach-engine-metrics { gap:5px; }
  .coach-engine-metrics>div { padding:7px; }
  .coach-engine-metrics strong { font-size:13px; }
}


/* État de forme — pictogrammes minimalistes, sans halo */
.readiness-visual-card summary { min-height:104px; gap:12px; padding:15px 14px; }
.readiness-art { flex:0 0 40px; width:40px; height:40px; border:1px solid rgba(255,164,105,.2); border-radius:12px; background:rgba(255,165,103,.055); box-shadow:none; }
.readiness-art svg { display:block; width:21px; height:21px; overflow:visible; filter:none; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
@media(max-width:480px) {
  .readiness-visual-card summary { min-height:92px; gap:10px; padding:12px 10px; }
  .readiness-art { flex-basis:36px; width:36px; height:36px; border-radius:11px; }
  .readiness-art svg { width:19px; height:19px; }
}


/* Harmonisation visuelle du tableau de bord */
.dashboard-page .readiness-summary-card,
.dashboard-page .readiness-summary-coach {
  border:1px solid rgba(255,174,90,.19)!important;
  border-radius:13px!important;
  background:radial-gradient(ellipse at 12% 8%,rgba(255,116,64,.10),transparent 58%),linear-gradient(145deg,rgba(32,23,19,.88),rgba(10,10,10,.78))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.15)!important;
}
.dashboard-page .detail-card-cockpit {
  border:1px solid rgba(255,174,90,.19);
  border-radius:13px;
  background:radial-gradient(ellipse at 12% 8%,rgba(255,116,64,.10),transparent 58%),linear-gradient(145deg,rgba(32,23,19,.88),rgba(10,10,10,.78));
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.15);
}
.dashboard-page .main-grid { align-items:stretch; gap:14px; }
.dashboard-page .main-grid > section { min-width:0; display:flex; flex-direction:column; }
.dashboard-page .main-grid > section > .panel,
.dashboard-page .main-grid > section > .hall-of-fame { flex:1; }
.dashboard-page .hall-panel { min-width:0; }
.dashboard-page .hall-of-fame { grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; }
.dashboard-page .record-card { min-height:170px; }
@media(max-width:760px){.dashboard-page .hall-of-fame{grid-template-columns:repeat(2,minmax(0,1fr));}}


/* Même finition cockpit sur les cartes de forme et les moyennes du tableau de bord */
.dashboard-page .readiness-visual-card,
.dashboard-page .detail-card-cockpit {
  border:1px solid rgba(255,174,90,.19)!important;
  border-radius:13px!important;
  background:radial-gradient(ellipse at 12% 8%,rgba(255,116,64,.10),transparent 58%),linear-gradient(145deg,rgba(32,23,19,.88),rgba(10,10,10,.78))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.15)!important;
}
.dashboard-page .readiness-visual-card:hover { border-color:rgba(255,174,90,.3)!important; transform:translateY(-1px); }
.dashboard-page .readiness-visual-coach {
  border:1px solid rgba(255,174,90,.19)!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,rgba(32,23,19,.88),rgba(10,10,10,.78))!important;
}


/* Progression et Hall of Fame en pleine largeur, l'un sous l'autre */
.dashboard-page .main-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  gap:22px;
}
.dashboard-page .main-grid > section { width:100%; min-width:0; }
.dashboard-page .main-grid > section > .panel { width:100%; box-sizing:border-box; }
.dashboard-page .hall-panel { width:100%; }
.dashboard-page .hall-of-fame { width:100%; grid-template-columns:repeat(4,minmax(0,1fr)); box-sizing:border-box; margin-top:0; }
.dashboard-page .record-card { min-height:170px; }
@media(max-width:760px){.dashboard-page .hall-of-fame{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Les trois indicateurs de charge reprennent exactement le traitement des cartes Vue d'ensemble */
.dashboard-page .load-card {
  position:relative;
  overflow:hidden;
  border:1px solid rgba(255,174,90,.19)!important;
  border-radius:13px!important;
  background:radial-gradient(ellipse at 12% 8%,rgba(255,116,64,.10),transparent 58%),linear-gradient(145deg,rgba(32,23,19,.88),rgba(10,10,10,.78))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.04),0 8px 24px rgba(0,0,0,.15)!important;
}
.dashboard-page .load-card span { color:#c2aa96; }
.dashboard-page .load-card strong { color:#fff0d9; }
.dashboard-page .load-card small { color:#8e7c6e; }


/* Graphiques de progression : format plus compact */
.dashboard-page #monthly-running-chart.monthly-chart { min-height:160px; margin-top:17px; }
.dashboard-page #monthly-running-chart .month-column { height:160px; gap:5px; }
.dashboard-page #monthly-running-chart .month-bar-track { height:105px; }
.dashboard-page #monthly-pace-chart.pace-chart { min-height:155px; margin-top:17px; }
.dashboard-page #monthly-pace-chart .pace-column { height:155px; gap:5px; }
.dashboard-page #monthly-pace-chart .pace-bar-track { height:100px; }


/* Progression : encadré et colonnes plus discrets */
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] > .panel {
  width:min(100%,920px);
  margin-inline:auto;
  padding:16px 18px;
}
.dashboard-page #progress-title { font-size:16px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .section-heading { margin-top:26px; margin-bottom:10px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .panel h3 { margin:0 0 5px; font-size:15px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .panel > p { margin:0; font-size:11px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .chart-tabs { margin:13px 0 12px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .chart-tab { padding:8px 11px; font-size:11px; }
.dashboard-page #view-progression > p,
.dashboard-page #view-allure > p { font-size:10px; }
.dashboard-page #monthly-running-chart.monthly-chart,
.dashboard-page #monthly-pace-chart.pace-chart { width:min(100%,820px); margin:12px auto 0; }
.dashboard-page #monthly-running-chart.monthly-chart { min-height:132px; }
.dashboard-page #monthly-running-chart .month-column { height:132px; gap:4px; }
.dashboard-page #monthly-running-chart .month-bar-track { height:82px; max-width:38px; }
.dashboard-page #monthly-running-chart .month-distance,
.dashboard-page #monthly-running-chart .month-count,
.dashboard-page #monthly-running-chart .month-label,
.dashboard-page #monthly-pace-chart .pace-value,
.dashboard-page #monthly-pace-chart .pace-month { font-size:9px; }
.dashboard-page #monthly-pace-chart.pace-chart { min-height:128px; }
.dashboard-page #monthly-pace-chart .pace-column { height:128px; gap:4px; }
.dashboard-page #monthly-pace-chart .pace-bar-track { height:82px; max-width:38px; }
.dashboard-page #monthly-pace-chart .pace-bar { max-width:100%; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .record-note { margin-top:12px; padding:9px 11px; font-size:10px; }
@media(max-width:760px) {
  .dashboard-page .main-grid > section[aria-labelledby="progress-title"] > .panel { padding:14px 12px; }
  .dashboard-page #monthly-running-chart .month-bar-track,
  .dashboard-page #monthly-pace-chart .pace-bar-track { max-width:24px; }
}


/* Progression : équilibre entre ampleur et légèreté */
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] > .panel {
  width:100%;
  max-width:none;
  margin-inline:0;
  padding:20px 22px;
}
.dashboard-page #progress-title { font-size:18px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .section-heading { margin-top:34px; margin-bottom:14px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .panel h3 { margin:0 0 8px; font-size:17px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .panel > p { font-size:12px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .chart-tabs { margin:17px 0 16px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .chart-tab { padding:9px 13px; font-size:12px; }
.dashboard-page #view-progression > p,
.dashboard-page #view-allure > p { font-size:11px; }
.dashboard-page #monthly-running-chart.monthly-chart,
.dashboard-page #monthly-pace-chart.pace-chart { width:100%; margin:15px auto 0; }
.dashboard-page #monthly-running-chart.monthly-chart { min-height:150px; }
.dashboard-page #monthly-running-chart .month-column { height:150px; gap:5px; }
.dashboard-page #monthly-running-chart .month-bar-track { height:100px; max-width:50px; }
.dashboard-page #monthly-running-chart .month-distance,
.dashboard-page #monthly-running-chart .month-count,
.dashboard-page #monthly-running-chart .month-label,
.dashboard-page #monthly-pace-chart .pace-value,
.dashboard-page #monthly-pace-chart .pace-month { font-size:10px; }
.dashboard-page #monthly-pace-chart.pace-chart { min-height:145px; }
.dashboard-page #monthly-pace-chart .pace-column { height:145px; gap:5px; }
.dashboard-page #monthly-pace-chart .pace-bar-track { height:98px; max-width:50px; }
.dashboard-page .main-grid > section[aria-labelledby="progress-title"] .record-note { margin-top:15px; padding:11px 13px; font-size:11px; }
@media(max-width:760px) {
  .dashboard-page .main-grid > section[aria-labelledby="progress-title"] > .panel { padding:16px 14px; }
  .dashboard-page #monthly-running-chart .month-bar-track,
  .dashboard-page #monthly-pace-chart .pace-bar-track { max-width:34px; }
}


/* Dedicated strength-session detail */
.strength-detail{display:grid;gap:22px}
.strength-detail-hero{position:relative;overflow:hidden;padding:clamp(22px,4vw,34px);background:linear-gradient(135deg,rgba(242,138,36,.12),rgba(16,16,16,.92) 58%);border:1px solid rgba(242,168,91,.22);border-radius:16px}
.strength-duration{display:grid;gap:8px;margin-top:30px}
.strength-duration>span,.strength-metrics>div>span,.strength-note>span,.strength-coach-note>span{font-size:9px;letter-spacing:.14em;color:rgba(255,255,255,.48);font-weight:700}
.strength-duration>strong{font-size:clamp(34px,6vw,54px);letter-spacing:-.055em;color:#ffd09c}
.strength-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.strength-metrics>div{display:grid;gap:9px;padding:18px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.09);border-radius:10px}
.strength-metrics>div>strong{font-size:20px;color:#fff}
.strength-note{padding:15px 17px;margin-top:10px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.08);border-radius:9px}
.strength-note p,.strength-coach-note p{margin:8px 0 0;color:rgba(255,255,255,.76);font-size:13px;line-height:1.65}
.strength-coach-note{padding:18px 20px;border-left:2px solid var(--orange);background:rgba(242,138,36,.055)}
@media(max-width:520px){.strength-metrics{grid-template-columns:1fr}}


/* Suivi des objectifs 5 km · 10 km · Urban Trail */
.goal-progress-section{margin:30px 0}
.goal-progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.goal-progress-card{min-width:0;padding:22px 21px 19px;border:1px solid rgba(255,255,255,.075);border-radius:18px;background:linear-gradient(145deg,rgba(37,32,29,.92),rgba(22,21,21,.94));box-shadow:0 12px 30px rgba(0,0,0,.13)}
.goal-progress-kicker{font-size:9px;letter-spacing:.16em;color:#d6a274;font-weight:700;margin-bottom:12px}
.goal-progress-card h3{font-size:17px;font-weight:600;margin:0 0 16px;color:#f3ece5}
.goal-progress-main{font-size:32px;line-height:1.15;font-weight:650;letter-spacing:-.04em;color:#f4e6d8;font-variant-numeric:tabular-nums}
.goal-progress-empty{font-size:25px;color:#a99b90}
.goal-progress-context{font-size:11px;color:#a99b90;margin-top:5px}
.goal-progress-detail{font-size:12px;line-height:1.65;color:#c3b8ae;margin:15px 0 0}
.goal-progress-foot{font-size:10px;line-height:1.55;color:#8f837a;border-top:1px solid rgba(255,255,255,.07);padding-top:13px;margin:16px 0 0}
.goal-progress-trail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.goal-progress-trail-grid>div{min-width:0;padding:12px 9px;border-radius:12px;background:rgba(255,255,255,.035)}
.goal-progress-trail-grid strong{display:block;font-size:20px;color:#f2e5d8;font-variant-numeric:tabular-nums}
.goal-progress-trail-grid span{display:block;margin-top:5px;font-size:9px;line-height:1.4;color:#a99b90}
@media(max-width:900px){.goal-progress-grid{grid-template-columns:1fr 1fr}.goal-progress-card:last-child{grid-column:1/-1}}
@media(max-width:600px){.goal-progress-grid{grid-template-columns:1fr}.goal-progress-card:last-child{grid-column:auto}.goal-progress-card{padding:19px}.goal-progress-main{font-size:29px}}


/* Barres de progression chronométrique — objectifs 5 km et 10 km */
.goal-progress-time-row{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:2px 0 15px}
.goal-progress-time-row>div{display:grid;gap:5px;min-width:0}
.goal-progress-time-row span{font-size:8px;letter-spacing:.12em;color:#9b8d82;font-weight:700}
.goal-progress-time-row strong{font-size:clamp(24px,2.4vw,31px);line-height:1.05;color:#f4e6d8;font-weight:650;letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap}
.goal-progress-time-row .goal-progress-target{text-align:right}
.goal-progress-time-row .goal-progress-target strong{font-size:22px;color:#d7a77f}
.goal-progress-time-row strong.goal-progress-empty{font-size:21px;color:#a99b90}
.goal-progress-track{height:7px;overflow:hidden;border-radius:99px;background:rgba(255,255,255,.075);box-shadow:inset 0 1px 2px rgba(0,0,0,.25)}
.goal-progress-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9d6948,#e0ad7e);transition:width .45s ease}
.goal-progress-track.is-unset>span{background:#9d6948}
.goal-progress-under{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}
.goal-progress-under strong{font-size:11px;color:#e0ad7e;font-variant-numeric:tabular-nums}
.goal-progress-under span{font-size:10px;color:#a99b90;text-align:right}
.goal-progress-card .goal-progress-context{margin-top:10px;line-height:1.5}
@media(max-width:600px){.goal-progress-time-row strong{font-size:29px}.goal-progress-time-row .goal-progress-target strong{font-size:21px}}
