@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/chakra-petch-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/chakra-petch-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/chakra-petch-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/barlow-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/barlow-latin-500-normal.woff2') format('woff2');
}

[data-system] {
  color-scheme: dark;
  --font-ui: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --font-display: 'Chakra Petch', 'JetBrains Mono', ui-sans-serif, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --font-body: 'Barlow', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-md: 0.875rem;
  --text-lg: 1rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.375rem;
  --leading: 1.45;
  --leading-tight: 1.25;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-strong: 600;
  --radius-sm: 2px;
  --radius: 4px;
  --radius-lg: 6px;
  --radius-pill: 999px;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --control-sm: 1.75rem;
  --control-md: 2rem;
  --fab: 3.25rem;
  --tap: 44px;
  --field-font: 16px;
  --icon-md: 16px;
  --mark: 3px;
  --control-face: var(--font-display);
  --control-case: uppercase;
  --control-tracking: 0.14em;
  --control-cut: 8px;
  --segment-clip: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  --control-focus: inset 0 0 0 2px var(--focus);
  --media-bg: rgb(0 0 0 / 0.96);
  --media-backdrop: rgb(0 0 0 / 0.6);
  --on-media: #ffffff;
  --media-control: rgb(255 255 255 / 0.12);
  --media-control-hover: rgb(255 255 255 / 0.24);
  --dur-press: 120ms;
  --dur-fast: 160ms;
  --dur-base: 200ms;
  --dur-enter: 240ms;
  --dur-exit: 160ms;
  --dur-loop: 1.6s;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --press-scale: 0.97;
  --z-canvas: 10;
  --z-panel: 20;
  --z-sheet: 40;
  --z-menu: 50;
  --z-dialog: 60;
  --z-toast: 70;
  --size-label: 0.6875rem;
  --size-title: 1.875rem;
  --size-stat: 1.25rem;
  --size-kpi: clamp(1.5rem, 2.2vw, 2.125rem);
  --size-band: clamp(1.25rem, 2.6vw, 1.875rem);
  --map-parcel: #396ad7;
  --map-neighbour: #9ea3ad;
  --map-frontage: #de9822;
  --map-contour: #6d737e;
  --map-easement: #ca3838;
  --map-sewer: #752727;
  --map-stormwater: #1987a1;
  --map-flood-fo: #a92c2c;
  --map-flood-rfo: #b0491e;
  --map-flood-lsio: #4f47bb;
  --map-flood-sbo: #249dd3;
  --map-school-primary: #24954e;
  --map-school-secondary: #814cdb;
  --map-tree: #4d7c0f;
  --map-marker: #3a80bb;
  --map-label-ink: #131925;
  --map-label-ground: #ffffffd9;
  --font-sans: var(--font-ui);
  --accent-text: var(--on-accent);
  --shadow: var(--shadow-2);
  --bg: #04070B;
  --texture: none;
  --surface-0: #060C12;
  --surface: #081018;
  --surface-2: #0D1820;
  --surface-3: #12212B;
  --border: rgb(63 224 255 / 0.26);
  --border-strong: rgb(63 224 255 / 0.55);
  --border-neutral: #6B7680;
  --text: #D8F6FF;
  --text-muted: #8CB0C2;
  --accent: #3FE0FF;
  --accent-hover: #B8F4FF;
  --accent-soft: rgb(63 224 255 / 0.12);
  --on-accent: #04070B;
  --focus: #3FE0FF;
  --signal: #FFB547;
  --signal-soft: rgb(255 181 71 / 0.14);
  --on-signal: #04070B;
  --danger: #FF5A6A;
  --danger-hover: #FF8A95;
  --danger-soft: rgb(255 90 106 / 0.16);
  --on-danger: #04070B;
  --success: #6CFFBE;
  --success-soft: rgb(108 255 190 / 0.12);
  --warning: #FFB547;
  --warning-soft: rgb(255 181 71 / 0.14);
  --on-warning: #04070B;
  --info: #7FB8FF;
  --info-soft: rgb(127 184 255 / 0.14);
  --on-info: #04070B;
  --on-color: #04070B;
  --scrim: rgb(4 7 11 / 0.72);
  --shadow-1: 0 0 0 1px rgb(63 224 255 / 0.14);
  --shadow-2: 0 0 24px -6px rgb(63 224 255 / 0.45);
  --shadow-3: 0 0 40px -8px rgb(63 224 255 / 0.55);
  --shadow-float: 0 0 24px -6px rgb(63 224 255 / 0.45), 0 12px 40px 6px rgb(0 0 0 / 0.8), 0 0 120px 40px rgb(4 7 11 / 0.85);
  --surface-glass: rgb(8 16 24 / 0.9);
  --border-faint: rgb(63 224 255 / 0.1);
  --surface-tint: rgb(63 224 255 / 0.08);
  --text-strong: #F2FBFF;
  --text-faint: #6F8B9A;
  --glow: rgb(63 224 255 / 0.6);
  --hud-fade: linear-gradient(#04070B 55%, rgb(4 7 11 / 0));
  background: var(--texture), var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: var(--leading);
}

@media (prefers-reduced-motion: reduce) {
  [data-system] { --press-scale: 1; }
}

@keyframes sys-flow { to { stroke-dashoffset: -0.053; } }
@keyframes sys-spin { to { transform: rotate(1turn); } }
@keyframes sys-pulse { from { opacity: 1; } to { opacity: 0.45; } }
@keyframes sys-sweep { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@keyframes sys-dot { 0%, 80%, 100% { opacity: 0.3; transform: scale(0.75); } 40% { opacity: 1; transform: none; } }
@keyframes sys-marquee { to { transform: translateX(calc(-100% - var(--marquee-gap))); } }
@keyframes sys-marquee-rtl { to { transform: translateX(calc(100% + var(--marquee-gap))); } }
@keyframes sys-marquee-y { to { transform: translateY(calc(-100% - var(--marquee-gap))); } }
@property --sys-sheen { syntax: '<angle>'; inherits: false; initial-value: 0turn; }
@keyframes sys-sheen { to { --sys-sheen: 1turn; } }

