/* Betreiberansicht – Farben und Formen nach dem Entwurf „Betreiberansicht ops.ezrooms.de“. */
:root {
  --bg: #F6F8FB; --ink: #10233F; --muted: #5B6577; --line: #E3E9F2; --card: #FFFFFF;
  --navy: #10233F; --navy-2: #173B6C; --blue: #2F80ED; --blue-ink: #1D5BB0;
  --green: #14653A; --green-bg: #E6F4EC; --orange: #9A4D00; --orange-bg: #FFF6EC;
  --red: #A1251B; --red-bg: #FDECEA; --grey-bg: #F1F3F6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "Helvetica Neue", sans-serif; font-size: 15px; line-height: 1.45; }
a { color: var(--blue-ink); } a:hover { color: var(--navy-2); }
code { font-size: 13px; background: var(--grey-bg); padding: 1px 5px; border-radius: 6px; }
h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -0.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
h2 { margin: 0; font-size: 18px; font-weight: 700; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.shell { min-height: 100vh; display: flex; flex-wrap: wrap; }
.side { flex: 1 1 220px; max-width: 100%; background: var(--navy); color: #fff; padding: 28px 20px; display: flex; flex-direction: column; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.logo { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.brand-text { display: flex; flex-direction: column; } .brand-text span { font-size: 13px; color: #B9C7DB; }
.nav-links { display: flex; flex-direction: column; gap: 4px; }
.nav-links a { padding: 11px 12px; border-radius: 12px; color: #D5DEEA; text-decoration: none; font-weight: 500; }
.nav-links a.active, .nav-links a:hover { background: var(--navy-2); color: #fff; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #B9C7DB; }
.link-button { background: none; border: 0; padding: 0; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; }
.main { flex: 999 1 640px; min-width: 0; padding: 32px 40px 48px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.page-head p { margin: 6px 0 0; }
.back { font-size: 14px; text-decoration: none; display: inline-block; margin-bottom: 6px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.kpi { gap: 4px; padding: 18px; } .kpi-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi-value { font-size: 30px; font-weight: 800; }
.columns { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.alert { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--grey-bg); margin: 0; }
.alert .dot { width: 10px; height: 10px; border-radius: 50%; background: #667085; flex: none; }
.alert-text { flex: 1 1 260px; display: flex; flex-direction: column; gap: 2px; } .alert-text span { font-size: 14px; color: var(--muted); }
.alert.urgent { background: var(--red-bg); } .alert.urgent .dot { background: #C0392B; }
.alert.info { background: var(--orange-bg); } .alert.info .dot { background: #E07A12; }
.alert.ok { background: var(--green-bg); } .alert.ok .dot { background: #1E8A50; }
.button { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14px; padding: 0 14px; border-radius: 12px; border: 1px solid #C9D5E6; background: #fff; text-decoration: none; color: var(--ink); }
button.primary { min-height: 44px; border-radius: 14px; border: 0; background: var(--blue-ink); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; padding: 0 18px; font-family: inherit; }
button.primary:hover { background: var(--navy-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #D9E1EC; background: #fff; color: var(--ink); font-weight: 600; font-size: 13px; text-decoration: none; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
td { padding: 12px; border-bottom: 1px solid #EEF2F7; vertical-align: top; } td.wrap { max-width: 420px; }
.host-link { display: flex; flex-direction: column; gap: 2px; text-decoration: none; color: var(--ink); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 12px; background: var(--grey-bg); color: #3D4757; white-space: nowrap; }
.badge.green { background: var(--green-bg); color: var(--green); } .badge.blue { background: #EAF3FF; color: var(--blue-ink); }
.badge.orange { background: var(--orange-bg); color: var(--orange); } .badge.red { background: var(--red-bg); color: var(--red); }
.health { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.health li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--grey-bg); flex-wrap: wrap; }
.health li span:nth-child(2) { font-weight: 600; flex: 1; }
.health .dot { width: 9px; height: 9px; border-radius: 50%; background: #1E8A50; } .health .bad .dot { background: #C0392B; }
.health li.bad { background: var(--red-bg); }
.row-between { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.bar { height: 10px; border-radius: 999px; background: #EAF3FF; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--blue); border-radius: 999px; }
.inset { padding: 16px; border-radius: 16px; background: #F5F9FF; border: 1px solid #DCE8F8; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; flex: 1 1 100px; } label.grow { flex: 3 1 200px; }
input, select, textarea { width: 100%; min-width: 0; min-height: 44px; border-radius: 12px; border: 1px solid #C9D5E6; padding: 0 12px; font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 3px solid #9CC3F5; outline-offset: 2px; }
.plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.center { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; }
.login { width: 100%; max-width: 400px; } .login h1 { font-size: 24px; } .login p { margin: 0; }
.pair .guest { margin: 0; white-space: pre-wrap; background: var(--grey-bg); border-radius: 12px; padding: 12px; font-size: 14px; }
.sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.side-box { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.side-box p { margin: 0; } .reply { white-space: pre-wrap; font-size: 14px; }
@media (max-width: 640px) { .main { padding: 20px 16px 32px; } .side { padding: 16px; gap: 14px; } .side-foot { margin-top: 0; } }
.w0 { width: 0%; } .w5 { width: 5%; } .w10 { width: 10%; } .w15 { width: 15%; } .w20 { width: 20%; } .w25 { width: 25%; } .w30 { width: 30%; } .w35 { width: 35%; } .w40 { width: 40%; } .w45 { width: 45%; } .w50 { width: 50%; } .w55 { width: 55%; } .w60 { width: 60%; } .w65 { width: 65%; } .w70 { width: 70%; } .w75 { width: 75%; } .w80 { width: 80%; } .w85 { width: 85%; } .w90 { width: 90%; } .w95 { width: 95%; } .w100 { width: 100%; } 
textarea { min-height: 88px; padding: 10px 12px; border-radius: 12px; border: 1px solid #C9D5E6; font-family: inherit; font-size: 15px; color: var(--ink); resize: vertical; }
.chat { gap: 12px; }
.bubble { max-width: 760px; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.bubble p { margin: 0; white-space: pre-wrap; }
.guest-bubble { background: var(--grey-bg); align-self: flex-start; }
.concierge-bubble { background: #EAF3FF; align-self: flex-end; }
.who { font-size: 12px; font-weight: 700; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.meta { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
button[disabled] { opacity: 0.55; cursor: progress; }
