/* ── Reset & Variables ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f0f2f7;
  --bg2:       #ffffff;
  --bg3:       #f4f6fb;
  --border:    #d8dde8;
  --accent:    #1a4fa0;
  --accent2:   #1240880;
  --success:   #18a058;
  --danger:    #d03050;
  --warn:      #d48a00;
  --text:      #1a1f2e;
  --text2:     #5a6480;
  --text3:     #9ba3b8;
  --radius:    8px;
  --shadow:    0 2px 10px rgba(0,0,0,.08);
  --nav-h:     56px;
  --bottom-h:  60px;
}

body {
  background: var(--bg);
  background-image: radial-gradient(ellipse at 80% 0%, rgba(26,79,160,.04) 0%, transparent 55%);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
#app-shell { display: flex; min-height: 100vh; }

/* Sidebar */
#sidebar {
  width: 220px;
  min-height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: width .25s;
}
#sidebar .logo {
  padding: 20px 16px 14px;
  border-bottom: 1px solid var(--border);
}
#sidebar .logo h1 { font-size: 14px; font-weight: 700; color: var(--accent); line-height: 1.2; }
#sidebar .logo p  { font-size: 11px; color: var(--text2); }

nav { flex: 1; padding: 12px 0; }
nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  color: var(--text2); text-decoration: none;
  font-size: 13px; font-weight: 500;
  border-radius: 0;
  transition: background .15s, color .15s;
  cursor: pointer;
}
nav a .icon { font-size: 16px; width: 20px; text-align: center; }
nav a:hover { background: var(--bg3); color: var(--text); }
nav a.active { background: rgba(26,79,160,.1); color: var(--accent); border-right: 3px solid var(--accent); }
nav .nav-section { padding: 12px 16px 4px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--text3); }

#sidebar .user-info {
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}
#sidebar .user-info .name { font-weight: 600; }
#sidebar .user-info .role { color: var(--text2); font-size: 11px; }
#sidebar .user-info a { font-size: 11px; color: var(--accent); cursor: pointer; text-decoration: none; margin-top: 6px; display: block; }

/* Main content */
#main-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  min-width: 0;
}

/* ── Mobile Header (hidden on desktop) ──────────────────────────────────── */
#mobile-header {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.mh-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mh-logo-badge {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: #fff; letter-spacing: .5px;
  flex-shrink: 0;
}
.mh-page-title {
  font-size: 16px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mh-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(74,124,255,.18);
  border: 1.5px solid rgba(74,124,255,.5);
  color: var(--accent);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  outline: none;
  transition: background .15s;
}
.mh-avatar:hover { background: rgba(74,124,255,.3); }

/* ── Login page ──────────────────────────────────────────────────────────── */
#login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.login-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  width: 100%; max-width: 380px;
  box-shadow: var(--shadow);
}
.login-card h1 { font-size: 20px; margin-bottom: 4px; }
.login-card p  { color: var(--text2); margin-bottom: 28px; font-size: 13px; }

/* ── Cards / Panels ──────────────────────────────────────────────────────── */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.card-title {
  font-size: 15px; font-weight: 600; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.page-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.page-header h2 { font-size: 20px; font-weight: 700; }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 12px; font-weight: 600; color: var(--text2); }
.field label .req { color: var(--danger); margin-left: 3px; }

input[type=text], input[type=email], input[type=password],
input[type=date], input[type=time], input[type=number],
select, textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  padding: 8px 10px;
  font-size: 13px;
  font-family: inherit;
  transition: border-color .15s;
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,79,160,.12);
}
textarea { min-height: 80px; resize: vertical; }
select option { background: var(--bg3); }

.field-row { display: flex; gap: 8px; align-items: flex-end; }
.field-row .field { flex: 1; }

/* Multiselect checkboxes */
.multi-check {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 10px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.multi-check label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text);
  cursor: pointer; padding: 4px 10px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px;
  transition: background .15s, border-color .15s;
  user-select: none;
}
.multi-check label:has(input:checked) {
  background: rgba(26,79,160,.12);
  border-color: var(--accent);
  color: var(--accent);
}
.multi-check input[type=checkbox] { display: none; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  border-radius: 6px;
  border: none; cursor: pointer;
  font-size: 13px; font-weight: 600; font-family: inherit;
  transition: opacity .15s, transform .1s;
  text-decoration: none;
}
.btn:hover  { opacity: .85; }
.btn:active { transform: scale(.97); }
.btn-primary  { background: var(--accent); color: #fff; }
.btn-success  { background: var(--success); color: #000; }
.btn-danger   { background: var(--danger); color: #fff; }
.btn-ghost    { background: transparent; color: var(--text2); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg3); color: var(--text); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-icon { padding: 7px; border-radius: 6px; }

/* ── Tables ──────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
thead th {
  text-align: left; padding: 10px 12px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text2); border-bottom: 1px solid var(--border);
}
tbody tr { border-bottom: 1px solid var(--border); transition: background .1s; }
tbody tr:hover { background: var(--bg3); }
tbody td { padding: 12px; font-size: 13px; }

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 2px 8px;
  border-radius: 20px; font-size: 11px; font-weight: 600;
}
.badge-blue   { background: rgba(26,79,160,.12); color: var(--accent); }
.badge-green  { background: rgba(24,160,88,.12); color: var(--success); }
.badge-orange { background: rgba(212,138,0,.12); color: var(--warn); }
.badge-red    { background: rgba(208,48,80,.12); color: var(--danger); }
.badge-gray   { background: var(--bg3); color: var(--text2); }
.badge-purple { background: rgba(120,60,200,.12); color: #7c3ced; }
/* Anfragen-Status */
.badge-warn   { background: rgba(212,138,0,.12); color: var(--warn); }
.badge-info   { background: rgba(26,79,160,.12);  color: var(--accent); }
.badge-ok     { background: rgba(24,160,88,.12);  color: var(--success); }

/* ── Toast notifications ─────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 20px; right: 20px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 9999;
}
.toast {
  padding: 12px 18px; border-radius: 8px;
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow);
  animation: slideInToast .25s ease;
  max-width: 320px;
}
.toast-success { background: var(--success); color: #000; }
.toast-error   { background: var(--danger);  color: #fff; }
.toast-info    { background: var(--accent);  color: #fff; }
@keyframes slideInToast {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  display: flex; align-items: center; justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%; max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 15px; font-weight: 700; }
.modal-body { padding: 20px; }
.modal-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: flex-end; gap: 10px;
}

/* ── Signature canvas ────────────────────────────────────────────────────── */
.sig-wrap {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
}
.sig-wrap canvas { display: block; width: 100%; touch-action: none; }
.sig-actions { display: flex; gap: 8px; margin-top: 8px; }

/* ── File list ───────────────────────────────────────────────────────────── */
.file-list { display: flex; flex-direction: column; gap: 6px; }
.file-item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
}
.file-item .file-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item .file-type { color: var(--text2); }

/* ── Items table ─────────────────────────────────────────────────────────── */
.items-table { width: 100%; border-collapse: collapse; }
.items-table th { background: var(--bg3); font-size: 11px; text-transform: uppercase; padding: 6px 8px; text-align: left; }
.items-table td { padding: 4px 6px; border-bottom: 1px solid var(--border); }
.items-table td input { padding: 4px 6px; }
.items-table .del-btn { color: var(--danger); cursor: pointer; background: none; border: none; font-size: 16px; }

/* ── Drag handle ─────────────────────────────────────────────────────────── */
.drag-handle { cursor: grab; color: var(--text3); padding: 0 6px; }
.drag-handle:active { cursor: grabbing; }

/* ── Helpers ─────────────────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-1 { flex: 1; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.text-sm { font-size: 12px; }
.text-muted { color: var(--text2); }
.text-danger { color: var(--danger); }
.hidden { display: none !important; }
.w-full { width: 100%; }
.text-right { text-align: right; }

/* ── Section collapsible ─────────────────────────────────────────────────── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  user-select: none;
}
.section-header h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text2); }
.section-header .toggle { color: var(--text3); transition: transform .2s; }
.section-header.open .toggle { transform: rotate(90deg); }
.section-body.collapsed { display: none; }

/* ── Status timeline ─────────────────────────────────────────────────────── */
.status-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.status-pill {
  padding: 3px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
  transition: all .15s;
}
.status-pill.active { box-shadow: 0 0 0 2px var(--accent); }

/* ── Photo grid ──────────────────────────────────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  background: var(--bg3);
}
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-thumb .del-photo {
  position: absolute; top: 4px; right: 4px;
  background: rgba(0,0,0,.7); color: #fff;
  border: none; border-radius: 50%; width: 22px; height: 22px;
  cursor: pointer; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
  #sidebar, #mobile-header, .btn, .modal-overlay { display: none !important; }
  #main-content { padding: 0; }
  body { background: #fff; color: #000; background-image: none; }
  .card { border: 1px solid #ccc; }
}

/* ── Responsive – Tablet (641 – 1024 px): icon sidebar ──────────────────── */
@media (max-width: 1024px) and (min-width: 641px) {
  #sidebar { width: 72px; }
  #sidebar .logo h1, #sidebar .logo p,
  nav a span, .nav-section,
  #sidebar .user-info .name, #sidebar .user-info .role { display: none; }
  nav a { justify-content: center; padding: 14px 8px; }
  #sidebar .user-info { padding: 12px; text-align: center; }
  #sidebar .user-info a { font-size: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: span 1; }
}

/* ── Responsive – Phone (≤ 640 px): bottom nav + mobile header ───────────── */
@media (max-width: 640px) {

  /* ── Mobile header ── */
  #mobile-header {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    padding: env(safe-area-inset-top, 0px) 16px 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(216, 221, 232, 0.8);
  }

  /* Offset app shell for fixed header + bottom nav */
  #app-shell {
    padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
    min-height: 100dvh;
  }

  /* ── Sidebar → Bottom tab bar ── */
  #sidebar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    width: 100% !important;
    min-height: unset;
    height: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
    flex-direction: row;
    border-right: none;
    border-top: 1px solid rgba(216, 221, 232, 0.9);
    z-index: 200;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    transition: none;
  }
  #sidebar .logo, #sidebar .user-info, .nav-section { display: none; }

  nav {
    flex: 1;
    flex-direction: row;
    padding: 0;
    display: flex;
    align-items: stretch;
  }
  nav a {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 4px;
    gap: 3px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 0;
    border-right: none;
    min-height: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
  }
  nav a .icon { font-size: 22px; width: auto; line-height: 1.2; }
  nav a:active { background: rgba(255,255,255,.05); }
  nav a.active {
    border-right: none;
    color: var(--accent);
    background: rgba(26,79,160,.08);
  }
  nav a.active::after {
    content: '';
    position: absolute;
    top: 0; left: 22%; right: 22%;
    height: 2.5px;
    background: var(--accent);
    border-radius: 0 0 3px 3px;
  }
  nav a.active .icon { filter: drop-shadow(0 0 6px rgba(26,79,160,.4)); }

  /* ── Main content ── */
  #main-content {
    padding: 16px 14px calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px) + 16px);
  }

  /* ── Forms ── */
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2, .form-grid .span-3 { grid-column: span 1; }
  .form-grid-3 { grid-template-columns: 1fr; }

  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }
  .page-header h2 { font-size: 18px; }

  /* 16px prevents iOS auto-zoom on focus */
  input[type=text], input[type=email], input[type=password],
  input[type=date], input[type=time], input[type=number],
  select, textarea {
    padding: 11px 13px;
    font-size: 16px;
    border-radius: 10px;
  }
  textarea { min-height: 96px; }

  /* ── Buttons: min 44px touch target ── */
  .btn { padding: 11px 18px; font-size: 14px; min-height: 44px; border-radius: 10px; }
  .btn-sm { padding: 8px 14px; font-size: 13px; min-height: 38px; }
  .btn-icon { padding: 10px; min-height: 44px; min-width: 44px; }

  /* ── Cards ── */
  .card { padding: 14px 14px; border-radius: 12px; }

  /* ── Sheet modal ── */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal {
    border-radius: 22px 22px 0 0;
    max-height: 92dvh;
    max-width: 100%;
    border-left: none; border-right: none; border-bottom: none;
    animation: slideUp .32s cubic-bezier(.32,.72,0,1);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .modal::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: var(--bg3);
    border-radius: 2px;
    margin: 10px auto 0;
  }
  .modal-header { padding-top: 14px; }

  /* ── Toast: below mobile header ── */
  #toast-container {
    bottom: auto;
    top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 8px);
    right: 12px; left: 12px;
  }
  .toast {
    max-width: none;
    border-radius: 10px;
    text-align: center;
    animation: slideDownToast .25s ease;
  }

  /* ── Login page: light gradient + bottom sheet ── */
  #login-page {
    align-items: flex-end;
    padding: 0;
    background: linear-gradient(160deg, #d8e4f5 0%, #e8edf7 40%, #f0f2f7 100%);
  }
  #login-page::before {
    content: '';
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(26,79,160,.15) 0%, transparent 70%);
    pointer-events: none;
  }
  .login-card {
    border-radius: 24px 24px 0 0;
    border: 1px solid var(--border);
    border-bottom: none;
    padding: 8px 24px calc(env(safe-area-inset-bottom, 0px) + 32px);
    max-width: 100%;
    box-shadow: 0 -8px 40px rgba(0,0,0,.12);
    animation: slideUp .4s cubic-bezier(.32,.72,0,1);
  }
  .login-card::before {
    content: '';
    display: block;
    width: 40px; height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 20px;
  }
  .login-card h1 { font-size: 22px; }

  /* ── Mobile: Sticky save bar ── */
  .sticky-save-bar {
    display: flex;
    position: fixed;
    bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom, 0px));
    left: 0; right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 16px;
    border-top: 1px solid var(--border);
    z-index: 150;
    gap: 8px;
  }
  .mobile-save-spacer { display: block; }
  .desktop-save-bar { display: none; }

  /* ── Mobile: Larger timer buttons ── */
  #timer-box .btn {
    min-height: 52px;
    font-size: 16px;
    padding: 14px 24px;
  }
  #timer-box #timer-display {
    font-size: 28px !important;
  }

  /* ── Mobile: Larger signature canvas ── */
  #sig-canvas {
    height: 200px !important;
  }
  #sig-wrap-container {
    max-width: 100% !important;
  }
}

/* ── Sticky save bar (mobile only by default hidden on desktop) ──────────── */
.sticky-save-bar {
  display: none;
}
.mobile-save-spacer {
  display: none;
}

/* ── Sortable table headers ──────────────────────────────────────────────── */
thead th.sortable {
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
thead th.sortable:hover { color: var(--accent); }
thead th.sort-asc::after  { content: ' ↑'; color: var(--accent); }
thead th.sort-desc::after { content: ' ↓'; color: var(--accent); }

/* ── Inline editable cells ───────────────────────────────────────────────── */
.inline-edit-cell {
  cursor: pointer;
  border-radius: 4px;
  padding: 2px 4px;
  transition: background .15s;
}
.inline-edit-cell:hover { background: rgba(26,79,160,.08); }
.inline-edit-input {
  background: var(--bg2);
  border: 2px solid var(--accent);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  width: 100%;
  box-shadow: 0 0 0 3px rgba(26,79,160,.1);
}

/* ── Status indicator for customer form ─────────────────────────────────── */
.order-status-banner {
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}
.order-status-banner.geplant    { background: rgba(24,160,88,.1);  border: 1px solid rgba(24,160,88,.25);  color: #0d5c30; }
.order-status-banner.versendet  { background: rgba(26,79,160,.08); border: 1px solid rgba(26,79,160,.2);   color: var(--accent); }
.order-status-banner.ausgefüllt { background: rgba(212,138,0,.08); border: 1px solid rgba(212,138,0,.2);  color: #7a4800; }

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes slideUp {
  from { transform: translateY(100%); opacity: .6; }
  to   { transform: translateY(0);    opacity: 1;  }
}
@keyframes slideDownToast {
  from { transform: translateY(-12px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
