/* Reisbou – Agentur- und Admin-Bereich im Look des Kundenbereichs (Mockups „Agentur und Admin“, 25.10.2026).
   body.bo setzen agentur/index.html und admin/index.html; solange die Anmeldung zu sehen ist (body.anmelden), gilt nichts davon.
   Regeln: dunkle Kopfleiste mit Rolle und Symbolen, darunter hell; jede Liste mit Suche und Auswahllisten;
   Status in Sprache, Farbe und Symbol; eine bernsteinfarbene Hauptaktion je Ansicht. */

body.bo:not(.anmelden) {
  --bo-amber: #E3A55F; --bo-amber-h: #F0B871;
  --bo-red: #A23B2A; --bo-red-line: #E8B9A0; --bo-red-soft: #FBE4DD; --bo-red-ink: #8A2E1C;
  --bo-wait: #FBEAD3; --bo-wait-ink: #8A5212; --bo-wait-line: #EBC99A;
  --bo-ok: #E5F1EC; --bo-mute: #EEF0EB;
  background: var(--bg);
}

/* ---------- Kopfleiste ---------- */
.bo-top { background: var(--nacht, #0D1716); color: var(--hell, #FBF6EC); border-bottom: 1px solid rgba(251, 246, 236, 0.08); }
.bo-top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; max-width: 1440px; margin: 0 auto; padding: 10px 28px; box-sizing: border-box; min-height: 64px; }
.bo-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 21px; }
.bo-brand .badge-area { font-size: 11px; letter-spacing: 0.08em; padding: 3px 8px; }
.bo-nav { display: flex; flex-wrap: wrap; gap: 2px; }
.bo-nav button {
  font: inherit; font-size: 14.5px; font-weight: 500; color: #DCE6E3; background: transparent; border: 0; border-radius: 10px;
  min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
}
.bo-nav button:hover { background: rgba(251, 246, 236, 0.08); color: var(--hell, #FBF6EC); }
.bo-nav button[aria-current="page"] { background: var(--hell, #FBF6EC); color: var(--ink); font-weight: 600; }
.bo-nav .lbl-short { display: none; }
.bo-nav .badge-count { min-width: 20px; height: 20px; font-size: 12px; }
.badge-count[hidden] { display: none !important; }
.bo-top :focus-visible { outline-color: var(--bo-amber); }

.bo-user { position: relative; margin-left: auto; }
.bo-user-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 6px; border-radius: 999px;
  border: 1px solid rgba(251, 246, 236, 0.18); background: transparent; color: var(--hell, #FBF6EC); font: inherit; cursor: pointer;
}
.bo-user-btn:hover, .bo-user-btn[aria-expanded="true"] { background: rgba(251, 246, 236, 0.08); }
.bo-avatar { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; flex: none; }
.bo-user-t { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; text-align: left; min-width: 0; }
.bo-user-t strong { font-size: 13.5px; font-weight: 600; }
.bo-user-t span { font-size: 12px; color: #C9D6D2; overflow-wrap: anywhere; }
.bo-user-menu {
  position: absolute; z-index: 80; right: 0; top: calc(100% + 8px); width: 260px; max-width: calc(100vw - 32px);
  background: #fff; color: var(--ink); border-radius: 14px; padding: 8px; box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  display: flex; flex-direction: column; gap: 2px;
}
.bo-user-menu[hidden] { display: none; }
.bo-user-menu p { margin: 0; padding: 8px 10px 10px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.bo-user-menu button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.bo-user-menu button:hover, .bo-user-menu button:focus-visible { background: var(--bg); }

/* Handy: Menü als Leiste unten, Kopf nur mit Logo und Konto */
@media (max-width: 720px) {
  .bo-top-in { padding: 10px 16px; gap: 8px 12px; }
  .bo-user-t { display: none; }
  .bo-user-btn { padding: 0 6px; }
  .bo-nav {
    position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    gap: 0; padding: 6px 6px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line);
  }
  .bo-nav button { position: relative; flex-direction: column; gap: 3px; min-height: 54px; padding: 0 2px; color: var(--ink-2); font-size: 12px; font-weight: 600; border-radius: 12px; }
  .bo-nav button:hover { background: transparent; color: var(--ink); }
  .bo-nav button .bo-nav-ic { display: inline-grid; place-items: center; width: 46px; height: 28px; border-radius: 999px; }
  .bo-nav button[aria-current="page"] { background: transparent; color: var(--ink); }
  .bo-nav button[aria-current="page"] .bo-nav-ic { background: var(--bernstein-hell, #F6D7A7); }
  .bo-nav .lbl-long { display: none; }
  .bo-nav .lbl-short { display: inline; }
  .bo-nav .badge-count { position: absolute; top: 2px; left: calc(50% + 8px); min-width: 18px; height: 18px; font-size: 11px; }
  body.bo:not(.anmelden) #app { padding-bottom: 84px; }
}

/* ---------- Seite ---------- */
body.bo:not(.anmelden) .page { max-width: 1440px; padding: 26px 28px 60px; gap: 18px; }
body.bo:not(.anmelden) .layout { max-width: 1440px; margin: 0 auto; padding: 18px 28px 60px; box-sizing: border-box; }
body.bo:not(.anmelden) .page .layout { padding: 0; }
.bo-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.bo-head > div { flex: 1 1 360px; min-width: 0; }
body.bo:not(.anmelden) h1 { font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.bo-head p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); }
body.bo:not(.anmelden) .bo-wrap { max-width: 1440px; margin: 0 auto; padding: 26px 28px 0; box-sizing: border-box; }
@media (max-width: 720px) {
  body.bo:not(.anmelden) .page, body.bo:not(.anmelden) .bo-wrap { padding-left: 16px; padding-right: 16px; }
  body.bo:not(.anmelden) .layout { padding-left: 16px; padding-right: 16px; }
  body.bo:not(.anmelden) h1 { font-size: 28px; }
}

body.bo:not(.anmelden) .card { border-radius: 18px; padding: 20px 22px; }
body.bo:not(.anmelden) .card h2 { font-size: 19px; }
.bo-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bo-h h2, .bo-h h3 { margin: 0; flex: 1 1 auto; min-width: 0; }
body.bo:not(.anmelden) .bo-h h3 { font-size: 17px; font-weight: 600; }
.bo-ic { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bo-ok); color: var(--primary); }
.bo-ic.wait { background: var(--bo-wait); color: var(--bo-wait-ink); }
.bo-ic.red { background: var(--bo-red-soft); color: var(--bo-red-ink); }
.bo-ic.mute { background: var(--bo-mute); color: var(--ink); }
.bo-ic.tra { background: var(--c-tra-bg); color: var(--c-tra); }
.bo-ic.big { width: 44px; height: 44px; border-radius: 12px; }
.bo-kick { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
body.bo:not(.anmelden) .card.bo-warn { border-color: var(--bo-wait-line); }
body.bo:not(.anmelden) .card.bo-bad { border-color: #EBC0B3; }

/* Hinweis oben (was zu tun ist) */
.bo-alert { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: var(--bo-wait); color: var(--bo-wait-ink); font-size: 14.5px; }
.bo-alert.red { background: var(--bo-red-soft); color: var(--bo-red-ink); }
.bo-alert > span { flex: 1 1 280px; min-width: 0; }
.bo-alert .btn { min-height: 38px; border-color: currentColor; color: inherit; background: #fff; }

/* ---------- Knöpfe, Felder, Chips ---------- */
body.bo:not(.anmelden) .btn { border-radius: 999px; border-width: 1.5px; padding: 0 16px; font-weight: 600; }
body.bo:not(.anmelden) .btn-sm { padding: 0 12px; }
body.bo:not(.anmelden) .btn-primary { background: var(--bo-amber); border-color: var(--bo-amber); color: var(--ink); }
body.bo:not(.anmelden) .btn-primary:hover:not(:disabled) { background: var(--bo-amber-h); border-color: var(--bo-amber-h); }
body.bo:not(.anmelden) .btn:not(.btn-primary):not(.btn-ghost):hover:not(:disabled) { background: var(--bg); }
body.bo:not(.anmelden) .btn-danger { color: var(--bo-red); border-color: var(--bo-red-line); background: #fff; }
body.bo:not(.anmelden) .btn-ink { background: #fff; color: var(--ink); border-color: var(--ink); }
body.bo:not(.anmelden) .btn-soft { background: #fff; color: var(--ink); border-color: var(--line-strong); }
body.bo:not(.anmelden) .btn-ghost { background: transparent; }
body.bo:not(.anmelden) .field { font-size: 14px; font-weight: 600; color: var(--ink); gap: 6px; }
body.bo:not(.anmelden) .field input, body.bo:not(.anmelden) .field select, body.bo:not(.anmelden) .field textarea {
  border: 1.5px solid var(--line-strong); border-radius: 12px; font-weight: 400;
}
body.bo:not(.anmelden) .field input:focus, body.bo:not(.anmelden) .field select:focus, body.bo:not(.anmelden) .field textarea:focus { border-color: var(--primary); }
body.bo:not(.anmelden) .field input[readonly] { background: var(--bg); }
.bo-hint { font-size: 13px; font-weight: 400; color: var(--ink-2); margin: 0; }
body.bo:not(.anmelden) .chip { font-weight: 600; }

/* Suchfeld und Auswahlliste mit Symbol */
.bo-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.bo-tools.card { padding: 12px; gap: 10px; flex-direction: row; }
.bo-search, .bo-select {
  position: relative; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; box-sizing: border-box;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink-2); min-width: 0;
}
.bo-search { flex: 1 1 260px; }
.bo-select { flex: 0 1 210px; }
.bo-search input, .bo-select select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; color: var(--ink); min-height: 40px; padding: 0; }
.bo-select select { appearance: none; -webkit-appearance: none; padding-right: 22px; cursor: pointer; }
.bo-select > svg:last-child { position: absolute; right: 12px; pointer-events: none; }
.bo-search:focus-within, .bo-select:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--primary); }
.bo-search svg, .bo-select svg { flex: none; }
.bo-count { margin-left: auto; font-size: 14px; color: var(--ink-2); padding-right: 4px; }
.bo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bo-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.bo-chip:hover { border-color: var(--ink); }
.bo-chip[aria-pressed="true"] { background: var(--ink); color: var(--hell, #FBF6EC); border-color: var(--ink); }
.bo-chip .n { font-weight: 500; opacity: 0.75; }

/* Schalter in der Werkzeugleiste */
.bo-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-size: 14.5px; cursor: pointer; }
.bo-switch .track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--line-strong); flex: none; }
.bo-switch .knob { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: left 0.15s; }
.bo-switch[aria-checked="true"] { border-color: var(--primary); }
.bo-switch[aria-checked="true"] .track { background: var(--primary); }
.bo-switch[aria-checked="true"] .knob { left: 18px; }

/* ---------- Status ---------- */
body.bo:not(.anmelden) .status { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
body.bo:not(.anmelden) .status svg { flex: none; }
body.bo:not(.anmelden) .s-active { background: var(--bo-ok); color: var(--primary); }
body.bo:not(.anmelden) .s-draft { background: var(--bo-mute); color: var(--ink-2); }
body.bo:not(.anmelden) .s-pending { background: var(--bo-wait); color: var(--bo-wait-ink); }
body.bo:not(.anmelden) .s-archived, body.bo:not(.anmelden) .s-suspended { background: var(--bo-red-soft); color: var(--bo-red-ink); }
body.bo:not(.anmelden) .s-solid { background: var(--primary); color: #fff; }

/* ---------- Listen und Tabellen ---------- */
body.bo:not(.anmelden) .list-item { padding: 10px; border-radius: 12px; border: 0; }
body.bo:not(.anmelden) .list-item:hover { background: var(--bg); }
body.bo:not(.anmelden) .list-item[aria-current="true"] { background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px var(--primary); }
body.bo:not(.anmelden) .list-item .name { font-size: 14.5px; }
body.bo:not(.anmelden) .list-item .sub { font-size: 13px; color: var(--ink-2); }
.bo-listcard { padding: 0 !important; gap: 0 !important; overflow: hidden; }
.bo-listcard > .bo-tools { padding: 14px; border-bottom: 1px solid #EEF0EB; }
.bo-listcard > .list { padding: 6px; }
.bo-listcard > .bo-foot { margin: 0; padding: 10px 16px 14px; font-size: 13.5px; color: var(--ink-2); }
.bo-dot { position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--bo-amber); border: 2px solid #fff; }
.ticon { position: relative; }

body.bo:not(.anmelden) table.data { font-size: 14.5px; }
body.bo:not(.anmelden) table.data th { font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); padding: 10px 14px; background: #FAFBF8; border-bottom: 1px solid #EEF0EB; white-space: nowrap; }
body.bo:not(.anmelden) table.data td { padding: 12px 14px; }
body.bo:not(.anmelden) table.data tr.clickable:hover td { background: var(--bg); }
body.bo:not(.anmelden) table.data tr[aria-selected="true"] td { background: var(--primary-soft); }
.bo-tablecard { padding: 0 !important; gap: 0 !important; overflow: hidden; }
.bo-tablecard > .bo-tools { padding: 12px; border-bottom: 1px solid #EEF0EB; }
.bo-who { display: flex; align-items: center; gap: 12px; }
.bo-who > span:last-child { min-width: 0; }
.bo-who strong { display: block; font-size: 15px; }
.bo-who small { display: block; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.bo-ini { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--bo-ok); color: var(--primary); font-size: 13px; font-weight: 700; }
.bo-code { flex: none; display: inline-grid; place-items: center; width: 40px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--bernstein-hell, #F6D7A7); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.bo-bar { display: flex; align-items: center; gap: 10px; }
.bo-bar > span:first-child { flex: 1; max-width: 110px; height: 6px; border-radius: 999px; background: #EEF0EB; overflow: hidden; }
.bo-bar > span:first-child > span { display: block; height: 100%; background: var(--primary); }
.bo-inl { display: inline-flex; align-items: center; gap: 6px; }
.bo-chev { color: var(--ink-2); text-align: right; width: 32px; }

/* Reiter */
.bo-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #EEF0EB; margin: 0 -22px; padding: 0 22px; }
.bo-tab { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 0; border-bottom: 3px solid transparent; border-radius: 10px 10px 0 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.bo-tab:hover { background: #EEF0EB; }
.bo-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--bo-amber); }

/* Kennzahlen */
.bo-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.bo-kpi { padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.bo-kpi p { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.bo-kpi strong { display: block; margin-top: 4px; font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.bo-kpi strong.sm { font-size: 15px; }

/* Fakten (Anfrage) */
.bo-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.bo-fact { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); min-width: 0; }
.bo-fact svg { flex: none; color: var(--ink-2); }
.bo-fact p { margin: 0; font-size: 12.5px; color: var(--ink-2); }
.bo-fact strong { display: block; font-size: 14.5px; font-weight: 600; overflow-wrap: anywhere; }

/* Sprungleiste im Formular */
.bo-jump { display: flex; flex-wrap: wrap; gap: 6px; }
.bo-jump button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.bo-jump button:hover { background: #EEF0EB; }
.bo-jump .warn { width: 8px; height: 8px; border-radius: 50%; background: var(--bo-amber); }

/* Leiste „Ungespeichert“ unten */
.bo-savebar { position: sticky; bottom: 0; z-index: 30; background: var(--nacht, #0D1716); color: var(--hell, #FBF6EC); border-radius: 16px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bo-savebar > span { flex: 1 1 260px; font-size: 14.5px; }
@media (max-width: 720px) { .bo-savebar { bottom: 84px; } }

/* ---------- Mehrfachauswahl mit Suche und Marken ---------- */
.bo-ms { position: relative; }
.bo-ms-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px 8px; min-height: 44px; box-sizing: border-box; border: 1.5px solid var(--line-strong); border-radius: 12px; background: #fff; }
.bo-ms-box:focus-within { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--primary); }
.bo-ms-box input { flex: 1; min-width: 160px; min-height: 32px; border: 0; outline: 0; font: inherit; font-size: 15px; background: transparent; padding: 0 4px; }
.bo-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 4px 3px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 600; max-width: 100%; }
.bo-tag > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.bo-tag button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; flex: none; }
.bo-tag button:hover { background: rgba(255, 255, 255, 0.7); }
.bo-tag.t-experience, .bo-opt-ic.t-experience { background: var(--c-exp-bg); color: var(--c-exp); }
.bo-tag.t-accommodation, .bo-opt-ic.t-accommodation { background: var(--c-acc-bg); color: var(--c-acc); }
.bo-tag.t-transport, .bo-opt-ic.t-transport { background: var(--c-tra-bg); color: var(--c-tra); }
.bo-tag.t-food, .bo-opt-ic.t-food { background: var(--c-food-bg); color: var(--c-food); }
.bo-ms-toggle { display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.bo-ms-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.bo-ms-pop { margin-top: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 14px 34px rgba(13, 23, 22, 0.14); overflow: hidden; }
.bo-ms-pop[hidden] { display: none; }
.bo-ms-pop > .bo-chips { padding: 10px 12px; border-bottom: 1px solid #EEF0EB; }
.bo-ms-pop .bo-chip { min-height: 32px; font-size: 13px; padding: 0 11px; }
.bo-ms-list { list-style: none; margin: 0; padding: 6px; max-height: 300px; overflow: auto; }
.bo-opt { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 14.5px; text-align: left; cursor: pointer; }
.bo-opt:hover, .bo-opt:focus-visible { background: var(--primary-soft); }
.bo-opt[aria-selected="true"] { background: var(--primary-soft); }
.bo-opt-box { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-strong); background: #fff; color: #fff; }
.bo-opt[aria-selected="true"] .bo-opt-box { background: var(--primary); border-color: var(--primary); }
.bo-opt-ic { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.bo-opt-n { flex: 1; min-width: 0; }
.bo-opt-p { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.bo-ms-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border-top: 1px solid #EEF0EB; font-size: 13px; color: var(--ink-2); }
.bo-ms-empty { padding: 12px; font-size: 14px; color: var(--ink-2); }

/* ---------- Agentur: Bausteine ---------- */
body.bo:not(.anmelden) .card.bo-edhead { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.bo-edhead .bo-acts .btn { align-self: center; }
.bo-edhead > div:not(.bo-acts) { flex: 1 1 260px; min-width: 0; }
.bo-edhead h1 { font-size: 26px !important; overflow-wrap: anywhere; }
.bo-edhead .row { margin-top: 4px; gap: 6px 12px; }
.bo-edhead .bo-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.bo-prev { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bo-prev-img { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #3B6527, #1E5A55 60%, #0D1716); position: relative; }
.bo-prev-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bo-prev-img .status { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, 0.94) !important; }
.bo-prev-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.bo-prev-b strong { font-size: 16px; }
.bo-prev-b span { font-size: 13.5px; color: var(--ink-2); }
.bo-prev-b p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
body.bo:not(.anmelden) .checks li { font-size: 14px; }
body.bo:not(.anmelden) .box-transport { border-radius: 14px; }
body.bo:not(.anmelden) .box-note { border-radius: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }

/* Orte (Agentur) */
.bo-place { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--ink-2); font-size: 14px; font-weight: 500; }
.bo-place.used { background: var(--bo-ok); color: var(--primary); }
.bo-place .n { font-size: 12.5px; opacity: 0.8; }
.bo-rows { list-style: none; margin: 0; padding: 0; }
.bo-rows > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid #EEF0EB; }
.bo-rows > li:last-child { border-bottom: 0; }
.bo-rows .main { flex: 1 1 200px; min-width: 0; }
.bo-rows .main strong { display: block; font-size: 15px; }
.bo-rows .main span { display: block; font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }

/* Dunkle Karte (Vorschau Profil) */
.bo-dark { background: var(--nacht, #0D1716) !important; color: var(--hell, #FBF6EC); border-color: transparent !important; }
.bo-dark .bo-kick { color: var(--bernstein-hell, #F6D7A7); }
.bo-dark .muted, .bo-dark .small { color: #C9D6D2; }

/* ---------- Anfragen der Agentur ---------- */
.bo-todo .req { border-radius: 14px; }
body.bo:not(.anmelden) .handover { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 14px 16px; margin-top: 0; display: flex; flex-direction: column; gap: 8px; }
body.bo:not(.anmelden) .handover + .handover { margin-top: 10px; }
.bo-plan .tday { display: flex; gap: 12px; padding: 10px 0; }
.bo-plan .tday > .d { flex: none; width: 92px; font-size: 13px; color: var(--ink-2); }
.bo-plan .tday > .d strong { display: block; color: var(--ink); font-size: 14px; }
.bo-plan .tday > div:last-child { flex: 1; min-width: 0; }
.bo-plan .titems { margin: 0; }
.bo-plan .titems li { font-size: 14.5px; }
.bo-total { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.bo-total span:last-child { font-variant-numeric: tabular-nums; }
body.bo:not(.anmelden) .mono { font-family: var(--font); font-variant-numeric: tabular-nums; font-weight: 600; }
.bo-msgform { display: flex; flex-direction: column; gap: 8px; }
.bo-two { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.bo-two > * { flex: 1 1 340px; min-width: 0; }

/* ---------- Admin: Formulare in Gruppen ---------- */
.bo-groups { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.bo-groups > .card { flex: 1 1 320px; min-width: 0; }
.bo-groups > .card.wide { flex-basis: 100%; }
.bo-map { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
/* Feld mit Symbol und Einheit (Einstellungen, Kurse) */
body.bo:not(.anmelden) .field .bo-search input, body.bo:not(.anmelden) .bo-search input { border: 0; border-radius: 0; min-height: 40px; padding: 0; background: transparent; }
body.bo:not(.anmelden) .field .bo-select select { border: 0; border-radius: 0; min-height: 40px; padding: 0 22px 0 0; background: transparent; }
.bo-tools.col { flex-direction: column; align-items: stretch; }
.bo-tools.col > * { flex: 0 0 auto; }
body.bo:not(.anmelden) table.data th .th-sort { text-transform: inherit; letter-spacing: inherit; font-weight: 600; }
body.bo:not(.anmelden) .field select:disabled { background: var(--bg); color: var(--ink); opacity: 1; }
.bo-rows .main { flex-basis: 120px; }
@media (max-width: 720px) { body.bo:not(.anmelden) .toast { bottom: 96px; } }
body.bo:not(.anmelden) .page .layout { width: 100%; }
/* Verlauf einer Anfrage (Admin) */
.bo-ic.ok { background: var(--bo-ok); color: var(--primary); }
.bo-events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.bo-ev { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; position: relative; }
.bo-ev + .bo-ev::before { content: ""; position: absolute; left: 14px; top: -8px; height: 16px; border-left: 2px solid #EEF0EB; }
.bo-ev .main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bo-ev strong { font-size: 14.5px; font-weight: 600; }
.bo-ev span:not(.bo-ic) { font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.bo-ev small { font-size: 12.5px; color: var(--ink-2); }

/* ---------- Katalog (Migration 026) ---------- */
.bo-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bo-cat-thumb { width: 64px; aspect-ratio: 16 / 9; border-radius: 8px; object-fit: cover; display: block; background: var(--line); }
.bo-cat-thumb.none { display: grid; place-items: center; color: var(--ink-3, #8a8f87); border: 1px dashed var(--line); background: transparent; }
body.bo fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
body.bo fieldset.field legend { padding: 0; margin-bottom: 6px; }
.bo-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.bo-cat-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--card, #fff); }
.bo-cat-card .bo-prev-img { aspect-ratio: 16 / 9; }
.bo-cat-card .b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bo-cat-card .b strong { font-size: 15.5px; line-height: 1.3; }
.bo-cat-card .b p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bo-cat-card .b .meta { font-size: 13px; color: var(--ink-2); display: flex; gap: 10px; flex-wrap: wrap; }
.bo-cat-card .b .acts { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.bo-cat-card .credit { font-size: 11.5px; color: var(--ink-3, #8a8f87); padding: 4px 14px 0; }
#cat-list > .row { padding: 0 16px; }

/* KI-Recherche (Admin, Migration 030) */
.ki-place { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.ki-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ki-items > li { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
.ki-notes { margin: 6px 0 0; white-space: pre-line; }
.ki-src { display: block; overflow-wrap: anywhere; }
.ki-src a { color: inherit; }
.ki-steps { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.ki-steps li span { display: block; }
@media (max-width: 640px) { .ki-items > li { flex-wrap: wrap; } }

/* Agentur: Zeiten für Städtereisen (Migration 031) */
.ag-oh { display: flex; flex-direction: column; gap: 6px; }
.ag-ohrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 4px 0; border-bottom: 1px solid #EEF0EB; }
.ag-ohrow .check { min-width: 74px; font-weight: 600; }
.ag-ohr { display: inline-flex; align-items: center; gap: 6px; }
.ag-ohr input { font: inherit; font-size: 14px; min-height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 8px; }
.ag-slot { display: grid; grid-template-columns: minmax(120px, 160px) 1fr minmax(150px, 200px) auto; gap: 10px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 12px; }
@media (max-width: 760px) { .ag-slot { grid-template-columns: 1fr; } }
/* Agentur: Vorlagen für Städtereisen */
.ag-tpl-day { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.ag-tpl-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; gap: 8px; align-items: end; }
.ag-tpl-row.stay { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 760px) { .ag-tpl-row { grid-template-columns: 1fr; } }
.ag-check { margin: 0; padding: 10px 12px 10px 28px; border-radius: 12px; font-size: 14px; }
.ag-check.ok { background: var(--bo-ok, #E5F1EC); color: var(--primary); list-style: none; padding-left: 12px; }
.ag-check.bad { background: var(--warn-soft); color: var(--warn-ink); border: 1px solid var(--warn-line); }
/* Admin: Städte (Stadtplan aus stadtkarte.js, Liste der Gebiete, Treffer aus OpenStreetMap) */
.st-amap { background: #EDE6D8; border-radius: 12px; overflow: hidden; }
.st-amap .skarte { display: block; width: 100%; height: auto; max-height: 460px; }
.skarte-lbl { font: 600 12px var(--font); fill: #4A5653; paint-order: stroke; stroke: rgba(255, 255, 255, .8); stroke-width: 3px; }
.skarte-num { font: 700 13px var(--font); }
.skarte-attr { font: 10.5px var(--font); fill: #4A5653; }
.st-alist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st-arow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid #EEF0EB; }
.st-osm { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.st-types { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.st-types legend { padding: 0; margin-bottom: 4px; }
