/*
 * Service Desk — new look (beta), 2026-10-29.
 *
 * What Service Desk is for: complaints and visits -- the desk logs a call, a technician goes out,
 * the job is closed. People use it on the move, on phones, often outdoors. So the look is
 * "field-ready": high contrast that reads in sunlight, one clear
 * accent (service blue) separate from Dispatch's gold and Mega Stream's teal, plain panels without
 * glass blur (fast on cheap phones), and status colours that mean the same thing everywhere.
 *
 * A layer over the live app (html.nl): every screen and action is the live code.
 */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&display=swap');

html.nl .theme-light, html.nl body.theme-light {
  --bg:#F3F6FA; --panel:#FFFFFF; --panel-alt:#EDF2F8; --text:#0B1324; --muted:#556275; --border:#D9E1EC;
  --accent:#2563EB; --accent-ink:#FFFFFF; --panel-glass:#FFFFFF; --accent-glow:rgba(37,99,235,.28);
}
html.nl .theme-dark, html.nl body.theme-dark {
  --bg:#080D18; --panel:#101828; --panel-alt:#162033; --text:#EEF2F8; --muted:#94A3B8; --border:#22304A;
  --accent:#60A5FA; --accent-ink:#06101F; --panel-glass:#101828; --accent-glow:rgba(96,165,250,.28);
}
html.nl .sd-root { -webkit-backdrop-filter:none; }
html.nl [class*="sd-"] { -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
html.nl .sd-display { font-family:"Space Grotesk",system-ui,sans-serif !important; letter-spacing:-.02em; }
html.nl .sd-mono { font-variant-numeric:tabular-nums; }

html.nl .sd-topbar { background:var(--panel) !important; border-bottom:1px solid var(--border) !important; box-shadow:0 10px 26px -24px rgba(11,19,36,.7); }
html.nl .sd-btn { border-radius:12px !important; }
html.nl .sd-primary { background:var(--accent) !important; color:var(--accent-ink) !important; border-color:var(--accent) !important; box-shadow:0 12px 26px -16px var(--accent-glow) !important; }
html.nl .sd-secondary { background:var(--panel-alt) !important; border:1px solid var(--border) !important; color:var(--text) !important; }
html.nl .sd-input { border-radius:12px !important; border:1.5px solid var(--border) !important; background:var(--panel) !important; }
html.nl .sd-input:focus { border-color:var(--accent) !important; box-shadow:0 0 0 4px var(--accent-glow) !important; outline:none; }
html.nl .sd-row { border-radius:14px; }
html.nl .sd-fab { box-shadow:0 18px 36px -16px var(--accent-glow) !important; }

html.nl .nl-beta-tag { position:fixed; left:12px; bottom:12px; z-index:600; font:700 10px/1 system-ui,sans-serif; letter-spacing:.14em;
  padding:5px 10px; border-radius:99px; background:var(--accent); color:var(--accent-ink); opacity:.85; pointer-events:none; }
@media (prefers-reduced-motion:reduce){ html.nl *{ animation:none !important; transition:none !important; } }

/* ADDED 2026-11-05 (user: "blue line on search box not symmetric", Home "This month" box): the ring is drawn on the
 * rounded box itself (.field:focus-within); the control inside the box no longer draws a second, offset line */
html.nl .field :focus-visible, html.nl .field:focus-within :focus{outline:none !important}
html.nl .field:focus-within{outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft)}
