/* All Jeep foundation: dark by default, with an explicit saved light preference. */
:root,[data-theme="dark"] {
 color-scheme:dark;

 --aj-bg:#292828; --aj-surface:#1c1c1c; --aj-raised:#201f1f; --aj-input:#191919; --aj-chrome:#161616;
 --aj-text:#f4f4f5; --aj-secondary:#c0beba; --aj-dim:#aaa8a4; --aj-border:#393939;
 --aj-accent:#ffbd00; --aj-accent-hover:#ffd044; --aj-on-accent:#171717; --aj-link:#ffb700; --aj-soft:#352c18;
 --aj-accent-rgb:255,189,0; --aj-bg-rgb:41,40,40; --aj-surface-rgb:28,28,28; --aj-text-rgb:244,244,245;

 --aj-shadow:0 12px 32px rgba(0,0,0,.12); --aj-success:#78d5a1; --aj-danger:#ffa2a2; --aj-info-color:#8bd0ef;
}
/* Primary: gold actions. Secondary: brown surfaces. Tertiary: warm neutral text. */
:root { --aj-primary:var(--aj-accent); --aj-brand-secondary:var(--aj-surface); --aj-tertiary:var(--aj-secondary); --aj-accent-rgb:255,189,0; }
/* Original colors from website/resources/css/main.css. */
:root[data-theme="dark"][data-dark-palette="classic"] {
 --aj-bg:#292828; --aj-surface:#1c1c1c; --aj-raised:#201f1f; --aj-input:#191919; --aj-chrome:#161616;
 --aj-text:#f4f4f5; --aj-secondary:#c0beba; --aj-dim:#aaa8a4; --aj-border:#393939;
 --aj-accent:#ffbd00; --aj-accent-hover:#ffd044; --aj-on-accent:#171717; --aj-link:#ffb700; --aj-soft:#352c18;
 --aj-accent-rgb:255,189,0; --aj-bg-rgb:41,40,40; --aj-surface-rgb:28,28,28; --aj-text-rgb:244,244,245;
}
:root[data-theme="light"] {
  color-scheme:light;
  --aj-bg:#f6f7f9; --aj-surface:#ffffff; --aj-raised:#eef0f3; --aj-input:#ffffff;
  --aj-text:#202124; --aj-secondary:#4b5059; --aj-dim:#626872; --aj-border:#dce0e5;
  --aj-accent:#ffbd00; --aj-accent-hover:#ffd044; --aj-on-accent:#191b18; --aj-link:#795600;
  --aj-soft:#fff3cb; --aj-chrome:#ffffff; --aj-shadow:0 12px 32px rgba(34,43,24,.05);
  --aj-bg-rgb:246,247,249; --aj-text-rgb:32,33,36; --aj-surface-rgb:255,255,255;
  --aj-success:#17623a; --aj-danger:#ad2424; --aj-info-color:#146180;
}
html body { background:var(--aj-bg); color:var(--aj-secondary); font-family:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
body :is(h1,h2,h3,h4,h5,h6) { color:var(--aj-text); letter-spacing:-.025em; }
body a { color:var(--aj-link); }
body a:hover { color:var(--aj-text); }
body :is(input,select,textarea) { accent-color:var(--aj-accent); }
body :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible { outline:3px solid var(--aj-link) !important; outline-offset:3px; }
body .aj-theme-toggle { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:9px 13px; min-height:42px; flex-shrink:0; border:1px solid var(--aj-border); border-radius:5px; color:var(--aj-text); background:var(--aj-surface); font-size:12px; font-weight:750; line-height:1.4; cursor:pointer; white-space:nowrap; }
body .aj-theme-toggle:hover { color:var(--aj-text); background:var(--aj-raised); border-color:var(--aj-link); }
.aj-theme-toggle svg { width:18px; height:18px; flex-shrink:0; stroke:currentColor; stroke-width:1.7; fill:none; }
[data-theme="dark"] .aj-theme-moon,[data-theme="light"] .aj-theme-sun { display:none; }
.aj-theme-toggle:disabled { display:none; }
.aj-access-header { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px max(24px,calc((100vw - 1140px)/2)); border-bottom:1px solid var(--aj-border); background:var(--aj-chrome); }
.aj-access-brand { font-weight:800; font-size:20px; letter-spacing:-.03em; color:var(--aj-text); }
.aj-access-brand small { display:block; color:var(--aj-dim); font-size:10px; font-weight:650; letter-spacing:.16em; text-transform:uppercase; margin-top:5px; }
.aj-access-footer { text-align:center; padding:28px 20px; border-top:1px solid var(--aj-border); color:var(--aj-dim); font-size:12px; }
.aj-access-footer nav { display:flex; justify-content:center; flex-wrap:wrap; gap:12px 28px; margin-bottom:18px; }
.aj-access-footer a { color:var(--aj-secondary); }
.aj-page-kicker { color:var(--aj-link); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.15em; margin-bottom:10px; }
@media(max-width:575px) { body .aj-theme-toggle { padding:9px; } .aj-access-header { padding:18px; } .aj-access-brand { font-size:17px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto !important; } body *,body *::before,body *::after { scroll-behavior:auto !important; transition:none !important; animation:none !important; } }


/* Jerarquía tipográfica compartida y contornos de controles. */
html body { font-size:15px; line-height:1.65; -webkit-font-smoothing:antialiased; }
body :is(h1,h2,h3,h4,h5,h6) { letter-spacing:-.015em; font-weight:700; line-height:1.3; }
body :is(button,input,select,textarea) { font-family:inherit; }
body .aj-theme-toggle { border-radius:6px; font-weight:700; }

/* Escala compartida de superficies y controles. */
:root { --aj-radius-card:16px; --aj-radius-control:9px; --aj-radius-menu:12px; --aj-edge:rgba(255,255,255,.08); --aj-elevation:0 6px 24px rgba(0,0,0,.07); }
:root[data-theme="light"] { --aj-edge:rgba(24,32,48,.09); --aj-elevation:0 6px 24px rgba(24,32,48,.045); }
