/* exaHome – a Design canvas színei és formái */
:root {
    --exh-primary: #0F766E;
    --exh-primary-rgb: 15, 118, 110;
    --exh-side: #0B1220;
    --exh-bg: #F4F6F8;
    --exh-card: #FFFFFF;
    --exh-border: #E5E8EC;
    --exh-muted: #64748B;
    --exh-electricity: #F59E0B;
    --exh-gas: #E4572E;
    --exh-water: #2563EB;
    --exh-admin: #FCD34D;
    --exh-radius: 16px;
    --bs-primary: var(--exh-primary);
    --bs-primary-rgb: var(--exh-primary-rgb);
    --bs-link-color: var(--exh-primary);
    --bs-link-color-rgb: var(--exh-primary-rgb);
    --bs-link-hover-color: #0B5F59;
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
[data-bs-theme="dark"] {
    --exh-bg: #0E1420;
    --exh-card: #151D2B;
    --exh-border: #243044;
    --exh-muted: #94A3B8;
    --bs-link-color: #2DD4BF;
    --bs-link-color-rgb: 45, 212, 191;
}

.btn-primary { --bs-btn-bg: var(--exh-primary); --bs-btn-border-color: var(--exh-primary); --bs-btn-hover-bg: #0B5F59; --bs-btn-hover-border-color: #0B5F59; --bs-btn-active-bg: #094D48; --bs-btn-disabled-bg: var(--exh-primary); --bs-btn-disabled-border-color: var(--exh-primary); }
.btn-outline-primary { --bs-btn-color: var(--exh-primary); --bs-btn-border-color: var(--exh-primary); --bs-btn-hover-bg: var(--exh-primary); --bs-btn-hover-border-color: var(--exh-primary); --bs-btn-active-bg: var(--exh-primary); }
.btn-warning { --bs-btn-bg: var(--exh-admin); --bs-btn-border-color: var(--exh-admin); --bs-btn-color: #111827; }
.form-control:focus, .form-select:focus { border-color: var(--exh-primary); box-shadow: 0 0 0 .2rem rgba(var(--exh-primary-rgb), .2); }
.form-check-input:checked { background-color: var(--exh-primary); border-color: var(--exh-primary); }

body.exh-body { background: var(--exh-bg); font-family: var(--bs-body-font-family); }
.exh-h1 { font-family: 'Space Grotesk', var(--bs-body-font-family); font-weight: 700; font-size: 1.75rem; margin: 0; }
.exh-h2 { font-family: 'Space Grotesk', var(--bs-body-font-family); font-weight: 600; font-size: 1.15rem; margin-bottom: .75rem; }
.exh-muted { color: var(--exh-muted); }
.exh-muted-dark { color: #94A3B8; }
.exh-crumbs { font-size: .85rem; color: var(--exh-muted); margin-bottom: .25rem; }
.exh-crumbs a { color: inherit; }

/* Elrendezés */
.exh-shell { display: flex; min-height: 100vh; }
.exh-side { width: 264px; flex-shrink: 0; background: var(--exh-side); color: #CBD5E1; display: flex; flex-direction: column; padding: 1.25rem 1rem; gap: .5rem; }
@media (min-width: 992px) { .exh-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
.offcanvas-lg.exh-side { --bs-offcanvas-bg: var(--exh-side); --bs-offcanvas-width: 280px; }
/* A Bootstrap .offcanvas-lg asztali nézetben átlátszóvá teszi a hátteret (!important) – világos módban ettől eltűnt a menü */
.exh-side, .offcanvas-lg.exh-side { background-color: var(--exh-side) !important; }
.exh-brand { display: flex; align-items: center; gap: .75rem; padding: 0 .25rem 1rem; }
.exh-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--exh-primary); color: #fff; display: grid; place-items: center; font-size: 1.25rem; }
.exh-brand-name { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; color: #fff; }
.exh-topbar .exh-brand-name, .exh-guest-card .exh-brand-name { color: inherit; }
.exh-brand-sub { font-size: .75rem; color: #94A3B8; }
.exh-admin-badge { background: var(--exh-admin); color: #111827; font-size: .65rem; font-weight: 700; padding: .15rem .4rem; border-radius: 6px; vertical-align: middle; letter-spacing: .05em; }
.exh-nav-list { display: flex; flex-direction: column; gap: .15rem; }
.exh-nav { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 10px; color: #CBD5E1; text-decoration: none; font-weight: 500; }
.exh-nav i { font-size: 1.1rem; width: 1.25rem; text-align: center; }
.exh-nav:hover { background: rgba(255,255,255,.06); color: #fff; }
.exh-nav.active { background: rgba(15,118,110,.25); color: #5EEAD4; }
.exh-nav.active-admin { background: rgba(252,211,77,.15); color: var(--exh-admin); }
.exh-nav-admin { color: var(--exh-admin); }
.exh-side-spacer { flex: 1; }
.exh-user { display: flex; align-items: center; gap: .6rem; border-top: 1px solid rgba(255,255,255,.08); padding-top: .9rem; margin-top: .5rem; }
.exh-avatar { width: 36px; height: 36px; border-radius: 50%; background: #1E293B; color: #fff; display: grid; place-items: center; font-weight: 600; flex-shrink: 0; }
.exh-avatar-light { background: rgba(var(--exh-primary-rgb), .12); color: var(--exh-primary); }
.exh-icon-btn { color: inherit; padding: .25rem .5rem; }
.exh-side .exh-icon-btn { color: #94A3B8; }
.exh-home-switch { margin-bottom: .75rem; }
.exh-home-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #fff; padding: .6rem .8rem; font-weight: 600; }
.exh-home-label { display: block; font-size: .7rem; color: #94A3B8; font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

.exh-main-wrap { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.exh-main { padding: 2rem; max-width: 1400px; width: 100%; }
@media (max-width: 991.98px) { .exh-main { padding: 1rem 1rem 6rem; } }
.exh-page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.exh-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.exh-topbar { display: flex; align-items: center; justify-content: space-between; padding: .5rem .75rem; background: var(--exh-card); border-bottom: 1px solid var(--exh-border); position: sticky; top: 0; z-index: 1020; }
.exh-tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--exh-card); border-top: 1px solid var(--exh-border); display: flex; justify-content: space-around; padding: .4rem 0 calc(.4rem + env(safe-area-inset-bottom)); z-index: 1030; }
.exh-tabbar a { display: flex; flex-direction: column; align-items: center; font-size: .7rem; color: var(--exh-muted); text-decoration: none; gap: .1rem; }
.exh-tabbar a i { font-size: 1.25rem; }
.exh-tabbar a.active { color: var(--exh-primary); }
.exh-tab-plus span { width: 44px; height: 44px; border-radius: 14px; background: var(--exh-primary); color: #fff; display: grid; place-items: center; margin-top: -1.1rem; box-shadow: 0 6px 16px rgba(var(--exh-primary-rgb), .35); }

/* Kártyák */
.exh-card { display: block; background: var(--exh-card); border: 1px solid var(--exh-border); border-radius: var(--exh-radius); padding: 1.25rem; color: inherit; }
a.exh-card { text-decoration: none; transition: transform .15s, box-shadow .15s; }
a.exh-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15, 23, 42, .08); }
.exh-narrow { max-width: 640px; }
.exh-empty { text-align: center; padding: 3rem 1.5rem; }
.exh-empty > i { font-size: 2.5rem; color: var(--exh-primary); display: block; margin-bottom: .75rem; }
.exh-big { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.exh-big small { font-size: .9rem; font-weight: 500; color: var(--exh-muted); }
.exh-mini-stats { display: flex; gap: 1.25rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px dashed var(--exh-border); }
.exh-mini-stats span { display: block; font-size: .75rem; color: var(--exh-muted); }
.exh-mini-stats strong { font-variant-numeric: tabular-nums; }
.exh-stat span { display: block; font-size: .8rem; color: var(--exh-muted); }
.exh-stat strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.exh-stat small { display: block; color: var(--exh-muted); font-size: .75rem; }
.exh-stat-sm { background: var(--exh-bg); border-radius: 12px; padding: .6rem; }
.exh-stat-sm span { display: block; font-size: .72rem; color: var(--exh-muted); }
.exh-stat-sm strong { font-size: .95rem; }
.exh-odometer { font-family: 'Space Grotesk', ui-monospace, monospace; font-size: 2.4rem; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.exh-odometer small { font-size: 1rem; margin-left: .4rem; color: var(--exh-muted); }
.exh-chart { position: relative; height: 300px; }

/* Közművek */
.exh-u-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; }
.exh-u-electricity .exh-u-icon { background: rgba(245,158,11,.14); color: var(--exh-electricity); }
.exh-u-gas .exh-u-icon { background: rgba(228,87,46,.14); color: var(--exh-gas); }
.exh-u-water .exh-u-icon { background: rgba(37,99,235,.14); color: var(--exh-water); }
.exh-meter-card { border-top: 4px solid var(--exh-border); }
.exh-meter-card.exh-u-electricity { border-top-color: var(--exh-electricity); }
.exh-meter-card.exh-u-gas { border-top-color: var(--exh-gas); }
.exh-meter-card.exh-u-water { border-top-color: var(--exh-water); }
.exh-u-text-electricity { color: var(--exh-electricity); }
.exh-u-text-gas { color: var(--exh-gas); }
.exh-u-text-water { color: var(--exh-water); }
.exh-u-bg-electricity { background: var(--exh-electricity); }
.exh-u-bg-gas { background: var(--exh-gas); }
.exh-u-bg-water { background: var(--exh-water); }
.exh-costbar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--exh-bg); }
.exh-legend { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .35rem; }
.exh-alert-leak { background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.35); color: inherit; border-radius: var(--exh-radius); }
.exh-alert-leak i { color: var(--exh-water); }
.exh-soon { display: flex; gap: .75rem; align-items: center; padding: .9rem; border: 1px dashed var(--exh-border); border-radius: 12px; }
.exh-soon i { font-size: 1.4rem; color: var(--exh-muted); }

.exh-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.exh-dot.on { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.exh-dot.off { background: #94A3B8; }

.exh-list-item { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--exh-border); color: inherit; text-decoration: none; }
.exh-list-item:last-child { border-bottom: 0; }
a.exh-list-item:hover, .exh-list-item.active { background: rgba(var(--exh-primary-rgb), .06); }

/* Űrlapok */
.exh-step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(var(--exh-primary-rgb), .12); color: var(--exh-primary); font-size: .85rem; margin-right: .5rem; }
.exh-utility-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.exh-utility-opt { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .9rem .5rem; border: 2px solid var(--exh-border); border-radius: 14px; cursor: pointer; font-weight: 600; }
.exh-utility-opt i { font-size: 1.5rem; }
.exh-utility-opt.exh-u-electricity i { color: var(--exh-electricity); }
.exh-utility-opt.exh-u-gas i { color: var(--exh-gas); }
.exh-utility-opt.exh-u-water i { color: var(--exh-water); }
.btn-check:checked + .exh-utility-opt { border-color: var(--exh-primary); background: rgba(var(--exh-primary-rgb), .06); }
.btn-check:focus-visible + .exh-utility-opt { outline: 3px solid rgba(var(--exh-primary-rgb), .4); }
.exh-radio-card { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem; border: 1px solid var(--exh-border); border-radius: 12px; cursor: pointer; }
.exh-radio-card:has(input:checked) { border-color: var(--exh-admin); background: rgba(252,211,77,.08); }
.exh-code-input { font-family: ui-monospace, monospace; letter-spacing: .3em; font-size: 1.3rem; text-align: center; }
.exh-steps ol { padding-left: 1.2rem; }
.exh-steps li { margin-bottom: .4rem; }
.exh-qr { display: flex; justify-content: center; }
.exh-qr svg { width: 200px; height: 200px; max-width: 100%; background: #fff; padding: 8px; border-radius: 12px; }
.exh-recovery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); gap: .35rem; }
.exh-recovery code { background: var(--exh-bg); padding: .35rem .5rem; border-radius: 8px; color: inherit; overflow-wrap: anywhere; text-align: center; }
.exh-log { max-height: 360px; overflow: auto; background: #0B1220; color: #CBD5E1; padding: 1rem; border-radius: 12px; font-size: .75rem; white-space: pre-wrap; }

/* Vendég oldalak */
.exh-guest { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.exh-guest-hero { background: var(--exh-side) radial-gradient(circle at 20% 80%, rgba(15,118,110,.45), transparent 55%); color: #E2E8F0; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; }
.exh-hero-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1.15; color: #fff; max-width: 520px; }
.exh-hero-text { color: #94A3B8; max-width: 460px; font-size: 1.05rem; }
.exh-hero-foot { display: flex; gap: 1.5rem; font-size: .85rem; color: #94A3B8; flex-wrap: wrap; }
.exh-guest-main { display: grid; place-items: center; padding: 2rem 1rem; }
.exh-guest-card { width: 100%; max-width: 440px; }
@media (max-width: 991.98px) {
    .exh-guest { grid-template-columns: 1fr; }
    .exh-guest-hero { padding: 1.5rem; gap: 1rem; }
    .exh-hero-title { font-size: 1.6rem; }
    .exh-hero-text, .exh-hero-foot { display: none; }
}

/* ======================================================================== v2 */
.mdi { line-height: 1; }
.exh-section { font: 600 .8rem Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--exh-muted); margin: .5rem 0 .75rem; }
.exh-int-logo { --c: #475569; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 700 .95rem 'Space Grotesk', sans-serif; flex-shrink: 0; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.exh-int-logo .mdi { font-size: 1.5rem; }
.exh-callout { background: #FFFBEB; border-color: #FDE68A; }
[data-bs-theme="dark"] .exh-callout { background: #2a2414; border-color: #5c4a14; }
.exh-dashed { border-style: dashed; background: transparent; }
.exh-hero-dark { background: var(--exh-side) radial-gradient(circle at 90% 10%, rgba(252,211,77,.18), transparent 50%); color: #E2E8F0; border: 0; }
.exh-kicker { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--exh-admin); font-weight: 700; }
.exh-k-light, .exh-k-switch { color: #F59E0B; } .exh-k-cover { color: #3B82C4; } .exh-k-climate { color: #0891B2; }
.exh-k-tv { color: #7C3AED; } .exh-k-camera { color: #475569; } .exh-k-sensor, .exh-k-binary_sensor { color: #64748B; } .exh-k-plug { color: #CA8A04; }

/* Entitás-kártya (szellős) */
.exh-ent-head { display: flex; align-items: center; gap: .75rem; }
.exh-ent-title { flex: 1; min-width: 0; }
.exh-ent-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--exh-bg); color: var(--exh-muted); font-size: 1.5rem; flex-shrink: 0; transition: background .2s, color .2s; }
.exh-ent.is-on .exh-ent-icon { background: rgba(245,158,11,.15); color: #D97706; }
.exh-ent-climate.is-on .exh-ent-icon { background: rgba(8,145,178,.15); color: #0891B2; }
.exh-ent-tv.is-on .exh-ent-icon { background: rgba(124,58,237,.14); color: #7C3AED; }
.exh-ent.is-off { opacity: .55; }
.exh-ent-edit { position: absolute; top: .4rem; right: .4rem; color: var(--exh-muted); }
.exh-switch { width: 2.6em !important; height: 1.4em; cursor: pointer; }
.exh-climate { display: flex; align-items: center; justify-content: space-between; margin: .9rem 0 .6rem; background: var(--exh-bg); border-radius: 14px; padding: .35rem; }
.exh-climate-temp { font: 700 1.8rem 'Space Grotesk', sans-serif; font-variant-numeric: tabular-nums; }
.exh-climate-temp small { font-size: .9rem; color: var(--exh-muted); margin-left: .15rem; }
.exh-round { width: 44px; height: 44px; border-radius: 12px; background: var(--exh-card); border: 1px solid var(--exh-border); font-size: 1.3rem; display: grid; place-items: center; padding: 0; }
.exh-seg { display: flex; gap: .25rem; background: var(--exh-bg); border-radius: 12px; padding: .25rem; }
.exh-seg button { flex: 1; border: 0; background: transparent; border-radius: 9px; padding: .45rem 0; color: var(--exh-muted); font-size: 1.15rem; }
.exh-seg button.active { background: var(--exh-card); color: var(--exh-primary); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.exh-tv, .exh-cover { display: flex; gap: .35rem; margin-top: .8rem; }
.exh-tv button, .exh-cover button { flex: 1; border: 0; border-radius: 10px; background: var(--exh-bg); padding: .55rem 0; font-size: 1.3rem; color: inherit; }
.exh-cover button { color: #3B82C4; }
.exh-tv button:active, .exh-cover button:active, .exh-round:active { transform: scale(.95); }
.busy { pointer-events: none; }
.exh-tile .busy, .exh-pill .busy { opacity: 1; }

/* Kompakt sor + csoportkártya */
.exh-group { overflow: auto; }
.exh-group-title { font: 600 1.35rem Inter, sans-serif; margin: 0 0 .25rem; }
.exh-row { display: flex; align-items: center; gap: .9rem; padding: .55rem 0; min-height: 48px; }
.exh-row-icon { font-size: 1.6rem; width: 1.8rem; text-align: center; color: var(--exh-muted); }
.exh-row.is-on .exh-row-icon.exh-k-light, .exh-row.is-on .exh-row-icon.exh-k-switch { color: #F59E0B; }
.exh-row.is-on .exh-row-icon.exh-k-plug { color: #FACC15; }
.exh-row-name { flex: 1; min-width: 0; font-size: 1rem; }
.exh-row-value { color: var(--exh-muted); white-space: nowrap; }
.exh-row.is-off { opacity: .5; }
.exh-row-arrows { display: flex; gap: .2rem; }
.exh-row-arrows button { border: 0; background: transparent; color: #3B82C4; font-size: 1.5rem; width: 40px; height: 40px; border-radius: 10px; }
.exh-row-arrows button:hover { background: rgba(59,130,196,.12); }
.exh-chips { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; align-items: center; height: 100%; }
.exh-chip { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid var(--exh-border); border-radius: 999px; padding: .45rem 1rem; font-size: .95rem; background: var(--exh-card); }
.exh-chip .mdi, .exh-chip .bi { color: #38BDF8; font-size: 1.15rem; }
.exh-bigbtn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; font-weight: 600; border: 1px solid var(--exh-border); }
.exh-bigbtn .mdi { font-size: 2.4rem; }

/* ---------- Színpaletták (a dashboard kiemelő színe) ---------- */
.exh-accent-teal { --acc: #0F766E; --acc2: #14B8A6; --acc-rgb: 15,118,110; }
.exh-accent-ocean { --acc: #1D4ED8; --acc2: #06B6D4; --acc-rgb: 29,78,216; }
.exh-accent-violet { --acc: #6D28D9; --acc2: #EC4899; --acc-rgb: 109,40,217; }
.exh-accent-sunset { --acc: #EA580C; --acc2: #F43F5E; --acc-rgb: 234,88,12; }
.exh-accent-forest { --acc: #15803D; --acc2: #84CC16; --acc-rgb: 21,128,61; }
.exh-accent-graphite { --acc: #334155; --acc2: #64748B; --acc-rgb: 51,65,85; }
[data-bs-theme="dark"] .exh-accent-graphite { --acc: #94A3B8; --acc2: #CBD5E1; --acc-rgb: 148,163,184; }
.exh-dash { --exh-primary: var(--acc); --exh-primary-rgb: var(--acc-rgb); }
.exh-dash .form-check-input:checked { background-color: var(--acc); border-color: var(--acc); }
.exh-dash .exh-seg button.active, .exh-dash .exh-cam-q button.active { color: var(--acc); }
.exh-dash .exh-cam-q button.active { background: var(--acc); color: #fff; }

/* Nap/hold gomb */
.exh-mode-btn .mdi-white-balance-sunny { display: none; }
.exh-mode-btn.is-dark .mdi-weather-night { display: none; }
.exh-mode-btn.is-dark .mdi-white-balance-sunny { display: inline; color: #FBBF24; }

/* ---------- Kompakt stílus: HA-szerű listák, világos és sötét ---------- */
.exh-style-compact .exh-card { border-radius: 18px; }
[data-bs-theme="dark"] .exh-style-compact { --exh-card: #1C1F24; --exh-border: #2A2E35; --exh-bg: #262A30; --exh-muted: #8B929C; }
[data-bs-theme="dark"] body.exh-body:has(.exh-style-compact) { --exh-bg: #111418; background: #111418; }
.exh-tv-card { background: linear-gradient(135deg, var(--acc), var(--acc2)) !important; border: 0 !important; color: #fff; }
.exh-tv-card .exh-tv button { background: transparent; color: #fff; font-size: 1.7rem; }
.exh-tv-card .exh-ent-icon { background: rgba(255,255,255,.18) !important; color: #fff !important; }
.exh-tv-card .exh-muted { color: rgba(255,255,255,.85) !important; }

/* ---------- Modern stílus: színátmenetes háttér, üveg-kártyák, csempék ---------- */
.exh-style-modern {
    position: relative; border-radius: 28px; padding: .75rem; isolation: isolate;
    background:
        radial-gradient(60% 50% at 0% 0%, rgba(var(--acc-rgb), .22), transparent 70%),
        radial-gradient(50% 50% at 100% 0%, color-mix(in srgb, var(--acc2) 22%, transparent), transparent 70%),
        radial-gradient(60% 60% at 50% 100%, rgba(var(--acc-rgb), .10), transparent 70%),
        var(--exh-bg);
}
.exh-style-modern { --glass: rgba(255,255,255,.62); --glass-border: rgba(255,255,255,.75); --tile-off: rgba(255,255,255,.55); }
[data-bs-theme="dark"] .exh-style-modern { --glass: rgba(23,30,44,.62); --glass-border: rgba(255,255,255,.08); --tile-off: rgba(30,38,54,.7); }
.exh-style-modern .exh-card {
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px;
    backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}
.exh-style-modern .exh-cam { border-radius: 24px; }
.exh-style-modern .exh-big, .exh-style-modern .exh-climate-temp { font-size: 2.2rem; }
.exh-style-modern .exh-meter-card { border-top: 0; }

.exh-hello { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: .5rem .75rem; }
.exh-hello-time { font: 700 3.2rem/1 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.exh-hello-greet { font-size: 1.15rem; color: var(--exh-muted); margin-top: .25rem; }
.exh-hello-stats { display: flex; gap: .6rem; flex-wrap: wrap; }
.exh-hello-stats > div { display: flex; align-items: center; gap: .45rem; background: var(--glass, var(--exh-card)); border: 1px solid var(--glass-border, var(--exh-border)); border-radius: 999px; padding: .5rem .95rem; backdrop-filter: blur(12px); }
.exh-hello-stats .mdi { color: var(--acc); font-size: 1.2rem; }
.exh-hello-stats span { color: var(--exh-muted); font-size: .85rem; }

.exh-tile { position: relative; height: 100%; border-radius: 22px; padding: .9rem; display: flex; flex-direction: column; justify-content: space-between;
    background: var(--tile-off, var(--exh-card)); border: 1px solid var(--glass-border, var(--exh-border)); backdrop-filter: blur(14px);
    transition: background .25s, color .25s, transform .15s; overflow: hidden; }
.exh-tile:active { transform: scale(.98); }
.exh-tile.is-on { background: linear-gradient(140deg, var(--acc), var(--acc2)); color: #fff; border-color: transparent; box-shadow: 0 12px 28px rgba(var(--acc-rgb), .35); }
.exh-tile.is-off { opacity: .5; }
.exh-tile-hit { position: absolute; inset: 0; border: 0; background: transparent; z-index: 1; border-radius: inherit; }
.exh-tile-top { display: flex; justify-content: space-between; align-items: flex-start; }
.exh-tile-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: rgba(var(--acc-rgb), .12); color: var(--acc); }
.exh-tile.is-on .exh-tile-icon { background: rgba(255,255,255,.22); color: #fff; }
.exh-tile-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--exh-muted); opacity: .4; }
.exh-tile.is-on .exh-tile-dot { background: #fff; opacity: 1; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.exh-tile-name { font-weight: 600; font-size: 1rem; }
.exh-tile-state { font-size: .82rem; opacity: .75; }
.exh-tile-arrows { position: relative; z-index: 2; display: flex; gap: .3rem; margin-top: .45rem; }
.exh-tile-arrows button { flex: 1; border: 0; border-radius: 10px; padding: .3rem 0; background: rgba(var(--acc-rgb), .12); color: var(--acc); font-size: 1.2rem; }

/* ---------- Megjelenés panel ---------- */
.exh-style-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.exh-style-opt { display: flex; flex-direction: column; align-items: center; gap: .35rem; cursor: pointer; }
.exh-style-opt input, .exh-swatch input { position: absolute; opacity: 0; }
.exh-style-thumb { width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; border: 2px solid var(--exh-border); padding: 6px; display: grid; gap: 4px; background: var(--exh-bg); }
.exh-style-thumb i { border-radius: 4px; background: var(--exh-card); border: 1px solid var(--exh-border); }
.exh-thumb-airy { grid-template-columns: 1fr 1fr; }
.exh-thumb-compact { grid-template-columns: 1fr; background: #111418; }
.exh-thumb-compact i { background: #1C1F24; border-color: #2A2E35; height: 6px; }
.exh-thumb-modern { grid-template-columns: 1fr 1fr; background: linear-gradient(135deg, rgba(15,118,110,.25), rgba(236,72,153,.18)); }
.exh-thumb-modern i:nth-child(2) { background: linear-gradient(135deg, #0F766E, #14B8A6); border: 0; }
.exh-style-opt input:checked + .exh-style-thumb { border-color: var(--exh-primary); box-shadow: 0 0 0 3px rgba(var(--exh-primary-rgb), .2); }
.exh-style-opt input:focus-visible + .exh-style-thumb, .exh-swatch input:focus-visible + span { outline: 3px solid rgba(var(--exh-primary-rgb), .5); }
.exh-swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.exh-swatch { display: flex; flex-direction: column; align-items: center; gap: .25rem; cursor: pointer; }
.exh-swatch span { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--acc), var(--acc2)); border: 3px solid transparent; box-shadow: 0 0 0 1px var(--exh-border); }
.exh-swatch input:checked + span { border-color: var(--exh-card); box-shadow: 0 0 0 2px var(--acc); }
.exh-swatch small { font-size: .7rem; color: var(--exh-muted); }

/* Dashboard rács és szerkesztés */
.grid-stack-item-content { overflow: visible !important; inset: 0; }
.grid-stack-item-content > .exh-card, .grid-stack-item-content > .exh-cam, .grid-stack-item-content > .row, .grid-stack-item-content > .exh-chips { height: 100%; }
.exh-w-remove { display: none; position: absolute; top: -8px; right: -8px; z-index: 5; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #DC2626; color: #fff; }
.exh-editing .exh-w-remove { display: grid; place-items: center; }
.exh-editing .grid-stack { outline: 2px dashed rgba(var(--exh-primary-rgb), .4); outline-offset: 6px; border-radius: 16px; }
.exh-editing .grid-stack-item-content { cursor: move; }
.exh-editing .grid-stack-item-content > * { pointer-events: none; }
.exh-editing .exh-w-remove { pointer-events: auto; }
.exh-dash-edit-bar { position: sticky; top: .5rem; z-index: 20; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; background: var(--exh-card); border: 1px solid var(--exh-primary); border-radius: 14px; padding: .5rem .75rem; margin-bottom: .75rem; font-size: .9rem; }
.exh-dash-edit-bar > span { flex: 1; min-width: 200px; }

/* Kamera */
.exh-cam { position: relative; border-radius: var(--exh-radius); overflow: hidden; background: #0B1220; min-height: 160px; color: #fff; }
.exh-cam-video, .exh-cam-video video-stream, .exh-cam-video video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.exh-cam-video video { object-fit: cover; }
.exh-cam.is-fs .exh-cam-video video { object-fit: contain; }
.exh-cam-live { position: absolute; top: .6rem; left: .6rem; background: #DC2626; color: #fff; font: 700 .7rem Inter; padding: .2rem .5rem; border-radius: 6px; z-index: 2; }
.exh-cam-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1rem; color: #CBD5E1; z-index: 2; background: rgba(11,18,32,.6); }
.exh-cam-bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; z-index: 3; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); }
.exh-cam-bar strong { flex: 1; font-size: 1.05rem; }
.exh-cam-q { display: flex; gap: 2px; background: rgba(0,0,0,.45); border-radius: 9px; padding: 3px; }
.exh-cam-q button { border: 0; background: transparent; color: #fff; font: 600 .75rem Inter; padding: .3rem .55rem; border-radius: 7px; }
.exh-cam-q button.active { background: var(--exh-primary); }
.exh-cam-fs { border: 0; background: rgba(0,0,0,.45); color: #fff; width: 36px; height: 36px; border-radius: 9px; font-size: 1.3rem; }
.exh-cam.pseudo-fs { position: fixed !important; inset: 0; z-index: 2000; border-radius: 0; }
.exh-noscroll { overflow: hidden; }
.exh-cam:fullscreen { border-radius: 0; }

.exh-toast { position: fixed; left: 50%; bottom: calc(5rem + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: #0F172A; color: #fff; padding: .6rem 1rem; border-radius: 12px; font-size: .9rem; opacity: 0; transition: .25s; z-index: 3000; pointer-events: none; max-width: 90vw; }
.exh-toast.show { opacity: 1; transform: translate(-50%, 0); }
.exh-toast.bad { background: #B91C1C; }
@media (min-width: 992px) { .exh-toast { bottom: 2rem; } }

/* ---------- Üveg stílus (Apple Home / Liquid Glass): szobák szekciókban, háttérkép-hatás ---------- */
.exh-style-glass {
    border-radius: 28px; padding: .9rem; isolation: isolate; color: #fff;
    --glass: rgba(255,255,255,.16); --glass-border: rgba(255,255,255,.28); --exh-muted: rgba(255,255,255,.78);
    background:
        radial-gradient(70% 60% at 15% 10%, color-mix(in srgb, var(--acc2) 70%, transparent), transparent 70%),
        radial-gradient(60% 70% at 90% 30%, color-mix(in srgb, var(--acc) 80%, #000 10%), transparent 70%),
        radial-gradient(80% 60% at 40% 100%, #1e293b, transparent 70%),
        linear-gradient(160deg, var(--acc), #0B1220);
}
[data-bs-theme="light"] .exh-style-glass {
    color: #0F172A; --glass: rgba(255,255,255,.55); --glass-border: rgba(255,255,255,.8); --exh-muted: #475569;
    background:
        radial-gradient(70% 60% at 15% 10%, color-mix(in srgb, var(--acc2) 40%, white), transparent 70%),
        radial-gradient(60% 70% at 90% 30%, color-mix(in srgb, var(--acc) 30%, white), transparent 70%),
        linear-gradient(160deg, #F8FAFC, color-mix(in srgb, var(--acc) 18%, #E2E8F0));
}
.exh-style-glass .exh-card, .exh-style-glass .exh-hello-stats > div {
    background: var(--glass); border: 1px solid var(--glass-border); border-radius: 22px; color: inherit;
    backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px rgba(0,0,0,.12);
}
.exh-style-glass .exh-meter-card { border-top: 0; }
.exh-room-title { font: 700 1.35rem 'Space Grotesk', sans-serif; margin: .25rem .25rem .6rem; display: flex; align-items: baseline; gap: .6rem; }
.exh-room-meta { font: 500 .8rem Inter, sans-serif; opacity: .7; }
.exh-room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .6rem; }

/* ---------- Pirula (Buborék és Üveg csempe) ---------- */
.exh-pill { position: relative; display: flex; align-items: center; gap: .75rem; min-height: 64px; height: 100%; padding: .55rem .7rem; border-radius: 999px;
    background: var(--exh-card); border: 1px solid var(--exh-border); overflow: hidden; transition: background .25s, color .25s; }
.exh-pill::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--acc), var(--acc2)); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.8,.2,1); z-index: 0; }
.exh-pill.is-on::before { transform: scaleX(1); }
.exh-pill.is-on { color: #fff; border-color: transparent; }
.exh-pill > * { position: relative; z-index: 1; }
.exh-pill-hit { position: absolute !important; inset: 0; border: 0; background: transparent; z-index: 2 !important; border-radius: inherit; }
.exh-pill-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; flex-shrink: 0; background: rgba(var(--acc-rgb), .12); color: var(--acc); }
.exh-pill.is-on .exh-pill-icon { background: rgba(255,255,255,.25); color: #fff; }
.exh-pill-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.exh-pill-name { font-weight: 600; }
.exh-pill-state { font-size: .8rem; opacity: .75; }
.exh-pill-actions { display: flex; align-items: center; gap: .25rem; z-index: 3 !important; }
.exh-pill-actions button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(var(--acc-rgb), .12); color: var(--acc); font-size: 1.2rem; }
.exh-pill.is-on .exh-pill-actions button { background: rgba(255,255,255,.22); color: #fff; }
.exh-pill-temp { font: 700 1.1rem 'Space Grotesk', sans-serif; min-width: 2.2rem; text-align: center; }
.exh-pill.is-off { opacity: .5; }
/* Üveg csempe: lekerekített téglalap, Apple Home-szerű */
.exh-pill.is-glass { border-radius: 18px; min-height: 68px; background: var(--glass); border-color: var(--glass-border); color: inherit; backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
.exh-pill.is-glass::before { background: rgba(255,255,255,.92); }
.exh-pill.is-glass.is-on { color: #0F172A; }
.exh-pill.is-glass.is-on .exh-pill-icon { background: color-mix(in srgb, var(--acc) 18%, white); color: var(--acc); }
.exh-pill.is-glass.is-on .exh-pill-light .exh-pill-icon, .exh-pill-light.is-glass.is-on .exh-pill-icon { background: #FEF3C7; color: #D97706; }
.exh-pill.is-glass.is-on .exh-pill-actions button { background: rgba(15,23,42,.08); color: #0F172A; }

/* ---------- Buborék stílus (Bubble Card-szerű) ---------- */
.exh-style-bubble { border-radius: 28px; padding: .75rem; background: var(--exh-bg); }
.exh-style-bubble .exh-card { border-radius: 32px; }
.exh-style-bubble .exh-meter-card { border-top: 0; }
.exh-style-bubble .exh-hello-stats > div { background: var(--exh-card); border-color: var(--exh-border); }
[data-bs-theme="dark"] .exh-style-bubble { --exh-card: #1A1D24; --exh-border: #262B34; --exh-bg: #0F1115; }

/* Megjelenés panel – új bélyegképek */
.exh-style-pick { grid-template-columns: repeat(3, 1fr); }
.exh-thumb-glass { grid-template-columns: 1fr 1fr 1fr; background: linear-gradient(160deg, #0F766E, #0B1220); }
.exh-thumb-glass i { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.35); }
.exh-thumb-bubble { grid-template-columns: 1fr; }
.exh-thumb-bubble i { border-radius: 999px; height: 7px; }
.exh-thumb-bubble i:nth-child(1), .exh-thumb-bubble i:nth-child(3) { background: linear-gradient(90deg, #0F766E, #14B8A6); border: 0; }

/* ---------- Mobil: szép, de kompakt (minden stílusra) ---------- */
@media (max-width: 767.98px) {
    .exh-main { padding-left: .6rem; padding-right: .6rem; }
    .exh-page-head { margin-bottom: .75rem; }
    .exh-page-head .exh-h1 { font-size: 1.45rem; }
    .exh-page-head .exh-muted { display: none; }
    .exh-actions .btn span { display: none; }
    .exh-dash { padding: .4rem !important; border-radius: 22px !important; }
    .exh-dash .exh-card { padding: .8rem; border-radius: 18px; }
    .exh-hello { padding: .25rem .4rem; gap: .5rem; }
    .exh-hello-time { font-size: 2.3rem; }
    .exh-hello-greet { font-size: .95rem; }
    .exh-hello-stats { gap: .35rem; }
    .exh-hello-stats > div { padding: .3rem .65rem; font-size: .85rem; }
    .exh-hello-stats span { display: none; }
    .exh-big { font-size: 1.5rem; }
    .exh-mini-stats { gap: .8rem; margin-top: .5rem; padding-top: .5rem; }
    .exh-pill { min-height: 54px; gap: .55rem; padding: .35rem .45rem; }
    .exh-pill-icon { width: 40px; height: 40px; font-size: 1.25rem; }
    .exh-pill-actions button { width: 34px; height: 34px; font-size: 1.05rem; }
    .exh-pill.is-glass { min-height: 58px; border-radius: 16px; }
    .exh-room-grid { grid-template-columns: 1fr 1fr; gap: .45rem; }
    .exh-room-grid .exh-pill-cover, .exh-room-grid .exh-pill-climate, .exh-room-grid .exh-pill-tv { grid-column: span 2; }
    .exh-room-title { font-size: 1.1rem; margin-bottom: .4rem; }
    .exh-tile { padding: .7rem; border-radius: 18px; }
    .exh-tile-icon { width: 38px; height: 38px; font-size: 1.35rem; border-radius: 12px; }
    .exh-tile-name { font-size: .92rem; }
    .exh-row { min-height: 44px; padding: .4rem 0; gap: .7rem; }
    .exh-group-title { font-size: 1.15rem; }
    .exh-chip { padding: .3rem .7rem; font-size: .85rem; }
    .exh-climate { margin: .5rem 0 .4rem; }
    .exh-climate-temp { font-size: 1.5rem; }
    .exh-cam-bar { padding: .45rem .55rem; }
    .exh-cam-q button { padding: .25rem .45rem; }
    /* Lebegő, üveghatású alsó menü */
    .exh-tabbar { left: .6rem; right: .6rem; bottom: calc(.5rem + env(safe-area-inset-bottom)); border-radius: 22px; border: 1px solid rgba(255,255,255,.4);
        background: color-mix(in srgb, var(--exh-card) 72%, transparent); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6);
        box-shadow: 0 10px 30px rgba(15,23,42,.18); padding: .35rem 0; }
    [data-bs-theme="dark"] .exh-tabbar { border-color: rgba(255,255,255,.08); }
    .exh-tab-plus span { margin-top: -1.4rem; }
    .exh-topbar { background: color-mix(in srgb, var(--exh-card) 78%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
}

/* ---------- Automatizmusok ---------- */
.exh-tabs .nav-link { border-radius: 999px; color: var(--exh-muted); }
.exh-tabs .nav-link.active { background: var(--exh-primary); color: #fff; }
.exh-auto-icon { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: rgba(var(--exh-primary-rgb), .1); color: var(--exh-primary); flex-shrink: 0; }
.exh-auto-icon.is-off { background: var(--exh-bg); color: var(--exh-muted); }
.exh-auto-x { position: absolute; right: -6px; top: -6px; font-size: 1rem; color: var(--exh-muted); background: var(--exh-card); border-radius: 50%; }
.exh-step { border: 1px solid var(--exh-border); border-radius: 12px; padding: .6rem; display: flex; flex-direction: column; gap: .4rem; background: var(--exh-card); }
.exh-step-head { display: flex; align-items: center; gap: .6rem; font-size: .85rem; }
.exh-step-head strong { flex: 1; }
.exh-days { display: flex; gap: .25rem; flex-wrap: wrap; }
.exh-day { border: 1px solid var(--exh-border); background: transparent; border-radius: 999px; min-width: 2.4rem; padding: .2rem .45rem; font-size: .8rem; color: inherit; }
.exh-day.on { background: var(--exh-primary); border-color: var(--exh-primary); color: #fff; }
.exh-day-presets { margin-top: .2rem; }
.exh-flash { animation: exhflash .9s; }
@keyframes exhflash { 0% { box-shadow: 0 0 0 0 rgba(var(--exh-primary-rgb), .6); } 100% { box-shadow: 0 0 0 14px rgba(var(--exh-primary-rgb), 0); } }
.min-w-0 { min-width: 0; }
.exh-scenes { display: flex; gap: .5rem; align-items: center; overflow-x: auto; scrollbar-width: none; }
.exh-scene-btn { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid var(--glass-border, var(--exh-border)); background: var(--glass, var(--exh-card)); color: inherit; border-radius: 999px; padding: .55rem 1rem; white-space: nowrap; font-weight: 600; backdrop-filter: blur(14px); }
.exh-scene-btn .mdi { font-size: 1.3rem; color: var(--acc, var(--exh-primary)); }
.exh-scene-btn:active { transform: scale(.96); }
.exh-check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .4rem; }
.exh-check { display: flex; align-items: center; gap: .55rem; border: 1px solid var(--exh-border); border-radius: 12px; padding: .5rem .65rem; cursor: pointer; }
.exh-check .mdi { font-size: 1.3rem; color: var(--exh-muted); }
.exh-check:has(input:checked) { border-color: var(--exh-primary); background: rgba(var(--exh-primary-rgb), .06); }
.exh-check:has(input:checked) .mdi { color: var(--exh-primary); }

/* ---------- Tagolás: többcsatornás eszközök egy csempén, nem elérhetők összecsukva, típusszűrő ---------- */
.exh-room-title { flex-wrap: wrap; }
.exh-room-link { margin-left: auto; font: 600 .8rem Inter, sans-serif; color: inherit; opacity: .85; text-decoration: none; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.14); }
.exh-room-link:hover { opacity: 1; background: rgba(255,255,255,.24); }
.exh-room-link .mdi { margin-right: .3rem; }
.exh-unit { grid-column: span 2; display: flex; flex-direction: column; gap: .5rem; padding: .55rem .7rem .65rem; border-radius: 18px; border: 1px solid var(--glass-border, var(--exh-border)); background: var(--glass, var(--exh-card)); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); min-width: 0; }
@media (max-width: 575.98px) { .exh-unit { grid-column: 1 / -1; } }
.exh-unit-top { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.exh-unit-top .exh-pill-icon { width: 34px; height: 34px; font-size: 1.15rem; }
.exh-unit.is-on .exh-unit-top .exh-pill-icon { background: rgba(255,255,255,.92); color: var(--acc); }
.exh-unit.is-off { opacity: .5; }
.exh-chans { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: .35rem; }
.exh-chan button { width: 100%; min-height: 38px; padding: .3rem .5rem; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: inherit; font-weight: 600; font-size: .82rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: background .2s, color .2s, transform .1s; }
.exh-chan button:active { transform: scale(.97); }
.exh-chan.is-on button { background: rgba(255,255,255,.92); color: #0F172A; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.exh-chan.is-off button, .exh-chan button:disabled { opacity: .5; }
[data-bs-theme="light"] .exh-chan button { background: rgba(15,23,42,.06); }
[data-bs-theme="light"] .exh-chan.is-on button { background: var(--acc); color: #fff; }
.exh-offline > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; opacity: .7; padding: .35rem .8rem; border-radius: 999px; background: rgba(127,127,127,.12); }
.exh-offline > summary::-webkit-details-marker { display: none; }
.exh-offline > summary::after { content: "\F0140"; font-family: "Material Design Icons"; transition: transform .2s; }
.exh-offline[open] > summary::after { transform: rotate(180deg); }
.exh-offline > summary:hover { opacity: 1; }
/* Vezérlés oldal */
.exh-unit-card { display: flex; flex-direction: column; gap: .4rem; }
.exh-unit-head { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.exh-unit-rows .exh-row { border-top: 1px solid var(--exh-border); padding: .4rem 0; min-height: 44px; }
.exh-unit-rows .exh-row-name { font-size: .95rem; }
.exh-row-gear { color: var(--exh-muted); padding: 0 .1rem; }
.exh-filter { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.exh-filter::-webkit-scrollbar { display: none; }
.exh-filter button { flex-shrink: 0; display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--exh-border); background: var(--exh-card); color: inherit; border-radius: 999px; padding: .35rem .85rem; font-size: .875rem; font-weight: 500; }
.exh-filter button span { opacity: .6; font-size: .8rem; }
.exh-filter button.active { background: var(--exh-primary); border-color: var(--exh-primary); color: #fff; }
/* Helyiség-javaslat */
.exh-rooms-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .85rem 1.1rem; border-bottom: 1px solid var(--exh-border); }
.exh-rooms-row { display: flex; align-items: center; gap: .8rem; padding: .6rem 1.1rem; border-bottom: 1px solid var(--exh-border); }
.exh-rooms-row.is-off { opacity: .6; }
.exh-rooms-input { width: 12rem; flex-shrink: 0; }
@media (max-width: 575.98px) { .exh-rooms-row { flex-wrap: wrap; } .exh-rooms-input { width: 100%; } }
