/* Clanert EMS - Clanert Sustain design system (same tokens as clanertsustain.com and its Studio dashboard).
   brandBlue #233b91 · brandGreen #8cc641 · brandCream #f5f4f0 · zinc greys · red only for problems. Arial. */
:root {
  --blue: #233b91; --blue-10: rgba(35,59,145,.08); --blue-20: rgba(35,59,145,.18);
  --green: #8cc641; --green-10: rgba(140,198,65,.14); --green-ink: #4f7a1c;
  --cream: #f5f4f0; --red: #ef4444; --red-ink: #dc2626; --red-10: #fef2f2;
  --z50: #fafafa; --z100: #f4f4f5; --z200: #e4e4e7; --z300: #d4d4d8; --z400: #a1a1aa; --z500: #71717a;
  --z600: #52525b; --z700: #3f3f46; --z900: #18181b;
  --ease: cubic-bezier(0.16,1,0.3,1);
  --shadow: 0 1px 2px rgba(0,0,0,.04); --shadow-soft: 0 15px 40px -15px rgba(0,0,0,.05);
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 14px/1.5 var(--font); color: var(--z900); background: var(--z50); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-ink); }
::selection { background: rgba(140,198,65,.3); }
h1, h2, h3 { margin: 0; font-weight: 300; }
small { font-size: 11px; }
.muted { color: var(--z500); }
.yes { color: var(--green-ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--z100); margin: 18px 0; }
code, pre { font-family: Consolas, 'Courier New', monospace; }
code { overflow-wrap: anywhere; }
svg.lucide { width: 16px; height: 16px; stroke-width: 1.75; flex: none; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--z200); border-radius: 8px; }

/* tiny-caps label: the Clanert fingerprint */
.label, .eyebrow, .t th, .field label, .nav-group, .kpi .label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--z500);
}

/* ------------------------------------------------------------ app shell */
.shell { display: flex; min-height: 100vh; }
.side { width: 256px; flex: none; background: var(--blue); color: #fff; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.side-head { padding: 22px 24px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.side-head img { height: 34px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .92; }
.side-head p { margin: 8px 0 0; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { flex: 1; overflow-y: auto; padding: 16px 14px 28px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; }
.nav-group { color: rgba(255,255,255,.42); margin: 22px 12px 8px; }
.nav-group:first-child { margin-top: 4px; }
.nav-section { margin-top: 10px; }
.nav-section summary { color: rgba(255,255,255,.67); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .03em; list-style: none; padding: 10px 12px; border-radius: 10px; }
.nav-section summary::-webkit-details-marker { display: none; }
.nav-section summary::after { content: '+'; float: right; font-size: 16px; line-height: 12px; }
.nav-section[open] summary::after { content: '−'; }
.nav-section summary:hover, .nav-section[open] summary { background: rgba(255,255,255,.08); color: #fff; }
.nav-section a { margin-left: 8px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; color: rgba(255,255,255,.82); font-size: 13.5px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav a.on { background: rgba(255,255,255,.14); color: #fff; font-weight: 700; }
.nav a.on svg { color: var(--green); }
.nav a b { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--green); color: var(--z900); font-size: 10.5px; display: grid; place-items: center; }
.main { flex: 1; min-width: 0; }
.top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--z100); padding: 12px 32px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.top form { margin: 0; }
.content { padding: 28px 32px 56px; max-width: 1480px; }
.pill-select, .top .select { height: 38px; border: 1px solid var(--z200); border-radius: 999px; background: var(--z50); padding: 0 14px; font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--z600); min-width: 170px; cursor: pointer; }
.search { flex: 1; min-width: 160px; max-width: 380px; position: relative; }
.search svg { position: absolute; left: 14px; top: 11px; color: var(--z400); }
.search input { width: 100%; height: 38px; border: 1px solid var(--z200); border-radius: 999px; padding: 0 16px 0 38px; background: var(--z50); font: 13px var(--font); }
.search input:focus, .pill-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-20); background: #fff; }
.top-spacer { flex: 1; }
.today { color: var(--z400); font-size: 12px; white-space: nowrap; }
.icon-btn { position: relative; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--z200); background: #fff; display: grid; place-items: center; color: var(--z600); cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }
.dot { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--green); color: var(--z900); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; letter-spacing: .05em; }
.menu { position: relative; }
.menu > summary { list-style: none; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: 48px; background: #fff; border: 1px solid var(--z100); border-radius: 18px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.15); min-width: 250px; padding: 8px; z-index: 60; }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 10px; color: var(--z700); background: none; border: 0; font: 13px var(--font); cursor: pointer; }
.menu-pop a:hover, .menu-pop button:hover { background: var(--z50); color: var(--blue); }
.menu-pop .who { padding: 10px 12px 12px; border-bottom: 1px solid var(--z100); margin-bottom: 6px; line-height: 1.6; }
.menu-toggle { display: none; }
.scrim { display: none; }

/* ------------------------------------------------------------ page heading */
.eyebrow { margin: 0 0 8px; color: var(--z400); }
.eyebrow a { color: var(--z500); } .eyebrow a:hover { color: var(--blue); }
.page-title { font-size: 34px; line-height: 1.05; font-weight: 300; text-transform: uppercase; letter-spacing: -.01em; color: var(--blue); }
.page-title em { font-style: normal; color: var(--green); font-weight: 400; }
.page-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head .lead { color: var(--z500); max-width: 760px; margin: 10px 0 0; font-weight: 300; font-size: 14.5px; }
.page-head .actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--z900); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.section-title .muted, .section-title span.muted { font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 12px; }
.section-title a { margin-left: auto; font-size: 11px; }

/* --------------------------------------------------------- workspace launcher */
.workspace-launcher { margin: 4px 0 28px; }
.launcher-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.launcher-head h2 { color: var(--z900); font-size: 22px; font-weight: 400; }
.launcher-head .eyebrow { margin-bottom: 5px; }
.launcher-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.module-card { position: relative; display: flex; min-height: 164px; flex-direction: column; align-items: flex-start; overflow: hidden; padding: 20px; border: 1px solid var(--z200); border-radius: 16px; background: #fff; color: var(--z900); box-shadow: 0 4px 14px rgba(20,30,55,.05); transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s; }
.module-card::after { position: absolute; right: -28px; top: -36px; width: 108px; height: 108px; border-radius: 50%; background: var(--module-tint); content: ''; opacity: .7; }
.module-card:hover { transform: translateY(-3px); border-color: var(--module-color); box-shadow: 0 14px 28px rgba(20,30,55,.12); color: var(--z900); }
.module-icon { z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 14px; border-radius: 12px; background: var(--module-tint); color: var(--module-color); }
.module-icon svg { width: 22px; height: 22px; stroke-width: 2; }
.module-card strong { z-index: 1; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.module-card small { z-index: 1; min-height: 35px; margin-top: 4px; color: var(--z500); font-size: 12px; line-height: 1.35; }
.module-meta { z-index: 1; display: flex; align-items: center; gap: 5px; margin-top: auto; padding-top: 13px; color: var(--module-color); font-size: 11px; font-weight: 700; }
.module-meta svg { width: 14px; height: 14px; }
.module-blue { --module-color: #3056b3; --module-tint: #e7efff; }
.module-red { --module-color: #c34d5e; --module-tint: #ffeaee; }
.module-green { --module-color: #568a25; --module-tint: #edf7dd; }
.module-purple { --module-color: #7756b5; --module-tint: #f0eaff; }
.module-amber { --module-color: #a56a08; --module-tint: #fff4d8; }
.module-cyan { --module-color: #147c88; --module-tint: #e1f6f7; }
.module-teal { --module-color: #16766b; --module-tint: #e2f6f1; }
.module-slate { --module-color: #506078; --module-tint: #edf1f6; }
.module-actions { z-index: 1; display: flex; gap: 16px; margin-top: auto; padding-top: 16px; color: #98a2ad; }
.module-actions svg { width: 19px; height: 19px; stroke-width: 1.9; }
.module-actions svg:hover { color: var(--module-color); }

/* ------------------------------------------------------------ buttons (pill, blue -> green) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--z200);
  background: var(--z50); color: var(--z700); font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; white-space: nowrap;
  transition: all .3s var(--ease); }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn:active { transform: scale(.96); }
.btn-primary, .btn-navy { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 8px 20px -10px rgba(35,59,145,.6); }
.btn-primary:hover, .btn-navy:hover { background: var(--green); border-color: var(--green); color: #000; }
.btn-green { background: var(--green); border-color: var(--green); color: #000; }
.btn-green:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn-danger:hover { background: var(--red-ink); color: #fff; border-color: var(--red-ink); }
.btn-sm { height: 30px; padding: 0 14px; font-size: 10px; }
.btn-link { background: none; border: 0; color: var(--blue); cursor: pointer; font: 700 11px var(--font); text-transform: uppercase; letter-spacing: .1em; padding: 0; }
.seg { display: inline-flex; border: 1px solid var(--z200); border-radius: 999px; background: #fff; padding: 3px; gap: 2px; }
.seg a { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 10.5px; letter-spacing: .1em; color: var(--z500); }
.seg a.on { background: var(--blue); color: #fff; }
.seg a:hover:not(.on) { color: var(--blue); }

/* ------------------------------------------------------------ cards / grid */
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.g12 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.card { background: #fff; border-radius: 24px; padding: 24px; border: 1px solid var(--z100); box-shadow: var(--shadow); min-width: 0; }
.card.flush { padding: 0; overflow: hidden; }
.card.flush > .section-title { padding: 22px 24px 0; }
a.card { display: block; color: inherit; transition: box-shadow .3s; } a.card:hover { box-shadow: 0 10px 30px -12px rgba(0,0,0,.12); }
.kpi { position: relative; }
.kpi .label { margin-bottom: 10px; }
.kpi .value { font-size: 32px; line-height: 1; font-weight: 300; color: var(--blue); letter-spacing: -.01em; }
.kpi .value small { font-size: 13px; color: var(--z400); margin-left: 4px; font-weight: 400; letter-spacing: 0; }
.kpi .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.kpi .delta { font-size: 12px; margin-top: 12px; color: var(--z500); }
.kpi.accent .value { color: var(--green-ink); }
.up { color: var(--red-ink) !important; } .down { color: var(--green-ink) !important; }
.stat-big { font-size: 52px; line-height: 1; font-weight: 300; color: var(--blue); letter-spacing: -.02em; }
.stat-big small { font-size: 20px; color: var(--z400); }
.spark { display: block; }
.chart { width: 100%; height: 170px; display: block; }
.chart .axis { font: 10px var(--font); fill: var(--z400); }
.line { width: 100%; height: 70px; display: block; }
.gauge { width: 100%; max-width: 220px; display: block; margin: 10px auto 0; }
.hbar { display: inline-block; width: 100%; min-width: 60px; height: 6px; border-radius: 999px; background: var(--z100); overflow: hidden; vertical-align: middle; }
.hbar-fill { display: block; height: 100%; border-radius: 999px; background: var(--blue); }
.hbar-fill.green { background: var(--green); } .hbar-fill.red { background: var(--red); } .hbar-fill.amber { background: #f87171; } .hbar-fill.navy { background: var(--blue); }
.progress-cell { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.progress-cell b { font-weight: 700; font-size: 12px; }
.legend { list-style: none; margin: 14px 0 0; padding: 0; }
.legend li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13px; color: var(--z700); }
.legend li b { margin-left: auto; font-weight: 400; color: var(--z500); }
.sw { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.bar-row { display: grid; grid-template-columns: 150px 1fr 80px; gap: 12px; align-items: center; margin: 10px 0; font-size: 13px; }
.bar-row b { text-align: right; font-weight: 700; }

/* ------------------------------------------------------------ pill badges */
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; line-height: 1.2; }
.badge.ok { background: var(--green-10); color: var(--green-ink); }
.badge.info { background: var(--blue-10); color: var(--blue); }
.badge.warn { background: var(--red-10); color: var(--red-ink); }
.badge.bad { background: var(--red); color: #fff; }
.badge.muted { background: var(--z100); color: var(--z500); }
.due small { display: block; font-size: 10.5px; color: var(--z400); }
.due.bad { color: var(--red-ink); font-weight: 700; } .due.bad small { color: var(--red); }
.due.warn { color: var(--blue); font-weight: 700; }

/* ------------------------------------------------------------ tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
.t th { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--z100); white-space: nowrap; background: #fff; }
.t td { padding: 14px 16px; border-bottom: 1px solid var(--z100); vertical-align: top; color: var(--z700); }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr { transition: background .15s; }
.t tbody tr:hover td { background: var(--z50); }
.t .rowlink { font-weight: 700; color: var(--z900); }
.t .rowlink:hover { color: var(--blue); }
.t strong { color: var(--z900); }
.t td.n, .t th.n { text-align: right; font-variant-numeric: tabular-nums; }
.t td.n a { font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.row-bad td { background: #fffafa; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--z100); }
.toolbar input[type=search], .toolbar select { height: 36px; border: 1px solid var(--z200); border-radius: 999px; padding: 0 14px; background: var(--z50); font: 12px var(--font); color: var(--z700); }
.toolbar select { font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--z600); }
.toolbar input[type=search] { min-width: 230px; }
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-20); background: #fff; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding: 14px 20px; color: var(--z500); font-size: 12px; border-top: 1px solid var(--z100); }
.empty { padding: 44px 20px; text-align: center; color: var(--z500); font-size: 13.5px; }
.empty strong { display: block; color: var(--z900); font-size: 18px; font-weight: 300; text-transform: uppercase; margin-bottom: 6px; }
.empty svg.lucide { width: 40px; height: 40px; color: var(--green); margin: 0 auto 12px; display: block; stroke-width: 1.25; }

/* ------------------------------------------------------------ forms */
.form { max-width: 900px; }
.form .fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .field.wide { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
  width: 100%; border: 1px solid var(--z200); border-radius: 12px; padding: 11px 14px; background: var(--z50); min-height: 44px; font: 14px var(--font); color: var(--z900);
  transition: all .2s; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-20); }
.field input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--blue); }
.field input[type=file] { font-size: 13px; color: var(--z600); }
.field input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: 700 10.5px var(--font); text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.field input[type=file]::file-selector-button:hover { background: var(--green); color: #000; }
.field .help { font-size: 12px; color: var(--z400); margin-top: 6px; }
.field .err, .errorlist { color: var(--red-ink); font-size: 12px; margin: 6px 0 0; padding: 0; list-style: none; }
.field.check { display: flex; align-items: center; gap: 10px; }
.field.check label { margin: 0; }
.field ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.field ul label { font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--z700); display: flex; gap: 8px; align-items: center; }
.form-actions { display: flex; gap: 10px; margin-top: 26px; align-items: center; flex-wrap: wrap; }

/* ------------------------------------------------------------ messages */
.flash { list-style: none; margin: 0 0 20px; padding: 0; }
.flash li { padding: 12px 18px; border-radius: 14px; margin-bottom: 8px; background: var(--green-10); border: 1px solid rgba(140,198,65,.3); color: var(--z900); font-size: 13.5px; }
.flash li.warning, .flash li.error { background: var(--red-10); border-color: #fecaca; color: var(--red-ink); }
.flash li.info { background: var(--blue-10); border-color: var(--blue-20); color: var(--blue); }
.banner { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--blue-10); color: var(--blue); margin-bottom: 20px; font-size: 13.5px; }
.banner.bad { background: var(--red-10); color: var(--red-ink); }
.banner .btn { margin-left: auto; }

/* ------------------------------------------------------------ lists */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--z100); }
.list li:last-child { border-bottom: 0; }
.list .grow { flex: 1; min-width: 0; }
.list .title { font-weight: 700; display: block; overflow: hidden; text-overflow: ellipsis; color: var(--z900); font-size: 13.5px; }
.list a.title:hover { color: var(--blue); }
.list .sub { color: var(--z500); font-size: 12px; }
.tick { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; }
.tick.ok { background: var(--green-10); color: var(--green-ink); } .tick.no { background: var(--z100); color: var(--z500); }
.kv { display: grid; grid-template-columns: 170px 1fr; gap: 12px 18px; margin: 0; }
.kv dt { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--z400); padding-top: 2px; }
.kv dd { margin: 0; color: var(--z900); }
.prose { white-space: pre-line; line-height: 1.7; color: var(--z700); font-weight: 300; font-size: 14.5px; }

/* ------------------------------------------------------------ board */
.board { display: grid; grid-template-columns: repeat(4, minmax(230px, 1fr)); gap: 16px; overflow-x: auto; padding-bottom: 6px; }
.col { background: var(--z100); border-radius: 22px; padding: 12px; min-height: 240px; }
.col h3 { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--z500); margin: 6px 6px 12px; display: flex; }
.col h3 span { margin-left: auto; color: var(--blue); }
.tile { background: #fff; border-radius: 16px; padding: 14px; margin-bottom: 10px; border: 1px solid var(--z100); box-shadow: var(--shadow); }
.tile .ref { font-size: 9.5px; color: var(--z400); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.tile .ttl { font-weight: 700; margin: 6px 0 10px; display: block; color: var(--z900); font-size: 13.5px; line-height: 1.35; }
.tile .ttl:hover { color: var(--blue); }
.tile .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--z500); }
.tile form { display: inline; }
.tile .moves { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------ matrix */
.matrix { display: grid; grid-template-columns: 26px repeat(5, 1fr); gap: 4px; font-size: 12px; }
.matrix div { aspect-ratio: 1.7; border-radius: 8px; display: grid; place-items: center; font-weight: 700; }
.matrix .ax { background: none; color: var(--z400); aspect-ratio: auto; font-size: 10px; }
.m-low { background: var(--z100); color: var(--z500); } .m-med { background: var(--red-10); color: var(--red-ink); }
.m-high { background: var(--red); color: #fff; }

/* ------------------------------------------------------------ map */
#map { height: 580px; border-radius: 18px; z-index: 1; }
.map-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--z600); margin-top: 14px; }
.map-legend span { display: flex; align-items: center; gap: 6px; }

/* ------------------------------------------------------------ public site */
.public { background: #fff; color: var(--z900); }
.pub-bar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--z100); }
.pub-nav { display: flex; align-items: center; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 16px 24px; }
.pub-nav img { height: 40px; width: auto; }
.pub-nav .links { margin-left: auto; display: flex; gap: 26px; align-items: center; }
.pub-nav .links a:not(.btn) { font-size: 12px; font-weight: 300; text-transform: uppercase; letter-spacing: .14em; color: var(--z500); }
.pub-nav .links a:not(.btn):hover { color: var(--blue); }
.hero { position: relative; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--z100); }
.hero:before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#233b91 1px, transparent 1px); background-size: 16px 16px; opacity: .03; }
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(140px); pointer-events: none; }
.hero-in { position: relative; max-width: 1280px; margin: 0 auto; padding: 96px 24px 104px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero .kicker { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); background: var(--blue-10); border-radius: 999px; padding: 6px 14px; display: inline-block; margin-bottom: 22px; }
.hero h1 { font-size: 62px; line-height: .98; font-weight: 300; text-transform: uppercase; letter-spacing: -.02em; color: var(--blue); }
.hero h1 em { font-style: normal; color: var(--green); font-weight: 400; display: block; }
.hero p { font-size: 17px; line-height: 1.7; color: var(--z600); max-width: 560px; font-weight: 300; margin: 26px 0 0; }
.hero .btn { height: 52px; padding: 0 30px; }
.hero-card { background: #fff; border-radius: 32px; padding: 20px; border: 1px solid var(--z100); box-shadow: 0 30px 60px -20px rgba(35,59,145,.18); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 104px 24px; }
.wrap h2 { font-size: 48px; line-height: 1; font-weight: 300; text-transform: uppercase; letter-spacing: -.01em; color: var(--blue); margin-bottom: 18px; }
.wrap h2 em { font-style: normal; color: var(--green); font-weight: 400; }
.wrap .sub { color: var(--z500); font-size: 16px; font-weight: 300; line-height: 1.7; max-width: 720px; margin: 0 0 44px; }
.feature { padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--z100); box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -8px rgba(35,59,145,.12); }
.feature .fi { width: 48px; height: 48px; border-radius: 16px; background: var(--blue-10); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.feature .fi svg.lucide { width: 22px; height: 22px; }
.feature b { font-size: 18px; font-weight: 300; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 10px; letter-spacing: .02em; }
.feature p { margin: 0; color: var(--z600); font-weight: 300; line-height: 1.65; font-size: 14px; }
.band { background: var(--cream); }
.plan { border: 1px solid var(--z100); border-radius: 32px; padding: 34px; display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -8px rgba(35,59,145,.12); }
.plan.pop { border: 2px solid var(--blue); }
.plan h3 { font-size: 26px; font-weight: 300; text-transform: uppercase; color: var(--blue); }
.plan .price { font-size: 52px; line-height: 1; font-weight: 300; margin: 22px 0 6px; color: var(--z900); letter-spacing: -.02em; }
.plan .price small { font-size: 13px; color: var(--z400); letter-spacing: 0; }
.plan ul { padding: 0; list-style: none; margin: 24px 0 30px; flex: 1; }
.plan li { padding: 8px 0 8px 28px; position: relative; color: var(--z700); font-weight: 300; border-bottom: 1px solid var(--z100); }
.plan li:last-child { border-bottom: 0; }
.plan li:before { content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 5px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.auth { min-height: 100vh; display: grid; place-items: center; background: var(--cream); padding: 24px; position: relative; }
.auth:before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#233b91 1px, transparent 1px); background-size: 16px 16px; opacity: .03; }
.auth-card { position: relative; background: #fff; border-radius: 32px; padding: 40px; width: 100%; max-width: 480px; border: 1px solid var(--z100); box-shadow: 0 30px 60px -25px rgba(35,59,145,.2); }
.auth-card.wide { max-width: 760px; }
.auth-card img { height: 42px; margin-bottom: 26px; }
.auth-card h1 { font-size: 30px; font-weight: 300; text-transform: uppercase; color: var(--blue); margin-bottom: 6px; letter-spacing: -.01em; }
.footer { background: var(--cream); border-top: 1px solid var(--z100); }
.footer .wrap { padding: 36px 24px; display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--z500); font-weight: 300; }
.drawn-underline { position: relative; white-space: nowrap; }
.drawn-underline::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px; pointer-events: none; background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M1,5 C30,2 70,2 99,5 C70,8 30,8 1,5 Z' fill='%238cc641'/%3E%3C/svg%3E"); }

/* scroll reveal (public pages only) */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: .1s; } [data-stagger].is-visible > *:nth-child(3) { transition-delay: .2s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .3s; } [data-stagger].is-visible > *:nth-child(5) { transition-delay: .4s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: .5s; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1200px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g21, .g12 { grid-template-columns: minmax(0, 1fr); }
  .launcher-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .side { position: fixed; left: 0; top: 0; z-index: 80; transform: translateX(-100%); transition: transform .35s var(--ease); width: 280px; }
  .shell.nav-open .side { transform: none; }
  .shell.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 70; }
  .menu-toggle { display: grid; }
  .top { padding: 10px 16px; }
  .content { padding: 20px 16px 48px; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .hero-in { grid-template-columns: 1fr; padding: 56px 24px; }
  .hero h1 { font-size: 40px; }
  .wrap { padding: 64px 24px; } .wrap h2 { font-size: 34px; }
  .form .fields { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 4px 0; } .kv dd { margin-bottom: 10px; }
  .today, .search { display: none; }
  .board { grid-template-columns: repeat(4, 270px); }
  .page-title { font-size: 28px; }
  .bar-row { grid-template-columns: 110px 1fr 64px; }
  .launcher-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .launcher-head { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 560px) {
  .g4 { grid-template-columns: 1fr; }
  .pub-nav .links a:not(.btn) { display: none; }
  .top .pill-select { min-width: 0; max-width: 150px; }
  .launcher-grid { grid-template-columns: 1fr; }
  .module-card { min-height: 142px; }
}

.work-intro { display:flex; justify-content:space-between; align-items:center; gap:22px; margin:18px 0 16px; background:linear-gradient(115deg,#f3f7ff,#f7fbf2); }
.work-intro h2 { margin:5px 0 5px; font-size:22px; color:var(--blue); }
.work-intro p { margin:0; color:var(--z600); font-size:13px; line-height:1.5; max-width:650px; }
.work-count { min-width:100px; text-align:center; font-size:30px; color:var(--blue); line-height:1; }
.work-count span { display:block; margin-top:6px; font-size:11px; color:var(--z600); }
.work-panels { margin-bottom:20px; }
.work-list .work-mark { width:8px; height:8px; flex:none; margin-top:6px; border-radius:50%; background:var(--blue); }
.work-list .work-mark.urgent { background:#d38b27; }
.work-list .work-mark.late { background:var(--red); }
@media (max-width:560px) { .work-intro { align-items:flex-start; } .work-count { min-width:65px; font-size:25px; } }
.guided-form { max-width:980px; }

/* ------------------------------------------------------------ enterprise application shell refresh */
body { background: #f6f8fb; color: #172033; font-size: 14px; }
.side { width: 272px; background: #102a56; border-right: 1px solid rgba(15,34,67,.22); }
.side-head { padding: 20px 22px 18px; background: #0d2449; }
.side-head img { height: 32px; }
.side-head p { color: rgba(255,255,255,.58); font-size: 10px; letter-spacing: .12em; }
.nav { padding: 14px 12px 28px; }
.nav > a { min-height: 42px; padding: 10px 12px; border-radius: 9px; gap: 11px; color: rgba(255,255,255,.78); font-size: 13px; }
.nav > a:hover { background: rgba(255,255,255,.09); }
.nav > a.on { background: #e8f1ff; color: #123b79; box-shadow: 0 2px 6px rgba(3,19,48,.18); }
.nav > a.on svg { color: #2463b5; }
.nav > a b { background: #a8d95d; color: #17320b; }
.nav-section { margin-top: 8px; }
.nav-section summary { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 9px 12px; border-radius: 9px; color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .01em; }
.nav-section summary::after { margin-left: auto; float: none; color: rgba(255,255,255,.52); font-size: 15px; }
.nav-section summary svg { width: 16px; height: 16px; color: #9fc1ef; }
.nav-section[open] summary { background: rgba(255,255,255,.08); color: #fff; }
.nav-section a { margin-left: 9px; min-height: 38px; padding: 8px 12px; border-radius: 8px; font-size: 12.5px; }
.nav-section a svg { width: 15px; height: 15px; opacity: .9; }
.main { background: #f6f8fb; }
.top { min-height: 64px; padding: 11px 28px; border-bottom: 1px solid #e4e9f1; box-shadow: 0 1px 5px rgba(16,42,86,.04); }
.pill-select, .search input { background: #fff; border-color: #d8e0ec; }
.search input { height: 38px; }
.content { max-width: 1680px; padding: 30px 36px 64px; }
.page-title { color: #152f63; font-size: 29px; font-weight: 650; text-transform: none; letter-spacing: -.025em; }
.page-title em { color: #2b69b1; font-weight: 650; }
.eyebrow, .label, .t th, .field label, .nav-group, .kpi .label { letter-spacing: .08em; }
.card { border-radius: 14px; border-color: #e2e8f0; box-shadow: 0 2px 10px rgba(26,47,82,.045); padding: 22px; }
.module-card { min-height: 154px; border-radius: 13px; box-shadow: 0 2px 8px rgba(26,47,82,.05); }
.module-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26,47,82,.11); }
.launcher-head h2 { font-size: 21px; font-weight: 650; color: #172f60; }
.work-intro { border-color: #dbe6f3; }
.section-title { color: #23385d; letter-spacing: .08em; }
.btn { border-radius: 9px; text-transform: none; letter-spacing: .01em; font-size: 12px; }
.btn-primary { background: #2463b5; border-color: #2463b5; }
.btn-primary:hover { background: #174a8c; border-color: #174a8c; color: #fff; }
.seg { border-radius: 9px; }
.seg a { border-radius: 7px; text-transform: none; letter-spacing: .02em; }
.t th { background: #f8fafc; color: #56657e; }
.t td { padding-top: 13px; padding-bottom: 13px; }
*:focus-visible { outline: 3px solid rgba(52,117,202,.42); outline-offset: 2px; }
@media (max-width: 900px) {
  .side { width: 292px; }
  .content { padding: 22px 18px 48px; }
  .top { padding: 10px 16px; }
}
.form-step { display:flex; align-items:flex-start; gap:18px; padding:10px 0 26px; border-bottom:1px solid var(--z100); margin-bottom:22px; }
.form-step .step-number { display:grid; place-items:center; flex:none; width:32px; height:32px; border-radius:50%; background:var(--blue); color:white; font-size:13px; font-weight:700; }
.form-step .step-body { flex:1; min-width:0; }
.form-step h2 { margin:0 0 5px; font-size:17px; color:var(--blue); }
.form-step p { margin:0 0 17px; font-size:12.5px; color:var(--z600); }
.optional-step { display:block; }
.optional-step summary { display:flex; align-items:center; gap:18px; cursor:pointer; list-style:none; }
.optional-step summary::-webkit-details-marker { display:none; }
.optional-step summary strong { display:block; font-size:17px; color:var(--blue); }
.optional-step summary small { display:block; margin-top:4px; color:var(--z600); }
.optional-step .step-body { margin:18px 0 0 50px; }
@media (max-width:560px) { .form-step { gap:10px; } .optional-step .step-body { margin-left:0; } }

/* keep the top bar on one line */
.top { flex-wrap: nowrap; }
.search { min-width: 0; }
@media (max-width: 1280px) { .today { display: none; } }
@media (max-width: 1100px) { .top .btn-primary span.txt { display: none; } .top .btn-primary { padding: 0 12px; } .top .pill-select { min-width: 0; max-width: 170px; } }
.t td strong, .t .badge { white-space: nowrap; }

.pub-nav .links a.on:not(.btn) { color: var(--blue); font-weight: 700; }

/* ------------------------------------------------------------ files & office */
.fileicon { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 6px; border-radius: 7px; font-size: 9.5px; font-weight: 700; letter-spacing: .05em; color: #fff; background: var(--z400); flex: none; }
.fileicon.word { background: #2b579a; } .fileicon.excel { background: #217346; } .fileicon.powerpoint { background: #d24726; }
.fileicon.pdf { background: #e5252a; } .fileicon.image { background: var(--green-ink); } .fileicon.text { background: var(--z600); }
.office-shell { display: flex; flex-direction: column; }
.doc-toolbar { position: sticky; top: 63px; z-index: 20; display: flex; gap: 4px; align-items: center; flex-wrap: wrap; padding: 10px 14px; background: #fff; border-bottom: 1px solid var(--z100); }
.doc-toolbar button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--z700); display: grid; place-items: center; cursor: pointer; }
.doc-toolbar button:hover { background: var(--z100); color: var(--blue); }
.doc-toolbar button.on { background: var(--blue-10); color: var(--blue); border-color: var(--blue-20); }
.doc-toolbar select { height: 34px; border: 1px solid var(--z200); border-radius: 10px; padding: 0 10px; background: var(--z50); font: 13px var(--font); }
.doc-toolbar .sep { width: 1px; height: 22px; background: var(--z200); margin: 0 6px; }
.page-sheet { background: var(--z100); padding: 28px 16px; }
.doc { max-width: 820px; min-height: 1000px; margin: 0 auto; background: #fff; padding: 72px 80px; box-shadow: 0 2px 12px rgba(0,0,0,.08); border-radius: 4px;
  font: 11pt/1.55 Calibri, Arial, sans-serif; color: #111; outline: none; }
.doc h1 { font-size: 20pt; font-weight: 700; color: #1f3864; margin: 0 0 12px; } .doc h2 { font-size: 15pt; font-weight: 700; color: #2f5496; margin: 18px 0 8px; }
.doc h3 { font-size: 12.5pt; font-weight: 700; color: #1f3864; margin: 14px 0 6px; } .doc p { margin: 0 0 8px; }
.doc table { border-collapse: collapse; width: 100%; margin: 10px 0; } .doc td, .doc th { border: 1px solid #bfbfbf; padding: 5px 8px; vertical-align: top; }
.doc img { max-width: 100%; height: auto; } .doc blockquote { border-left: 3px solid var(--green); margin: 8px 0; padding: 4px 14px; color: var(--z600); }
.cellref { min-width: 54px; height: 34px; display: grid; place-items: center; border: 1px solid var(--z200); border-radius: 10px; font-size: 12px; font-weight: 700; color: var(--z600); }
.fx { flex: 1; min-width: 180px; height: 34px; border: 1px solid var(--z200); border-radius: 10px; padding: 0 12px; font: 13px Consolas, monospace; }
.fx:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-20); }
.grid-wrap { overflow: auto; max-height: calc(100vh - 290px); }
table.xl { border-collapse: collapse; font: 12.5px Calibri, Arial, sans-serif; }
.xl th { position: sticky; top: 0; background: var(--z50); color: var(--z500); font-weight: 400; font-size: 11px; border: 1px solid var(--z200); padding: 3px 8px; min-width: 40px; z-index: 2; }
.xl tbody th { position: sticky; left: 0; z-index: 1; }
.xl td { border: 1px solid #e3e3e3; padding: 3px 8px; min-width: 96px; max-width: 260px; height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: cell; }
.xl td.sel { outline: 2px solid #217346; outline-offset: -2px; background: #f1f8f3; }
.xl td.has-f { color: #0b5394; }
.sheet-tabs { display: flex; gap: 2px; padding: 6px 10px; border-top: 1px solid var(--z100); background: var(--z50); overflow-x: auto; }
.sheet-tabs button { border: 0; background: none; padding: 6px 14px; border-radius: 8px; font: 12px var(--font); cursor: pointer; color: var(--z600); }
.sheet-tabs button.on { background: #fff; color: #217346; font-weight: 700; box-shadow: var(--shadow); }
.deck { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.thumbs { max-height: calc(100vh - 220px); overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 4px; }
.thumb { border: 2px solid transparent; background: none; padding: 0; border-radius: 10px; cursor: pointer; position: relative; }
.thumb.on { border-color: var(--blue); } .thumb span { position: absolute; left: -2px; top: -2px; background: var(--blue); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 8px 0 8px 0; }
.stage { background: #fff; border: 1px solid var(--z100); border-radius: 16px; min-width: 0; }
.slide-frame { position: relative; width: 100%; background: #fff; }
.stage > .slide-frame { width: calc(100% - 48px); margin: 24px; box-shadow: 0 4px 20px rgba(0,0,0,.12); }
.thumb .slide-frame { box-shadow: 0 1px 4px rgba(0,0,0,.12); border-radius: 8px; overflow: hidden; }
.slide { position: absolute; inset: 0; overflow: hidden; font-family: Calibri, Arial, sans-serif; color: #222; }
.slide-frame:fullscreen { background: #000; display: grid; place-items: center; } .slide-frame:fullscreen .slide { position: relative; width: 100vw; aspect-ratio: inherit; max-height: 100vh; background: #fff; }
.shape { position: absolute; overflow: hidden; line-height: 1.2; }
.shape.text[contenteditable]:hover, .shape.text[contenteditable]:focus { outline: 1px dashed var(--blue); outline-offset: 2px; }
.shape img { width: 100%; height: 100%; object-fit: contain; }
.shape table { width: 100%; height: 100%; border-collapse: collapse; font-size: calc(12 / 540 * var(--h)); }
.shape td { border: 1px solid #ccc; padding: 2px 4px; }
.notes { margin: 0 24px 24px; padding: 12px 14px; background: var(--z50); border-radius: 12px; font-size: 13px; color: var(--z600); white-space: pre-line; }
.notes:empty { display: none; }
.pdf-pages { background: var(--z100); padding: 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; overflow: auto; max-height: calc(100vh - 230px); }
.pdf-page { position: relative; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.12); flex: none; }
.pdf-page.deleted { opacity: .25; outline: 3px solid var(--red); }
.pdf-overlay { position: absolute; inset: 0; }
.pdf-num { position: absolute; right: -34px; top: 0; font-size: 11px; color: var(--z400); }
.pdf-pages[data-tool="text"] .pdf-page { cursor: text; } .pdf-pages[data-tool="highlight"] .pdf-page, .pdf-pages[data-tool="whiteout"] .pdf-page, .pdf-pages[data-tool="ink"] .pdf-page { cursor: crosshair; touch-action: none; }
.pdf-pages[data-tool="rotate"] .pdf-page, .pdf-pages[data-tool="delete"] .pdf-page { cursor: pointer; }
@media (max-width: 900px) { .deck { grid-template-columns: 1fr; } .thumbs { flex-direction: row; max-height: none; overflow-x: auto; } .thumb { width: 130px; flex: none; }
  .doc { padding: 32px 22px; } .doc-toolbar { top: 59px; } }
.card.flush.office-shell { overflow: visible; } .office-shell > .doc-toolbar:first-child { border-radius: 24px 24px 0 0; }

/* ------------------------------------------------------------ Clanert Air */
.aqi-hero { text-align: center; }
.aqi-ring { width: 170px; height: 170px; margin: 14px auto 10px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--aqi) 0 100%); padding: 12px; }
.aqi-ring > div { width: 100%; height: 100%; border-radius: 50%; background: #fff; display: grid; place-content: center; }
.aqi-ring b { font-size: 50px; font-weight: 300; line-height: 1; color: var(--z900); }
.aqi-ring span { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--z400); }
.aqi-level { font-size: 22px; font-weight: 300; text-transform: uppercase; color: var(--aqi); letter-spacing: .02em; }
.aqi-params { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.aqi-params div { background: var(--z50); border-radius: 12px; padding: 8px 4px; }
.aqi-params span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--z400); }
.aqi-params b { font-size: 18px; font-weight: 400; color: var(--blue); } .aqi-params small { font-size: 10px; color: var(--z400); margin-left: 2px; }
.aqi-card { border-left: 5px solid var(--aqi); color: inherit; }
.aqi-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.aqi-card-name { font-weight: 700; color: var(--z900); margin-bottom: 4px; }
.aqi-pill { display: inline-grid; place-items: center; min-width: 46px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--aqi); color: #fff; font-weight: 700; font-size: 14px; }
.aqi-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--z600); margin-top: 16px; }
.aqi-legend span { display: flex; align-items: center; gap: 6px; } .aqi-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 6px; box-shadow: 0 0 0 3px rgba(140,198,65,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(140,198,65,0); } }
.aqi-marker span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font: 700 13px Arial; border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--z200); border-radius: 999px; font-size: 12.5px; background: var(--z50); cursor: pointer; }
.chip:has(input:checked) { border-color: var(--blue); background: var(--blue-10); color: var(--blue); }
