/* Milano Zur Post – Premium Cockpit (Clean White · Fire-Orange · Crisp Black SaaS Look) */
:root {
  --red: #c52032;
  --red-dark: #a31728;
  --red-soft: #fff4f4;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --border: #eaeef4;
  --border-strong: #d5dce6;
  --text: #0f172a;
  --text-secondary: #334155;
  --muted: #64748b;
  --green: #16a34a;
  --green-soft: #ecfdf5;
  --amber: #d9061b;
  --amber-soft: #ffebed;
  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --radius: 11px;
  --radius-lg: 16px;
  --shadow: 0 2px 12px rgba(15, 23, 42, 0.045);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.16);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

svg.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   LOGIN SCREEN
   ============================================================ */
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 390px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  text-align: center;
}

.login-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  margin-bottom: 14px;
}

.login-card h1 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.login-card p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

/* ============================================================
   MAIN SHELL
   ============================================================ */
.app-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

/* ULTRA-PREMIUM WEISSE SAAS-SIDEBAR MIT FEUER-ORANGE & TIEFEM SCHWARZ */
.sidebar {
  background: #ffffff;
  border-right: 1px solid #eaeef4;
  padding: 20px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  color: #0f172a;
  box-shadow: 2px 0 18px rgba(15, 23, 42, 0.03);
}

.sidebar-top-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 4px 18px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 12px;
}

.sidebar-logo-pill {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  box-shadow: none;
  flex-shrink: 0;
}

.sidebar-top-brand img {
  height: 36px;
  width: auto;
  max-width: 122px;
  object-fit: contain;
  display: block;
}

.sidebar-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}

.sidebar-nav-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sidebar .mobile-only-btn {
  color: #0f172a;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
}

.nav-item-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.nav-ico-box {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #f8fafc;
  border: 1px solid #eef2f6;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.nav-ico-box svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-item:hover {
  background: #fff4f4;
  color: #a31728;
}

.nav-item:hover .nav-ico-box {
  background: #ffe5e7;
  border-color: #feaab2;
  color: #c52032;
}

.nav-item.active {
  background: linear-gradient(135deg, #df3b4c 0%, #c52032 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(181, 18, 36, 0.28);
}

.nav-item.active .nav-ico-box {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.nav-badge {
  background: #ffffff;
  color: #c52032;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}

.nav-item:not(.active) .nav-badge {
  background: #c52032;
  color: #ffffff;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1e4e5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mode-switch-pill {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #faf5f6;
  border: 1px solid #e7e2da;
}

.mode-switch-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #374151;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.1s ease;
}

.mode-switch-opt:hover {
  color: #111318;
  background: #ffffff;
}

.mode-switch-opt.active {
  background: linear-gradient(135deg, #df3b4c 0%, #c52032 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(181, 18, 36, 0.28);
}

.sidebar-foot-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px !important;
  background: #ffffff !important;
  border: 1px solid #e7e2da !important;
  color: #111318 !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sidebar-foot-btn:hover {
  background: #fff4f4 !important;
  border-color: #efa2a9 !important;
  color: #a31728 !important;
}
  color: #a31728 !important;
}

.ops-subnav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #eaeef4;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  margin-bottom: 16px;
  max-width: 520px;
}

.ops-sub-btn {
  padding: 9px 10px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.15s ease;
}

.ops-sub-btn:hover {
  background: #fff4f4;
  color: #c52032;
}

.ops-sub-btn.active {
  background: linear-gradient(135deg, #df3b4c 0%, #c52032 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(181, 18, 36, 0.28);
}

.pos-stamps-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.45fr);
  gap: 14px;
  align-items: start;
}

.pos-stamps-grid > * {
  min-width: 0;
  max-width: 100%;
}

.conn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  flex-shrink: 0;
}

.conn-dot.offline {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* ============================================================
   MAIN AREA & TOPBAR
   ============================================================ */
.main-area {
  background: #f6f7fb;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-title h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.topbar-title p {
  font-size: 12.5px;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.content {
  padding: 20px 24px 40px;
  max-width: 1400px;
  width: 100%;
}

/* ============================================================
   BUTTONS & INPUTS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.14s, border-color 0.14s, color 0.14s;
  white-space: nowrap;
}

.btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-green {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.btn-green:hover {
  background: #166534;
  border-color: #166534;
}

.btn-blue {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.btn-blue:hover {
  background: #1e40af;
  border-color: #1e40af;
}

.btn-danger-outline {
  background: #ffffff;
  border-color: #fecaca;
  color: #b91c1c;
}

.btn-danger-outline:hover {
  background: #fef2f2;
  border-color: #f87171;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px;
}

.btn-lg {
  padding: 11px 18px;
  font-size: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 8px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--text);
  background: #ffffff;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.full-span {
  grid-column: 1 / -1;
}

/* ============================================================
   CARDS & PANELS
   ============================================================ */
.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.card-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
}

.stat-card small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.stat-card strong {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.stat-card.alert {
  border-color: #fca5a5;
  background: #fff8f8;
}

.stat-card.alert strong {
  color: var(--red);
}

/* ============================================================
   LIVE ORDERS GRID
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filter-tab {
  padding: 6px 12px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}

.filter-tab.active {
  background: var(--text);
  border-color: var(--text);
  color: #ffffff;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 14px;
}

.order-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.order-card.status-new {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.12);
}

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.order-no {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}

.order-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

.status-badge.new {
  background: #fee2e2;
  color: #b91c1c;
}
.status-badge.accepted,
.status-badge.preparing {
  background: var(--amber-soft);
  color: var(--amber);
}
.status-badge.delivering {
  background: var(--blue-soft);
  color: var(--blue);
}
.status-badge.completed {
  background: var(--green-soft);
  color: var(--green);
}
.status-badge.cancelled {
  background: #f3f4f6;
  color: #6b7280;
}

.order-customer {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.order-customer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.order-address-row {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12.5px;
}

.order-nav-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.order-items-list {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.order-item-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.order-item-sub {
  font-size: 12px;
  color: var(--muted);
  margin-left: 18px;
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.order-total-row strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ============================================================
   MILANO INCOMING ORDER POPUP (FRONT OVERLAY)
   ============================================================ */
.incoming-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(3px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.incoming-overlay.open {
  display: flex;
}

.incoming-modal {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 94vh;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--red);
}

.incoming-header {
  background: var(--red);
  color: #ffffff;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.incoming-header-left h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.incoming-header-left p {
  font-size: 12.5px;
  opacity: 0.92;
  margin-top: 2px;
}

.incoming-queue-pill {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.incoming-body {
  padding: 20px 22px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}

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

.incoming-box {
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.incoming-map-frame {
  width: 100%;
  height: 155px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 8px;
  background: #f3f4f6;
}

.time-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 10px;
}

.time-btn {
  padding: 9px 6px;
  border-radius: 7px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s;
}

.time-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.time-btn.selected {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.time-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
}

.promised-preview {
  background: var(--green-soft);
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #14532d;
  font-size: 13.5px;
}

.promised-preview strong {
  font-size: 17px;
  font-weight: 600;
}

.incoming-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--border);
  background: #fafbfc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.incoming-footer-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   TABLES & MANAGEMENT LAYOUTS
   ============================================================ */
.table-wrap {
  overflow-x: auto;
}

table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

table.data-table th {
  text-align: left;
  padding: 9px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface-subtle);
}

table.data-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.split-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}

.list-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: left;
  cursor: pointer;
  margin-bottom: 6px;
}

.list-item-btn.active {
  border-color: var(--red);
  background: var(--red-soft);
}

.street-chips {
  max-height: 460px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.street-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-bottom: 1px solid #f1f3f5;
  font-size: 13px;
}

.street-row:last-child {
  border-bottom: none;
}

/* ============================================================
   GENERIC MODAL
   ============================================================ */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 150;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: #ffffff;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 15.5px;
  font-weight: 600;
}

.modal-close {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: transparent;
  font-size: 20px;
  color: var(--muted);
  cursor: pointer;
}

.modal-close:hover {
  background: #f3f4f6;
}

.modal-body {
  padding: 18px;
  overflow-y: auto;
}

.modal-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  background: #fafbfc;
}

/* ============================================================
   EXACT 80mm THERMAL RECEIPT (1:1 MATCH TO USER'S PHOTO)
   Safe printable width (default 68mm + 5mm left inset) so NO
   characters are ever clipped by 80mm thermal printer heads!
   ============================================================ */
:root {
  --print-width: 68mm;
  --print-pad-left: 5mm;
  --print-pad-right: 3mm;
  --print-font-size: 11px;
}

.receipt-paper {
  width: var(--print-width, 68mm);
  max-width: 100%;
  margin: 0 auto;
  background: #ffffff;
  color: #000000;
  font-family: Arial, Helvetica, "Liberation Sans", sans-serif;
  font-size: var(--print-font-size, 11px);
  line-height: 1.32;
  padding: 5mm var(--print-pad-right, 3mm) 8mm var(--print-pad-left, 5mm);
  border: 1px solid #d1d5db;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.receipt-logo-wrap {
  text-align: center;
  margin-bottom: 4px;
}

.receipt-logo-wrap img {
  height: 48px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(185%);
}

.receipt-title-main {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.receipt-rule {
  border: none;
  border-top: 1px solid #222222;
  margin: 5px 0;
}

.receipt-center {
  text-align: center;
  font-size: 10.5px;
}

.receipt-customer {
  margin: 7px 0 6px;
  font-size: 11.5px;
  line-height: 1.38;
}

.receipt-kv {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
}

.receipt-kv-left {
  display: flex;
  gap: 8px;
  font-size: 10.5px;
}

.receipt-kv-left span:first-child {
  min-width: 74px;
}

.receipt-promised {
  font-size: 11.5px;
  font-weight: 700;
  margin: 4px 0 3px;
}

.receipt-section-head {
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  margin: 7px 0 4px;
}

.receipt-order-meta {
  padding-left: 10px;
  font-size: 11px;
  line-height: 1.36;
  margin-bottom: 6px;
}

.receipt-items-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin: 4px 0;
  font-size: 11px;
}

.receipt-items-table .col-qty {
  width: 15px;
}

.receipt-items-table .col-name {
  word-break: break-word;
}

.receipt-items-table .col-price {
  width: 52px;
}

.receipt-items-table .col-tax {
  width: 14px;
}

.receipt-items-table td {
  padding: 1.5px 0;
  vertical-align: top;
}

.receipt-items-table .col-qty {
  width: 16px;
  padding-right: 4px;
}

.receipt-items-table .col-name {
  padding-right: 6px;
}

.receipt-items-table .col-price {
  text-align: right;
  white-space: nowrap;
  padding-right: 5px;
}

.receipt-items-table .col-tax {
  width: 14px;
  text-align: right;
  white-space: nowrap;
}

.receipt-subline {
  font-size: 11.5px;
  padding-left: 18px;
}

.receipt-extra-row td {
  font-size: 11.5px;
  padding-top: 0.5px;
  padding-bottom: 0.5px;
}

.receipt-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  margin: 4px 0 6px;
}

.receipt-vat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  margin-bottom: 8px;
}

.receipt-vat-table td {
  padding: 1px 0;
}

.receipt-vat-table td:nth-child(2),
.receipt-vat-table td:nth-child(3) {
  text-align: right;
  white-space: nowrap;
}

.receipt-payment-line {
  font-size: 12.5px;
  font-weight: 700;
  margin: 6px 0 8px;
}

.receipt-tax-line {
  display: flex;
  gap: 18px;
  font-size: 12px;
  margin: 6px 0 8px;
}

.receipt-footer-msg {
  font-size: 12px;
  line-height: 1.35;
}

#receiptPrintArea {
  display: none;
}

/* ============================================================
   TOAST & RESPONSIVE
   ============================================================ */
.toast {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: #1f2937;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.18s;
  z-index: 300;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ============================================================
   MOBILE APP NAVIGATION (DRAWER & BOTTOM TAB BAR)
   ============================================================ */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-menu-btn,
.mobile-topbar-logo,
.mobile-only-btn,
.mobile-bottom-nav,
.mobile-nav-backdrop {
  display: none;
}

.mobile-menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.mobile-topbar-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 90;
}

.mobile-nav-backdrop.open {
  display: block;
}

.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 12px rgba(15, 23, 42, 0.06);
}

.mob-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  min-width: 58px;
  cursor: pointer;
}

.mob-tab svg.icon {
  width: 20px;
  height: 20px;
}

.mob-tab.active {
  color: var(--red);
}

.mob-tab-icon-wrap {
  position: relative;
  display: inline-flex;
}

.mob-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  background: var(--red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  padding: 0 5px;
  min-width: 17px;
  height: 17px;
  line-height: 17px;
  border-radius: 999px;
  text-align: center;
}

/* ============================================================
   RESPONSIVE: TABLET & SMARTPHONE APP MODE
   ============================================================ */
@media (max-width: 960px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 272px;
    max-width: 82vw;
    height: 100dvh;
    z-index: 100;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.16);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .sidebar-brand {
    justify-content: space-between;
  }

  .mobile-only-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .mobile-topbar-logo {
    display: block;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .topbar {
    padding: 10px 14px;
    gap: 8px;
  }

  .topbar-title h2 {
    font-size: 15.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar-title p {
    display: none;
  }

  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .content {
    padding: 14px 12px calc(84px + env(safe-area-inset-bottom, 0px));
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 14px;
  }

  .stat-card {
    padding: 11px 12px;
  }

  .stat-card strong {
    font-size: 19px;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .filter-tab {
    flex-shrink: 0;
  }

  .orders-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-card {
    padding: 14px;
  }

  .order-actions .btn {
    flex: 1 1 auto;
    min-height: 38px;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Prevent iOS Safari zoom on input focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    text-align: center;
  }

  /* Full-screen Milano Incoming Popup on Smartphone */
  .incoming-overlay {
    padding: 0;
    align-items: stretch;
  }

  .incoming-modal {
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }

  .incoming-header {
    padding: 12px 14px;
    padding-top: calc(12px + env(safe-area-inset-top, 0px));
  }

  .incoming-header-left h2 {
    font-size: 15.5px;
  }

  .incoming-header-left p {
    font-size: 12px;
  }

  .incoming-body {
    grid-template-columns: 1fr;
    padding: 14px;
    gap: 14px;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }

  .time-picker-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .time-btn {
    min-height: 44px;
    font-size: 14px;
  }

  .incoming-footer {
    padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 8px;
  }

  .incoming-footer-right {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    width: 100%;
  }

  .incoming-footer .btn {
    min-height: 44px;
    width: 100%;
    padding: 10px 12px;
  }

  /* Modals fit mobile screens cleanly */
  .modal-backdrop {
    padding: 10px;
    align-items: flex-end;
  }

  .modal {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 14px;
  }
}

/* ============================================================
   80mm THERMAL PRINTER PRINT RULES
   ============================================================ */
@media print {
  @page {
    size: 80mm auto;
    margin: 0;
  }
  body {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .login-screen,
  .app-shell,
  .mobile-bottom-nav,
  .mobile-nav-backdrop,
  .incoming-overlay,
  .modal-backdrop,
  .toast {
    display: none !important;
  }
  #receiptPrintArea {
    display: block !important;
    width: var(--print-width, 68mm) !important;
    max-width: var(--print-width, 68mm) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #receiptPrintArea .receipt-paper {
    border: none !important;
    width: var(--print-width, 68mm) !important;
    max-width: var(--print-width, 68mm) !important;
    padding: 3mm var(--print-pad-right, 3mm) 8mm var(--print-pad-left, 5mm) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* ============================================================
   TOPBAR TON-OPTIONEN POPOVER (8 Alarm-Töne + Lautstärke + Intervall)
   ============================================================ */
.sound-menu-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.sound-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}

.sound-trigger-btn.muted {
  color: #6b7280;
  background: #f3f4f6;
}

.sound-caret {
  font-size: 11px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.sound-menu-wrap.open .sound-caret {
  transform: rotate(180deg);
}

.sound-popover {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 310px;
  max-width: calc(100vw - 24px);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.22);
  z-index: 450;
  overflow: hidden;
  text-align: left;
}

.sound-menu-wrap.open .sound-popover {
  display: block;
}

.sound-pop-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
  color: #0f172a;
}

.sound-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  cursor: pointer;
}

.sound-switch input {
  width: 16px;
  height: 16px;
  accent-color: #d2233b;
  cursor: pointer;
}

.sound-pop-section {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.sound-pop-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 7px;
}

.sound-pop-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

.sound-options-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 245px;
  overflow-y: auto;
}

.sound-opt-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 7px 10px;
  border-radius: 9px;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #1f2937;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.sound-opt-btn:hover {
  border-color: #df3b4c;
  background: #fff4f4;
}

.sound-opt-btn.active {
  border-color: #d2233b;
  background: #fef2f2;
  color: #991b1b;
}

.sound-opt-main {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sound-opt-main strong {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
}

.sound-opt-main small {
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
}

.sound-opt-play {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #d2233b;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sound-opt-btn.active .sound-opt-play {
  background: #d2233b;
  border-color: #d2233b;
  color: #ffffff;
}

.sound-repeat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.sound-rep-btn {
  padding: 6px 4px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #374151;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.sound-rep-btn.active {
  background: #d2233b;
  border-color: #d2233b;
  color: #ffffff;
}

.sound-pop-foot {
  padding: 10px 14px;
  background: #f8fafc;
}

@media (max-width: 680px) {
  .sound-popover {
    position: fixed;
    top: 62px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
}

/* ============================================================
   PREMIUM SAAS POLISH (WEISS · FEUER-ORANGE · TIEFES SCHWARZ)
   ============================================================ */
.topbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #eaeef4;
  padding: 15px 26px;
}

.topbar-title h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.topbar-title p {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 1px;
}

.btn {
  border-radius: 10px;
  font-weight: 600;
  color: #0f172a;
  border-color: #e2e8f0;
  transition: all 0.15s ease;
}

.btn:hover {
  border-color: #efa2a9;
  background: #fff4f4;
  color: #a31728;
}

.btn-primary {
  background: linear-gradient(135deg, #df3b4c 0%, #c52032 100%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(181, 18, 36, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c52032 0%, #a31728 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(181, 18, 36, 0.34);
}

.card {
  background: #ffffff;
  border: 1px solid #eaeef4;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.card-header h3 {
  font-size: 15.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #eaeef4;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.stat-card:hover {
  border-color: #feaab2;
  transform: translateY(-1px);
}

.stat-card small {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.stat-card strong {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.filter-tab {
  border-radius: 999px;
  font-weight: 600;
  color: #334155;
}

.filter-tab.active {
  background: #fff4f4;
  border-color: #df3b4c;
  color: #c52032;
}

.sound-opt-btn.active {
  border-color: #c52032;
  background: #fff4f4;
  color: #a31728;
}

.sound-opt-play {
  color: #c52032;
}

.sound-opt-btn.active .sound-opt-play,
.sound-rep-btn.active {
  background: #c52032;
  border-color: #c52032;
  color: #ffffff;
}

/* ============================================================
   BETONFESTES MOBILE ADMIN LAYOUT (0% OVERFLOW, KEIN BOTTOM-BAR,
   MENÜ NUR VON LINKS, KEIN IOS AUTO-ZOOM, ALLES SAUBER UNTEREINANDER)
   ============================================================ */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

.app-shell,
.main-area,
.topbar,
.content,
.tab-panel,
.card {
  max-width: 100%;
  min-width: 0;
}

.mobile-bottom-nav {
  display: none !important;
}

@media (max-width: 960px) {
  .app-shell {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip;
  }

  .main-area {
    width: 100% !important;
    max-width: 100% !important;
  }

  .topbar {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px !important;
    gap: 8px !important;
    position: sticky;
    top: 0;
    z-index: 60;
  }

  .topbar-left {
    width: 100%;
    flex: 1 1 100%;
    min-width: 0;
  }

  .topbar-title {
    min-width: 0;
    flex: 1;
  }

  .topbar-title h2 {
    font-size: 16px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topbar-title p {
    display: none;
  }

  .topbar-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .topbar-actions .btn,
  .topbar-actions .sound-menu-wrap {
    flex: 1 1 auto;
  }

  .topbar-actions .sound-trigger-btn {
    width: 100%;
    justify-content: center;
  }

  .content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 12px 28px !important;
  }

  .ops-subnav {
    max-width: 100% !important;
    width: 100%;
    margin-bottom: 12px;
  }

  .ops-sub-btn {
    padding: 9px 6px;
    font-size: 12.5px;
  }

  /* Alle 2-/3-Spalten-Grids sauber untereinander */
  .pos-stamps-grid,
  .split-layout,
  .form-grid-2,
  .form-grid-3,
  .orders-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .card {
    padding: 14px !important;
    width: 100% !important;
    overflow-x: hidden;
  }

  .card-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Buttons niemals über Kartenrand hinausragen lassen */
  .btn {
    white-space: normal !important;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
    line-height: 1.3;
  }

  /* WICHTIG für iOS Safari: >= 16px verhindert ungewolltes Reinzoomen & Wegschieben beim Tippen! */
  input,
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100%;
    min-width: 0;
  }

  /* Menü-Drawer kommt sauber nur von links heraus */
  .sidebar {
    position: fixed !important;
    top: 0;
    bottom: 0;
    left: 0;
    width: 280px;
    max-width: 84vw;
    z-index: 120;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 12px 0 36px rgba(15, 23, 42, 0.22);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }
}

/* ============================================================
   PREMIUM SPEISEKARTE (ADMIN COCKPIT ?v=20261124zzp)
   ============================================================ */
.mode-switch-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.menu-pro-topbar {
  background: #ffffff;
  border: 1px solid #ecdfe0;
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(17, 19, 24, 0.03);
}

.menu-pro-title-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  flex: 1 1 320px;
}

.menu-pro-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-pro-title-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff4f4;
  border: 1px solid #feaab2;
  color: #c52032;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-pro-heading {
  font-size: 20px;
  font-weight: 800;
  color: #111318;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}

.menu-pro-sub {
  font-size: 13px;
  color: #525866;
  margin: 3px 0 0;
  line-height: 1.4;
}

.menu-pro-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.menu-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #faf5f6;
  border: 1px solid #e7e2da;
  color: #111318;
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.menu-stat-chip:hover {
  background: #f3e8e9;
  border-color: #d6cfc4;
}

.menu-stat-chip.has-soldout {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.menu-stat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.menu-stat-dot.neutral { background: #64748b; }
.menu-stat-dot.green { background: #16a34a; }
.menu-stat-dot.red { background: #dc2626; }

.menu-pro-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-pro-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.menu-pro-primary-btn {
  background: #df3b4c !important;
  border-color: #df3b4c !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(212, 43, 61, 0.24);
}
.menu-pro-primary-btn:hover {
  background: #c52032 !important;
  border-color: #c52032 !important;
}

.menu-pro-ghost-btn {
  background: #ffffff !important;
  border: 1px solid #e5e0d8 !important;
  color: #111318 !important;
}
.menu-pro-ghost-btn:hover {
  background: #faf5f6 !important;
  border-color: #d6cfc4 !important;
}

.menu-pro-enable-all-btn {
  background: #16a34a !important;
  border: 1px solid #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.22);
}
.menu-pro-enable-all-btn:hover {
  background: #15803d !important;
}

.menu-pro-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #e7e2da;
  background: #ffffff;
  color: #374151;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.menu-pro-icon-btn:hover {
  background: #faf5f6;
  border-color: #d1c9bc;
  color: #111318;
}

.menu-pro-icon-btn.danger:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
}

.menu-pro-reset-btn {
  border-radius: 999px;
  width: 36px;
  height: 36px;
  color: #6b7280;
}

/* Mobile horizontal category chips (hidden on desktop) */
.menu-mobile-cats-bar {
  display: none;
}

/* 2-Spalten-Workspace */
.menu-pro-layout {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.menu-pro-cat-card,
.menu-pro-items-card {
  background: #ffffff;
  border: 1px solid #ecdfe0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(17, 19, 24, 0.03);
}

.menu-pro-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
}

.menu-pro-cat-head h3 {
  font-size: 14.5px;
  font-weight: 800;
  color: #111318;
  margin: 0;
}

.menu-pro-cat-count {
  min-width: 24px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #faf5f6;
  border: 1px solid #e7e2da;
  color: #525866;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.menu-pro-cat-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-cat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: #faf5f6;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.menu-cat-row:hover {
  background: #f5e8e9;
}

.menu-cat-row.active {
  background: #fff4f4;
  border-color: #efa2a9;
  box-shadow: 0 2px 8px rgba(212, 43, 61, 0.08);
}

.menu-cat-thumb {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #ecdfe0;
  background: #ffffff;
  flex-shrink: 0;
}

.menu-cat-thumb-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #ecdfe0;
  color: #df3b4c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-cat-info {
  min-width: 0;
  flex: 1;
}

.menu-cat-name-line {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.menu-cat-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #111318;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-cat-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.menu-mini-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  flex-shrink: 0;
}
.menu-mini-pill.red { background: #fee2e2; color: #b91c1c; }
.menu-mini-pill.green { background: #dcfce7; color: #15803d; }

.menu-cat-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.menu-cat-actions .menu-pro-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

/* Rechter Gerichte-Header */
.menu-pro-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1e4e5;
}

.menu-pro-items-title-wrap h3 {
  font-size: 17px;
  font-weight: 800;
  color: #111318;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-heading-disc-pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
}

.menu-pro-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-status-filter {
  display: inline-flex;
  align-items: center;
  background: #faf5f6;
  border: 1px solid #e7e2da;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.menu-filter-pill {
  border: none;
  background: transparent;
  color: #525866;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.menu-filter-pill.active {
  background: #ffffff;
  color: #111318;
  box-shadow: 0 1px 4px rgba(17, 19, 24, 0.08);
}

.menu-pro-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-pro-search-ico {
  position: absolute;
  left: 12px;
  color: #64748b;
  pointer-events: none;
}

.menu-pro-search-wrap input {
  width: 248px;
  padding: 8px 12px 8px 36px;
  border: 1px solid #e5e0d8;
  border-radius: 999px;
  background: #faf5f6;
  color: #111318;
  font-size: 13px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.menu-pro-search-wrap input:focus {
  outline: none;
  background: #ffffff;
  border-color: #df3b4c;
}

/* Kategorie-Rabatt-Streifen */
.menu-cat-discount-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 13px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.menu-cat-discount-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.menu-cat-discount-ico {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #dcfce7;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-cat-discount-info strong {
  display: block;
  font-size: 13px;
  color: #14532d;
}

.menu-cat-discount-info span {
  display: block;
  font-size: 12px;
  color: #15803d;
}

.menu-cat-discount-form {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-cat-discount-form input {
  width: 68px;
  padding: 6px 8px;
  border: 1px solid #86efac;
  border-radius: 9px;
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  color: #111318;
  font-variant-numeric: tabular-nums;
}

.menu-pct-unit {
  font-size: 13px;
  font-weight: 700;
  color: #166534;
}

.menu-cat-discount-save {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  padding: 6px 13px !important;
  font-weight: 700 !important;
}

/* Gerichte-Karten-Liste */
.menu-dish-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-dish-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 15px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid #ecdfe0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.menu-dish-card:hover {
  border-color: #dfcbcd;
  box-shadow: 0 4px 14px rgba(17, 19, 24, 0.04);
}

.menu-dish-card.is-sold-out {
  background: #fffafa;
  border-color: #fecaca;
  border-left: 3.5px solid #dc2626;
}

.menu-dish-photo-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 13px;
  border: 1px solid #ecdfe0;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-dish-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu-dish-photo.is-drink {
  object-fit: contain;
  padding: 3px;
}

.menu-dish-card.is-sold-out .menu-dish-photo {
  filter: grayscale(0.5);
  opacity: 0.68;
}

.menu-dish-photo-empty {
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-dish-photo-badge {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.78);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.88;
}

.menu-dish-body {
  min-width: 0;
}

.menu-dish-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.menu-dish-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #111318;
  margin: 0;
  line-height: 1.25;
}

.menu-dish-card.is-sold-out .menu-dish-name {
  color: #6b7280;
  text-decoration: line-through;
  text-decoration-color: rgba(220, 38, 38, 0.45);
}

.menu-status-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}
.menu-status-tag.soldout { background: #fee2e2; color: #b91c1c; }
.menu-status-tag.discount { background: #16a34a; color: #ffffff; }
.menu-status-tag.cat { background: #f3e8e9; color: #525866; }

.menu-dish-desc {
  font-size: 12.5px;
  color: #525866;
  margin: 3px 0 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-dish-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.menu-price-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 8px;
  background: #faf5f6;
  border: 1px solid #ecdfe0;
  font-size: 12px;
  color: #111318;
  font-variant-numeric: tabular-nums;
}

.menu-price-lbl {
  color: #64748b;
  font-weight: 600;
}

/* Rechte Steuerleiste inkl. 1-Klick Aktiv/Heute-aus-Schalter */
.menu-dish-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dish-avail-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 800;
  min-width: 118px;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.1s ease;
}

.dish-avail-toggle:active {
  transform: scale(0.97);
}

.dish-avail-toggle.is-on {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.dish-avail-toggle.is-off {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.dish-avail-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.18s ease;
}

.dish-avail-toggle.is-on .dish-avail-track {
  background: #16a34a;
}

.dish-avail-toggle.is-off .dish-avail-track {
  background: #dc2626;
}

.dish-avail-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

.dish-avail-toggle.is-on .dish-avail-thumb {
  transform: translateX(16px);
}

.dish-avail-text {
  white-space: nowrap;
}

.menu-dish-subactions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.menu-dish-disc-inline {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e7e2da;
  border-radius: 10px;
  background: #faf5f6;
  overflow: hidden;
  height: 34px;
}

.menu-dish-disc-inline input {
  width: 44px;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #111318;
  padding: 0 3px;
  font-variant-numeric: tabular-nums;
}

.menu-dish-disc-inline input:focus {
  outline: none;
  background: #ffffff;
}

.menu-disc-save-btn {
  height: 100%;
  border: none;
  border-left: 1px solid #e7e2da;
  background: #ffffff;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  padding: 0 9px;
  cursor: pointer;
}

.menu-disc-save-btn:hover {
  background: #f0fdf4;
  color: #15803d;
}

.menu-empty-state {
  padding: 36px 18px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  background: #faf5f6;
  border: 1px dashed #e2d0d2;
  border-radius: 14px;
}

@media (max-width: 980px) {
  .menu-pro-layout {
    grid-template-columns: 1fr;
  }

  .menu-pro-cat-card {
    display: none;
  }

  .menu-mobile-cats-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    margin-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .menu-mobile-cats-bar::-webkit-scrollbar {
    display: none;
  }

  .menu-mob-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid #e7e2da;
    background: #ffffff;
    color: #111318;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
  }

  .menu-mob-cat-pill.active {
    background: #df3b4c;
    border-color: #df3b4c;
    color: #ffffff;
  }

  .menu-mob-cat-cnt {
    font-size: 11.5px;
    opacity: 0.78;
    font-variant-numeric: tabular-nums;
  }

  .menu-mob-cat-off {
    padding: 1px 6px;
    border-radius: 999px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
  }

  .menu-mob-cat-pill.active .menu-mob-cat-off {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
  }
}

@media (max-width: 720px) {
  .menu-pro-topbar {
    padding: 14px;
    border-radius: 16px;
  }

  .menu-pro-actions {
    width: 100%;
  }

  .menu-pro-actions .btn {
    flex: 1 1 auto;
  }

  .menu-pro-controls {
    width: 100%;
  }

  .menu-status-filter {
    width: 100%;
    justify-content: space-between;
  }

  .menu-filter-pill {
    flex: 1;
    text-align: center;
  }

  .menu-pro-search-wrap {
    width: 100%;
  }

  .menu-pro-search-wrap input {
    width: 100%;
  }

  .menu-dish-card {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 11px;
    padding: 12px;
  }

  .menu-dish-photo-wrap {
    width: 52px;
    height: 52px;
  }

  .menu-dish-controls {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f2e6e7;
    width: 100%;
  }

  .dish-avail-toggle {
    min-width: 124px;
  }
}

/* ============================================================
   RABATT-AKTION MODAL & BUTTON (?v=20261124zzq)
   ============================================================ */
.menu-stat-dot.orange { background: #df3b4c; }

.menu-stat-chip.has-discount {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #15803d;
}

.menu-pro-discount-btn {
  background: #f0fdf4 !important;
  border: 1px solid #86efac !important;
  color: #15803d !important;
}
.menu-pro-discount-btn:hover {
  background: #dcfce7 !important;
  border-color: #4ade80 !important;
}

.disc-modal {
  max-width: 640px !important;
  width: 94vw;
  border-radius: 20px !important;
  overflow: hidden;
}

.disc-modal-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #dcfce7;
  color: #15803d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.disc-modal-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 70vh;
  overflow-y: auto;
}

.disc-step-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disc-step-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.disc-step-label {
  font-size: 13px;
  font-weight: 800;
  color: #111318;
}

.disc-scope-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  border-radius: 13px;
  background: #faf5f6;
  border: 1px solid #e7e2da;
}

.disc-scope-tab {
  border: none;
  background: transparent;
  color: #525866;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.disc-scope-tab.active {
  background: #ffffff;
  color: #111318;
  box-shadow: 0 2px 6px rgba(17, 19, 24, 0.08);
}

.disc-sel-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.disc-sel-count {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f3e8e9;
  color: #525866;
  font-variant-numeric: tabular-nums;
}

.disc-sel-count.has-sel {
  background: #dcfce7;
  color: #15803d;
}

.disc-text-btn {
  border: none;
  background: none;
  color: #64748b;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.disc-filter-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 8px;
}

.disc-filter-row select,
.disc-cat-select {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #e2d0d2;
  border-radius: 11px;
  background: #ffffff;
  color: #111318;
  font-size: 13.5px;
  font-weight: 600;
}

.disc-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.disc-search-wrap svg {
  position: absolute;
  left: 11px;
  color: #64748b;
  pointer-events: none;
}

.disc-search-wrap input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid #e2d0d2;
  border-radius: 11px;
  background: #faf5f6;
  color: #111318;
  font-size: 13.5px;
}

.disc-search-wrap input:focus {
  outline: none;
  background: #ffffff;
  border-color: #df3b4c;
}

.disc-items-picker {
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #ecdfe0;
  border-radius: 13px;
  background: #faf5f6;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.disc-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #ecdfe0;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.14s ease, background 0.14s ease;
}

.disc-picker-row:hover {
  border-color: #d6cfc4;
}

.disc-picker-row.is-selected {
  background: #f0fdf4;
  border-color: #86efac;
}

.disc-picker-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.disc-picker-check.checked {
  background: #16a34a;
  border-color: #16a34a;
}

.disc-picker-thumb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #ecdfe0;
  background: #ffffff;
  flex-shrink: 0;
}

.disc-picker-thumb-empty {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3e8e9;
  flex-shrink: 0;
}

.disc-picker-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.disc-picker-info strong {
  font-size: 13.5px;
  color: #111318;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.disc-picker-info small {
  font-size: 11.5px;
  color: #64748b;
  font-variant-numeric: tabular-nums;
}

.disc-picker-empty {
  padding: 20px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.disc-preset-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.disc-preset-pill {
  border: 1px solid #e5e0d8;
  background: #ffffff;
  color: #111318;
  font-size: 13px;
  font-weight: 800;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-variant-numeric: tabular-nums;
  transition: all 0.14s ease;
}

.disc-preset-pill:hover {
  border-color: #86efac;
  background: #f0fdf4;
}

.disc-preset-pill.active {
  background: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
}

.disc-custom-pct {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px 0 4px;
  border: 1px solid #e2d0d2;
  border-radius: 999px;
  background: #faf5f6;
  height: 36px;
}

.disc-custom-pct input {
  width: 52px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  color: #111318;
  font-variant-numeric: tabular-nums;
}

.disc-custom-pct input:focus {
  outline: none;
}

.disc-custom-pct span {
  font-size: 13px;
  font-weight: 800;
  color: #525866;
}

.disc-live-preview {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 13px;
  padding: 11px 14px;
  font-size: 13px;
  color: #14532d;
  font-variant-numeric: tabular-nums;
}

.disc-preview-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.disc-preview-sub,
.disc-preview-examples {
  font-size: 12.5px;
  color: #166534;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.disc-live-preview del {
  color: #64748b;
  margin: 0 3px;
}

.disc-new-price {
  color: #15803d;
  font-weight: 800;
}

.disc-apply-btn {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  border-radius: 999px !important;
}

.disc-active-section {
  border-top: 1px solid #ecdfe0;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disc-clear-all-btn {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.disc-active-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.disc-active-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  background: #faf5f6;
  border: 1px solid #ecdfe0;
}

.disc-active-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.disc-active-badge {
  padding: 3px 9px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.disc-active-info strong {
  display: block;
  font-size: 13px;
  color: #111318;
}

.disc-active-info small {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.disc-remove-btn {
  border: 1px solid #e5e0d8;
  background: #ffffff;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}

.disc-remove-btn:hover {
  background: #fef2f2;
  border-color: #fecaca;
}

.disc-active-empty {
  font-size: 12.5px;
  color: #64748b;
  padding: 10px 12px;
  background: #faf5f6;
  border-radius: 10px;
  text-align: center;
}

@media (max-width: 640px) {
  .disc-filter-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SUB-NAVIGATION (SPEISEKARTE & LADEN KONFIGURATION ?v=20261124zzr)
   ============================================================ */
.pro-subnav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #ecdfe0;
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(17, 19, 24, 0.03);
}

.pro-subnav-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pro-subnav-scroll::-webkit-scrollbar {
  display: none;
}

.pro-subnav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: #525866;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pro-subnav-tab:hover {
  background: #faf5f6;
  color: #111318;
}

.pro-subnav-tab.active {
  background: #df3b4c;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(212, 43, 61, 0.24);
}

.pro-subnav-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.pro-subnav-tab.active .pro-subnav-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Eigenes 2-Spalten Rabatt-Aktionen Feld */
.disc-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 18px;
  align-items: start;
}

.disc-panel-card {
  background: #ffffff;
  border: 1px solid #ecdfe0;
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 2px 10px rgba(17, 19, 24, 0.03);
}

.disc-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f1e4e5;
}

.disc-panel-head h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: #111318;
  margin: 0;
}

.disc-panel-head p {
  font-size: 12.5px;
  color: #64748b;
  margin: 2px 0 0;
}

.disc-panel-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.disc-items-picker-tall {
  max-height: 280px;
}

.disc-panel-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.disc-panel-footer .disc-apply-btn {
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

/* Gerichte-Preise mit Rabatt & Prozent-Icon-Button */
.menu-price-old {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}

.menu-price-new {
  color: #15803d;
  font-weight: 800;
}

.menu-pro-icon-btn.has-disc {
  background: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
}

/* Laden Konfiguration sauber gestylte Karten */
.cfg-pro-topbar {
  margin-bottom: 12px;
}

.cfg-save-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.cfg-save-footer .btn {
  border-radius: 999px;
  padding: 11px 24px;
  font-weight: 800;
}

@media (max-width: 960px) {
  .disc-workspace-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pro-subnav-bar {
    padding: 5px;
    gap: 5px;
  }

  .pro-subnav-tab {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .disc-panel-card {
    padding: 14px;
  }

  .disc-panel-footer .disc-apply-btn {
    width: 100%;
  }

  .cfg-save-footer .btn {
    width: 100%;
  }
}

/* ============================================================
   KUNDENVERWALTUNG: LÖSCHEN, BLOCKIEREN & SPERRLISTE (?v=20261124zzt)
   ============================================================ */
.pro-subnav-badge.red {
  background: #dc2626;
}

.cust-mgmt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cust-mgmt-head h3 {
  font-size: 16.5px;
  font-weight: 800;
  color: #111318;
  margin: 0;
}

.cust-mgmt-head p {
  font-size: 12.5px;
  color: #64748b;
  margin: 3px 0 0;
}

.cust-mgmt-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cust-mgmt-search {
  flex: 1 1 260px;
  max-width: 380px;
}

.cust-mgmt-search input {
  width: 100%;
}

.cust-mgmt-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cust-row-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 15px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #ecdfe0;
}

.cust-row-card.is-blocked {
  background: #fffafa;
  border-color: #fecaca;
  border-left: 3.5px solid #dc2626;
}

.cust-row-main {
  flex: 1 1 260px;
  min-width: 0;
}

.cust-row-title-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cust-row-name {
  font-size: 14.5px;
  font-weight: 800;
  color: #111318;
}

.cust-row-orders {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cust-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
  font-size: 12.5px;
  color: #525866;
}

.cust-row-reason {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #b91c1c;
}

.cust-row-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.cust-block-btn {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700 !important;
}
.cust-block-btn:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
}

.cust-unblock-btn {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
.cust-unblock-btn:hover {
  background: #15803d !important;
}

.order-block-cust-btn {
  color: #b91c1c !important;
  border-color: #fecaca !important;
  background: #fff5f5 !important;
}
.order-block-cust-btn:hover {
  background: #fee2e2 !important;
}

.block-add-box {
  background: #faf5f6;
  border: 1px solid #ecdfe0;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 14px;
}

.block-add-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.block-add-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.cust-action-target-box {
  background: #faf5f6;
  border: 1px solid #ecdfe0;
  border-radius: 12px;
  padding: 11px 13px;
  font-size: 13px;
  color: #111318;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cust-reason-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cust-reason-chip {
  border: 1px solid #e5e0d8;
  background: #ffffff;
  color: #374151;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}
.cust-reason-chip:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

@media (max-width: 640px) {
  .cust-mgmt-search {
    max-width: none;
    width: 100%;
  }
  .cust-row-actions {
    width: 100%;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid #f2e6e7;
  }
}

/* ============================================================
   AUDIO-UNLOCK BANNER & LANGE ALARMTÖNE (?v=20261124zzu)
   ============================================================ */
.audio-unlock-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 22px;
  background: linear-gradient(90deg, #7c131d 0%, #d2233b 55%, #b91c1c 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  user-select: none;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.22);
}
.audio-unlock-banner:hover {
  filter: brightness(1.05);
}
.audio-unlock-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.audio-unlock-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.audio-unlock-left strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.25;
}
.audio-unlock-left span {
  display: block;
  font-size: 12px;
  opacity: 0.92;
  margin-top: 1px;
}
.audio-unlock-btn {
  background: #ffffff !important;
  color: #b91c1c !important;
  border: none !important;
  font-weight: 800 !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.sound-options-list {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 2px;
}

@media (max-width: 720px) {
  .audio-unlock-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 14px;
    gap: 10px;
  }
  .audio-unlock-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   BUCHHALTUNG, MONATS-/WOCHEN-UMSATZ & CSV-EXPORT (?v=20261124zzv)
   ============================================================ */
.acc-center-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.acc-period-badge {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.acc-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.acc-preset-btn {
  border: 1px solid #e5e0d8;
  background: #ffffff;
  color: #374151;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.acc-preset-btn:hover {
  border-color: #d2233b;
  color: #d2233b;
  background: #fff7f7;
}
.acc-preset-btn.active {
  background: #111318;
  border-color: #111318;
  color: #ffffff;
}

.acc-range-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: #faf5f6;
  border: 1px solid #ecdfe0;
  border-radius: 12px;
}

.acc-date-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acc-date-field label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.acc-date-field input[type="date"] {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcd5ca;
  border-radius: 9px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  color: #111318;
}

.acc-chk-wrap {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  user-select: none;
}

.acc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.acc-kpi-box {
  background: #ffffff;
  border: 1px solid #ecdfe0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.acc-kpi-box.acc-kpi-primary {
  background: linear-gradient(135deg, #171920 0%, #262934 100%);
  border-color: #171920;
  color: #ffffff;
}
.acc-kpi-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.acc-kpi-primary .acc-kpi-label {
  color: rgba(255, 255, 255, 0.72);
}
.acc-kpi-val {
  font-size: 20px;
  font-weight: 900;
  color: #111318;
  line-height: 1.2;
}
.acc-kpi-val small {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  margin-left: 4px;
}
.acc-kpi-primary .acc-kpi-val {
  color: #ffffff;
}
.acc-kpi-sub {
  font-size: 12px;
  color: #6b7280;
}
.acc-kpi-primary .acc-kpi-sub {
  color: rgba(255, 255, 255, 0.85);
}

.acc-export-bar {
  background: #fdf8f9;
  border: 1px solid #ecd8da;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.acc-export-group-title {
  font-size: 12px;
  font-weight: 800;
  color: #374151;
}
.acc-export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.acc-btn-dark {
  background: #171920 !important;
  color: #ffffff !important;
  border-color: #171920 !important;
}
.acc-btn-dark:hover {
  background: #2b2f3c !important;
}

.acc-subtabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid #ecdfe0;
  padding-bottom: 10px;
}
.acc-subtab {
  border: 1px solid #e5e0d8;
  background: #ffffff;
  color: #4b5563;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 10px;
  cursor: pointer;
}
.acc-subtab.active {
  background: #fef2f2;
  border-color: #d2233b;
  color: #b91c1c;
}

.acc-table th,
.acc-table td {
  font-size: 12.5px;
  white-space: nowrap;
}
.acc-sum-row td {
  background: #faf5f6 !important;
  border-top: 2px solid #d6cfc3 !important;
  color: #111318;
}

.acc-tax-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.acc-mini-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111318;
}

@media (max-width: 640px) {
  .acc-date-field {
    flex: 1 1 130px;
  }
  .acc-export-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }
}

/* Buchhalter E-Mail Direktversand (?v=20261124zzw) */
.acc-email-card {
  background: linear-gradient(180deg, #fff7f8 0%, #ffffff 100%);
  border: 1px solid #f0d5d8;
  border-radius: 13px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.acc-email-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.acc-email-head strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: #111318;
}
.acc-email-head span {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.acc-smtp-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
}
.acc-smtp-pill.ready {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.acc-email-fields {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.acc-field-grow {
  flex: 1 1 210px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acc-field-select {
  flex: 0 1 190px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acc-field-grow label,
.acc-field-select label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.acc-field-grow input,
.acc-field-select select {
  height: 38px;
  padding: 0 11px;
  border: 1px solid #dcd5ca;
  border-radius: 9px;
  background: #ffffff;
  font-size: 13px;
  color: #111318;
  width: 100%;
}
.acc-field-grow input:focus,
.acc-field-select select:focus {
  outline: none;
  border-color: #d2233b;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
}

.acc-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
.acc-provider-btn {
  background: #ffffff !important;
  border: 1px solid #dcd5ca !important;
  color: #1f2937 !important;
  font-weight: 700 !important;
}
.acc-provider-btn:hover {
  border-color: #d2233b !important;
  color: #d2233b !important;
  background: #fff7f7 !important;
}

@media (max-width: 640px) {
  .acc-field-grow,
  .acc-field-select {
    flex: 1 1 100%;
  }
  .acc-email-actions .btn {
    flex: 1 1 calc(50% - 6px);
    text-align: center;
  }
}

/* ============================================================
   INTERAKTIVE UMSATZ-GRAFIKEN & DONUTS (?v=20261124zzx)
   ============================================================ */
.chart-main-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chart-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.chart-controls-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.chart-seg {
  display: inline-flex;
  background: #f5edee;
  border: 1px solid #e6d5d7;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.chart-seg-btn {
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.14s ease;
  white-space: nowrap;
}
.chart-seg-btn:hover {
  color: #111318;
}
.chart-seg-btn.active {
  background: #111318;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.chart-stage,
.chart-card-inner {
  background: #fdfafa;
  border: 1px solid #eedfe1;
  border-radius: 12px;
  padding: 12px 14px;
}

.chart-legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
}
.chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chart-legend i {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.chart-svg-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.chart-svg {
  width: 100%;
  min-width: 520px;
  height: auto;
  max-height: 280px;
  display: block;
}

.chart-empty {
  padding: 28px 16px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}

.chart-detail-pill {
  background: #faf5f6;
  border: 1px solid #ead9db;
  border-radius: 11px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.chart-detail-title strong {
  display: block;
  font-size: 13.5px;
  font-weight: 900;
  color: #111318;
}
.chart-detail-title span {
  display: block;
  font-size: 11.5px;
  color: #6b7280;
}
.chart-detail-metrics {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.chart-detail-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.chart-detail-metrics small {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b7280;
}
.chart-detail-metrics strong {
  font-size: 13px;
  font-weight: 800;
  color: #111318;
}

.chart-donuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}

.donut-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 !important;
}
.donut-card-head strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #111318;
}
.donut-card-head span {
  display: block;
  font-size: 12px;
  color: #6b7280;
}
.donut-card-body {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.donut-svg {
  width: 116px;
  height: 116px;
  flex-shrink: 0;
}
.donut-legend {
  flex: 1 1 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.donut-leg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #ecdfe0;
}
.donut-leg-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.donut-leg-left {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #374151;
  font-weight: 600;
}
.donut-leg-left i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.donut-leg-row strong {
  font-weight: 800;
  color: #111318;
  white-space: nowrap;
}
.donut-leg-row strong small {
  font-weight: 700;
  color: #6b7280;
}

/* ============================================================
   PREMIUM ONLINE-ZAHLUNGEN & GEBÜHREN-AUSWERTUNG (?v=20261124zzy)
   ============================================================ */
.pf-premium-shell {
  background: #ffffff;
  border: 1px solid #e7d4d6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 19, 24, 0.06);
}

.pf-hero-header {
  background: linear-gradient(135deg, #12141a 0%, #1e212b 62%, #2b1a1d 100%);
  color: #ffffff;
  padding: 20px 22px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.pf-hero-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #e57b86;
  margin-bottom: 4px;
}
.pf-hero-title h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #ffffff;
}
.pf-hero-title p {
  margin: 5px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.76);
  max-width: 640px;
}
.pf-hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pf-hero-btn-ghost {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  font-weight: 700 !important;
}
.pf-hero-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}
.pf-hero-btn-gold {
  background: linear-gradient(135deg, #d45360 0%, #b82f3d 100%) !important;
  color: #111318 !important;
  border: none !important;
  font-weight: 800 !important;
}
.pf-hero-btn-gold:hover {
  filter: brightness(1.06);
}

.pf-hero-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.pf-hkpi {
  background: #171921;
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pf-hkpi span {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pf-hkpi strong {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}
.pf-hkpi small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.72);
}
.pf-hkpi-fee strong {
  color: #fca5a5;
}
.pf-hkpi-net strong {
  color: #4ade80;
}

.pf-editor-panel {
  background: #faf2f3;
  border-bottom: 1px solid #e7d4d6;
  padding: 16px 20px;
}
.pf-editor-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.pf-editor-head strong {
  display: block;
  font-size: 13.5px;
  color: #111318;
}
.pf-editor-head span {
  display: block;
  font-size: 12px;
  color: #6b7280;
}
.pf-editor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.pf-edit-row {
  background: #ffffff;
  border: 1px solid #e6d5d7;
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pf-edit-name {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pf-edit-name strong {
  display: block;
  font-size: 13px;
  color: #111318;
}
.pf-edit-name small {
  display: block;
  font-size: 11px;
  color: #6b7280;
}
.pf-edit-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pf-edit-inputs label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pf-edit-inputs span {
  font-size: 10.5px;
  font-weight: 700;
  color: #6b7280;
}
.pf-edit-inputs input {
  height: 34px;
  padding: 0 9px;
  border: 1px solid #d6cfc3;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #111318;
  width: 100%;
}

.pf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
  padding: 18px 20px;
  background: #fdfafa;
}

.pf-provider-card {
  background: #ffffff;
  border: 1px solid #ead8da;
  border-radius: 14px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.pf-provider-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(17, 19, 24, 0.07);
  border-color: #d7b6b9;
}
.pf-provider-card.has-volume {
  border-color: #dfb8bc;
  box-shadow: 0 4px 14px rgba(17, 19, 24, 0.04);
}
.pf-provider-card.is-zero {
  opacity: 0.86;
}

.pf-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pay-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.pay-brand-paypal {
  background: #eaf4fc;
  color: #003087;
  border: 1px solid #bfdbfe;
}
.pay-brand-paypal span {
  color: #0079c1;
}
.pay-brand-apple {
  background: #111318;
  color: #ffffff;
}
.pay-brand-gpay {
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
}
.pay-brand-gpay b {
  color: #4285f4;
  margin-right: 3px;
}
.pay-brand-klarna {
  background: #ffb3c7;
  color: #0b051d;
}
.pay-brand-stripe {
  background: #635bff;
  color: #ffffff;
}
.pay-brand-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
}
.pay-brand-ec {
  background: #ecfdf5;
  color: #0f766e;
  border: 1px solid #99f6e4;
}
.pay-brand-cash {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.pf-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
}
.pf-status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.pf-status-pill.on {
  background: #ecfdf5;
  color: #047857;
}
.pf-status-pill.on i {
  background: #10b981;
}
.pf-status-pill.off {
  background: #f3f4f6;
  color: #6b7280;
}
.pf-status-pill.off i {
  background: #9ca3af;
}

.pf-card-name-row strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #111318;
}
.pf-card-name-row span {
  display: block;
  font-size: 11.5px;
  color: #6b7280;
  margin-top: 1px;
}

.pf-card-numbers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 9px 10px;
  background: #faf5f6;
  border-radius: 10px;
  border: 1px solid #f0e0e2;
}
.pf-num-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #4b5563;
}
.pf-num-row strong {
  font-size: 13px;
  font-weight: 800;
  color: #111318;
  white-space: nowrap;
}
.pf-num-row small {
  font-size: 10.5px;
  color: #9ca3af;
}
.pf-row-fee strong {
  color: #b91c1c;
}
.pf-row-net {
  padding-top: 6px;
  border-top: 1px dashed #e2cbcd;
}
.pf-row-net span {
  font-weight: 700;
  color: #111318;
}
.pf-row-net strong {
  font-size: 14.5px;
  font-weight: 900;
  color: #15803d;
}

.pf-share-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-share-bar {
  flex: 1;
  height: 6px;
  background: #efe2e3;
  border-radius: 999px;
  overflow: hidden;
}
.pf-share-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.25s ease;
}
.pf-share-wrap span {
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  white-space: nowrap;
}

.pf-table-box {
  padding: 0 20px 18px;
  background: #ffffff;
}

@media (max-width: 640px) {
  .pf-hero-header {
    padding: 16px;
  }
  .pf-cards-grid {
    padding: 14px;
    grid-template-columns: 1fr;
  }
  .pf-table-box {
    padding: 0 14px 14px;
  }
}

/* ============================================================
   PREMIUM ULTRA LAYOUT — BUCHHALTUNG & STATISTIKEN (?v=20261124zzz)
   ============================================================ */
.ultra-pro-topbar {
  margin-bottom: 14px;
}

.ultra-period-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #ebd9db;
  border-radius: 14px;
  padding: 11px 15px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(17, 19, 24, 0.03);
}

.ultra-date-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ultra-date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #faf5f6;
  border: 1px solid #e2d0d2;
  border-radius: 10px;
  padding: 3px 9px;
  height: 36px;
}
.ultra-date-pill span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
}
.ultra-date-pill input[type="date"] {
  border: none;
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  color: #111318;
  outline: none;
}

.ultra-section-pane {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ultra-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 22px !important;
  border-radius: 16px !important;
  border: 1px solid #ebd9db !important;
  box-shadow: 0 6px 24px rgba(17, 19, 24, 0.04) !important;
  margin: 0 !important;
}

.ultra-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2e3e4;
}
.ultra-card-head h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 850;
  color: #111318;
}
.ultra-card-head p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #6b7280;
}

.ultra-export-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ultra-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.ultra-primary-send-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ultra-primary-send-row .btn {
  height: 40px;
  padding: 0 18px;
  font-weight: 800;
}

.ultra-webmail-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px dashed #e7d4d6;
  font-size: 12px;
  color: #6b7280;
  font-weight: 600;
}
.ultra-webmail-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.ultra-chip-btn {
  border: 1px solid #e2d0d2;
  background: #faf5f6;
  color: #1f2937;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.14s ease;
}
.ultra-chip-btn:hover {
  border-color: #d2233b;
  color: #d2233b;
  background: #fff7f7;
}

.ultra-export-section-lbl {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.ultra-download-grid {
  display: grid;
  gap: 10px;
}
.ultra-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.ultra-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.ultra-dl-tile {
  text-align: left;
  background: #faf5f6;
  border: 1px solid #e6d5d7;
  border-radius: 12px;
  padding: 13px 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.15s ease;
}
.ultra-dl-tile strong {
  font-size: 13.5px;
  font-weight: 800;
  color: #111318;
}
.ultra-dl-tile span {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.35;
}
.ultra-dl-tile:hover {
  background: #ffffff;
  border-color: #d2233b;
  box-shadow: 0 6px 18px rgba(200, 16, 46, 0.08);
  transform: translateY(-1px);
}
.ultra-dl-tile.ultra-dl-featured {
  background: linear-gradient(135deg, #171921 0%, #2a1c20 100%);
  border-color: #171921;
}
.ultra-dl-tile.ultra-dl-featured strong {
  color: #ffffff;
}
.ultra-dl-tile.ultra-dl-featured span {
  color: rgba(255, 255, 255, 0.78);
}
.ultra-dl-tile.ultra-dl-featured:hover {
  border-color: #d45360;
  box-shadow: 0 8px 22px rgba(17, 19, 24, 0.18);
}

/* Beliebteste Gerichte Ranking */
.ultra-top-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ultra-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ultra-rank {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f3eaeb;
  color: #374151;
  font-size: 12.5px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ultra-rank.gold {
  background: linear-gradient(135deg, #f50b22, #d9061b);
  color: #ffffff;
}
.ultra-rank.silver {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #ffffff;
}
.ultra-rank.bronze {
  background: linear-gradient(135deg, #c24854, #9a2c37);
  color: #ffffff;
}
.ultra-top-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.ultra-top-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 13.5px;
}
.ultra-top-line strong {
  color: #111318;
  font-weight: 800;
}
.ultra-top-line span {
  color: #6b7280;
  font-size: 12.5px;
  white-space: nowrap;
}
.ultra-top-line b {
  color: #111318;
}
.ultra-top-bar {
  height: 7px;
  background: #f2e5e6;
  border-radius: 999px;
  overflow: hidden;
}
.ultra-top-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #d2233b 0%, #ef4444 100%);
}

@media (max-width: 720px) {
  .ultra-card {
    padding: 15px !important;
  }
  .ultra-primary-send-row .btn {
    width: 100%;
  }
  .ultra-date-inline {
    width: 100%;
  }
  .ultra-date-pill {
    flex: 1 1 130px;
  }
}

/* ============================================================
   CLEAN WHITE DESIGN — LIEFERANDO / WINORDER STIL (?v=20261124zzza)
   Kein schweres Schwarz, keine überladenen Kästen, glasklare Struktur
   ============================================================ */
.clean-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.clean-page-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.clean-page-head p {
  margin: 3px 0 0;
  font-size: 13px;
  color: #64748b;
}

.clean-period-tag {
  background: #fff5f5;
  color: #d2233b;
  border: 1px solid #fecaca;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

/* Flache Lieferando-Unterstreichungs-Tabs */
.clean-underline-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.clean-utab {
  position: relative;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.15s ease;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -1px;
}
.clean-utab:hover {
  color: #0f172a;
}
.clean-utab.active {
  color: #d2233b;
  font-weight: 800;
  border-bottom-color: #d2233b;
}

/* Schlanke weiße Filter-Leiste */
.clean-filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.clean-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.clean-filter-group label,
.clean-field label {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

.clean-input,
.clean-select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d5dce6;
  border-radius: 10px;
  background: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.clean-input:focus,
.clean-select:focus {
  border-color: #d2233b;
  box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.08);
}

/* Ruhige, konsistente Buttons (KEIN Schwarz!) */
.clean-btn-primary {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  border: none;
  background: #d2233b;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease;
}
.clean-btn-primary:hover {
  background: #a90d27;
}

.clean-btn-outline {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid #d2233b;
  background: #ffffff;
  color: #d2233b;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.14s ease;
}
.clean-btn-outline:hover {
  background: #fff5f5;
}

.clean-btn-light {
  height: 40px;
  padding: 0 15px;
  border-radius: 10px;
  border: 1px solid #d5dce6;
  background: #ffffff;
  color: #1e293b;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.14s ease, background 0.14s ease;
}
.clean-btn-light:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

/* Saubere Inhalts-Container */
.clean-pane {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.clean-surface {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.clean-surface-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.clean-surface-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.clean-surface-head p {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: #64748b;
}

/* Helle, luftige KPI-Karten (KEIN Schwarz!) */
.clean-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.clean-kpi-row.clean-kpi-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.clean-kpi-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.clean-kpi-card.accent-red {
  border-top: 3px solid #d2233b;
}
.clean-kpi-card.accent-green {
  border-top: 3px solid #16a34a;
}
.clean-kpi-lbl {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}
.clean-kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.clean-kpi-val small {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-left: 5px;
}
.clean-kpi-sub {
  font-size: 12px;
  color: #64748b;
}

/* Helle Mini-Tabs (Wöchentlich / Monatlich / Jährlich) */
.clean-chart-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.clean-mini-tabs {
  display: inline-flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}
.clean-mtab {
  border: none;
  background: transparent;
  color: #475569;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.14s ease;
}
.clean-mtab:hover {
  color: #0f172a;
}
.clean-mtab.active {
  background: #ffffff;
  color: #d2233b;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

/* Tabellen hell & gestochen scharf */
.clean-table th {
  background: #f8fafc !important;
  color: #475569 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 1px solid #e2e8f0 !important;
}
.clean-table td {
  font-size: 13px;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* Online-Zahlungen in hellem, sauberem Weiß */
.clean-pay-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.clean-pay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 14px;
}
.clean-pay-grid .pf-provider-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 15px;
  box-shadow: none;
}
.clean-pay-grid .pf-provider-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}
.clean-pay-grid .pf-card-numbers {
  background: #f8fafc;
  border-color: #eef2f6;
}
.clean-fee-editor {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
}

/* Buchhalter E-Mail & Dokumentenliste (Lieferando-Abrechnungen-Stil) */
.clean-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.clean-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.clean-field .clean-input,
.clean-field .clean-select {
  width: 100%;
}
.clean-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.clean-status-tag {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 5px 11px;
  border-radius: 999px;
}
.clean-status-tag.ready {
  background: #ecfdf5;
  color: #047857;
}
.clean-provider-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12.5px;
  color: #64748b;
}
.clean-link-pill {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.clean-link-pill:hover {
  border-color: #d2233b;
  color: #d2233b;
  background: #fff5f5;
}

.clean-doc-list {
  display: flex;
  flex-direction: column;
}
.clean-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 2px;
  border-bottom: 1px solid #f1f5f9;
}
.clean-doc-row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}
.clean-doc-row strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}
.clean-doc-row span {
  display: block;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}

.clean-donuts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.clean-donuts-row .donut-card {
  background: #ffffff;
  border: 1px solid #e5e9f0;
  border-radius: 14px;
  box-shadow: none;
}

.clean-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
}

/* Heller Detail-Streifen unter der Grafik */
.chart-detail-pill {
  background: #f8fafc;
  border: 1px solid #e5e9f0;
}

@media (max-width: 720px) {
  .clean-surface {
    padding: 15px;
  }
  .clean-doc-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .clean-doc-row button {
    width: 100%;
  }
  .clean-filter-bar .clean-filter-group {
    flex: 1 1 140px;
  }
  .clean-filter-bar .clean-input,
  .clean-filter-bar .clean-select {
    width: 100%;
  }
  .clean-action-bar button {
    width: 100%;
  }
}







/* Follow-up fixes: prominent pause state, navigation CTA and protected bulk delete */
.btn-paused-toggle {
  min-height: 40px !important;
  padding: 9px 16px !important;
  border: 1px solid #b91c1c !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: .03em;
  box-shadow: 0 4px 12px rgba(185, 28, 28, .28);
}

.order-nav-row .order-nav-primary,
a.order-nav-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px !important;
  border: 1px solid #a31728 !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, #df3b4c, #a31728) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(194, 12, 30, .22);
}
.order-nav-primary .icon { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 2; }
.order-nav-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }

.clean-btn-delete-all {
  min-height: 38px;
  border: 1px solid #b91c1c;
  border-radius: 9px;
  background: #fff1f2;
  color: #b91c1c;
  padding: 8px 13px;
  font-weight: 800;
  cursor: pointer;
}
.clean-btn-delete-all:hover { background: #b91c1c; color: #fff; }

@media (max-width: 640px) {
  .order-nav-row .order-nav-primary { width: 100%; min-height: 48px; font-size: 15px !important; }
  .clean-btn-delete-all { width: 100%; }
}

/* Make offer creation easy to find in the menu tools. */
.menu-pro-offers-btn{background:#fff4f4!important;border:1px solid #efa2a9!important;color:#7e1020!important;box-shadow:0 3px 9px rgba(154, 18, 32,.08)}
.menu-pro-offers-btn:hover{background:#ffe5e7!important;border-color:#e0525f!important;color:#7c121d!important}

/* Premium, tidy fixed-price offer editor, aligned with the menu category workspace. */
.offer-editor-shell{padding:22px!important;margin-bottom:16px!important;border:1px solid #ecdfe0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 4px 16px rgba(17,19,24,.045)!important}
.offer-editor-intro{display:flex;align-items:center;gap:13px;padding:0 0 17px;border-bottom:1px solid #f0e6e7}
.offer-editor-icon{width:44px;height:44px;flex:0 0 44px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e5e0d8;border-radius:13px;background:#faf5f6;color:#475569}
.offer-editor-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.offer-editor-eyebrow{display:block;margin-bottom:3px;color:#8b735f;font-size:9px;font-weight:850;letter-spacing:.15em}
.offer-editor-intro h3{margin:0;color:#111318;font-size:19px;font-weight:850;letter-spacing:-.02em}
.offer-editor-intro p{margin:4px 0 0;color:#667085;font-size:12.5px;line-height:1.45}
.offer-editor-basics{display:grid;grid-template-columns:minmax(0,2fr) minmax(170px,1fr);gap:14px;margin:17px 0 20px;padding:15px;border:1px solid #f0e6e7;border-radius:14px;background:#fcf9f9}
.offer-editor-field{display:block;min-width:0;color:#374151;font-size:12px;font-weight:750}
.offer-editor-field input,.offer-editor-select{display:block;width:100%;min-height:40px;margin-top:6px;padding:9px 11px;border:1px solid #d9d4cc;border-radius:9px;background:#fff;color:#20242b;font:inherit;font-size:13px;outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.offer-editor-field input:focus,.offer-editor-select:focus{border-color:#e92e41;box-shadow:0 0 0 3px rgba(233, 46, 65,.13)}
.offer-config-card{margin:14px 0;padding:16px;border:1px solid #e9e5de;border-radius:16px;background:#fff;box-shadow:0 2px 9px rgba(31,41,55,.035)}
.offer-config-head{display:flex;align-items:center;gap:11px;margin-bottom:14px}
.offer-config-index{width:34px;height:34px;flex:0 0 34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e6d7d8;border-radius:11px;background:#faf5f6;color:#475569;font-size:11px;font-weight:850;font-variant-numeric:tabular-nums}
.offer-config-title{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}
.offer-config-title strong{color:#1f2937;font-size:14px;font-weight:800}
.offer-config-title span{color:#77808d;font-size:11px}
.offer-config-remove{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #e8e3dc;border-radius:10px;background:#fff;color:#667085;cursor:pointer}
.offer-config-remove:hover{border-color:#f0bcc1;background:#fff7f6;color:#b42318}
.offer-config-remove svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.offer-editor-controls{display:grid;grid-template-columns:1.4fr .7fr 1fr 1.4fr;gap:10px;align-items:start;padding:13px;border:1px solid #f0e6e7;border-radius:12px;background:#fcf9f9}
.offer-editor-controls>.offer-editor-field{font-size:11px}
.offer-editor-controls .offer-editor-select{min-height:38px;padding:8px 9px;font-size:12px}
.offer-no-ingredients-note{display:flex;min-height:55px;align-items:center;gap:8px;padding:9px 10px;border:1px solid #e9e5de;border-radius:10px;background:#fff;color:#647084;font-size:11px;line-height:1.35}
.offer-no-ingredients-icon{width:23px;height:23px;flex:0 0 23px;display:inline-flex;align-items:center;justify-content:center;color:#697586}
.offer-no-ingredients-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round}
.offer-size-control{display:block;margin:12px 0;padding:12px 13px;border:1px solid #f0bfc4;border-radius:12px;background:#fff5f6;color:#7c1620;font-size:11.5px;font-weight:800}
.offer-size-control .offer-editor-select{border-color:#e89fa6;font-size:12px}
.offer-size-help{display:block;margin-top:5px;color:#667085;font-size:10.5px;font-weight:500}
.offer-size-warning{margin:11px 0;padding:10px 12px;border:1px solid #f1c1c6;border-radius:10px;background:#fff5f6;color:#9f3128;font-size:11.5px;line-height:1.4}
.offer-products-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 2px 9px}
.offer-products-head>div{display:flex;flex-direction:column;gap:2px}
.offer-products-head strong{color:#29313b;font-size:12px;font-weight:850}
.offer-products-head span{color:#77808d;font-size:10.5px}
.offer-products-count{padding:5px 9px;border:1px solid #e5e0d8;border-radius:999px;background:#faf5f6;color:#4b5563!important;font-size:10px!important;font-weight:800}
.offer-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px;max-height:310px;overflow:auto;padding:1px 3px 2px 1px;overscroll-behavior:contain}
.offer-product-option{position:relative;display:flex;align-items:center;gap:9px;min-width:0;min-height:65px;padding:8px;border:1px solid #e8e5df;border-radius:12px;background:#fff;cursor:pointer;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}
.offer-product-option:hover{border-color:#e78a93;background:#fff5f6}
.offer-product-option.selected{border-color:#ea6b78;background:#ffeff1;box-shadow:0 0 0 1px rgba(233, 46, 65,.12)}
.offer-product-option.unavailable{opacity:.57;cursor:not-allowed}
.offer-product-option>input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#e62437}
.offer-product-thumb{width:44px;height:44px;flex:0 0 44px;object-fit:cover;border:1px solid #eedfe1;border-radius:9px;background:#fff}
.offer-product-thumb-empty{display:inline-flex;align-items:center;justify-content:center;color:#7a8593;background:#f8f7f5}
.offer-product-thumb-empty svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.offer-product-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}
.offer-product-copy strong{overflow:hidden;color:#252a32;font-size:11.5px;font-weight:750;line-height:1.3;text-overflow:ellipsis}
.offer-product-copy small{color:#79818d;font-size:10px}
.offer-product-check{width:22px;height:22px;flex:0 0 22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dad6cf;border-radius:50%;background:#fff;color:transparent}
.offer-product-check svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.offer-product-option.selected .offer-product-check{border-color:#e92e41;background:#e92e41;color:#fff}
.offer-editor-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:17px;padding-top:14px;border-top:1px solid #f0e6e7}
.offer-editor-actions .btn{min-height:39px;padding:8px 14px;border-radius:10px;font-size:12px;font-weight:750}
.offer-action-secondary{border:1px solid #e4dfd7!important;background:#fff!important;color:#344054!important}
.offer-action-secondary:hover{border-color:#d2c8bc!important;background:#faf5f6!important}
.offer-action-save{box-shadow:0 3px 10px rgba(234, 12, 34,.16)}
.offer-action-preview{border:1px solid #e7bfc3!important;background:#fff4f4!important;color:#7e1020!important}
.offer-action-preview:hover{border-color:#e57984!important;background:#ffe5e7!important}
.offer-editor-footnote{margin:10px 0 0;color:#7b8490;font-size:10.5px;line-height:1.45}
.offer-admin-list-card{padding:18px;border:1px solid #ecdfe0;border-radius:16px;background:#fff;box-shadow:0 3px 12px rgba(17,19,24,.035)}
.offer-admin-list-card h3{margin:0 0 12px;color:#111318;font-size:15px;font-weight:850}
.offer-admin-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;padding:12px 13px;border:1px solid #ebe7e0;border-radius:12px;background:#fff}
.offer-admin-list-info{display:flex;min-width:0;flex-direction:column;gap:4px}
.offer-admin-list-info strong{color:#20242b;font-size:13px}
.offer-admin-list-info small{color:#77808d;font-size:10.5px}
.offer-admin-list-actions{display:flex;gap:6px;flex-wrap:wrap}
.offer-admin-list-actions .btn{min-height:34px;border-radius:9px;font-size:11px}
@media(max-width:850px){.offer-editor-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-product-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}
@media(max-width:600px){
  .offer-editor-shell{padding:15px!important;border-radius:15px!important}
  .offer-editor-basics{grid-template-columns:1fr;padding:12px;gap:10px}
  .offer-config-card{padding:12px;border-radius:13px}
  .offer-editor-controls{grid-template-columns:1fr 1fr;padding:10px;gap:8px}
  .offer-no-ingredients-note{grid-column:1/-1}
  .offer-product-grid{grid-template-columns:1fr;max-height:360px}
  .offer-product-option{min-height:62px}
  .offer-editor-actions{display:grid;grid-template-columns:1fr 1fr}
  .offer-editor-actions .btn{width:100%;white-space:normal}
  .offer-admin-list-row{align-items:flex-start;flex-direction:column}
}
.offer-admin-status{display:inline-flex;align-items:center;margin-left:6px;padding:3px 7px;border:1px solid #e4dfd7;border-radius:999px;background:#faf5f6;color:#667085;font-size:9.5px;font-weight:750;vertical-align:middle}
.offer-admin-status.is-live{border-color:#ccebd8;background:#f0fbf4;color:#187044}
.offer-admin-list-actions .offer-action-delete{border:1px solid #f1c7c2!important;background:#fff8f7!important;color:#a12d23!important}
.offer-admin-list-actions .offer-action-delete:hover{border-color:#d9938b!important;background:#fff0ee!important;color:#7f1d1d!important}

/* Premium ingredient/option workspace: grouped, editable, and easy to scan. */
.extras-manager-modal{width:min(900px,calc(100vw - 28px));max-height:calc(100vh - 32px);border:1px solid #ecdddf;border-radius:20px;box-shadow:0 24px 70px rgba(17,24,39,.20)}
.extras-manager-body{display:flex;flex-direction:column;gap:14px;max-height:min(78vh,760px);overflow:auto;padding:18px 20px 20px}
.extras-manager-intro{display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #eee0e1;border-radius:14px;background:linear-gradient(110deg,#fff5f6,#fff)}
.extras-manager-mark{width:40px;height:40px;flex:0 0 40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #f0bfc4;border-radius:12px;background:#ffe4e7;color:#c62031}
.extras-manager-mark svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.extras-manager-intro strong{display:block;color:#20242b;font-size:14px;font-weight:850}
.extras-manager-intro p{margin:3px 0 0;color:#6b7280;font-size:11.5px;line-height:1.45}
.extras-create-panel{padding:14px;border:1px solid #efcfd2;border-radius:15px;background:linear-gradient(120deg,#fff0f2,#fff9fa)}
.extras-create-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:11px}
.extras-create-heading span{color:#a62d39;font-size:9px;font-weight:900;letter-spacing:.15em}
.extras-create-heading strong{color:#272b33;font-size:13px;font-weight:850}
.extras-create-grid{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(160px,1.7fr) 100px auto;gap:9px;align-items:end}
.extras-create-grid label,.extras-manager-toolbar label,.extras-manager-row-controls label{display:flex;min-width:0;flex-direction:column;gap:5px;color:#4b5563;font-size:10.5px;font-weight:800}
.extras-create-grid select,.extras-create-grid input,.extras-manager-toolbar input,.extras-manager-toolbar select,.extras-manager-row-controls input,.extras-manager-row-controls select{width:100%;height:38px;min-width:0;padding:8px 10px;border:1px solid #d9d4cc;border-radius:9px;background:#fff;color:#252a32;font:inherit;font-size:12px;outline:none;transition:border-color .14s ease,box-shadow .14s ease}
.extras-create-grid select:focus,.extras-create-grid input:focus,.extras-manager-toolbar input:focus,.extras-manager-toolbar select:focus,.extras-manager-row-controls input:focus,.extras-manager-row-controls select:focus{border-color:#e83b4c;box-shadow:0 0 0 3px rgba(233, 59, 76,.13)}
.extras-create-submit{height:38px;border-radius:9px!important;font-size:11.5px!important;white-space:nowrap}
.extras-manager-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(185px,.58fr);gap:9px;align-items:end}
.extras-manager-list{display:flex;max-height:390px;flex-direction:column;gap:8px;overflow:auto;padding:2px 3px 2px 1px;overscroll-behavior:contain}
.extras-manager-row{padding:11px 12px;border:1px solid #e9e5de;border-radius:13px;background:#fff;transition:border-color .14s ease,box-shadow .14s ease}
.extras-manager-row:hover{border-color:#dfadb2;box-shadow:0 3px 11px rgba(31,41,55,.045)}
.extras-manager-row.is-sauce{border-left:3px solid #e93b4c;background:linear-gradient(100deg,#fff4f5,#fff)}
.extras-manager-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}
.extras-manager-item-title{display:flex;min-width:0;align-items:center;gap:8px;flex-wrap:wrap}
.extras-manager-item-title strong{color:#222831;font-size:13px;font-weight:850}
.extras-manager-item-title>span{padding:3px 7px;border:1px solid #e9e5df;border-radius:999px;background:#f8f7f5;color:#707986;font-size:9px;font-weight:700}
.extras-sauce-badge{padding:4px 8px;border-radius:999px;background:#ffe2e5;color:#a51624;font-size:8px;font-weight:900;letter-spacing:.12em}
.extras-manager-row-controls{display:grid;grid-template-columns:minmax(150px,1.15fr) minmax(150px,1fr) 100px auto auto;gap:8px;align-items:end}
.extras-manager-row-controls label{font-size:9.5px}
.extras-manager-row-controls input,.extras-manager-row-controls select{height:35px;padding:7px 8px;font-size:11.5px}
.extras-save-btn,.extras-delete-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:35px;padding:6px 9px;border-radius:9px;font-size:10px;font-weight:800;white-space:nowrap}
.extras-save-btn{border:1px solid #cfe6d5!important;background:#f2fbf4!important;color:#1c7040!important}
.extras-save-btn:hover{background:#e6f6eb!important}
.extras-delete-btn{border:1px solid #f0ceca!important;background:#fff8f7!important;color:#a12d23!important}
.extras-delete-btn:hover{background:#fff0ee!important}
.extras-save-btn svg,.extras-delete-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){.extras-create-grid{grid-template-columns:1fr 1fr}.extras-create-submit{width:100%}.extras-manager-row-controls{grid-template-columns:1fr 1fr}.extras-row-name{grid-column:1/-1}.extras-row-group{grid-column:1/2}.extras-row-price{grid-column:2/3}.extras-save-btn,.extras-delete-btn{width:100%}}
@media(max-width:520px){.extras-manager-body{padding:13px;gap:11px}.extras-manager-toolbar{grid-template-columns:1fr}.extras-create-grid{grid-template-columns:1fr}.extras-create-price{max-width:none}.extras-manager-row-controls{grid-template-columns:1fr 1fr}.extras-row-group{grid-column:1/-1}.extras-row-price{grid-column:1/2}.extras-save-btn{grid-column:2/3}.extras-delete-btn{grid-column:1/-1}.extras-manager-intro{align-items:flex-start;padding:11px}}

/* Plain-language category defaults and per-dish overrides. */
.menu-options-card{display:flex;flex-direction:column;gap:11px;margin:12px 0;padding:14px;border:1px solid #e6d7d8;border-radius:14px;background:linear-gradient(145deg,#fff5f6,#fff)}
.menu-options-card-head{display:flex;flex-direction:column;gap:4px}
.menu-options-card-head strong{color:#252a31;font-size:13px;font-weight:850}
.menu-options-card-head>span{color:#68717d;font-size:11.5px;line-height:1.45}
.menu-option-checklist{display:flex;flex-direction:column;gap:6px;padding:9px;border:1px solid #ecdfe0;border-radius:11px;background:#fff}
.menu-option-checklist>label{display:flex!important;align-items:center!important;gap:9px!important;min-height:36px;padding:7px 9px;border:1px solid #f0ede8;border-radius:9px;background:#fff;color:#374151;font-size:12px;line-height:1.35;cursor:pointer}
.menu-option-checklist>label:has(input:checked){border-color:#f1aab1;background:#fff0f2;color:#871823}
.menu-option-checklist input[type=checkbox]{width:16px;height:16px;flex:0 0 16px;accent-color:#df2e40}
.category-options-card small{color:#737c87;font-size:10.5px}
.item-options-override-toggle{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid #ebd2d5;border-radius:11px;background:#ffeff1;cursor:pointer}
.item-options-override-toggle>input{width:17px;height:17px;flex:0 0 17px;margin-top:1px;accent-color:#df2e40}
.item-options-override-toggle span{display:flex;flex-direction:column;gap:3px}
.item-options-override-toggle strong{color:#8d1c27;font-size:12px;font-weight:850}
.item-options-override-toggle small{color:#77716c;font-size:10.5px;line-height:1.4}
.extras-cheese-shortcut{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #efa5ac;border-radius:13px;background:linear-gradient(110deg,#ffe9eb,#fff5f6)}
.extras-cheese-shortcut>div{display:flex;flex-direction:column;gap:3px}
.extras-cheese-shortcut strong{color:#7c111c;font-size:12px;font-weight:850}
.extras-cheese-shortcut span{color:#786b58;font-size:10.5px;line-height:1.4}
.extras-cheese-shortcut button{flex:0 0 auto;padding:8px 11px;border:1px solid #ea818b;border-radius:9px;background:#fff;color:#85141f;font-size:10.5px;font-weight:850;cursor:pointer}
.extras-cheese-shortcut button:hover{background:#ffcfd4}
.extras-manager-row.is-cheese-crust{border:1.5px solid #e97883;border-left:4px solid #d8283a;background:linear-gradient(100deg,#fff0f2,#fff)}
.extras-cheese-badge{padding:4px 8px;border:1px solid #ee9fa7;border-radius:999px;background:#ffced3;color:#780c17;font-size:8px;font-weight:900;letter-spacing:.08em}
.extras-price-help{display:block;margin-top:4px;color:#822e36;font-size:9px;font-weight:600;line-height:1.25}
.extras-row-price:has(.extras-price-help){min-width:145px}
@media(max-width:520px){.extras-cheese-shortcut{align-items:flex-start;flex-direction:column}.extras-cheese-shortcut button{width:100%}.menu-options-card{padding:11px}}
.extras-create-hint{margin:9px 0 0;color:#7f5055;font-size:10px;line-height:1.4}
.menu-options-special-choice{margin-top:9px;padding:11px;border:1px solid #ea9fa7;border-radius:11px;background:linear-gradient(105deg,#ffe9eb,#fff7f8)}
.menu-options-special-choice>label{display:flex;align-items:flex-start;gap:9px;cursor:pointer}
.menu-options-special-choice input{width:17px;height:17px;flex:0 0 17px;margin-top:1px;accent-color:#d42234}
.menu-options-special-choice label>span{display:flex;flex-direction:column;gap:3px}
.menu-options-special-choice strong{color:#760f19;font-size:11.5px;font-weight:900}
.menu-options-special-choice small{color:#7c7059;font-size:10px;line-height:1.35}
.ingredient-assignment-block{display:flex;flex-direction:column;gap:5px;margin-top:10px}
.ingredient-assignment-block>strong{color:#333943;font-size:11.5px;font-weight:900}
.ingredient-assignment-block>small{color:#747d87;font-size:10px;line-height:1.4}
.ingredient-assignment-list{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:4px}
.ingredient-assignment-group{min-width:0;margin:0;padding:8px;border:1px solid #ece1e2;border-radius:10px;background:#fff}
.ingredient-assignment-group legend{padding:0 4px;color:#7b272f;font-size:9px;font-weight:900}
.ingredient-assignment-group>div{display:flex;max-height:170px;flex-direction:column;gap:3px;overflow:auto}
.ingredient-assignment-group label{display:flex;align-items:flex-start;gap:6px;padding:4px;border-radius:6px;color:#454b53;font-size:10px;line-height:1.3;cursor:pointer}
.ingredient-assignment-group label:hover{background:#ffeff1}
.ingredient-assignment-group input{width:14px;height:14px;flex:0 0 14px;margin:0;accent-color:#df2e40}
.ingredient-assignment-group small{color:#78818a;font-size:9px;white-space:nowrap}
.ingredient-assignment-empty{margin:6px 0 0;padding:10px;border:1px dashed #d9d3ca;border-radius:9px;color:#79808a;font-size:10px;line-height:1.4}
@media(max-width:520px){.ingredient-assignment-list{grid-template-columns:1fr}.ingredient-assignment-group>div{max-height:145px}}

/* Optional fixed-price offer schedule. */
.offer-schedule-panel{margin:-6px 0 18px;padding:14px 15px;border:1px solid #e8d8da;border-radius:14px;background:linear-gradient(140deg,#fff9fa,#f9f5f5)}
.offer-schedule-head{display:flex;flex-direction:column;gap:4px;margin-bottom:11px}
.offer-schedule-head strong{color:#292e36;font-size:12px;font-weight:900}
.offer-schedule-head strong span{color:#8a9099;font-weight:650}
.offer-schedule-head small{color:#737c87;font-size:10.5px;line-height:1.4}
.offer-schedule-dates{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr));gap:10px}
.offer-schedule-dates .offer-editor-field{font-size:10.5px}
.offer-schedule-dates input{min-height:36px!important;margin-top:4px!important;padding:7px 9px!important;font-size:11.5px!important}
.offer-weekday-wrap{display:flex;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.offer-weekday-wrap>span{color:#57606c;font-size:10px;font-weight:800}
.offer-weekday-list{display:flex;gap:5px;flex-wrap:wrap}
.offer-weekday-list label{position:relative;cursor:pointer}
.offer-weekday-list input{position:absolute;width:1px;height:1px;opacity:0}
.offer-weekday-list label span{display:inline-flex;min-width:34px;height:29px;align-items:center;justify-content:center;padding:0 8px;border:1px solid #ddd8cf;border-radius:999px;background:#fff;color:#666f7b;font-size:10px;font-weight:800;transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}
.offer-weekday-list label.selected span,.offer-weekday-list input:checked+span{border-color:#e94757;background:#ffe5e8;color:#9b1926;box-shadow:0 2px 7px rgba(234, 42, 61,.12)}
.offer-weekday-list label:focus-within span{outline:2px solid rgba(233, 46, 65,.3);outline-offset:2px}
@media(max-width:560px){.offer-schedule-panel{padding:11px}.offer-schedule-dates{grid-template-columns:1fr}.offer-weekday-wrap{align-items:flex-start;flex-direction:column;gap:6px}}

.offer-editor-basics{grid-template-columns:minmax(0,1.7fr) minmax(220px,1.25fr) minmax(150px,.8fr)}
.offer-image-field{display:flex;min-width:0;flex-direction:column;gap:6px;color:#374151;font-size:12px;font-weight:750}
.offer-image-label{display:block}
.offer-image-controls{display:flex;min-height:40px;align-items:center;gap:7px}
.offer-image-controls img{width:48px;height:40px;flex:0 0 48px;border:1px solid #d8eadf;border-radius:8px;object-fit:cover;background:#f5faf6}
.offer-image-upload{white-space:nowrap}
.offer-image-remove{border-color:#efcccc;color:#a33838;white-space:nowrap}
.offer-image-field small{color:#7b8490;font-size:10px;font-weight:500;line-height:1.3}
@media(max-width:760px){.offer-editor-basics{grid-template-columns:1fr;padding:12px;gap:10px}.offer-image-controls{flex-wrap:wrap}}

.disc-period-panel{margin-top:12px;padding:12px 13px;border:1px solid #e6eadf;border-radius:12px;background:linear-gradient(145deg,#fbfdf8,#f7faf5)}
.disc-period-panel>strong{display:block;margin-bottom:8px;color:#303b34;font-size:11.5px;font-weight:850}
.disc-period-panel>strong span{color:#8a938b;font-weight:600}
.disc-period-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.disc-period-fields label{display:block;color:#4b5563;font-size:10.5px;font-weight:750}
.disc-period-fields input{display:block;width:100%;min-height:35px;margin-top:4px;padding:6px 8px;border:1px solid #d9e0d8;border-radius:8px;background:#fff;color:#20242b;font:inherit;font-size:11px}
.disc-period-panel>small{display:block;margin-top:7px;color:#79847b;font-size:9.5px;line-height:1.35}
@media(max-width:520px){.disc-period-fields{gap:6px}.disc-period-panel{padding:10px}.disc-period-fields input{font-size:10px}}

/* Standardpreise und frei pflegbare Pizza-Größenpreise für Extra-Zutaten */
.extras-create-grid{grid-template-columns:minmax(140px,1fr) minmax(160px,1.25fr) minmax(150px,1fr) minmax(185px,1.15fr) auto}
.extras-create-grid .extras-size-price-fields{grid-column:1/-1}
.extras-size-price-fields,.extras-row-size-prices{display:grid;grid-template-columns:repeat(3,minmax(80px,1fr));gap:7px;align-items:end}
.extras-size-price-fields label,.extras-row-size-prices label{display:flex;min-width:0;flex-direction:column;gap:5px;color:#4b5563;font-size:10px;font-weight:800}
.extras-row-size-prices{grid-column:1/-1}
.extras-manager-row-controls{grid-template-columns:minmax(130px,1.15fr) minmax(130px,1fr) minmax(150px,1fr) minmax(160px,1fr) auto auto}
.extras-row-size-prices input{height:35px;padding:7px 8px;border:1px solid #d9d4cc;border-radius:9px;background:#fff;color:#252a32;font:inherit;font-size:11.5px}
.extras-size-price-fields input:focus,.extras-row-size-prices input:focus{border-color:#e83b4c;box-shadow:0 0 0 3px rgba(233, 59, 76,.13);outline:none}
@media(max-width:900px){.extras-create-grid{grid-template-columns:1fr 1fr}.extras-create-grid .extras-size-price-fields{grid-column:1/-1}.extras-create-submit{grid-column:1/-1}.extras-manager-row-controls{grid-template-columns:1fr 1fr}.extras-row-name{grid-column:1/-1}.extras-row-size-prices{grid-column:1/-1}.extras-save-btn,.extras-delete-btn{width:100%}}
@media(max-width:520px){.extras-size-price-fields,.extras-row-size-prices{display:grid;grid-template-columns:1fr 1fr}.extras-create-grid{grid-template-columns:1fr}.extras-create-grid .extras-size-price-fields,.extras-row-size-prices{grid-column:1/-1}.extras-manager-row-controls{grid-template-columns:1fr 1fr}.extras-row-name,.extras-row-size-prices{grid-column:1/-1}.extras-row-group,.extras-row-mode,.extras-row-price{grid-column:1/-1}.extras-save-btn,.extras-delete-btn{grid-column:1/-1}}



.food-info-admin-card{margin:12px 0;padding:13px!important}
.food-info-admin-card>.menu-options-card-head{margin-bottom:10px}
.food-info-admin-group{margin:11px 0}
.food-info-admin-group>strong{display:block;margin:0 0 7px;color:#30343b;font-size:12.5px}
.food-info-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 8px;max-height:210px;overflow:auto;padding:8px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.food-info-checklist label{display:flex;align-items:flex-start;gap:7px;padding:5px 6px;border-radius:7px;color:#434a55;font-size:11.5px;line-height:1.35;cursor:pointer}
.food-info-checklist label:hover{background:#ffedef}
.food-info-checklist input{flex:0 0 auto;margin:2px 0 0;accent-color:#ea0c22}
.food-info-other-label{display:block;margin-top:10px;color:#333;font-size:12px;font-weight:700}
.food-info-other-label textarea{display:block;width:100%;margin-top:5px;padding:8px 10px;border:1px solid #d6dbe2;border-radius:8px;font:inherit;font-size:12px;resize:vertical}
.food-info-inherit-toggle{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #feaab2;border-radius:10px;background:#ffedef;cursor:pointer}
.food-info-inherit-toggle input{margin-top:3px;accent-color:#ea0c22}
.food-info-inherit-toggle strong,.food-info-inherit-toggle small{display:block}
.food-info-inherit-toggle strong{font-size:12px;color:#333}
.food-info-inherit-toggle small{margin-top:3px;color:#68707b;font-size:11px}
@media(max-width:640px){.food-info-checklist{grid-template-columns:1fr;max-height:180px}}

/* DE/EN selector for the admin cockpit. */
.admin-language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:45px;height:34px;padding:0 9px;border:1px solid #d7dce3;border-radius:9px;background:#fff;color:#273142;font:800 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;white-space:nowrap}
.admin-language-toggle:hover{background:#f4f6f8}
.admin-language-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.admin-login-language-toggle{position:fixed;z-index:10020;top:14px;right:16px}
@media(max-width:640px){.admin-login-language-toggle{top:10px;right:10px}.topbar-actions .admin-language-toggle{height:32px;min-width:42px;padding:0 7px}}


/* Deutsch-/Englisch-Auswahl für Login und Cockpit. */
.admin-language-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:45px;height:34px;padding:0 9px;border:1px solid #d7dce3;border-radius:9px;background:#fff;color:#273142;font:800 10px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer;white-space:nowrap}
.admin-language-toggle:hover{background:#fff4f4}
.admin-language-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.admin-login-language-toggle{position:fixed;z-index:10020;top:14px;right:16px}
@media(max-width:640px){.admin-login-language-toggle{top:10px;right:10px}.topbar-actions .admin-language-toggle{height:32px;min-width:42px;padding:0 7px}}
