.holiday-calendar{min-width:0;container-type:inline-size;--hol-band:color-mix(in srgb,var(--bad) 13%,var(--surface));--hol-bridge:color-mix(in srgb,var(--warn) 82%,var(--ink));--hol-stripe:color-mix(in srgb,var(--warn) 18%,transparent);--hol-active:color-mix(in srgb,var(--warn) 32%,var(--surface))}.hol-sheet-head,.hol-sheet-foot,.hol-list-head,.hol-legend{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px}.holiday-calendar .seg{margin:0;min-width:0}.holiday-calendar .seg__row{flex-wrap:wrap}.holiday-calendar .seg__label{padding:4px 7px;font-size:11px;white-space:normal}.holiday-calendar .tool-toolbar .seg>legend,.hol-list-head .seg>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.holiday-calendar .hol-icon{display:inline-flex;align-items:center;gap:4px;min-height:28px;padding:4px 6px;font-size:11px}.hol-icon svg{width:17px;height:17px;display:block}.hol-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hol-options .field{margin:0}.hol-options .button{font-size:11px}.hol-note{color:var(--muted);font-size:10px;margin:0;overflow-wrap:anywhere}.hol-status:not(:empty){margin-bottom:8px}.hol-status:empty,.hol-detail:empty{display:none}.hol-sheet-head{justify-content:space-between;margin-bottom:8px;gap:5px 10px}.holiday-calendar .hol-paper-title{margin:0;padding:0;border:0;font-size:24px;line-height:1.3}.hol-sheet-head small{font-size:11px;color:var(--muted)}.hol-sheet-head[hidden],.hol-legend[hidden]{display:none}.hol-legend{margin-top:8px}.hol-legend{font-size:10px;gap:4px 10px;color:var(--muted)}.hol-legend>span{display:inline-flex;align-items:center;gap:4px}.hol-swatch{width:13px;height:10px;display:inline-block}.hol-swatch-holiday{background:var(--bad);width:8px;height:8px}.hol-swatch-break{background:var(--hol-band);border-radius:4px}.hol-swatch-bridge{border:1px dashed var(--hol-bridge);position:relative}.hol-swatch-bridge::before,.hol-bridge::before{content:'★';position:absolute;top:0;right:0;font-size:6px;line-height:7px;color:var(--hol-bridge)}.hol-swatch-observed::after{content:'•';color:var(--bad);font-style:normal}.hol-calendar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 14px}.hol-month{min-width:0}.holiday-calendar .hol-month h3{font-size:13px;margin:0 0 3px;padding:0;border:0}.hol-weekdays,.hol-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.hol-weekdays{color:var(--muted);font-size:9px;text-align:center;line-height:14px}.hol-grid{grid-template-rows:repeat(6,18px)}.hol-day{position:relative;appearance:none;min-width:0;padding:0;border:1px solid transparent;background:none;color:var(--ink);font:inherit;font-size:10px;line-height:16px;text-align:center;cursor:pointer;border-radius:0}.hol-weekend{color:var(--muted)}.hol-sun{color:var(--bad)}.hol-sat{color:var(--acc)}.hol-group-date span.hol-sun{color:var(--bad)}.hol-group-date span.hol-sat{color:var(--acc)}.hol-band{background-color:var(--hol-band)}.hol-band-start{border-top-left-radius:5px;border-bottom-left-radius:5px}.hol-band-end{border-top-right-radius:5px;border-bottom-right-radius:5px}.hol-preview{background-image:repeating-linear-gradient(135deg,transparent 0 3px,var(--hol-stripe) 3px 5px)}.hol-holiday{color:var(--bad);font-weight:500}.hol-observed::after{content:'';position:absolute;width:3px;height:3px;background:currentColor;border-radius:50%;right:2px;bottom:2px}.hol-bridge{border:1px dashed var(--hol-bridge);font-weight:500}.hol-today{outline:1.5px solid var(--ink);outline-offset:-3px}.hol-active{background-color:var(--hol-active);box-shadow:inset 0 -2px var(--hol-bridge)}.holiday-calendar button:focus-visible{outline:2px solid var(--acc);outline-offset:1px;z-index:1}.hol-month-notes,.hol-month-leave{font-size:9px;line-height:1.35;margin:3px 0 0;overflow-wrap:anywhere}.hol-month-notes{color:var(--muted)}.hol-month-leave{color:var(--hol-bridge);font-weight:500}.hol-sheet-foot{justify-content:space-between;margin-top:8px;padding-top:5px;border-top:1px solid var(--line)}.hol-sheet-foot small{font-size:9px;color:var(--muted)}.hol-detail{font-size:12px;line-height:1.5;padding:6px 8px;margin:8px 0 0;border-left:2px solid var(--hol-bridge);background:var(--hol-stripe)}.hol-list{margin-top:12px}.holiday-calendar .hol-list-head h2{font-size:18px;margin:0;padding:0;border:0}.hol-list-head{justify-content:space-between;margin-bottom:4px}.hol-breaks{padding:0;margin:0;list-style:none}.hol-breaks li{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:1px 0;font-size:14px}.hol-best{margin-top:12px}.hol-period,.hol-plan{display:inline;text-align:start;background:none;border:0;padding:2px 5px 2px 0;font:inherit;line-height:1.5;color:var(--ink);cursor:pointer}.hol-plan{padding:0 5px 0 0;font-weight:500}.holiday-calendar .hol-free-title{font-size:13px;margin:16px 0 4px}.hol-free-breaks{list-style:none;margin:0;padding:0;font-size:12px;color:var(--muted)}.hol-free-breaks .hol-period{color:inherit}.hol-breaks a{flex-shrink:0;font-size:12px}.holiday-calendar .hol-full-table{margin-top:12px}.holiday-calendar .hol-full-table summary{font-size:12px}.hol-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:12px}.hol-table th,.hol-table td{padding:4px 6px;border-bottom:1px solid var(--line);text-align:start;overflow-wrap:anywhere}.hol-table th:first-child{width:32%}.hol-badge{display:inline-block;font-size:9px;border:1px solid var(--line);padding:0 3px;margin-inline-start:4px}.hol-print-root{display:none}@container (max-width:650px){.hol-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (max-width:450px){.hol-calendar{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 12px}.hol-month-notes,.hol-month-leave{font-size:10px}.hol-summary{font-size:10px;gap:4px 6px}.hol-summary span+span{padding-left:6px}.hol-breaks li{flex-wrap:wrap;gap:0 5px}.hol-breaks a{margin-inline-start:auto}}@media print{@page hol-landscape{size:A4 landscape;margin:0}@page hol-portrait{size:A4 portrait;margin:0}body.hol-printing>:not(.hol-print-root){display:none!important}body.hol-printing{margin:0!important;padding:0!important;background:white}.hol-printing .hol-print-root{display:block;color-scheme:light}.hol-print-page{display:block;margin:0;padding:0;break-after:page;break-inside:avoid;overflow:hidden}.hol-print-page:last-child{break-after:auto}.hol-landscape .hol-print-page{page:hol-landscape;width:297mm;height:209.8mm}.hol-portrait .hol-print-page{page:hol-portrait;width:210mm;height:296.8mm}.hol-print-page svg{display:block;width:100%;height:100%;print-color-adjust:exact;-webkit-print-color-adjust:exact}}@media print{.holiday-calendar{--hol-band:#e5e5e5;--hol-bridge:#333;--hol-stripe:#ddd;--hol-active:#eee}.hol-toolbar,.hol-list,.hol-full-table,.hol-detail,.hol-status{display:none}.hol-calendar{grid-template-columns:repeat(4,minmax(0,1fr))}.hol-holiday{color:#111}.hol-day{print-color-adjust:exact;-webkit-print-color-adjust:exact}}.holiday-calendar .tool-toolbar{padding:4px 0;margin-bottom:4px}.hol-options{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.hol-options .field{max-width:180px}.hol-options .hol-note{flex-basis:100%}.holiday-calendar .tool-options{margin-top:10px}.holiday-calendar .hol-summary{font-size:11px;color:var(--muted)}@media print{.holiday-calendar .tool-toolbar,.holiday-calendar .tool-options{display:none}}.hol-months{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-items:stretch}.hol-months[hidden],.hol-calendar[hidden]{display:none}.hol-month-card{min-width:0;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:7px;overflow:hidden;text-align:center;background:var(--surface)}.holiday-calendar .hol-month-card h3{margin:0;padding:2px 8px;border:0;font-size:14px;line-height:1.5;font-weight:600;background:#1f4fd6;color:#fff}.hol-month-body{flex:1;display:flex;flex-direction:column;justify-content:center;padding:6px 6px}.hol-month-holidays{display:flex;flex:1;flex-direction:column;justify-content:center;gap:2px}.hol-group{display:flex;flex-wrap:wrap;justify-content:center;align-items:baseline;column-gap:5px}.hol-group-date{white-space:nowrap;line-height:1.3;color:var(--ink)}.hol-group-date .hol-group-day{font-size:16px;font-weight:500;color:var(--bad)}.hol-group-date span{font-size:11px;color:var(--muted)}.hol-group-name{font-size:13px;line-height:1.4;margin-top:0;word-break:keep-all;overflow-wrap:anywhere;color:var(--ink)}.hol-month-plans{margin-top:6px}.hol-group-plan{margin:3px 0 0;font-size:12px;line-height:1.4;color:var(--acc);font-weight:500}.hol-no-holidays{margin:0;font-size:13px;color:var(--muted)}@container (max-width:650px){.hol-months{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.holiday-calendar .hol-paper-title{font-size:21px}.hol-month-body{padding:6px 4px}}.holiday-calendar .hol-calendar-title{margin:0 0 8px;padding:0;border:0;font-size:16px}.hol-source{margin-top:12px}#months,#calendar{scroll-margin-top:80px}
