/* Approved mobile preview: desktop surfaces and type, existing mobile layout.
   Keep input sizing, safe areas, capture controls and finance semantics intact. */
@media (max-width: 760px) {
  main { margin-top: 20px; padding-inline: 16px; }
  .navbar { min-height: 60px; padding-inline: 16px; }
  .navbar .brand { font-weight: 500; }
  h1, main > h1, h1.page-title, .seitenkopf h1, .dashboard-kopf h1, .mb-kopf h1 {
    font-size: 21px; font-weight: 450; line-height: 1.35; letter-spacing: -.02em;
  }
  h2, main > h2, .panel-kopf h2, .ag-abschnitt h2 { font-size: 16px; font-weight: 500; }
  .card, .karte, form.karte, .kpi-card, .mb-karte, .belegtabelle tr,
  .bewegungen-tabelle tr, .eingaenge-tabelle tr, .mb-liste li,
  .stand-zeile, .warnung-karte, .herleitung { border-radius: 9px; box-shadow: none; }
  .card, .karte, form.karte, .kpi-card { border-color: var(--separator); }
  .dashboard-panel { padding: 16px; }
  .dashboard-kopf h1 { border-left: 0; padding-left: 0; }
  .mb-kopf { margin-bottom: 16px; }
  .mb-kopf .augenbraue { font-size: 12px; font-weight: 400; letter-spacing: 0; text-transform: none; }
  .mb-karte { padding: 17px; border-color: #d9e5d3; background: linear-gradient(110deg,#f1f6ec,var(--bg-surface)); }
  .mb-karte:has(.mb-status.knapp) { background: #fffaf0; border-color: var(--warn-border); }
  .mb-karte:has(.mb-zahl.minus) { background: var(--bg-surface); border-color: var(--err-border); }
  .mb-rest { font-size: 12px; line-height: 1.5; }
  .mb-zahl { font-size: 30px; font-weight: 350; line-height: 1.2; margin: 12px 0; }
  .mb-prozent { font-size: 12px; font-weight: 400; margin-bottom: 10px; }
  .mb-balken { height: 6px; }
  .mb-fuell:not(.knapp):not(.ueber) { background: #65844f; }
  .mb-skala { font-size: 11px; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
  .mb-status { border-radius: 5px; font-weight: 450; font-size: 11px; }
  .mb-basis { font-size: 11px; line-height: 1.5; color: var(--text-secondary); }
  .mb-budgets .name { font-weight: 500; }
  .mb-aktionen .knopf { font-size: 14px; font-weight: 400; border-radius: 8px; }
  .mb-aktionen .knopf.zweit { border-color: var(--separator-strong); }
  .mb-liste strong, .mb-liste .betrag { font-weight: 450; }
  .mb-liste small { font-size: 11px; }
  .dashboard-kpis .kpi-hd { flex-direction: row; justify-content: space-between; gap: 8px; }
  .dashboard-kpis .kpi-hd .kpi-label { text-align: left; }
  .dashboard-kpis .kpi-val { font-weight: 400; }
  .ux-hero-kpis .ux-budget-card { border-color: #d9e5d3; background: linear-gradient(110deg,#f1f6ec,var(--bg-surface)); }
  .ux-hero-kpis .ux-budget-card.kpi-warn { background: #fffaf0; border-color: var(--warn-border); }
  .ux-kpi-details, .ux-budget-details { border: 1px solid var(--separator); border-radius: 8px; background: var(--bg-surface); }
  .ux-kpi-details { margin-top: 12px; }
  .ux-kpi-details > summary, .ux-budget-details > summary { padding: 12px 14px; min-height: 44px; font-size: 12px; color: var(--text-secondary); }
  .ux-secondary-kpis { padding: 12px; margin-bottom: 0; }
  .ux-budget-details .dashboard-panel { border: 0; border-top: 1px solid var(--separator); border-radius: 0 0 8px 8px; }
  .ux-kpi-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--text-secondary); }
  .ux-card-link { display: block; margin-top: 12px; font-size: 12px; }
  .dashboard-aufgaben small { display: block; font-size: 11px; margin-top: 3px; color: var(--text-secondary); }
  .budget-spur { height: 6px; }
  .budget-fuss { font-size: 11px; }
  button, .knopf { border-radius: 8px; font-weight: 450; }
  input, select, textarea { border-radius: 7px; font-size: 16px; min-height: 44px; }
  input[type=checkbox], input[type=radio] { min-height: 0; }
  .sf-wahl input { min-height: 0; }
  .sf-zusammen { background: var(--bg-subtle); border-radius: 7px; font-size: 12px; padding: 12px; }
  .sf-zusammen dd { font-weight: 400; }
  .sf-zusammen a { font-weight: 450; }
  .sf-zusammen dt { color: var(--text-secondary); }
  details.sf-mehr, .scan-box { border-radius: 8px; }
  details.sf-mehr > summary, .scan-box > summary { font-size: 13px; font-weight: 450; }
  details.sf-mehr > summary .hinweis { font-size: 11px; }
  .sf-aktionen button, form.karte .sf-aktionen button { font-size: 14px; font-weight: 400; }
  .sf-abbrechen { font-size: 12px; font-weight: 400; }
  .badge { border-radius: 5px; font-weight: 450; }
  .belegtabelle td.t-aussteller, .bewegungen-tabelle td.t-bez, .eingaenge-tabelle td.t-bez,
  .belegtabelle td.t-betrag, .bewegungen-tabelle td.t-betrag, .eingaenge-tabelle td.t-betrag { font-weight: 450; }
  .tabbar { background: var(--bg-surface); border-top: 1px solid var(--separator); }
  .tabbar a, .tabbar button { color: var(--text-secondary); font-weight: 400; border-radius: 8px; }
  .tabbar a.active { background: var(--accent-soft); color: var(--text-primary); }
  .tabbar a:hover, .tabbar button:hover { color: var(--text-primary); }
  .tabbar i { font-size: 19px; }
  .menue-blatt-liste a, .menue-blatt-abmelden { font-size: 14px; font-weight: 400; border-radius: 8px; }
  .menue-blatt-liste a.active { font-weight: 500; }
  .menue-blatt-gruppe { font-weight: 500; letter-spacing: .02em; }
}
