/*
 * Reise-OS 7 — Gestaltungssystem: Fundament
 *
 * Diese Datei lädt JEDES Layout (Marketing, Website, Backend, Portal, Auth, Installer). Sie enthält
 * die Farbtoken, die Grundtypografie und alle Bausteine, die mehr als ein Bereich braucht:
 * Knöpfe, Karten, Tabellen, Abzeichen, Meldungen, Formulare, Filterleisten, Listenwerkzeuge,
 * Leerzustände, Chips, Registerkarten-Container, Fortschrittsbalken, Backend-Rahmen.
 *
 * Ergänzungen liegen daneben und dürfen nichts hiervon überschreiben, nur erweitern:
 *   katalog.css   Reise-Editor, Mediathek, Exposé (Backend-Katalogansichten)
 *   frontend.css  Veranstalter-Website, Checkout, Kundenportal, Produkt-Website
 *
 * Markenfarbe ausschließlich über die Token --ros-primary (#D97706), --ros-primary-dark (#B45309)
 * und --ros-primary-light (#FEF3C7) — keine Farbliterale im Regelwerk.
 * Klassenpräfix ros- (kompatibel zu den 6.1.1-Views).
 * @copyright (C) jens-richter.com — @license Proprietary
 */
:root {
  --ros-primary: #D97706;
  --ros-primary-dark: #B45309;
  --ros-primary-light: #FEF3C7;
  --ros-primary-soft: #FFFBEB;
  --ros-bg: #F8F7F4;
  --ros-surface: #FFFFFF;
  --ros-text: #1F2937;
  --ros-muted: #6B7280;
  --ros-border: #E5E7EB;
  --ros-ok: #15803D; --ros-ok-bg: #DCFCE7;
  --ros-error: #B91C1C; --ros-error-bg: #FEE2E2;
  --ros-warn: #B45309; --ros-warn-bg: #FEF3C7;
  --ros-info: #1D4ED8; --ros-info-bg: #DBEAFE;
  --ros-sidebar: #1F2937; --ros-sidebar-text: #D1D5DB;
  --ros-radius: 10px;
  --ros-shadow: 0 1px 2px rgba(17,24,39,.06), 0 1px 3px rgba(17,24,39,.08);
  --ros-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ros-font); font-size: 15px; line-height: 1.55; color: var(--ros-text); background: var(--ros-bg); }
a { color: var(--ros-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 650; letter-spacing: -.01em; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: #F3F4F6; padding: .1em .35em; border-radius: 4px; }
img { max-width: 100%; }
.ros-muted { color: var(--ros-muted); }
.ros-text-ok { color: var(--ros-ok); } .ros-text-error { color: var(--ros-error); } .ros-text-warn { color: var(--ros-warn); }
.ros-small { font-size: .875rem; }
.ros-list { padding-left: 1.2em; }
.ros-icon { width: 20px; height: 20px; vertical-align: -4px; flex: none; }

/* ── Buttons ─────────────────────────────────────────────── */
.ros-btn { display: inline-flex; align-items: center; gap: .45em; padding: .55em 1.05em; border-radius: 8px; border: 1px solid var(--ros-border); background: var(--ros-surface); color: var(--ros-text); font: inherit; font-weight: 550; cursor: pointer; text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s; }
.ros-btn:hover { background: #F3F4F6; text-decoration: none; }
.ros-btn-primary, .ros-btn--primary { background: var(--ros-primary); border-color: var(--ros-primary); color: #fff; }
.ros-btn-primary:hover, .ros-btn--primary:hover { background: var(--ros-primary-dark); border-color: var(--ros-primary-dark); }
.ros-btn-secondary, .ros-btn--secondary { background: var(--ros-primary-light); border-color: var(--ros-primary-light); color: var(--ros-primary-dark); }
.ros-btn-ghost, .ros-btn--ghost { background: transparent; border-color: transparent; color: var(--ros-muted); }
.ros-btn-ghost:hover { background: rgba(0,0,0,.05); }
.ros-btn-danger, .ros-btn--danger { background: var(--ros-error); border-color: var(--ros-error); color: #fff; }
.ros-btn-sm, .ros-btn--sm { padding: .35em .75em; font-size: .875rem; }
.ros-btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ── Karten, Tabellen, Badges, Alerts ─────────────────────── */
.ros-card { background: var(--ros-surface); border: 1px solid var(--ros-border); border-radius: var(--ros-radius); padding: 1.25rem 1.5rem; box-shadow: var(--ros-shadow); margin-bottom: 1.25rem; }
.ros-card__title { font-size: 1rem; font-weight: 650; margin: 0 0 .75rem; display: flex; align-items: center; gap: .5rem; }
.ros-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.ros-table th, .ros-table td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--ros-border); vertical-align: top; }
.ros-table th { font-weight: 600; color: var(--ros-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.ros-table tbody tr:hover { background: var(--ros-primary-soft); }
.ros-table-wrap { overflow-x: auto; }
.ros-badge { display: inline-block; padding: .15em .6em; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #F3F4F6; color: var(--ros-muted); }
.ros-badge-ok, .ros-badge-1, .ros-badge-confirmed, .ros-badge-paid, .ros-badge-aktiv { background: var(--ros-ok-bg); color: var(--ros-ok); }
.ros-badge-error, .ros-badge-fehler, .ros-badge-cancelled, .ros-badge-0 { background: var(--ros-error-bg); color: var(--ros-error); }
.ros-badge-warn, .ros-badge-pending, .ros-badge-laeuft { background: var(--ros-warn-bg); color: var(--ros-warn); }
.ros-badge-info { background: var(--ros-info-bg); color: var(--ros-info); }
.ros-badge-primary { background: var(--ros-primary-light); color: var(--ros-primary-dark); }
.ros-alert { padding: .8rem 1rem; border-radius: 8px; margin: 0 0 1rem; border: 1px solid transparent; font-size: .925rem; }
.ros-alert--success { background: var(--ros-ok-bg); color: var(--ros-ok); border-color: #BBF7D0; }
.ros-alert--error { background: var(--ros-error-bg); color: var(--ros-error); border-color: #FECACA; }
.ros-alert--warning { background: var(--ros-warn-bg); color: var(--ros-warn); border-color: #FDE68A; }
.ros-alert--info { background: var(--ros-info-bg); color: var(--ros-info); border-color: #BFDBFE; }
.ros-alert a { color: inherit; font-weight: 600; }

/* ── Formulare ───────────────────────────────────────────── */
.ros-form { display: block; }
.ros-label { display: block; font-weight: 600; font-size: .875rem; margin: .9rem 0 .3rem; }
.ros-required { color: var(--ros-error); }
.ros-input, .ros-select, .ros-textarea, input[type=text].ros-input, input[type=password].ros-input, input[type=email].ros-input { width: 100%; padding: .6rem .75rem; border: 1px solid #D1D5DB; border-radius: 8px; font: inherit; background: #fff; color: var(--ros-text); }
.ros-input:focus, .ros-select:focus, .ros-textarea:focus { outline: 2px solid var(--ros-primary-light); border-color: var(--ros-primary); }
.ros-textarea { min-height: 120px; resize: vertical; }
.ros-check { display: flex; align-items: center; gap: .5rem; margin: 1rem 0; font-size: .925rem; }
.ros-form-actions { display: flex; gap: .75rem; align-items: center; margin-top: 1.5rem; flex-wrap: wrap; }
.ros-form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.ros-help { font-size: .8rem; color: var(--ros-muted); margin: .25rem 0 0; }


/* ══ Listen und Filterleisten (Backend, alle Bereiche) ═════════════════════════════════════
   Diese Bausteine standen bis 7.0.0 nur in katalog.css und damit nur dem Katalogbereich zur
   Verfügung. Sie gehören ins Fundament: Verkauf, Finanzen, Kommunikation und Verwaltung
   benutzen dieselbe Listenoptik (Filterleiste, klebende Aktionsspalte, Leerzustand). */
/* ── Werkzeugleiste über Listen ───────────────────────────── */
/* Filterleiste über einer Liste. Optisch dieselbe Karte wie die mehrzeiligen Filterformulare
   (.ros-card > .ros-form) in Verkauf/Finanzen — ein Erscheinungsbild für alle Bereiche. */
.ros-toolbar { display: flex; gap: .75rem; align-items: flex-end; flex-wrap: wrap; margin-bottom: 1.25rem;
  background: var(--ros-surface); border: 1px solid var(--ros-border); border-radius: var(--ros-radius);
  box-shadow: var(--ros-shadow); padding: .9rem 1.1rem; }
.ros-toolbar .ros-field { display: flex; flex-direction: column; gap: .25rem; }
.ros-toolbar .ros-field > span { font-size: .875rem; font-weight: 600; color: var(--ros-text); }
.ros-toolbar .ros-input, .ros-toolbar select.ros-input { width: auto; min-width: 9rem; padding: .5rem .7rem; }
.ros-toolbar .ros-search { min-width: 15rem; }
/* Mehrzeiliges Filterformular in einer Karte: gleiche Abstände wie die Filterleiste. */
.ros-card > .ros-form > .ros-form-row > div > .ros-label:first-child { margin-top: 0; }
.ros-card > .ros-form > .ros-form-actions { margin-top: 1rem; }
.ros-filterbar { display: flex; gap: .35rem; flex-wrap: wrap; margin-bottom: 1rem; }
.ros-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--ros-border);
  background: var(--ros-surface); font-size: .85rem; color: var(--ros-text); text-decoration: none; }
.ros-chip:hover { border-color: var(--ros-primary); text-decoration: none; }
.ros-chip--active { background: var(--ros-primary); border-color: var(--ros-primary); color: #fff; }
.ros-chip__count { font-size: .75rem; opacity: .75; }

/* ── Listen: Miniaturen, klebende Aktionsspalte ───────────── */
.ros-thumb { width: 56px; height: 40px; border-radius: 6px; object-fit: cover; background: #F3F4F6; border: 1px solid var(--ros-border); display: block; }
.ros-thumb--empty { display: grid; place-items: center; color: #9CA3AF; }
.ros-table--sticky { min-width: 720px; }
.ros-table--sticky th:last-child, .ros-table--sticky td:last-child {
  position: sticky; right: 0; background: var(--ros-surface); box-shadow: -8px 0 8px -8px rgba(17,24,39,.18); white-space: nowrap; width: 1%; }
.ros-table--sticky tbody tr:hover td:last-child { background: var(--ros-primary-soft); }
.ros-rowactions { display: flex; gap: .3rem; align-items: center; justify-content: flex-end; }
.ros-rowactions form { display: inline; margin: 0; }
/* Listen ohne eigenen .ros-rowactions-Wrapper (Verkauf, Finanzen, Kommunikation) bekommen
   in der klebenden Aktionsspalte denselben Abstand und dieselbe Ausrichtung. */
.ros-table--sticky td:last-child { text-align: right; }
.ros-table--sticky td:last-child > form { display: inline; margin: 0; }
.ros-table--sticky td:last-child > * + *, .ros-table--sticky td:last-child > form + a { margin-left: .3rem; }
.ros-table--sticky td:last-child .ros-rowactions > * + * { margin-left: 0; }
.ros-iconbtn { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--ros-border);
  background: var(--ros-surface); color: var(--ros-muted); cursor: pointer; padding: 0; }
.ros-iconbtn:hover { border-color: var(--ros-primary); color: var(--ros-primary-dark); text-decoration: none; }
.ros-iconbtn--danger:hover { border-color: var(--ros-error); color: var(--ros-error); }
.ros-iconbtn .ros-icon { width: 16px; height: 16px; vertical-align: 0; }
.ros-empty { text-align: center; padding: 2.5rem 1rem; color: var(--ros-muted); }
.ros-empty .ros-icon { width: 34px; height: 34px; color: #D1D5DB; margin-bottom: .5rem; }
.ros-nowrap { white-space: nowrap; }
.ros-num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── OS-Familienstandard: Listen-/Kartenansicht ─────────── */
.ros-viewbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 0 0 .75rem; }
.ros-view-toggle { display: inline-flex; overflow: hidden; border: 1px solid var(--ros-border); border-radius: 9px; background: #fff; }
.ros-view-toggle button { min-height: 38px; display: inline-flex; align-items: center; gap: .4rem; padding: 0 .8rem; border: 0; color: var(--ros-muted); background: transparent; font: inherit; font-size: .82rem; font-weight: 650; cursor: pointer; }
.ros-view-toggle button + button { border-left: 1px solid var(--ros-border); }
.ros-view-toggle button.is-active { color: var(--ros-primary-dark); background: var(--ros-primary-light); }
.ros-view-toggle .ros-icon { width: 16px; height: 16px; }
.ros-cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(285px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.ros-record-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--ros-border); border-radius: 12px; background: var(--ros-surface); box-shadow: var(--ros-shadow); }
.ros-record-card__media { height: 145px; display: grid; place-items: center; overflow: hidden; color: var(--ros-muted); background: #F2F3F5; }
.ros-record-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ros-record-card__media > span .ros-icon { width: 34px; height: 34px; }
.ros-record-card__body { flex: 1; padding: 1rem 1rem .75rem; }
.ros-record-card__body h2 { margin: .65rem 0 .4rem; font-size: 1rem; }
.ros-record-card__body p { margin: 0 0 .75rem; color: var(--ros-muted); font-size: .84rem; }
.ros-record-card__badges, .ros-record-card__meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.ros-record-card__meta { color: var(--ros-muted); font-size: .72rem; }
.ros-record-card__meta span + span::before { content: '·'; margin-right: .4rem; }
.ros-record-card__actions { display: flex; align-items: center; justify-content: flex-end; gap: .35rem; padding: .7rem 1rem; border-top: 1px solid var(--ros-border); background: #FBFBFC; }
.ros-record-card--compact .ros-record-card__body { min-height: 205px; }
.ros-customer-card__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .85rem; }
.ros-customer-card__head h2 { margin: 0; }
.ros-card-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; margin: 1rem 0 0; }
.ros-card-stats > div { padding: .65rem; border-radius: 8px; background: #F7F8FA; }
.ros-card-stats dt { color: var(--ros-muted); font-size: .7rem; }
.ros-card-stats dd { margin: .1rem 0 0; font-size: .95rem; font-weight: 700; }
[data-view-cards][hidden], [data-view-list][hidden] { display: none !important; }

/* ── CMS-Redaktion ─────────────────────────────────────── */
.ros-rich-editor { border: 1px solid #D1D5DB; border-radius: 9px; overflow: hidden; background: #fff; }
.ros-rich-editor__toolbar { display: flex; gap: .2rem; flex-wrap: wrap; padding: .4rem; border-bottom: 1px solid var(--ros-border); background: #F7F8FA; }
.ros-rich-editor__toolbar button { min-width: 34px; min-height: 32px; border: 1px solid transparent; border-radius: 6px; color: var(--ros-text); background: transparent; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.ros-rich-editor__toolbar button:hover { border-color: var(--ros-border); background: #fff; }
.ros-rich-editor__surface { min-height: 330px; padding: 1rem; outline: none; line-height: 1.65; }
.ros-rich-editor__surface:focus { box-shadow: inset 0 0 0 2px var(--ros-primary-light); }
.ros-rich-editor__surface h2, .ros-rich-editor__surface h3 { margin-top: 1.2em; }
.ros-cms-seo > summary, .ros-compact-editor > summary { cursor: pointer; font-weight: 700; list-style: none; }
.ros-cms-seo > summary::-webkit-details-marker, .ros-compact-editor > summary::-webkit-details-marker { display: none; }
.ros-cms-seo > summary::after, .ros-compact-editor > summary::after { content: '+'; float: right; }
.ros-cms-seo[open] > summary::after, .ros-compact-editor[open] > summary::after { content: '−'; }
.ros-cms-seo__body, .ros-compact-editor__body { padding-top: .75rem; margin-top: .75rem; border-top: 1px solid var(--ros-border); }
.ros-revisions { display: grid; gap: .55rem; }
.ros-revisions > div { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .6rem 0; border-bottom: 1px solid var(--ros-border); }
.ros-revisions span, .ros-revisions small { display: block; }
.ros-revisions small { color: var(--ros-muted); font-size: .68rem; }
.ros-danger-zone { border-color: #FECACA; background: #FFF9F9; }
.ros-inline-list { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.ros-inline-list > span { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .45rem .35rem .7rem; border: 1px solid var(--ros-border); border-radius: 999px; background: #fff; }
.ros-inline-list form { display: inline; }
.ros-menu-list { display: grid; }
.ros-menu-list article { display: grid; grid-template-columns: 34px minmax(0,1fr) auto auto; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--ros-border); }
.ros-menu-list__order { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; color: var(--ros-muted); background: #F3F4F6; font-size: .75rem; font-weight: 700; }
.ros-menu-list strong, .ros-menu-list small { display: block; }
.ros-menu-list small { color: var(--ros-muted); font-size: .75rem; }
.ros-menu-list form { margin: 0; }
@media (max-width: 620px) { .ros-view-toggle span { display: none; } .ros-cardgrid { grid-template-columns: minmax(0, 1fr); } .ros-menu-list article { grid-template-columns: 30px minmax(0,1fr) auto; } .ros-menu-list article form { grid-column: 3; } }

/* ── Registerkarten (Container; Ausprägungen in katalog.css / frontend.css) ── */
.ros-tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--ros-border); margin: 0 0 1.25rem; overflow-x: auto; }

/* ── Marken-Chips (Filter, Themenwelten) ──────────────────── */
.ros-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .32rem .8rem; border-radius: 999px; border: 1px solid var(--ros-border);
  background: var(--ros-surface); font-size: .865rem; color: var(--ros-text); text-decoration: none; }
.ros-chip:hover { border-color: var(--ros-primary); color: var(--ros-primary-dark); background: var(--ros-primary-soft); text-decoration: none; }
.ros-chip--active, .ros-chip.is-active { background: var(--ros-primary); border-color: var(--ros-primary); color: #fff; }
.ros-chip--active:hover, .ros-chip.is-active:hover { background: var(--ros-primary-dark); border-color: var(--ros-primary-dark); color: #fff; }
.ros-chip__count { font-size: .75rem; opacity: .75; }

/* ── Leerzustand (eine Gestaltung für Backend und Website) ── */
.ros-empty { text-align: center; padding: 2.5rem 1rem; color: var(--ros-muted); }
.ros-empty .ros-icon { width: 34px; height: 34px; color: #D1D5DB; margin-bottom: .5rem; }
.ros-empty p { margin: 0; }
.ros-empty--boxed { border: 1px dashed #D1D5DB; border-radius: var(--ros-radius); background: #FAFAF9; padding: 2rem; }

/* ── Fortschrittsbalken (Upload, Auslastung) ─────────────── */
.ros-progressbar { height: 8px; border-radius: 999px; background: #E5E7EB; overflow: hidden; margin-top: .75rem; }
.ros-progressbar > div, .ros-progressbar > span { display: block; height: 100%; width: 0; background: var(--ros-primary); transition: width .2s; }

/* ── Formularraster ───────────────────────────────────────── */
.ros-cols { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); align-items: start; }
@media (max-width: 1000px) { .ros-cols { grid-template-columns: minmax(0, 1fr); } }
.ros-grid-2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.ros-grid-3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.ros-sticky-actions { position: sticky; bottom: 0; background: var(--ros-surface); border-top: 1px solid var(--ros-border);
  padding: .85rem 0 .35rem; margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; z-index: 4; }
.ros-switch { display: flex; align-items: center; gap: .55rem; font-size: .9rem; padding: .3rem 0; }
.ros-switch input { width: 1.05rem; height: 1.05rem; accent-color: var(--ros-primary); flex: none; }

/* ── Kacheln / Grid ──────────────────────────────────────── */
.ros-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.ros-tile { background: var(--ros-surface); border: 1px solid var(--ros-border); border-radius: var(--ros-radius); padding: 1.1rem 1.25rem; box-shadow: var(--ros-shadow); display: flex; gap: 1rem; align-items: flex-start; color: inherit; }
.ros-tile:hover { border-color: var(--ros-primary); text-decoration: none; }
.ros-tile__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--ros-primary-light); color: var(--ros-primary-dark); display: grid; place-items: center; flex: none; }
.ros-tile__icon .ros-icon { width: 22px; height: 22px; }
.ros-tile__value { font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.ros-tile__label { color: var(--ros-muted); font-size: .875rem; }
.ros-kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; font-size: .925rem; }
.ros-kv dt { color: var(--ros-muted); } .ros-kv dd { margin: 0; min-width: 0; word-break: normal; overflow-wrap: anywhere; }

/* ── Backend-Layout ──────────────────────────────────────── */
.ros-admin { display: flex; min-height: 100vh; }
.ros-sidebar { width: 250px; flex: none; background: var(--ros-sidebar); color: var(--ros-sidebar-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.ros-sidebar__header { padding: 1.1rem 1.25rem .9rem; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); }
.ros-sidebar__version { font-size: .7rem; color: #9CA3AF; }
.ros-brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.05rem; color: inherit; letter-spacing: -.01em; }
.ros-brand__mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ros-primary); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .95rem; }
.ros-sidebar__nav { padding: .75rem .75rem 1rem; flex: 1; }
.ros-nav { display: flex; align-items: center; gap: .65rem; padding: .5rem .7rem; border-radius: 8px; color: var(--ros-sidebar-text); font-size: .925rem; margin: .1rem 0; }
.ros-nav:hover { background: rgba(255,255,255,.07); text-decoration: none; color: #fff; }
.ros-nav--active { background: var(--ros-primary); color: #fff; }
.ros-nav--direct { margin-bottom: .65rem; }
.ros-nav-section { border-top: 1px solid rgba(255,255,255,.075); }
.ros-nav-section:last-child { border-bottom: 1px solid rgba(255,255,255,.075); }
.ros-nav-section > .ros-nav__group { display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: 100%; padding: .72rem .7rem; color: #AEB7C5; cursor: pointer; list-style: none; font-size: .69rem; font-weight: 750; text-transform: uppercase; letter-spacing: .075em; transition: color .16s, background .16s; }
.ros-nav-section > .ros-nav__group::-webkit-details-marker { display: none; }
.ros-nav-section > .ros-nav__group:hover, .ros-nav-section > .ros-nav__group:focus-visible { color: #fff; background: rgba(255,255,255,.055); outline: none; }
.ros-nav__chevron { width: 7px; height: 7px; flex: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.ros-nav-section[open] > .ros-nav__group { color: #fff; }
.ros-nav-section[open] > .ros-nav__group .ros-nav__chevron { transform: rotate(225deg); }
.ros-nav-section--active > .ros-nav__group { color: #F7C47C; }
.ros-nav__items { padding: 0 0 .48rem .22rem; }
.ros-nav__items .ros-nav { font-size: .875rem; padding-block: .46rem; }
.ros-sidebar__user { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; gap: .7rem; align-items: center; font-size: .875rem; }
.ros-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ros-primary-light); color: var(--ros-primary-dark); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
.ros-sidebar__user small { display: block; color: #9CA3AF; }
.ros-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ros-topbar { background: var(--ros-surface); border-bottom: 1px solid var(--ros-border); padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1rem; position: sticky; top: 0; z-index: 5; }
.ros-topbar__title { font-size: 1.1rem; margin: 0; flex: 1; }
.ros-topbar__burger { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--ros-text); }
.ros-content { padding: 1.5rem; max-width: 1400px; width: 100%; }
.ros-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.ros-header h1 { margin: 0; font-size: 1.4rem; }
.ros-header-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.ros-sidebar-overlay { display: none; }
@media (max-width: 900px) {
  .ros-sidebar { position: fixed; left: -260px; transition: left .2s; z-index: 20; }
  .ros-sidebar--open { left: 0; }
  .ros-topbar__burger { display: inline-flex; }
  .ros-sidebar-overlay.visible { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 15; }
  .ros-content { padding: 1rem; }
}

/* ── Demo-Banner ─────────────────────────────────────────── */
.ros-demo-bar { background: var(--ros-primary-dark); color: #fff; font-size: .875rem; padding: .5rem 1rem; display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.ros-demo-bar strong { letter-spacing: .04em; }
.ros-demo-bar a { color: #fff; text-decoration: underline; }

/* ── Öffentliche Seiten (Marketing + Veranstalter-Website + Portal) ── */
.ros-public { display: flex; flex-direction: column; min-height: 100vh; }
.ros-public main { flex: 1; }
.ros-wrap { max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.ros-pub-header { background: var(--ros-surface); border-bottom: 1px solid var(--ros-border); }
.ros-pub-header .ros-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; flex-wrap: wrap; }
.ros-pub-nav { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.ros-pub-nav a { color: var(--ros-text); font-weight: 500; font-size: .95rem; }
.ros-pub-nav a:hover, .ros-pub-nav a.is-active { color: var(--ros-primary-dark); text-decoration: none; }
.ros-section { padding: 3.5rem 0; }
.ros-section--tint { background: var(--ros-primary-soft); }
.ros-hero { padding: 4.5rem 0 3.5rem; }
.ros-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.ros-lead { font-size: 1.15rem; color: var(--ros-muted); max-width: 60ch; }
.ros-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; color: var(--ros-primary-dark); margin-bottom: .75rem; }
.ros-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.ros-feature { background: var(--ros-surface); border: 1px solid var(--ros-border); border-radius: var(--ros-radius); padding: 1.4rem; }
.ros-feature h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; }
.ros-feature .ros-icon { color: var(--ros-primary); width: 22px; height: 22px; }
.ros-pricing { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.ros-price { background: var(--ros-surface); border: 1px solid var(--ros-border); border-radius: var(--ros-radius); padding: 1.5rem; }
.ros-price--featured { border-color: var(--ros-primary); box-shadow: 0 0 0 3px var(--ros-primary-light); }
.ros-price ul { padding-left: 1.1em; margin: 1rem 0; font-size: .925rem; }
.ros-pub-footer { border-top: 1px solid var(--ros-border); padding: 2rem 0; font-size: .875rem; color: var(--ros-muted); background: var(--ros-surface); }
.ros-pub-footer .ros-wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ros-placeholder { border: 2px dashed #D1D5DB; border-radius: var(--ros-radius); padding: 2rem; text-align: center; color: var(--ros-muted); background: #FAFAF9; }

/* ── Auth / Installer ────────────────────────────────────── */
.ros-auth-body { background: var(--ros-bg); display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 1.5rem; margin: 0; }
.ros-auth-card { background: var(--ros-surface); border: 1px solid var(--ros-border); border-radius: 14px; box-shadow: var(--ros-shadow); padding: 2rem 2.25rem; width: 100%; max-width: 420px; }
.ros-auth-card--wide { max-width: 760px; }
.ros-auth-card .ros-brand { margin-bottom: 1.25rem; }
.ros-auth-card h1 { font-size: 1.4rem; }
.ros-auth-foot { margin-top: 1.25rem; font-size: .875rem; color: var(--ros-muted); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.ros-steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; font-size: .8rem; color: var(--ros-muted); }
.ros-steps li { display: flex; align-items: center; gap: .4rem; padding: .3rem .6rem; border-radius: 999px; background: #F3F4F6; }
.ros-steps li span { width: 20px; height: 20px; border-radius: 50%; background: #E5E7EB; display: grid; place-items: center; font-weight: 700; font-size: .7rem; }
.ros-steps li.is-active { background: var(--ros-primary-light); color: var(--ros-primary-dark); }
.ros-steps li.is-active span, .ros-steps li.is-done span { background: var(--ros-primary); color: #fff; }

/* ── Fehlerseiten ────────────────────────────────────────── */
.ros-error { min-height: 100vh; display: grid; place-items: center; padding: 2rem; text-align: center; }
.ros-error h1 { font-size: 4.5rem; color: var(--ros-primary); margin: 0; }
.ros-error p { color: var(--ros-muted); }

/* ══ Backend 7.3 — ruhige Informationshierarchie ═══════════════════════════ */
.ros-admin { background: #F5F6F8; }
.ros-main { background: #F5F6F8; }
.ros-content { max-width: 1640px; padding: clamp(1.25rem, 2vw, 2rem); }
.ros-topbar { min-height: 62px; padding-inline: clamp(1rem, 2vw, 2rem); box-shadow: 0 1px 0 rgba(17,24,39,.025); }
.ros-topbar__title { font-size: 1rem; color: #374151; }
.ros-header { align-items: flex-start; margin-bottom: 1.5rem; }
.ros-header h1 { font-size: clamp(1.45rem, 2vw, 1.8rem); letter-spacing: -.025em; }
.ros-header > div:first-child > .ros-muted { max-width: 70ch; line-height: 1.55; }
.ros-card { border-color: #E1E4E8; border-radius: 12px; box-shadow: 0 1px 2px rgba(17,24,39,.035); padding: 1.35rem 1.5rem; }
.ros-card__title { margin-bottom: 1rem; font-size: 1.02rem; }
.ros-card__title .ros-icon { color: #697386; }
.ros-table th { color: #697386; letter-spacing: .055em; }
.ros-table td { overflow-wrap: break-word; word-break: normal; }
.ros-input, .ros-select, .ros-textarea, input[type=text].ros-input, input[type=password].ros-input, input[type=email].ros-input { min-height: 42px; border-color: #CBD1D9; }
.ros-textarea { min-height: 104px; }
.ros-label { margin-top: .8rem; color: #374151; }
.ros-kv { grid-template-columns: minmax(90px, max-content) minmax(0, 1fr); gap: .48rem 1.15rem; line-height: 1.45; }
.ros-kv dt { white-space: nowrap; }
.ros-kv dd time, .ros-kv dd .ros-nowrap { white-space: nowrap; }

/* Auftritt & Gestaltung */
.ros-header--calm .ros-eyebrow { margin: 0 0 .35rem; color: var(--ros-primary-dark); font-size: .72rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.ros-header--calm p:last-child { margin: .4rem 0 0; }
.ros-status-dot { display: inline-flex; align-items: center; gap: .45rem; color: #526071; font-size: .82rem; font-weight: 650; }
.ros-status-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--ros-ok); box-shadow: 0 0 0 4px var(--ros-ok-bg); }
.ros-status-dot--draft::before { background: var(--ros-primary); box-shadow: 0 0 0 4px var(--ros-primary-light); }
.ros-appearance-notice { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: start; margin-bottom: 1rem; padding: .9rem 1rem; border: 1px solid #E4DED4; border-radius: 12px; background: #FFFCF7; }
.ros-appearance-notice > div:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--ros-primary-dark); background: var(--ros-primary-light); }
.ros-appearance-notice strong { font-size: .9rem; }
.ros-appearance-notice p { margin: .15rem 0 0; color: var(--ros-muted); font-size: .8rem; }
.ros-workspace-tabs { display: flex; gap: .25rem; margin-bottom: 1rem; padding: .25rem; overflow-x: auto; border: 1px solid #E1E4E8; border-radius: 12px; background: #fff; }
.ros-workspace-tabs a { display: inline-flex; align-items: center; gap: .45rem; padding: .62rem .9rem; border-radius: 8px; color: #526071; font-size: .86rem; font-weight: 650; white-space: nowrap; }
.ros-workspace-tabs a:hover { color: var(--ros-text); background: #F6F7F8; text-decoration: none; }
.ros-workspace-tabs a.is-active { color: #fff; background: #263143; }
.ros-workspace-tabs .ros-icon { width: 17px; height: 17px; }
.ros-workspace-section { margin-bottom: 1rem; padding: clamp(1.25rem, 2vw, 1.75rem); border: 1px solid #E1E4E8; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,39,.025); }
.ros-workspace-section__intro { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.35rem; }
.ros-workspace-section__intro > span { width: 30px; height: 30px; display: grid; place-items: center; flex: none; border-radius: 50%; color: var(--ros-primary-dark); background: var(--ros-primary-light); font-size: .7rem; font-weight: 800; }
.ros-workspace-section__intro h2 { margin: .1rem 0 .25rem; font-size: 1.15rem; }
.ros-workspace-section__intro p { max-width: 68ch; margin: 0; color: var(--ros-muted); font-size: .84rem; }
.ros-style-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: .75rem; }
.ros-style-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: .65rem; padding: .7rem; overflow: hidden; border: 1px solid #DDE1E6; border-radius: 11px; cursor: pointer; background: #fff; transition: border-color .16s, box-shadow .16s, transform .16s; }
.ros-style-card:hover { border-color: #AEB6C2; transform: translateY(-1px); box-shadow: 0 7px 18px rgba(17,24,39,.07); }
.ros-style-card.is-selected { border-color: var(--style-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--style-accent) 18%, transparent); }
.ros-style-card input { position: absolute; opacity: 0; }
.ros-style-card__visual { position: relative; grid-column: 1/-1; height: 72px; overflow: hidden; border-radius: 7px; background: linear-gradient(135deg, #172033, #3A4557); }
.ros-style-card__visual i { position: absolute; inset: 0 0 auto; height: 15px; background: #fff; }
.ros-style-card__visual b { position: absolute; left: 10px; bottom: 14px; width: 58%; height: 7px; border-radius: 8px; background: #fff; box-shadow: 0 12px 0 rgba(255,255,255,.45); }
.ros-style-card__visual em { position: absolute; right: 10px; bottom: 10px; width: 25px; height: 25px; border-radius: 50%; background: var(--style-accent); }
.ros-style-card strong, .ros-style-card small { display: block; }
.ros-style-card strong { font-size: .84rem; }
.ros-style-card small { margin-top: .12rem; color: var(--ros-muted); font-size: .68rem; line-height: 1.35; }
.ros-style-card__check { width: 23px; height: 23px; display: none; place-items: center; border-radius: 50%; color: #fff; background: var(--style-accent); }
.ros-style-card.is-selected .ros-style-card__check { display: grid; }
.ros-style-card__check .ros-icon { width: 14px; height: 14px; }
.ros-workspace-columns { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 1rem; align-items: start; }
.ros-brand-editor { display: grid; grid-template-columns: minmax(160px, .55fr) minmax(0, 1.45fr); gap: 1rem; align-items: center; margin-bottom: 1rem; }
.ros-logo-preview { min-height: 105px; display: grid; place-items: center; padding: 1rem; border: 1px dashed #CBD1D9; border-radius: 10px; color: var(--ros-muted); background: #F8F9FA; text-align: center; }
.ros-logo-preview img { max-height: 68px; max-width: 220px; }
.ros-logo-preview span, .ros-logo-preview small { display: block; }
.ros-field-grid { display: grid; gap: 1rem; }
.ros-field-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ros-field--wide { grid-column: 1/-1; }
.ros-field-stack { display: grid; gap: .35rem; }
.ros-field-stack .ros-label { margin-top: .35rem; }
.ros-color-field { display: grid; grid-template-columns: 48px 1fr; gap: .5rem; }
.ros-color-field input[type=color] { width: 48px; height: 42px; padding: 3px; border: 1px solid #CBD1D9; border-radius: 8px; background: #fff; }
.ros-appearance-form .ros-sticky-actions, .ros-sticky-actions { bottom: .75rem; margin-top: 1rem; padding: .75rem; border: 1px solid #DDE1E6; border-radius: 12px; box-shadow: 0 10px 28px rgba(17,24,39,.11); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); }
.ros-sticky-actions > span:first-child { display: flex; flex: 1; min-width: 220px; flex-direction: column; }
.ros-sticky-actions > span:first-child strong { font-size: .82rem; }
.ros-sticky-actions > span:first-child small { color: var(--ros-muted); font-size: .72rem; }
.ros-editor-accordion { display: grid; gap: .65rem; }
.ros-editor-accordion details { border: 1px solid #E1E4E8; border-radius: 10px; background: #FBFBFC; }
.ros-editor-accordion summary { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1rem; cursor: pointer; list-style: none; font-weight: 680; }
.ros-editor-accordion summary::-webkit-details-marker { display: none; }
.ros-editor-accordion summary span small { display: block; color: var(--ros-muted); font-size: .7rem; font-weight: 500; }
.ros-editor-accordion summary > .ros-icon { width: 16px; transition: transform .18s; }
.ros-editor-accordion details[open] summary > .ros-icon { transform: rotate(90deg); }
.ros-editor-accordion__body { padding: 0 1rem 1rem; border-top: 1px solid #ECEEF1; background: #fff; }
.ros-document-preview { position: sticky; top: 82px; text-align: center; }
.ros-document-preview__paper { aspect-ratio: 210/297; max-width: 410px; margin: 0 auto; padding: 8%; border: 1px solid #DDE1E6; background: #fff; box-shadow: 0 16px 40px rgba(17,24,39,.13); text-align: left; }
.ros-document-preview__paper header { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 8%; border-bottom: 3px solid var(--preview-accent); }
.ros-document-preview__paper header img { max-width: 110px; max-height: 36px; }
.ros-document-preview__paper header small { color: #7A8492; font-size: .48rem; }
.ros-document-preview__paper h3 { margin-top: 12%; font-size: 1rem; }
.ros-document-preview__paper .line { width: 58%; height: 5px; margin: 5px 0; background: #E4E7EB; }
.ros-document-preview__paper .line--long { width: 86%; }
.ros-document-preview__paper .preview-box { height: 25%; margin: 10% 0; border-left: 4px solid var(--preview-accent); background: #F4F5F6; }
.ros-document-preview__paper footer { margin-top: 32%; padding-top: 5%; border-top: 1px solid #DDE1E6; color: #7A8492; font-size: .48rem; }
.ros-document-preview > p { margin-top: .75rem; color: var(--ros-muted); font-size: .72rem; }
.ros-preview-workspace .ros-workspace-section__intro { align-items: center; }
.ros-preview-switch { display: inline-flex; margin-left: auto; padding: .2rem; border: 1px solid #DDE1E6; border-radius: 8px; background: #F7F8F9; }
.ros-preview-switch button { padding: .35rem .6rem; border: 0; border-radius: 6px; color: var(--ros-muted); background: transparent; cursor: pointer; font: inherit; font-size: .72rem; }
.ros-preview-switch button.is-active { color: #fff; background: #263143; }
.ros-preview-frame { min-height: 720px; padding: 12px; overflow-x: auto; border-radius: 12px; background: #DDE1E6; text-align: center; }
.ros-preview-frame iframe { width: 100%; height: 720px; border: 0; border-radius: 7px; background: #fff; transition: width .2s; }
.ros-secondary-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .75rem; }
.ros-settings-appearance-link { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; margin-bottom: 1rem; padding: .85rem 1rem; border: 1px solid #E7D8C3; border-radius: 11px; color: var(--ros-text); background: #FFFCF7; }
.ros-settings-appearance-link:hover { border-color: var(--ros-primary); text-decoration: none; }
.ros-settings-appearance-link > span:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--ros-primary-dark); background: var(--ros-primary-light); }
.ros-settings-appearance-link strong, .ros-settings-appearance-link small { display: block; }
.ros-settings-appearance-link small { color: var(--ros-muted); }

@media (max-width: 1250px) { .ros-style-grid { grid-template-columns: repeat(3, minmax(150px, 1fr)); } }
@media (max-width: 980px) {
  .ros-workspace-columns { grid-template-columns: minmax(0, 1fr); }
  .ros-document-preview { position: static; }
  .ros-style-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 620px) {
  .ros-field-grid--2, .ros-brand-editor { grid-template-columns: minmax(0, 1fr); }
  .ros-style-grid { grid-template-columns: minmax(0, 1fr); }
  .ros-preview-switch { display: none; }
  .ros-workspace-tabs span { display: none; }
}

/* Buchungsdetail: Überblick bleibt sichtbar, Bearbeitung öffnet sich gezielt. */
.ros-booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 380px); gap: 1rem; align-items: start; }
.ros-booking-main, .ros-booking-side { min-width: 0; }
.ros-booking-side { position: sticky; top: 78px; }
.ros-booking-data .ros-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.ros-amount-card { border-top: 3px solid var(--ros-primary); }
.ros-amount-card .ros-kv dd { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ros-person-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .55rem; }
.ros-person-summary > span { padding: .65rem .75rem; border: 1px solid #E7E9ED; border-radius: 9px; background: #F8F9FA; }
.ros-person-summary strong, .ros-person-summary small { display: block; }
.ros-person-summary strong { font-size: .88rem; }
.ros-person-summary small { margin-top: .1rem; color: var(--ros-muted); font-size: .72rem; }
.ros-inline-editor { margin-top: .9rem; border-top: 1px solid var(--ros-border); }
.ros-inline-editor > summary { display: inline-flex; align-items: center; gap: .4rem; margin-top: .75rem; padding: .45rem .65rem; border: 1px solid var(--ros-border); border-radius: 8px; color: #3F4A5A; cursor: pointer; list-style: none; font-size: .82rem; font-weight: 650; background: #fff; }
.ros-inline-editor > summary::-webkit-details-marker { display: none; }
.ros-inline-editor > summary:hover { border-color: var(--ros-primary); color: var(--ros-primary-dark); }
.ros-inline-editor > summary .ros-icon { width: 16px; height: 16px; }
.ros-inline-editor[open] > summary { color: #fff; border-color: #3D4858; background: #3D4858; }
.ros-inline-editor > .ros-form { margin-top: .9rem; padding: 1rem; border-radius: 9px; background: #F7F8FA; }
.ros-action-panel { margin-bottom: .65rem; overflow: hidden; border: 1px solid #E1E4E8; border-radius: 11px; background: #fff; box-shadow: 0 1px 2px rgba(17,24,39,.025); }
.ros-action-panel > summary { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: .9rem 1rem; cursor: pointer; list-style: none; }
.ros-action-panel > summary::-webkit-details-marker { display: none; }
.ros-action-panel > summary::after { content: '+'; color: #7A8492; font-size: 1.15rem; line-height: 1; }
.ros-action-panel[open] > summary::after { content: '−'; }
.ros-action-panel > summary > span { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; font-size: .88rem; font-weight: 700; }
.ros-action-panel > summary > span .ros-icon { width: 18px; height: 18px; color: #697386; }
.ros-action-panel > summary > small { margin-left: auto; overflow: hidden; color: var(--ros-muted); font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.ros-action-panel[open] > summary { border-bottom: 1px solid #E7E9ED; background: #F8F9FA; }
.ros-action-panel__body { padding: .25rem 1rem 1rem; }
.ros-action-panel__body .ros-form-actions { margin-top: 1rem; }
.ros-action-panel--danger > summary > span .ros-icon { color: var(--ros-error); }
@media (max-width: 1120px) {
  .ros-booking-layout { grid-template-columns: minmax(0, 1fr); }
  .ros-booking-side { position: static; }
}
@media (max-width: 700px) {
  .ros-booking-data .ros-form-row { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .ros-action-panel > summary { flex-wrap: wrap; }
  .ros-action-panel > summary > small { order: 3; width: 100%; }
}

/* 7.5.0 — Oberleiste auf dem Smartphone: Titel kürzt sich, Website/Abmelden nur als Symbol.
   Bis 7.4.0 schoben die beiden Schaltflächen jede Backend-Seite bei 320–390 px um bis zu 180 px
   über den Bildschirmrand. */
.ros-topbar__title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ros-topbar__action { flex: 0 0 auto; }
@media (max-width: 640px) {
  .ros-topbar { gap: .35rem; padding-inline: .75rem; }
  .ros-topbar__action { padding-inline: .5rem; }
  .ros-topbar__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
/* 7.5.0 — Schlüssel/Wert-Listen unter 480 px untereinander statt nebeneinander;
   lange Pfade und Kennungen brechen um statt die Seite zu verbreitern. */
.ros-content code, .ros-kv code { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .ros-kv { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
  .ros-kv dt { white-space: normal; margin-top: .45rem; font-size: .8rem; }
  .ros-kv dt:first-child { margin-top: 0; }
}
