/* Orgif Monitor — web app styles (light + dark) */
:root {
  --bg: #f5f7fb; --panel: #ffffff; --panel-2: #f8fafc; --line: #e6eaf2; --line-2: #eef1f6;
  --text: #0f172a; --muted: #64748b; --faint: #94a3b8;
  --brand: #3b5bfd; --brand-2: #6d5efc; --brand-soft: #eef1ff; --brand-ink: #2f47d8;
  --ok: #16a34a; --ok-soft: #e8f7ee; --warn: #d97706; --warn-soft: #fff4e0; --bad: #dc2626; --bad-soft: #fdecec; --idle: #94a3b8; --idle-soft: #f1f5f9;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 2px 8px rgba(15, 23, 42, .04);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .14);
  --radius: 14px; --radius-sm: 10px;
  --side: 248px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0b1020; --panel: #111a2e; --panel-2: #0f172a; --line: #1e2a44; --line-2: #18233b;
  --text: #e5e9f5; --muted: #94a3b8; --faint: #64748b;
  --brand: #6b84ff; --brand-2: #8b7dff; --brand-soft: #1a2550; --brand-ink: #9fb0ff;
  --ok: #22c55e; --ok-soft: #10301f; --warn: #f59e0b; --warn-soft: #33260b; --bad: #f87171; --bad-soft: #3a1518; --idle: #64748b; --idle-soft: #1a2338;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3); --shadow-lg: 0 12px 40px rgba(0, 0, 0, .5);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; font-size: 14px; line-height: 1.5; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 16px; font-weight: 650; }
h3 { font-size: 14px; font-weight: 650; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.grow { flex: 1; min-width: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.row.start { align-items: flex-start; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.hidden { display: none !important; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
svg.i { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
svg.i.sm { width: 15px; height: 15px; vertical-align: -3px; }
svg.i.lg { width: 22px; height: 22px; }

/* ---------- layout ---------- */
.shell { display: flex; min-height: 100vh; }
.side { width: var(--side); flex: none; background: var(--panel); border-right: 1px solid var(--line); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; z-index: 30; transition: transform .2s; }
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; font-weight: 750; font-size: 16px; letter-spacing: -.02em; }
.logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 6px 16px rgba(59, 91, 253, .35); }
.logo svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2.2; }
.brand small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.nav { padding: 6px 10px; overflow-y: auto; flex: 1; }
.nav .group { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 650; padding: 14px 10px 6px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 1px 0; border-radius: 9px; color: var(--muted); font-weight: 550; }
.nav a:hover { background: var(--panel-2); color: var(--text); text-decoration: none; }
.nav a.on { background: var(--brand-soft); color: var(--brand-ink); }
.nav a .count { margin-left: auto; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; padding: 0 7px; border-radius: 20px; line-height: 18px; }
.nav a .count.amber { background: var(--warn); }
.side-foot { padding: 12px; border-top: 1px solid var(--line); }
.plan-chip { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; }
.plan-chip b { font-weight: 650; }
.bar-mini { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 6px; }
.bar-mini > i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); border-radius: 6px; }
.main { flex: 1; margin-left: var(--side); min-width: 0; display: flex; flex-direction: column; }
.topbar { height: 62px; display: flex; align-items: center; gap: 12px; padding: 0 28px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 85%, transparent); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 20; }
.topbar .title { font-size: 16px; font-weight: 650; }
.content { padding: 24px 28px 60px; max-width: 1320px; width: 100%; }
.btn.burger { display: none; }
.banner { display: flex; align-items: center; gap: 10px; padding: 10px 28px; font-size: 13px; border-bottom: 1px solid var(--line); }
.banner.warn { background: var(--warn-soft); color: var(--text); }
.banner.info { background: var(--brand-soft); }
.banner.bad { background: var(--bad-soft); }

/* ---------- cards & grids ---------- */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 0; }
.card-b { padding: 16px 18px 18px; }
.card.pad { padding: 18px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-auto { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.span2 { grid-column: span 2; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* hero status */
.hero { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 160px at 0% 0%, var(--hero-tint, var(--ok-soft)), transparent 70%); pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero.bad { --hero-tint: var(--bad-soft); }
.hero.warn { --hero-tint: var(--warn-soft); }
.hero .big { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--ok); }
.hero.bad .big { background: var(--bad); }
.hero.warn .big { background: var(--warn); }
.hero .big svg { width: 28px; height: 28px; stroke: #fff; }
.hero h1 { font-size: 21px; }

.stat { padding: 16px 18px; }
.stat .k { color: var(--muted); font-size: 12.5px; font-weight: 550; display: flex; align-items: center; gap: 8px; }
.stat .v { font-size: 26px; font-weight: 750; letter-spacing: -.02em; margin-top: 6px; }
.stat .v small { font-size: 14px; color: var(--muted); font-weight: 550; }
.stat .s { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.ico-tile { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); }
.ico-tile.ok { background: var(--ok-soft); color: var(--ok); }
.ico-tile.bad { background: var(--bad-soft); color: var(--bad); }
.ico-tile.warn { background: var(--warn-soft); color: var(--warn); }

/* ---------- status ---------- */
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; background: var(--idle); position: relative; }
.dot.up { background: var(--ok); }
.dot.down { background: var(--bad); }
.dot.warn { background: var(--warn); }
.dot.up::after, .dot.down::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid currentColor; opacity: 0; animation: ping 2.4s infinite; }
.dot.up::after { color: var(--ok); }
.dot.down::after { color: var(--bad); animation-duration: 1.2s; }
@keyframes ping { 0% { transform: scale(.6); opacity: .7; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 30px; background: var(--idle-soft); color: var(--muted); white-space: nowrap; line-height: 20px; }
.pill.up, .pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.down, .pill.bad, .pill.critical { background: var(--bad-soft); color: var(--bad); }
.pill.warn, .pill.warning { background: var(--warn-soft); color: var(--warn); }
.pill.brand { background: var(--brand-soft); color: var(--brand-ink); }
.uptime-bars { display: flex; gap: 2px; align-items: flex-end; height: 26px; }
.uptime-bars i { flex: 1; min-width: 3px; height: 100%; border-radius: 3px; background: var(--ok); opacity: .9; }
.uptime-bars i.part { background: var(--warn); }
.uptime-bars i.bad { background: var(--bad); }
.uptime-bars i.none { background: var(--line); }

/* gauges & meters */
.gauges { display: flex; gap: 18px; }
.gauge { text-align: center; font-size: 12px; color: var(--muted); }
.gauge svg { display: block; margin: 0 auto 2px; }
.gauge b { color: var(--text); }
.meter { height: 8px; background: var(--line-2); border-radius: 8px; overflow: hidden; }
.meter > i { display: block; height: 100%; border-radius: 8px; background: var(--ok); transition: width .4s; }
.meter > i.warn { background: var(--warn); }
.meter > i.bad { background: var(--bad); }
.disk-row { display: grid; grid-template-columns: 70px 1fr 120px; gap: 10px; align-items: center; font-size: 12.5px; padding: 4px 0; }
.disk-row .m { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* server cards */
.srv { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; cursor: pointer; transition: border-color .15s, transform .15s; }
.srv:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); transform: translateY(-1px); }
.srv.bad { border-color: color-mix(in srgb, var(--bad) 55%, var(--line)); }
.srv.warn { border-color: color-mix(in srgb, var(--warn) 55%, var(--line)); }
.os-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); font-weight: 650; padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.t td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tr.click { cursor: pointer; }
.t tr.click:hover td { background: var(--panel-2); }
.t .name { font-weight: 600; }

/* ---------- forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, box-shadow .15s; text-decoration: none !important; }
.btn:hover { background: var(--panel-2); border-color: color-mix(in srgb, var(--text) 18%, var(--line)); }
.btn.primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(59, 91, 253, .3); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.danger { color: var(--bad); }
.btn.danger.solid { background: var(--bad); color: #fff; border-color: transparent; }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--panel-2); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.icon { width: 36px; padding: 0; }
.btn.sm.icon { width: 30px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
label.f { display: block; font-weight: 600; font-size: 13px; margin-bottom: 14px; }
label.f > span.hint, .hint { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 4px; }
.in, select.in, textarea.in { display: block; width: 100%; height: 40px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; font-weight: 400; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.in { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; }
.in:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.in:disabled { background: var(--panel-2); color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; margin: 10px 0; cursor: pointer; }
.check input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.seg { display: inline-flex; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600; font-size: 12.5px; padding: 5px 11px; border-radius: 7px; cursor: pointer; }
.seg button.on { background: var(--panel); color: var(--text); box-shadow: var(--shadow); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs button { border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); padding: 10px 14px; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tabs button.on { color: var(--brand-ink); border-color: var(--brand); }
.lock { color: var(--warn); font-size: 12px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.err { color: var(--bad); font-size: 13px; margin: 8px 0; }

/* choice cards (rule groups, plans) */
.choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.choice { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; cursor: pointer; background: var(--panel); position: relative; transition: border-color .15s, box-shadow .15s; }
.choice:hover { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); }
.choice.on { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.choice.off { opacity: .55; cursor: not-allowed; }
.choice h3 { margin-bottom: 4px; }
.choice ul { margin: 10px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--muted); }
.choice li { display: flex; gap: 7px; padding: 2px 0; }
.choice li svg { color: var(--ok); width: 15px; height: 15px; margin-top: 2px; }
.choice .badge { position: absolute; top: 12px; right: 12px; }
.price { font-size: 22px; font-weight: 750; letter-spacing: -.02em; margin: 6px 0 2px; }

/* code / copy */
.codebox { display: flex; align-items: flex-start; gap: 10px; background: #0b1020; color: #d6deff; border-radius: 12px; padding: 14px 14px 14px 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.6; word-break: break-all; }
.codebox code { flex: 1; color: inherit; }
.codebox .btn { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 18px 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }

/* timeline */
.tl { list-style: none; margin: 0; padding: 0; }
.tl li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.tl li:last-child { border-bottom: 0; }
.tl .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.tl .ic.critical { background: var(--bad-soft); color: var(--bad); }
.tl .ic.warning { background: var(--warn-soft); color: var(--warn); }
.tl .ic.resolved { background: var(--ok-soft); color: var(--ok); }

/* charts */
.chart { position: relative; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart .tip { position: absolute; pointer-events: none; background: var(--text); color: var(--bg); font-size: 12px; padding: 6px 9px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; z-index: 5; }
.chart .legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.chart .legend i { display: inline-block; width: 10px; height: 3px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }

/* empty */
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .ill { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin: 0 auto 14px; background: var(--brand-soft); color: var(--brand-ink); }
.empty .ill svg { width: 30px; height: 30px; }
.empty h2 { color: var(--text); margin-bottom: 6px; }

/* modal & toast */
.modal-bg { position: fixed; inset: 0; background: rgba(10, 15, 30, .45); display: grid; place-items: center; z-index: 100; padding: 20px; animation: fade .15s; }
.modal { background: var(--panel); border-radius: 18px; box-shadow: var(--shadow-lg); width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; animation: pop .18s; }
.modal.wide { max-width: 820px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.modal-b { padding: 20px 22px; }
.modal-f { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--panel-2); border-radius: 0 0 18px 18px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.toasts { position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 200; }
.toast { background: var(--text); color: var(--bg); padding: 11px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 550; display: flex; gap: 8px; align-items: center; animation: pop .2s; max-width: 380px; }
.toast.bad { background: var(--bad); color: #fff; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 210px; padding: 6px; z-index: 50; }
.menu a, .menu button { display: flex; width: 100%; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--panel-2); text-decoration: none; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 13px; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--brand); animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading { display: grid; place-items: center; padding: 80px; }
.skeleton { background: linear-gradient(90deg, var(--line-2), var(--line), var(--line-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth-art { background: radial-gradient(900px 500px at 10% 0%, #6d5efc 0%, transparent 60%), radial-gradient(700px 500px at 100% 100%, #22c55e55 0%, transparent 60%), linear-gradient(160deg, #1b2a8a, #0b1020); color: #fff; padding: 48px 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-art h1 { font-size: 38px; line-height: 1.12; letter-spacing: -.03em; max-width: 520px; }
.auth-art p { color: #c7d0ff; font-size: 16px; max-width: 480px; }
.auth-art ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.auth-art li { display: flex; gap: 12px; align-items: center; color: #e2e7ff; }
.auth-art li span { width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.auth-art li svg { stroke: #fff; }
.mock { margin-top: 30px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 16px; max-width: 470px; backdrop-filter: blur(6px); }
.mock .r { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.mock .r:last-child { border: 0; }
.mock .uptime-bars i.none { background: rgba(255, 255, 255, .15); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--panel); }
.auth-form .box { width: 100%; max-width: 400px; }
.auth-form h1 { font-size: 26px; margin-bottom: 6px; }
.center-page { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.card.narrow { max-width: 440px; padding: 34px; text-align: center; }
.big-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 28px; color: #fff; background: var(--ok); }
.big-icon.bad { background: var(--warn); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .side { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .main { margin-left: 0; }
  .btn.burger { display: inline-flex; }
  .topbar, .content, .banner { padding-left: 16px; padding-right: 16px; }
  .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); }
  .span2 { grid-column: auto; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .hide-m { display: none !important; }
}
