/* LotLens colors, type and logo mark, shared by the app (frontend/layouts/app.html) and the website pages (site/public). Light first;
   dark by system setting or by data-theme. Red is the brand (logo, main buttons, the selected tab); blue is for links and information. */
:root{
  --bg:#f6f5f3; --panel:#ffffff; --ink:#2a2a2a; --muted:#67635f; --line:#dedbd7;
  --brand:#c8332b; --brand-ink:#ffffff; --brand-soft:#fbeae8;
  --accent:#1667a8; --accent-ink:#ffffff; --accent-soft:#e6f0f8;
  --good:#1b7a46; --good-soft:#e2f2e8; --warn:#9c5c00; --warn-soft:#fbefd9; --bad:#b42318; --bad-soft:#fde8e6;
  --shadow:0 1px 2px rgba(30,25,20,.06),0 2px 8px rgba(30,25,20,.06);
  --nb:#b26a12; --nb-ink:#ffffff;   /* new build comps */
  --map-land:#efeeeb; --map-water:#b9d3e3; --map-road:#ffffff; --map-casing:#d4d1cc; --map-major:#fbf0c8; --map-hwy:#f2d79c; --map-hwy-casing:#d6b46a; --map-label:#57524d;
  --f-display:"Libre Franklin","Helvetica Neue",Arial,sans-serif;
  --f-body:"Libre Franklin","Helvetica Neue",Arial,sans-serif;
  --f-mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --bg:#141414; --panel:#1e1e1e; --ink:#ececea; --muted:#a6a29d; --line:#353331;
  --brand:#e0473f; --brand-ink:#ffffff; --brand-soft:#3a1d1b;
  --accent:#6cb2ea; --accent-ink:#0b1824; --accent-soft:#18293a;
  --good:#6fcf97; --good-soft:#16301f; --warn:#e8b062; --warn-soft:#352a17; --bad:#f08a80; --bad-soft:#3a1d1b;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 2px 8px rgba(0,0,0,.3);
  --nb:#e3a24f; --nb-ink:#1a1206;
  --map-land:#1d1d1c; --map-water:#1b3446; --map-road:#353432; --map-casing:#151514; --map-major:#5a5640; --map-hwy:#6a5a35; --map-hwy-casing:#151514; --map-label:#b0aca6;
  color-scheme:dark}}
:root[data-theme="dark"]{
  --bg:#141414; --panel:#1e1e1e; --ink:#ececea; --muted:#a6a29d; --line:#353331;
  --brand:#e0473f; --brand-ink:#ffffff; --brand-soft:#3a1d1b;
  --accent:#6cb2ea; --accent-ink:#0b1824; --accent-soft:#18293a;
  --good:#6fcf97; --good-soft:#16301f; --warn:#e8b062; --warn-soft:#352a17; --bad:#f08a80; --bad-soft:#3a1d1b;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 2px 8px rgba(0,0,0,.3);
  --nb:#e3a24f; --nb-ink:#1a1206;
  --map-land:#1d1d1c; --map-water:#1b3446; --map-road:#353432; --map-casing:#151514; --map-major:#5a5640; --map-hwy:#6a5a35; --map-hwy-casing:#151514; --map-label:#b0aca6;
  color-scheme:dark}

/* The logo: a house under a lens, in a red tile, before the name */
.brand{display:inline-flex;align-items:center;gap:9px;font:800 23px/1 var(--f-display);letter-spacing:-.02em;color:var(--ink);text-decoration:none}
.brand::before{content:"";flex:none;width:30px;height:30px;border-radius:7px;background:var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30' fill='none' stroke='%23fff' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='13.5' cy='13.5' r='7.5' stroke-width='2.4'/%3E%3Cpath d='M19 19l5 5' stroke-width='2.8'/%3E%3Cpath d='M10.2 14.6 13.5 11.6l3.3 3V17h-6.6z' stroke-width='1.7'/%3E%3C/svg%3E") center/100% no-repeat}
