@font-face {
  font-family:Plate;
  src:local('DIN Condensed'),local('Arial Narrow');
  font-weight:700;
  font-display:swap
}
:root {
  color-scheme:dark;
  --bg:#0c1018;
  --sidebar:#0f131c;
  --surface:#131923;
  --elevated:#1a2230;
  --border:#242d3b;
  --text:#f1f4f9;
  --muted:#99a5b8;
  --faint:#7e8da5;
  --accent:#83aaff;
  --accent-strong:#6394ff;
  --green:#80c9ae;
  --amber:#cdb58a;
  --shadow:0 8px 24px #00000012;
  --radius:16px;
  --font:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif
}
:root[data-theme=light] {
  color-scheme:light;
  --bg:#f4f6fa;
  --sidebar:#fbfcfe;
  --surface:#fff;
  --elevated:#edf1f8;
  --border:#dce2ec;
  --text:#172333;
  --muted:#59687e;
  --faint:#5d6f88;
  --accent:#315cbb;
  --accent-strong:#396ddd;
  --green:#26775e;
  --amber:#85622e;
  --shadow:0 5px 20px #182c4b05
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:90px
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  font-variant-numeric:tabular-nums
}
button,input,textarea,select {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  cursor:default;
  opacity:.5
}
a {
  color:inherit;
  text-decoration:none
}
button {
  color:inherit
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  font-weight:600
}
h1 {
  font-size:34px;
  letter-spacing:-1.2px;
  line-height:1.2
}
h2 {
  font-size:16px;
  letter-spacing:-.3px
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px
}
button:active:not(:disabled) {
  transform:translateY(1px)
}
[hidden] {
  display:none!important
}
.icon {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}
.muted {
  color:var(--muted)
}
.accent {
  color:var(--accent)
}
.eyebrow {
  font-size:10px;
  font-weight:600;
  letter-spacing:1.4px;
  line-height:1.5;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:8px
}
.eyebrow .icon {
  width:14px;
  height:14px
}
.status-dot {
  height:6px;
  width:6px;
  background:var(--green);
  border-radius:50%;
  display:inline-block;
  flex-shrink:0
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  padding:0 17px;
  border-radius:9px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:550;
  white-space:nowrap;
  transition:background .18s,border-color .18s,box-shadow .18s,transform .15s
}
.button.primary {
  background:#83aaff;
  color:#101b30;
  box-shadow:inset 0 1px 0 #ffffff42,0 3px 10px #5f8ffa16;
  border-color:#9abbff55
}
.button.primary:hover {
  background:#9abbff;
  box-shadow:0 4px 16px #5f8ffa25
}
.button.secondary {
  background:var(--elevated);
  border-color:var(--border)
}
.button.secondary:hover {
  border-color:var(--faint)
}
.button.ghost {
  background:transparent;
  color:var(--accent)
}
.button.danger {
  background:#bd5260;
  color:#fff
}
.button.danger:hover {
  background:#d36372
}
kbd {
  font:10px var(--font);
  border:1px solid #14294b30;
  border-radius:3px;
  padding:0 4px;
  margin-left:9px;
  color:#223c6c
}
.icon-button {
  width:44px;
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  border:1px solid transparent;
  border-radius:9px;
  color:var(--muted);
  transition:background .18s,color .18s
}
.icon-button:hover {
  background:var(--elevated);
  color:var(--text)
}
.text-button {
  display:inline-flex;
  align-items:center;
  gap:6px;
  border:0;
  background:transparent;
  padding:8px 0;
  min-height:44px;
  color:var(--accent);
  font-size:11px;
  font-weight:550
}
.text-button .icon {
  width:14px;
  height:14px
}
.brand-icon {
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(140deg,#b0c9ff,#76a0f7);
  color:#17243c;
  border:1px solid #aac4ff70;
  border-radius:11px;
  box-shadow:0 3px 12px #628fff12
}
.brand-icon .icon {
  width:23px;
  height:23px;
  stroke-width:1.7
}
.sidebar {
  width:226px;
  position:fixed;
  inset:0 auto 0 0;
  padding:31px 18px 18px;
  background:var(--sidebar);
  border-right:1px solid var(--border);
  display:flex;
  flex-direction:column;
  z-index:20
}
.brand {
  display:flex;
  gap:11px;
  align-items:center;
  padding:0 7px;
  font-size:17px;
  font-weight:650;
  letter-spacing:-.55px
}
.brand small {
  display:block;
  font-weight:400;
  font-size:10px;
  color:var(--muted);
  letter-spacing:0;
  margin-top:3px
}
.sidebar-label {
  font-size:8px;
  letter-spacing:1.5px;
  color:var(--faint);
  font-weight:650;
  margin:49px 12px 13px
}
.desktop-nav {
  display:grid;
  gap:5px
}
.nav-item {
  display:flex;
  align-items:center;
  gap:11px;
  min-height:43px;
  border-radius:8px;
  padding:0 12px;
  font-size:12px;
  color:var(--muted);
  border:0;
  background:transparent;
  width:100%;
  text-align:left;
  transition:background .2s,color .2s
}
.nav-item:hover {
  background:var(--elevated);
  color:var(--text)
}
.nav-item.active {
  background:#7eabff12;
  color:var(--accent)
}
.nav-item .icon {
  width:16px;
  height:16px
}
.nav-dot {
  width:5px;
  height:5px;
  background:var(--accent);
  border-radius:50%;
  margin-left:auto
}
.nav-count {
  margin-left:auto;
  font-size:10px;
  color:var(--faint);
  background:var(--elevated);
  border:1px solid var(--border);
  border-radius:5px;
  padding:0 5px
}
.sidebar-note {
  margin:auto 11px 42px;
  padding-top:40px
}
.small-plate {
  display:inline-flex;
  border:1px solid var(--faint);
  border-radius:4px;
  font-size:12px;
  letter-spacing:3px;
  padding:0 6px 0 8px;
  color:var(--muted);
  opacity:.6;
  position:relative
}
.small-plate:before {
  content:'';
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  background:var(--faint);
  width:3px
}
.sidebar-note p {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  margin:14px 0
}
.sidebar-note>span {
  font-size:7px;
  letter-spacing:1px;
  color:var(--faint)
}
.sidebar-bottom {
  border-top:1px solid var(--border);
  padding-top:12px
}
.profile {
  display:flex;
  align-items:center;
  margin-top:18px;
  padding-top:17px;
  border-top:1px solid var(--border);
  gap:8px;
  font-size:10px
}
.avatar {
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border:1px solid #93b0f344;
  border-radius:9px;
  background:#93b0f311;
  color:var(--accent);
  font-size:11px
}
.profile small {
  display:flex;
  align-items:center;
  gap:4px;
  font-size:8px;
  color:var(--faint);
  margin-top:2px
}
.profile .status-dot {
  width:4px;
  height:4px
}
.profile .icon-button {
  margin-left:auto;
  width:28px
}
.profile .icon-button .icon {
  width:15px
}
.workspace {
  margin-left:226px
}
.topbar {
  height:73px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 38px;
  background:var(--bg)
}
.breadcrumbs {
  display:flex;
  align-items:center;
  gap:15px;
  font-size:10px;
  color:var(--muted)
}
.breadcrumbs>span:first-child {
  color:var(--faint)
}
.breadcrumbs .icon {
  width:12px;
  height:12px;
  color:var(--faint)
}
.header-tools {
  display:flex;
  align-items:center;
  gap:17px
}
.private-badge {
  display:flex;
  align-items:center;
  gap:5px;
  font-size:10px;
  color:var(--muted)
}
.private-badge .icon {
  width:11px;
  height:11px
}
.header-tools>.icon-button {
  border-left-color:var(--border);
  border-radius:0;
  padding-left:17px;
  width:40px
}
.main-content {
  padding:34px 38px 0;
  max-width:1510px;
  margin:0 auto
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:29px;
  gap:20px
}
.page-heading .eyebrow {
  font-size:8px;
  letter-spacing:1.5px;
  margin-bottom:8px;
  color:var(--faint)
}
.page-heading p {
  font-size:11px;
  color:var(--muted);
  margin-top:8px
}
.heading-dot {
  color:var(--accent)
}
.card {
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.hero-grid {
  display:grid;
  grid-template-columns:1.55fr 1fr;
  gap:18px
}
.record-card {
  padding:22px 25px 0;
  position:relative;
  overflow:hidden;
  background:radial-gradient(ellipse at 50% 55%,#7aabff0b,transparent 70%),var(--surface)
}
.card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px
}
.record-card .eyebrow {
  font-size:9px;
  letter-spacing:1px
}
.live-badge {
  color:var(--green);
  font-size:8px;
  display:flex;
  align-items:center;
  gap:5px;
  border:1px solid #80c9ae24;
  background:#80c9ae08;
  border-radius:20px;
  padding:4px 8px;
  white-space:nowrap
}
.live-badge .status-dot {
  width:4px;
  height:4px
}
.license-plate {
  display:flex;
  align-items:center;
  position:relative;
  height:92px;
  width:min(100%,420px);
  margin:29px auto 18px;
  padding:5px 13px 5px 5px;
  background:linear-gradient(170deg,#fff,#e8eaf0);
  color:#14171a;
  border:2px solid #d0d4dc;
  border-radius:9px;
  box-shadow:0 1px 0 #fff8,inset 0 0 0 2px #252b3460,0 12px 28px #0003;
  overflow:hidden;
  transform:perspective(1000px) rotateX(3deg);
  transition:box-shadow .25s
}
.license-plate:disabled {
  opacity:1
}
.license-plate:hover:not(:disabled) {
  box-shadow:0 1px 0 #fff8,inset 0 0 0 2px #252b3460,0 12px 30px #0003,0 0 25px #81aaff0a
}
.plate-text {
  font-family:Plate,'Arial Narrow',Impact,sans-serif;
  font-size:65px;
  font-weight:700;
  line-height:1;
  letter-spacing:2px;
  white-space:nowrap;
  margin:auto;
  font-stretch:condensed;
  transform:scaleX(.92)
}
.eu-band {
  width:34px;
  align-self:stretch;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  border-radius:3px 0 0 3px;
  background:#124493;
  color:#fff;
  padding:7px 3px 5px;
  flex-shrink:0;
  font-family:Arial,sans-serif;
  font-size:17px;
  font-weight:600
}
.eu-stars {
  color:#f8df53;
  font-size:27px;
  height:31px;
  width:26px;
  line-height:29px;
  border:2px dotted #f8df53;
  border-radius:50%;
  text-indent:-999px;
  overflow:hidden;
  transform:scale(.7)
}
.plate-screw {
  position:absolute;
  width:4px;
  height:4px;
  background:#a4aab3;
  border-radius:50%;
  bottom:8px;
  box-shadow:inset 0 1px 1px #3334
}
.screw-left {
  left:49px
}
.screw-right {
  right:13px
}
.record-details {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:13px;
  font-size:10px;
  color:var(--muted);
  margin-bottom:20px;
  flex-wrap:wrap
}
.record-details>span {
  display:inline-flex;
  align-items:center;
  gap:5px
}
.record-details .icon {
  width:12px;
  height:12px
}
.growth-pill {
  color:var(--green)
}
.copy-hint {
  color:var(--faint);
  font-size:8px
}
.record-footer {
  display:flex;
  align-items:center;
  gap:7px;
  border-top:1px solid var(--border);
  padding:11px 0;
  color:var(--faint);
  font-size:8px
}
.record-footer .status-dot {
  width:4px;
  height:4px;
  background:var(--faint)
}
.series-card {
  padding:22px 24px
}
.tag {
  font-size:9px;
  background:var(--elevated);
  border:1px solid var(--border);
  color:var(--muted);
  padding:3px 8px;
  border-radius:5px;
  white-space:nowrap
}
.tag.amber {
  color:var(--amber);
  border-color:#cdb58a22;
  background:#cdb58a09
}
.series-title {
  display:flex;
  align-items:center;
  gap:19px;
  margin:18px 0 20px
}
.series-title>span {
  font-size:62px;
  font-weight:350;
  line-height:1;
  color:var(--accent);
  letter-spacing:-3px
}
.series-title strong {
  font-size:11px;
  font-weight:500;
  display:block
}
.series-title p {
  font-size:9px;
  color:var(--muted);
  margin-top:4px
}
.progress-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  color:var(--muted);
  margin-bottom:10px
}
.progress-heading strong {
  font-size:16px;
  color:var(--text);
  font-weight:550
}
.progress-track {
  height:7px;
  border-radius:6px;
  background:var(--elevated);
  overflow:visible
}
.progress-track>div {
  background:linear-gradient(90deg,#5483d6,#9fc3ff);
  height:100%;
  border-radius:inherit;
  width:0;
  position:relative;
  transition:width .6s ease
}
.progress-track>div:after {
  content:'';
  position:absolute;
  right:0;
  top:-3px;
  height:13px;
  width:3px;
  background:#bdd4ff;
  border-radius:4px;
  box-shadow:0 0 10px #98bbff55
}
.progress-ends {
  display:flex;
  justify-content:space-between;
  font-size:8px;
  color:var(--faint);
  margin-top:10px;
  font-family:ui-monospace,monospace
}
.kpi-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
  margin-top:18px
}
.kpi {
  padding:18px 20px
}
.kpi-label {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:10px;
  color:var(--muted);
  gap:8px
}
.kpi-icon {
  display:flex;
  color:var(--faint)
}
.kpi-icon .icon {
  height:15px;
  width:15px
}
.kpi-value {
  font-size:31px;
  line-height:1.3;
  letter-spacing:-1.2px;
  margin:12px 0 6px;
  font-weight:500
}
.kpi-caption {
  font-size:8px;
  color:var(--faint)
}
.analysis-grid {
  display:grid;
  grid-template-columns:1.7fr 1fr;
  gap:18px;
  margin-top:23px
}
.chart-card {
  padding:22px 23px 0;
  min-width:0
}
.section-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px
}
.section-top p {
  font-size:10px;
  color:var(--muted);
  margin-top:5px
}
.chart {
  height:216px;
  position:relative;
  margin:20px -7px 6px;
  touch-action:pan-y;
  outline-offset:0!important
}
.chart svg {
  display:block;
  width:100%;
  height:100%;
  overflow:visible
}
.chart text {
  fill:var(--faint);
  font-family:var(--font);
  font-size:10px
}
.chart .grid-line {
  stroke:var(--border);
  stroke-dasharray:3 5
}
.chart .history-line {
  stroke:var(--accent);
  stroke-width:2.2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round
}
.chart .history-point {
  fill:var(--accent);
  stroke:var(--surface);
  stroke-width:3
}
.chart .point-halo {
  fill:var(--accent);
  opacity:.1
}
.chart .cursor-line {
  stroke:var(--faint);
  stroke-dasharray:3 3;
  pointer-events:none
}
.chart-tooltip {
  position:absolute;
  z-index:2;
  pointer-events:none;
  background:var(--elevated);
  border:1px solid var(--border);
  border-radius:8px;
  padding:9px 12px;
  font-size:10px;
  box-shadow:var(--shadow);
  transform:translate(-50%,-100%);
  white-space:nowrap
}
.chart-tooltip strong {
  display:block;
  color:var(--text);
  font-size:12px
}
.chart-tooltip span {
  color:var(--muted)
}
.chart-footer {
  display:flex;
  justify-content:space-between;
  gap:8px;
  border-top:1px solid var(--border);
  padding:12px 0;
  color:var(--faint);
  font-size:8px
}
.chart-footer>span {
  display:flex;
  align-items:center;
  gap:5px
}
.chart-footer .icon {
  width:11px;
  height:11px
}
.legend-dot {
  height:5px;
  width:5px;
  background:var(--accent);
  border-radius:50%
}
.chart-filters {
  display:flex;
  gap:2px;
  flex-wrap:wrap;
  justify-content:flex-end
}
.chart-filters button {
  min-height:35px;
  padding:0 8px;
  border:0;
  border-radius:5px;
  background:transparent;
  font-size:9px;
  color:var(--muted)
}
.chart-filters button.selected {
  background:var(--elevated);
  color:var(--text)
}
.forecast-card {
  padding:21px 23px
}
.forecast-card .eyebrow {
  font-size:9px;
  letter-spacing:1px
}
.forecast-card h2 {
  margin-top:17px
}
.forecast-description {
  font-size:10px;
  color:var(--muted);
  margin-top:6px;
  max-width:230px
}
.forecast-date {
  font-size:24px;
  letter-spacing:-.9px;
  margin-top:16px;
  font-weight:500
}
.forecast-assumption {
  font-size:9px;
  color:var(--muted);
  margin-top:2px
}
.scenarios {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-top:17px;
  padding-top:13px;
  border-top:1px solid var(--border)
}
.scenario span {
  display:block;
  color:var(--faint);
  font-size:8px
}
.scenario strong {
  display:block;
  font-size:11px;
  font-weight:500;
  margin:3px 0
}
.scenario.base strong {
  color:var(--accent)
}
.scenario small {
  font-size:8px;
  color:var(--faint)
}
.forecast-card>.text-button {
  min-height:35px;
  font-size:9px
}
.forecast-disclaimer {
  display:flex;
  align-items:flex-start;
  gap:6px;
  border-top:1px solid var(--border);
  padding-top:9px;
  color:var(--faint);
  font-size:8px;
  line-height:1.6
}
.forecast-disclaimer .icon {
  width:12px;
  height:12px;
  margin-top:1px
}
.milestone {
  display:flex;
  align-items:center;
  gap:15px;
  border:1px solid #bda1742e;
  border-radius:12px;
  background:linear-gradient(100deg,#cdb58a09,transparent);
  padding:18px 22px;
  margin-top:22px;
  position:relative;
  overflow:hidden
}
.milestone-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:35px;
  height:35px;
  border:1px solid #cdb58a28;
  border-radius:10px;
  background:#cdb58a09;
  color:var(--amber)
}
.milestone-icon .icon {
  width:19px;
  height:19px
}
.milestone-title {
  font-size:11px;
  font-weight:500
}
.milestone p {
  font-size:9px;
  color:var(--muted);
  margin-top:3px
}
.milestone p strong {
  color:var(--amber);
  font-weight:500
}
.milestone-distance {
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:9px;
  z-index:1
}
.milestone-distance strong {
  font-size:26px;
  font-weight:450;
  letter-spacing:-.8px;
  color:var(--amber)
}
.milestone-distance span {
  font-size:9px;
  color:var(--muted);
  width:45px;
  line-height:1.5
}
.milestone-decoration {
  position:absolute;
  right:10px;
  top:-30px;
  font-size:120px;
  font-weight:700;
  letter-spacing:-10px;
  opacity:.018;
  pointer-events:none
}
.history-card {
  margin-top:26px;
  overflow:hidden
}
.history-card>.section-top {
  padding:22px 23px
}
.count-badge {
  display:inline-flex;
  vertical-align:middle;
  font-size:9px;
  background:var(--elevated);
  color:var(--muted);
  border:1px solid var(--border);
  border-radius:5px;
  padding:0 6px;
  margin-left:6px;
  line-height:17px
}
.history-card .button.secondary {
  font-size:10px;
  min-height:36px;
  padding:0 11px
}
.history-card .button .icon {
  width:13px;
  height:13px
}
.table-heading,.observation-row {
  display:grid;
  grid-template-columns:minmax(180px,1.3fr) minmax(110px,.85fr) minmax(120px,1.5fr) 76px;
  align-items:center;
  gap:12px;
  padding:0 23px
}
.table-heading {
  min-height:34px;
  background:#8b9bb104;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  font-size:7px;
  font-weight:500;
  color:var(--faint);
  letter-spacing:.7px
}
.observation-row {
  min-height:76px;
  border-bottom:1px solid var(--border);
  transition:background .15s
}
.observation-row:hover {
  background:#8b9bb105
}
.observation-plate {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  font-weight:550;
  white-space:nowrap
}
.mini-plate {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #a5b4cb2d;
  border-left:4px solid #5381cd;
  background:var(--elevated);
  padding:4px 7px;
  border-radius:4px;
  font-size:13px;
  letter-spacing:.7px;
  white-space:nowrap
}
.mini-plate.green {
  background:#82cba61a;
  color:var(--green)
}
.record-badge {
  font-size:7px;
  font-weight:500;
  letter-spacing:.1px;
  color:var(--green);
  display:flex;
  align-items:center;
  gap:3px
}
.record-badge .icon {
  width:10px;
  height:10px
}
.observation-date {
  font-size:10px;
  color:var(--muted)
}
.observation-note {
  font-size:10px;
  color:var(--muted);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}
.row-actions {
  display:flex;
  justify-content:flex-end
}
.row-actions .icon-button {
  width:36px;
  height:44px
}
.row-actions .icon {
  width:14px;
  height:14px
}
.row-actions .delete-action:hover {
  color:#e598a1
}
.history-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:9px 23px;
  min-height:40px;
  font-size:8px;
  color:var(--faint)
}
.history-bottom .text-button {
  font-size:9px;
  min-height:28px
}
.page-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:var(--faint);
  font-size:8px;
  padding:25px 0 26px;
  gap:15px
}
.page-footer>span {
  display:flex;
  align-items:center;
  gap:7px
}
.footer-logo {
  font-size:8px;
  font-weight:700;
  letter-spacing:1px;
  border:1px solid var(--border);
  border-radius:3px;
  padding:0 3px;
  color:var(--muted)
}
.footer-separator {
  margin:0 3px;
  opacity:.5
}
.empty-state {
  padding:45px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:9px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  min-height:160px
}
.empty-state .icon {
  width:26px;
  height:26px;
  color:var(--faint);
  margin-bottom:5px
}
.empty-state strong {
  font-size:14px;
  color:var(--text)
}
.empty-state p {
  font-size:11px
}
.empty-state .button {
  margin-top:8px
}
.mobile-brand,.mobile-only,.mobile-action {
  display:none
}
.skip-link {
  position:fixed;
  z-index:100;
  top:10px;
  left:10px;
  transform:translateY(-200%);
  background:var(--surface);
  padding:15px;
  border:1px solid var(--accent);
  border-radius:8px
}
.skip-link:focus {
  transform:none
}
.network-banner,.error-banner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#cdb58a10;
  color:var(--amber);
  border:1px solid #cdb58a30;
  border-radius:10px;
  padding:12px 16px;
  margin-bottom:20px;
  font-size:12px
}
.error-banner {
  color:#edb2b9;
  background:#cd747f0c;
  border-color:#cd747f30
}
.sheet {
  border:1px solid var(--border);
  border-radius:21px;
  padding:27px;
  width:min(470px,calc(100% - 32px));
  max-height:calc(100dvh - 40px);
  background:var(--surface);
  color:var(--text);
  box-shadow:0 32px 100px #0006;
  overflow:auto;
  overscroll-behavior:contain
}
.sheet[open] {
  animation:sheet-in .22s ease-out
}
.sheet::backdrop {
  background:#030711aa;
  backdrop-filter:blur(5px)
}
.dialog-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin-bottom:23px
}
.dialog-header h2 {
  font-size:23px;
  letter-spacing:-.7px;
  margin-top:6px
}
.dialog-header .eyebrow {
  font-size:8px;
  letter-spacing:1.2px
}
.dialog-header>.icon-button {
  margin-right:-10px;
  margin-top:-5px
}
.sheet label,.login-form label {
  display:block;
  font-size:11px;
  color:var(--muted);
  margin:17px 0 8px
}
.sheet input,.sheet select,.sheet textarea,.login-form input[type=password] {
  display:block;
  width:100%;
  min-height:46px;
  background:var(--bg);
  color:var(--text);
  border:1px solid var(--border);
  border-radius:9px;
  padding:11px 12px;
  font-size:16px;
  outline-offset:2px
}
.sheet input:hover,.sheet textarea:hover,.sheet select:hover,.login-form input:hover {
  border-color:var(--faint)
}
.sheet input:focus,.sheet textarea:focus,.sheet select:focus,.login-form input:focus {
  border-color:var(--accent)
}
.sheet textarea {
  resize:vertical;
  max-height:150px;
  font-size:14px
}
.sheet input::placeholder,.sheet textarea::placeholder {
  color:var(--faint);
  opacity:.8
}
.plate-input-wrap {
  display:flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:10px;
  background:var(--bg);
  padding:5px 15px;
  gap:15px
}
.plate-input-wrap:focus-within {
  border-color:var(--accent);
  box-shadow:0 0 0 3px #83aaff0d
}
.plate-input-wrap>span {
  font-size:25px;
  font-weight:600;
  color:var(--faint);
  border-right:1px solid var(--border);
  padding-right:15px
}
.plate-input-wrap input {
  border:0!important;
  padding:7px 0;
  font-size:32px;
  font-weight:550;
  letter-spacing:2px;
  outline:none!important;
  background:transparent;
  min-width:0;
  text-transform:uppercase
}
.sheet small {
  display:block;
  font-size:10px;
  color:var(--faint);
  margin-top:8px
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px
}
.form-row>div {
  min-width:0
}
.sheet input[type=date] {
  min-width:0;
  width:100%;
  -webkit-appearance:none;
  appearance:none;
  min-height:46px
}
.optional {
  font-size:9px;
  color:var(--faint);
  margin-left:5px
}
.dialog-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:25px
}
.dialog-actions .button {
  min-height:46px
}
.form-error {
  color:#f0a2ac!important;
  font-size:12px;
  margin:14px 0;
  padding:10px 12px;
  background:#b856650d;
  border:1px solid #b8566533;
  border-radius:8px
}
.field-description {
  color:var(--muted);
  font-size:11px;
  line-height:1.8;
  margin:12px 0
}
.input-suffix {
  display:flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:9px;
  background:var(--bg)
}
.input-suffix input {
  border:0;
  width:75px;
  flex-shrink:0
}
.input-suffix span {
  color:var(--faint);
  font-size:11px;
  margin-left:auto;
  padding:0 13px
}
.full-width {
  width:100%;
  margin-top:8px
}
.settings-extra {
  margin-top:25px;
  padding-top:22px;
  border-top:1px solid var(--border)
}
.settings-extra strong {
  font-size:12px;
  font-weight:500
}
.settings-extra p {
  font-size:10px;
  color:var(--muted);
  margin:4px 0 13px
}
.export-links {
  display:flex;
  gap:10px
}
.logout-button {
  font-size:11px;
  color:var(--muted);
  margin-top:16px
}
.compact-sheet .dialog-header h2 {
  font-size:20px
}
.compact-sheet>p {
  font-size:12px
}
.sheet-handle {
  display:none
}
.toast {
  position:fixed;
  bottom:28px;
  left:calc(50% + 113px);
  transform:translateX(-50%);
  z-index:100;
  background:var(--elevated);
  color:var(--text);
  border:1px solid var(--border);
  border-radius:12px;
  box-shadow:0 8px 35px #0004;
  padding:13px 20px;
  max-width:calc(100% - 32px);
  font-size:12px;
  text-align:center;
  animation:toast-in .2s ease-out
}
.toast.error {
  border-color:#b8566555;
  color:#f0a2ac
}
.login-shell {
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:50px 22px;
  background:radial-gradient(ellipse at 50% 30%,#739cff0b,transparent 65%)
}
.login-brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:18px;
  font-weight:600;
  letter-spacing:-.5px;
  margin-bottom:45px
}
.version {
  color:var(--faint);
  font-size:9px;
  font-weight:400;
  letter-spacing:0;
  margin-left:10px
}
.login-card {
  width:min(100%,450px);
  padding:35px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow)
}
.login-card .eyebrow {
  font-size:9px;
  margin-bottom:20px
}
.login-card h1 {
  font-size:33px;
  line-height:1.3;
  letter-spacing:-1.2px
}
.login-intro {
  font-size:12px;
  color:var(--muted);
  line-height:1.8;
  margin:18px 0 26px
}
.login-form .button {
  width:100%;
  margin-top:17px
}
.login-private {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:9px;
  color:var(--faint);
  margin-top:23px
}
.login-private .icon {
  width:11px;
  height:11px
}
.login-footer {
  font-size:10px;
  color:var(--faint);
  margin-top:30px
}
.noscript {
  position:fixed;
  inset:auto 10px 10px;
  padding:20px;
  background:var(--surface);
  border:1px solid var(--border);
  z-index:99
}
body.modal-open {
  overflow:hidden
}
.record-celebrate .license-plate {
  animation:record-glow .85s ease-out
}
.record-celebrate .live-badge {
  animation:record-glow .85s ease-out
}
#dashboard[aria-busy=true] .kpi-value {
  opacity:.4
}
#dashboard[aria-busy=true] {
  transition:opacity .2s
}
@keyframes sheet-in {
  from {
    opacity:0;
    transform:translateY(12px)
  }
  to {
    opacity:1;
    transform:translateY(0)
  }
}
@keyframes toast-in {
  from {
    opacity:0;
    margin-bottom:-6px
  }
  to {
    opacity:1;
    margin-bottom:0
  }
}
@keyframes record-glow {
  0%,100% {
    filter:brightness(1)
  }
  40% {
    filter:brightness(1.14);
    box-shadow:0 0 32px #87b0ff33
  }
}
@media(min-width:1550px) {
  .main-content {
    padding-top:40px
  }
  .license-plate {
    margin-top:36px;
    margin-bottom:23px
  }
  .record-details {
    margin-bottom:25px
  }
  .series-title {
    margin-top:25px;
    margin-bottom:26px
  }
  .chart {
    height:250px
  }
  .kpi {
    padding:22px
  }
  .kpi-value {
    font-size:35px
  }
  .forecast-date {
    font-size:29px
  }
}
@media(max-width:1190px) {
  .sidebar {
    width:200px;
    padding-left:12px;
    padding-right:12px
  }
  .workspace {
    margin-left:200px
  }
  .topbar {
    padding:0 25px
  }
  .main-content {
    padding:28px 25px 0
  }
  .hero-grid {
    grid-template-columns:1.3fr 1fr;
    gap:15px
  }
  .record-card {
    padding-left:18px;
    padding-right:18px
  }
  .record-card .eyebrow {
    font-size:8px
  }
  .live-badge {
    font-size:7px;
    padding:3px 6px
  }
  .license-plate {
    height:80px;
    margin-top:30px
  }
  .plate-text {
    font-size:54px;
    letter-spacing:1px
  }
  .eu-band {
    width:30px;
    font-size:15px
  }
  .record-details {
    gap:7px;
    font-size:9px
  }
  .copy-hint {
    display:none!important
  }
  .series-card {
    padding:20px
  }
  .series-title {
    gap:14px
  }
  .series-title strong {
    font-size:10px
  }
  .series-title p {
    font-size:8px
  }
  .kpi {
    padding:16px
  }
  .kpi-grid {
    gap:12px
  }
  .kpi-caption {
    font-size:7px
  }
  .analysis-grid {
    grid-template-columns:1.5fr 1fr;
    gap:15px
  }
  .chart-card {
    padding-left:18px;
    padding-right:18px
  }
  .forecast-card {
    padding:20px 18px
  }
  .chart-footer {
    font-size:7px
  }
  .table-heading,.observation-row {
    grid-template-columns:1.4fr .9fr 1fr 70px;
    gap:9px;
    padding:0 20px
  }
  .observation-plate {
    gap:6px
  }
  .record-badge {
    font-size:6px
  }
  .mini-plate {
    font-size:11px
  }
  .toast {
    left:calc(50% + 100px)
  }
}
@media(max-width:1000px) and (min-width:761px) {
  .sidebar {
    width:76px;
    align-items:center;
    padding:25px 9px 12px
  }
  .brand {
    padding:0
  }
  .brand>span:last-child,.sidebar-label,.sidebar-note,.profile,.nav-item .nav-count,.nav-dot {
    display:none
  }
  .desktop-nav {
    margin-top:40px
  }
  .nav-item {
    font-size:0;
    padding:0;
    justify-content:center;
    width:48px;
    height:46px
  }
  .nav-item .icon {
    width:19px;
    height:19px
  }
  .sidebar-bottom {
    margin-top:auto
  }
  .workspace {
    margin-left:76px
  }
  .hero-grid {
    grid-template-columns:1.3fr 1fr
  }
  .kpi-value {
    font-size:28px
  }
  .analysis-grid {
    grid-template-columns:1.5fr 1fr
  }
  .toast {
    left:calc(50% + 38px)
  }
  .breadcrumbs {
    font-size:11px
  }
}
@media(max-width:760px) {
  html {
    scroll-padding-top:82px
  }
  .sidebar,.breadcrumbs,.private-badge,.desktop-add {
    display:none
  }
  .workspace {
    margin-left:0
  }
  .topbar {
    height:70px;
    padding:env(safe-area-inset-top) 20px 0;
    min-height:calc(70px + env(safe-area-inset-top));
    position:sticky;
    top:0;
    z-index:10;
    background:color-mix(in srgb,var(--bg) 88%,transparent);
    backdrop-filter:blur(16px)
  }
  .mobile-brand {
    display:flex;
    align-items:center;
    gap:9px;
    font-size:17px;
    font-weight:600;
    letter-spacing:-.5px
  }
  .brand-icon {
    width:31px;
    height:31px;
    border-radius:9px
  }
  .brand-icon .icon {
    width:21px
  }
  .header-tools {
    gap:3px
  }
  .header-tools>.icon-button {
    border:0;
    padding:0;
    width:44px
  }
  .mobile-only {
    display:flex
  }
  .main-content {
    padding:25px 18px 105px
  }
  .page-heading {
    margin-bottom:23px
  }
  .page-heading .eyebrow {
    font-size:7px;
    letter-spacing:1.4px;
    margin-bottom:8px
  }
  h1 {
    font-size:31px
  }
  .page-heading p {
    font-size:11px;
    max-width:300px;
    line-height:1.7;
    margin-top:7px
  }
  .hero-grid {
    grid-template-columns:1fr;
    gap:15px
  }
  .record-card {
    padding:20px 20px 0;
    border-radius:15px
  }
  .record-card .eyebrow {
    font-size:8px;
    letter-spacing:.65px
  }
  .record-card .eyebrow .icon {
    width:13px
  }
  .live-badge {
    font-size:7px;
    padding:4px 6px
  }
  .license-plate {
    height:86px;
    margin:29px auto 21px;
    width:min(100%,380px)
  }
  .plate-text {
    font-size:60px;
    letter-spacing:1px
  }
  .eu-band {
    width:30px;
    font-size:16px
  }
  .record-details {
    gap:12px;
    font-size:10px;
    margin-bottom:22px
  }
  .record-footer {
    font-size:8px;
    padding:13px 0
  }
  .series-card {
    padding:19px 20px
  }
  .series-card .card-top .eyebrow {
    font-size:9px
  }
  .series-title {
    margin:12px 0 16px;
    gap:16px
  }
  .series-title>span {
    font-size:46px;
    letter-spacing:-1px
  }
  .series-title strong {
    font-size:11px
  }
  .series-title p {
    font-size:9px
  }
  .progress-heading {
    font-size:10px
  }
  .progress-heading strong {
    font-size:17px
  }
  .progress-track {
    height:6px
  }
  .progress-ends {
    font-size:9px
  }
  .kpi-grid {
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin-top:15px
  }
  .kpi {
    padding:17px
  }
  .kpi-label {
    font-size:10px
  }
  .kpi-icon .icon {
    height:15px;
    width:15px
  }
  .kpi-value {
    font-size:30px;
    margin:9px 0 5px
  }
  .kpi-caption {
    font-size:8px;
    line-height:1.6;
    max-width:145px
  }
  .analysis-grid {
    grid-template-columns:1fr;
    margin-top:20px;
    gap:17px
  }
  .chart-card {
    padding:20px 18px 0
  }
  .section-top h2 {
    font-size:15px
  }
  .section-top p {
    font-size:9px;
    line-height:1.6
  }
  .chart {
    height:217px;
    margin:17px -5px 6px
  }
  .chart-footer {
    font-size:7px;
    padding:13px 0
  }
  .chart-footer>span:last-child {
    max-width:110px;
    line-height:1.5
  }
  .chart-period {
    font-size:8px
  }
  .chart-filters {
    max-width:140px;
    gap:0
  }
  .chart-filters button {
    font-size:8px;
    padding:0 5px;
    min-height:44px;
    min-width:44px
  }
  .forecast-card {
    padding:20px
  }
  .forecast-card .card-top .eyebrow {
    font-size:9px
  }
  .forecast-card h2 {
    font-size:16px;
    margin-top:18px
  }
  .forecast-description {
    max-width:none;
    font-size:10px
  }
  .forecast-date {
    font-size:28px;
    margin-top:15px
  }
  .forecast-assumption {
    font-size:10px
  }
  .scenarios {
    margin-top:17px;
    padding-top:15px
  }
  .scenario span,.scenario small {
    font-size:9px
  }
  .scenario strong {
    font-size:13px;
    margin:4px 0
  }
  .forecast-card>.text-button {
    font-size:10px;
    margin-top:5px;
    min-height:44px
  }
  .forecast-disclaimer {
    font-size:9px;
    padding-top:12px
  }
  .milestone {
    margin-top:18px;
    padding:17px;
    gap:12px
  }
  .milestone-icon {
    width:32px;
    height:32px;
    flex-shrink:0
  }
  .milestone-title {
    font-size:10px
  }
  .milestone p {
    font-size:9px
  }
  .milestone-distance {
    gap:7px
  }
  .milestone-distance strong {
    font-size:26px
  }
  .milestone-distance span {
    font-size:8px;
    width:40px
  }
  .history-card {
    margin-top:20px
  }
  .history-card>.section-top {
    padding:20px 17px
  }
  .history-card .section-top p {
    font-size:9px
  }
  .history-card .section-top .button {
    width:44px;
    min-height:44px;
    padding:0
  }
  .history-card .section-top .button span {
    display:none
  }
  .history-card .section-top .button .icon {
    width:17px;
    height:17px
  }
  .table-heading {
    display:none
  }
  .observation-row {
    display:grid;
    grid-template-columns:1fr auto;
    column-gap:8px;
    row-gap:5px;
    padding:16px 17px;
    min-height:95px
  }
  .observation-row:first-child {
    border-top:1px solid var(--border)
  }
  .observation-plate {
    font-size:13px;
    gap:10px;
    grid-area:1/1
  }
  .mini-plate {
    font-size:14px;
    padding:3px 8px
  }
  .record-badge {
    font-size:8px
  }
  .observation-date {
    grid-area:2/1;
    font-size:9px
  }
  .observation-note {
    grid-area:3/1;
    font-size:10px;
    max-width:100%
  }
  .row-actions {
    grid-column:2;
    grid-row:1/4
  }
  .row-actions .icon-button {
    width:44px;
    height:44px
  }
  .row-actions .icon {
    width:15px;
    height:15px
  }
  .history-bottom {
    padding:10px 17px;
    font-size:8px
  }
  .history-bottom .text-button {
    min-height:44px
  }
  .page-footer {
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:23px 3px 10px;
    font-size:8px
  }
  .mobile-action {
    display:block;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:15;
    background:linear-gradient(transparent,var(--bg) 25%);
    padding:15px 18px calc(12px + env(safe-area-inset-bottom))
  }
  .mobile-action .button {
    width:100%;
    height:49px;
    font-size:13px;
    border-radius:12px;
    box-shadow:inset 0 1px 0 #ffffff42,0 6px 25px #0003
  }
  .sheet {
    position:fixed;
    inset:auto 0 0;
    margin:0;
    width:100%;
    max-width:100%;
    border-radius:23px 23px 0 0;
    padding:14px 23px calc(24px + env(safe-area-inset-bottom));
    border-bottom:0;
    bottom:var(--keyboard-inset,0px);
    max-height:calc(var(--visual-height,100dvh) - env(safe-area-inset-top) - 14px)
  }
  .sheet-handle {
    display:block;
    width:31px;
    height:4px;
    border-radius:5px;
    background:var(--faint);
    opacity:.5;
    margin:0 auto 20px
  }
  .dialog-header {
    margin-bottom:20px
  }
  .dialog-header h2 {
    font-size:23px
  }
  .sheet label {
    font-size:12px
  }
  .sheet small {
    font-size:10px;
    line-height:1.6
  }
  .sheet textarea {
    font-size:16px
  }
  .dialog-actions {
    margin-top:22px
  }
  .dialog-actions .button {
    font-size:12px
  }
  .dialog-actions .primary {
    flex:1
  }
  .toast {
    left:50%;
    bottom:calc(86px + env(safe-area-inset-bottom));
    font-size:11px;
    width:max-content;
    max-width:calc(100% - 32px)
  }
  .compact-sheet {
    padding-top:25px
  }
  .compact-sheet .dialog-header {
    margin-bottom:13px
  }
  .login-shell {
    padding:35px 20px
  }
  .login-brand {
    margin-bottom:32px
  }
  .login-card {
    padding:28px 25px
  }
  .login-card h1 {
    font-size:30px
  }
  .login-brand .version {
    font-size:8px;
    margin-left:0
  }
  .login-intro {
    font-size:11px
  }
  .login-form label {
    font-size:12px
  }
  .form-error {
    font-size:11px
  }
  .network-banner,.error-banner {
    font-size:11px;
    padding:10px 12px
  }
  .error-banner .button {
    font-size:10px;
    padding:0 5px
  }
}
@media(max-width:374px) {
  .main-content {
    padding-left:13px;
    padding-right:13px
  }
  .record-card {
    padding-left:15px;
    padding-right:15px
  }
  .record-card .eyebrow {
    font-size:7px
  }
  .record-card .live-badge {
    font-size:6px
  }
  .plate-text {
    font-size:53px
  }
  .license-plate {
    height:78px
  }
  .eu-band {
    font-size:15px;
    width:27px
  }
  .record-details {
    font-size:9px
  }
  .kpi {
    padding:15px
  }
  .kpi-label {
    font-size:9px
  }
  .kpi-value {
    font-size:28px
  }
  .milestone {
    padding:14px;
    gap:9px
  }
  .milestone-title {
    font-size:9px
  }
  .milestone-distance strong {
    font-size:23px
  }
  .milestone-icon {
    display:none
  }
  .observation-plate {
    gap:7px
  }
  .mini-plate {
    font-size:12px
  }
  .record-badge {
    font-size:7px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
@media(prefers-reduced-transparency:reduce) {
  .topbar {
    background:var(--bg);
    backdrop-filter:none
  }
  .sheet::backdrop {
    backdrop-filter:none;
    background:#030711ed
  }
}
@media(prefers-contrast:more) {
  :root {
    --border:#6c7b92;
    --faint:#a6b3c7;
    --muted:#bac6d8
  }
  :root[data-theme=light] {
    --border:#66758a;
    --faint:#40516a;
    --muted:#30415a
  }
}
