/* Auswertungen – 1:1 wie auswertungen_navi.php im echten Portal */
.ausw-sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 220px;
  background: #0C2340; color: #FFD700; border-right: 1px solid #1e3a5f;
  display: flex; flex-direction: column; z-index: 100; font-family: 'Segoe UI', Tahoma, sans-serif;
}
body.has-demo-banner .ausw-sidebar { top: 32px; }
.ausw-sidebar-head {
  padding: 16px 14px 12px; border-bottom: 1px solid rgba(255, 215, 0, .2);
}
.ausw-sidebar-head img { width: 40px; height: 40px; object-fit: contain; margin-bottom: 8px; border-radius: 6px; }
.ausw-sidebar-head strong { display: block; font-size: 15px; color: #FFD700; }
.ausw-sidebar-head small { display: block; font-size: 11px; color: rgba(255, 215, 0, .75); margin-top: 4px; line-height: 1.35; }
.ausw-sidebar-nav { flex: 1; overflow-y: auto; padding: 10px 0; }
.ausw-sidebar-nav-title {
  padding: 6px 14px 8px; font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 215, 0, .55);
}
.ausw-nav-link, .ausw-nav-leer {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; font-size: 13px; text-decoration: none; color: #FFD700;
  border-left: 3px solid transparent;
}
.ausw-nav-link:hover { background: rgba(255, 255, 255, .08); border-left-color: #ffcb05; }
.ausw-nav-link.active {
  background: #ffcb05; color: #0C2340; font-weight: 600; border-left-color: #0C2340;
}
.ausw-nav-link .icon { width: 22px; text-align: center; flex-shrink: 0; }
.ausw-nav-leer {
  color: rgba(255, 215, 0, .35); cursor: default; font-style: italic;
}
.ausw-sidebar-foot {
  padding: 12px 14px; border-top: 1px solid rgba(255, 215, 0, .2); font-size: 12px;
}
.ausw-sidebar-foot a { display: block; color: #FFD700; text-decoration: none; padding: 6px 0; }
.ausw-sidebar-foot a:hover { text-decoration: underline; }
.ausw-main { margin-left: 220px; min-height: 100vh; padding-bottom: 44px; }
body.has-demo-banner .ausw-main { padding-top: 0; }
.hub-inner { max-width: 1280px; margin: 0 auto; padding: 12px 16px 32px; }
.page-header {
  background: #0C2340; color: #FFD700; padding: 20px 24px; border-radius: 12px;
  margin-bottom: 12px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
}
.page-header h1 { margin: 0; font-size: clamp(22px, 4vw, 32px); color: #FFD700; font-weight: 500; }
.page-header .sub { font-size: 14px; opacity: .9; margin-top: 4px; color: #FFD700; }
.ausw-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 900px) { .ausw-two-col { grid-template-columns: 1fr; } }
.hm-high { background: #fde8e8; font-weight: 600; }
.hm-mid { background: #fff8e1; }
.hm-low { background: #f0fdf4; }
.diff-plus { color: #c50f1f; font-weight: 600; }
.diff-minus { color: #107c10; font-weight: 600; }
.page-header-right-wrap { margin-bottom: 12px; }
.page-header-right { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.topbar-right-ausw { text-align: right; }
.modul-liste { list-style: none; margin: 0; padding: 0; }
.modul-liste li {
  padding: 8px 0; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; gap: 10px;
}
.modul-liste li:last-child { border-bottom: none; }
.modul-liste a { color: #0066cc; text-decoration: none; font-weight: 600; }
.modul-liste a:hover { text-decoration: underline; }
.modul-liste .leer { color: #888; font-style: italic; }
.dc-footer.ausw-footer { left: 220px; }
.chart-h280 { height: 280px; min-height: 220px; }

/* CashManagement – wie cm_uebersicht.php */
.cm-wetter-badge { font-size: 16px; font-weight: 500; margin-left: 8px; opacity: .95; }
.cm-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; padding: 12px 16px; }
.cm-toolbar-left, .cm-toolbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cm-toolbar-label { font-size: 13px; font-weight: 600; color: #475569; }
.cm-select { min-width: 140px; padding: 6px 10px; }
.cm-zeitraum-tabs {
  display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 12px;
  border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; background: #f8fafc;
}
.cm-tab {
  flex: 1; min-width: 100px; padding: 10px 12px; border: none; border-right: 1px solid #cbd5e1;
  background: #f1f5f9; font: inherit; font-size: 12px; cursor: pointer; text-align: center;
}
.cm-tab:last-child { border-right: none; }
.cm-tab.active { background: #0C2340; color: #FFD700; font-weight: 600; }
.cm-tab-link { color: inherit; }
.cm-tab-panel { display: none; }
.cm-tab-panel.active { display: block; }
.cm-ki-box {
  display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%) !important;
  border-left: 5px solid #10b981 !important;
}
.cm-ki-icon { font-size: 42px; line-height: 1; flex-shrink: 0; }
.cm-ki-body h3 { margin: 0 0 8px; color: #166534; font-size: 16px; }
.cm-ki-body p { margin: 0 0 6px; color: #15803d; font-size: 14px; line-height: 1.5; }
.cm-ki-tip { font-weight: 600; margin-top: 8px !important; }
.cm-pacing-box { margin-bottom: 12px; border-left: 5px solid #10b981 !important; }
.cm-pacing-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cm-pacing-head h2 { margin: 0; font-size: 18px; border: none; padding: 0; }
.cm-pacing-sub { margin: 4px 0 0; font-size: 13px; color: #64748b; }
.cm-pacing-big { font-size: 24px; font-weight: 700; text-align: right; }
.cm-pacing-big span { font-size: 14px; font-weight: 400; color: #64748b; }
.cm-pacing-diff { text-align: right; color: #10b981; font-weight: 700; font-size: 14px; }
.cm-progress { height: 14px; background: #e2e8f0; border-radius: 7px; position: relative; overflow: visible; }
.cm-progress-fill { height: 100%; background: #10b981; border-radius: 7px; }
.cm-progress-marker { position: absolute; top: 0; bottom: 0; width: 3px; background: #1e293b; z-index: 2; }
.cm-progress-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: #94a3b8; font-weight: 600; }
.cm-tourist-box { background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important; border: 1px solid #bae6fd !important; margin-bottom: 12px; }
.cm-sub-h3 { font-size: 14px; color: #0369a1; margin: 0 0 8px; }
.cm-muted { font-size: 12px; color: #64748b; margin: 0; }
.cm-tip { margin: 14px 0 0; padding: 10px; background: rgba(255,255,255,.6); border-radius: 8px; font-size: 12px; color: #475569; }
.cm-list { margin: 0; padding-left: 18px; font-size: 14px; }
.cm-stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 12px; }
.cm-stat-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; }
.cm-stat-card h3 { margin: 0 0 6px; font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.cm-stat-val { font-size: 22px; font-weight: 700; color: #1e293b; }
.cm-stat-sub { font-size: 11px; color: #94a3b8; margin-top: 4px; }
.cm-pos { color: #107c10 !important; }
.cm-neutral { color: #64748b; }
.cm-charts-row { margin-bottom: 12px; }
.cm-table-scroll { overflow-x: auto; margin: 0 -4px; padding: 4px; }
.cm-detail-table { font-size: 12px; min-width: 1100px; }
.cm-detail-table th { white-space: nowrap; font-size: 11px; }
.cm-row-gestern { background: #fffbeb !important; }
.cm-row-gestern td:first-child { border-left: 3px solid #FFD700; }
.cm-wt { color: #94a3b8; }
.cm-wetter-cell { white-space: nowrap; }
.cm-no-data { color: #cbd5e1; }
.cm-roh, .cm-roh-th { color: #10b981 !important; font-weight: 600; }
.cm-roh-sm { color: #10b981; font-size: 10px; }
.cm-sum-row { background: #f1f5f9; font-weight: 600; }
.cm-wetter-live { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%) !important; border: 1px solid #7dd3fc !important; }
.cm-wetter-now { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; padding: 12px; background: rgba(255,255,255,.7); border-radius: 10px; }
.cm-wetter-big { font-size: 40px; }

/* Kundenfrequenz – wie kundenfrequenz_dashboard.php */
.kf-toolbar { margin-bottom: 12px; }
.kf-day-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.kf-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kf-kpi { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 14px; }
.kf-kpi small { display: block; font-size: 11px; color: #64748b; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.kf-kpi-val { font-size: 20px; font-weight: 700; color: #1e293b; margin-top: 4px; }
.kf-kpi-wetter-val { font-size: 14px !important; font-weight: 600 !important; }
.kf-zeitraum-tabs { margin-bottom: 12px; }
.kf-tab-panel { display: none; }
.kf-tab-panel.active { display: block; }
.kf-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.kf-card-head .card-h2 { margin: 0; border: none; padding: 0; }
.kf-ferien-bar { height: 24px; background: #f1f5f9; border-radius: 8px; position: relative; margin-bottom: 12px; overflow: hidden; }
.kf-ferien-bar span { position: absolute; top: 0; bottom: 0; opacity: .85; border-radius: 4px; }
.kf-wetter-strip { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; margin-top: 12px; padding: 10px; background: #f8fafc; border-radius: 8px; font-size: 16px; }
.kf-stunden-table { font-size: 12px; min-width: 1200px; }
.kf-stunden-table th { font-size: 11px; white-space: nowrap; }
.kf-umsatz { color: #0369a1; font-weight: 600; }
.kf-section-h2 { margin: 0 0 12px; font-size: 18px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.kf-bi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 12px; }
.kf-bi-card { border-radius: 12px; padding: 18px; border: 1px solid; }
.kf-bi-card h3 { margin: 0 0 8px; font-size: 14px; }
.kf-bi-card p { margin: 6px 0 0; font-size: 12px; opacity: .85; }
.kf-bi-val { font-size: 28px; font-weight: 800; }
.kf-bi-shop { background: linear-gradient(135deg, #f0fdf4, #bbf7d0); border-color: #86efac; color: #166534; }
.kf-bi-kf { background: linear-gradient(135deg, #eff6ff, #bfdbfe); border-color: #93c5fd; color: #1e3a8a; }
.kf-bi-ff { background: linear-gradient(135deg, #fdf4ff, #f5d0fe); border-color: #e879f9; color: #701a75; }
.kf-bi-wa { background: linear-gradient(135deg, #fffbeb, #fde68a); border-color: #fcd34d; color: #92400e; }
.kf-cross-sell .kf-cross-inner { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.kf-cross-ring { width: 88px; height: 88px; border-radius: 50%; background: conic-gradient(#3b82f6 11.2%, #e2e8f0 0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kf-cross-ring span { width: 62px; height: 62px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.kf-peaks { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #cbd5e1; font-size: 13px; color: #475569; }
.kf-peaks div { display: flex; justify-content: space-between; margin-bottom: 6px; }
.kf-hm-legend { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; font-size: 13px; }
.kf-hm-chip { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; }
.kf-heatmap-table { text-align: center; font-size: 13px; min-width: 700px; }
.kf-heatmap-table th, .kf-heatmap-table td { padding: 8px 4px; }
.kf-hm-wd { text-align: left !important; font-weight: 700; background: #f8fafc; }
.kf-hm-idle { background: #f1f5f9; color: #cbd5e1; }
.kf-hm-low { background: #22c55e; color: #fff; font-weight: 600; }
.kf-hm-mid { background: #eab308; color: #fff; font-weight: 600; }
.kf-hm-rush { background: #ef4444; color: #fff; font-weight: 700; }
.text-left { text-align: left; }

/* Preis-Kalkulator – wie stationsleiter_warenwirtschaft_kalkulator.php */
.pk-calc-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.pk-card {
  background: #fff; padding: 14px 16px; border: 1px solid #767676;
  border-left-width: 3px; width: 270px; flex-shrink: 0; border-radius: 0;
  box-shadow: none;
}
.pk-card-vk { border-left-color: #107c10; }
.pk-card-marge { border-left-color: #0078d4; }
.pk-card-roh { border-left-color: #5c2d91; }
.pk-card-title {
  font-size: 14px; font-weight: 600; color: #000; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.pk-row { display: flex; gap: 8px; margin-bottom: 10px; }
.pk-field { flex: 1; min-width: 0; }
.pk-field-narrow { max-width: 56px; flex: 0 0 56px; }
.pk-field label, .pk-mwst-label {
  display: block; font-size: 11px; color: #444; margin-bottom: 4px;
  font-weight: 600; text-transform: uppercase;
}
.pk-field input {
  width: 100%; padding: 5px 9px; border: 1px solid #767676; border-radius: 0;
  font-size: 14px; background: #fff; font-family: inherit;
}
.pk-field input:focus { outline: none; border-color: #0078d4; box-shadow: 0 0 0 2px rgba(0,120,212,.2); }
.pk-mwst-btns { display: flex; gap: 4px; margin-bottom: 10px; }
.pk-mwst-btn {
  flex: 1; padding: 5px 0; border: 1px solid #adadad; background: #f0f0f0;
  border-radius: 2px; font-size: 13px; cursor: pointer; font-family: inherit;
  box-shadow: inset 0 0 0 1px #fff;
}
.pk-mwst-btn:hover { background: #e5f1fb; border-color: #0078d4; }
.pk-mwst-btn.active { background: #cce4f7; border-color: #005a9e; font-weight: 600; }
.pk-result { background: #f0f0f0; border: 1px solid #d4d4d4; padding: 10px; margin-top: 10px; }
.pk-result-row {
  display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; color: #444;
}
.pk-result-main {
  font-weight: 600; font-size: 15px; color: #000;
  border-top: 1px solid #d4d4d4; margin-top: 4px; padding-top: 6px;
}
.pk-val-vk { color: #107c10; }
.pk-val-marge { color: #0078d4; }
.pk-val-roh { color: #5c2d91; }

/* Preismonitor – wie stationsleiter_preischeck.php */
.pm-tab-panel { display: none; }
.pm-tab-panel.active { display: block; }
.pm-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.pm-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.pm-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .02em; }
.pm-kpi-val { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pm-kpi-ampel { display: flex; align-items: center; gap: 6px; }
.pm-ampel-panel { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-bottom: 12px; }
@media (max-width: 640px) { .pm-ampel-panel { grid-template-columns: 1fr; } }
.pm-ampel-legende { font-size: 12px; color: #444; margin: 0 0 10px; line-height: 1.6; }
.pm-ampel-legende span { display: inline-flex; align-items: center; gap: 5px; margin-right: 12px; }
.ampel-gross {
  width: 72px; height: 72px; border: 2px solid #767676; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 6px; flex-shrink: 0;
}
.ampel-gross.gruen { background: #dff6dd; border-color: #107c10; }
.ampel-gross.gelb { background: #fff4ce; border-color: #ca8a04; }
.ampel-gross.rot { background: #fde7e9; border-color: #a80000; }
.ampel-gross .ampel-pct { font-size: 18px; font-weight: 700; line-height: 1.1; }
.ampel-gross .ampel-lbl { font-size: 10px; font-weight: 600; margin-top: 2px; color: #444; }
.ampel-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.ampel-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border: 1px solid #767676; background: #f0f0f0; text-decoration: none; color: #000;
  font-size: 13px; cursor: pointer;
}
.ampel-chip:hover { background: #e5f1fb; border-color: #0078d4; }
.ampel-chip.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.ampel-dot {
  width: 12px; height: 12px; border-radius: 50%; border: 1px solid #767676;
  display: inline-block; flex-shrink: 0;
}
.ampel-dot.gruen { background: #107c10; border-color: #107c10; }
.ampel-dot.gelb { background: #ffcb05; border-color: #ca8a04; }
.ampel-dot.rot { background: #e81123; border-color: #a80000; }
.ampel-status {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px;
  border: 1px solid #767676; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.ampel-status.gruen { background: #dff6dd; border-color: #107c10; }
.ampel-status.gelb { background: #fff4ce; border-color: #ca8a04; }
.ampel-status.rot { background: #fde7e9; border-color: #a80000; }
.ampel-problem-list { margin: 0; padding: 0; list-style: none; }
.ampel-problem-list li {
  display: grid; grid-template-columns: 12px 1fr auto auto; gap: 8px; align-items: center;
  padding: 5px 0; border-bottom: 1px solid #e8e8e8; font-size: 12px;
}
.ampel-problem-list li:last-child { border-bottom: none; }
.ampel-problem-list .ap-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ampel-problem-list .ap-pct { font-weight: 600; text-align: right; min-width: 48px; }
.ampel-problem-list .ap-pct.gruen { color: #107c10; }
.ampel-problem-list .ap-pct.gelb { color: #8a6914; }
.ampel-problem-list .ap-pct.rot { color: #a80000; }
.pm-card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.pm-card-head .card-h2 { margin: 0; border: none; padding: 0; }
.pm-wg-wrap h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.pm-wg-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pm-wg-tab {
  display: block; min-width: 120px; padding: 8px 10px; border: 1px solid #767676;
  background: #f0f0f0; text-decoration: none; color: #000; font-size: 12px;
}
.pm-wg-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.pm-wg-tab.active { border-color: #0078d4; background: #e5f1fb; font-weight: 600; }
.pm-wg-name { display: block; font-weight: 600; }
.pm-wg-meta { display: block; font-size: 11px; color: #444; margin-top: 2px; }
.pm-wg-code { display: block; font-size: 10px; color: #666; margin-top: 2px; }
.pm-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 12px; padding: 12px; }
.pm-toolbar label { display: block; font-weight: 600; font-size: 12px; margin-bottom: 4px; }
.pm-data-table { font-size: 12px; min-width: 1400px; }
.pm-data-table th { white-space: nowrap; font-size: 11px; }
.pm-row-ampel-rot { background: #fef6f6 !important; }
.pm-row-ampel-gelb { background: #fffdf5 !important; }
.pm-row-bearbeitet td { color: #555; opacity: .88; }
.pm-row-ignoriert td { color: #888; background: #f5f5f5 !important; opacity: .75; }
.marge-pct-cell.gruen { color: #107c10; font-weight: 600; }
.marge-pct-cell.gelb { color: #8a6914; font-weight: 600; }
.marge-pct-cell.rot { color: #a80000; font-weight: 600; }
.vk-ziel-ok { color: #107c10; font-weight: 600; }
.vk-ziel-hoch { font-weight: 600; }
.pm-status-toggle { cursor: pointer; font-size: 18px; user-select: none; }
.pm-upload-area {
  border: 2px dashed #767676; background: #fafafa; padding: 28px 16px; text-align: center;
  margin-bottom: 12px;
}
.pm-upload-icon { font-size: 40px; margin-bottom: 8px; }
.center { text-align: center; }

/* Verkauf × Frequenz – wie shop_verkauf_frequenz.php */
.vf-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.vf-toolbar label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.vf-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 12px; }
.vf-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.vf-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.vf-kpi strong { display: block; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vf-sub-kpi { font-size: 11px; color: #64748b; margin-top: 4px; }
.vf-trend-up { color: #107c10; font-weight: 600; }
.vf-trend-down { color: #a80000; font-weight: 600; }
.vf-warn-box { border-left: 4px solid #ca8a04; padding: 10px 12px; background: #fffdf5; margin-bottom: 8px; font-size: 13px; color: #444; line-height: 1.45; }
.vf-warn-box.positiv { border-left-color: #107c10; background: #f6fff6; }
.vf-warn-box strong { display: block; margin-bottom: 4px; color: #000; }
.vf-meta-line { font-size: 12px; color: #64748b; margin: 0 0 8px; }
.vf-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }
.vf-legende a { color: #0066cc; font-weight: 600; text-decoration: none; }
.vf-legende a:hover { text-decoration: underline; }
.vf-table-wrap { overflow-x: auto; }
.vf-data-table { font-size: 12px; margin-top: 0; min-width: 640px; }
.vf-data-table th.num, .vf-data-table td.num { text-align: right; }
.vf-demo-link { color: #0066cc; font-weight: 600; text-decoration: none; }
.vf-demo-link:hover { text-decoration: underline; }
.chart-h220 { height: 220px; min-height: 180px; }
.chart-h320 { height: 320px; min-height: 240px; }

/* Warengruppen-Ranking – wie shop_gruppen_ranking.php */
.gr-zeitraum-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.gr-tab {
  padding: 5px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0;
  color: #000; cursor: pointer; font-family: inherit;
}
.gr-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.gr-tab.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.gr-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.gr-toolbar label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.gr-panel-hidden { display: none !important; }
.gr-zeitraum-range { padding-top: 8px; border-top: 1px dashed #d4d4d4; margin-top: 4px; }
.gr-umsatz-toggle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 12px; padding: 8px 12px; background: #fff; border: 1px solid #767676;
}
.gr-umsatz-btn {
  padding: 4px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0;
  color: #000; cursor: pointer; font-family: inherit;
}
.gr-umsatz-btn:hover { background: #e5f1fb; border-color: #0078d4; }
.gr-umsatz-btn.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.gr-umsatz-hint { color: #64748b; font-size: 12px; margin-left: 4px; }
.gr-insight {
  padding: 10px 12px; border: 1px solid; margin-bottom: 8px; font-size: 13px; line-height: 1.45;
  border-left-width: 4px;
}
.gr-insight strong { display: block; margin-bottom: 4px; }
.gr-insight-ok { background: #f6fff6; border-color: #107c10; color: #0f5132; }
.gr-insight-warn { background: #fffdf5; border-color: #ca8a04; color: #78350f; }
.gr-insight-info { background: #eff6ff; border-color: #93c5fd; color: #1e3a5f; }
.gr-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.gr-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.gr-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.gr-kpi strong { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.gr-meta-line { font-size: 12px; color: #64748b; margin: 0 0 8px; }
.gr-ampel-panel { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-bottom: 12px; }
@media (max-width: 720px) { .gr-ampel-panel { grid-template-columns: 1fr; } }
.gr-ampel-summary { display: flex; flex-wrap: wrap; gap: 10px; }
.gr-ampel-legende { font-size: 12px; color: #444; margin: 0 0 8px; }
.gr-mover-list { margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; }
.gr-mover-list li {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 6px 0; border-bottom: 1px solid #e8e8e8;
}
.gr-mover-list li:last-child { border-bottom: none; }
.gr-mover-label { color: #64748b; }
.gr-charts-top, .gr-charts-mid { margin-bottom: 12px; }
.gr-table-wrap { overflow-x: auto; margin: 0 -2px; }
.gr-data-table { font-size: 12px; margin-top: 0; min-width: 1280px; }
.gr-data-table thead th { white-space: nowrap; font-size: 11px; vertical-align: bottom; }
.gr-data-table tbody tr:nth-child(even) { background: #f9fafb; }
.gr-data-table tbody tr:hover { background: #e5f1fb !important; }
.gr-data-table .gr-rank { font-weight: 700; color: #444; width: 2em; text-align: center; }
.gr-data-table th.num, .gr-data-table td.num { text-align: right; }
.gr-sort-link { color: #000; text-decoration: none; font-weight: 600; }
.gr-sort-link:hover { color: #0066cc; text-decoration: underline; }
.gr-sort-link.active { color: #0078d4; }
.gr-row-ampel-rot { background: #fef6f6 !important; }
.gr-row-ampel-gelb { background: #fffdf5 !important; }
.gr-bar-cell { display: flex; align-items: center; gap: 8px; min-width: 110px; justify-content: flex-end; }
.gr-bar-track { flex: 1; height: 10px; background: #e8e8e8; border: 1px solid #ccc; min-width: 48px; max-width: 80px; }
.gr-bar-fill { height: 100%; background: #0078d4; }
.gr-bar-pct { font-size: 11px; color: #444; min-width: 42px; text-align: right; white-space: nowrap; }
.gr-trend-up { color: #107c10; font-weight: 600; }
.gr-trend-down { color: #a80000; font-weight: 600; }
.gr-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }
.gr-legende a { color: #0066cc; font-weight: 600; text-decoration: none; }
.gr-legende a:hover { text-decoration: underline; }
.btn-win-sm {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px; font-size: 11px;
  border: 1px solid #767676; background: #f0f0f0; color: #000; text-decoration: none; cursor: pointer;
}
.btn-win-sm:hover { background: #e5f1fb; border-color: #0078d4; }

/* Marge unter Druck – wie shop_marge_druck.php */
.md-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-bottom: 12px; }
.md-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.md-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.md-kpi strong { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.md-kpi-warn strong { color: #a80000; }
.md-filter-chips { margin-bottom: 12px; }
.md-meta-line { font-size: 12px; color: #64748b; margin: 0 0 8px; }
.md-insight {
  padding: 10px 12px; border: 1px solid; margin-bottom: 8px; font-size: 13px; line-height: 1.45;
  border-left-width: 4px;
}
.md-insight strong { display: block; margin-bottom: 4px; }
.md-insight-warn { background: #fffdf5; border-color: #ca8a04; color: #78350f; }
.md-insight-info { background: #eff6ff; border-color: #93c5fd; color: #1e3a5f; }
.md-insight-ok { background: #f6fff6; border-color: #107c10; color: #0f5132; }
.md-charts-row { margin-bottom: 12px; }
.chart-h240 { height: 240px; min-height: 200px; }
.md-table-wrap { overflow-x: auto; margin: 0 -2px; }
.md-data-table { font-size: 12px; margin-top: 0; min-width: 1180px; }
.md-data-table thead th { white-space: nowrap; font-size: 11px; vertical-align: bottom; }
.md-data-table tbody tr:nth-child(even) { background: #f9fafb; }
.md-data-table tbody tr:hover { background: #e5f1fb !important; }
.md-data-table th.num, .md-data-table td.num { text-align: right; }
.md-row-ampel-rot { background: #fef6f6 !important; }
.md-row-ampel-gelb { background: #fffdf5 !important; }
.md-ek-diff { color: #a80000; font-weight: 600; font-size: 11px; }
.md-vk-neu-hoch { color: #a80000; font-weight: 600; }
.md-grund-cell { min-width: 180px; line-height: 1.6; }
.md-druck-badge {
  display: inline-block; padding: 2px 6px; margin: 1px 2px 1px 0;
  font-size: 10px; font-weight: 600; border: 1px solid #767676; white-space: nowrap;
}
.md-druck-badge.rot { background: #fde7e9; border-color: #a80000; color: #000; }
.md-druck-badge.gelb { background: #fff4ce; border-color: #ca8a04; color: #000; }
.md-druck-badge.grau { background: #f0f0f0; color: #444; }
.md-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }

/* Renner & Penner – wie shop_renner_penner.php */
.rp-filter-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-bottom: 12px; }
.rp-filter-row .card { margin-bottom: 0; }
.rp-zeitraum-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.rp-tab {
  padding: 5px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0;
  color: #000; cursor: pointer; font-family: inherit;
}
.rp-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.rp-tab.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.rp-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.rp-toolbar label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.rp-panel-hidden { display: none !important; }
.rp-zeitraum-range { padding-top: 8px; border-top: 1px dashed #d4d4d4; margin-top: 4px; }
.rp-umsatz-toggle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 12px; padding: 8px 12px; background: #fff; border: 1px solid #767676;
}
.rp-umsatz-btn {
  padding: 4px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0;
  color: #000; cursor: pointer; font-family: inherit;
}
.rp-umsatz-btn:hover { background: #e5f1fb; border-color: #0078d4; }
.rp-umsatz-btn.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.rp-umsatz-hint { color: #64748b; font-size: 12px; margin-left: 4px; }
.rp-insight {
  padding: 10px 12px; border: 1px solid; margin-bottom: 8px; font-size: 13px; line-height: 1.45;
  border-left-width: 4px;
}
.rp-insight strong { display: block; margin-bottom: 4px; }
.rp-insight-ok { background: #f6fff6; border-color: #107c10; color: #0f5132; }
.rp-insight-warn { background: #fffdf5; border-color: #ca8a04; color: #78350f; }
.rp-insight-info { background: #eff6ff; border-color: #93c5fd; color: #1e3a5f; }
.rp-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.rp-kpi { background: #fafafa; border: 1px solid #ddd; padding: 8px 10px; min-width: 0; }
.rp-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; line-height: 1.3; font-weight: 600; }
.rp-kpi strong { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; word-break: break-word; }
.rp-meta-line { font-size: 12px; color: #64748b; margin: 0 0 8px; }
.rp-charts-top, .rp-charts-mid { margin-bottom: 12px; }
.rp-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; min-width: 0; }
.rp-card-renner { border-top: 3px solid #107c10 !important; }
.rp-card-penner { border-top: 3px solid #c50f1f !important; }
.rp-table-wrap { overflow-x: auto; max-width: 100%; border: 1px solid #767676; -webkit-overflow-scrolling: touch; }
.rp-data-table { font-size: 12px; margin-top: 0; min-width: 720px; border: 0; }
.rp-data-table thead th {
  background: #0C2340; color: #FFD700; font-weight: 600; white-space: nowrap;
  font-size: 11px; vertical-align: middle;
}
.rp-data-table tbody tr:nth-child(even) { background: #f9f9f9; }
.rp-data-table tbody tr:hover { background: #e5f1fb !important; }
.rp-data-table th.num, .rp-data-table td.num { text-align: right; }
.rp-rank { font-weight: 700; color: #444; width: 2em; text-align: center !important; }
.rp-col-art { white-space: nowrap; }
.rp-col-bez { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-col-gr { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.rp-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }
.rp-legende a { color: #0066cc; font-weight: 600; text-decoration: none; }
.rp-legende a:hover { text-decoration: underline; }

/* FF/HD vs. Shop – wie shop_ff_hd_mix.php */
.mix-bereich-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.mix-bereich-tab {
  padding: 6px 14px; font-size: 13px; text-decoration: none; color: #000;
  border: 1px solid #767676; background: #f0f0f0;
}
.mix-bereich-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.mix-bereich-tab.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; cursor: default; }
.mix-zeitraum-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.mix-tab {
  padding: 5px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0;
  color: #000; cursor: pointer; font-family: inherit;
}
.mix-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.mix-tab.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.mix-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.mix-toolbar label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.mix-zeitraum-range { padding-top: 8px; border-top: 1px dashed #d4d4d4; margin-top: 4px; }
.mix-meta-line { font-size: 12px; color: #64748b; margin: 0 0 8px; }
.mix-umsatz-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; padding: 8px 12px; background: #fff; border: 1px solid #767676; }
.mix-umsatz-btn { padding: 4px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0; color: #000; cursor: pointer; font-family: inherit; }
.mix-umsatz-btn:hover { background: #e5f1fb; border-color: #0078d4; }
.mix-umsatz-btn.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.mix-hinweis-liste { margin: 0 0 12px; padding-left: 18px; color: #444; font-size: 13px; line-height: 1.5; }
.mix-hinweis-liste li { margin-bottom: 4px; }
.mix-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.mix-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.mix-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.mix-kpi strong { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mix-kpi-gesamt { border-top: 3px solid #0C2340; }
.mix-kpi-ff { border-top: 3px solid #ca8a04; }
.mix-kpi-rest { border-top: 3px solid #0078d4; }
.mix-sub-kpi { font-size: 11px; color: #64748b; margin-top: 4px; }
.mix-trend-up { color: #107c10; font-weight: 600; }
.mix-trend-down { color: #a80000; font-weight: 600; }
.mix-monats-hint { font-size: 12px; color: #444; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mix-legende-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.mix-legende-item i { display: inline-block; width: 12px; height: 12px; font-style: normal; border: 1px solid #767676; }
.mix-legende-item.lg-daten i { background: #0C2340; }
.mix-legende-item.lg-vormonat i { background: #ffcb05; border-color: #ca8a04; }
.mix-legende-item.lg-leer i { background: #f9f9f9; border-style: dashed; }
.mix-monats-leiste { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; padding: 4px 2px; }
.mix-monat-kachel {
  display: block; text-decoration: none; color: inherit; background: #f9f9f9; border: 1px solid #767676;
  padding: 8px 6px; text-align: center; position: relative; min-height: 100px;
}
a.mix-monat-kachel:hover { border-color: #0078d4; background: #e5f1fb; }
.mix-monat-kachel.hat-daten { border-color: #107c10; background: #fff; }
.mix-monat-kachel.aktiv { border-color: #0078d4; background: #e5f1fb; font-weight: 600; }
.mix-monat-kachel.leer { opacity: .65; cursor: default; pointer-events: none; background: #f0f0f0; }
.mix-monat-kachel .mk-kurz { font-size: 18px; font-weight: 700; line-height: 1.1; }
.mix-monat-kachel .mk-jahr { font-size: 11px; color: #444; margin-top: 2px; }
.mix-monat-kachel .mk-umsatz { margin-top: 6px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mix-monat-kachel .mk-marge { font-size: 11px; color: #444; margin-top: 2px; }
.mix-monat-kachel .mk-stand { font-size: 10px; color: #107c10; }
.mix-monat-kachel .mk-leer-text { margin-top: 8px; font-size: 11px; color: #888; line-height: 1.3; }
.mix-monat-badge {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; padding: 1px 6px; white-space: nowrap; border: 1px solid #767676;
}
.mix-monat-badge.vormonat { background: #ffcb05; color: #0C2340; border-color: #ca8a04; }
.mix-monat-badge.laufend { background: #107c10; color: #fff; border-color: #107c10; }
.mix-monat-badge.aktuell { background: #0C2340; color: #FFD700; border-color: #0C2340; top: 14px; }
.mix-table-wrap { overflow-x: auto; border: 1px solid #767676; margin-top: 0; }
.mix-compare-table { font-size: 12px; margin-top: 0; min-width: 880px; border: 0; }
.mix-compare-table th, .mix-compare-table td { vertical-align: middle; }
.mix-compare-table th.num, .mix-compare-table td.num { text-align: right; }
.mix-row-ff td:first-child { font-weight: 600; }
.mix-row-sum { background: #f8fafc; }
.mix-bar-cell { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 110px; }
.mix-bar-track { flex: 1; height: 8px; background: #e5e5e5; border: 1px solid #ccc; min-width: 48px; max-width: 80px; }
.mix-bar-fill { height: 100%; background: #0078d4; }
.mix-bar-fill.ff { background: #ca8a04; }
.mix-bar-pct { font-size: 11px; color: #444; white-space: nowrap; }
.mix-charts-grid { margin-bottom: 0; }
.mix-data-table { font-size: 12px; margin-top: 0; min-width: 900px; }
.mix-data-table th.num, .mix-data-table td.num { text-align: right; }
.mix-row-shop-renner { background: #f8fafc !important; }
.mix-badge-hd { background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.mix-badge-food { background: #fef9c3; color: #854d0e; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.mix-badge-shop-renner { background: #dbeafe; color: #1e40af; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.mix-badge-versteckt { background: #dcfce7; color: #166534; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.mix-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }
.mix-legende a { color: #0066cc; font-weight: 600; text-decoration: none; }
.mix-legende a:hover { text-decoration: underline; }

/* Shop-Insight FF & HD (fi-*) */
.fi-bereich-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.fi-bereich-tab {
  display: inline-flex; align-items: center; padding: 6px 12px; font-size: 13px;
  border: 1px solid #767676; background: #f0f0f0; color: #000; text-decoration: none; cursor: pointer;
}
.fi-bereich-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.fi-bereich-tab.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; cursor: default; }
.fi-monats-hint { font-size: 12px; color: #444; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fi-legende-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.fi-legende-item i { display: inline-block; width: 12px; height: 12px; font-style: normal; border: 1px solid #767676; }
.fi-legende-item.lg-daten i { background: #0C2340; }
.fi-legende-item.lg-vormonat i { background: #ffcb05; border-color: #ca8a04; }
.fi-legende-item.lg-leer i { background: #f9f9f9; border-style: dashed; }
.fi-monats-leiste { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; padding: 4px 2px; }
.fi-monat-kachel {
  display: block; text-decoration: none; color: inherit; background: #f9f9f9; border: 1px solid #767676;
  padding: 8px 6px; text-align: center; position: relative; min-height: 100px;
}
a.fi-monat-kachel:hover { border-color: #0078d4; background: #e5f1fb; }
.fi-monat-kachel.hat-daten { border-color: #107c10; background: #fff; }
.fi-monat-kachel.aktiv { border-color: #0078d4; background: #e5f1fb; font-weight: 600; }
.fi-monat-kachel.leer { opacity: .65; cursor: default; pointer-events: none; background: #f0f0f0; }
.fi-monat-kachel .mk-kurz { font-size: 18px; font-weight: 700; line-height: 1.1; }
.fi-monat-kachel .mk-jahr { font-size: 11px; color: #444; margin-top: 2px; }
.fi-monat-kachel .mk-umsatz { margin-top: 6px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fi-monat-kachel .mk-marge { font-size: 11px; color: #444; margin-top: 2px; }
.fi-monat-kachel .mk-stand { font-size: 10px; color: #107c10; }
.fi-monat-kachel .mk-leer-text { margin-top: 8px; font-size: 11px; color: #888; line-height: 1.3; }
.fi-monat-badge {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; padding: 1px 6px; white-space: nowrap; border: 1px solid #767676;
}
.fi-monat-badge.vormonat { background: #ffcb05; color: #0C2340; border-color: #ca8a04; }
.fi-monat-badge.laufend { background: #107c10; color: #fff; border-color: #107c10; }
.fi-monat-badge.aktuell { background: #0C2340; color: #FFD700; border-color: #0C2340; top: 14px; }
.fi-sub-h3 { margin: 16px 0 8px; font-size: 13px; font-weight: 600; }
.fi-chart-toggle-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13px; }
.fi-chart-toggle {
  display: inline-flex; align-items: center; height: 28px; padding: 0 14px;
  border: 1px solid #767676; background: #f0f0f0; cursor: pointer; font: inherit; font-size: 13px; color: #000;
}
.fi-chart-toggle:hover { background: #e5f1fb; border-color: #0078d4; }
.fi-chart-toggle.active { background: #0078d4; color: #fff; border-color: #005a9e; }
.fi-umsatz-toggle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 12px; padding: 8px 12px; background: #fff; border: 1px solid #767676;
}
.fi-umsatz-toggle > span:first-child { font-size: 13px; font-weight: 600; }
.fi-umsatz-btn { padding: 4px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0; color: #000; cursor: pointer; font-family: inherit; }
.fi-umsatz-btn:hover { background: #e5f1fb; border-color: #0078d4; }
.fi-umsatz-btn.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.fi-umsatz-hint { font-size: 12px; color: #444; margin: 0; flex: 1 1 220px; }
.fi-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 4px; }
.fi-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.fi-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.fi-kpi strong { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fi-kpi-hd { border-top: 3px solid #ffcb05; }
.fi-kpi-food { border-top: 3px solid #0078d4; }
.fi-kpi-ampel { display: inline-flex; align-items: center; gap: 6px; }
.fi-ampel-panel { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-bottom: 12px; }
@media (max-width: 720px) { .fi-ampel-panel { grid-template-columns: 1fr; } }
.fi-ampel-summary { display: flex; flex-wrap: wrap; gap: 10px; }
.fi-ampel-legende { font-size: 12px; color: #444; margin: 0 0 8px; }
.fi-meta-line { font-size: 12px; color: #64748b; margin: 0 0 8px; }
.fi-insight {
  padding: 10px 12px; margin-bottom: 8px; border: 1px solid #767676; border-left-width: 4px;
  background: #f9f9f9; font-size: 13px; line-height: 1.45;
}
.fi-insight strong { display: block; margin-bottom: 4px; }
.fi-insight-ok { border-left-color: #107c10; background: #f3faf3; }
.fi-insight-info { border-left-color: #0078d4; background: #f0f6fc; }
.fi-insight-warn { border-left-color: #ca5010; background: #fff8f0; }
.fi-charts-row { margin-bottom: 12px; }
.fi-wg-tabs-wrap { margin-bottom: 12px; }
.fi-wg-h3 { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.fi-wg-tabs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 6px; padding: 4px 2px 8px;
}
.fi-wg-tab {
  display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 8px 10px;
  text-decoration: none; color: inherit; border: 1px solid #767676; background: #f9f9f9; cursor: pointer;
}
.fi-wg-tab:hover { border-color: #0078d4; background: #e5f1fb; }
.fi-wg-tab.active { border-color: #0078d4; background: #e5f1fb; font-weight: 600; cursor: default; }
.fi-wg-tab .wg-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.fi-wg-tab .wg-meta { font-size: 11px; color: #444; margin-top: 3px; font-variant-numeric: tabular-nums; }
.fi-wg-badge-hd, .fi-wg-badge-food {
  font-size: 9px; font-weight: 700; text-transform: uppercase; margin-top: 4px; padding: 1px 5px; border: 1px solid #767676;
}
.fi-wg-badge-hd { background: #fff4ce; }
.fi-wg-badge-food { background: #e5f1fb; }
.fi-badge-hd { background: #fff4ce; color: #000; padding: 2px 6px; border: 1px solid #767676; font-size: 11px; font-weight: 600; }
.fi-badge-food { background: #e5f1fb; color: #000; padding: 2px 6px; border: 1px solid #767676; font-size: 11px; font-weight: 600; }
.fi-table-wrap { overflow-x: auto; border: 1px solid #767676; }
.fi-data-table { font-size: 12px; margin-top: 0; min-width: 920px; border: 0; }
.fi-data-table th, .fi-data-table td { vertical-align: middle; }
.fi-data-table th.num, .fi-data-table td.num { text-align: right; }
.fi-data-table th a { color: #000; text-decoration: none; }
.fi-data-table th a:hover { text-decoration: underline; color: #0066cc; }
.fi-data-table th a.active { font-weight: 700; }
.fi-row-ampel-rot { background: #fef6f6 !important; }
.fi-row-ampel-gelb { background: #fffdf5 !important; }
.fi-col-bez { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }
.fi-legende a { color: #0066cc; font-weight: 600; text-decoration: none; }
.fi-legende a:hover { text-decoration: underline; }

/* Ignorier-Liste (ia-*) */
.ia-toolbar-links { margin-bottom: 12px; font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ia-back-link { color: #0C2340; font-weight: 600; text-decoration: none; }
.ia-back-link:hover { text-decoration: underline; color: #0066cc; }
.ia-toolbar-sep { color: #888; }
.ia-toolbar-meta { color: #444; }
.ia-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 12px; }
.ia-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.ia-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.ia-kpi strong { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ia-kpi-artikel { border-top: 3px solid #0078d4; }
.ia-kpi-gruppe { border-top: 3px solid #ca8a04; }
.ia-intro { margin: 0 0 10px; color: #444; font-size: 13px; line-height: 1.5; }
.ia-meta-line { font-size: 12px; color: #64748b; margin: 0; }
.ia-insight {
  padding: 10px 12px; margin-bottom: 8px; border: 1px solid #767676; border-left-width: 4px;
  background: #f9f9f9; font-size: 13px; line-height: 1.45;
}
.ia-insight strong { display: block; margin-bottom: 4px; }
.ia-insight-info { border-left-color: #0078d4; background: #f0f6fc; }
.ia-insight-warn { border-left-color: #ca5010; background: #fff8f0; }
.ia-export-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 10px; }
.ia-import-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.ia-file-input { font-size: 13px; max-width: 280px; font-family: inherit; }
.ia-format-hinweis { margin-top: 10px; margin-bottom: 0; }
.ia-format-hinweis code { font-size: 12px; }
.ia-form-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 0; }
.ia-form-tab {
  padding: 8px 16px; font-size: 13px; font-weight: 600; border: 1px solid #767676;
  background: #f0f0f0; color: #000; cursor: pointer; font-family: inherit;
}
.ia-form-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.ia-form-tab.active { background: #0078d4; color: #fff; border-color: #005a9e; }
.ia-form-panel { display: none; margin-top: 0; border-top: none; }
.ia-form-panel.active { display: block; }
.ia-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 720px; }
.ia-form-grid label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.ia-label-second { margin-top: 10px; }
.ia-form-full { grid-column: 1 / -1; }
.ia-form-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ia-textarea {
  width: 100%; min-height: 64px; padding: 8px 10px; border: 1px solid #767676;
  font-size: 13px; font-family: inherit; resize: vertical;
}
.ia-vorschau {
  margin-top: 12px; padding: 10px 12px; font-size: 13px; line-height: 1.45;
  border: 1px solid #767676;
}
.ia-vorschau-hidden { display: none !important; }
.ia-vorschau-ok { background: #dff6dd; border-color: #107c10; }
.ia-vorschau-info { background: #e5f1fb; border-color: #0078d4; }
.ia-list-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.ia-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ia-filter-chip {
  display: inline-flex; align-items: center; padding: 4px 12px; font-size: 13px;
  border: 1px solid #767676; background: #f0f0f0; color: #000; text-decoration: none; cursor: pointer;
}
.ia-filter-chip:hover { background: #e5f1fb; border-color: #0078d4; }
.ia-filter-chip.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.ia-search-wrap { flex: 1 1 200px; max-width: 320px; }
.ia-search-input { width: 100%; }
.ia-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.ia-table-wrap { overflow-x: auto; border: 1px solid #767676; }
.ia-data-table { font-size: 12px; margin-top: 0; min-width: 880px; border: 0; }
.ia-data-table th { background: #0C2340; color: #FFD700; font-weight: 600; }
.ia-data-table td { vertical-align: top; }
.ia-col-bez { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ia-col-notiz { max-width: 180px; font-size: 12px; color: #444; }
.ia-col-datum { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ia-col-action { white-space: nowrap; }
.ia-typ-badge {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 4px; background: #e5f1fb; color: #0C2340; border: 1px solid #93c5fd;
}
.ia-typ-gruppe { background: #fff4ce; color: #7a5c00; border-color: #ca8a04; }
.ia-btn-remove {
  font-size: 12px; padding: 4px 10px; color: #a80000; border-color: #a80000; background: #fff;
}
.ia-btn-remove:hover { background: #fde7e9; }
.ia-row-removing { opacity: 0.35; transition: opacity 0.35s ease; }
.ia-list-hint { margin-top: 10px; }
.ia-list-hint a { color: #0066cc; font-weight: 600; text-decoration: none; }
.ia-list-hint a:hover { text-decoration: underline; }
.ia-sys-list { margin: 0; padding-left: 18px; color: #444; font-size: 13px; line-height: 1.6; }
.ia-sys-list li { margin-bottom: 6px; }
.ia-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }
@media (max-width: 700px) {
  .ia-form-grid { grid-template-columns: 1fr; }
  .ia-list-toolbar { flex-direction: column; align-items: stretch; }
  .ia-search-wrap { max-width: none; }
}

/* Shop Gesamt (sg-*) */
.sg-tabak-hinweis { margin-bottom: 12px; }
.sg-tabak-hinweis a { color: #0C2340; font-weight: 700; text-decoration: none; }
.sg-tabak-hinweis a:hover { text-decoration: underline; color: #0066cc; }
.sg-intro { margin: 0 0 10px; color: #444; font-size: 13px; line-height: 1.5; }
.sg-meta-line { font-size: 12px; color: #64748b; margin: 0; }
.sg-import-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 8px; }
.sg-import-toolbar label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.sg-file-input { font-size: 13px; max-width: 320px; font-family: inherit; }
.sg-zeitraum-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.sg-tab {
  padding: 5px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0;
  color: #000; cursor: pointer; font-family: inherit;
}
.sg-tab:hover { background: #e5f1fb; border-color: #0078d4; }
.sg-tab.active { background: #fff; border-color: #0078d4; font-weight: 600; }
.sg-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.sg-toolbar label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.sg-zeitraum-range { padding-top: 8px; border-top: 1px dashed #d4d4d4; margin-top: 4px; }
.sg-monats-hint { font-size: 12px; color: #444; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sg-legende-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; }
.sg-legende-item i { display: inline-block; width: 12px; height: 12px; font-style: normal; border: 1px solid #767676; }
.sg-legende-item.lg-daten i { background: #0C2340; }
.sg-legende-item.lg-vormonat i { background: #ffcb05; border-color: #ca8a04; }
.sg-legende-item.lg-leer i { background: #f9f9f9; border-style: dashed; }
.sg-monats-leiste { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; padding: 4px 2px; }
.sg-monat-kachel {
  display: block; text-decoration: none; color: inherit; background: #f9f9f9; border: 1px solid #767676;
  padding: 8px 6px; text-align: center; position: relative; min-height: 100px;
}
a.sg-monat-kachel:hover { border-color: #0078d4; background: #e5f1fb; }
.sg-monat-kachel.hat-daten { border-color: #107c10; background: #fff; }
.sg-monat-kachel.aktiv { border-color: #0078d4; background: #e5f1fb; font-weight: 600; }
.sg-monat-kachel.leer { opacity: .65; pointer-events: none; background: #f0f0f0; }
.sg-monat-kachel .mk-kurz { font-size: 18px; font-weight: 700; line-height: 1.1; }
.sg-monat-kachel .mk-jahr { font-size: 11px; color: #444; margin-top: 2px; }
.sg-monat-kachel .mk-umsatz { margin-top: 6px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sg-monat-kachel .mk-marge { font-size: 11px; color: #444; margin-top: 2px; }
.sg-monat-kachel .mk-stand { font-size: 10px; color: #107c10; }
.sg-monat-kachel .mk-leer-text { margin-top: 8px; font-size: 11px; color: #888; line-height: 1.3; }
.sg-monat-badge {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  font-size: 9px; font-weight: 700; padding: 1px 6px; white-space: nowrap; border: 1px solid #767676;
}
.sg-monat-badge.vormonat { background: #ffcb05; color: #0C2340; border-color: #ca8a04; }
.sg-monat-badge.laufend { background: #107c10; color: #fff; border-color: #107c10; }
.sg-monat-badge.aktuell { background: #0C2340; color: #FFD700; border-color: #0C2340; top: 14px; }
.sg-kpi-vergleich { font-size: 12px; color: #444; margin: 0 0 8px; }
.sg-kpi-vor-label { color: #c50f1f; }
.sg-umsatz-toggle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin-bottom: 12px; padding: 8px 12px; background: #fff; border: 1px solid #767676;
}
.sg-umsatz-toggle > span:first-child { font-size: 13px; font-weight: 600; }
.sg-umsatz-btn { padding: 4px 12px; font-size: 13px; border: 1px solid #767676; background: #f0f0f0; color: #000; cursor: pointer; font-family: inherit; }
.sg-umsatz-btn:hover { background: #e5f1fb; border-color: #0078d4; }
.sg-umsatz-btn.active { background: #0078d4; color: #fff; border-color: #005a9e; font-weight: 600; }
.sg-umsatz-hint { font-size: 12px; color: #444; margin: 0; flex: 1 1 220px; }
.sg-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-bottom: 4px; }
.sg-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.sg-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.sg-kpi-val-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sg-kpi-vor { font-size: 12px; font-weight: 600; color: #c50f1f; font-variant-numeric: tabular-nums; }
.sg-kpi-vor.sg-kpi-leer { color: #bbb; }
.sg-kpi-aktuell { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sg-kpi-ampel { display: inline-flex; align-items: center; gap: 6px; }
.sg-ampel-panel { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-bottom: 12px; }
@media (max-width: 720px) { .sg-ampel-panel { grid-template-columns: 1fr; } }
.sg-ampel-summary { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-ampel-legende { font-size: 12px; color: #444; margin: 0 0 8px; }
.sg-insight {
  padding: 10px 12px; margin-bottom: 8px; border: 1px solid #767676; border-left-width: 4px;
  background: #f9f9f9; font-size: 13px; line-height: 1.45;
}
.sg-insight strong { display: block; margin-bottom: 4px; }
.sg-insight-ok { border-left-color: #107c10; background: #f3faf3; }
.sg-insight-info { border-left-color: #0078d4; background: #f0f6fc; }
.sg-insight-warn { border-left-color: #ca5010; background: #fff8f0; }
.sg-wg-filter {
  display: flex; flex-direction: column; gap: 4px; max-height: 220px; overflow-y: auto;
  padding: 8px; background: #fff; border: 1px solid #767676; margin-bottom: 10px;
}
.sg-wg-item { display: flex; align-items: center; gap: 6px; }
.sg-wg-label {
  flex: 1; display: inline-flex; align-items: center; gap: 5px; font-size: 12px;
  padding: 4px 8px; background: #f9f9f9; border: 1px solid #d4d4d4; cursor: pointer; margin: 0;
}
.sg-wg-label:has(input:checked) { border-color: #0078d4; background: #e5f1fb; }
.sg-wg-ignor { font-size: 11px; padding: 2px 8px; }
.sg-filter-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sg-filter-actions a { text-decoration: none; }
.sg-artikel-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 10px;
}
.sg-suche-wrap { display: flex; align-items: center; gap: 8px; flex: 1 1 280px; max-width: 420px; }
.sg-suche-wrap label { margin: 0; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sg-suche-input { flex: 1; min-width: 180px; }
.sg-suche-info { font-size: 12px; color: #64748b; white-space: nowrap; }
.sg-auswahl-hint { font-size: 12px; color: #64748b; flex: 1 1 200px; }
.sg-table-wrap { overflow-x: auto; border: 1px solid #767676; }
.sg-data-table { font-size: 12px; margin-top: 0; min-width: 980px; border: 0; }
.sg-data-table th, .sg-data-table td { vertical-align: middle; }
.sg-data-table th.num, .sg-data-table td.num { text-align: right; }
.sg-data-table th a { color: #000; text-decoration: none; }
.sg-data-table th a:hover { text-decoration: underline; color: #0066cc; }
.sg-data-table th a.active { font-weight: 700; }
.sg-chk-col { width: 36px; text-align: center; padding: 4px; }
.sg-row-ampel-rot { background: #fef6f6 !important; }
.sg-row-ampel-gelb { background: #fffdf5 !important; }
.sg-col-bez { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-col-gruppe { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.sg-btn-ignor { font-size: 11px; padding: 2px 8px; }
.sg-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }
.sg-legende a { color: #0066cc; font-weight: 600; text-decoration: none; }
.sg-legende a:hover { text-decoration: underline; }

/* Shop-Cockpit (sc-*) */
.sc-toolbar-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.sc-link { color: #0C2340; font-weight: 600; text-decoration: none; font-size: 13px; }
.sc-link:hover { color: #0066cc; text-decoration: underline; }
.sc-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 12px; }
.sc-kpi { background: #fff; border: 1px solid #767676; padding: 8px 10px; }
.sc-kpi small { display: block; font-size: 11px; color: #444; margin-bottom: 4px; font-weight: 600; }
.sc-kpi strong { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sc-kpi-warn strong { color: #a80000; }
.sc-kpi-accent { border-top: 3px solid #0078d4; }
.sc-kpi-ampel { display: inline-flex; align-items: center; gap: 6px; }
.sc-insight {
  padding: 10px 12px; margin-bottom: 8px; border: 1px solid #767676; border-left-width: 4px;
  background: #f9f9f9; font-size: 13px; line-height: 1.45;
}
.sc-insight strong { display: block; margin-bottom: 4px; }
.sc-insight-warn { border-left-color: #ca5010; background: #fff8f0; }
.sc-insight-info { border-left-color: #0078d4; background: #f0f6fc; }
.sc-ampel-panel { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-bottom: 12px; }
@media (max-width: 720px) { .sc-ampel-panel { grid-template-columns: 1fr; } }
.sc-ampel-summary { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-meta-line { font-size: 12px; color: #64748b; margin: 0 0 8px; line-height: 1.45; }
.sc-chart-card { margin-bottom: 12px; }
.sc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.sc-grid-full { grid-column: 1 / -1; }
@media (max-width: 960px) { .sc-grid { grid-template-columns: 1fr; } }
.sc-card-nachbestellen { border-top: 3px solid #c50f1f; }
.sc-card-abbauen { border-top: 3px solid #ca8a04; }
.sc-card-preis { border-top: 3px solid #0078d4; }
.sc-card-hist { border-top: 3px solid #107c10; }
.sc-card-h2 {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  border-bottom: 1px solid #d4d4d4; padding-bottom: 6px; margin-bottom: 10px;
}
.sc-card-link { font-size: 12px; font-weight: normal; color: #0066cc; text-decoration: none; }
.sc-card-link:hover { text-decoration: underline; }
.sc-bestand-legende { font-size: 11px; color: #888; }
.sc-table-wrap { overflow-x: auto; border: 1px solid #767676; }
.sc-data-table { font-size: 12px; margin-top: 0; min-width: 520px; border: 0; }
.sc-hist-table { min-width: 880px; }
.sc-data-table th, .sc-data-table td { vertical-align: middle; }
.sc-data-table th.num, .sc-data-table td.num { text-align: right; }
.sc-col-bez { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-row-bestand-rot { background: #fef6f6 !important; }
.sc-row-bestand-gelb { background: #fffdf5 !important; }
.sc-row-ampel-rot { background: #fef6f6 !important; }
.sc-row-ampel-gelb { background: #fffdf5 !important; }
.sc-status-offen { font-size: 12px; color: #444; }
.sc-diff-plus { color: #c50f1f; font-weight: 600; }
.sc-diff-minus { color: #107c10; font-weight: 600; }
.sc-vk-hint { color: #444; font-size: 12px; margin-left: 8px; }
.ampel-dot.grau { background: #ccc; border-color: #767676; }
.ampel-status.grau { background: #f0f0f0; border-color: #767676; color: #444; }
.sc-legende { margin: 0; font-size: 13px; color: #444; line-height: 1.55; }

@media (max-width: 768px) {
  .ausw-sidebar { position: relative; width: 100%; height: auto; }
  .ausw-main { margin-left: 0; }
  .dc-footer.ausw-footer { left: 0; }
  .pk-card { width: 100%; }
}
