/* Tennis Player OS · Product polish / commercial UI foundation · v1.0.8
   Visual-only layer. No module data or behavior is changed here. */

:root {
  --premium-shadow-soft: 0 10px 28px rgba(11,31,58,.075);
  --premium-shadow: 0 18px 46px rgba(11,31,58,.105);
  --premium-shadow-hover: 0 22px 54px rgba(11,31,58,.14);
  --premium-radius: 20px;
  --premium-radius-lg: 26px;
}

body.tpos-showcase-route {
  --module-accent: #4d719b;
  --module-accent-2: #6e91b8;
  --module-accent-deep: #2f527b;
  --module-soft: #eef4fa;
  --module-soft-2: #f7fafe;
  --module-line: rgba(77,113,155,.22);
  background:
    radial-gradient(circle at 88% 2%, rgba(95,128,164,.08), transparent 26rem),
    #f5f7fb;
}

body[data-tpos-route="calendar"] {
  --module-accent: #b97824;
  --module-accent-2: #d69b4d;
  --module-accent-deep: #7f5117;
  --module-soft: #fff5e6;
  --module-soft-2: #fffaf2;
  --module-line: rgba(185,120,36,.24);
}

body[data-tpos-route="equipment"] {
  --module-accent: #147c6d;
  --module-accent-2: #39a18f;
  --module-accent-deep: #0b5a50;
  --module-soft: #e9f8f4;
  --module-soft-2: #f5fbf9;
  --module-line: rgba(20,124,109,.22);
}

body[data-tpos-route="development"] {
  --module-accent: #a8641b;
  --module-accent-2: #c98a3c;
  --module-accent-deep: #75430e;
  --module-soft: #fff2df;
  --module-soft-2: #fff9f1;
  --module-line: rgba(168,100,27,.22);
}

body[data-tpos-route="economics"] {
  --module-accent: #3568aa;
  --module-accent-2: #5f88c1;
  --module-accent-deep: #234a7d;
  --module-soft: #eaf2ff;
  --module-soft-2: #f5f8fe;
  --module-line: rgba(53,104,170,.22);
}

body[data-tpos-route="health"] {
  --module-accent: #b7654d;
  --module-accent-2: #d08a72;
  --module-accent-deep: #7c4333;
  --module-soft: #fff0ea;
  --module-soft-2: #fff8f5;
  --module-line: rgba(183,101,77,.22);
}

/* ---------- Common premium shell ---------- */

body.tpos-showcase-route .topbar {
  background: rgba(255,255,255,.88);
  border-bottom-color: rgba(222,228,237,.9);
  box-shadow: 0 8px 28px rgba(11,31,58,.045);
}

body.tpos-showcase-route .topbar::after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:2px;
  background:linear-gradient(
    90deg,
    transparent 0,
    var(--module-accent) 16%,
    var(--module-accent-2) 52%,
    transparent 92%
  );
  opacity:.62;
  pointer-events:none;
}

body.tpos-showcase-route .main-content {
  padding-top: clamp(24px,3vw,36px);
}

body.tpos-showcase-route .module-workspace-switch {
  padding:4px;
  border:1px solid var(--module-line);
  background:rgba(255,255,255,.76);
  box-shadow:0 6px 20px rgba(11,31,58,.05);
  backdrop-filter:blur(12px);
}

body.tpos-showcase-route .module-workspace-button.active {
  color:#fff;
  background:linear-gradient(135deg,var(--module-accent-deep),var(--module-accent));
  box-shadow:0 5px 14px rgba(11,31,58,.10);
}

body.tpos-showcase-route .panel {
  border-color:rgba(219,226,236,.92);
  box-shadow:var(--premium-shadow-soft);
}

body.tpos-showcase-route .panel-header {
  background:linear-gradient(180deg,rgba(250,252,254,.96),rgba(255,255,255,.88));
}

body.tpos-showcase-route .button {
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease,
    background .15s ease;
}

body.tpos-showcase-route .button-primary {
  background:linear-gradient(135deg,var(--module-accent-deep),var(--module-accent));
  box-shadow:0 7px 17px rgba(11,31,58,.10);
}

body.tpos-showcase-route .button-ghost:hover,
body.tpos-showcase-route .icon-button:hover {
  border-color:var(--module-line);
  background:var(--module-soft-2);
  color:var(--module-accent-deep);
}

body.tpos-showcase-route .field input:focus,
body.tpos-showcase-route .field select:focus,
body.tpos-showcase-route .field textarea:focus {
  border-color:var(--module-accent-2);
  box-shadow:0 0 0 3px rgba(80,110,140,.12);
}

@media (hover:hover) and (pointer:fine) {
  body.tpos-showcase-route .button-primary:hover {
    transform:translateY(-1px);
    box-shadow:0 10px 22px rgba(11,31,58,.14);
  }
}

/* ---------- Module hero treatment ---------- */

body[data-tpos-route="calendar"] .calendar-module-head,
body[data-tpos-route="equipment"] .equipment-module-head,
body[data-tpos-route="development"] .dev-head,
body[data-tpos-route="economics"] .economics-module-head,
body[data-tpos-route="health"] .health-module-head {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:148px;
  margin-bottom:18px;
  padding:24px 26px;
  border:1px solid var(--module-line);
  border-radius:var(--premium-radius-lg);
  background:
    linear-gradient(128deg,var(--module-soft),rgba(255,255,255,.96) 58%,var(--module-soft-2));
  box-shadow:var(--premium-shadow);
}

body[data-tpos-route="calendar"] .calendar-module-head::before,
body[data-tpos-route="equipment"] .equipment-module-head::before,
body[data-tpos-route="development"] .dev-head::before,
body[data-tpos-route="economics"] .economics-module-head::before,
body[data-tpos-route="health"] .health-module-head::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:linear-gradient(180deg,var(--module-accent-2),var(--module-accent-deep));
}

body[data-tpos-route="calendar"] .calendar-module-head::after,
body[data-tpos-route="equipment"] .equipment-module-head::after,
body[data-tpos-route="development"] .dev-head::after,
body[data-tpos-route="economics"] .economics-module-head::after,
body[data-tpos-route="health"] .health-module-head::after {
  content:"";
  position:absolute;
  z-index:-1;
  width:240px;
  height:240px;
  right:-72px;
  top:-100px;
  border-radius:50%;
  background:rgba(100,120,140,.06);
  box-shadow:0 0 0 34px rgba(255,255,255,.18);
}

body[data-tpos-route="calendar"] .calendar-module-head > *,
body[data-tpos-route="equipment"] .equipment-module-head > *,
body[data-tpos-route="development"] .dev-head > *,
body[data-tpos-route="economics"] .economics-module-head > *,
body[data-tpos-route="health"] .health-module-head > * {
  position:relative;
  z-index:1;
}

body.tpos-showcase-route
:is(.calendar-module-head,.equipment-module-head,.dev-head,.economics-module-head,.health-module-head)
.eyebrow {
  display:inline-flex;
  width:max-content;
  padding:5px 8px;
  border:1px solid var(--module-line);
  border-radius:999px;
  background:rgba(255,255,255,.62);
  color:var(--module-accent-deep);
  letter-spacing:.105em;
}

body.tpos-showcase-route
:is(.calendar-module-head,.equipment-module-head,.dev-head,.economics-module-head,.health-module-head)
h2 {
  margin-top:9px;
  font-size:clamp(1.8rem,3vw,2.55rem);
  letter-spacing:-.045em;
}

body.tpos-showcase-route
:is(.calendar-module-head,.equipment-module-head,.dev-head,.economics-module-head,.health-module-head)
p {
  max-width:760px;
  color:#5b687a;
}

/* ---------- Module navigation ---------- */

body[data-tpos-route="calendar"] .calendar-section-switch,
body[data-tpos-route="equipment"] .equipment-section-switch,
body[data-tpos-route="economics"] .economics-section-switch,
body[data-tpos-route="health"] .health-section-switch,
body[data-tpos-route="development"] .dev-area-switch {
  padding:5px;
  border:1px solid var(--module-line);
  background:rgba(255,255,255,.74);
  box-shadow:0 6px 18px rgba(11,31,58,.055);
  backdrop-filter:blur(10px);
}

body[data-tpos-route="calendar"] .calendar-section-button.active,
body[data-tpos-route="equipment"] .equipment-section-button.active,
body[data-tpos-route="economics"] .economics-section-button.active,
body[data-tpos-route="health"] .health-section-button.active,
body[data-tpos-route="development"] .dev-area-button.active {
  color:#fff;
  background:linear-gradient(135deg,var(--module-accent-deep),var(--module-accent));
  box-shadow:0 6px 16px rgba(11,31,58,.12);
}

/* ---------- KPI language ---------- */

body[data-tpos-route="calendar"] .planner-kpi,
body[data-tpos-route="equipment"] .equipment-kpi,
body[data-tpos-route="development"] .dev-kpi,
body[data-tpos-route="economics"] .economics-kpi,
body[data-tpos-route="health"] .health-kpi {
  position:relative;
  overflow:hidden;
  border-color:var(--module-line);
  background:
    linear-gradient(145deg,#fff 0%,var(--module-soft-2) 100%);
  box-shadow:0 8px 22px rgba(11,31,58,.06);
}

body[data-tpos-route="calendar"] .planner-kpi::before,
body[data-tpos-route="equipment"] .equipment-kpi::before,
body[data-tpos-route="development"] .dev-kpi::before,
body[data-tpos-route="economics"] .economics-kpi::before,
body[data-tpos-route="health"] .health-kpi::before {
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg,var(--module-accent-2),var(--module-accent));
  opacity:.84;
}

body[data-tpos-route="calendar"] .planner-kpi strong,
body[data-tpos-route="equipment"] .equipment-kpi strong,
body[data-tpos-route="development"] .dev-kpi strong,
body[data-tpos-route="economics"] .economics-kpi strong,
body[data-tpos-route="health"] .health-kpi strong {
  color:var(--module-accent-deep);
  font-size:1.22rem;
}

body.tpos-showcase-route
:is(.planner-kpi,.equipment-kpi,.dev-kpi,.economics-kpi,.health-kpi)
> span {
  color:#6a7587;
}

/* ---------- Calendar ---------- */

body[data-tpos-route="calendar"] .planner-head.calendar-subhead {
  margin-top:4px;
  padding:4px 2px 2px;
}

body[data-tpos-route="calendar"] .planner-toolbar {
  border-color:var(--module-line);
  background:rgba(255,255,255,.86);
  box-shadow:0 9px 24px rgba(80,55,18,.06);
  backdrop-filter:blur(10px);
}

body[data-tpos-route="calendar"] .planner-view-switch {
  border:1px solid rgba(185,120,36,.12);
  background:#fff7eb;
}

body[data-tpos-route="calendar"] .planner-view-button.active {
  color:var(--module-accent-deep);
  box-shadow:0 3px 10px rgba(127,81,23,.11);
}

body[data-tpos-route="calendar"] .planner-timeline-scroll {
  border-radius:18px;
  box-shadow:0 12px 34px rgba(72,49,20,.075);
}

body[data-tpos-route="calendar"] .planner-timeline-shell {
  border-color:rgba(211,193,169,.9);
  background:#fff;
}

body[data-tpos-route="calendar"] .planner-timeline-day-head.today,
body[data-tpos-route="calendar"] .planner-timeline-day.today {
  background:linear-gradient(180deg,#fff9ef,#fffdf9);
}

body[data-tpos-route="calendar"] .planner-timeline-day-head.today {
  color:var(--module-accent-deep);
  box-shadow:inset 0 -3px 0 rgba(185,120,36,.52);
}

body[data-tpos-route="calendar"] .planner-timeline-event,
body[data-tpos-route="calendar"] .planner-event,
body[data-tpos-route="calendar"] .planner-tournament-event {
  border-radius:11px;
  box-shadow:0 5px 14px rgba(11,31,58,.08);
  transition:transform .14s ease,box-shadow .14s ease;
}

@media (hover:hover) and (pointer:fine) {
  body[data-tpos-route="calendar"] .planner-timeline-event:hover,
  body[data-tpos-route="calendar"] .planner-event:hover,
  body[data-tpos-route="calendar"] .planner-tournament-event:hover {
    transform:translateY(-1px);
    box-shadow:0 9px 18px rgba(11,31,58,.12);
  }
}

body[data-tpos-route="calendar"] .planner-summary-panel {
  border-color:rgba(185,120,36,.15);
}

body[data-tpos-route="calendar"] .planner-summary-total {
  color:var(--module-accent-deep);
  background:var(--module-soft);
}

/* ---------- Equipment ---------- */

body[data-tpos-route="equipment"] .equipment-current-grid {
  gap:16px;
}

body[data-tpos-route="equipment"] .equipment-current-card {
  position:relative;
  overflow:hidden;
  min-height:260px;
  padding-top:4px;
  border-color:rgba(20,124,109,.17);
  background:
    linear-gradient(155deg,#fff 20%,#f3fbf8 100%);
}

body[data-tpos-route="equipment"] .equipment-current-card::after {
  content:"";
  position:absolute;
  width:118px;
  height:118px;
  right:-44px;
  bottom:-52px;
  border-radius:50%;
  background:rgba(57,161,143,.07);
  pointer-events:none;
}

body[data-tpos-route="equipment"] .equipment-card-kicker {
  display:inline-flex;
  width:max-content;
  padding:5px 8px;
  border-radius:999px;
  background:var(--module-soft);
  color:var(--module-accent-deep);
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

body[data-tpos-route="equipment"] .equipment-current-title {
  color:#173c39;
  font-size:1.18rem;
  letter-spacing:-.02em;
}

body[data-tpos-route="equipment"] .equipment-spec {
  border-color:rgba(20,124,109,.11);
  background:rgba(255,255,255,.72);
}

body[data-tpos-route="equipment"] .equipment-primary-chip {
  color:#fff;
  background:linear-gradient(135deg,var(--module-accent-deep),var(--module-accent));
}

body[data-tpos-route="equipment"] .equipment-item-card,
body[data-tpos-route="equipment"] .equipment-table-panel,
body[data-tpos-route="equipment"] .equipment-philosophy {
  border-color:rgba(20,124,109,.14);
}

body[data-tpos-route="equipment"] .equipment-inline-warning {
  border-color:#ead7a7;
  background:linear-gradient(135deg,#fffaf0,#fff5df);
}

/* ---------- Development ---------- */

body[data-tpos-route="development"] .dev-stage-legend {
  border-color:rgba(168,100,27,.16);
  background:
    linear-gradient(135deg,#fff9ef,#fff 48%,#fff3e1);
  box-shadow:0 10px 26px rgba(117,67,14,.06);
}

body[data-tpos-route="development"] .dev-stage-legend-item {
  border-color:rgba(168,100,27,.14);
}

body[data-tpos-route="development"] .dev-stage-legend-item > span {
  background:#f6dbb9;
  color:#71430f;
}

body[data-tpos-route="development"] .dev-item-card {
  border-color:rgba(168,100,27,.14);
  box-shadow:0 9px 25px rgba(93,58,19,.065);
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}

@media (hover:hover) and (pointer:fine) {
  body[data-tpos-route="development"] .dev-item-card:hover {
    transform:translateY(-2px);
    border-color:rgba(168,100,27,.28);
    box-shadow:0 16px 34px rgba(93,58,19,.11);
  }
}

body[data-tpos-route="development"] .dev-order-badge {
  color:var(--module-accent-deep);
  background:var(--module-soft);
}

body[data-tpos-route="development"] .dev-stage-step.done::before,
body[data-tpos-route="development"] .dev-stage-step.current::before {
  background:#d19a58;
}

body[data-tpos-route="development"] .dev-stage-step.done .dev-stage-dot {
  background:#dcb279;
  box-shadow:0 0 0 1px #c48c49;
}

body[data-tpos-route="development"] .dev-stage-step.current .dev-stage-dot {
  background:var(--module-accent);
  box-shadow:0 0 0 2px #f4d7b3;
}

body[data-tpos-route="development"] .dev-stage-step.current small {
  color:var(--module-accent-deep);
}

body[data-tpos-route="development"] .dev-detail-hero {
  border-color:rgba(168,100,27,.16);
  background:
    linear-gradient(135deg,#fff 20%,#fff5e7 100%);
}

body[data-tpos-route="development"] .dev-detail-stage {
  background:linear-gradient(135deg,#f9e7cf,#fff3df);
}

body[data-tpos-route="development"] .dev-detail-stage span,
body[data-tpos-route="development"] .dev-detail-stage strong {
  color:var(--module-accent-deep);
}

body[data-tpos-route="development"] .dev-worklist-panel {
  border-color:rgba(168,100,27,.15);
  box-shadow:0 13px 34px rgba(93,58,19,.075);
}

body[data-tpos-route="development"] .dev-worklist-toolbar {
  background:linear-gradient(180deg,#fffaf3,#fff);
}

body[data-tpos-route="development"] .dev-worklist-filter.active {
  border-color:rgba(168,100,27,.28);
  background:var(--module-soft);
  color:var(--module-accent-deep);
}

/* ---------- Economics ---------- */

body[data-tpos-route="economics"] .economics-head-actions {
  padding:8px;
  border:1px solid rgba(53,104,170,.13);
  border-radius:14px;
  background:rgba(255,255,255,.58);
}

body[data-tpos-route="economics"] .economics-year-picker {
  border-color:rgba(53,104,170,.18);
  background:#fff;
}

body[data-tpos-route="economics"] .economics-season-overview {
  position:relative;
  overflow:hidden;
  padding:20px;
  border:1px solid rgba(53,104,170,.18);
  border-radius:20px;
  background:
    linear-gradient(135deg,#f8fbff,#edf4ff 58%,#f8fbff);
  box-shadow:0 12px 34px rgba(35,74,125,.07);
}

body[data-tpos-route="economics"] .economics-season-overview::after {
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  right:-100px;
  top:-105px;
  border-radius:50%;
  border:34px solid rgba(53,104,170,.045);
}

body[data-tpos-route="economics"] .economics-season-progress {
  position:relative;
  z-index:1;
  border-color:rgba(53,104,170,.14);
  background:#fff;
}

body[data-tpos-route="economics"] .economics-budget-track > span,
body[data-tpos-route="economics"] .economics-bar-track > span,
body[data-tpos-route="economics"] .economics-season-progress .economics-budget-track > span {
  background:linear-gradient(90deg,var(--module-accent-deep),var(--module-accent-2));
}

body[data-tpos-route="economics"] .economics-commitment-row,
body[data-tpos-route="economics"] .economics-deadline-row,
body[data-tpos-route="economics"] .economics-simple-row {
  border-radius:10px;
  transition:background .14s ease;
}

body[data-tpos-route="economics"] .economics-commitment-row:hover,
body[data-tpos-route="economics"] .economics-deadline-row:hover,
body[data-tpos-route="economics"] .economics-simple-row:hover {
  background:#f7faff;
}

body[data-tpos-route="economics"] .economics-season-budget-panel,
body[data-tpos-route="economics"] .economics-ledger-panel,
body[data-tpos-route="economics"] .economics-area-card {
  border-color:rgba(53,104,170,.15);
}

/* ---------- Body & Health ---------- */

body[data-tpos-route="health"] .health-kpi.status-ok {
  background:linear-gradient(145deg,#fff,#f0faf5);
}

body[data-tpos-route="health"] .health-kpi.status-warning {
  background:linear-gradient(145deg,#fff,#fff8e9);
}

body[data-tpos-route="health"] .health-kpi.status-danger {
  background:linear-gradient(145deg,#fff,#fff0f1);
}

body[data-tpos-route="health"] .health-overview-main {
  border-color:rgba(183,101,77,.16);
  box-shadow:0 14px 36px rgba(124,67,51,.075);
}

body[data-tpos-route="health"] .health-msk-map-shell {
  padding:12px;
  border:1px solid rgba(183,101,77,.10);
  border-radius:18px;
  background:
    radial-gradient(circle at 50% 30%,#fff 0,#fffaf7 62%,#fff3ed 100%);
}

body[data-tpos-route="health"] .health-msk-map-canvas {
  filter:drop-shadow(0 10px 24px rgba(65,72,82,.09));
}

body[data-tpos-route="health"] .health-certificate-card,
body[data-tpos-route="health"] .health-physio-card,
body[data-tpos-route="health"] .health-restrictions-panel,
body[data-tpos-route="health"] .health-injury-tracker {
  border-color:rgba(183,101,77,.14);
}

body[data-tpos-route="health"] .health-avatar {
  background:linear-gradient(135deg,#fff0e9,#ffd8ca);
  color:var(--module-accent-deep);
}

body[data-tpos-route="health"] .health-body-map-row {
  border-color:rgba(183,101,77,.10);
  background:#fffaf8;
  transition:transform .14s ease,box-shadow .14s ease;
}

@media (hover:hover) and (pointer:fine) {
  body[data-tpos-route="health"] .health-body-map-row:hover {
    transform:translateX(2px);
    box-shadow:0 7px 16px rgba(124,67,51,.08);
  }
}

/* ---------- Dialogs on showcase routes ---------- */

body.tpos-showcase-route .planner-dialog,
body.tpos-showcase-route .dev-dialog,
body.tpos-showcase-route .dev-worklist-dialog {
  border:1px solid var(--module-line);
  box-shadow:0 28px 90px rgba(7,22,44,.30);
}

body.tpos-showcase-route .dialog-head {
  background:linear-gradient(135deg,var(--module-soft),#fff 72%);
}

body.tpos-showcase-route .dialog-head .eyebrow {
  color:var(--module-accent-deep);
}

/* ---------- Responsive ---------- */

@media (max-width:900px) {
  body[data-tpos-route="calendar"] .calendar-module-head,
  body[data-tpos-route="equipment"] .equipment-module-head,
  body[data-tpos-route="economics"] .economics-module-head,
  body[data-tpos-route="health"] .health-module-head {
    align-items:flex-start;
    flex-direction:column;
  }

  body[data-tpos-route="economics"] .economics-head-actions {
    width:100%;
  }
}

@media (max-width:700px) {
  body[data-tpos-route="calendar"] .calendar-module-head,
  body[data-tpos-route="equipment"] .equipment-module-head,
  body[data-tpos-route="development"] .dev-head,
  body[data-tpos-route="economics"] .economics-module-head,
  body[data-tpos-route="health"] .health-module-head {
    min-height:0;
    padding:19px 18px;
    border-radius:20px;
  }

  body.tpos-showcase-route
  :is(.calendar-module-head,.equipment-module-head,.dev-head,.economics-module-head,.health-module-head)
  h2 {
    font-size:1.75rem;
  }

  body[data-tpos-route="calendar"] .calendar-section-switch,
  body[data-tpos-route="equipment"] .equipment-section-switch,
  body[data-tpos-route="economics"] .economics-section-switch,
  body[data-tpos-route="health"] .health-section-switch,
  body[data-tpos-route="development"] .dev-area-switch {
    width:100%;
    max-width:100%;
  }
}

@media (prefers-reduced-motion:reduce) {
  body.tpos-showcase-route *,
  body.tpos-showcase-route *::before,
  body.tpos-showcase-route *::after {
    scroll-behavior:auto!important;
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
  }
}
/* ============================================================
   v1.0.11 · Navigation icon refinement + Athletics polish
   ============================================================ */

/* Custom line icons: keep the navigation coherent and avoid duplicate tennis-ball icons. */
.nav-item[data-route="equipment"] .nav-icon,
.nav-item[data-route="calendar"] .nav-icon,
.nav-item[data-route="economics"] .nav-icon,
.module-card:has(.module-link[data-route="calendar"]) .module-icon,
.module-card:has(.module-link[data-route="economics"]) .module-icon {
  font-size:0;
}

.nav-item[data-route="equipment"] .nav-icon::before,
.nav-item[data-route="calendar"] .nav-icon::before,
.module-card:has(.module-link[data-route="calendar"]) .module-icon::before {
  content:"";
  display:block;
  width:22px;
  height:22px;
  background:currentColor;
  -webkit-mask-position:center;
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-size:contain;
  mask-position:center;
  mask-repeat:no-repeat;
  mask-size:contain;
}

/* Equipment: actual tennis racket, not another ball. */
.nav-item[data-route="equipment"] .nav-icon::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' transform='rotate(-38 12 12)'%3E%3Cellipse cx='12' cy='8.2' rx='5.4' ry='7.1'/%3E%3Cpath d='M12 15.3v4.1M10.2 19.4h3.6l-.4 3h-2.8zM8.3 5.6h7.4M7 8.3h10M7.6 11h8.8M9.5 2.2v12M12 1.2v14M14.5 2.2v12' stroke-width='1.15'/%3E%3C/g%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' transform='rotate(-38 12 12)'%3E%3Cellipse cx='12' cy='8.2' rx='5.4' ry='7.1'/%3E%3Cpath d='M12 15.3v4.1M10.2 19.4h3.6l-.4 3h-2.8zM8.3 5.6h7.4M7 8.3h10M7.6 11h8.8M9.5 2.2v12M12 1.2v14M14.5 2.2v12' stroke-width='1.15'/%3E%3C/g%3E%3C/svg%3E");
}

/* Calendar: compact line calendar with a highlighted day/check detail. */
.nav-item[data-route="calendar"] .nav-icon::before,
.module-card:has(.module-link[data-route="calendar"]) .module-icon::before {
  -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='3'/%3E%3Cpath d='M7 2.5v4M17 2.5v4M3 9h18M7 13h2M12 13h2M7 17h2M12 17l1.4 1.4L17 14.8'/%3E%3C/g%3E%3C/svg%3E");
  mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16.5' rx='3'/%3E%3Cpath d='M7 2.5v4M17 2.5v4M3 9h18M7 13h2M12 13h2M7 17h2M12 17l1.4 1.4L17 14.8'/%3E%3C/g%3E%3C/svg%3E");
}

/* Dashboard icons are intentionally a little larger than sidebar glyphs. */
.module-card:has(.module-link[data-route="calendar"]) .module-icon::before {
  width:30px;
  height:30px;
}

/* Economics: recognizable currency coin in both sidebar and dashboard. */
.nav-item[data-route="economics"] .nav-icon::before,
.module-card:has(.module-link[data-route="economics"]) .module-icon::before {
  content:"€";
  display:grid;
  place-items:center;
  box-sizing:border-box;
  width:22px;
  height:22px;
  border:1.8px solid currentColor;
  border-radius:50%;
  color:currentColor;
  font-size:13px;
  font-weight:950;
  line-height:1;
  letter-spacing:-.04em;
}

.module-card:has(.module-link[data-route="economics"]) .module-icon::before {
  width:30px;
  height:30px;
  border-width:2px;
  font-size:18px;
}

/* ---------- Athletics: a full premium visual language ---------- */

body[data-tpos-route="training"] {
  --module-accent:#6258b6;
  --module-accent-2:#44a0aa;
  --module-accent-deep:#3c347f;
  --module-soft:#efeffc;
  --module-soft-2:#f7f8fe;
  --module-line:rgba(98,88,182,.20);
  background:
    radial-gradient(circle at 88% 2%,rgba(98,88,182,.095),transparent 26rem),
    radial-gradient(circle at 18% 82%,rgba(68,160,170,.055),transparent 30rem),
    #f5f7fb;
}

body[data-tpos-route="training"] .training-module-head {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:148px;
  margin-bottom:18px;
  padding:24px 26px;
  border:1px solid var(--module-line);
  border-radius:var(--premium-radius-lg);
  background:
    linear-gradient(128deg,#efeffc,rgba(255,255,255,.97) 57%,#eef9f9);
  box-shadow:var(--premium-shadow);
}

body[data-tpos-route="training"] .training-module-head::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:linear-gradient(180deg,#48a5ad,var(--module-accent-deep));
}

body[data-tpos-route="training"] .training-module-head::after {
  content:"";
  position:absolute;
  z-index:-1;
  width:250px;
  height:138px;
  right:-54px;
  top:-18px;
  border:1px solid rgba(98,88,182,.11);
  border-radius:50%;
  box-shadow:
    0 0 0 20px rgba(98,88,182,.035),
    0 0 0 42px rgba(68,160,170,.022);
  transform:rotate(-14deg);
}

body[data-tpos-route="training"] .training-module-head > * {
  position:relative;
  z-index:1;
}

body[data-tpos-route="training"] .training-module-head .eyebrow {
  display:inline-flex;
  width:max-content;
  padding:5px 8px;
  border:1px solid var(--module-line);
  border-radius:999px;
  background:rgba(255,255,255,.68);
  color:var(--module-accent-deep);
  letter-spacing:.105em;
}

body[data-tpos-route="training"] .training-module-head h2 {
  margin-top:9px;
  font-size:clamp(1.8rem,3vw,2.55rem);
  letter-spacing:-.045em;
}

body[data-tpos-route="training"] .training-module-head p {
  color:#5d657a;
}

body[data-tpos-route="training"] .training-section-switch {
  padding:5px;
  border:1px solid var(--module-line);
  background:rgba(255,255,255,.76);
  box-shadow:0 6px 18px rgba(48,42,102,.07);
  backdrop-filter:blur(10px);
}

body[data-tpos-route="training"] .training-section-button {
  color:#6b6c83;
}

body[data-tpos-route="training"] .training-section-button.active {
  color:#fff;
  background:linear-gradient(135deg,var(--module-accent-deep),var(--module-accent));
  box-shadow:0 6px 16px rgba(61,52,127,.18);
}

body[data-tpos-route="training"] .training-subhead .eyebrow,
body[data-tpos-route="training"] .athletics-assessment-head .eyebrow {
  color:var(--module-accent-deep);
}

body[data-tpos-route="training"] .training-kpi {
  position:relative;
  overflow:hidden;
  border-color:var(--module-line);
  background:linear-gradient(145deg,#fff,var(--module-soft-2));
  box-shadow:0 8px 22px rgba(48,42,102,.055);
}

body[data-tpos-route="training"] .training-kpi::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,var(--module-accent-2),var(--module-accent));
}

body[data-tpos-route="training"] .training-kpi strong {
  color:var(--module-accent-deep);
  font-size:1.22rem;
}

body[data-tpos-route="training"] .training-overview-panel,
body[data-tpos-route="training"] .training-progress-panel,
body[data-tpos-route="training"] .training-test-library,
body[data-tpos-route="training"] .training-test-detail,
body[data-tpos-route="training"] .training-results-panel {
  border-color:rgba(98,88,182,.14);
}

body[data-tpos-route="training"] .training-overview-day-label {
  background:#efeffc;
  color:#51479e;
}

body[data-tpos-route="training"] .training-overview-day.empty .training-overview-day-label {
  background:#f3f5f8;
  color:#99a1af;
}

body[data-tpos-route="training"] .training-overview-session {
  padding:5px 7px;
  border-radius:9px;
  background:linear-gradient(90deg,rgba(98,88,182,.055),transparent 82%);
}

body[data-tpos-route="training"] .training-horizon-badge.horizon-short {
  background:#e8f7f7;
  color:#347d83;
}

body[data-tpos-route="training"] .training-horizon-badge.horizon-medium {
  background:#efedfb;
  color:#5d52a6;
}

body[data-tpos-route="training"] .training-horizon-badge.horizon-long {
  background:#eef5ff;
  color:#4d6f9e;
}

body[data-tpos-route="training"] .training-progress-card {
  border-color:rgba(98,88,182,.14);
  background:linear-gradient(155deg,#fff,#f8f8fe);
  box-shadow:0 7px 18px rgba(48,42,102,.05);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

body[data-tpos-route="training"] .training-progress-value {
  color:var(--module-accent-deep);
}

body[data-tpos-route="training"] .training-test-list-item.active {
  border-color:rgba(98,88,182,.22);
  background:linear-gradient(135deg,#f0effc,#f6fbfb);
  color:var(--module-accent-deep);
}

body[data-tpos-route="training"] .training-test-count {
  border-color:rgba(98,88,182,.17);
  color:var(--module-accent-deep);
}

body[data-tpos-route="training"] .training-week-day {
  border-color:rgba(98,88,182,.13);
  box-shadow:0 8px 20px rgba(48,42,102,.045);
}

body[data-tpos-route="training"] .training-week-day > header {
  border-bottom-color:rgba(98,88,182,.11);
  background:linear-gradient(135deg,#f5f4fd,#f4fbfb);
}

body[data-tpos-route="training"] .training-week-day > header > button {
  background:#e9e8f8;
  color:#554ba0;
}

body[data-tpos-route="training"] .training-session-card {
  border-color:rgba(98,88,182,.18);
  border-left-color:var(--module-accent);
  background:linear-gradient(145deg,#f1f0fc,#eef8f8);
  box-shadow:0 4px 11px rgba(48,42,102,.045);
}

body[data-tpos-route="training"] .training-session-focus {
  color:#4e5591;
}

body[data-tpos-route="training"] .training-goal-column {
  border-color:rgba(98,88,182,.13);
  background:linear-gradient(180deg,#f8f8fd,#fbfcfe);
  box-shadow:0 7px 20px rgba(48,42,102,.04);
}

body[data-tpos-route="training"] .training-goal-column > header strong {
  border-color:rgba(98,88,182,.14);
  color:var(--module-accent-deep);
}

body[data-tpos-route="training"] .training-goal-card {
  border-color:rgba(98,88,182,.13);
  box-shadow:0 4px 12px rgba(48,42,102,.035);
}

body[data-tpos-route="training"] .athletics-assessment-section {
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid rgba(98,88,182,.12);
}

body[data-tpos-route="training"] .athletics-assessment-scale {
  border-color:rgba(98,88,182,.18);
  background:#f4f3fc;
  color:var(--module-accent-deep);
}

body[data-tpos-route="training"] .athletics-assessment-card {
  border-color:rgba(98,88,182,.14);
  box-shadow:0 9px 24px rgba(48,42,102,.055);
}

body[data-tpos-route="training"] .athletics-assessment-table-head {
  border-color:rgba(98,88,182,.10);
  background:linear-gradient(90deg,#f4f3fc,#f4fbfb);
}

body[data-tpos-route="training"] .athletics-assessment-row:hover {
  background:#f8f8fe;
}

body[data-tpos-route="training"] .athletics-assessment-chart-line,
body[data-tpos-route="training"] .athletics-assessment-chart-legend i {
  stroke:var(--module-accent);
  background:var(--module-accent);
}

body[data-tpos-route="training"] .athletics-assessment-chart-dot {
  stroke:var(--module-accent);
}

@media (hover:hover) and (pointer:fine) {
  body[data-tpos-route="training"] .training-progress-card:hover,
  body[data-tpos-route="training"] .training-goal-card:hover,
  body[data-tpos-route="training"] .training-session-card:hover {
    transform:translateY(-1px);
    border-color:rgba(98,88,182,.25);
    box-shadow:0 11px 24px rgba(48,42,102,.08);
  }
}

@media (max-width:930px) {
  body[data-tpos-route="training"] .training-module-head {
    align-items:stretch;
    flex-direction:column;
  }
}

@media (max-width:700px) {
  body[data-tpos-route="training"] .training-module-head {
    min-height:0;
    padding:19px 18px;
    border-radius:20px;
  }

  body[data-tpos-route="training"] .training-module-head h2 {
    font-size:1.75rem;
  }
}
/* ============================================================
   v1.0.12 · Development ↔ Drills bridge + Drills product polish
   ============================================================ */

body[data-tpos-route="drills"] {
  --module-accent:#3974a6;
  --module-accent-2:#8aa83d;
  --module-accent-deep:#234f78;
  --module-soft:#eaf3fb;
  --module-soft-2:#f5f9fd;
  --module-line:rgba(57,116,166,.20);
  background:
    radial-gradient(circle at 88% 2%,rgba(57,116,166,.09),transparent 27rem),
    radial-gradient(circle at 12% 86%,rgba(138,168,61,.06),transparent 30rem),
    #f5f7fb;
}

body[data-tpos-route="drills"] .drills-module-head {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:148px;
  margin-bottom:14px;
  padding:24px 26px;
  border:1px solid var(--module-line);
  border-radius:var(--premium-radius-lg);
  background:
    linear-gradient(126deg,#eaf3fb,rgba(255,255,255,.97) 58%,#f3f8e8);
  box-shadow:var(--premium-shadow);
}

body[data-tpos-route="drills"] .drills-module-head::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:6px;
  background:linear-gradient(180deg,var(--module-accent-2),var(--module-accent));
}

body[data-tpos-route="drills"] .drills-module-head::after {
  content:"";
  position:absolute;
  z-index:-1;
  right:-72px;
  top:-83px;
  width:230px;
  height:230px;
  border:1px solid rgba(57,116,166,.11);
  border-radius:50%;
  box-shadow:
    0 0 0 24px rgba(57,116,166,.028),
    0 0 0 48px rgba(138,168,61,.02);
}

body[data-tpos-route="drills"] .drills-module-head > * {
  position:relative;
  z-index:1;
}

body[data-tpos-route="drills"] .drills-module-head .eyebrow {
  display:inline-flex;
  width:max-content;
  padding:5px 8px;
  border:1px solid var(--module-line);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  color:var(--module-accent-deep);
  letter-spacing:.105em;
}

body[data-tpos-route="drills"] .drills-module-head h2 {
  margin-top:9px;
  font-size:clamp(1.8rem,3vw,2.55rem);
  letter-spacing:-.045em;
}

body[data-tpos-route="drills"] .drills-module-head p {
  color:#5c687a;
}

body[data-tpos-route="drills"] .drills-section-switch {
  padding:5px;
  border:1px solid var(--module-line);
  background:rgba(255,255,255,.78);
  box-shadow:0 6px 18px rgba(35,79,120,.07);
  backdrop-filter:blur(10px);
}

body[data-tpos-route="drills"] .drills-section-button {
  color:#63738b;
}

body[data-tpos-route="drills"] .drills-section-button.active {
  color:#fff;
  background:linear-gradient(135deg,var(--module-accent-deep),var(--module-accent));
  box-shadow:0 6px 16px rgba(35,79,120,.18);
}

body[data-tpos-route="drills"] .drills-kpis {
  grid-template-columns:repeat(5,minmax(0,1fr));
}

body[data-tpos-route="drills"] .drills-kpi {
  position:relative;
  overflow:hidden;
  border-color:var(--module-line);
  background:linear-gradient(145deg,#fff,var(--module-soft-2));
  box-shadow:0 8px 22px rgba(35,79,120,.055);
}

body[data-tpos-route="drills"] .drills-kpi::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:4px;
  background:linear-gradient(180deg,var(--module-accent-2),var(--module-accent));
}

body[data-tpos-route="drills"] .drills-kpi strong {
  color:var(--module-accent-deep);
  font-size:1.22rem;
}

body[data-tpos-route="drills"] .drills-development-kpi {
  background:linear-gradient(145deg,#fff,#f3f7e9);
}

body[data-tpos-route="drills"] .drills-overview-grid > .panel,
body[data-tpos-route="drills"] .drills-top-used-panel,
body[data-tpos-route="drills"] .drills-development-bridge-panel {
  border-color:rgba(57,116,166,.14);
}

body[data-tpos-route="drills"] .drills-category-track span {
  background:linear-gradient(90deg,var(--module-accent),#6290ba);
}

body[data-tpos-route="drills"] .drills-top-used-card {
  border-color:rgba(57,116,166,.13);
  background:linear-gradient(150deg,#fff,#f7fafc);
  box-shadow:0 5px 14px rgba(35,79,120,.04);
}

.drills-development-bridge-panel {
  margin:0 0 16px;
  overflow:hidden;
}

.drills-development-bridge-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  background:linear-gradient(90deg,#f4f8fd,#f8fbed);
}

.drills-development-theme-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:10px;
}

.drills-development-theme-card {
  display:grid;
  gap:5px;
  width:100%;
  padding:12px 13px;
  text-align:left;
  border:1px solid rgba(57,116,166,.14);
  border-radius:13px;
  background:linear-gradient(145deg,#fff,#f8fbfd);
  color:var(--text);
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}

.drills-development-theme-card > span {
  color:var(--module-accent);
  font-size:.58rem;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
}

.drills-development-theme-card > strong {
  font-size:.8rem;
}

.drills-development-theme-card > small {
  color:var(--muted);
  font-size:.64rem;
}

.drills-development-bridge-empty {
  display:grid;
  gap:5px;
  padding:18px;
  text-align:center;
  color:var(--muted);
}

.drills-development-bridge-empty strong {
  color:var(--text);
  font-size:.82rem;
}

.drills-development-bridge-empty span {
  font-size:.7rem;
}

body[data-tpos-route="drills"] .drills-filterbar {
  grid-template-columns:
    minmax(210px,1.45fr)
    minmax(135px,.65fr)
    minmax(135px,.65fr)
    minmax(170px,.85fr)
    auto;
  border-color:rgba(57,116,166,.16);
  background:rgba(255,255,255,.90);
  box-shadow:0 8px 22px rgba(35,79,120,.045);
}

body[data-tpos-route="drills"] .drills-filterbar input[type="search"]:focus,
body[data-tpos-route="drills"] .drills-filterbar select:focus {
  border-color:var(--module-accent-2);
  box-shadow:0 0 0 3px rgba(57,116,166,.09);
  outline:0;
}

body[data-tpos-route="drills"] .drills-library-grid {
  gap:16px;
}

body[data-tpos-route="drills"] .drills-card {
  overflow:hidden;
  border-color:rgba(57,116,166,.14);
  background:linear-gradient(155deg,#fff 35%,#f7fafc 100%);
  box-shadow:0 9px 24px rgba(35,79,120,.055);
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    border-color .16s ease;
}

body[data-tpos-route="drills"] .drills-category-badge {
  background:#e9f2fb;
  color:#356a99;
}

body[data-tpos-route="drills"] .drills-focus-badge {
  background:#f1f6e7;
  color:#687f2e;
}

body[data-tpos-route="drills"] .drills-card-meta span {
  border-color:rgba(57,116,166,.10);
  background:#f8fafc;
}

body[data-tpos-route="drills"] .drills-star.active {
  color:#9aaa2f;
  text-shadow:0 1px 8px rgba(154,170,47,.18);
}

body[data-tpos-route="drills"] .drills-card-block {
  border-top-color:rgba(57,116,166,.10);
}

body[data-tpos-route="drills"] .drills-tags span {
  color:#526f8e;
  background:#eef4fa;
}

body[data-tpos-route="drills"] .drills-card--focused {
  border-color:rgba(138,168,61,.72)!important;
  box-shadow:
    0 0 0 3px rgba(138,168,61,.15),
    0 18px 42px rgba(35,79,120,.14)!important;
  animation:drills-linked-focus 1.05s ease 2;
}

@keyframes drills-linked-focus {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-3px); }
}

.drills-development-links {
  display:grid;
  gap:7px;
  margin-top:11px;
  padding:10px 0 1px;
  border-top:1px solid rgba(57,116,166,.10);
}

.drills-development-links-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.drills-development-links-head > span {
  color:#6f7c8f;
  font-size:.6rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.drills-development-links-head > strong {
  display:grid;
  min-width:22px;
  height:22px;
  place-items:center;
  padding:0 5px;
  border-radius:999px;
  background:#eef3fa;
  color:#486b91;
  font-size:.61rem;
}

.drills-development-links > p {
  margin:0;
  color:#8994a4;
  font-size:.66rem;
}

.drills-development-chips {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.drills-development-chip {
  display:inline-flex;
  align-items:center;
  gap:6px;
  max-width:100%;
  padding:5px 8px;
  border:1px solid rgba(57,116,166,.16);
  border-radius:999px;
  background:#f6f9fd;
  color:#3d5876;
  font-size:.64rem;
  font-weight:800;
}

.drills-development-chip > span {
  display:inline-grid;
  place-items:center;
  min-width:28px;
  height:18px;
  padding:0 4px;
  border-radius:999px;
  background:#e7eff8;
  color:#376790;
  font-size:.52rem;
  font-weight:950;
  letter-spacing:.04em;
}

.drills-development-manage {
  margin-right:6px;
}

body[data-tpos-route="drills"] .drills-session-list-panel,
body[data-tpos-route="drills"] .drills-session-builder {
  border-color:rgba(57,116,166,.14);
}

body[data-tpos-route="drills"] .drills-session-list-item.active {
  background:linear-gradient(90deg,#edf4fb,#f5f9fd);
  box-shadow:inset 4px 0 var(--module-accent);
}

body[data-tpos-route="drills"] .drills-session-builder-head {
  background:linear-gradient(135deg,#f4f8fd,#fbfdf6);
}

body[data-tpos-route="drills"] .drills-session-item {
  border-color:rgba(57,116,166,.13);
  background:linear-gradient(145deg,#fff,#fafcfd);
}

body[data-tpos-route="drills"] .drills-session-order {
  background:#e8f0f8;
  color:#37658f;
}

body[data-tpos-route="drills"] .drills-add-form {
  border-color:rgba(57,116,166,.25);
  background:#f8fbfd;
}

body[data-tpos-route="drills"] .drills-measurement-list-panel,
body[data-tpos-route="drills"] .drills-measurement-detail {
  border-color:rgba(57,116,166,.14);
}

body[data-tpos-route="drills"] .drills-measurement-list-item.active {
  background:linear-gradient(90deg,#edf4fb,#f5f9fd);
  box-shadow:inset 4px 0 var(--module-accent);
}

body[data-tpos-route="drills"] .drills-measurement-kpis > div {
  border-color:rgba(57,116,166,.13);
  background:linear-gradient(145deg,#fff,#f7fafc);
}

body[data-tpos-route="drills"] .drills-measurement-kpis strong {
  color:var(--module-accent-deep);
}

.dev-drill-bridge-list {
  display:grid;
  gap:8px;
}

.dev-drill-bridge-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  padding:8px;
  border:1px solid rgba(168,100,27,.14);
  border-radius:12px;
  background:linear-gradient(135deg,#fff,#fffaf3);
}

.dev-drill-bridge-main {
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  gap:9px;
  align-items:center;
  min-width:0;
  border:0;
  background:transparent;
  color:var(--text);
  text-align:left;
}

.dev-drill-bridge-main > span:last-child {
  display:grid;
  gap:3px;
  min-width:0;
}

.dev-drill-bridge-main strong {
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:.78rem;
  white-space:nowrap;
}

.dev-drill-bridge-main small {
  color:var(--muted);
  font-size:.62rem;
}

.dev-drill-bridge-icon {
  display:grid;
  width:28px;
  height:28px;
  place-items:center;
  border-radius:9px;
  background:#fff0dd;
  color:#9c5d19;
  font-size:.77rem;
  font-weight:900;
}

.dev-drill-bridge-empty {
  display:grid;
  justify-items:start;
  gap:5px;
  padding:11px;
  border:1px dashed rgba(168,100,27,.22);
  border-radius:11px;
  background:#fffaf4;
}

.dev-drill-bridge-empty strong {
  font-size:.77rem;
}

.dev-drill-bridge-empty span {
  color:var(--muted);
  font-size:.68rem;
  line-height:1.4;
}

.drills-development-link-dialog {
  width:min(790px,calc(100% - 24px));
}

.drills-development-link-dialog .dialog-head p {
  max-width:590px;
  margin:4px 0 0;
  color:var(--muted);
  font-size:.72rem;
  line-height:1.4;
}

.drills-development-picker {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.drills-development-picker > label {
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:9px;
  align-items:start;
  padding:10px 11px;
  border:1px solid #dfe5ec;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease;
}

.drills-development-picker > label.selected {
  border-color:rgba(57,116,166,.32);
  background:linear-gradient(135deg,#f0f6fc,#f7faef);
  box-shadow:0 5px 15px rgba(35,79,120,.055);
}

.drills-development-picker input {
  margin-top:4px;
}

.drills-development-picker span {
  display:grid;
  gap:3px;
  min-width:0;
}

.drills-development-picker small {
  color:#597491;
  font-size:.57rem;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.045em;
}

.drills-development-picker strong {
  font-size:.74rem;
}

.drills-development-picker em {
  color:var(--muted);
  font-size:.62rem;
  font-style:normal;
}

@media (hover:hover) and (pointer:fine) {
  body[data-tpos-route="drills"] .drills-card:hover {
    transform:translateY(-2px);
    border-color:rgba(57,116,166,.25);
    box-shadow:0 16px 34px rgba(35,79,120,.095);
  }

  .drills-development-theme-card:hover {
    transform:translateY(-1px);
    border-color:rgba(57,116,166,.28);
    box-shadow:0 9px 19px rgba(35,79,120,.07);
  }
}

@media (max-width:1180px) {
  body[data-tpos-route="drills"] .drills-kpis {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  body[data-tpos-route="drills"] .drills-filterbar {
    grid-template-columns:1fr 1fr 1fr;
  }

  body[data-tpos-route="drills"] .drills-search {
    grid-column:1/-1;
  }
}

@media (max-width:800px) {
  body[data-tpos-route="drills"] .drills-module-head {
    align-items:stretch;
    flex-direction:column;
  }

  .drills-development-picker {
    grid-template-columns:1fr;
  }

  .drills-development-bridge-head {
    align-items:flex-start;
    flex-direction:column;
  }
}

@media (max-width:650px) {
  body[data-tpos-route="drills"] .drills-module-head {
    min-height:0;
    padding:19px 18px;
    border-radius:20px;
  }

  body[data-tpos-route="drills"] .drills-module-head h2 {
    font-size:1.75rem;
  }

  body[data-tpos-route="drills"] .drills-kpis {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body[data-tpos-route="drills"] .drills-filterbar {
    grid-template-columns:1fr;
  }

  .dev-drill-bridge-row {
    grid-template-columns:1fr;
  }
}
