:root {
  color-scheme: dark;
  --bg: #030915;
  --bg-2: #0a1222;
  --glow: #2563eb;
  --glow-2: #00c0ff;
  --accent: #f4d6b0;
  --accent-2: #d97706;
  --text: #f5f8ff;
  --muted: #9fb3d7;
  --danger: #ff6868;
  --success: #00ffb2;
  --border: rgba(148, 163, 184, 0.25);
  font-family: "Inter", "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(37,99,235,.25), transparent 40%), radial-gradient(circle at 80% 0%, rgba(0,192,255,.2), transparent 45%), var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

button, select, input, textarea { font: inherit; }
button { cursor: pointer; }

.plasma, .grid-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.plasma {
  background: radial-gradient(circle at 50% 0%, rgba(0,192,255,.14), transparent 42%), radial-gradient(circle at 20% 80%, rgba(37,99,235,.15), transparent 35%);
  filter: blur(80px);
  z-index: 0;
}

.grid-glow {
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: .4;
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 192, 255, 0.25) transparent;
  background: #040814;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.8rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  box-shadow: 6px 0 32px rgba(0, 0, 0, 0.5);
  z-index: 100;
}

.sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/sidebar_yamaha_bg.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.52;
  filter: saturate(1.2) contrast(1.15);
  pointer-events: none;
  z-index: 0;
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 12%, rgba(0, 102, 255, 0.32) 0%, transparent 68%),
    linear-gradient(180deg, rgba(3, 8, 20, 0.42) 0%, rgba(4, 10, 24, 0.76) 50%, rgba(2, 6, 16, 0.95) 100%);
  pointer-events: none;
  z-index: 1;
}

.sidebar > * { position: relative; z-index: 2; }

.brand-block { display: grid; gap: 1rem; }
.brand-logos { display: flex; align-items: center; gap: 1rem; filter: drop-shadow(0 0 25px rgba(0,192,255,.3)); }
.brand-caption .eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--muted); }
.brand-caption h1 { margin: .3rem 0 0; font-size: 1.35rem; letter-spacing: -.02em; }
.badge { display: inline-flex; margin-top: .7rem; padding: .4rem .85rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }

.nav-list { display: grid; gap: .55rem; }
.nav-link {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.85rem;
  padding: 0.85rem 1.05rem;
  color: #e2e8f8;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(16, 28, 56, 0.65) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  text-align: left;
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: -0.01em;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35), 0 4px 14px rgba(0, 0, 0, 0.25);
}

.nav-link:hover {
  border-color: rgba(0, 192, 255, 0.5);
  color: #ffffff;
  transform: translateX(4px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.08) 40%, rgba(24, 44, 88, 0.75) 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 8px 22px rgba(0, 102, 255, 0.28);
}

.nav-link.active {
  border-color: rgba(0, 200, 255, 0.7);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0%, rgba(0, 132, 255, 0.45) 50%, rgba(0, 80, 200, 0.75) 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.55), 0 8px 24px rgba(0, 102, 255, 0.4);
  transform: translateX(6px);
}

.nav-link.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #00c0ff;
  box-shadow: 0 0 14px #00c0ff, 0 0 6px #00c0ff;
}

.sidebar-footer {
  margin-top: auto;
  font-size: .8rem;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1rem;
}

.workspace { padding: 2.5rem clamp(1.5rem, 4vw, 3.6rem) 4rem; }

.hero {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(120deg, rgba(4,9,22,.9), rgba(9,19,33,.75));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 35px 80px rgba(0,0,0,.55);
  border-radius: 1.6rem;
  padding: 2rem;
}

.hero-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; color: var(--muted); margin: 0 0 .4rem; }
.hero h2 { margin: 0; font-family: "Space Grotesk", sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.02em; }
.hero p { margin: .45rem 0 0; color: var(--muted); }
.hero-context {
  position: relative;
  align-self: center;
  min-width: 280px;
  max-width: 330px;
}

.filter-panel {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
  background: linear-gradient(135deg, rgba(14, 24, 48, 0.72) 0%, rgba(8, 14, 29, 0.86) 100%);
  border-radius: 1.25rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 20px 50px rgba(0, 0, 0, 0.5);
}

.field { display: grid; gap: .4rem; font-size: .8rem; color: var(--muted); font-weight: 500; }
select, textarea {
  border-radius: .8rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 13, 26, 0.85);
  backdrop-filter: blur(12px);
  color: var(--text);
  padding: .75rem .9rem;
  transition: all .2s ease;
}

select:focus, textarea:focus { outline: none; border-color: rgba(0, 192, 255, 0.5); box-shadow: 0 0 0 3px rgba(0, 192, 255, 0.15), 0 0 16px rgba(0, 192, 255, 0.2); }

.ghost {
  border-radius: .85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 24, 48, 0.5);
  backdrop-filter: blur(10px);
  color: var(--text);
  padding: .7rem 1rem;
  transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ghost:hover {
  border-color: rgba(0, 192, 255, 0.4);
  background: rgba(18, 32, 62, 0.75);
  color: #fff;
  transform: translateY(-1px);
}

.section { margin-top: 2.4rem; }
.section-header h3 { margin: 0; font-size: 1.2rem; letter-spacing: -.02em; }
.section-header p { margin: .25rem 0 0; color: var(--muted); }

.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.hero-card {
  position: relative;
  border-radius: 1.25rem;
  padding: 1.35rem 1.4rem;
  background: linear-gradient(135deg, rgba(16, 26, 52, 0.72) 0%, rgba(8, 14, 30, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 34px -8px rgba(0, 0, 0, 0.55), 0 0 18px -4px rgba(0, 102, 255, 0.08);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 192, 255, 0.65), transparent);
}
.hero-card:hover {
  transform: translateY(-3px) scale(1.008);
  border-color: rgba(0, 192, 255, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 20px 42px -8px rgba(0, 0, 0, 0.65), 0 0 28px rgba(0, 192, 255, 0.18);
}
.hero-card.hero-status::before {
  background: linear-gradient(90deg, transparent, rgba(0, 255, 178, 0.8), transparent);
}
.hero-card.highlight {
  border-color: rgba(217, 119, 6, 0.45);
  box-shadow: inset 0 1px 0 rgba(244, 214, 176, 0.25), 0 14px 34px -8px rgba(0, 0, 0, 0.6), 0 0 26px rgba(217, 119, 6, 0.22);
}
.hero-card.highlight::before {
  background: linear-gradient(90deg, transparent, rgba(217, 119, 6, 0.9), transparent);
}
.hero-card.highlight:hover {
  border-color: rgba(217, 119, 6, 0.7);
  box-shadow: inset 0 1px 0 rgba(244, 214, 176, 0.35), 0 20px 45px -8px rgba(0, 0, 0, 0.7), 0 0 35px rgba(217, 119, 6, 0.35);
}
.hero-label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; font-weight: 500; }
.hero-card strong { font-size: clamp(1.45rem, 2.5vw, 2.3rem); display: block; margin-top: .7rem; font-family: "Space Grotesk"; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35); }
.hero-card p { margin: .45rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.6; }

.panel {
  position: relative;
  border-radius: 1.25rem;
  padding: 1.35rem 1.45rem;
  background: linear-gradient(135deg, rgba(14, 23, 44, 0.72) 0%, rgba(8, 14, 28, 0.85) 100%);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 24px 60px rgba(0, 0, 0, 0.55);
  margin-top: 1.2rem;
  transition: border-color 0.25s ease;
}
.panel:hover {
  border-color: rgba(0, 192, 255, 0.22);
}

.panel header { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; }
.panel header h4 { margin: 0; font-size: 1rem; letter-spacing: -.01em; }
.panel header span { font-size: .78rem; color: var(--muted); }

.panel-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; }
.panel.wide { grid-column: span 1; }
.panel.stack { grid-column: span 1; display: grid; gap: 1rem; }

.chart-bands { display: flex; gap: .8rem; align-items: flex-end; height: 240px; padding-top: 1rem; }
.chart-column { flex: 1; display: grid; gap: .4rem; justify-items: center; }
.chart-base { width: 55%; border-radius: 1rem 1rem 0 0; background: linear-gradient(180deg, rgba(0,192,255,.8), rgba(37,99,235,.55)); transition: height .4s; }
.chart-base.secondary { background: linear-gradient(180deg, rgba(244,214,176,.95), rgba(217,119,6,.6)); width: 35%; }
.chart-column span { font-size: .75rem; color: var(--muted); }

.table-scroll { overflow: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; min-width: 650px; }
th, td { text-align: left; padding: .7rem .5rem; font-size: .84rem; }
th { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
td { border-top: 1px solid rgba(255,255,255,.05); }

.metric-list, .ranking { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .7rem; }
.metric-list li, .ranking li { display: flex; justify-content: space-between; align-items: center; padding: .7rem .85rem; border-radius: .95rem; background: rgba(9, 15, 32, 0.8); }
.metric-list strong, .ranking strong { font-family: "Space Grotesk"; font-size: 1.05rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .75rem; margin-top: 1rem; }
.stat-grid div { padding: .75rem .85rem; border-radius: .9rem; background: rgba(8, 14, 30, 0.9); border: 1px solid rgba(255,255,255,.05); }
.stat-grid span { font-size: .75rem; color: var(--muted); }
.stat-grid strong { font-size: 1.2rem; display: block; margin-top: .3rem; }

.badge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: .8rem; margin-top: 1rem; }
.badge-grid div { border: 1px solid rgba(255,255,255,.07); border-radius: 1rem; padding: .9rem; background: rgba(7, 12, 28, 0.8); }

.timeline { display: flex; gap: 1rem; align-items: flex-end; height: 220px; margin-top: 1rem; }
.timeline-bar { flex: 1; text-align: center; font-size: .75rem; color: var(--muted); }
.timeline-bar span { display: block; margin-bottom: .4rem; }
.timeline-bar .bar { width: 100%; height: var(--height); border-radius: 0.8rem 0.8rem 0 0; background: linear-gradient(180deg, rgba(0,192,255,.9), rgba(3,9,21,0.2)); border: 1px solid rgba(0,192,255,.4); }

.insight-grid { display: grid; gap: .75rem; margin-top: 1rem; }
.insight-grid article { border-radius: 1rem; padding: 1rem; border: 1px solid rgba(255,255,255,.08); background: rgba(5, 10, 24, 0.85); }
.insight-grid strong { font-size: 1.05rem; display: block; }
.insight-grid p { margin: .4rem 0 0; color: var(--muted); }

textarea { min-height: 110px; }
.primary { border: none; border-radius: .85rem; padding: .75rem 1rem; background: linear-gradient(120deg, rgba(0,192,255,.85), rgba(37,99,235,.9)); color: #fff; font-weight: 600; }
#feedbackStatus { min-height: 1.2rem; font-size: .85rem; color: var(--success); }

[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--glow-2); outline-offset: 5px; }
.sidebar { height: 100vh; min-height: 760px; align-self: start; padding: 2rem 1.5rem; gap: 1.4rem; }
.sidebar::after { background: linear-gradient(180deg, rgba(3,9,21,.3), rgba(3,9,21,.75)); }
.sidebar-overlay { display: none; }
.brand-wordmark > span { display: block; font-family: "Space Grotesk", sans-serif; font-size: 2.8rem; font-weight: 700; font-style: italic; letter-spacing: -.08em; line-height: 1; }
.brand-wordmark .brand-dot { color: var(--glow-2); }
.brand-wordmark > small { display: block; margin-top: .5rem; letter-spacing: .28em; font-size: .7rem; color: var(--accent); }
.brand-caption h1 { font-size: .9rem; line-height: 1.6; font-weight: 400; color: var(--muted); }
.brand-caption .eyebrow { font-size: .62rem; }
.badge { font-size: .57rem; gap: .45rem; align-items: center; letter-spacing: .06em; padding: .45rem .6rem; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--glow-2); box-shadow: 0 0 12px var(--glow-2); }
.nav-list { counter-reset: nav; }
.nav-link { display: flex; align-items: center; gap: .75rem; font-size: .8rem; padding: .85rem .8rem; }
.nav-link::before { counter-increment: nav; content: "0" counter(nav); color: #657c9c; font-family: "Space Grotesk", sans-serif; font-size: .7rem; }
.nav-link.active { border-left: 3px solid var(--glow-2); background: linear-gradient(90deg, rgba(0,192,255,.16), rgba(15,24,48,.4)); }
.nav-link.active::before { color: var(--glow-2); }
.moto-scene { margin: auto -1.5rem 0; position: relative; padding-top: 1rem; background: radial-gradient(ellipse, rgba(0,135,255,.18), transparent 70%); }
.moto-scene > span, .moto-scene > small { display: block; text-align: center; color: #6883a5; font-size: .54rem; letter-spacing: .23em; }
.moto-scene svg { display: block; width: 100%; transform: rotate(-8deg); filter: drop-shadow(0 0 16px #006bd633); }
.moto-scene > small { color: var(--accent); font-size: .48rem; }
.sidebar-footer { margin-top: 0; font-size: .65rem; line-height: 1.6; overflow-wrap: anywhere; }
.workspace { min-width: 0; padding: 1.8rem clamp(1.2rem, 2.5vw, 2.6rem) 3rem; }
.hero { position: relative; overflow: hidden; padding: 1.8rem 2rem; background: radial-gradient(ellipse at 80% 100%, #143c714d, transparent 60%), linear-gradient(120deg, #081121e6, #0b182cc2); }
.hero::after { content: ""; position: absolute; pointer-events: none; width: 260px; height: 400px; right: 20%; top: -80px; transform: rotate(35deg); border-right: 1px solid #42bfff33; background: linear-gradient(90deg, transparent, #278fff0a); }
.hero > * { position: relative; z-index: 1; }
.hero h2 { font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.08; margin-top: .65rem; }
.hero h2 span { color: #73ceff; }
.hero p:not(.hero-eyebrow) { font-size: .82rem; max-width: 480px; line-height: 1.7; margin-top: .85rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.hero-tags span { border: 1px solid #9fb3d726; padding: .3rem .5rem; border-radius: 5px; font-size: .6rem; color: var(--muted); }
.hero-context { flex: 0 0 210px; align-content: center; gap: .7rem; text-align: right; }
.hero-context > span { text-transform: uppercase; font-size: .6rem; letter-spacing: .15em; color: var(--glow-2); }
.hero-context strong { font-size: .9rem; letter-spacing: 0; }
.hero-context small { color: var(--muted); font-size: .65rem; }
.filter-panel { margin-top: 1.1rem; align-items: end; grid-template-columns: 1fr 1fr 1.4fr auto; }
.ghost { padding: .75rem 1rem; font-size: .75rem; min-height: 43px; }
.section { scroll-margin-top: 1.5rem; margin-top: 1.7rem; animation: reveal .35s ease-out; }
.section-header { margin-bottom: 1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.section-header h3 { font-size: 1.05rem; }
.section-header p { font-size: .75rem; }
.hero-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.65rem; }
.hero-card { padding: 0.95rem 1rem; position: relative; overflow: hidden; background: linear-gradient(140deg, #152744c4, #0b1427b3); display: flex; flex-direction: column; justify-content: space-between; }
.hero-card::before { content: ""; position: absolute; left: 1rem; top: 0; width: 34px; height: 2px; background: var(--glow-2); box-shadow: 0 0 14px #00c0ff99; }
.hero-card.highlight { border-color: #f4d6b040; box-shadow: inset 0 0 35px #d977060d; }
.hero-card.highlight::before { background: var(--accent); }
.hero-card strong { font-size: clamp(1.1rem, 1.35vw, 1.5rem); letter-spacing: -.03em; white-space: nowrap; margin: 0.2rem 0; }
.hero-label { font-size: .58rem; letter-spacing: .08em; }
.hero-card p { font-size: .64rem; line-height: 1.4; margin: 0; }
.hero-card.highlight strong { color: var(--accent); }
.panel { min-width: 0; box-shadow: 0 12px 35px #00000029; }
.panel header { flex-wrap: wrap; }
.panel header h4 { font-size: .85rem; }
.panel header span { font-size: .65rem; }
.panel.stack { display: block; }
.hero, .hero-card, .panel, .filter-panel { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.chart-bands { display: block; height: auto; min-height: 240px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .62rem; color: var(--glow-2); }
.chart-legend > :last-child { margin-left: auto; }
.gold { color: var(--accent); }
.trend-svg { width: 100%; display: block; margin-top: 1rem; }
.trend-svg text { font-family: inherit; font-size: 12px; fill: var(--muted); }
.chart-data { color: var(--muted); font-size: .65rem; margin-top: .7rem; }
.chart-data summary { cursor: pointer; }
#unitTable { white-space: nowrap; }
.table-scroll table { min-width: 0; }
th, td { font-size: .73rem; padding: .85rem .45rem; }
th { font-size: .56rem; letter-spacing: .06em; }
.progress { width: 100%; min-width: 48px; height: 3px; background: #9fb3d71a; border-radius: 3px; margin-top: .4rem; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--glow), var(--glow-2)); border-radius: inherit; }
.positive { color: #58e3b1; }
.negative { color: #ff9696; }
.muted { color: var(--muted); }
.rings { display: flex; align-items: center; gap: 2rem; padding: 2rem .5rem 1rem; }
.donut { width: 205px; height: 205px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; box-shadow: 0 0 45px #008dff12; }
.donut > div { width: 164px; height: 164px; border: 8px solid #102038; border-radius: 50%; background: #0c1628; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; }
.donut span, .donut small { color: var(--muted); font-size: .6rem; }
.donut strong { font-family: "Space Grotesk", sans-serif; font-size: 1.05rem; }
.mix-legend { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; flex: 1; }
.mix-legend li { display: grid; grid-template-columns: 1fr auto; gap: .3rem .5rem; font-size: .7rem; }
.mix-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: .5rem; }
.mix-legend small { grid-column: 1 / -1; color: var(--muted); padding-left: .9rem; }
.metric-list li, .ranking li { font-size: .75rem; gap: .6rem; }
.metric-list strong, .ranking strong { font-size: .9rem; }
.rank-position { color: var(--glow-2); font-size: .65rem; }
.ranking li > :nth-child(2) { flex: 1; }
.service-bars { display: grid; gap: 1.2rem; margin-top: 1.5rem; }
.service-bar-row > div:first-child { display: flex; justify-content: space-between; font-size: .72rem; gap: .5rem; margin-bottom: .6rem; }
.service-bar-row small { color: var(--muted); font-size: .6rem; }
.horizontal-bar { height: 6px; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #2662eb, #00c0ff); margin: 4px 0; }
.horizontal-bar.secondary { background: #c6a77d; height: 4px; }
.badge-grid { margin-top: 1rem; }
.badge-grid span { display: block; font-size: .65rem; color: var(--muted); }
.badge-grid strong { display: block; font-size: 1.1rem; margin-top: .5rem; }
.status { display: inline-block; border: 1px solid currentColor; border-radius: 6px; padding: .3rem .45rem; font-size: .62rem; }
.status.ok { color: #58e3b1; background: #58e3b109; }
.status.warning { color: #f4d6b0; background: #f4d6b009; }
.status.critical { color: #ff9696; background: #ff969609; }
.timeline { height: 215px; align-items: end; gap: .75rem; }
.timeline-bar strong { display: block; color: var(--text); font-family: "Space Grotesk", sans-serif; font-size: 1.5rem; margin-bottom: .6rem; }
.timeline-bar .bar { margin-bottom: .65rem; }
.timeline-bar.critical .bar { background: linear-gradient(#ff969680, #ff969609); border-color: #ff969655; }
.timeline-bar.critical strong { color: #ff9696; }
.timeline-bar span { font-size: .6rem; min-height: 1.5rem; }
.insight-number { display: block; font-size: .6rem; color: var(--glow-2); letter-spacing: .12em; margin-bottom: .65rem; }
.insight-grid strong { font-size: .85rem; }
.insight-grid p { font-size: .75rem; line-height: 1.8; }
.feedback-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feedback-form small { color: var(--muted); line-height: 1.7; font-size: .7rem; }
textarea { width: 100%; resize: vertical; min-height: 170px; }
@keyframes reveal { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1101px) and (max-width: 1450px) {
  .app-shell { grid-template-columns: 255px minmax(0, 1fr); }
  .hero-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.55rem; }
  .panel-grid { grid-template-columns: 1fr; }
  .hero-context { flex-basis: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: relative; height: auto; min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); padding: 1.3rem; gap: 1rem; }
  .brand-block { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
  .brand-caption h1, .brand-caption .eyebrow, .moto-scene, .sidebar-footer { display: none; }
  .brand-wordmark > span { font-size: 2rem; }
  .brand-wordmark > small { font-size: .55rem; }
  .nav-list { display: flex; overflow-x: auto; padding: .3rem; }
  .nav-link { white-space: nowrap; flex-shrink: 0; }
  .nav-link:hover, .nav-link.active { transform: none; }
  .workspace { padding: 1.3rem; }
  .panel-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card strong { font-size: 1.6rem; }
}

@media (max-width: 720px) {
  .workspace { padding: .85rem; }
  .hero { flex-direction: column; padding: 1.3rem; }
  .hero-context { flex-basis: auto; justify-items: start; text-align: left; padding-top: 1rem; border-top: 1px solid var(--border); }
  .hero h2 { font-size: 2rem; }
  .filter-panel { grid-template-columns: 1fr; gap: .75rem; }
  .section-header { display: block; }
  .section-header p { margin-top: .5rem; }
  .hero-grid { gap: .6rem; }
  .hero-card { padding: .9rem .7rem; }
  .hero-card strong { font-size: 1.15rem; }
  .hero-label { font-size: .52rem; }
  .hero-card p { font-size: .6rem; }
  .panel { padding: 1rem; }
  .rings { flex-direction: column; gap: 1.5rem; }
  .mix-legend { width: 100%; }
  .badge-grid { grid-template-columns: 1fr; }
  .table-scroll table { min-width: 500px; }
  .brand-caption { max-width: 155px; }
  .badge { line-height: 1.5; border-radius: 10px; }
  .chart-legend > :last-child { margin-left: 0; }
  table { min-width: 100%; }
}
