.pcal{--holiday-text:#14161b;gap:var(--space-3);font-size:var(--fs-title);flex-direction:column;line-height:1.4;display:flex}.pcal__bar{justify-content:space-between;align-items:center;gap:var(--space-2);flex-wrap:wrap;display:flex}.pcal__mode{border-radius:var(--radius-sm);background:var(--bg-card);padding:3px;display:inline-flex}.pcal__choice{display:block;position:relative}.pcal__radio{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.pcal__choice span{font-size:var(--fs-body);color:var(--text-muted);transition:background var(--tx), color var(--tx);border-radius:6px;padding:7px 14px;font-weight:600;display:block}.pcal__radio:checked+span{background:var(--bg-card-hover);color:var(--text)}.pcal__radio:focus-visible+span{outline:2px solid var(--info);outline-offset:1px}.pcal__actions{gap:var(--space-2);display:flex}.pcal .pcal__btn{border-radius:var(--radius-sm);background:var(--bg-card);height:36px;font:inherit;font-size:var(--fs-body);color:var(--text);cursor:pointer;transition:background var(--tx);border:0;align-items:center;padding:0 14px;font-weight:600;text-decoration:none;display:inline-flex}.pcal .pcal__btn:hover{background:var(--bg-card-hover)}.pcal .pcal__btn[hidden]{display:none}.pcal .pcal__legend{font-size:var(--fs-sm);color:var(--text-muted);flex-wrap:wrap;gap:6px 14px;margin:0;padding:0;list-style:none;display:flex}.pcal .pcal__legend li{align-items:center;gap:6px;margin:0;display:flex}.pcal .pcal__legend .pcal-key{cursor:auto;border-radius:5px;flex:none;place-items:center;width:22px;height:18px;font-size:.6875rem;display:inline-grid}.pcal .pcal__legend .pcal-key:after{bottom:0}.pcal-key:before{content:attr(data-n)}.pcal__pills{display:none}.pcal__grid{gap:var(--space-3);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.pcal__card{border-radius:var(--radius);background:var(--bg-card);flex-direction:column;min-width:0;padding:10px 8px 8px;display:flex}.pcal__month{border-collapse:separate;border-spacing:2px;table-layout:fixed;width:100%}.pcal__month caption{font-size:var(--fs-title);text-align:left;color:var(--text);padding:0 4px 6px;font-weight:700}.pcal__month th{height:20px;font-size:var(--fs-micro);text-align:center;color:var(--text-dim);padding:0;font-weight:600}.pcal__month th.pcal__wk{width:13%;font-weight:400}.pcal__month thead th.pcal__we{color:rgba(var(--danger-rgb), .7)}.pcal:has(.pcal__radio--six:checked) .pcal__month thead th.pcal__we:nth-child(7){color:var(--text-dim)}.pcal-d{--c:var(--text-reading);--fill:transparent;--frame:transparent;--weight:400;--dot:none;background:var(--fill);height:24px;box-shadow:inset 0 0 0 1px var(--frame);font-size:.8125rem;font-weight:var(--weight);font-variant-numeric:tabular-nums;text-align:center;color:var(--c);cursor:pointer;border-radius:6px;padding:0;position:relative}.pcal-d:after{content:"";display:var(--dot);background:var(--warn);border-radius:50%;width:4px;height:4px;margin-left:-2px;position:absolute;bottom:2px;left:50%}.f-rest{--c:var(--danger)}.f-hol{--c:var(--holiday-text);--fill:var(--danger);--weight:700}.f-moved{--c:var(--danger);--fill:rgba(var(--danger-rgb), .2);--weight:600}.f-sat{--frame:var(--text-muted)}.f-short{--dot:block}.pcal:has(.pcal__radio--six:checked) .pcal-d{--c:var(--text-reading);--fill:transparent;--frame:transparent;--weight:400;--dot:none}.pcal:has(.pcal__radio--six:checked) .s-rest{--c:var(--danger)}.pcal:has(.pcal__radio--six:checked) .s-hol{--c:var(--holiday-text);--fill:var(--danger);--weight:700}.pcal:has(.pcal__radio--six:checked) .s-moved{--c:var(--danger);--fill:rgba(var(--danger-rgb), .2);--weight:600}.pcal:has(.pcal__radio--six:checked) .s-sat{--frame:var(--text-muted)}.pcal:has(.pcal__radio--six:checked) .s-short{--dot:block}.pcal-six,.pcal:has(.pcal__radio--six:checked) .pcal-five{display:none}.pcal:has(.pcal__radio--six:checked) .pcal-six{display:inline}td.pcal-d:hover{background:linear-gradient(#ffffff14, #ffffff14), var(--fill)}td.pcal-d.is-in{background:linear-gradient(rgba(var(--info-rgb), .24), rgba(var(--info-rgb), .24)), var(--fill)}td.pcal-d.is-today{outline:2px solid var(--text-muted);outline-offset:-2px}td.pcal-d.is-pick{outline:2px solid var(--info);outline-offset:-2px}.pcal__sum{font-size:var(--fs-sm);color:var(--text-muted);margin:auto 0 0;padding:6px 4px 0}.pcal__count{gap:var(--space-2);padding:var(--space-4);border-radius:var(--radius);background:var(--bg-card);flex-direction:column;display:flex}.pcal__count-title{font-size:var(--fs-title);color:var(--text);font-weight:700}.pcal__count-hint{font-size:var(--fs-body);color:var(--text-muted)}.pcal__fields{gap:var(--space-3);flex-wrap:wrap;margin-top:4px;display:flex}.pcal__field{font-size:var(--fs-micro);letter-spacing:.04em;text-transform:uppercase;color:var(--text-dim);flex-direction:column;gap:5px;display:flex}.pcal__field input,.pcal__field select{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg);height:38px;font:inherit;font-size:var(--fs-title);letter-spacing:0;text-transform:none;color:var(--text);color-scheme:dark;padding:0 10px}.pcal__field input:focus,.pcal__field select:focus{border-color:var(--text-dim);outline:none}.pcal__field :disabled{opacity:.6}.pcal__result{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--bg-card);min-height:calc(2lh + 22px);font-size:var(--fs-title);color:var(--text);margin:0;padding:10px 14px;line-height:1.5}.pcal__result.is-live{z-index:2;position:sticky;bottom:10px}@media (width<=599px){.pcal__pills{order:1}.pcal__grid{order:2}.pcal__result{order:3}.pcal__legend{order:4}.pcal__bar{order:5}.pcal__count{order:6}.pcal__pills{scrollbar-width:none;gap:6px;display:flex;overflow-x:auto}.pcal__pills::-webkit-scrollbar{display:none}.pcal .pcal__pill{border-radius:var(--radius-pill);background:var(--bg-card);font-size:var(--fs-body);color:var(--text-muted);flex:none;padding:7px 13px;font-weight:600;text-decoration:none}.pcal .pcal__pill[aria-current]{background:var(--text);color:var(--bg)}.pcal__grid{gap:var(--space-3);overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;display:flex;overflow-x:auto}.pcal__grid::-webkit-scrollbar{display:none}.pcal__card{scroll-snap-align:start;flex:0 0 100%;padding:12px 10px 10px}.pcal__month{border-spacing:3px}.pcal__month caption{font-size:1.0625rem}.pcal__month th{height:24px;font-size:var(--fs-meta)}.pcal-d{border-radius:8px;height:38px;font-size:1rem}.pcal-d:after{bottom:4px}.pcal__sum{font-size:var(--fs-body)}.pcal__result{min-height:calc(3lh + 22px)}.pcal__result.is-live{position:static}.pcal__fields{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.pcal__field--week{grid-column:1/-1}.pcal__field input,.pcal__field select{width:100%;min-width:0}}.article-body .md-table tr:has(td>strong) td{color:var(--text);background:#ffffff06}.article-body .md-table table:has(th:nth-child(5)) td:not(:first-child){white-space:nowrap}@media (width<=599px){.article-body .md-table table:has(th:nth-child(5)) :is(th,td){padding-left:8px;padding-right:8px}.article-body .md-table table:has(th:nth-child(5)) :is(th,td):first-child{padding-left:14px}}.pdl{gap:var(--space-3);flex-direction:column;display:flex}.pdl .pdl__preview{border-radius:var(--radius);background:#fff;display:block;overflow:hidden}.pdl__preview img{width:100%;height:auto;display:block}.pdl .pdl__files{gap:var(--space-2);flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.pdl .pdl__files li{margin:0}.pdl .pdl__file{border-radius:var(--radius-sm);background:var(--bg-card);font-size:var(--fs-title);color:var(--text-muted);transition:background var(--tx);flex-direction:column;gap:2px;padding:12px 16px;line-height:1.45;text-decoration:none;display:flex}.pdl .pdl__file:hover{background:var(--bg-card-hover)}.pdl__name{color:var(--text);flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-weight:700;display:flex}.pdl__name small{font-size:var(--fs-body);font-variant-numeric:tabular-nums;color:var(--text-dim);font-weight:400}.pdl__note{font-size:var(--fs-body)}.pdl__print{border:1px solid var(--border);border-radius:var(--radius-sm);height:38px;font:inherit;font-size:var(--fs-body);color:var(--text);cursor:pointer;background:0 0;align-self:flex-start;padding:0 16px;font-weight:600}.pdl__print:hover{background:var(--bg-card)}.pdl__print[hidden]{display:none}.pdl__hint{font-size:var(--fs-body);color:var(--text-muted);line-height:1.55}.pcal-print-holder{display:none}.pcal.pcal--sheet{--sheet:20px;--bg-card:#fff;--text:#17181b;--text-reading:#17181b;--text-muted:#5d6169;--text-dim:#8a8f98;--danger:#d33b3b;--danger-rgb:211, 59, 59;--warn:#b7791f;--holiday-text:#fff;box-sizing:border-box;width:100%;font-size:var(--sheet);color:var(--text);-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff;grid-template-columns:1fr auto;grid-template-areas:"head legend""grid grid""foot foot";align-items:end;gap:.9em 1em;padding:1.1em 1.3em 1em;line-height:1.3;display:grid}.pcal--sheet .pcal__bar,.pcal--sheet .pcal__pills,.pcal--sheet .pcal__count,.pcal--sheet .pcal__result,.pcal--sheet template{display:none}.pcal--sheet .pcal-sheet__head{grid-area:head}.pcal--sheet .pcal__legend{grid-area:legend}.pcal--sheet .pcal__grid{grid-area:grid}.pcal--sheet .pcal-sheet__foot{grid-area:foot}.pcal-sheet__title{letter-spacing:-.01em;white-space:nowrap;font-size:1.4em;font-weight:700;line-height:1.15}.pcal-sheet__mode{color:var(--text-muted);margin-top:.15em;font-size:.85em}.pcal.pcal--sheet .pcal__legend{color:var(--text-muted);justify-content:flex-end;gap:.35em 1em;font-size:.7em}.pcal.pcal--sheet .pcal__legend li{gap:.35em}.pcal.pcal--sheet .pcal__legend .pcal-key{border-radius:.25em;width:1.6em;height:1.3em;font-size:.85em}.pcal--sheet .pcal__grid{grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;gap:.7em 1.4em;display:grid;overflow:visible}.pcal--sheet.pcal--wide .pcal__grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:.6em 1em}.pcal--sheet.pcal--wide .pcal__wk,.pcal--sheet.pcal--wide .pcal__sum{display:none}.pcal--sheet .pcal__card{break-inside:avoid;background:0 0;border-radius:0;padding:0}.pcal--sheet .pcal__month{border-spacing:.12em}.pcal--sheet .pcal__month caption{letter-spacing:.04em;text-transform:uppercase;padding:0 .2em .3em;font-size:.85em}.pcal--sheet .pcal__month th{height:1.35em;font-size:.6em}.pcal--sheet .pcal-d{cursor:auto;border-radius:.3em;height:1.55em;font-size:.78em}.pcal--sheet .pcal-d:after{width:.28em;height:.28em;margin-left:-.14em;bottom:.12em}.pcal--sheet .f-rest,.pcal--sheet .s-rest{--weight:600}.pcal--sheet .pcal__sum{color:var(--text-muted);padding:.25em .2em 0;font-size:.62em}.pcal-sheet__foot{color:var(--text-muted);border-top:1px solid #d9dbe0;flex-wrap:wrap;justify-content:space-between;gap:.3em 1.5em;padding-top:.55em;font-size:.7em;display:flex}.pcal-sheet__foot p:first-child{color:var(--text);font-weight:600}@media print{html.pcal-print{color-scheme:light;background:#fff}html.pcal-print body{background:#fff;min-height:0;display:block}html.pcal-print body>:not(.pcal-print-holder){display:none!important}html.pcal-print .pcal-print-holder{display:block}html.pcal-print .pcal-print-holder .pcal--sheet{--sheet:12pt;break-inside:avoid;padding:0}}
