/* =========================================================
   Firmenportal – Design-System (6 Themes über CSS-Variablen)
   ========================================================= */
:root, [data-theme="aurora"] {
  --bg: #0b0b1a; --bg-2: #12112a; --surface: rgba(255,255,255,.055); --surface-solid: #16152f; --surface-2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.10); --text: #eceaff; --muted: #9c98c7; --primary: #7c5cff; --primary-2: #22d3ee;
  --primary-contrast: #fff; --ok: #22c55e; --warn: #f59e0b; --bad: #f43f5e; --info: #38bdf8;
  --glow: 0 0 0 1px rgba(124,92,255,.25), 0 10px 40px -10px rgba(124,92,255,.5);
  --shadow: 0 20px 50px -20px rgba(0,0,0,.6); --blur: 18px; --input: rgba(255,255,255,.06);
  --bg-grad: radial-gradient(1200px 600px at 10% -10%, rgba(124,92,255,.25), transparent 60%), radial-gradient(900px 500px at 110% 10%, rgba(34,211,238,.18), transparent 60%), #0b0b1a;
  --b1: #7c5cff; --b2: #22d3ee; --b3: #f472b6; color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f4f6fb; --bg-2: #ffffff; --surface: #ffffff; --surface-solid: #ffffff; --surface-2: #f1f3f9;
  --border: #e4e7f0; --text: #1c1b33; --muted: #6b6f8c; --primary: #4f46e5; --primary-2: #0ea5e9;
  --primary-contrast: #fff; --ok: #16a34a; --warn: #d97706; --bad: #e11d48; --info: #0284c7;
  --glow: 0 0 0 1px rgba(79,70,229,.15), 0 10px 30px -12px rgba(79,70,229,.35);
  --shadow: 0 12px 34px -16px rgba(28,27,51,.18); --blur: 0px; --input: #f6f7fb;
  --bg-grad: radial-gradient(1000px 500px at 0% -20%, rgba(79,70,229,.10), transparent 60%), radial-gradient(800px 400px at 100% 0%, rgba(14,165,233,.10), transparent 60%), #f4f6fb;
  --b1: #818cf8; --b2: #38bdf8; --b3: #f9a8d4; color-scheme: light;
}
[data-theme="midnight"] {
  --bg: #070d1a; --bg-2: #0c1528; --surface: rgba(96,165,250,.06); --surface-solid: #0f1a31; --surface-2: rgba(96,165,250,.11);
  --border: rgba(148,163,184,.14); --text: #e6eefc; --muted: #8ea0c2; --primary: #3b82f6; --primary-2: #60a5fa;
  --primary-contrast: #fff; --ok: #34d399; --warn: #fbbf24; --bad: #f87171; --info: #38bdf8;
  --glow: 0 0 0 1px rgba(59,130,246,.3), 0 10px 40px -10px rgba(59,130,246,.45);
  --shadow: 0 20px 50px -20px rgba(0,0,0,.7); --blur: 14px; --input: rgba(148,163,184,.08);
  --bg-grad: radial-gradient(1000px 600px at 50% -20%, rgba(59,130,246,.22), transparent 60%), #070d1a;
  --b1: #1d4ed8; --b2: #0ea5e9; --b3: #6366f1; color-scheme: dark;
}
[data-theme="sunset"] {
  --bg: #170c12; --bg-2: #22111a; --surface: rgba(255,200,200,.06); --surface-solid: #26131c; --surface-2: rgba(255,200,200,.10);
  --border: rgba(255,190,190,.12); --text: #fff1ee; --muted: #c9a2a6; --primary: #fb7185; --primary-2: #f59e0b;
  --primary-contrast: #1a0b10; --ok: #4ade80; --warn: #fbbf24; --bad: #ef4444; --info: #f0abfc;
  --glow: 0 0 0 1px rgba(251,113,133,.3), 0 10px 40px -10px rgba(251,113,133,.5);
  --shadow: 0 20px 50px -20px rgba(0,0,0,.7); --blur: 16px; --input: rgba(255,200,200,.07);
  --bg-grad: radial-gradient(1000px 600px at 0% 0%, rgba(251,113,133,.25), transparent 60%), radial-gradient(800px 500px at 100% 20%, rgba(245,158,11,.18), transparent 60%), #170c12;
  --b1: #fb7185; --b2: #f59e0b; --b3: #c026d3; color-scheme: dark;
}
[data-theme="forest"] {
  --bg: #08110d; --bg-2: #0d1a14; --surface: rgba(163,230,53,.05); --surface-solid: #0f1e17; --surface-2: rgba(163,230,53,.09);
  --border: rgba(187,247,208,.12); --text: #ecfdf3; --muted: #95b8a5; --primary: #10b981; --primary-2: #a3e635;
  --primary-contrast: #04140d; --ok: #4ade80; --warn: #facc15; --bad: #f87171; --info: #5eead4;
  --glow: 0 0 0 1px rgba(16,185,129,.3), 0 10px 40px -10px rgba(16,185,129,.45);
  --shadow: 0 20px 50px -20px rgba(0,0,0,.7); --blur: 14px; --input: rgba(187,247,208,.06);
  --bg-grad: radial-gradient(900px 600px at 20% -10%, rgba(16,185,129,.22), transparent 60%), radial-gradient(700px 400px at 100% 100%, rgba(163,230,53,.12), transparent 60%), #08110d;
  --b1: #059669; --b2: #84cc16; --b3: #14b8a6; color-scheme: dark;
}
[data-theme="neon"] {
  --bg: #0a0a0a; --bg-2: #121212; --surface: #151515; --surface-solid: #151515; --surface-2: #1f1f1f;
  --border: #2a2a2a; --text: #f5f5f5; --muted: #a3a3a3; --primary: #facc15; --primary-2: #f97316;
  --primary-contrast: #111; --ok: #22c55e; --warn: #f97316; --bad: #ef4444; --info: #38bdf8;
  --glow: 0 0 0 1px rgba(250,204,21,.4), 0 0 30px -6px rgba(250,204,21,.55);
  --shadow: 0 16px 40px -18px rgba(0,0,0,.9); --blur: 0px; --input: #1b1b1b;
  --bg-grad: repeating-linear-gradient(135deg, rgba(250,204,21,.035) 0 12px, transparent 12px 24px), #0a0a0a;
  --b1: #facc15; --b2: #f97316; --b3: #eab308; color-scheme: dark;
}

/* ---------- Basis ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; color: var(--text); background: var(--bg-grad); background-attachment: fixed; min-height: 100vh; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 1.7rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.08rem; }
p { margin: 0 0 .8em; }
code { background: var(--surface-2); padding: .1em .4em; border-radius: 6px; font-size: .9em; }
img { max-width: 100%; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .center { text-align: center; } .mt { margin-top: 1.4rem; } .mb0 { margin-bottom: 0; }
[hidden] { display: none !important; }
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.grad-text { background: linear-gradient(90deg, var(--primary), var(--primary-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--primary); color: var(--primary-contrast); }
::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; }

/* ---------- Glas / Karten ---------- */
.glass, .card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); backdrop-filter: blur(var(--blur)) saturate(140%); -webkit-backdrop-filter: blur(var(--blur)) saturate(140%); }
.card { padding: 20px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.card-head h2, .card-head h3 { margin: 0; }
.cards { display: grid; gap: 18px; align-content: start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.stack > * + * { margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn { --c: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--c); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--primary-2))); color: var(--primary-contrast); border-color: transparent; box-shadow: var(--glow); }
.btn-ghost { background: transparent; }
.btn-danger { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, transparent); }
.btn-ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); }
.btn-sm { padding: 5px 10px; font-size: .85rem; border-radius: 9px; }
.btn-lg { padding: 13px 22px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-icon { width: 40px; height: 40px; padding: 0; border-radius: 12px; font-size: 1.1rem; position: relative; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.5s ease-in-out infinite; }
.btn-shine span { transition: transform .2s; } .btn-shine:hover span { transform: translateX(4px); }
@keyframes shine { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; position: relative; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--input); border: 1px solid var(--border); border-radius: 12px; padding: 11px 13px; outline: none; transition: border .15s, box-shadow .15s, background .15s; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select option { background: var(--surface-solid); color: var(--text); }
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 20%, transparent); }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--primary); }
input[type=file] { padding: 9px; }
input[type=color] { padding: 2px; height: 42px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 3px; }
.field.float { display: block; }
.field.float input, .field.float select { padding: 20px 14px 7px; height: 54px; }
.field.float > span { position: absolute; left: 15px; top: 17px; pointer-events: none; transition: all .16s ease; font-weight: 500; font-size: .95rem; }
.field.float input:focus + span, .field.float input:not(:placeholder-shown) + span, .field.float.sel > span { top: 7px; font-size: .72rem; color: var(--primary); font-weight: 700; letter-spacing: .02em; }
.field.pw input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; opacity: .55; font-size: 1rem; color: var(--text); padding: 6px; }
.pw-toggle.on { opacity: 1; }
.pw-meter { height: 5px; background: var(--surface-2); border-radius: 5px; overflow: hidden; margin-top: -6px; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--bad); transition: width .25s, background .25s; }
.pw-meter i[data-s="3"] { background: var(--warn); } .pw-meter i[data-s="4"], .pw-meter i[data-s="5"] { background: var(--ok); }
.seg { display: inline-flex; background: var(--surface-2); padding: 4px; border-radius: 14px; gap: 4px; flex-wrap: wrap; }
.seg label { cursor: pointer; } .seg input { display: none; }
.seg span { display: block; padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--muted); transition: all .2s; }
.seg input:checked + span { background: var(--primary); color: var(--primary-contrast); box-shadow: var(--glow); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch i { width: 44px; height: 24px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 30px; position: relative; transition: background .2s; flex: none; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + i { background: var(--primary); } .switch input:checked + i::after { transform: translateX(20px); }

/* ---------- Alerts, Badges ---------- */
.alert { padding: 12px 15px; border-radius: 12px; border: 1px solid; font-size: .92rem; }
.alert-error { background: color-mix(in srgb, var(--bad) 13%, transparent); border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: color-mix(in srgb, var(--bad) 70%, var(--text)); }
.alert-success { background: color-mix(in srgb, var(--ok) 13%, transparent); border-color: color-mix(in srgb, var(--ok) 35%, transparent); color: color-mix(in srgb, var(--ok) 70%, var(--text)); }
.alert-info { background: color-mix(in srgb, var(--info) 12%, transparent); border-color: color-mix(in srgb, var(--info) 30%, transparent); }
.alert-warn { background: color-mix(in srgb, var(--warn) 13%, transparent); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 30px; font-size: .75rem; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.badge.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.badge.bad { background: color-mix(in srgb, var(--bad) 18%, transparent); color: var(--bad); }
.badge.info { background: color-mix(in srgb, var(--info) 18%, transparent); color: var(--info); }
.badge.pri { background: color-mix(in srgb, var(--primary) 20%, transparent); color: var(--primary); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--primary)); flex: none; }
.count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 20px; background: var(--bad); color: #fff; font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.btn-icon .count { position: absolute; top: -5px; right: -5px; }

/* ---------- Avatar ---------- */
.avatar { --av: var(--primary); position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--av), color-mix(in srgb, var(--av) 50%, #000)); color: #fff; font-weight: 700; flex: none; }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.avatar-xs { width: 24px; height: 24px; font-size: .62rem; } .avatar-sm { width: 32px; height: 32px; font-size: .75rem; } .avatar-md { width: 40px; height: 40px; font-size: .9rem; } .avatar-lg { width: 64px; height: 64px; font-size: 1.3rem; } .avatar-xl { width: 110px; height: 110px; font-size: 2.2rem; }
.online-dot { position: absolute; right: 0; bottom: 0; width: 28%; height: 28%; min-width: 8px; min-height: 8px; border-radius: 50%; background: var(--ok); border: 2px solid var(--bg); }
.user-chip { display: inline-flex; align-items: center; gap: 9px; }
.user-chip b { display: block; font-size: .92rem; } .user-chip small { color: var(--muted); display: block; font-size: .78rem; }

/* ---------- Tabelle ---------- */
.table-wrap { overflow-x: auto; margin: 0 -4px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; } .table tbody tr:hover { background: var(--surface-2); }
.table .actions { text-align: right; white-space: nowrap; }
.empty { text-align: center; padding: 34px 10px; color: var(--muted); }
.empty .big { font-size: 2.4rem; display: block; margin-bottom: 6px; }

/* ---------- App-Layout ---------- */
.app { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 18px 14px; display: flex; flex-direction: column; gap: 6px; border-right: 1px solid var(--border); background: color-mix(in srgb, var(--bg-2) 70%, transparent); backdrop-filter: blur(var(--blur)); z-index: 40; overflow-y: auto; }
.sb-brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 16px; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; color: var(--primary-contrast); background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: var(--glow); letter-spacing: -.02em; flex: none; }
.sb-brand b { font-size: 1rem; line-height: 1.15; } .sb-brand small { display: block; color: var(--muted); font-size: .74rem; }
.nav-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 14px 12px 4px; font-weight: 700; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; color: var(--text); font-weight: 500; opacity: .82; text-decoration: none; transition: background .15s, opacity .15s, transform .15s; position: relative; }
.nav a:hover { background: var(--surface-2); opacity: 1; }
.nav a.on { background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 26%, transparent), transparent); opacity: 1; font-weight: 700; }
.nav a.on::before { content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 4px 4px 0; background: var(--primary); box-shadow: 0 0 12px var(--primary); }
.nav .ico { width: 22px; text-align: center; font-size: 1.05rem; }
.nav .count { margin-left: auto; }
.sb-foot { margin-top: auto; padding-top: 14px; }
.sb-user { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.sb-user .grow { flex: 1; min-width: 0; } .sb-user b { display: block; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 14px 28px; background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.topbar h1 { font-size: 1.25rem; margin: 0; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu-btn { display: none; }
.content { padding: 26px 28px 60px; max-width: 1500px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head p { margin: 0; }
.scrim { display: none; }

/* Dropdown */
.dd { position: relative; }
.dd-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 280px; max-width: 92vw; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60; }
.dd.open .dd-menu { display: block; animation: pop .16s ease; }
.dd-menu a.item, .dd-menu button.item { display: flex; gap: 10px; align-items: center; width: 100%; padding: 9px 11px; border-radius: 10px; color: var(--text); background: none; border: 0; font: inherit; cursor: pointer; text-align: left; text-decoration: none; }
.dd-menu .item:hover { background: var(--surface-2); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Benachrichtigungen */
.notif-list { max-height: 60vh; overflow-y: auto; }
.notif { display: flex; gap: 10px; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
.notif:hover { background: var(--surface-2); }
.notif.unread { background: color-mix(in srgb, var(--primary) 10%, transparent); }
.notif .n-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.notif b { font-size: .88rem; display: block; } .notif small { color: var(--muted); font-size: .78rem; }

/* Theme-Picker */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.theme-card { position: relative; cursor: pointer; border: 2px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--surface); transition: transform .15s, border-color .15s; }
.theme-card:hover { transform: translateY(-2px); }
.theme-card input { position: absolute; opacity: 0; }
.theme-card:has(input:checked) { border-color: var(--primary); box-shadow: var(--glow); }
.theme-prev { height: 76px; display: flex; align-items: flex-end; gap: 6px; padding: 10px; }
.theme-prev i { height: 22px; border-radius: 6px; flex: 1; }
.theme-card .tc-b { padding: 10px 12px; } .theme-card b { display: block; font-size: .92rem; } .theme-card small { color: var(--muted); font-size: .76rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat { padding: 18px; position: relative; overflow: hidden; }
.stat .s-ico { position: absolute; right: 14px; top: 14px; font-size: 1.6rem; opacity: .9; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); }
.stat b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .85rem; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--c, var(--primary)), transparent); }
.hello { padding: 26px; margin-bottom: 18px; position: relative; overflow: hidden; }
.hello::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 45%, transparent), transparent 70%); }
.hello h2 { font-size: 1.6rem; position: relative; } .hello p { position: relative; margin: 0; }
.list { display: grid; gap: 4px; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
a.list-item:hover { background: var(--surface-2); }
.list-item .grow { flex: 1; min-width: 0; }
.list-item .grow b { display: block; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-item .grow small { color: var(--muted); font-size: .8rem; }
.date-tile { width: 46px; flex: none; text-align: center; border-radius: 12px; background: var(--surface-2); padding: 5px 0; line-height: 1.1; }
.date-tile b { display: block; font-size: 1.15rem; } .date-tile small { font-size: .66rem; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* Ankündigungen */
.news { padding: 18px 20px; border-left: 4px solid var(--c, var(--info)); }
.news.pinned { box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent); }
.news .meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .82rem; margin-bottom: 8px; flex-wrap: wrap; }
.news .body { white-space: pre-line; }

/* Tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; text-decoration: none; }
.tabs a.on { color: var(--text); border-color: var(--primary); }
.tabs a .count { margin-left: 6px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(5,5,15,.55); backdrop-filter: blur(4px); }
.modal.open { display: flex; animation: fade .2s; }
.modal-box { width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; background: var(--surface-solid); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 22px; animation: pop .2s ease; }
.modal-box.wide { max-width: 860px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.modal-head h3 { margin: 0; }
@keyframes fade { from { opacity: 0; } }

/* Toasts */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: grid; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 13px 15px; background: var(--surface-solid); border: 1px solid var(--border); border-left: 4px solid var(--c, var(--primary)); border-radius: 14px; box-shadow: var(--shadow); animation: slidein .25s ease; cursor: pointer; }
.toast b { display: block; font-size: .9rem; } .toast small { color: var(--muted); }
.toast.out { animation: slideout .25s ease forwards; }
@keyframes slidein { from { opacity: 0; transform: translateX(30px); } }
@keyframes slideout { to { opacity: 0; transform: translateX(30px); } }

/* ---------- Dokumente ---------- */
.folders { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 20px; }
.folder { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; color: var(--text); text-decoration: none !important; transition: transform .15s, box-shadow .2s; }
.folder:hover { transform: translateY(-2px); box-shadow: var(--glow); }
.folder .f-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: color-mix(in srgb, var(--c) 22%, transparent); color: var(--c); flex: none; }
.folder b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .folder small { color: var(--muted); }
.folder.on { border-color: var(--primary); }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.file { border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s; }
.file:hover { transform: translateY(-2px); }
.file .thumb { height: 120px; display: grid; place-items: center; font-size: 2.6rem; background: var(--surface-2); overflow: hidden; }
.file .thumb img { width: 100%; height: 100%; object-fit: cover; }
.file .f-b { padding: 11px 12px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
.file .f-b b { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .f-b small { color: var(--muted); font-size: .76rem; }
.file .f-act { display: flex; gap: 6px; padding: 0 12px 12px; }
.dropzone { border: 2px dashed var(--border); border-radius: 16px; padding: 26px; text-align: center; color: var(--muted); transition: all .2s; cursor: pointer; position: relative; }
.dropzone.over { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, transparent); color: var(--text); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .dz-ico { font-size: 2rem; display: block; margin-bottom: 4px; }
.crumbs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .9rem; margin-bottom: 14px; color: var(--muted); }

/* ---------- Fahrzeuge ---------- */
.vehicles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.vehicle { overflow: hidden; color: var(--text); text-decoration: none !important; display: flex; flex-direction: column; transition: transform .15s, box-shadow .2s; }
.vehicle:hover { transform: translateY(-3px); box-shadow: var(--glow); }
.vehicle .v-img { height: 150px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 30%, var(--surface-2)), var(--surface-2)); display: grid; place-items: center; font-size: 3.2rem; overflow: hidden; }
.vehicle .v-img img { width: 100%; height: 100%; object-fit: cover; }
.vehicle .v-b { padding: 14px 16px 16px; }
.plate { display: inline-flex; align-items: stretch; border: 2px solid #111; border-radius: 6px; background: #fff; color: #111; font-family: "DIN 1451", "Arial Narrow", Arial, sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; overflow: hidden; line-height: 1; }
.plate::before { content: "D"; background: #1e40af; color: #fde047; font-size: .62rem; padding: 12px 4px 3px; display: flex; align-items: flex-end; }
.plate span { padding: 5px 9px; }
.plate.lg { font-size: 1.5rem; } .plate.lg::before { font-size: .8rem; padding: 18px 6px 4px; }
.kv { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.kv div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.kv small { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.kv b { font-size: .98rem; }

/* ---------- Urlaub / Kalender ---------- */
.cal-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--border); }
.cal { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .78rem; }
.cal th, .cal td { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; padding: 0; height: 38px; min-width: 30px; }
.cal thead th { position: sticky; top: 0; background: var(--surface-solid); z-index: 2; font-weight: 700; padding: 5px 2px; line-height: 1.15; }
.cal thead th small { display: block; font-weight: 500; color: var(--muted); font-size: .66rem; }
.cal .name { position: sticky; left: 0; z-index: 3; background: var(--surface-solid); text-align: left; padding: 4px 10px; min-width: 190px; white-space: nowrap; }
.cal thead .name { z-index: 4; }
.cal .we { background: color-mix(in srgb, var(--text) 4%, transparent); }
.cal .hol { background: color-mix(in srgb, var(--warn) 14%, transparent); }
.cal .today { box-shadow: inset 0 0 0 2px var(--primary); }
.cal .clo { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--muted) 16%, transparent) 0 4px, transparent 4px 8px); }
.cal .ab { position: relative; }
.cal .ab > i { position: absolute; inset: 7px 1px; border-radius: 6px; background: var(--c); display: block; }
.cal .ab.pending > i { background: repeating-linear-gradient(45deg, var(--c) 0 5px, color-mix(in srgb, var(--c) 40%, transparent) 5px 10px); opacity: .85; }
.cal .ab.half > i { right: 50%; }
.cal .ab.start > i { left: 4px; } .cal .ab.end > i { right: 4px; }
.cal tr.me .name { font-weight: 800; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 10px; border-radius: 3px; background: var(--c); display: inline-block; }
.bal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bal div { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; }
.bal b { font-size: 1.5rem; display: block; } .bal small { color: var(--muted); }
.progress { height: 10px; background: var(--surface-2); border-radius: 10px; overflow: hidden; display: flex; }
.progress i { display: block; height: 100%; background: var(--c, var(--primary)); }
.type-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 30px; font-size: .8rem; font-weight: 600; background: color-mix(in srgb, var(--c) 18%, transparent); color: color-mix(in srgb, var(--c) 75%, var(--text)); }
.month-nav { display: flex; align-items: center; gap: 8px; }
.month-nav b { min-width: 150px; text-align: center; font-size: 1.05rem; }

/* ---------- Chat ---------- */
.chat { display: grid; grid-template-columns: 290px 1fr; height: calc(100vh - 150px); min-height: 480px; overflow: hidden; padding: 0; }
.chat-side { border-right: 1px solid var(--border); display: flex; flex-direction: column; min-height: 0; }
.chat-side .cs-head { padding: 14px; border-bottom: 1px solid var(--border); display: flex; gap: 8px; }
.chat-side .cs-list { overflow-y: auto; flex: 1; padding: 8px; }
.ch-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; cursor: pointer; color: var(--text); text-decoration: none !important; }
.ch-item:hover { background: var(--surface-2); }
.ch-item.on { background: color-mix(in srgb, var(--primary) 18%, transparent); }
.ch-item .ch-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.ch-item .grow { flex: 1; min-width: 0; } .ch-item .grow b { display: block; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .ch-item .grow small { color: var(--muted); font-size: .76rem; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ch-item.unread b { font-weight: 800; }
.chat-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.chat-head { padding: 12px 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; }
.chat-head .grow { flex: 1; min-width: 0; } .chat-head b { display: block; } .chat-head small { color: var(--muted); }
.chat-back { display: none; }
.messages { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.msg { display: flex; gap: 10px; max-width: 78%; align-items: flex-end; }
.msg .bubble { background: var(--surface-2); padding: 8px 12px; border-radius: 16px 16px 16px 5px; position: relative; word-wrap: break-word; overflow-wrap: anywhere; }
.msg .who { font-size: .76rem; font-weight: 700; color: var(--c, var(--primary)); margin-bottom: 1px; }
.msg .txt { white-space: pre-wrap; }
.msg .time { font-size: .68rem; color: var(--muted); margin-left: 8px; float: right; margin-top: 6px; }
.msg.me { align-self: flex-end; flex-direction: row-reverse; }
.msg.me .bubble { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, var(--primary-2))); color: var(--primary-contrast); border-radius: 16px 16px 5px 16px; }
.msg.me .time { color: color-mix(in srgb, var(--primary-contrast) 70%, transparent); }
.msg.cont .avatar { visibility: hidden; } .msg.cont .who { display: none; }
.msg:not(.cont) { margin-top: 10px; }
.msg .att { display: flex; gap: 8px; align-items: center; margin-top: 4px; padding: 8px; border-radius: 10px; background: rgba(0,0,0,.14); color: inherit; text-decoration: none; }
.msg .att-img { display: block; margin-top: 4px; max-width: 280px; border-radius: 10px; overflow: hidden; }
.msg .del-btn { opacity: 0; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: .8rem; align-self: center; }
.msg:hover .del-btn { opacity: 1; }
.msg.deleted .txt { font-style: italic; opacity: .6; }
.day-sep { align-self: center; font-size: .74rem; color: var(--muted); background: var(--surface-2); padding: 3px 12px; border-radius: 20px; margin: 14px 0 4px; }
.composer { border-top: 1px solid var(--border); padding: 12px; display: flex; gap: 8px; align-items: flex-end; }
.composer textarea { min-height: 44px; max-height: 160px; resize: none; border-radius: 14px; padding: 11px 14px; }
.composer .file-chip { font-size: .8rem; display: none; align-items: center; gap: 6px; }
.composer-wrap { border-top: 1px solid var(--border); }
.composer-wrap .composer { border-top: 0; }
.file-preview { padding: 8px 14px 0; font-size: .85rem; color: var(--muted); display: none; }
.file-preview.on { display: flex; gap: 8px; align-items: center; }
.emoji-bar { display: none; flex-wrap: wrap; gap: 4px; padding: 8px 12px 0; }
.emoji-bar.on { display: flex; }
.emoji-bar button { background: none; border: 0; font-size: 1.25rem; cursor: pointer; border-radius: 8px; padding: 3px 5px; }
.emoji-bar button:hover { background: var(--surface-2); }
.typing-empty { margin: auto; text-align: center; color: var(--muted); }

/* ---------- Mitarbeiter ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.person { padding: 20px; text-align: center; }
.person .avatar { margin: 0 auto 10px; }
.person b { display: block; font-size: 1.02rem; } .person .pos { color: var(--muted); font-size: .86rem; }
.person .p-act { display: flex; justify-content: center; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.person .status-line { font-size: .8rem; margin-top: 8px; }

/* ---------- Auth / Login ---------- */
.auth-body { overflow-x: hidden; }
.auth-bg { position: fixed; inset: 0; overflow: hidden; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 18s ease-in-out infinite; transition: translate .6s ease-out; }
.b1 { width: 520px; height: 520px; background: var(--b1); left: -140px; top: -120px; }
.b2 { width: 460px; height: 460px; background: var(--b2); right: -120px; top: 20%; animation-delay: -6s; }
.b3 { width: 400px; height: 400px; background: var(--b3); left: 30%; bottom: -200px; animation-delay: -12s; }
[data-theme="light"] .blob { opacity: .35; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); opacity: .6; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,-40px) scale(1.08); } 66% { transform: translate(-40px,50px) scale(.95); } }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 40px 28px; }
.auth-hero { animation: rise .7s ease both; }
.brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.brand-name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.hero-title { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.02; margin-bottom: 18px; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 34px; max-width: 560px; }
.chip { padding: 8px 14px; border-radius: 30px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 600; backdrop-filter: blur(10px); animation: rise .6s ease both; }
.chip:nth-child(2) { animation-delay: .05s; } .chip:nth-child(3) { animation-delay: .1s; } .chip:nth-child(4) { animation-delay: .15s; } .chip:nth-child(5) { animation-delay: .2s; } .chip:nth-child(6) { animation-delay: .25s; }
.hero-stats { display: flex; gap: 34px; }
.hero-stats b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hero-stats span { color: var(--muted); font-size: .86rem; }
.auth-card { padding: 30px; position: relative; animation: rise .7s .1s ease both; max-width: 520px; width: 100%; justify-self: end; }
.auth-card h2 { font-size: 1.45rem; margin-bottom: 4px; }
.auth-pane { display: none; } .auth-card[data-mode="login"] [data-pane="login"], .auth-card[data-mode="register"] [data-pane="register"], .auth-card[data-mode="forgot"] [data-pane="forgot"], .auth-card[data-mode="reset"] [data-pane="reset"] { display: grid; animation: rise .35s ease; }
.auth-card > .alert { margin-bottom: 14px; }
.auth-tabs { position: relative; display: flex; gap: 4px; padding: 4px; background: var(--surface-2); border-radius: 14px; margin-bottom: 20px; width: fit-content; }
.auth-tabs a { position: relative; z-index: 1; padding: 9px 18px; border-radius: 10px; font-weight: 700; color: var(--muted); text-decoration: none; transition: color .2s; }
.auth-tabs a.on { color: var(--primary-contrast); }
.tab-ink { position: absolute; left: 4px; top: 4px; bottom: 4px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); box-shadow: var(--glow); transition: transform .3s cubic-bezier(.5,1.6,.4,.8), width .3s; }
.theme-dots { position: absolute; right: 22px; top: 26px; display: flex; gap: 6px; }
.tdot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border); background: linear-gradient(135deg, var(--a), var(--b)); cursor: pointer; padding: 0; transition: transform .15s; }
.tdot:hover { transform: scale(1.2); } .tdot.on { border-color: var(--text); transform: scale(1.15); }
.captcha-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; }
.captcha-img { border-radius: 12px; cursor: pointer; height: 54px; width: 150px; object-fit: cover; border: 1px solid var(--border); }
.auth-foot { text-align: center; margin: 18px 0 0; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Installer */
.installer { min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.installer-card { width: 100%; max-width: 760px; padding: 30px; }
.installer-head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.installer-head h1 { margin: 0; font-size: 1.5rem; } .installer-head p { margin: 0; }
.stepper { display: flex; gap: 6px; margin-bottom: 22px; }
.stepper .st { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.stepper .st b { height: 5px; border-radius: 5px; background: var(--surface-2); font-size: 0; }
.stepper .st.done b, .stepper .st.cur b { background: linear-gradient(90deg, var(--primary), var(--primary-2)); }
.stepper .st.cur { color: var(--text); }
.checks td { padding: 8px 10px; }
.done-box { text-align: center; padding: 20px 0; }
.done-icon { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; font-size: 2.4rem; color: #fff; background: linear-gradient(135deg, var(--ok), var(--primary-2)); box-shadow: 0 0 40px color-mix(in srgb, var(--ok) 50%, transparent); animation: pop .4s ease; }
.summary p { margin: 6px 0; }
.installer .form + .row-between, .installer form .row-between { margin-top: 8px; }
.installer .btn-primary.btn-lg { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) { .stats { grid-template-columns: repeat(2, 1fr); } .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 960px) {
  .auth-wrap { grid-template-columns: 1fr; gap: 26px; padding: 26px 16px; }
  .auth-hero .chips, .hero-stats, .hero-sub { display: none; }
  .brand-row { margin-bottom: 14px; }
  .hero-title { font-size: 2rem; margin: 0; }
  .auth-card { justify-self: stretch; max-width: none; padding: 22px; }
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 280px; transform: translateX(-105%); transition: transform .25s ease; background: var(--surface-solid); }
  body.nav-open .sidebar { transform: none; box-shadow: var(--shadow); }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 35; }
  .menu-btn { display: inline-flex; }
  .topbar { padding: 10px 14px; } .content { padding: 18px 14px 80px; }
  .chat { grid-template-columns: 1fr; height: calc(100vh - 130px); height: calc(100dvh - 130px); }
  .chat-side { display: none; } .chat.show-list .chat-side { display: flex; } .chat.show-list .chat-main { display: none; }
  .chat-back { display: inline-flex; }
  .msg { max-width: 92%; }
  .bal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; } .stat { padding: 14px; } .stat b { font-size: 1.5rem; }
  .card { padding: 16px; } .hello { padding: 20px; } .hello h2 { font-size: 1.3rem; }
  .theme-dots { position: static; margin-bottom: 14px; }
  .topbar h1 { font-size: 1.05rem; }
  .hide-sm { display: none !important; }
  .table.responsive thead { display: none; }
  .table.responsive tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .table.responsive td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 4px 6px; }
  .table.responsive td::before { content: attr(data-l); color: var(--muted); font-size: .8rem; font-weight: 600; }
  .table.responsive td.actions { justify-content: flex-end; }
  .table.responsive td.actions::before { content: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.vac-types .theme-card span { min-width: 0; overflow-wrap: anywhere; }
.v-hero { height: 260px; overflow: hidden; display: grid; place-items: center; font-size: 5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 30%, var(--surface-2)), var(--surface-2)); }
.v-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
