:root{color-scheme:light;--ink:#284963;--muted:#5c6f7b;--line:#dce5ec;--free:#e6f0e9;--free-ink:#28563c;--busy:#f5dfdc;--busy-ink:#823c38;--blue:#385998}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:auto;background:transparent;font-family:Arial,Helvetica,sans-serif;color:var(--ink);font-size:16px}body{padding:1px}
.calendar{border:1px solid var(--line);border-radius:18px;background:#fff;padding:18px 16px 12px;box-shadow:0 4px 18px #28496307}
button{font:inherit;cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:8px 10px;min-height:36px;background:#fff;color:var(--ink);font-size:13px;font-weight:600;transition:background .15s,border-color .15s}button:hover{background:#f0f5f9;border-color:#a6bfce}button:focus-visible{outline:3px solid #7ea8c9;outline-offset:3px}button:disabled{opacity:.35;cursor:default}
.navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.navigation h1{font-size:18px;font-weight:600;margin:0;text-align:center;line-height:1.3;letter-spacing:-.025em}
.months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;min-height:180px}.month{aspect-ratio:1;min-width:0;min-height:0;display:flex;flex-direction:column}.month h2{flex:none;margin:0 0 8px;height:22px;line-height:22px;font-size:15px;text-align:center;font-weight:600;text-transform:capitalize}
.month table{--weekday-height:18px;display:grid;flex:1;min-height:0;width:100%;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:var(--weekday-height) repeat(6,minmax(0,1fr));gap:3px;border-collapse:collapse;font-size:13px}.month thead,.month tbody,.month tr{display:contents}.month th{font-size:11px;font-weight:400;color:var(--muted);padding:0;align-self:center;text-align:center}.month td{display:flex;align-items:center;justify-content:center;justify-self:center;align-self:center;padding:0;width:var(--day-size,20px);height:var(--day-size,20px);border-radius:5px;font-weight:500;background:var(--free);color:var(--free-ink)}.month td.empty{background:transparent}.month td.occupied{background:var(--busy);color:var(--busy-ink)}.month td.arrival{background:linear-gradient(135deg,var(--free) 49%,#fff 49%,#fff 51%,var(--busy) 51%);color:var(--ink)}.month td.departure{background:linear-gradient(135deg,var(--busy) 49%,#fff 49%,#fff 51%,var(--free) 51%);color:var(--ink)}.month td.past{opacity:.35}.month td.today{outline:2px solid var(--blue);outline-offset:1px;font-weight:700}.month td.unknown{background:repeating-linear-gradient(135deg,#f0f2f4,#f0f2f4 3px,#e7ebee 3px,#e7ebee 4px);color:var(--muted)}
.legend{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px 10px;border-top:1px solid var(--line);margin-top:18px;padding-top:10px;font-size:12px;color:var(--muted)}.legend>span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.legend .language{border:0;padding:6px 0;min-height:28px;color:var(--blue);font-size:12px;font-weight:400}.sample{width:13px;height:13px;border-radius:3px;border:1px solid #28496313;display:inline-block;flex:none}.available{background:var(--free)}.occupied{background:var(--busy)}.arrival{background:linear-gradient(135deg,var(--free) 50%,var(--busy) 50%)}
.status{text-align:center;margin:12px 0 0;font-size:13px;line-height:1.5;color:var(--muted)}.status.warning{color:#8a4d29;background:#fff5e9;border-radius:8px;padding:10px}.status.error{color:var(--busy-ink);background:#fbefed;border-radius:8px;padding:10px}.skeleton{aspect-ratio:1;border-radius:8px;background:linear-gradient(90deg,#f3f6f8,#eaf0f4,#f3f6f8);background-size:200% 100%;animation:pulse 2s ease-in-out infinite}@keyframes pulse{to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}button{transition:none}}
@media(max-width:459px){.calendar{padding:14px 8px 10px}.navigation{margin-bottom:14px}.navigation h1{font-size:16px;max-width:140px}.navigation button{padding:7px;font-size:12px}.months{gap:16px 10px}.month h2{height:18px;line-height:18px;font-size:12px;margin-bottom:5px}.month table{--weekday-height:14px;gap:2px;font-size:11px}.month th{font-size:9px}.month td{border-radius:3px}.legend{font-size:11px;gap:4px 8px;margin-top:14px;padding-top:7px}.legend .language{font-size:11px}.sample{width:11px;height:11px}}

.months[data-visible-months="2"]{min-height:0}
