/* ============================================================================
   Irattár – alapkeret (B irány: Menta és tinta)
   A komponenskönyvtár tábla CSS-megfelelője. Minden szín token; a képernyők
   csak ezekből az osztályokból épülnek, inline stílus nincs (CSP).
   ============================================================================ */

:root {
  --bg: #F2F6F5; --surface: #FFFFFF; --surface2: #E8F0EE; --line: #DEE7E4;
  --text: #1B2733; --text2: #4B5A66; --muted: #7B8A95;
  --accent: #0F9F8A; --accent-d: #0A7A69; --accent-s: #DCF3EE;
  --ok: #2BA66B; --ok-s: #DDF3E7; --ok-t: #1B6E46;
  --warn: #E8963D; --warn-s: #FDEEDC; --warn-t: #8E520F;
  --danger: #D9534F; --danger-s: #FBE4E3; --danger-t: #A1302C;
  --info-s: #E3ECFA; --info-t: #2F5496;
  --side: #1B2733; --side-t: #B9C6D0;
  --r: 18px; --rs: 12px; --shadow: 0 8px 24px -16px rgba(27, 39, 51, .35);
  --shadow-lg: 0 30px 60px -28px rgba(27, 39, 51, .55);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --side-w: 232px; --ring: 0 0 0 4px rgba(15, 159, 138, .16);
  --placeholder: #9AA7B0;
}
html[data-theme="dark"] {
  --bg: #121A21; --surface: #1B2733; --surface2: #243240; --line: #2F3E4C;
  --text: #E9EFF2; --text2: #B9C6D0; --muted: #7B8A95;
  --accent-d: #5BD1BC; --accent-s: #143830; --ok-s: #163A2A; --ok-t: #7EDDAE;
  --warn-s: #3E2A12; --warn-t: #F3B46E; --danger-s: #3E1C1B; --danger-t: #F19B98;
  --info-s: #1C2A40; --info-t: #9DB8F0; --side: #0E151B; --placeholder: #6B7A85;
  --shadow: 0 8px 24px -16px rgba(0, 0, 0, .6);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-d); }
svg.ic { display: inline-block; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--text); }
::placeholder { color: var(--placeholder); }
h1, h2, h3, h4, p { margin: 0; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ───────────── Tipográfia ───────────── */
.h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.h2 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.h3 { font-size: 15px; font-weight: 800; }
.b { font-weight: 800; }
.sub { font-size: 13px; color: var(--text2); }
.meta { font-size: 12px; color: var(--muted); }
.meta-b { font-size: 12px; font-weight: 700; color: var(--text2); }
.label { font-size: 12px; font-weight: 800; color: var(--text2); }
.micro { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.text2 { color: var(--text2); }
.nowrap { white-space: nowrap; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.center { text-align: center; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; background: var(--surface2); padding: 2px 6px; border-radius: 6px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }

/* ───────────── Elrendezés ───────────── */
.row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.row-top { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
details > summary { cursor: pointer; list-style: none; }
details > summary::-webkit-details-marker { display: none; }
.col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.ml-auto { margin-left: auto; }
.gap-4 { gap: 4px; } .gap-6 { gap: 6px; } .gap-8 { gap: 8px; } .gap-10 { gap: 10px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; }
.grid { display: grid; gap: 12px; min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.grid-side { grid-template-columns: 250px minmax(0, 1fr); }
.span-all { grid-column: 1 / -1; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 4px; } .mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mb-8 { margin-bottom: 8px; }
@media (max-width: 1100px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-main, .grid-side { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: minmax(0, 1fr); } }

/* ───────────── Alkalmazás-keret ───────────── */
.shell { display: flex; gap: 16px; padding: 16px; min-height: 100vh; }
.side { position: fixed; top: 16px; left: 16px; bottom: 16px; width: var(--side-w); background: var(--side); color: var(--side-t); border-radius: 22px; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; z-index: 30; overflow-y: auto; }
.main { flex: 1; min-width: 0; margin-left: calc(var(--side-w) + 16px); display: flex; flex-direction: column; gap: 16px; padding: 8px 8px 24px 4px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 16px; color: #fff; text-decoration: none; }
.brand-logo { width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.brand b { font-size: 18px; font-weight: 800; }
.tenant { margin: 0 8px 10px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: var(--side-t); border: 0; width: calc(100% - 16px); text-align: left; cursor: pointer; }
.tenant-tile { width: 28px; height: 28px; border-radius: 9px; background: #2A3A48; color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tenant b { display: block; font-size: 13px; color: #fff; line-height: 1.2; }
.tenant span { font-size: 11px; line-height: 1.2; }
.nav-item { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 12px; border-radius: 12px; color: var(--side-t); font-weight: 700; font-size: 14px; text-decoration: none; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav-item.is-active { background: var(--accent); color: #fff; font-weight: 800; }
.nav-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--warn); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.is-active .nav-badge { background: rgba(255, 255, 255, .25); }
.nav-badge.muted { background: rgba(255, 255, 255, .12); color: var(--side-t); font-weight: 700; }
.nav-group { display: block; padding: 14px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--side-t); opacity: .7; }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 8px 4px; border-top: 1px solid rgba(255, 255, 255, .12); }
.side-foot b { display: block; font-size: 13px; color: #fff; line-height: 1.2; }
.side-foot span { font-size: 11px; }
.side-foot a, .side-foot button { color: var(--side-t); background: none; border: 0; cursor: pointer; padding: 0; display: inline-flex; }
.side-foot a:hover, .side-foot button:hover { color: #fff; }

.topbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar .h1 { line-height: 1.15; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.search-pill { display: flex; align-items: center; gap: 8px; height: 40px; width: 260px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.search-pill input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; color: var(--text); }
.search-pill:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.kbd { font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: var(--surface2); color: var(--muted); }
.btn-icon.menu-btn, .backdrop { display: none; }
@media (max-width: 960px) {
  .shell { padding: 12px; }
  .side { transform: translateX(calc(-100% - 20px)); transition: transform .2s ease; top: 12px; left: 12px; bottom: 12px; }
  .side.is-open { transform: none; }
  .main { margin-left: 0; padding: 0; }
  .btn-icon.menu-btn { display: inline-flex; }
  .backdrop { display: block; position: fixed; inset: 0; background: rgba(27, 39, 51, .45); z-index: 25; }
  .search-pill { width: 100%; order: 10; }
}

/* ───────────── Gombok ───────────── */
.btn { height: 42px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; white-space: nowrap; text-decoration: none; border: 1px solid transparent; transition: filter .12s ease, transform .12s ease; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .btn-icon:focus-visible, .field:focus-within, .toggle:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 10px 20px -12px rgba(15, 159, 138, .7); }
.btn-primary:hover { filter: brightness(.95); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface2); color: var(--text); }
.btn-ghost { background: transparent; color: var(--text2); }
.btn-ghost:hover { background: var(--surface2); color: var(--text); }
.btn-soft { background: var(--accent-s); color: var(--accent-d); }
.btn-dark { background: var(--side); color: #fff; border-color: var(--side); }
.btn-danger { background: var(--danger-s); color: var(--danger-t); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { height: 34px; padding: 0 12px; font-size: 12px; }
.btn-lg { height: 48px; padding: 0 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn-icon { position: relative; width: 38px; height: 38px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.btn-icon:hover { background: var(--surface2); color: var(--text); }
.btn-icon.ghost { background: transparent; border-color: transparent; }
.btn-icon.sm { width: 30px; height: 30px; }
.btn-icon .badge { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--warn); color: #fff; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.is-loading .ic { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ───────────── Pillek ───────────── */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; line-height: 1.2; background: var(--surface2); color: var(--text2); }
.pill-ok { background: var(--ok-s); color: var(--ok-t); }
.pill-warn { background: var(--warn-s); color: var(--warn-t); }
.pill-danger { background: var(--danger-s); color: var(--danger-t); }
.pill-accent { background: var(--accent-s); color: var(--accent-d); }
.pill-info { background: var(--info-s); color: var(--info-t); }
.pill-dark { background: var(--side); color: #fff; }
.pill .ic { width: 13px; height: 13px; }

/* ───────────── Kártyák ───────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; box-shadow: var(--shadow); }
.card-sm { padding: 14px; gap: 8px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card-head .h3 { display: flex; flex-direction: column; gap: 2px; }
.card-head .sub { font-weight: 500; font-size: 12px; color: var(--muted); }
.card-actions { display: flex; align-items: center; gap: 8px; }
.stat { gap: 8px; padding: 16px; }
.stat-tile { width: 36px; height: 36px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-s); color: var(--accent-d); }
.stat-tile.warn { background: var(--warn-s); color: var(--warn-t); }
.stat-tile.danger { background: var(--danger-s); color: var(--danger-t); }
.stat-tile.ok { background: var(--ok-s); color: var(--ok-t); }
.stat-tile.info { background: var(--info-s); color: var(--info-t); }
.stat-tile.muted { background: var(--surface2); color: var(--text2); }
.stat-value { font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stat-value.warn { color: var(--warn-t); } .stat-value.danger { color: var(--danger-t); }
.stat-label { font-size: 13px; color: var(--text2); font-weight: 600; }
.tile { width: 36px; height: 36px; border-radius: 12px; background: var(--accent-s); color: var(--accent-d); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tile.lg { width: 44px; height: 44px; border-radius: 14px; }
.tile.muted { background: var(--surface2); color: var(--text2); }
.tile.warn { background: var(--warn-s); color: var(--warn-t); }
.tile.danger { background: var(--danger-s); color: var(--danger-t); }
.tile.ok { background: var(--ok-s); color: var(--ok-t); }
.tile.info { background: var(--info-s); color: var(--info-t); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.two { display: flex; align-items: center; gap: 10px; min-width: 0; }
.two > div { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.two b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.two small { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ───────────── Figyelmeztető sávok ───────────── */
.note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--rs); font-size: 13px; line-height: 1.5; background: var(--info-s); color: var(--info-t); }
.note .ic { margin-top: 2px; }
.note-ok { background: var(--ok-s); color: var(--ok-t); }
.note-warn { background: var(--warn-s); color: var(--warn-t); }
.note-danger { background: var(--danger-s); color: var(--danger-t); }
.note-accent { background: var(--accent-s); color: var(--accent-d); }
.note b { color: inherit; }

/* ───────────── Mezők ───────────── */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span.label, .field > .label { display: block; }
.field-box { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: var(--rs); background: var(--surface); border: 1px solid var(--line); }
.field-box .ic { color: var(--muted); }
.field-box input, .field-box select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 100%; }
.field-box select { appearance: none; -webkit-appearance: none; padding-right: 20px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237B8A95' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center; cursor: pointer; }
.field-box:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.field.is-error .field-box { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(217, 83, 79, .14); }
.field.is-ok .field-box { border-color: var(--ok); }
.field.is-disabled { opacity: .55; }
.field.is-disabled .field-box { background: var(--surface2); }
.field textarea { padding: 10px 12px; border-radius: var(--rs); background: var(--surface); border: 1px solid var(--line); resize: vertical; min-height: 80px; }
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.help { font-size: 12px; color: var(--muted); }
.field.is-error .help { color: var(--danger-t); font-weight: 700; }
.field.is-ok .help { color: var(--ok-t); }
.req { color: var(--danger); }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.check-box { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--rs); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.check-box input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check-box.is-on { border-color: var(--accent); background: var(--accent-s); }
.toggle { width: 40px; height: 24px; border-radius: 999px; background: #C7D2D8; border: 0; position: relative; cursor: pointer; flex: none; padding: 0; transition: background .15s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: left .15s; }
.toggle[aria-checked="true"] { background: var(--accent); }
.toggle[aria-checked="true"]::after { left: 19px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.toggle-row .b { font-size: 13px; }
.toggle-row .sub { font-size: 12px; line-height: 1.4; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-actions { display: flex; align-items: center; gap: 8px; }
.form-actions .right { margin-left: auto; display: flex; gap: 8px; }

/* ───────────── Fülek ───────────── */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface); color: var(--text2); border: 1px solid var(--line); font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--side); color: #fff; border-color: var(--side); font-weight: 800; }
.subnav { padding: 8px; gap: 2px; }
.subnav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--text2); font-weight: 700; font-size: 13px; text-decoration: none; }
.subnav a:hover { background: var(--surface2); color: var(--text); }
.subnav a.is-active { background: var(--accent-s); color: var(--accent-d); font-weight: 800; }

/* ───────────── Táblázat ───────────── */
.table { display: flex; flex-direction: column; }
.tr { display: grid; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.tr > * { min-width: 0; display: flex; align-items: center; gap: 8px; }
.th { display: grid; gap: 12px; padding: 4px 0 10px; }
.th > span { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tr.is-selected { background: var(--accent-s); border-radius: 12px; padding-left: 8px; padding-right: 8px; margin: 0 -8px; }
.table-scroll { overflow-x: auto; }
.cols-events { grid-template-columns: 1.6fr 2fr .8fr; }
.cols-sessions { grid-template-columns: 1.6fr 1.2fr 1fr .8fr; }
.cols-members { grid-template-columns: 2fr 1.1fr .8fr 1fr .6fr; }
.cols-invites { grid-template-columns: 2fr 1.1fr 1.4fr .6fr; }
.cols-status { grid-template-columns: 1fr auto; }
.cols-ent { grid-template-columns: 1.6fr auto 1fr; }
.cols-ent-ops { grid-template-columns: 1.4fr .9fr .7fr 1fr 1fr; }
.field-box-sm { height: 34px; }
@media (max-width: 720px) { .th { display: none; } .tr { grid-template-columns: minmax(0, 1fr) !important; gap: 4px; } }

/* ───────────── Egyéb ───────────── */
.progress { display: block; height: 8px; border-radius: 999px; background: var(--surface2); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.progress.warn > span { background: var(--warn); } .progress.danger > span { background: var(--danger); } .progress.ok > span { background: var(--ok); }
.progress.sm { height: 6px; }
.kv { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--muted); font-weight: 700; white-space: nowrap; }
.kv dd { margin: 0; min-width: 0; }
.empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 18px; text-align: center; color: var(--muted); font-size: 13px; }
.empty .tile.lg { width: 68px; height: 68px; border-radius: 22px; }
.empty .h2 { font-size: 17px; color: var(--text); }
.empty p { max-width: 360px; color: var(--text2); }
.dashed { border: 1px dashed var(--line); border-radius: var(--rs); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.danger { background: var(--danger); } .dot.accent { background: var(--accent); }
.steps { display: flex; align-items: center; gap: 4px; }
.step { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.step-n { width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--muted); border: 1px solid var(--line); font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.step.is-done .step-n, .step.is-current .step-n { background: var(--accent); color: #fff; border-color: var(--accent); }
.step b { font-size: 13px; color: var(--muted); display: block; line-height: 1.25; }
.step.is-done b, .step.is-current b { color: var(--text); }
.step small { font-size: 11px; color: var(--muted); }
.step-line { flex: 1; height: 1px; background: var(--line); margin: 0 8px; }
.step.is-done .step-line { background: var(--accent); }
.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; font-family: ui-monospace, Menlo, monospace; font-size: 14px; font-weight: 700; }
.codes span { padding: 8px 12px; border-radius: 10px; background: var(--surface2); text-align: center; letter-spacing: .08em; }
.secret { font-family: ui-monospace, Menlo, monospace; font-size: 15px; letter-spacing: .12em; word-break: keep-all; overflow-wrap: normal; padding: 12px 14px; border-radius: var(--rs); background: var(--surface2); }
.qr { width: 180px; height: 180px; border-radius: var(--rs); background: #fff; padding: 8px; border: 1px solid var(--line); }
.qr svg { width: 100%; height: 100%; display: block; }
.drop { border: 2px dashed var(--accent); border-radius: 20px; background: var(--accent-s); padding: 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.drop .tile.lg { width: 64px; height: 64px; border-radius: 20px; background: var(--surface); }

/* ───────────── Skeleton ───────────── */
.sk { display: block; border-radius: 6px; background: linear-gradient(90deg, var(--surface2) 0%, #F0F5F3 50%, var(--surface2) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ───────────── Párbeszédek (natív <dialog>) ───────────── */
dialog.modal { border: 0; padding: 0; background: transparent; max-width: calc(100vw - 32px); }
dialog.modal::backdrop { background: rgba(27, 39, 51, .45); backdrop-filter: blur(2px); }
.modal-box { width: 480px; max-width: 100%; background: var(--surface); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); color: var(--text); }
.modal-box.wide { width: 640px; }
.modal-head { display: flex; gap: 12px; align-items: flex-start; }
.modal-head .tile { width: 40px; height: 40px; border-radius: 13px; }
.modal-title { font-size: 17px; font-weight: 800; line-height: 1.2; }
.modal-sub { font-size: 13px; color: var(--text2); line-height: 1.5; }
.modal-foot { display: flex; align-items: center; gap: 8px; }
.modal-foot .right { margin-left: auto; display: flex; gap: 8px; }

/* ───────────── Toastok ───────────── */
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { width: 380px; max-width: calc(100vw - 32px); background: var(--surface); border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 16px 36px -20px rgba(27, 39, 51, .5), 0 0 0 1px var(--line); animation: toast-in .2s ease; }
.toast .tile { width: 32px; height: 32px; border-radius: 10px; }
.toast b { font-size: 13px; display: block; }
.toast span.sub { font-size: 12px; display: block; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } }

/* ───────────── Parancspaletta ───────────── */
.palette { width: 640px; max-width: calc(100vw - 32px); background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.palette-in { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.palette-in input { flex: 1; border: 0; outline: 0; font-size: 16px; color: var(--text); background: transparent; }
.palette-list { padding: 8px; display: flex; flex-direction: column; gap: 2px; max-height: 420px; overflow-y: auto; }
.palette-group { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 8px 12px 4px; }
.palette-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; color: var(--text); text-decoration: none; font-size: 13px; font-weight: 700; }
.palette-item .ic { color: var(--muted); }
.palette-item small { font-weight: 600; color: var(--muted); }
.palette-item.is-active, .palette-item:hover { background: var(--accent-s); color: var(--accent-d); }
.palette-item.is-active .ic { color: var(--accent-d); }
.palette-foot { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }

/* ───────────── Belépő oldalak ───────────── */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-panel { background: var(--side); color: #fff; padding: 48px; display: flex; flex-direction: column; gap: 24px; }
.auth-panel .brand { padding: 0; }
.auth-panel h2 { font-size: 34px; font-weight: 800; letter-spacing: -.025em; line-height: 1.12; max-width: 460px; }
.auth-panel p { color: var(--side-t); font-size: 15px; line-height: 1.55; max-width: 440px; }
.auth-points { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.auth-points div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--side-t); line-height: 1.45; }
.auth-points .ic { color: var(--accent); margin-top: 2px; }
.auth-points b { color: #fff; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 440px; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 36px 36px 30px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 20px 50px -30px rgba(27, 39, 51, .35); }
.auth-card h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.auth-card .lead { font-size: 14px; line-height: 1.55; color: var(--text2); }
.auth-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text2); line-height: 1.5; }
.auth-lang { position: absolute; top: 16px; right: 16px; }
.digits { display: flex; gap: 8px; justify-content: center; }
.digits input { width: 48px; height: 56px; text-align: center; font-size: 22px; font-weight: 800; border-radius: var(--rs); border: 1px solid var(--line); background: var(--surface); }
.digits input:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
@media (max-width: 900px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth-panel { display: none; } }

/* ───────────── Első indítás ───────────── */
.onb { min-height: 100vh; padding: 28px 48px; display: flex; flex-direction: column; gap: 22px; }
.onb-head { display: flex; align-items: center; gap: 12px; }
.onb-body { max-width: 1100px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.onb-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .onb { padding: 20px 16px; } .onb-grid { grid-template-columns: minmax(0, 1fr); } .steps { flex-wrap: wrap; } }

/* ───────────── Hibaoldal ───────────── */
.errpage { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 30px; }
.errpage .tile.lg { width: 76px; height: 76px; border-radius: 24px; }
.errpage h1 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.errpage p { color: var(--text2); max-width: 420px; }

/* ───────────── Nyilvános oldalak ───────────── */
.pub { max-width: 1180px; margin: 0 auto; padding: 0 24px 40px; display: flex; flex-direction: column; gap: 28px; }
.pub-nav { display: flex; align-items: center; gap: 28px; padding: 18px 0; }
.pub-nav nav { display: flex; gap: 22px; }
.pub-nav nav a { font-size: 14px; font-weight: 700; color: var(--text2); text-decoration: none; }
.pub-nav .brand { color: var(--text); }
.pub-foot { margin-top: 20px; padding: 36px 0 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; font-size: 13px; }
.pub-foot a { display: block; color: var(--text2); text-decoration: none; margin-bottom: 8px; }
.prose { font-size: 14px; line-height: 1.7; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 20px; font-weight: 800; margin-top: 8px; }
@media (max-width: 900px) { .pub-foot { grid-template-columns: 1fr 1fr; } .pub-nav nav { display: none; } }

/* ───────────── Nyomtatás ───────────── */
@media print { .side, .topbar-actions, .menu-btn, .toasts, .btn, .search-pill { display: none !important; } .main { margin: 0; } .card { box-shadow: none; border-color: #ccc; } body { background: #fff; } }

/* ───────────── Iratok: feltöltés, sor, jóváhagyás, nézet ───────────── */
.js [data-nojs] { display: none; }
.drop.is-over { background: var(--surface); border-color: var(--accent-d); box-shadow: var(--ring); }
.drop .btn { pointer-events: auto; }
.up-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--rs); background: var(--surface); }
.up-row > .grow { flex: 1 1 200px; }
.preview-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); background: var(--surface); }
.preview-bar .meta { margin-right: auto; }
.up-row .progress { margin-top: 2px; }
.steps-mini { display: flex; align-items: center; gap: 5px; }
.steps-mini small { margin-left: 6px; }
.dot.is-pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
.cols-queue { grid-template-columns: 2.2fr 1.6fr 1fr .8fr; }
.cols-partners { grid-template-columns: 2.2fr 1.2fr .7fr 1fr .9fr; }
.cols-contracts { grid-template-columns: 2.4fr 1.3fr 1.1fr 1.1fr .5fr; }
.cols-contracts-p { grid-template-columns: 2.2fr 1.4fr 1fr .9fr .9fr; }
.cols-docs { grid-template-columns: 2.4fr 1fr auto; }
.cols-projects { grid-template-columns: 2.2fr 1fr 1fr 1.2fr; }
.review { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .review { grid-template-columns: minmax(0, 1fr); } }
.preview-card { position: sticky; top: 16px; }
.preview { border-radius: var(--rs); overflow: hidden; background: var(--surface2); border: 1px solid var(--line); min-height: 320px; }
.preview-frame { display: block; width: 100%; height: min(78vh, 920px); border: 0; background: #fff; }
.preview-img { display: flex; justify-content: center; max-height: min(78vh, 920px); overflow: auto; background: #202830; }
.preview-img img { max-width: 100%; height: auto; display: block; }
.preview-text { max-height: min(78vh, 920px); overflow: auto; padding: 14px; background: var(--surface); }
.preview-page { padding: 10px 0; border-top: 1px dashed var(--line); }
.preview-page:first-child { border-top: 0; padding-top: 0; }
.preview-page pre { white-space: pre-wrap; font-family: var(--font); font-size: 13px; line-height: 1.6; margin: 4px 0 0; }
.review-panel { gap: 14px; }
.score { width: 64px; height: 64px; border-radius: 18px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex: none; background: var(--surface2); color: var(--text2); }
.score b { font-size: 18px; } .score small { font-size: 10px; font-weight: 700; }
.score.ok { background: var(--ok-s); color: var(--ok-t); } .score.warn { background: var(--warn-s); color: var(--warn-t); } .score.danger { background: var(--danger-s); color: var(--danger-t); }
.reasons { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text2); }
.reasons li { display: flex; gap: 8px; align-items: flex-start; } .reasons .ic { flex: none; margin-top: 2px; color: var(--muted); }
.rv-block { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--rs); background: var(--surface); }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rv-label { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.rv-block .check { font-weight: 600; }
.rv-block .check b { font-weight: 800; color: var(--text); }
.folder-path { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--accent-s); color: var(--accent-d); font-size: 13px; font-weight: 700; }
.details > summary { display: inline-flex; }
.details[open] > summary.btn { background: var(--surface2); }
.clauses { display: flex; flex-direction: column; gap: 4px; }
.clause { border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--surface); }
.clause > summary { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 13px; }
.clause > summary .code { flex: none; }
.clause > p { margin: 0 0 12px; font-size: 13px; line-height: 1.6; white-space: pre-line; }
.clause[open] { border-color: var(--accent); }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.crumbs a { color: var(--text2); text-decoration: none; } .crumbs a:hover { color: var(--accent-d); }
.crumbs span { color: var(--text); }
.tree { display: flex; flex-direction: column; gap: 2px; }
.tree-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; font-size: 13px; color: var(--text2); text-decoration: none; font-weight: 600; }
.tree-row .ic { color: var(--accent-d); flex: none; }
.tree-row.lvl1 { padding-left: 24px; } .tree-row.lvl2 { padding-left: 44px; }
a.tree-row:hover { background: var(--surface2); color: var(--text); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters .field-box { min-width: 160px; }
.filters .field-box.grow { flex: 1; min-width: 200px; }
.pager { display: flex; gap: 4px; }
.pager a { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; color: var(--text2); text-decoration: none; background: var(--surface2); }
.pager a.is-active { background: var(--side); color: #fff; }
.tl { display: flex; flex-direction: column; gap: 0; }
.tl-row { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; position: relative; }
.tl-row + .tl-row::before { content: ''; position: absolute; left: 13px; top: -10px; height: 18px; width: 2px; background: var(--line); }
.tl-dot { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; background: var(--surface2); color: var(--text2); }
.tl-dot.ok { background: var(--ok-s); color: var(--ok-t); } .tl-dot.warn { background: var(--warn-s); color: var(--warn-t); } .tl-dot.danger { background: var(--danger-s); color: var(--danger-t); } .tl-dot.accent { background: var(--accent-s); color: var(--accent-d); }
.kv-2 { grid-template-columns: auto minmax(0, 1fr) auto minmax(0, 1fr); }
@media (max-width: 720px) { .kv-2 { grid-template-columns: auto minmax(0, 1fr); } }
.stat-value.sm { font-size: 17px; }
.modal-wide { width: min(720px, 94vw); }
.btn.is-disabled { opacity: .45; pointer-events: none; }
.card-head.wrap { flex-wrap: wrap; gap: 10px; }
.ic.ok { color: var(--ok-t); } .ic.danger { color: var(--danger-t); }

a.card { color: inherit; text-decoration: none; }
a.card:hover { border-color: var(--accent); }
.grid-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-stats, .grid-stats.four { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { .grid-stats, .grid-stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ───────────── Határidők, értesítések, keresés ───────────── */
.cols-deadlines { grid-template-columns: 2.4fr 1.1fr 1fr auto; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-h { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-d { min-height: 78px; border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; gap: 3px; background: var(--surface); }
.cal-d.is-out { opacity: .45; background: var(--surface2); }
.cal-d.is-today { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.cal-n { font-size: 12px; font-weight: 800; color: var(--text2); }
.cal-ev { display: block; font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; text-decoration: none; color: var(--accent-d); background: var(--accent-s); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.expiry { background: var(--warn-s); color: var(--warn-t); } .cal-ev.notice { background: var(--danger-s); color: var(--danger-t); } .cal-ev.review { background: var(--info-s); color: var(--info-t); }
@media (max-width: 720px) { .cal-d { min-height: 54px; padding: 4px; } .cal-ev { font-size: 9px; padding: 1px 4px; } }
.bell { position: relative; }
.bell-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.notif { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--rs); border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; }
.notif:hover { border-color: var(--accent); color: inherit; }
.notif.is-unread { background: var(--accent-s); border-color: transparent; }
.notif b { font-size: 13px; }
.notif .sub { font-size: 12px; }
.search-card { gap: 10px; }
.search-big { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 10px 0 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.search-big .ic { color: var(--muted); }
.search-big input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; height: 100%; }
.search-big:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.hit { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: var(--rs); border: 1px solid var(--line); background: var(--surface); color: inherit; text-decoration: none; }
.hit:hover { border-color: var(--accent); color: inherit; }
.hit b { font-size: 13px; }
.snippet { font-size: 12.5px; line-height: 1.5; }
mark { background: var(--warn-s); color: var(--warn-t); border-radius: 3px; padding: 0 2px; }
.meta-b { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }

/* ───────────── AI asszisztens ───────────── */
.chat { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .chat { grid-template-columns: minmax(0, 1fr); } }
.chat-card { gap: 10px; }
.chat-log { display: flex; flex-direction: column; gap: 14px; min-height: 320px; max-height: 70vh; overflow-y: auto; padding: 4px 2px; }
.chat-empty { margin: auto; }
.msg { display: flex; gap: 12px; align-items: flex-start; }
.msg.is-user { flex-direction: row-reverse; }
.msg .tile, .msg .avatar { flex: none; }
.msg-body { max-width: min(760px, 88%); display: flex; flex-direction: column; gap: 8px; }
.msg-text { padding: 12px 14px; border-radius: 16px; background: var(--surface2); font-size: 13.5px; line-height: 1.6; }
.msg.is-user .msg-text { background: var(--side); color: #fff; border-bottom-right-radius: 6px; }
.msg.is-ai .msg-text { border-bottom-left-radius: 6px; }
.msg-text p { margin: 0 0 8px; } .msg-text p:last-child { margin-bottom: 0; }
.msg-text ul { margin: 4px 0 8px; padding-left: 18px; } .msg-text li { margin: 2px 0; }
.src { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 6px; background: var(--accent-s); color: var(--accent-d); font-size: 11px; font-weight: 800; text-decoration: none; vertical-align: middle; margin-left: 2px; }
.msg.is-user .src { background: rgba(255,255,255,.2); color: #fff; }
.msg-sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.msg-sources .pill { text-decoration: none; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-meta { font-size: 11px; color: var(--muted); }
.msg.is-user .msg-meta { text-align: right; }
.thinking { display: inline-flex; gap: 4px; margin-right: 8px; vertical-align: middle; }
.thinking .sk { width: 8px; height: 8px; border-radius: 50%; }
.composer { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.composer textarea { width: 100%; padding: 10px 12px; border-radius: var(--rs); background: var(--surface); border: 1px solid var(--line); resize: vertical; min-height: 56px; font: inherit; }
.composer textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.example { display: flex; gap: 8px; align-items: flex-start; text-align: left; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.example:hover { border-color: var(--accent); color: var(--text); }
.example .ic { flex: none; color: var(--muted); margin-top: 2px; }
.cols-sweep { grid-template-columns: 2fr .8fr 2.4fr .8fr; }
.lead { font-size: 14.5px; line-height: 1.65; }
.list { margin: 0; padding-left: 18px; } .list li { margin: 3px 0; }

/* ───────────── Beállítások ───────────── */
.cols-conf { grid-template-columns: 1.7fr 2.4fr .5fr .8fr; }
.cols-usage { grid-template-columns: 2fr .6fr .8fr; }
.cols-trash { grid-template-columns: 2fr 1.2fr .8fr .9fr auto; }
.cols-audit { grid-template-columns: 1.1fr 1.2fr 1.2fr 2.4fr 1fr; }
.cols-keys { grid-template-columns: 1.6fr 1fr 1.6fr .8fr .9fr; }
.cols-hooks { grid-template-columns: 2.4fr 1.4fr auto; }
.tri { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.tri-opt { padding: 5px 10px; font-size: 11px; font-weight: 800; color: var(--muted); cursor: pointer; }
.tri-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.tri-opt.is-on.full { background: var(--ok-s); color: var(--ok-t); }
.tri-opt.is-on.extraction_only { background: var(--surface2); color: var(--text, inherit); }
.tri-opt.is-on.local_only { background: var(--warn-s); color: var(--warn-t); }
.tri-opt.is-on.disabled { background: var(--danger-s); color: var(--danger-t); }
.card.is-current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
input[type=range] { width: 100%; accent-color: var(--accent); }
form.tr { margin: 0; }
.cols-report { grid-template-columns: 2.2fr 1.2fr .9fr 1.1fr .8fr .9fr 1.1fr; }
a.card.stat { gap: 6px; }

/* ───────────── Üzemeltetés ───────────── */
.side-ops { background: #0E151B; }
.ops-logo { background: var(--warn); }
.nav-ops { margin-top: auto; color: var(--warn) !important; }
.cols-ops-tenants { grid-template-columns: 2fr .9fr 1.2fr .6fr 1.1fr .8fr; }
.cols-ops-tenants2 { grid-template-columns: 2fr .7fr 1.1fr .6fr .9fr 1fr .8fr; }
.cols-subs { grid-template-columns: 2fr 1fr 1fr 1fr .8fr; }
.cols-plans { grid-template-columns: 1.2fr 1fr .8fr .6fr .8fr; }
.cols-jobs { grid-template-columns: 2.4fr 1.2fr .8fr .6fr .8fr; }
.cols-health { grid-template-columns: 1.6fr 1.4fr 1fr; }
.cols-models { grid-template-columns: 1.6fr .6fr .8fr .8fr 1fr; }
.cols-legal { grid-template-columns: 2fr .8fr 1fr; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; padding-top: 4px; }
.bar { flex: 1; min-width: 4px; height: 100%; display: flex; align-items: flex-end; background: var(--surface2); border-radius: 4px; overflow: hidden; }
.bar > span { display: block; width: 100%; background: var(--accent); border-radius: 4px; min-height: 2px; height: 0; }

/* ───────────── Bemutató oldal ───────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px 0 8px; }
.hero-text { display: flex; flex-direction: column; gap: 18px; }
.hero-h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 0; }
.hero-p { font-size: 17px; line-height: 1.6; color: var(--text2); margin: 0; max-width: 560px; }
.hero-mock { gap: 14px; transform: rotate(-1deg); }
.hero-mock .msg-body { max-width: 100%; }
.h2.big { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; }
.feature { gap: 12px; }
.feature .tile.lg { width: 56px; height: 56px; border-radius: 18px; }
.steps-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text2); line-height: 1.5; }
.steps-list b { color: var(--text); }
.price { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.gap-16 { gap: 16px; }
@media (max-width: 900px) { .hero { grid-template-columns: minmax(0, 1fr); } .hero-mock { transform: none; } }

/* Görgethető jelölőlista (partner-hozzáférés, AI-jóváhagyás) */
.check-list { display: flex; flex-direction: column; gap: 4px; max-height: 240px; overflow-y: auto; padding: 8px; border: 1px solid var(--line, #d9dee3); border-radius: 8px; margin: 6px 0 10px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
