/* Design tokens · MasaOn · the trip-book palette (navy, gold, deep-navy chrome).
   The shell screens and the trip pages are one app: the values here are the same ones the trip
   pages use (templates/trip/_shared/tj-tokens.html). Dark is the default.
   Every text colour below passes 4.5:1 against bg, surface and surface-2 in its theme. */
@font-face{font-family:"Heebo";font-weight:400;font-display:swap;src:url(../fonts/heebo-hebrew-400-normal.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-weight:500;font-display:swap;src:url(../fonts/heebo-hebrew-500-normal.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-weight:700;font-display:swap;src:url(../fonts/heebo-hebrew-700-normal.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-weight:800;font-display:swap;src:url(../fonts/heebo-hebrew-800-normal.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-weight:400;font-display:swap;src:url(../fonts/heebo-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Heebo";font-weight:500;font-display:swap;src:url(../fonts/heebo-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Heebo";font-weight:700;font-display:swap;src:url(../fonts/heebo-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Heebo";font-weight:800;font-display:swap;src:url(../fonts/heebo-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root,[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0e141c; --surface:#161f2a; --surface-2:#1b2634; --border:#2b3a4a;
  --text:#e7edf4; --muted:#9aa9b8;
  /* primary = navy as text/links/headings; primary-strong (+ on-primary-strong) = navy as a fill for buttons and bars; primary-deep = the chrome */
  --primary:#7db0e8; --on-primary:#0b1220; --primary-strong:#33639e; --on-primary-strong:#ffffff; --primary-deep:#0b1220;
  --nav-ink:#d5e2f0; --nav-hover:rgba(255,255,255,.09); --nav-line:rgba(255,255,255,.12);
  /* gold accent: highlights, the active nav item, warnings */
  --accent:#c79a2f; --accent-strong:#e8c060; --on-accent:#241b04; --accent-soft:#2c2310; --accent-line:#57461c;
  --travel:#85b5f2; --lodging:#e8c060;
  --ok:#48c287; --warn:#e6c471; --danger:#ef8177; --on-danger:#2a0707;
  --focus:#e8c060; --overlay:rgba(0,0,0,.7);
  --shadow:0 8px 24px rgba(0,0,0,.45);
  --shadow-card:0 6px 18px rgba(0,0,0,.28);
}
[data-theme="light"]{
  color-scheme:light;
  --bg:#eef2f7; --surface:#ffffff; --surface-2:#f5f8fb; --border:#dbe4ee;
  --text:#26313a; --muted:#5f6f7d;
  --primary:#1d4e89; --on-primary:#ffffff; --primary-strong:#1d4e89; --on-primary-strong:#ffffff; --primary-deep:#0f2942;
  --nav-ink:#dce7f2; --nav-hover:rgba(255,255,255,.09); --nav-line:rgba(255,255,255,.12);
  --accent:#e0a82e; --accent-strong:#c8901f; --on-accent:#3f2f05; --accent-soft:#fff6e3; --accent-line:#eed9a8;
  --travel:#2a6ac0; --lodging:#7a5a12;
  --ok:#1a7a44; --warn:#7a5a12; --danger:#b03427; --on-danger:#ffffff;
  --focus:#e0a82e; --overlay:rgba(15,41,66,.7);
  --shadow:0 8px 24px rgba(20,40,70,.16);
  --shadow-card:0 6px 18px rgba(20,40,70,.07);
}
:root{
  /* Closed type scale (the trip book runs on 13–14px UI text, 17px section titles, 26px page titles).
     No size is written directly in a screen's CSS. */
  --font:"Heebo",-apple-system,"Segoe UI",Arial,sans-serif;
  --fs-xs:.75rem; --fs-sm:.8125rem; --fs-md:.875rem; --fs-lg:1.0625rem; --fs-xl:1.25rem; --fs-2xl:1.625rem;
  --fw-regular:400; --fw-medium:500; --fw-bold:700; --fw-heavy:800;
  --lh-tight:1.25; --lh-body:1.55;
  /* Spacing scale */
  --sp-1:4px; --sp-2:8px; --sp-3:12px; --sp-4:16px; --sp-5:20px; --sp-6:24px; --sp-8:32px;
  --r-sm:7px; --r-md:9px; --r-lg:14px; --r-pill:999px;
  --tap:44px;               /* minimum touch target */
  --content-max:1020px;
  --topbar-h:56px;
  --sidebar-w:216px;        /* the trip book's sidebar */
  --bottombar-h:60px;       /* the trip book's phone bar */
}
