/* SoulGrid Hub — Powered by: SoulGrid Solutions
   Light theme default, html.dark for the night variant. Palette: Broć. */

:root {
  --bg: #F2F2F0; --card: #FFFFFF; --card2: #F5F5F3; --card3: #EDEDEA;
  --line: rgba(20,18,16,.07); --line2: rgba(20,18,16,.14);
  --text: #15120F; --muted: #5C5955; --faint: #75716C;
  --brand: #A52230; --brandsoft: #FBEAEA; --acc: #A52230; --acctext: #FFFFFF; --accglow: rgba(165,34,48,.28);
  --pos: #1A7F4E; --possoft: #E4F4EA; --neg: #A52230; --warn: #8F5600; --warnsoft: #FBF0DC;
  --info: #0A70E0; --infosoft: #E6F0FD;
  --dot: rgba(20,18,16,.12); --mapdot: rgba(20,18,16,.14);
  --shadow: 0 1px 3px rgba(20,18,16,.04), 0 16px 40px rgba(20,18,16,.06);
  --shadow2: 0 2px 6px rgba(20,18,16,.06), 0 24px 60px rgba(20,18,16,.12);
  --bar: #15120F; --bartext: #FFFFFF;
  --sgs: #A52230; --sgsT: #8E1D29; --sgsS: #FBEAEA;
  --cor: #0A70E0; --corT: #0858B0; --corS: #E6F0FD;
  --pix: #CFCFCA; --pixT: #4D4B47; --pixS: #EEEEEB;
  --car: #FFFFFF; --carT: #15120F; --carS: #FFFFFF; --carE: rgba(20,18,16,.28); --carF: rgba(20,18,16,.08);
  --pinin: #F0F0EE;
  --h1: rgba(165,34,48,.88); --h2: rgba(165,34,48,.58); --h3: rgba(165,34,48,.32); --h4: rgba(165,34,48,.14); --h1t: #FFFFFF;
  --r-xl: 28px; --r-lg: 24px; --r-md: 20px; --r-sm: 16px;
  --nav-w: 268px; --nav-w-c: 92px;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  color-scheme: light;
}
html.dark {
  --bg: #141210; --card: #1E1B19; --card2: #272320; --card3: #2F2A26;
  --line: rgba(246,240,230,.08); --line2: rgba(246,240,230,.16);
  --text: #F4EFE7; --muted: #CCC4BA; --faint: #A69E94;
  --brand: #FF7A6B; --brandsoft: rgba(255,122,107,.14); --acc: #E0505A; --acctext: #FFFFFF; --accglow: rgba(224,80,90,.25);
  --pos: #5FD39A; --possoft: rgba(95,211,154,.14); --neg: #FF8B7E; --warn: #F2C46B; --warnsoft: rgba(242,196,107,.14);
  --info: #5AA2FF; --infosoft: rgba(90,162,255,.14);
  --dot: rgba(246,240,230,.14); --mapdot: rgba(246,240,230,.15);
  --shadow: 0 1px 3px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.25);
  --shadow2: 0 2px 6px rgba(0,0,0,.35), 0 24px 60px rgba(0,0,0,.4);
  --bar: #F4EFE7; --bartext: #141210;
  --sgs: #FF7A6B; --sgsT: #FF9A8F; --sgsS: rgba(255,122,107,.14);
  --cor: #5AA2FF; --corT: #86B9FF; --corS: rgba(90,162,255,.14);
  --pix: #A8A49E; --pixT: #D0CBC4; --pixS: rgba(168,164,158,.16);
  --car: #F4EFE7; --carT: #F4EFE7; --carS: rgba(246,240,230,.09); --carE: rgba(246,240,230,0); --carF: rgba(246,240,230,.22);
  --pinin: #272320;
  --h1: rgba(255,122,107,.85); --h2: rgba(255,122,107,.55); --h3: rgba(255,122,107,.3); --h4: rgba(255,122,107,.14); --h1t: #141210;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--text); }
button { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--h3); }
:focus-visible { outline: 2.5px solid var(--acc); outline-offset: 2px; border-radius: 10px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.k { font-size: 12.5px; color: var(--faint); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.pos { color: var(--pos); } .neg { color: var(--neg); } .warn { color: var(--warn); }
.ttl { font-weight: 600; letter-spacing: -.02em; margin: 0; }
h1.ttl { font-size: 42px; line-height: 1.05; font-weight: 700; }
h2.ttl { font-size: 22px; line-height: 1.25; }
h3.ttl { font-size: 17px; }
[style*="background: var(--car)"], [style*="background:var(--car)"] { box-shadow: inset 0 0 0 1.5px var(--carE); }

/* ---------- Boot ---------- */
#app.boot { min-height: 100vh; display: grid; place-items: center; color: var(--text); }
.boot-logo svg { animation: breathe 1.6s ease-in-out infinite; }

/* ---------- Shell ---------- */
.shell { display: flex; min-height: 100vh; max-width: 1800px; margin: 0 auto; }
.side { position: sticky; top: 0; height: 100vh; flex: 0 0 var(--nav-w); padding: 16px 0 16px 16px; transition: flex-basis .35s cubic-bezier(.2,.8,.2,1); z-index: 30; }
.side-in { height: 100%; display: flex; flex-direction: column; gap: 18px; padding: 18px 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.side-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.logo-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; color: var(--text); flex: none; transition: transform .3s; }
.logo-ico:hover { transform: rotate(-6deg) scale(1.04); color: var(--text); }
.logo-ico svg { width: 46px; height: 46px; overflow: visible; }
.collapse-btn { width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line2); background: var(--card); color: var(--muted); display: grid; place-items: center; cursor: pointer; transition: transform .35s, color .2s, background .2s; }
.collapse-btn:hover { color: var(--text); background: var(--card2); }
.side nav { flex: 1; display: flex; flex-direction: column; gap: 16px; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; margin: 0 -4px; padding: 0 4px; }
.side nav::-webkit-scrollbar { display: none; }
.nav-grp { display: flex; flex-direction: column; gap: 3px; }
.nav-h { font-size: 12px; color: var(--faint); padding: 0 14px 4px; display: flex; justify-content: space-between; white-space: nowrap; transition: opacity .2s; }
.snav { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; color: var(--muted); font-size: 14px; min-height: 44px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .3s, transform .15s; }
.snav:hover { background: var(--card2); color: var(--text); }
.snav:active { transform: scale(.98); }
.snav.on { background: var(--acc); color: var(--acctext); font-weight: 600; box-shadow: 0 10px 22px var(--accglow); }
.snav.on:hover { color: var(--acctext); }
.snav svg { width: 19px; height: 19px; flex: none; }
.snav .lbl { flex: 1; overflow: hidden; text-overflow: ellipsis; transition: opacity .2s; }
.snav .ct { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.snav.on .ct { color: rgba(255,255,255,.8); }
.snav .bdg { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--acc); color: #FFF; }
.snav.on .bdg { background: #FFF; color: var(--acc); }
.pdot { width: 12px; height: 12px; border-radius: 50%; flex: none; margin: 0 3.5px; }
.side-foot { display: flex; flex-direction: column; gap: 10px; }
.me { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 18px; white-space: nowrap; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; background: var(--card2); color: var(--text); }
.av.lg { width: 40px; height: 40px; font-size: 13px; display: grid; gap: 0; }
.av.ink { background: var(--text); color: var(--card); }
.av.acc { background: var(--acc); color: #FFF; }
.powered { font-size: 11px; color: var(--faint); padding: 0 8px; white-space: nowrap; }

html.nav-c .side { flex-basis: var(--nav-w-c); }
html.nav-c .side .lbl, html.nav-c .side .ct, html.nav-c .side .nav-h span:last-child, html.nav-c .side .me-t, html.nav-c .powered { opacity: 0; pointer-events: none; }
html.nav-c .nav-h { height: 6px; padding: 0; overflow: hidden; }
html.nav-c .snav { justify-content: center; padding: 10px 0; gap: 0; }
html.nav-c .snav .lbl, html.nav-c .snav .ct { width: 0; flex: 0; }
html.nav-c .snav .bdg { position: absolute; top: 4px; right: 8px; min-width: 18px; height: 18px; font-size: 10px; }
html.nav-c .side-top { flex-direction: column; }
html.nav-c .collapse-btn { transform: rotate(180deg); }
html.nav-c .me { justify-content: center; padding: 8px 0; }
html.nav-c .snav::after { content: attr(data-tip); position: absolute; left: calc(100% + 12px); top: 50%; transform: translate(-6px,-50%); background: var(--text); color: var(--card); font-size: 12.5px; font-weight: 500; padding: 6px 10px; border-radius: 10px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; z-index: 50; }
html.nav-c .snav:hover::after { opacity: 1; transform: translate(0,-50%); }
html.nav-c .side-in { overflow: visible; }

.main { flex: 1; min-width: 0; padding: 22px 30px 40px; display: flex; flex-direction: column; gap: 22px; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative; z-index: 20; }
.search { position: relative; flex: 1 1 280px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow); color: var(--faint); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; }
.search kbd { font-family: var(--mono); font-size: 11px; color: var(--faint); border: 1px solid var(--line2); border-radius: 7px; padding: 1px 6px; }
.search-res { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow2); padding: 8px; display: none; max-height: 60vh; overflow: auto; }
.search-res.open { display: block; animation: pop-in .2s ease both; }
.search-res a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; color: var(--text); }
.search-res a:hover, .search-res a.act { background: var(--card2); }
.search-res .ty { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 99px; background: var(--card2); color: var(--muted); min-width: 64px; text-align: center; }
.page { display: flex; flex-direction: column; gap: 22px; animation: page-in .45s cubic-bezier(.2,.8,.2,1) both; }
.page-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; padding: 4px 4px 0; }
.page-h .sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 6px 4px 0; font-size: 12px; color: var(--faint); }

/* ---------- Mobile ---------- */
.mtop { display: none; }
.mbar { display: none; }
@media (max-width: 900px) {
  .side { display: none; }
  .main { padding: calc(10px + var(--safe-t)) 16px calc(118px + var(--safe-b)); gap: 18px; }
  .topbar .hide-m { display: none !important; }
  .mtop { display: flex; align-items: center; gap: 12px; }
  .mtop .hello { flex: 1; min-width: 0; line-height: 1.2; }
  .mtop .hello b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
  h1.ttl { font-size: 32px; }
  .page-h .sub { font-size: 14px; }
  .mbar { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(16px + var(--safe-b)); height: 68px; border-radius: 999px; background: var(--bar); align-items: center; justify-content: space-around; padding: 0 8px; box-shadow: 0 18px 40px rgba(20,18,16,.3); z-index: 40; animation: rise .6s .1s cubic-bezier(.2,.8,.2,1) both; }
  .mbar .tb { position: relative; border: 0; background: transparent; color: var(--bartext); opacity: .55; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: opacity .2s, background .2s, transform .15s; }
  .mbar .tb.on { opacity: 1; background: rgba(255,255,255,.14); }
  html.dark .mbar .tb.on { background: rgba(20,18,16,.1); }
  .mbar .tb:active { transform: scale(.9); }
  .mbar .tb .dotb { position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 2px var(--bar); }
  .mbar .fab { width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--acc); color: #FFF; display: grid; place-items: center; cursor: pointer; margin-top: -30px; box-shadow: 0 12px 26px var(--accglow), 0 0 0 6px var(--bg); transition: transform .2s; }
  .mbar .fab:active { transform: scale(.92) rotate(45deg); }
  .topbar { display: none; }
}

/* ---------- Cards & surfaces ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 24px 26px; min-width: 0; transition: box-shadow .3s, transform .3s, background-color .35s; }
.card.p0 { padding: 0; } .card.sm { padding: 18px 20px; }
.card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow2); }
.card-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-h .k { margin-top: 2px; }
.soft { background: var(--card2); border-radius: var(--r-md); padding: 14px 16px; }
.soft2 { background: var(--bg); border-radius: var(--r-lg); padding: 14px; }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.row-f { display: flex; flex-wrap: wrap; gap: 18px; align-items: stretch; }
.row-f > * { min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.hstack { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.spacer { flex: 1; }

.hero { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 26px; background: var(--acc); color: var(--acctext); box-shadow: 0 22px 44px var(--accglow); display: flex; flex-direction: column; gap: 16px; isolation: isolate; }
.hero::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.16) 48%, transparent 66%); transform: translateX(-120%); animation: shine 5.5s 1.2s ease-in-out infinite; z-index: -1; pointer-events: none; }
.hero a, .hero a:hover { color: inherit; }
.hero .chip { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.hero .big { white-space: nowrap; font-size: clamp(34px, 3vw, 50px); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero .big small { font-size: 20px; font-weight: 500; opacity: .8; }
.hero .op { opacity: .82; }
.kpi { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.kpi .v { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .s { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ico { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--card2); color: var(--text); }
.ico.pos { background: var(--possoft); color: var(--pos); } .ico.neg { background: var(--brandsoft); color: var(--neg); }
.ico.warn { background: var(--warnsoft); color: var(--warn); } .ico.info { background: var(--infosoft); color: var(--info); }
.ico.acc { background: var(--acc); color: #FFF; box-shadow: 0 10px 22px var(--accglow); }
.ico svg { width: 19px; height: 19px; }

/* ---------- Buttons & controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); color: var(--text); font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s, transform .12s, box-shadow .25s, filter .2s; user-select: none; }
.btn:hover { border-color: var(--text); color: var(--text); }
.btn:active { transform: scale(.97); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.ink { background: var(--acc); border-color: var(--acc); color: var(--acctext); box-shadow: 0 10px 22px var(--accglow); }
.btn.ink:hover { color: var(--acctext); filter: brightness(1.07); }
.btn.dark { background: var(--text); border-color: var(--text); color: var(--card); }
.btn.dark:hover { color: var(--card); filter: brightness(1.2); }
.btn.wh { background: #FFF; border-color: #FFF; color: #A52230; }
.btn.wh:hover { color: #A52230; filter: brightness(.97); }
.btn.ghost { background: var(--card2); border-color: transparent; }
.btn.ghost:hover { border-color: var(--line2); }
.btn.danger { color: var(--neg); }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 12.5px; }
.btn.xs { min-height: 30px; padding: 0 11px; font-size: 12px; }
.btn.icn { width: 44px; padding: 0; }
.btn.sm.icn { width: 36px; }
.btn[disabled], .btn.busy { opacity: .55; pointer-events: none; }
.btn.busy::after { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn .bdg { position: absolute; top: 5px; right: 5px; min-width: 18px; height: 18px; border-radius: 99px; background: var(--acc); color: #FFF; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.btn.rel { position: relative; }

.seg { border: 1px solid var(--line2); background: var(--card); color: var(--muted); font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: 999px; cursor: pointer; min-height: 38px; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .25s, transform .12s; }
.seg:hover { color: var(--text); }
.seg:active { transform: scale(.97); }
.seg.on { background: var(--acc); border-color: var(--acc); color: var(--acctext); box-shadow: 0 8px 18px var(--accglow); }
.seg .d { width: 9px; height: 9px; border-radius: 50%; }
.segs { display: flex; flex-wrap: wrap; gap: 8px; }
.segs.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 16px; margin: -4px -4px -12px; }
.segs.scroll .seg.on { box-shadow: 0 6px 12px var(--accglow); }
.segs.scroll::-webkit-scrollbar { display: none; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.warn { background: var(--warnsoft); color: var(--warn); } .pill.pos { background: var(--possoft); color: var(--pos); }
.pill.neg { background: var(--brandsoft); color: var(--neg); } .pill.gray { background: var(--card2); color: var(--muted); }
.pill.info { background: var(--infosoft); color: var(--info); }
.tag { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; font-weight: 600; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 6px; }
.tag.sgs { background: var(--sgsS); color: var(--sgsT); } .tag.cor { background: var(--corS); color: var(--corT); }
.tag.pix { background: var(--pixS); color: var(--pixT); } .tag.car { background: var(--carS); color: var(--carT); box-shadow: inset 0 0 0 1px var(--line2); }
.risk { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.risk i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: currentColor; }
.risk.lo { background: var(--possoft); color: var(--pos); } .risk.md { background: var(--warnsoft); color: var(--warn); }
.risk.hi { background: var(--brandsoft); color: var(--neg); } .risk.na { background: var(--card2); color: var(--faint); }

.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > span, .fld > label { font-size: 12.5px; color: var(--faint); font-weight: 500; }
.inp, .sel, textarea.inp { width: 100%; min-height: 46px; padding: 11px 16px; border-radius: 16px; border: 1px solid var(--line2); background: var(--card); color: var(--text); font: inherit; font-size: 14.5px; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
textarea.inp { min-height: 110px; resize: vertical; line-height: 1.5; }
.inp:focus, .sel:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--h4); }
.inp::placeholder { color: var(--faint); }
.inp.num { text-align: right; }
.sel { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2375716C' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.frm { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.frm .full { grid-column: 1 / -1; }
.chk { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.chk input { width: 20px; height: 20px; accent-color: var(--acc); }
input[type=range] { accent-color: var(--acc); width: 100%; height: 30px; }

.sw { position: relative; width: 52px; height: 30px; border-radius: 99px; border: 0; background: var(--line2); cursor: pointer; flex: none; padding: 0; transition: background .25s; }
.sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #FFF; box-shadow: 0 2px 6px rgba(20,18,16,.25); transition: left .25s cubic-bezier(.3,1.4,.5,1); }
.sw.on { background: var(--pos); } .sw.on.danger { background: var(--acc); }
.sw.on::after { left: 25px; }
.lrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; border-radius: 18px; background: var(--card2); min-height: 50px; }
.lrow .l { flex: 1 1 180px; min-width: 0; font-weight: 500; }
.lrow .l small { display: block; font-size: 12px; font-weight: 400; color: var(--faint); }

/* ---------- Charts & data ---------- */
.ring { display: block; flex: none; }
.ring .tr { stroke: var(--card2); }
.ring .ar { transition: stroke-dasharray 1.4s cubic-bezier(.2,.8,.2,1); }
.hero .ring .tr { stroke: rgba(255,255,255,.22); }
.track { height: 8px; border-radius: 99px; background: var(--card2); overflow: hidden; }
.track > i { display: block; height: 100%; border-radius: 99px; background: var(--text); transform-origin: left; animation: grow-x 1s cubic-bezier(.2,.8,.2,1) both; }
.track.thin { height: 6px; } .track.fat { height: 10px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.bars > i { flex: 1; border-radius: 8px; background: var(--card2); transform-origin: bottom; animation: grow-y .9s cubic-bezier(.2,.8,.2,1) both; }
.dm { display: flex; align-items: flex-end; gap: 3px; }
.dm .col { display: flex; flex-direction: column-reverse; align-items: center; gap: 3px; height: 154px; flex: 1; min-width: 0; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.dm .dt { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dt.a { background: var(--text); } .dt.t { background: var(--acc); } .dt.p { box-shadow: inset 0 0 0 1.5px var(--dot); } .dt.z { background: var(--dot); opacity: .6; }
.lg { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.lg i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
svg text { font-family: var(--font); }
.drawl { stroke-dasharray: 1200; animation: draw 2s ease-out both; }
.growb { transform-box: fill-box; transform-origin: bottom; animation: grow-y 1s cubic-bezier(.2,.8,.2,1) both; }
.growt { transform-box: fill-box; transform-origin: top; animation: grow-y 1s cubic-bezier(.2,.8,.2,1) both; }
.hm { font-size: 12px; font-weight: 600; text-align: center; padding: 11px 4px; border-radius: 12px; font-variant-numeric: tabular-nums; }
.c100 { background: var(--h1); color: var(--h1t); } .c80 { background: var(--h2); } .c70 { background: var(--h3); } .c60 { background: var(--h4); } .cna { background: var(--card2); color: var(--faint); }

/* ---------- Tables & lists ---------- */
.tbl-w { overflow-x: auto; margin: 0 -6px; padding: 0 6px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th { font-weight: 500; text-align: left; font-size: 12px; color: var(--faint); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tbody tr { transition: background .15s; cursor: default; }
.tbl tbody tr.click { cursor: pointer; }
.tbl tbody tr:hover td { background: var(--card2); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tr.sel td { background: var(--card2); }
.tbl tr td:first-child { border-radius: 14px 0 0 14px; } .tbl tr td:last-child { border-radius: 0 14px 14px 0; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--card2); transition: transform .15s, background .2s; }
.li.click { cursor: pointer; } .li.click:hover { background: var(--card3); }
.li .t { flex: 1; min-width: 0; } .li .t b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li .t span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl { display: flex; gap: 12px; }
.tl .tm { width: 48px; flex: none; font-size: 12px; color: var(--faint); padding-top: 14px; font-variant-numeric: tabular-nums; font-weight: 500; }
.tl .ln { display: flex; flex-direction: column; align-items: center; flex: none; }
.tl .ln i { width: 12px; height: 12px; border-radius: 50%; margin-top: 16px; background: var(--card); box-shadow: inset 0 0 0 2.5px var(--line2); }
.tl .ln b { flex: 1; width: 0; border-left: 1.5px dashed var(--line2); margin-top: 4px; }
.tl .bx { flex: 1; min-width: 0; margin-bottom: 10px; padding: 14px 16px; border-radius: 20px; background: var(--card2); }
.tl.hot .bx { background: var(--acc); color: var(--acctext); box-shadow: 0 14px 28px var(--accglow); }
.tl.hot .ln i { background: var(--acc); box-shadow: none; }
.tl.hot .tm { color: var(--brand); }
.tl.hot .track { background: rgba(255,255,255,.25); } .tl.hot .track > i { background: #FFF; }
.empty { padding: 30px 20px; border-radius: 22px; border: 1.5px dashed var(--line2); text-align: center; color: var(--faint); font-size: 13.5px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty svg { width: 34px; height: 34px; opacity: .6; }

/* ---------- Kanban ---------- */
.kanban { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; align-items: start; }
.kcol { background: var(--bg); border-radius: 24px; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-width: 0; min-height: 120px; transition: background .2s, box-shadow .2s; }
.kcol.drop { background: var(--h4); box-shadow: inset 0 0 0 2px var(--acc); }
.kcol-h { display: flex; align-items: center; gap: 8px; padding: 2px 4px 4px; }
.kcol-h b { font-size: 15px; font-weight: 600; }
.kcol-h .n { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 99px; background: var(--card); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.kcol-h .add { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--card); cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.kcol-h .add:hover { transform: rotate(90deg); }
.kb { background: var(--card); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(20,18,16,.05), 0 6px 16px rgba(20,18,16,.05); cursor: grab; touch-action: manipulation; transition: transform .18s, box-shadow .25s, opacity .2s; animation: rise .5s cubic-bezier(.2,.8,.2,1) both; text-align: left; border: 0; width: 100%; color: var(--text); }
.kb:hover { box-shadow: 0 0 0 1px var(--line2), 0 10px 22px rgba(20,18,16,.08); }
.kb.dragging { opacity: .35; }
.kb.ghost { position: fixed; pointer-events: none; z-index: 200; transform: rotate(3deg) scale(1.03); box-shadow: var(--shadow2); }
.kb.hot { background: var(--acc); color: var(--acctext); box-shadow: 0 16px 30px var(--accglow); }
.kb .kd { font-size: 13px; color: var(--muted); line-height: 1.45; }
.kb.hot .kd, .kb.hot .k, .kb.hot .muted { color: rgba(255,255,255,.85); }
.kb.hot .tag { background: rgba(255,255,255,.2) !important; color: #FFF !important; box-shadow: none; }
.kb.hot .track { background: rgba(255,255,255,.25); } .kb.hot .track > i { background: #FFF; }
.kb.hot .av { background: #FFF; color: var(--acc); }
.due { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--card2); color: var(--muted); }
.due.late { background: var(--brandsoft); color: var(--neg); }
.kb.hot .due { background: rgba(255,255,255,.18); color: #FFF; }

/* ---------- Map ---------- */
.map { position: relative; width: 100%; aspect-ratio: 600 / 574.5; }
.map .dots { position: absolute; inset: 0; background: var(--mapdot); -webkit-mask: url(../img/bih-dots.svg) center/100% 100% no-repeat; mask: url(../img/bih-dots.svg) center/100% 100% no-repeat; }
.map svg.ol { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pin { position: absolute; transform: translate(-50%,-50%); border-radius: 50%; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; animation: pin-pop .6s cubic-bezier(.2,.8,.2,1) both; box-shadow: 0 0 0 1.5px var(--line2), 0 8px 20px rgba(20,18,16,.16); transition: transform .2s; }
.pin:hover { transform: translate(-50%,-50%) scale(1.1); }
.pin .in { width: 72%; height: 72%; border-radius: 50%; background: var(--pinin); display: grid; place-items: center; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.pin.solid .in { background: transparent; }
.pin.sel { outline: 3px solid var(--text); outline-offset: 3px; }
.pin .ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--text); opacity: 0; animation: ping 2.4s ease-out infinite; }
.map .lbl { position: absolute; transform: translate(-50%,0); font-size: 11px; font-weight: 500; color: var(--muted); white-space: nowrap; pointer-events: none; }

/* ---------- Overlays ---------- */
.ov { position: fixed; inset: 0; z-index: 100; background: rgba(20,18,16,.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; animation: fade .2s ease both; }
.ov.out { animation: fade .18s ease reverse both; }
.modal { width: min(560px, 100%); max-height: min(88vh, 900px); overflow: auto; background: var(--card); border-radius: 30px; box-shadow: var(--shadow2); padding: 26px; display: flex; flex-direction: column; gap: 16px; animation: pop-in .28s cubic-bezier(.2,1.2,.4,1) both; overscroll-behavior: contain; }
.modal.wide { width: min(860px, 100%); }
.modal.xl { width: min(1100px, 100%); }
.modal-h { display: flex; align-items: flex-start; gap: 12px; }
.modal-h h2 { flex: 1; }
.modal-f { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--card2); color: var(--text); cursor: pointer; display: grid; place-items: center; flex: none; transition: transform .2s; }
.x:hover { transform: rotate(90deg); }
@media (max-width: 900px) {
  .ov { place-items: end stretch; padding: 0; }
  .modal { width: 100%; max-height: 92vh; border-radius: 30px 30px 0 0; padding: 22px 18px calc(22px + var(--safe-b)); animation: sheet-up .32s cubic-bezier(.2,.9,.3,1) both; }
  .modal::before { content: ''; display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--line2); margin: -8px auto 4px; flex: none; }
}
.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; max-width: min(420px, calc(100vw - 32px)); padding: 13px 16px 13px 14px; border-radius: 18px; background: var(--text); color: var(--card); box-shadow: var(--shadow2); font-size: 13.5px; font-weight: 500; animation: toast-in .35s cubic-bezier(.2,1.2,.4,1) both; }
.toast.out { animation: toast-out .25s ease both; }
.toast .ti { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.14); }
.toast.err .ti { background: var(--acc); color: #FFF; }
.toast.ok .ti { background: var(--pos); color: #FFF; }
@media (max-width: 900px) { .toasts { left: 16px; right: 16px; bottom: calc(100px + var(--safe-b)); align-items: stretch; } .toast { max-width: none; } }
.menu { position: absolute; z-index: 120; min-width: 220px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow2); padding: 6px; animation: pop-in .18s ease both; }
.menu button, .menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 14px; border: 0; background: transparent; cursor: pointer; text-align: left; color: var(--text); font-size: 14px; }
.menu button:hover, .menu a:hover { background: var(--card2); color: var(--text); }
.menu svg { width: 17px; height: 17px; color: var(--muted); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* Date picker (DD.MM.YYYY, Monday first) */
.dp-wrap { position: relative; }
.dp-wrap .inp { padding-right: 44px; cursor: pointer; }
.dp-wrap .dp-i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.dp { position: absolute; z-index: 150; top: calc(100% + 8px); left: 0; width: 304px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow2); padding: 14px; animation: pop-in .2s ease both; }
.dp-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp-h b { font-size: 15px; text-transform: capitalize; }
.dp-h button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--card2); cursor: pointer; display: grid; place-items: center; }
.dp-g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.dp-g .wd { font-size: 11px; color: var(--faint); padding: 4px 0; font-weight: 600; }
.dp-g button { height: 36px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--text); }
.dp-g button:hover { background: var(--card2); }
.dp-g button.o { color: var(--faint); opacity: .5; }
.dp-g button.we { color: var(--muted); }
.dp-g button.td { box-shadow: inset 0 0 0 1.5px var(--acc); }
.dp-g button.on { background: var(--acc); color: #FFF; font-weight: 700; }
.dp-f { display: flex; justify-content: space-between; margin-top: 10px; }
@media (max-width: 900px) { .dp { position: fixed; left: 16px; right: 16px; width: auto; top: auto; bottom: calc(24px + var(--safe-b)); } }

.skel { position: relative; overflow: hidden; background: var(--card2); border-radius: 14px; min-height: 16px; }
.skel::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); animation: shimmer 1.3s infinite; }
html.dark .skel::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent); }

.qr svg { display: block; width: 100%; height: auto; }

/* ---------- Auth screens ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: calc(24px + var(--safe-t)) 18px calc(24px + var(--safe-b)); position: relative; overflow: hidden; }
.auth::before, .auth::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; animation: float 14s ease-in-out infinite alternate; }
.auth::before { width: 420px; height: 420px; background: var(--h3); top: -120px; right: -100px; }
.auth::after { width: 360px; height: 360px; background: var(--infosoft); bottom: -120px; left: -80px; animation-delay: -6s; }
.auth-card { position: relative; z-index: 1; width: min(420px, 100%); background: var(--card); border-radius: 32px; box-shadow: var(--shadow2); padding: 34px 30px; display: flex; flex-direction: column; gap: 18px; animation: pop-in .5s cubic-bezier(.2,1.1,.4,1) both; }
.auth-logo { display: flex; align-items: center; gap: 14px; }
.auth-logo svg { width: 58px; height: 58px; overflow: visible; }
.code-in { display: flex; gap: 8px; justify-content: space-between; }
.code-in input { width: 100%; min-width: 0; height: 58px; text-align: center; font-size: 24px; font-weight: 700; border-radius: 16px; border: 1px solid var(--line2); background: var(--card2); color: var(--text); outline: none; font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s, transform .15s; }
.code-in input:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--h4); background: var(--card); transform: translateY(-2px); }
.shake { animation: shake .45s cubic-bezier(.36,.07,.19,.97) both; }

/* ---------- Mail ---------- */
.mail { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: 18px; align-items: start; }
.mail-list { display: flex; flex-direction: column; gap: 6px; }
.mrow { display: flex; gap: 12px; padding: 12px 14px; border-radius: 20px; cursor: pointer; transition: background .15s, transform .15s; position: relative; border: 0; background: transparent; text-align: left; width: 100%; color: var(--text); }
.mrow:hover { background: var(--card2); }
.mrow.on { background: var(--card2); box-shadow: inset 3px 0 0 var(--acc); }
.mrow .mt { flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.mrow .mt > span { display: block; min-width: 0; }
.mail-l, .mail-r { min-width: 0; }
.mail-l { overflow: hidden; }
.mail-back { display: none; }
@media (max-width: 1100px) { .mail-back { display: inline-flex; } }
.mrow .mt .f { display: flex; gap: 8px; align-items: baseline; }
.mrow .mt .f b { flex: 1; min-width: 0; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow.un .mt .f b { font-weight: 700; }
.mrow .mt .s { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow.un .mt .s { font-weight: 600; }
.mrow .mt .p { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mrow .udot { position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--acc); }
.mrow .acc-b { width: 4px; border-radius: 4px; flex: none; }
.mail-read iframe { width: 100%; border: 0; min-height: 360px; background: #FFF; border-radius: 18px; }
.composer [contenteditable] { min-height: 220px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line2); background: var(--card); outline: none; line-height: 1.55; font-size: 14.5px; overflow-wrap: anywhere; }
.composer [contenteditable]:focus { border-color: var(--acc); box-shadow: 0 0 0 4px var(--h4); }
.composer blockquote { margin: 8px 0; padding-left: 12px; border-left: 3px solid var(--line2); color: var(--muted); }
.tbar { display: flex; flex-wrap: wrap; gap: 4px; }
.tbar button { width: 36px; height: 36px; border-radius: 12px; border: 0; background: var(--card2); cursor: pointer; display: grid; place-items: center; font-weight: 700; color: var(--text); }
.tbar button:hover { background: var(--card3); }
.chipin { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 46px; padding: 6px 10px; border-radius: 16px; border: 1px solid var(--line2); background: var(--card); }
.chipin input { flex: 1; min-width: 140px; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 14px; padding: 6px; }
.chipin .c { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 11px; border-radius: 99px; background: var(--card2); font-size: 13px; }
.chipin .c button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--card3); cursor: pointer; display: grid; place-items: center; font-size: 12px; line-height: 1; }
.chipin .c.bad { background: var(--brandsoft); color: var(--neg); }
@media (max-width: 1100px) { .mail { grid-template-columns: 1fr; } .mail.reading .mail-l { display: none !important; } .mail:not(.reading) .mail-r { display: none !important; } }

/* ---------- Print (invoices) ---------- */
@media print {
  body { background: #FFF; }
  .side, .topbar, .mbar, .mtop, .no-print, .toasts { display: none !important; }
  .main { padding: 0; }
  .card { box-shadow: none; border: 0; }
}

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes page-in { from { opacity: 0; transform: translateY(10px) scale(.995); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.94) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pin-pop { from { opacity: 0; transform: translate(-50%,-50%) scale(.3); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes ping { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes draw { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .7; } }
@keyframes shimmer { to { transform: translateX(100%); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(30px); } }
@keyframes float { from { transform: translate(0,0) scale(1); } to { transform: translate(40px,30px) scale(1.15); } }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(3px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
@keyframes orbit { to { transform: rotate(360deg); } }
.rise { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.stag > * { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.stag > *:nth-child(2) { animation-delay: .05s; } .stag > *:nth-child(3) { animation-delay: .1s; } .stag > *:nth-child(4) { animation-delay: .15s; }
.stag > *:nth-child(5) { animation-delay: .2s; } .stag > *:nth-child(6) { animation-delay: .25s; } .stag > *:nth-child(7) { animation-delay: .3s; } .stag > *:nth-child(n+8) { animation-delay: .35s; }
.breathe { animation: breathe 2.8s ease-in-out infinite; }
.orbit { animation: orbit 10s linear infinite; }
.live { animation: live 2.2s ease-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 0 rgba(26,127,78,.45); } 70% { box-shadow: 0 0 0 7px rgba(26,127,78,0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero::after { display: none; }
}
