/* ══════════════════════════════════════════════════════════════════════════ */
/*  Reset & Base                                                              */
/* ══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #f0f4f8;
  --surface:    #ffffff;
  --border:     #e2e8f0;
  --text:       #1e293b;
  --text-muted: #64748b;
  --primary:    #2563eb;
  --primary-h:  #1d4ed8;
  --danger:     #ef4444;
  --danger-h:   #dc2626;
  --success:    #16a34a;
  --highlight:  #eff6ff;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow:     0 4px 16px rgba(0,0,0,.1);
  --radius:     8px;
  --radius-lg:  12px;
  --sidebar-w:  380px;
  --topbar-h:   58px;
  --transition: .15s ease;
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

.screen { height: 100vh; }
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Login                                                                     */
/* ══════════════════════════════════════════════════════════════════════════ */
#login-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
}

.login-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  width: 380px;
  box-shadow: var(--shadow);
}

.login-logo { display: flex; justify-content: center; margin-bottom: 20px; }
.login-logo svg { width: 56px; height: 56px; }

.login-card h1 { text-align: center; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.login-sub { text-align: center; color: var(--text-muted); margin-bottom: 28px; font-size: 13px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.field input {
  width: 100%; padding: 10px 12px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; outline: none; transition: border-color var(--transition);
}
.field input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }

.error-msg {
  background: #fef2f2; color: var(--danger); border: 1px solid #fecaca;
  border-radius: var(--radius); padding: 10px 12px; font-size: 13px; margin-bottom: 14px;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Buttons                                                                   */
/* ══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: none; border-radius: var(--radius);
  font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background var(--transition), opacity var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: 6px 10px; font-size: 12px; }
.btn-full { width: 100%; justify-content: center; padding: 11px; font-size: 15px; }

.btn-primary  { background: var(--primary);  color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-h); }
.btn-secondary { background: #e2e8f0; color: var(--text); }
.btn-secondary:hover:not(:disabled) { background: #cbd5e1; }
.btn-ghost  { background: transparent; color: var(--text-muted); }
.btn-ghost:hover:not(:disabled) { background: var(--border); color: var(--text); }
.btn-danger { background: #fee2e2; color: var(--danger); }
.btn-danger:hover:not(:disabled) { background: var(--danger); color: #fff; }
.btn-success { background: #dcfce7; color: var(--success); }
.btn-success:hover:not(:disabled) { background: var(--success); color: #fff; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Top Bar                                                                   */
/* ══════════════════════════════════════════════════════════════════════════ */
.topbar {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 16px;
  padding: 0 20px;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}

.topbar-left  { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topbar-logo  { width: 32px; height: 32px; }
.topbar-title { font-size: 16px; font-weight: 700; color: var(--text); }

.topbar-center { flex: 1; max-width: 420px; margin: 0 auto; }
#search-input {
  width: 100%; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 20px;
  font-size: 13px; outline: none; background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
#search-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(37,99,235,.10); }

.topbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.sync-badge {
  background: #dcfce7; color: var(--success); border-radius: 20px;
  padding: 4px 10px; font-size: 12px; font-weight: 500;
}
.sync-badge.error { background: #fee2e2; color: var(--danger); }

.month-picker { position: relative; flex-shrink: 0; }

.month-picker-btn {
  display: flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: #e2e8f0; color: var(--text);
  font-size: 12px; font-family: inherit; font-weight: 500;
  cursor: pointer; white-space: nowrap;
  transition: border-color var(--transition), background var(--transition);
}
.month-picker-btn:hover { background: #d1d9e6; }
.mp-chevron { opacity: .5; }

.month-picker-dropdown {
  position: absolute; top: calc(100% + 4px); right: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; width: 200px; z-index: 200;
}
.month-picker-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.month-picker-header span { font-weight: 700; font-size: 14px; }
.month-picker-header button {
  background: none; border: none; cursor: pointer; font-size: 18px;
  color: var(--text-muted); padding: 0 6px; line-height: 1;
  border-radius: 4px;
}
.month-picker-header button:hover { background: var(--bg); color: var(--text); }

.month-picker-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  margin-bottom: 8px;
}
.mp-month {
  padding: 6px 4px; font-size: 12px; font-family: inherit;
  border: 1px solid transparent; border-radius: 4px;
  background: none; cursor: pointer; color: var(--text);
  transition: background .12s;
}
.mp-month:hover { background: var(--bg); border-color: var(--border); }
.mp-month.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.mp-clear {
  width: 100%; padding: 5px; font-size: 11px; font-family: inherit;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--bg); color: var(--text-muted); cursor: pointer;
}
.mp-clear:hover { color: var(--text); background: #e2e8f0; }

.icon { width: 16px; height: 16px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  App Layout                                                                */
/* ══════════════════════════════════════════════════════════════════════════ */
#app-screen { display: flex; flex-direction: column; }

.app-layout {
  display: flex;
  height: calc(100vh - var(--topbar-h));
  margin-top: var(--topbar-h);
  overflow: hidden;
}

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  overflow: hidden;
}

.sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-title { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); }

.badge {
  background: var(--primary); color: #fff;
  border-radius: 20px; padding: 2px 8px; font-size: 11px; font-weight: 600;
}

.invoice-list { overflow-y: auto; flex: 1; padding: 8px; }

.invoice-item {
  padding: 10px 12px; border-radius: var(--radius);
  cursor: pointer; transition: background var(--transition);
  border: 1px solid transparent; margin-bottom: 4px;
}
.invoice-item:hover { background: var(--bg); }
.invoice-item.active { background: var(--highlight); border-color: #bfdbfe; }

.invoice-item-name {
  font-size: 13px; font-weight: 500; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.invoice-item-meta {
  font-size: 11px; color: var(--text-muted); margin-top: 3px;
  display: flex; align-items: center; gap: 6px; overflow: hidden;
}
.invoice-item-filename {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0;
}
.invoice-item-tag {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 1px 5px; font-size: 10px; font-weight: 500;
}

.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 40px 20px; color: var(--text-muted); text-align: center;
}
.empty-state svg { width: 48px; height: 48px; }
.empty-state p { font-size: 13px; line-height: 1.6; }

/* ── Main Content ─────────────────────────────────────────────────────────── */
.main-content {
  flex: 1; overflow: hidden; display: flex;
  flex-direction: column; background: var(--bg);
}

.welcome-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; height: 100%; color: var(--text-muted); text-align: center; padding: 40px;
}
.welcome-state svg { width: 72px; height: 72px; }
.welcome-state h2 { font-size: 20px; color: var(--text); }
.welcome-state p { font-size: 14px; line-height: 1.6; max-width: 320px; }

/* ── Detail View ─────────────────────────────────────────────────────────── */
.detail-view {
  display: grid;
  grid-template-columns: 1fr 505px;
  height: 100%;
  overflow: hidden;
}

/* PDF Panel */
.pdf-panel {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}

.panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.panel-label { font-size: 13px; font-weight: 600; color: var(--text); }

.pdf-container { flex: 1; overflow: hidden; }
#pdf-frame { width: 100%; height: 100%; border: none; display: block; }

/* Data Panel */
.data-panel {
  display: flex; flex-direction: column;
  background: var(--surface);
  overflow-y: auto;
}

.data-section {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted); margin-bottom: 12px;
}

.data-grid { display: flex; flex-direction: column; gap: 8px; }

.data-row {
  display: flex; flex-direction: column; gap: 3px;
  padding: 8px 10px; border-radius: var(--radius);
}
.data-row.highlight { background: var(--highlight); border: 1px solid #dbeafe; }

.data-label {
  font-size: 11px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .4px;
  display: flex; align-items: center; gap: 5px;
}
.field-icon { width: 13px; height: 13px; }

.data-value {
  font-size: 14px; font-weight: 500; color: var(--text);
  word-break: break-all;
}
.data-value.mono { font-family: "SF Mono", "Fira Code", monospace; font-size: 13px; letter-spacing: .5px; }

.edit-actions { display: flex; align-items: center; gap: 6px; }

/* Editable fields */
.data-value.editable { cursor: default; border-radius: 4px; transition: background var(--transition), border var(--transition); }
.data-value.editable.editing {
  background: #fff;
  border: 1.5px solid var(--primary);
  border-radius: 4px;
  padding: 4px 8px;
  outline: none;
  cursor: text;
  box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

/* Edit mode: subtle highlight on editable fields not yet active */
.edit-mode .data-value.editable:not(.editing) {
  background: var(--bg);
  border: 1px dashed var(--border);
  padding: 3px 7px;
  cursor: text;
}

.data-actions {
  padding: 16px; display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: auto;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Toast                                                                     */
/* ══════════════════════════════════════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: #1e293b; color: #fff;
  padding: 12px 18px; border-radius: var(--radius);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow);
  animation: slide-in .2s ease;
  max-width: 320px;
}
.toast.success { background: var(--success); }
.toast.error   { background: var(--danger); }
@keyframes slide-in { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Admin-Panel                                                               */
/* ══════════════════════════════════════════════════════════════════════════ */
.btn-admin {
  background: #f1f5f9; color: var(--text-muted);
}
.btn-admin:hover:not(:disabled) { background: #e2e8f0; color: var(--text); }

.admin-screen {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column;
}

.admin-header {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.admin-header-left { display: flex; align-items: center; gap: 12px; }
.admin-header-left h2 { font-size: 17px; font-weight: 700; }
.admin-icon { width: 22px; height: 22px; color: var(--text-muted); }

.admin-body {
  flex: 1; overflow: auto; padding: 24px;
  display: flex; flex-direction: column; gap: 24px;
}

/* Neuen Benutzer anlegen */
.admin-create-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  max-width: 560px;
}
.admin-create-card h3 {
  font-size: 14px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.admin-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px;
}
.admin-form-row .field { margin-bottom: 0; }
.admin-checkbox-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; font-size: 13px;
}
.admin-checkbox-row input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }

/* Benutzerliste */
.admin-users-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.admin-users-card h3 {
  font-size: 14px; font-weight: 700; padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 8px;
}

.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 10px 16px; text-align: left;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
  background: var(--bg); border-bottom: 2px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 16px; font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover td { background: var(--highlight); }

.role-badge {
  display: inline-flex; align-items: center;
  border-radius: 20px; padding: 2px 10px; font-size: 11px; font-weight: 600;
}
.role-badge--admin { background: #eff6ff; color: var(--primary); border: 1px solid #bfdbfe; }
.role-badge--user  { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }

.pw-form { display: flex; gap: 6px; align-items: center; }
.pw-form input {
  padding: 5px 10px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 12px; outline: none; width: 130px;
}
.pw-form input:focus { border-color: var(--primary); }

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Freigabe – Topbar-Button & Badge                                          */
/* ══════════════════════════════════════════════════════════════════════════ */
.btn-freigegeben {
  background: #dcfce7; color: var(--success);
  position: relative;
}
.btn-freigegeben:hover:not(:disabled) { background: var(--success); color: #fff; }
.btn-freigegeben:hover .badge-topbar   { background: #fff; color: var(--success); }

.badge-topbar {
  background: var(--success); color: #fff;
  border-radius: 20px; padding: 1px 6px; font-size: 10px; font-weight: 700;
  margin-left: 2px;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Freigabe – Datenpanel                                                     */
/* ══════════════════════════════════════════════════════════════════════════ */
.freigabe-section { border-top: 2px solid var(--border); }

.freigabe-badge {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px; border-radius: var(--radius);
  font-size: 13px;
}
.freigabe-badge--ok {
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d;
}
.freigabe-badge--ok strong { display: block; font-weight: 600; font-size: 13px; }
.freigabe-badge--ok span   { font-size: 12px; color: #16a34a; }
.freigabe-badge--ok em     { font-style: normal; font-weight: 600; }
.freigabe-badge--ok .icon  { color: #16a34a; flex-shrink: 0; margin-top: 2px; }

.freigabe-badge--pending {
  background: #fafafa; border: 1px solid var(--border); color: var(--text-muted);
}
.freigabe-badge--pending .icon { flex-shrink: 0; }

.btn-approve {
  background: #16a34a; color: #fff; width: 100%; justify-content: center;
}
.btn-approve:hover:not(:disabled) { background: #15803d; }

.btn-revoke {
  background: #fee2e2; color: var(--danger); width: 100%; justify-content: center;
}
.btn-revoke:hover:not(:disabled) { background: var(--danger); color: #fff; }

.btn-bezahlt {
  background: #0369a1; color: #fff; justify-content: center;
}
.btn-bezahlt:hover:not(:disabled) { background: #075985; }

.btn-bezahlt-sm {
  background: #e0f2fe; color: #0369a1;
  border: 1px solid #7dd3fc; white-space: nowrap;
}
.btn-bezahlt-sm:hover:not(:disabled) { background: #0369a1; color: #fff; }
.btn-bezahlt-sm:disabled { opacity: .5; cursor: not-allowed; }

.btn-restore {
  background: #fef9c3; color: #854d0e;
  border: 1px solid #fde047; white-space: nowrap;
}
.btn-restore:hover:not(:disabled) { background: #854d0e; color: #fff; }
.btn-restore:disabled { opacity: .5; cursor: not-allowed; }

.freigabe-badge--bezahlt {
  display: flex; align-items: flex-start; gap: 8px;
  background: #e0f2fe; border: 1px solid #7dd3fc;
  border-radius: var(--radius); padding: 10px 12px;
}
.freigabe-badge--bezahlt strong { display: block; font-weight: 600; font-size: 13px; color: #0369a1; }
.freigabe-badge--bezahlt span   { font-size: 12px; color: #0369a1; }
.freigabe-badge--bezahlt em     { font-style: normal; font-weight: 600; }
.freigabe-badge--bezahlt .icon  { color: #0369a1; flex-shrink: 0; margin-top: 2px; }

.btn-archiv {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); gap: 6px;
}
.btn-archiv:hover:not(:disabled) { background: #0369a1; color: #fff; border-color: #0369a1; }
.btn-archiv:hover .badge-topbar { background: #fff; color: #0369a1; }

/* Grüner Punkt in der Sidebar-Liste */
.approved-dot {
  display: inline-block; width: 8px; height: 8px;
  background: var(--success); border-radius: 50%;
  margin-right: 6px; flex-shrink: 0; vertical-align: middle;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Freigegeben-Übersicht (Full-screen)                                       */
/* ══════════════════════════════════════════════════════════════════════════ */
.freigegeben-screen {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; flex-direction: column;
}

.freigegeben-header {
  height: var(--topbar-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.freigegeben-header-left {
  display: flex; align-items: center; gap: 12px;
}
.freigegeben-header-left h2 { font-size: 17px; font-weight: 700; }
.freigegeben-icon { width: 22px; height: 22px; color: var(--success); }

.freigegeben-body {
  flex: 1; overflow: auto; padding: 24px;
}

.freigegeben-table-wrap { overflow-x: auto; }

.freigegeben-table {
  width: 100%; border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.freigegeben-table thead tr {
  background: var(--bg);
  border-bottom: 2px solid var(--border);
}
.freigegeben-table th {
  padding: 11px 16px; text-align: left;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: var(--text-muted);
  white-space: nowrap;
}
.freigegeben-table td {
  padding: 12px 16px; font-size: 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text); vertical-align: middle;
}
.freigegeben-table tbody tr:last-child td { border-bottom: none; }
.freigegeben-table tbody tr:hover td { background: var(--highlight); }

.freigegeben-table .betrag-cell  { font-weight: 600; white-space: nowrap; }
.freigegeben-table .filename-cell {
  max-width: 180px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; color: var(--text-muted); font-size: 12px;
}
.freigegeben-table code {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: 2px 6px; font-size: 12px; font-family: monospace;
}

.user-chip {
  display: inline-flex; align-items: center;
  background: #eff6ff; color: var(--primary);
  border: 1px solid #bfdbfe; border-radius: 20px;
  padding: 3px 10px; font-size: 12px; font-weight: 600;
}

.freigegeben-header-right { display: flex; align-items: center; gap: 8px; }

.notizen-cell { min-width: 160px; max-width: 240px; }
.notizen-input {
  width: 100%; height: 30px; padding: 4px 8px;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--text);
  font-size: 12px; font-family: inherit; resize: none;
  line-height: 1.4; overflow: hidden;
}
.notizen-input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(99,102,241,.15);
  resize: vertical; overflow: auto; height: auto; min-height: 30px;
}

/* ══════════════════════════════════════════════════════════════════════════ */
/*  Scrollbar                                                                 */
/* ══════════════════════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
