/* Tokens do ALT AgroTech Design System (design/_ds/.../tokens) — cópia fiel.
   Fontes EMPACOTADAS (o app funciona offline; o design original usa Google Fonts).
   Não editar valores aqui: mudança de token nasce no design. */
@font-face{font-family:"Figtree";font-style:normal;font-weight:400;font-display:swap;src:url("fontes/figtree-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:600;font-display:swap;src:url("fontes/figtree-latin-600-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:700;font-display:swap;src:url("fontes/figtree-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Figtree";font-style:normal;font-weight:800;font-display:swap;src:url("fontes/figtree-latin-800-normal.woff2") format("woff2")}

/* ---- colors.css ---- */
:root{
/* Brand (from logo) */
--brand-green-light:#6B9536;--brand-green-dark:#035326;--brand-white:#FFFFFF;
/* Green scale — anchored on the two brand greens */
--green-50:#F4F8EE;--green-100:#E7F0DA;--green-200:#CFE0B5;--green-300:#AFCB87;--green-400:#8BB05C;--green-500:#6B9536;--green-600:#4F7C2C;--green-700:#2B6A2A;--green-800:#035326;--green-900:#023F1D;--green-950:#012A13;
/* Neutrals — slightly warm (soil) */
--neutral-0:#FFFFFF;--neutral-25:#FBFBF8;--neutral-50:#F5F5F0;--neutral-100:#EBEBE4;--neutral-200:#DCDCD3;--neutral-300:#C2C2B7;--neutral-400:#95958A;--neutral-500:#6E6E64;--neutral-600:#52524A;--neutral-700:#3B3B35;--neutral-800:#272723;--neutral-900:#181815;
/* Semantic base */
--success-500:#2F8A3E;--success-50:#EAF5EC;--success-700:#1F6B2C;
--warning-500:#C98A0B;--warning-50:#FBF3DF;--warning-700:#8F6106;
--danger-500:#B93A2B;--danger-50:#FAEAE7;--danger-700:#8C2A1E;
--info-500:#2B6F9E;--info-50:#E6F0F7;--info-700:#1D5277;
/* Data-viz (crop/field categories) */
--viz-1:#035326;--viz-2:#6B9536;--viz-3:#C98A0B;--viz-4:#2B6F9E;--viz-5:#8C5A3C;--viz-6:#AFCB87;
/* Semantic aliases */
--surface-page:var(--neutral-25);--surface-card:var(--neutral-0);--surface-sunken:var(--neutral-50);--surface-hover:var(--neutral-50);--surface-selected:var(--green-50);
--surface-brand:var(--green-800);--surface-brand-strong:var(--green-900);--surface-inverse:var(--neutral-900);
--text-primary:var(--neutral-900);--text-secondary:var(--neutral-600);--text-muted:var(--neutral-500);--text-disabled:var(--neutral-400);--text-on-brand:#FFFFFF;--text-on-brand-muted:#B9D39A;--text-brand:var(--green-800);--text-link:var(--green-700);
--border-subtle:var(--neutral-100);--border-default:var(--neutral-200);--border-strong:var(--neutral-300);--border-focus:var(--green-500);
--action-primary:var(--green-800);--action-primary-hover:var(--green-900);--action-primary-active:var(--green-950);
--action-secondary:var(--green-500);--action-secondary-hover:var(--green-600);
--focus-ring:0 0 0 3px rgba(107,149,54,.35);
}

/* ---- typography.css ---- */
:root{
--font-sans:"Figtree",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
--font-mono:"IBM Plex Mono",ui-monospace,"SFMono-Regular",Menlo,monospace;
--fw-regular:400;/* @kind font */--fw-medium:500;/* @kind font */--fw-semibold:600;/* @kind font */--fw-bold:700;/* @kind font */--fw-extrabold:800;/* @kind font */
--fs-11:11px;--fs-12:12px;--fs-13:13px;--fs-14:14px;--fs-16:16px;--fs-18:18px;--fs-20:20px;--fs-24:24px;--fs-30:30px;--fs-36:36px;--fs-48:48px;
--lh-tight:1.15;/* @kind font */--lh-snug:1.3;/* @kind font */--lh-normal:1.5;/* @kind font */
--ls-tight:-0.02em;/* @kind font */--ls-normal:0;/* @kind font */--ls-caps:0.06em;/* @kind font */
/* Roles */
--type-display-size:var(--fs-36);--type-display-weight:var(--fw-bold);
--type-h1-size:var(--fs-24);--type-h1-weight:var(--fw-bold);
--type-h2-size:var(--fs-18);--type-h2-weight:var(--fw-semibold);
--type-h3-size:var(--fs-16);--type-h3-weight:var(--fw-semibold);
--type-body-size:var(--fs-14);--type-body-weight:var(--fw-regular);
--type-small-size:var(--fs-13);--type-caption-size:var(--fs-12);
--type-overline-size:var(--fs-11);
--type-metric-size:var(--fs-30);--type-metric-weight:var(--fw-bold);
}

/* ---- spacing.css ---- */
:root{
--space-0:0;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;
--radius-xs:4px;--radius-sm:6px;--radius-md:10px;--radius-lg:14px;--radius-xl:20px;--radius-pill:999px;
--control-h-sm:32px;--control-h-md:40px;--control-h-lg:48px;
--sidebar-w:248px;--topbar-h:60px;--content-max:1280px;--touch-min:48px;
}

/* ---- effects.css ---- */
:root{
--shadow-xs:0 1px 2px rgba(24,24,21,.06);
--shadow-sm:0 1px 3px rgba(24,24,21,.08),0 1px 2px rgba(24,24,21,.04);
--shadow-md:0 4px 12px rgba(24,24,21,.08),0 2px 4px rgba(24,24,21,.04);
--shadow-lg:0 12px 32px rgba(24,24,21,.14),0 4px 8px rgba(24,24,21,.06);
--overlay-scrim:rgba(1,42,19,.45);/* @kind color */
--ease-standard:cubic-bezier(.2,0,0,1);/* @kind other */--ease-exit:cubic-bezier(.4,0,1,1);/* @kind other */
--dur-fast:120ms;/* @kind other */--dur-base:180ms;/* @kind other */--dur-slow:260ms;/* @kind other */
}

/* ---- base.css ---- */
html,body{margin:0;font-family:var(--font-sans);font-size:var(--type-body-size);line-height:var(--lh-normal);color:var(--text-primary);background:var(--surface-page);-webkit-font-smoothing:antialiased}
*,*::before,*::after{box-sizing:border-box}
a{color:var(--text-link);text-decoration:none}a:hover{color:var(--green-800);text-decoration:underline}
.mem-num{font-variant-numeric:tabular-nums}

/* ---- Ícone Lucide (mesma técnica do componente Icon do design: máscara CSS
   herdando currentColor), com os SVGs empacotados em icones/. ---- */
.mem-icone{display:inline-block;flex:none;background-color:currentColor;
  -webkit-mask:var(--icone) center/contain no-repeat;mask:var(--icone) center/contain no-repeat}

/* IBM Plex Mono (códigos: OS-0142, CPF mascarado) — --font-mono dos tokens. */
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("fontes/ibm-plex-mono-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("fontes/ibm-plex-mono-latin-600-normal.woff2") format("woff2")}
