/* TrackAndApp Design System — gerado por scripts/sync-ds.sh. Não edite à mão. */
/* ---- tokens/fonts.css ---- */
/* Webfonts — Urbanist (UI) and JetBrains Mono (IDs, keys, code). Variable woff2, self-hosted. */
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url('./fonts/JetBrainsMono-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url('./fonts/JetBrainsMono-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Urbanist';font-style:normal;font-weight:100 900;font-display:swap;src:url('./fonts/Urbanist-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Urbanist';font-style:normal;font-weight:100 900;font-display:swap;src:url('./fonts/Urbanist-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ---- tokens/colors.css ---- */
/* TrackAndApp — color tokens.
   Brand values are sampled from the supplied logo files (exact Tailwind slate/cyan/emerald matches).
   Neutral surface greys follow the soft-grey dashboard reference (#E2E2E2 background family). */
:root{
/* Brand */
--brand-navy:#0F172A;--brand-cyan:#06B6D4;--brand-green:#10B981;--brand-slate:#64748B;
--brand-gradient:linear-gradient(135deg,#06B6D4 0%,#10B981 100%);/* @kind color */
/* Neutral surface greys */
--neutral-0:#FFFFFF;--neutral-25:#FBFBFB;--neutral-50:#F6F6F6;--neutral-100:#F1F1F1;--neutral-150:#ECECEC;--neutral-200:#E4E4E4;--neutral-250:#DDDDDD;--neutral-300:#D2D2D2;--neutral-400:#BDBDBD;
/* Slate (text + ink, from logo) */
--slate-50:#F8FAFC;--slate-100:#F1F5F9;--slate-200:#E2E8F0;--slate-300:#CBD5E1;--slate-400:#94A3B8;--slate-500:#64748B;--slate-600:#475569;--slate-700:#334155;--slate-800:#1E293B;--slate-900:#0F172A;--slate-950:#020617;
/* Green (primary accent) */
--green-50:#ECFDF5;--green-100:#D1FAE5;--green-200:#A7F3D0;--green-300:#6EE7B7;--green-400:#34D399;--green-500:#10B981;--green-600:#059669;--green-700:#047857;--green-800:#065F46;
/* Cyan (secondary accent) */
--cyan-50:#ECFEFF;--cyan-100:#CFFAFE;--cyan-200:#A5F3FC;--cyan-300:#67E8F9;--cyan-400:#22D3EE;--cyan-500:#06B6D4;--cyan-600:#0891B2;--cyan-700:#0E7490;--cyan-800:#155E75;
/* Status */
--amber-50:#FFFBEB;--amber-100:#FEF3C7;--amber-500:#F59E0B;--amber-700:#B45309;
--red-50:#FEF2F2;--red-100:#FEE2E2;--red-500:#EF4444;--red-600:#DC2626;--red-700:#B91C1C;

/* ---- Semantic: surfaces (lightest = most raised) ---- */
--surface-canvas:#E4E4E4;      /* page behind the app shell */
--surface-shell:#EDEDED;       /* app frame / sidebar ground */
--surface-panel:#F4F4F4;       /* section panels */
--surface-card:#FAFAFA;        /* raised cards, active nav item */
--surface-raised:#FFFFFF;      /* popovers, menus, tooltips, inputs on focus */
--surface-inset:#E8E8E8;       /* wells: select pills, chart grounds, search */
--surface-inset-strong:#DEDEDE;
--surface-inverse:#0F172A;     /* dark CTA, FAB, dark sections */
--surface-inverse-2:#1E293B;
--surface-glass:rgba(246,246,246,.72);
--surface-hover:rgba(255,255,255,.55);
--surface-pressed:rgba(15,23,42,.04);
--surface-scrim:rgba(15,23,42,.32);

/* ---- Semantic: borders ---- */
--border-subtle:rgba(15,23,42,.06);
--border-default:rgba(15,23,42,.10);
--border-strong:rgba(15,23,42,.18);
--border-highlight:rgba(255,255,255,.85); /* top light edge on raised surfaces */
--border-focus:#06B6D4;

/* ---- Semantic: text ---- */
--text-primary:#0F172A;
--text-secondary:#475569;
--text-tertiary:#64748B;
--text-disabled:#94A3B8;
--text-placeholder:#8A94A6;
--text-display-muted:#8A919E; /* two-tone headline continuation */
--text-inverse:#FFFFFF;
--text-inverse-muted:#CBD5E1;
--text-link:#0E7490;
--text-link-hover:#0F172A;

/* ---- Semantic: accent & status ---- */
--accent:#10B981;--accent-strong:#059669;--accent-text:#047857;--accent-soft:#D1FAE5;--accent-subtle:#ECFDF5;--on-accent:#0F172A;
--secondary:#06B6D4;--secondary-text:#0E7490;--secondary-soft:#CFFAFE;
--success:#10B981;--success-text:#047857;--success-soft:#D1FAE5;
--info:#06B6D4;--info-text:#0E7490;--info-soft:#CFFAFE;
--warning:#F59E0B;--warning-text:#B45309;--warning-soft:#FEF3C7;
--danger:#EF4444;--danger-strong:#DC2626;--danger-text:#B91C1C;--danger-soft:#FEE2E2;

/* ---- Data visualisation ---- */
--data-highlight:#10B981;  /* the one bar/point that matters */
--data-1:#0F172A;          /* primary series (ink bars) */
--data-2:#06B6D4;
--data-3:#10B981;
--data-4:#94A3B8;
--data-track:#E1E1E1;      /* empty bar ground */
--data-dot-off:#D6D6D6;    /* inactive dot-matrix cell */
--data-stripe:rgba(15,23,42,.07);
--data-grid:rgba(15,23,42,.08);
}

/* ---- tokens/typography.css ---- */
/* TrackAndApp — typography tokens. One family (Urbanist) does everything; JetBrains Mono only for IDs, keys and code. */
:root{
--font-sans:'Urbanist',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
--font-mono:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace;
--weight-light:300;--weight-regular:400;--weight-medium:500;--weight-semibold:600;--weight-bold:700;
--text-2xs:11px;--text-xs:12px;--text-sm:13px;--text-base:14px;--text-md:15px;--text-lg:16px;--text-xl:18px;--text-2xl:20px;--text-3xl:24px;--text-4xl:32px;--text-5xl:40px;--text-6xl:56px;--text-7xl:72px;
--leading-none:1;/* @kind font */--leading-tight:1.15;/* @kind font */--leading-snug:1.3;/* @kind font */--leading-normal:1.5;/* @kind font */
--tracking-tight:-0.02em;/* @kind font */--tracking-snug:-0.01em;/* @kind font */--tracking-normal:0;/* @kind font */--tracking-wide:0.04em;/* @kind font */--tracking-overline:0.08em;/* @kind font */

/* Semantic roles — use with `font:` shorthand */
--type-display:300 56px/1.1 var(--font-sans);        /* hero statements, two-tone */
--type-headline:400 32px/1.2 var(--font-sans);       /* page-level statements */
--type-page-title:500 20px/1.3 var(--font-sans);     /* "Visão geral" */
--type-title:500 16px/1.3 var(--font-sans);          /* card titles */
--type-metric-xl:300 48px/1 var(--font-sans);        /* hero numbers: 350 */
--type-metric:400 28px/1.1 var(--font-sans);         /* KPI values: R$ 3.647,56 */
--type-metric-sm:400 20px/1.2 var(--font-sans);
--type-body-lg:400 16px/1.5 var(--font-sans);
--type-body:400 14px/1.5 var(--font-sans);
--type-label:500 13px/1.3 var(--font-sans);
--type-caption:400 12px/1.4 var(--font-sans);
--type-overline:500 11px/1.2 var(--font-sans);       /* uppercase + --tracking-overline */
--type-mono:400 12px/1.4 var(--font-mono);
}

/* ---- tokens/spacing.css ---- */
/* TrackAndApp — spacing, radii, sizing and layout tokens. 4px base grid. */
:root{
--space-0:0;--space-0-5:2px;--space-1:4px;--space-1-5:6px;--space-2:8px;--space-2-5:10px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-7:28px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;

/* Radii — generous and nested: shell 36 > panel 28 > card 20 > control pill */
--radius-xs:6px;--radius-sm:10px;--radius-md:14px;--radius-lg:20px;--radius-xl:24px;--radius-2xl:28px;--radius-3xl:36px;--radius-pill:999px;
--radius-control:999px;--radius-card:20px;--radius-panel:28px;--radius-shell:36px;--radius-tile:12px;

/* Control heights (mobile: never below 44px hit target) */
--control-xs:28px;--control-sm:32px;--control-md:40px;--control-lg:48px;--touch-min:44px;
--icon-xs:14px;--icon-sm:16px;--icon-md:18px;--icon-lg:20px;--icon-xl:24px;

/* Layout */
--sidebar-width:264px;--sidebar-collapsed:84px;--topbar-height:68px;--bottomnav-height:72px;--content-max:1440px;
--gutter-desktop:24px;--gutter-tablet:20px;--gutter-mobile:16px;
/* Breakpoints (reference only — CSS vars can't drive media queries): sm 640 · md 768 · lg 1024 · xl 1280 · 2xl 1536 */
--bp-sm:640px;/* @kind spacing */--bp-md:768px;/* @kind spacing */--bp-lg:1024px;/* @kind spacing */--bp-xl:1280px;/* @kind spacing */--bp-2xl:1536px;/* @kind spacing */
--z-base:0;/* @kind other */--z-sticky:20;/* @kind other */--z-nav:30;/* @kind other */--z-dropdown:40;/* @kind other */--z-overlay:50;/* @kind other */--z-modal:60;/* @kind other */--z-toast:70;/* @kind other */--z-tooltip:80;/* @kind other */
}

/* ---- tokens/effects.css ---- */
/* TrackAndApp — elevation, borders, textures, motion. Soft, layered, light-from-above: every raised surface carries a 1px white top highlight. */
:root{
--shadow-none:none;
--shadow-xs:0 1px 2px rgba(15,23,42,.05);
--shadow-raised:inset 0 1px 0 rgba(255,255,255,.9),0 1px 2px rgba(15,23,42,.04),0 4px 12px rgba(15,23,42,.05);
--shadow-card:inset 0 1px 0 rgba(255,255,255,.95),0 1px 2px rgba(15,23,42,.03),0 8px 24px rgba(15,23,42,.05);
--shadow-float:inset 0 1px 0 rgba(255,255,255,.9),0 2px 6px rgba(15,23,42,.05),0 16px 40px rgba(15,23,42,.10);
--shadow-overlay:0 4px 12px rgba(15,23,42,.08),0 24px 64px rgba(15,23,42,.18);
--shadow-inset:inset 0 1px 2px rgba(15,23,42,.06),inset 0 0 0 1px rgba(15,23,42,.03);
--shadow-inverse:0 1px 2px rgba(15,23,42,.2),0 8px 20px rgba(15,23,42,.22);
--focus-ring:0 0 0 3px rgba(6,182,212,.35);
--focus-ring-danger:0 0 0 3px rgba(239,68,68,.25);
--glow-accent:0 0 0 4px rgba(16,185,129,.16);

--border-width:1px;/* @kind spacing */
--hairline:1px solid var(--border-subtle);/* @kind other */
--blur-glass:20px;/* @kind other */

/* Signature textures */
--texture-stripes:repeating-linear-gradient(90deg,rgba(15,23,42,.07) 0 1px,transparent 1px 4px);/* @kind other */   /* empty bar ground */
--texture-dots:radial-gradient(rgba(15,23,42,.09) 1px,transparent 1.2px);/* @kind other */                          /* dot-grid fields */
--texture-dots-size:8px 8px;/* @kind other */
--fade-right:linear-gradient(90deg,transparent 0%,var(--surface-panel) 100%);/* @kind color */

/* Motion — quiet, quick, no bounce */
--ease-out:cubic-bezier(.2,.8,.2,1);/* @kind other */--ease-in-out:cubic-bezier(.65,0,.35,1);/* @kind other */--ease-standard:cubic-bezier(.4,0,.2,1);/* @kind other */
--duration-instant:80ms;/* @kind other */--duration-fast:120ms;/* @kind other */--duration-base:180ms;/* @kind other */--duration-slow:280ms;/* @kind other */--duration-chart:600ms;/* @kind other */
--press-scale:.97;/* @kind other */
}

/* ---- tokens/base.css ---- */
/* TrackAndApp — minimal element defaults. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font-sans);font-size:var(--text-base);line-height:var(--leading-normal);color:var(--text-primary);background:var(--surface-canvas);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-feature-settings:"tnum" 0}
a{color:var(--text-link);text-decoration:none;text-underline-offset:2px}
a:hover{color:var(--text-link-hover);text-decoration:underline}
::selection{background:var(--accent-soft);color:var(--text-primary)}
:focus-visible{outline:2px solid var(--border-focus);outline-offset:2px}
button,input,select,textarea{font:inherit;color:inherit}
*{scrollbar-width:thin;scrollbar-color:var(--neutral-300) transparent}
::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:var(--neutral-300);border-radius:8px}::-webkit-scrollbar-track{background:transparent}
.ta-num{font-variant-numeric:tabular-nums}
.ta-stripes{background-image:var(--texture-stripes)}
.ta-dots{background-image:var(--texture-dots);background-size:var(--texture-dots-size)}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

