/* HM Belegungskalender */
.hmb{--hmb-accent:#68ab4e;--hmb-busy:#d9d9d9;--hmb-ink:#222;max-width:620px;border:1px solid #e3e3e3;background:#fff;padding:12px 14px 10px;font-family:'Open Sans',Arial,sans-serif;color:var(--hmb-ink)}
.hmb *{box-sizing:border-box}
.hmb-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:2px}
.hmb-hint{margin:0!important;padding:0!important;font-size:12.5px!important;color:#666!important;text-align:center}
.hmb-prev,.hmb-next{width:28px;height:28px;border:1px solid #ddd;background:#fff;font-size:17px;line-height:1;cursor:pointer;color:#333;border-radius:4px}
.hmb-prev:disabled,.hmb-next:disabled{opacity:.3;cursor:default}
.hmb-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:18px}
.hmb-title{font-family:'Jura',Arial,sans-serif;font-size:15px!important;text-align:center;margin:2px 0 4px!important;padding:0!important;color:#111!important}
.hmb-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px}
.hmb-wd{font-size:10.5px;text-align:center;color:#999;padding:1px 0}
.hmb-day{position:relative;height:26px;border:0;background:#f1f7ee;color:#222;font:400 12px/1 'Open Sans',Arial,sans-serif;cursor:pointer;padding:0;border-radius:3px}
.hmb-day:hover:not(:disabled){outline:2px solid var(--hmb-accent);outline-offset:-2px}
.hmb-busy{background:var(--hmb-busy);color:#888;text-decoration:line-through}
.hmb-arr{background:linear-gradient(135deg,#f1f7ee 50%,var(--hmb-busy) 50%)}
.hmb-dep{background:linear-gradient(135deg,var(--hmb-busy) 50%,#f1f7ee 50%)}
.hmb-past{background:#fafafa!important;color:#ccc!important;text-decoration:none!important;cursor:default}
.hmb-sel{background:#cfe6c4!important;color:#111!important}
.hmb-sel-a,.hmb-sel-d{background:var(--hmb-accent)!important;color:#fff!important;font-weight:600}
.hmb-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:11.5px;color:#666}
.hmb-legend span{display:inline-flex;align-items:center;gap:6px}
.hmb-legend i{display:inline-block;width:12px;height:12px;border-radius:2px}
.hmb-l-free{background:#f1f7ee;border:1px solid #d6e8cc}.hmb-l-busy{background:var(--hmb-busy)}.hmb-l-half{background:linear-gradient(135deg,#f1f7ee 50%,var(--hmb-busy) 50%)}
.hmb-stand{margin-left:auto;color:#aaa}
.hmb-result{margin-top:8px}
.hmb-result p{margin:0 0 6px!important;padding:0!important;font-size:13.5px!important}
.hmb-ok{color:#3c7a26!important;font-weight:600}
.hmb-no{color:#b3261e!important}
.hmb-note{font-size:12.5px!important;color:#666!important}
.hmb .hmb-book{padding:8px 16px!important;font-size:13.5px!important}
.hmb-missing{color:#888;font-style:italic}
@media (max-width:640px){.hmb{padding:10px}.hmb-day{height:32px;font-size:13px}.hmb-stand{margin-left:0}}
.hmb-off{background:#cfcfcf!important;color:#fff!important;cursor:not-allowed}
.pw-howto .hmb-result{margin-top:16px;padding-top:14px;border-top:1px solid #e3e3e3}
