@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Mulish:wght@400;600;700&display=swap');
/* Shamrock Comply's default accent: Shamrock Safety's brand green (#0E5B33,
   from shamrockehs.com), replacing the design system's cyan on every screen
   that isn't company-branded — login, worker and crew portals, kiosk. Inside
   the dashboard a company's own brand colour (Settings) is applied on top by
   applyBrand() in assets/js/dashboard.js. */
:root {
  --color-accent: #0E5B33;
  --color-accent-100: #E6F2EB;
  --color-accent-200: #C4E1CF;
  --color-accent-300: #8FC5A5;
  --color-accent-400: #4F9F73;
  --color-accent-500: #1F7A49;
  --color-accent-600: #12693B;
  --color-accent-700: #0E5B33;
  --color-accent-800: #0A4526;
  --color-accent-900: #07321C;

  /* Secondary accent in the same green family, so the design system's indigo
     doesn't show through in the nav underline and the background glow. */
  --color-accent-2: #4F9F73;
  --color-accent-2-100: #EEF7F1;
  --color-accent-2-200: #D6EBDE;
  --color-accent-2-300: #B1D8C0;
  --color-accent-2-400: #8FC5A5;
  --color-accent-2-500: #6CB48A;
  --color-accent-2-600: #4F9F73;
  --color-accent-2-700: #2E7D52;
  --color-accent-2-800: #0A4526;
  --color-accent-2-900: #07321C;
}

/* ── The "site board" look (12 Nov 2026) ─────────────────────────────────
   One set of tokens for every screen: the brand's own greens and green-black
   (Shamrock-Comply-Brand), white cards on a pale green-grey page, Poppins for
   headings and controls and Mulish for text, pill buttons and soft corners.
   Yellow and red stay for warnings and stops only. */
:root {
  --color-bg: #f4f7f3;
  --color-surface: #ffffff;
  --color-text: #10231a;
  --color-divider: #dbe5de;
  --color-accent: #0f5c3b;
  --color-accent-700: #0f5c3b;
  --color-mint: #7fe0a8;
  --color-muted: #3e5247;
  --font-heading: "Poppins", "Trebuchet MS", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Mulish", "Segoe UI", system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
}
body { font-family: var(--font-body); }
h1 { font-weight: 700; font-size: clamp(24px, 5vw, 30px); letter-spacing: -0.01em; }
.text-muted { color: var(--color-muted); }
.btn { border-radius: 999px; font-weight: 600; padding: 9px 18px; }
.btn-primary { background: var(--color-accent-700); box-shadow: none; }
.btn-primary:hover { box-shadow: none; transform: none; filter: brightness(1.08); }
.btn-secondary { background: var(--color-surface); }
.btn-ghost { padding-inline: 12px; }
.btn-icon { padding: 0; }
.input { background: var(--color-surface); border-radius: 12px; min-height: 40px; padding: 8px 12px; }
.card { border: 0; border-radius: 16px; padding: var(--space-4); }
.elev-sm, .elev-md { box-shadow: 0 1px 2px rgba(16, 35, 26, 0.06); }
.elev-sm:hover, .elev-md:hover { transform: none; box-shadow: 0 1px 2px rgba(16, 35, 26, 0.06); border-color: transparent; }
.card-kicker { font: 600 16px var(--font-heading); letter-spacing: 0; text-transform: none; color: var(--color-text); }
.tag { border-radius: 999px; font: 600 12px/1.5 var(--font-heading); letter-spacing: 0; padding: 1px 10px; }
.seg { border-radius: 999px; background: var(--color-surface); padding: 3px; gap: 2px; }
.seg-opt { border-radius: 999px; font-weight: 600; }
.seg-opt + .seg-opt { border-left: 0; }
.seg-opt:has(input:checked) { background: var(--color-text); color: #fff; }
.table th { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; color: var(--color-muted); border-bottom: 1px solid var(--color-divider); }
.dialog { border-radius: 20px; }

/* ── The logo itself, wherever the name used to be typed ── */
.login-brand, .setup-brand { height: 46px; margin: 4px 0 16px !important; font-size: 0 !important; background: url(../icons/logo-horizontal.svg) center / contain no-repeat; }
body:has(> * .login-brand), body:has(> * .setup-brand) { background: #0f5c3b !important; }
.brand-logo { display: block; height: 28px; width: auto; max-width: 100%; }
.brand-strip { border-bottom: 4px solid #0f5c3b; padding: 10px 0 12px; margin: 0 0 18px; }
.brand-foot { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; margin: 36px 0 8px; font-size: 13px; color: var(--color-muted); }
.brand-foot .brand-logo { height: 24px; }
@media print { .brand-strip { border-bottom-width: 2px; } .brand-foot { margin: 16px 0 0; } }
