.fbrv{--fbrv-border:#cbd5e1;--fbrv-bg:#fff;--fbrv-text:#172334;color:var(--fbrv-text);font:inherit;max-width:100%;line-height:1.5}.fbrv *{box-sizing:border-box}.fbrv-panel{display:grid;gap:1rem;max-width:720px;padding:1rem;border:1px solid var(--fbrv-border);border-radius:.5rem;background:var(--fbrv-bg)}.fbrv-panel label{display:grid;gap:.35rem;font-weight:600}.fbrv input:not([type=checkbox]),.fbrv select,.fbrv textarea{width:100%;max-width:100%;min-height:44px;padding:.5rem;border:1px solid #64748b;border-radius:.25rem;background:#fff;color:#111827;font:inherit}.fbrv textarea{min-height:90px}.fbrv button,.fbrv-panel input[type=submit]{min-height:44px;cursor:pointer}.fbrv :is(button,a,input,select,textarea):focus-visible{outline:3px solid #0b66c3;outline-offset:3px}.fbrv-scroll{overflow-x:auto;max-width:100%}.fbrv-calendar{width:100%;border-collapse:collapse;min-width:500px}.fbrv-calendar th,.fbrv-calendar td{padding:.75rem;text-align:left;border-bottom:1px solid var(--fbrv-border)}.fbrv-calendar th{background:#e9eef4;color:#111827}.fbrv-calendar tr[hidden]{display:none}.fbrv-inline{display:inline-block;margin:.15rem}.fbrv-honey{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}.fbrv-success{padding:1rem;border-left:4px solid #147d38;background:#e8f5eb;color:#123d22}@media(max-width:600px){.fbrv-panel{padding:.75rem}.fbrv h2{font-size:1.3rem}.fbrv-calendar{font-size:.9rem}}
/* Datenschutz-Einwilligung: tastaturbedienbar und responsiv */
.fbrv .fbrv-consent {margin:1rem 0; padding:.9rem; border:1px solid currentColor; border-radius:.35rem;}
.fbrv .fbrv-consent label {display:flex; align-items:flex-start; gap:.65rem; cursor:pointer; line-height:1.55;}
.fbrv .fbrv-consent input[type="checkbox"] {flex:0 0 auto; width:1.25rem; height:1.25rem; margin-top:.15rem; accent-color:currentColor;}
.fbrv .fbrv-consent input[type="checkbox"]:focus-visible {outline:3px solid #1769aa; outline-offset:3px;}
.fbrv fieldset {margin:1rem 0; padding:1rem; border:1px solid #8c8f94; max-width:100%;}
.fbrv textarea {max-width:100%;}
/* 1.1.0: theme-unabhängige Bedienbarkeit und mobile Tabellen */
.fbrv-scroll:focus-visible{outline:3px solid #0b66c3;outline-offset:3px}
.fbrv-calendar caption{text-align:left;padding:.65rem 0;font-weight:600}
.fbrv-public .fbrv-room-filter{max-width:22rem}
.fbrv-public button{padding:.65rem 1.15rem;border-radius:.3rem}
.fbrv :is(input,select,textarea):disabled{opacity:.65}
@media (max-width:600px){.fbrv-public{width:100%;overflow-wrap:anywhere}.fbrv-scroll{scrollbar-width:auto}.fbrv-panel{width:100%}}
@media (prefers-reduced-motion:reduce){.fbrv *, .fbrv *::before,.fbrv *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* 1.2.0: accessible responsive graphical calendar */
.fbrv-calendar-toolbar{display:flex;flex-wrap:wrap;gap:1rem;align-items:end;margin:1rem 0}
.fbrv-calendar-toolbar label{display:grid;gap:.3rem;min-width:10rem;font-weight:600}
.fbrv-calendar-toolbar select{min-width:0}
.fbrv-navigation{display:flex;gap:.35rem;flex-wrap:wrap}
.fbrv-navigation button,.fbrv-event-details button{background:#fff;color:#172334;border:1px solid #64748b;border-radius:.35rem;padding:.5rem .8rem;font:inherit}
.fbrv-period{margin:1rem 0 .35rem}.fbrv-calendar-status{min-height:1.5em}
.fbrv-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;background:#cbd5e1;border:2px solid #cbd5e1;border-radius:.35rem;overflow:hidden}
.fbrv-weekday{background:#e9eef4;color:#172334;text-align:center;padding:.55rem .2rem;font-weight:700}
.fbrv-day{min-width:0;min-height:115px;background:#fff;padding:.4rem;overflow-wrap:anywhere}
.fbrv-day-label{font-size:.95rem;margin:0 0 .4rem;font-weight:700}
.fbrv-current-day{box-shadow:inset 0 0 0 2px #1d5d9b}.fbrv-other-month{background:#f1f5f9}
.fbrv-day-events{list-style:none;margin:0;padding:0;display:grid;gap:.3rem}
.fbrv-event{display:block;width:100%;text-align:left;border:1px solid #9dbbd4;background:#e6f1fb;color:#12334f;border-radius:.3rem;padding:.35rem;font:inherit;font-size:.83rem;line-height:1.35;overflow-wrap:anywhere;cursor:pointer}
.fbrv-event:hover{background:#cce3f7}.fbrv-event:focus-visible{outline:3px solid #0b66c3;outline-offset:2px}
.fbrv-event-details{margin-top:1rem;padding:1rem;border:2px solid #64748b;border-radius:.4rem;background:#fff}
.fbrv-event-details[hidden]{display:none}.fbrv-event-details h4{margin:0 0 .5rem}
.fbrv-calendar-grid:not(.fbrv-month-grid) .fbrv-day{min-height:180px;border:1px solid #cbd5e1;border-radius:.4rem}
@media(max-width:780px){.fbrv-month-grid{grid-template-columns:repeat(7,minmax(0,1fr))}.fbrv-day{padding:.2rem;min-height:80px}.fbrv-event{font-size:.72rem;padding:.25rem}.fbrv-day-label{font-size:.8rem}}
@media(max-width:540px){.fbrv-calendar-toolbar{align-items:stretch}.fbrv-calendar-toolbar label{flex:1 1 100%}.fbrv-month-grid{display:block;background:transparent;border:0;overflow:visible}.fbrv-weekday{display:none}.fbrv-month-grid .fbrv-day{min-height:0;border:1px solid #cbd5e1;border-radius:.35rem;margin:.35rem 0;padding:.6rem}.fbrv-month-grid .fbrv-other-month{display:none}.fbrv-month-grid .fbrv-day:not(:has(.fbrv-event)){display:block}.fbrv-month-grid .fbrv-day-label{font-size:1rem}.fbrv-month-grid .fbrv-event{font-size:.9rem}.fbrv-navigation{width:100%}.fbrv-navigation button{flex:1}}

/* Gruppierte Belegungsliste im WordPress-Backend */
.fbrv .fbrv-bookings-table .fbrv-room-group th {
  background:#dce8f5; color:#18314a; font-size:1.05rem;
  padding:14px 12px 10px; border-top:18px solid #fff;
  text-align:left;
}
.fbrv .fbrv-bookings-table .fbrv-month-group th {
  background:#eef2f6; color:#263849; padding:10px 12px;
  border-top:8px solid #fff; text-align:left;
}
.fbrv .fbrv-bookings-table td { vertical-align:middle; }
.fbrv .fbrv-bookings-table .button-link-delete {color:#b32d2e;}
.fbrv .fbrv-bookings-table .button-link-delete:hover,
.fbrv .fbrv-bookings-table .button-link-delete:focus-visible {color:#8a2424;}
.fbrv .fbrv-bookings-table .fbrv-inline {margin:2px 3px 2px 0;}
@media(max-width:782px){
 .fbrv .fbrv-bookings-table {min-width:780px;}
 .fbrv .fbrv-scroll {overflow-x:auto;}
}

/* Backend-Filter für Raum, Monat und Status */
.fbrv .fbrv-filterbar {display:flex;flex-wrap:wrap;align-items:end;gap:12px;padding:14px;margin:12px 0;background:#fff;border:1px solid #c3c4c7;border-radius:5px;}
.fbrv .fbrv-filterbar label {display:flex;flex-direction:column;gap:5px;font-weight:600;}
.fbrv .fbrv-filterbar select,.fbrv .fbrv-filterbar input {min-height:36px;min-width:150px;}
.fbrv .fbrv-filterbar .button {min-height:36px;}
@media(max-width:600px){.fbrv .fbrv-filterbar{align-items:stretch}.fbrv .fbrv-filterbar label,.fbrv .fbrv-filterbar select,.fbrv .fbrv-filterbar input,.fbrv .fbrv-filterbar .button{width:100%;}}

/* 1.2.9: Seitlicher Innenabstand auf schmalen Bildschirmen.
   Nur öffentliche Plugin-Ausgaben; WordPress-Admin bleibt unverändert. */
@media screen and (max-width: 767px) {
  .fbrv-public,
  .fbrv:has(> .fbrv-panel) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-inline: 12px;
  }
  .fbrv-public .fbrv-panel,
  .fbrv:has(> .fbrv-panel) > .fbrv-panel {
    max-width: 100%;
    min-width: 0;
  }
}

/* 1.3.0: Mobil, Tastaturbedienung und Kontrast */
@media (max-width: 767px) {
 .fbrv.fbrv-public {box-sizing:border-box;max-width:100%;margin-inline:auto;padding-inline:14px}
 .fbrv .fbrv-panel {max-width:100%;box-sizing:border-box}
 .fbrv .fbrv-panel input:not([type="checkbox"]),.fbrv .fbrv-panel select,.fbrv .fbrv-panel textarea {box-sizing:border-box;max-width:100%;min-width:0}
 .fbrv .fbrv-panel button {min-height:44px}
}
.fbrv :is(a,button,input,select,textarea):focus-visible {outline:3px solid #145da0;outline-offset:3px}
.fbrv .fbrv-panel input[type="checkbox"] {min-width:20px;min-height:20px}
@media (prefers-reduced-motion:reduce) {.fbrv *, .fbrv *::before,.fbrv *::after {scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* 2.0.0: Übersicht, mobile Kalenderwerkzeuge und Druckansicht */
.fbrv-dashboard-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:12px 0 24px}
.fbrv-dashboard-card{display:flex;flex-direction:column;gap:9px;padding:18px;border:1px solid #c3c4c7;border-radius:9px;background:#fff;color:#1d2327;text-decoration:none}
.fbrv-dashboard-card strong{font-size:2rem;line-height:1.1}
.fbrv-dashboard-card:hover,.fbrv-dashboard-card:focus-visible{border-color:#2271b1;box-shadow:0 0 0 2px #2271b133}
.fbrv-calendar-toolbar{flex-wrap:wrap}
.fbrv-calendar-toolbar .fbrv-jump-date{max-width:100%;min-height:44px}
.fbrv-calendar-toolbar button,.fbrv-calendar-toolbar select{min-height:44px}
@media(max-width:600px){.fbrv-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.fbrv-dashboard-card{padding:12px}.fbrv-calendar-toolbar{display:flex;flex-wrap:wrap;gap:10px}.fbrv-calendar-toolbar>label{flex:1 1 135px}.fbrv-navigation{display:flex;flex-wrap:wrap;gap:6px}}



/* 2.0.2: Druckausgabe isoliert vom Theme in einem eigenen Dokument. */

/* 2.1.0: responsive calendar and accessible controls */
.fbrv-calendar-widget{max-width:100%;min-width:0;box-sizing:border-box}
.fbrv-calendar-grid{max-width:100%;min-width:0}
.fbrv-calendar-widget button,.fbrv-calendar-widget select,.fbrv-calendar-widget input{min-height:44px}
.fbrv-calendar-widget button:focus-visible{outline:3px solid #12569b;outline-offset:3px}
.fbrv-event-details button{min-width:44px;min-height:44px}
@media(max-width:540px){.fbrv-month-grid .fbrv-day{display:block!important}.fbrv-month-grid .fbrv-other-month{display:none!important}.fbrv-calendar-widget{padding-inline:14px;box-sizing:border-box}}
