/* ============================================================
   Zeiterfassung – Mobile-first CSS
   ============================================================ */

:root {
  --bg:           #111827;
  --surface:      #1F2937;
  --surface2:     #263445;
  --border:       #374151;
  --accent:       #3B82F6;
  --accent-dim:   #1D4ED8;
  --green:        #10B981;
  --red:          #EF4444;
  --yellow:       #F59E0B;
  --purple:       #8B5CF6;
  --text:         #F9FAFB;
  --text-muted:   #9CA3AF;
  --text-dim:     #6B7280;
  --radius:       10px;
  --nav-h:        64px;   /* Mobile Bottom-Nav Höhe */
  --sidebar-w:    220px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ============================================================
   LOGO
   ============================================================ */

.logo-img {
  width: 140px;
  display: block;
  border-radius: 6px;
  opacity: 0.95;
}

/* Mobile Top Bar */
.mobile-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: 10px;
  position: sticky;
  top: 0;
  z-index: 40;
}

.mobile-logo {
  height: 32px;
  width: auto;
  border-radius: 4px;
  opacity: 0.95;
}

/* Hauptbereich auf Mobile: Abstand für Topbar */
@media (max-width: 767px) {
  .main {
    padding-top: 16px;
  }
}

/* Desktop: Mobile Topbar ausblenden */
@media (min-width: 768px) {
  .mobile-topbar { display: none; }
}

/* ============================================================
   LAYOUT – Mobile (default)
   ============================================================ */

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Sidebar: auf Mobile ausgeblendet */
.sidebar { display: none; }

.main {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 20px);
}

/* Bottom Navigation (Mobile) */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  z-index: 50;
  padding-top: 8px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  min-height: calc(var(--nav-h) + env(safe-area-inset-bottom));
}

.bottom-nav-btn {
  display: flex; flex-direction: column;
  align-items: center; gap: 3px;
  flex: 1; padding: 4px 4px 0;
  background: none; border: none;
  color: var(--text-dim); cursor: pointer;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.03em; text-transform: uppercase;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-btn .nav-icon { font-size: 22px; line-height: 1.2; }
.bottom-nav-btn.active    { color: var(--accent); }
.bottom-nav-btn:active    { opacity: 0.7; }

/* Dropdown für Admin-Items auf Mobile */
.bottom-nav-more {
  position: fixed;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 8px);
  right: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.bottom-nav-more.open { display: flex; }
.bottom-nav-more-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: none; background: none;
  color: var(--text-muted); cursor: pointer; border-radius: 8px;
  font-size: 14px; text-align: left; width: 100%;
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav-more-btn:hover,
.bottom-nav-more-btn.active { background: var(--surface2); color: var(--text); }
.bottom-nav-more-btn.active { color: var(--accent); }

/* ============================================================
   LAYOUT – Desktop (≥ 768px)
   ============================================================ */

@media (min-width: 768px) {
  .app-shell   { flex-direction: row; }
  .bottom-nav  { display: none; }
  .main        { padding: 32px; padding-bottom: 32px; }

  .sidebar {
    display: flex;
    flex-direction: column;
    width: var(--sidebar-w);
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }

  .logo {
    padding: 0 20px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
  }
  .logo h1  { font-size: 15px; font-weight: 700; letter-spacing: .05em; }
  .logo span{ font-size: 11px; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; }

  .nav-section { padding: 0 12px; margin-bottom: 8px; }
  .nav-label   { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-dim); padding: 0 8px; margin-bottom: 4px; }

  .nav-btn {
    display: flex; align-items: center; gap: 10px;
    width: 100%; padding: 9px 10px; border: none;
    background: none; color: var(--text-muted); cursor: pointer;
    border-radius: 7px; font-size: 14px; text-align: left;
    transition: all .15s;
  }
  .nav-btn:hover  { background: var(--surface2); color: var(--text); }
  .nav-btn.active { background: rgba(59,130,246,.15); color: var(--accent); }
  .nav-btn .icon  { font-size: 16px; width: 20px; text-align: center; }

  .sidebar-bottom {
    margin-top: auto;
    padding: 16px 12px;
    border-top: 1px solid var(--border);
  }
  .user-chip {
    display: flex; align-items: center; gap: 10px;
    padding: 8px; border-radius: 7px;
    cursor: pointer; transition: background .15s;
  }
  .user-chip:hover { background: var(--surface2); }
}

/* ============================================================
   PAGES
   ============================================================ */

.page         { display: none; }
.page.active  { display: block; }

.page-header  { margin-bottom: 24px; }
.page-header h2 { font-size: 20px; font-weight: 700; }
@media (min-width: 768px) { .page-header h2 { font-size: 22px; } }
.page-header p  { color: var(--text-muted); font-size: 14px; margin-top: 4px; }
.page-header-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}
.page-header-row h2 { font-size: 20px; font-weight: 700; }
.page-header-row p  { color: var(--text-muted); font-size: 14px; margin-top: 4px; }

/* ============================================================
   KARTEN
   ============================================================ */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  margin-bottom: 16px;
}
@media (min-width: 768px) { .card { padding: 24px; margin-bottom: 20px; } }

.card h3 {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px;
}
.card-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.card-row h3 { margin: 0; }

/* ============================================================
   AVATAR
   ============================================================ */

.avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); display: flex;
  align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.avatar-lg { width: 40px; height: 40px; font-size: 15px; }

.user-info     { flex: 1; min-width: 0; }
.user-name     { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-role-txt { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   STEMPEL
   ============================================================ */

.clock-display { text-align: center; padding: 24px 0 20px; }
.clock-time {
  font-size: 52px; font-weight: 200;
  letter-spacing: -2px; color: var(--text);
  font-variant-numeric: tabular-nums; line-height: 1;
}
@media (min-width: 768px) { .clock-time { font-size: 64px; } }
.clock-date { font-size: 13px; color: var(--text-muted); margin-top: 8px; }

.status-bar {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 500; margin-bottom: 18px;
}
.status-bar.out   { background: rgba(239,68,68,.1);  color: #FCA5A5; }
.status-bar.in    { background: rgba(16,185,129,.1); color: #6EE7B7; }
.status-bar.pause { background: rgba(245,158,11,.1); color: #FCD34D; }

.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green  { background: var(--green);  box-shadow: 0 0 6px var(--green); }
.dot-red    { background: var(--red); }
.dot-yellow { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }

.live-timer {
  font-size: 13px; color: var(--text-muted);
  text-align: center; margin-top: 8px; min-height: 18px;
}

.stamp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px; margin-top: 20px;
}
.stamp-actions .btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px;
}
@media (min-width: 640px) {
  .stamp-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .stamp-actions .btn {
    flex: 1;
    min-width: 140px;
    font-size: 14px;
    padding: 12px 18px;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 18px; border: none; border-radius: 8px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: opacity .15s, background .15s;
  white-space: nowrap; min-height: 44px; /* Touch-freundlich */
  -webkit-tap-highlight-color: transparent;
}
.btn:disabled      { opacity: .35; cursor: not-allowed; }
.btn:active:not(:disabled) { opacity: .8; }

.btn-green  { background: var(--green);   color: #fff; }
.btn-red    { background: var(--red);     color: #fff; }
.btn-yellow { background: var(--yellow);  color: #111; }
.btn-accent { background: var(--accent);  color: #fff; }
.btn-ghost  { background: var(--surface2);color: var(--text); }
.btn-purple { background: var(--purple);  color: #fff; }

@media (hover: hover) {
  .btn-green:hover:not(:disabled)  { background: #059669; }
  .btn-red:hover:not(:disabled)    { background: #DC2626; }
  .btn-yellow:hover:not(:disabled) { background: #D97706; }
  .btn-accent:hover:not(:disabled) { background: var(--accent-dim); }
  .btn-ghost:hover:not(:disabled)  { background: var(--border); }
}

.btn-sm  { padding: 7px 14px; font-size: 12px; min-height: 36px; }
.btn-icon {
  padding: 6px 10px; font-size: 13px; border-radius: 6px;
  background: rgba(59,130,246,.12); color: #93C5FD;
  border: none; cursor: pointer; min-height: 32px;
  -webkit-tap-highlight-color: transparent;
}
.btn-icon:active { opacity: .7; }
.btn-danger-sm {
  padding: 7px 14px; font-size: 12px; border-radius: 6px; min-height: 36px;
  background: rgba(239,68,68,.1); color: #FCA5A5; border: none; cursor: pointer;
}

/* ============================================================
   STATS GRID
   ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin-bottom: 18px;
}
@media (min-width: 480px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; padding: 14px 12px;
}
.stat-label {
  font-size: 10px; color: var(--text-muted); text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 6px;
}
.stat-value { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 768px) { .stat-value { font-size: 24px; } }
.stat-value.green  { color: var(--green); }
.stat-value.red    { color: var(--red); }
.stat-value.accent { color: var(--accent); }
.stat-value.yellow { color: var(--yellow); }
.stat-value.purple { color: var(--purple); }

/* ============================================================
   WOCHENBALKEN
   ============================================================ */

.week-bars { display: flex; gap: 4px; margin-top: 8px; }
.week-bar  { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.week-bar-label { font-size: 9px; color: var(--text-dim); }
.week-bar-track {
  width: 100%; background: rgba(59,130,246,.15);
  height: 40px; border-radius: 3px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.week-bar-fill  { width: 100%; border-radius: 3px; transition: height .4s; }
.week-bar-val   { font-size: 9px; color: var(--text-muted); }

/* ============================================================
   TABELLE – scrollbar auf Mobile
   ============================================================ */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
th {
  text-align: left; padding: 10px 10px; color: var(--text-muted);
  font-weight: 600; font-size: 10px; text-transform: uppercase;
  letter-spacing: .06em; border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
td { padding: 10px 10px; border-bottom: 1px solid rgba(55,65,81,.5); }
tr:last-child td { border-bottom: none; }
tr.clickable-row:hover td { background: rgba(59,130,246,.08); }
tr.clickable-row:active td { background: rgba(59,130,246,.15); }
tr.feiertag-row td { color: var(--text-dim); background: rgba(139,92,246,.05); }
tr.today-row td   { background: rgba(59,130,246,.06); }
tr.missing-row td { background: rgba(239,68,68,.04); }

/* ============================================================
   BADGES
   ============================================================ */

.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600; white-space: nowrap;
}
.badge-green  { background: rgba(16,185,129,.15);  color: #6EE7B7; }
.badge-red    { background: rgba(239,68,68,.15);   color: #FCA5A5; }
.badge-yellow { background: rgba(245,158,11,.15);  color: #FCD34D; }
.badge-blue   { background: rgba(59,130,246,.15);  color: #93C5FD; }
.badge-gray   { background: rgba(156,163,175,.15); color: var(--text-muted); }
.badge-purple { background: rgba(139,92,246,.15);  color: #C4B5FD; }

/* ============================================================
   FORMULARE
   ============================================================ */

.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 480px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-group      { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .05em;
}
input, select, textarea {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text); border-radius: 7px;
  padding: 10px 12px; font-size: 15px;
  outline: none; transition: border-color .15s; width: 100%;
  -webkit-appearance: none;
}
/* Checkboxen und Radio-Buttons nicht auf 100% Breite */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-width: auto;
  padding: 0;
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--accent);
}
input[type="color"] {
  width: 100%;
  padding: 4px;
  height: 44px;
  cursor: pointer;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
select option { background: var(--surface2); }

.hours-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; margin-top: 8px; }
.day-inp    { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.day-inp label { font-size: 10px; }
.day-inp input { text-align: center; padding: 8px 2px; font-size: 14px; }

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.65); backdrop-filter: blur(4px);
  z-index: 100; align-items: flex-end; justify-content: center;
  padding: 0;
}
@media (min-width: 640px) {
  .modal-overlay { align-items: center; padding: 20px; }
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  padding: 20px 16px; width: 100%;
  max-height: 90dvh; overflow-y: auto;
  /* Slide-up on mobile */
  animation: slideUp .25s ease;
}
@media (min-width: 640px) {
  .modal {
    border-radius: 14px;
    padding: 28px;
    width: 540px;
    max-width: 95vw;
    animation: fadeIn .2s ease;
  }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}

.modal-drag-handle {
  width: 40px; height: 4px; background: var(--border);
  border-radius: 2px; margin: 0 auto 20px;
}
@media (min-width: 640px) { .modal-drag-handle { display: none; } }

.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.modal-header h3 { font-size: 16px; font-weight: 700; }
.modal-close {
  background: none; border: none; color: var(--text-muted);
  cursor: pointer; font-size: 20px; padding: 4px;
  min-width: 32px; min-height: 32px; display: flex; align-items: center; justify-content: center;
}
.modal-footer {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 20px; flex-wrap: wrap;
}
.modal-footer .btn { flex: 1; }
@media (min-width: 480px) { .modal-footer .btn { flex: none; } }

.divider   { height: 1px; background: var(--border); margin: 18px 0; }
.hint-box  {
  font-size: 12px; color: var(--text-muted);
  background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2);
  border-radius: 7px; padding: 8px 12px; margin-bottom: 14px;
}

/* ============================================================
   KORREKTUR
   ============================================================ */

.korr-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px; border-radius: 7px;
  background: var(--surface2); border: 1px solid var(--border);
  margin-bottom: 8px; flex-wrap: wrap;
}
.korr-row .badge { min-width: 120px; justify-content: center; flex-shrink: 0; }
.korr-row input[type=time] { flex: 1; min-width: 100px; padding: 8px 10px; font-size: 15px; }
.btn-del {
  padding: 7px 12px; font-size: 13px; border-radius: 5px;
  background: rgba(239,68,68,.12); color: #FCA5A5;
  border: none; cursor: pointer; min-height: 36px;
}
.korr-add-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.korr-add-row select { flex: 1; min-width: 130px; }
.korr-add-row input  { width: 120px; flex-shrink: 0; }

/* ============================================================
   USER ROW
   ============================================================ */

.user-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px; margin-bottom: 10px;
  flex-wrap: wrap;
}
.user-row-info  { flex: 1; min-width: 150px; }
.user-row-name  { font-weight: 600; font-size: 14px; }
.user-row-meta  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.user-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ============================================================
   LOGIN
   ============================================================ */

.login-screen {
  position: fixed; inset: 0; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 16px;
}
.login-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 24px; width: 100%; max-width: 380px;
}
.login-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.login-card .login-logo {
  width: 180px; display: block; margin: 0 auto 20px;
  border-radius: 8px; opacity: 0.95;
}
.login-card p  { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.login-field   { margin-bottom: 14px; }
.login-field label {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--text-muted); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .05em;
}
.login-error {
  background: rgba(239,68,68,.1); color: #FCA5A5;
  border-radius: 7px; padding: 10px 14px; font-size: 13px;
  margin-bottom: 14px; display: none;
}

/* ============================================================
   FEIERTAGE
   ============================================================ */

.ft-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  margin-bottom: 8px; flex-wrap: wrap;
}
.ft-row-info { flex: 1; min-width: 140px; }
.ft-row-date { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.ft-row-name { font-weight: 600; font-size: 14px; }

/* ============================================================
   TOAST
   ============================================================ */

.toast {
  position: fixed; bottom: calc(var(--nav-h) + 12px); left: 50%;
  transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 20px;
  font-size: 13px; font-weight: 500; z-index: 999;
  white-space: nowrap; max-width: calc(100vw - 32px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, bottom .3s;
}
.toast.show { opacity: 1; pointer-events: auto; }
@media (min-width: 768px) {
  .toast { bottom: 24px; left: auto; right: 24px; transform: none; }
}

/* ============================================================
   MISC
   ============================================================ */

.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 40px; margin-bottom: 12px; }
.empty-state p     { font-size: 14px; }

.section-title {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px;
}

/* Month/Week toggle */
.view-toggle {
  display: flex; background: var(--surface2); border-radius: 8px;
  padding: 3px; gap: 2px;
}
.view-toggle-btn {
  flex: 1; padding: 6px 12px; border: none; border-radius: 6px;
  background: none; color: var(--text-muted); cursor: pointer;
  font-size: 13px; font-weight: 600; transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.view-toggle-btn.active { background: var(--accent); color: #fff; }

/* Überstunden highlight */
.ueber-pos { color: var(--green); font-weight: 700; }
.ueber-neg { color: var(--red);   font-weight: 700; }

/* Filter-Row */
.filter-row {
  display: flex; gap: 8px; margin-bottom: 16px;
  flex-wrap: wrap; align-items: center;
}
.filter-row select { width: auto; flex: 1; min-width: 110px; }

/* ============================================================
   ABWESENHEITEN
   ============================================================ */

.abw-row {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.abw-row-top      { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.abw-row-art      { font-weight: 700; font-size: 15px; margin-bottom: 3px; }
.abw-row-user     { font-size: 13px; color: var(--accent); margin-bottom: 2px; }
.abw-row-datum    { font-size: 13px; color: var(--text-muted); }
.abw-row-grund    { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
