.sbvc .sbvc-nav {display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom:1em}
.sbvc .sbvc-year {display:inline-flex; align-items:center; gap:5px; margin:0; font-weight:500}
.sbvc .sbvc-nav :is(input,select,button) {
  box-sizing:border-box; width:auto; height:40px; min-height:40px; margin:0; padding:0 11px;
  background-color:#fff; border:1px solid #c5cbd1; border-radius:8px; color:#26333b;
  box-shadow:0 1px 3px rgb(20 34 45 / 9%); font:inherit; line-height:normal;
}
.sbvc .sbvc-nav input {width:5.4em}
.sbvc .sbvc-nav select {appearance:auto; min-width:5em; cursor:pointer}
.sbvc .sbvc-nav button {width:40px; font-size:21px; cursor:pointer}
.sbvc .sbvc-nav :is(input,select,button):focus-visible,.sbvc-badge:focus-visible {outline:3px solid #507695; outline-offset:2px}
.sbvc .sbvc-nav button:hover {background:#f2f5f7}
.sbvc table {table-layout:fixed; border-collapse:collapse; width:100%}
.sbvc caption {font-size:1.2em; font-weight:700; padding:.4em}
.sbvc th,.sbvc td {border:1px solid #cbd2d4; text-align:center}
.sbvc .sbvc-view thead th {box-sizing:border-box; height:40px; padding:0; line-height:1.25; vertical-align:middle; background-color:#f7f7f7}
.sbvc thead th:first-child {color:#bc2639}
.sbvc .sbvc-view td {padding:0; vertical-align:top; overflow:visible}
.sbvc-slots {display:grid; box-sizing:border-box; height:110px; padding:4px 2px; grid-template-rows:22px repeat(3,24px); gap:2px; align-content:start; grid-template-columns:minmax(0,1fr)}
.sbvc-slots>span:first-child {line-height:22px}
.sbvc .sbvc-badge {position:relative; display:block; box-sizing:border-box; border-radius:4px; min-width:0;
  padding:0 1px; white-space:nowrap; color:#262831; font-size:clamp(10px,2.6vw,13px); line-height:24px}
.sbvc .sbvc-badge:not(.sbvc-join-left) {margin-left:1px}
.sbvc .sbvc-badge:not(.sbvc-join-right) {margin-right:1px}
.sbvc .sbvc-join-left {margin-left:-3px; border-top-left-radius:0; border-bottom-left-radius:0}
.sbvc .sbvc-join-right {margin-right:-3px; border-top-right-radius:0; border-bottom-right-radius:0}
.sbvc td:first-child .sbvc-join-left {margin-left:-2px}
.sbvc td:last-child .sbvc-join-right {margin-right:-2px}
.sbvc-h0-0 {background:#ffddb7}
.sbvc-h0-1 {background:#ee9a6d}
.sbvc-h0-2 {background:#fff0ce}
.sbvc-h0-3 {background:#f1af86}
.sbvc-h0-4 {background:#f6c896}
.sbvc-h0-5 {background:#ed977f}
.sbvc-h0-6 {background:#fae1d1}
.sbvc-h1-0 {background:#d5e5cf}
.sbvc-h1-1 {background:#8ec2a1}
.sbvc-h1-2 {background:#e6eed4}
.sbvc-h1-3 {background:#a7cfb4}
.sbvc-h1-4 {background:#bfd8a3}
.sbvc-h1-5 {background:#84bea9}
.sbvc-h1-6 {background:#d5ebe2}
.sbvc-h2-0 {background:#e4d6f2}
.sbvc-h2-1 {background:#b298db}
.sbvc-h2-2 {background:#f2e2f2}
.sbvc-h2-3 {background:#c4afe7}
.sbvc-h2-4 {background:#d9bddd}
.sbvc-h2-5 {background:#aeaadf}
.sbvc-h2-6 {background:#e0dbf2}
.sbvc .sbvc-badge[tabindex] {cursor:help}
.sbvc .sbvc-badge[role="button"] {cursor:pointer}
.sbvc .sbvc-tip {display:none; position:absolute; bottom:100%; left:0; z-index:5; border-radius:5px;
  padding:1em 1.5em; width:max-content; max-width:min(16rem,75vw); white-space:pre-line; overflow-wrap:anywhere;
  background:#202a30; color:white; text-align:left; font-size:13px; line-height:1.5; box-shadow:0 3px 12px #0003}
.sbvc td:nth-last-child(-n+3) .sbvc-tip {left:auto; right:0}
.sbvc .sbvc-badge:hover .sbvc-tip,.sbvc .sbvc-badge:focus .sbvc-tip {display:block}
.sbvc-form form {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13em),1fr));gap:1em;max-width:52em}
.sbvc-form label {display:grid;gap:.35em;font-weight:600}
.sbvc-form :is(input,select) {min-width:0;width:100%;box-sizing:border-box;border:1px solid #bcc6cc;border-radius:6px;padding:.55em .7em;font:inherit}
.sbvc-form form p,.sbvc-form button {grid-column:1/-1;margin:0}
.sbvc-form form button[type="submit"] {
  justify-self:start; padding:10px 30px; background:#b2985f; color:white; border:1px solid #b2985f;
}
.sbvc-form form button[type="submit"]:hover {background:white; color:#b2985f}
.sbvc-form[hidden] {display:none!important}
.sbvc-form .sbvc-date-field {position:relative;display:flex;align-items:center;justify-content:space-between;gap:.6em;border:1px solid #bcc6cc;border-radius:6px;padding:.55em .7em;background:#fff;color:#26333b;font-weight:400}
.sbvc-date-field::after {content:"";box-sizing:border-box;width:1em;height:1em;border:1px solid currentColor;border-top:4px solid currentColor;border-radius:3px}
.sbvc-form .sbvc-date-field input[type=date] {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.sbvc-date-field:focus-within {outline:2px solid #507695;outline-offset:2px}
.sbvc-form form > label {align-self:start}
.sbvc-form form :is(select[name="hugazip"], .sbvc-date-field, input[name="reservator"]) {
  box-sizing:border-box; height:40px; min-height:40px; max-height:40px;
  padding-block:0; margin-block:0; line-height:1.25;
}
