/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities;
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,600;0,700;0,800;1,700;1,800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
  --height-navbar: 64px;
  --height-tabbar: 78px;
  --spacing-page: 20px;
  --card-gap: 12px;
  --space-field-y: 12px;
  --height-chart: 220px;
  --font-heading: "Barlow Condensed", Impact, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --text-display: 800 40px/0.88 var(--font-heading);
  --text-heading: 800 28px/0.96 var(--font-heading);
  --text-body: 500 15px/1.55 var(--font-body);
  --text-label: 800 11px/1.1 var(--font-body);
  --color-primary: #ff4d00;
  --color-primary-deep: #b93400;
  --color-primary-tint: #ffe0d1;
  --color-secondary: #d9ff35;
  --color-secondary-tint: #f4ffd2;
  --color-tertiary: #ef315d;
  --color-tertiary-tint: #ffe0e8;
  --color-bg-page: #f0efea;
  --color-surface: #fffdfa;
  --color-surface-alt: #e1e0db;
  --color-ink: #191918;
  --color-border: #c8c7c1;
  --color-text-primary: #191918;
  --color-text-secondary: #52524d;
  --color-text-muted: #6c6b65;
  --color-text-inverse: #fffdfa;
  --color-success: #19745d;
  --color-success-tint: #d7f2e7;
  --color-warning: #a95200;
  --color-warning-tint: #ffe6bd;
  --color-error: #ad193e;
  --color-error-tint: #ffdce5;
  --color-info: #1d5d91;
  --color-info-tint: #dceeff;
  --color-navbar-bg: #191918;
  --color-navbar-text: #fffdfa;
  --color-navbar-border: #3d3c38;
  --color-tabbar-bg: #191918;
  --color-tabbar-text: #d0cfca;
  --color-tabbar-active: #ff4d00;
  --color-tabbar-active-text: #fffdfa;
  --radius-panel: 18px;
  --radius-control: 10px;
  --shadow-sm: 0 1px 2px rgb(185 52 0 / 14%), 0 4px 10px rgb(25 25 24 / 8%);
  --shadow-md: 0 3px 8px rgb(185 52 0 / 16%), 0 12px 24px rgb(25 25 24 / 12%);
  --shadow-lg: 0 8px 18px rgb(185 52 0 / 20%), 0 24px 44px rgb(25 25 24 / 18%);
  --transition-fast: 150ms ease;
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --chart-1: #ff4d00;
  --chart-2: #1d5d91;
  --chart-3: #c51e4b;
  --chart-4: #8a6800;
  --chart-5: #6554a8;
  --chart-6: #19745d;
}
@layer base {
  html {
    background: var(--color-bg-page);
  }
  body {
    margin: 0;
    font: var(--text-body);
    color: var(--color-text-primary);
    background: var(--color-bg-page);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: 0.01em;
  }
  h1 {
    font-size: 40px;
    line-height: 0.88;
  }
  h2 {
    font-size: 28px;
    line-height: 0.96;
  }
  h3 {
    font-size: 18px;
    line-height: 1;
  }
  a {
    color: inherit;
  }
  button, input, select, textarea {
    font: inherit;
  }
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-control);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
  }
}
@layer components {
  @keyframes street-shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  @keyframes stagger-rise {
    from {
      opacity: 0;
      transform: translateY(12px) rotate(-0.4deg);
    }
    to {
      opacity: 1;
      transform: translateY(0) rotate(0deg);
    }
  }
  @keyframes route-pulse {
    0%, 100% {
      box-shadow: var(--shadow-sm);
    }
    50% {
      box-shadow: var(--shadow-lg);
    }
  }
  .surface-raised {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary-tint) 160%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-md);
  }
  .street-panel {
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-surface-alt) 70%, var(--color-primary-tint) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-panel) var(--radius-control) var(--radius-panel) var(--radius-control);
    box-shadow: var(--shadow-md);
  }
  .stat-card {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-primary-tint) 180%);
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-primary);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-md);
  }
  .stat-card:nth-child(3n + 2) {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-secondary-tint) 180%);
    border-left-color: var(--color-secondary);
  }
  .stat-card:nth-child(3n + 3) {
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-tertiary-tint) 180%);
    border-left-color: var(--color-tertiary);
  }
  .hover-lift {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  }
  .hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
  }
  .filter-tab {
    white-space: nowrap;
    flex-shrink: 0;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    font: var(--text-label);
    letter-spacing: 0.06em;
    transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  }
  .filter-tab.active {
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
  }
  .filter-tab:hover {
    transform: translateY(-1px);
  }
  .skeleton-line, .skeleton-circle {
    background: linear-gradient(90deg, var(--color-surface-alt) 25%, var(--color-primary-tint) 50%, var(--color-surface-alt) 75%);
    background-size: 200% 100%;
    animation: street-shimmer var(--transition-slow) infinite;
  }
  .skeleton-line {
    border-radius: var(--radius-control);
  }
  .skeleton-circle {
    border-radius: 999px;
  }
  .data-table {
    color: var(--color-text-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-md);
    border-collapse: separate;
    border-spacing: 0;
  }
  .data-table th {
    color: var(--color-text-secondary);
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border);
    font: var(--text-label);
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
  .data-table td {
    border-bottom: 1px solid var(--color-border);
  }
  .data-table tbody tr {
    transition: background var(--transition-fast);
  }
  .data-table tbody tr:hover {
    background: var(--color-primary-tint);
  }
  .data-table tbody tr:last-child td {
    border-bottom: 0;
  }
  .badge-success, .badge-warning, .badge-error, .badge-info {
    color: var(--color-text-primary);
    border-radius: 999px;
    font: var(--text-label);
    letter-spacing: 0.04em;
  }
  .badge-success {
    background: var(--color-success-tint);
  }
  .badge-warning {
    background: var(--color-warning-tint);
  }
  .badge-error {
    background: var(--color-error-tint);
  }
  .badge-info {
    background: var(--color-info-tint);
  }
  .form-input, .form-select, .form-textarea {
    color: var(--color-text-primary);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    box-shadow: var(--shadow-sm);
    padding: var(--space-field-y) var(--spacing-page);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  }
  .form-input::placeholder, .form-textarea::placeholder {
    color: var(--color-text-muted);
  }
  .form-input:focus, .form-select:focus, .form-textarea:focus {
    background-color: var(--color-surface);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    outline: 2px solid var(--color-primary-tint);
  }
  .form-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--color-text-secondary) 50%), linear-gradient(135deg, var(--color-text-secondary) 50%, transparent 50%);
    background-position: calc(100% - var(--spacing-page)) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: calc(var(--spacing-page) + var(--spacing-page));
  }
  .button-primary {
    color: var(--color-text-inverse);
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--radius-control);
    box-shadow: var(--shadow-sm);
    font: var(--text-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  }
  .button-primary:hover {
    background: var(--color-primary-deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
  .button-secondary {
    color: var(--color-text-primary);
    background: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    border-radius: var(--radius-control);
    box-shadow: var(--shadow-sm);
    font: var(--text-label);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .map-canvas {
    background-color: var(--color-surface-alt);
    background-image: linear-gradient(45deg, var(--color-border) 1px, transparent 1px), linear-gradient(-45deg, var(--color-primary-tint) 1px, transparent 1px);
    box-shadow: inset 0 0 0 1px var(--color-border), var(--shadow-md);
  }
  .chart-surface {
    min-height: var(--height-chart);
    background: linear-gradient(145deg, var(--color-surface) 0%, var(--color-primary-tint) 180%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-md);
  }
  .hud-surface {
    color: var(--color-text-inverse);
    background: linear-gradient(145deg, var(--color-navbar-bg) 0%, var(--color-primary-deep) 220%);
    border: 1px solid var(--color-navbar-border);
    border-radius: var(--radius-panel);
    box-shadow: var(--shadow-lg);
  }
  .route-live {
    border-color: var(--color-primary);
    animation: route-pulse 1200ms cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }
  .reveal-stagger > * {
    animation: stagger-rise var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1) both;
  }
  .reveal-stagger > :nth-child(2) {
    animation-delay: 80ms;
  }
  .reveal-stagger > :nth-child(3) {
    animation-delay: 160ms;
  }
  .reveal-stagger > :nth-child(4) {
    animation-delay: 240ms;
  }
  .reveal-stagger > :nth-child(5) {
    animation-delay: 320ms;
  }
}
