.t9-bd-head .t9-seg{grid-template-columns:repeat(3,minmax(0,1fr))}
.t9-bd-region .t9-seg{flex-wrap:wrap;border-radius:14px}
.t9-bd-days{display:flex;flex-wrap:wrap;gap:6px}
.t9-tool .t9-bd-day{min-width:46px;min-height:38px;border:1.5px solid var(--t9-line-strong);border-radius:10px;background:var(--t9-surface);color:var(--t9-ink);font:600 14px/1 var(--t9-body);cursor:pointer}
.t9-tool .t9-bd-day[aria-pressed="true"]{background:var(--t9-ink);color:var(--t9-surface);border-color:var(--t9-ink)}
.t9-tool .t9-bd-extra{width:100%;min-height:64px;resize:vertical;border:1.5px solid var(--t9-line-strong);border-radius:10px;background:var(--t9-surface);padding:8px 10px;font:500 15px/1.4 var(--t9-body)}
.t9-bd-ends{display:flex;flex-wrap:wrap;gap:8px 24px}
.t9-bd-ends[hidden]{display:none}
.t9-bd-cals{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.t9-bd-cal{margin:0;min-width:0}
.t9-bd-cal figcaption{font:700 14px/1.3 var(--t9-body);margin-bottom:6px}
.t9-bd-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center;font:500 13px/1 var(--t9-body);font-variant-numeric:tabular-nums}
.t9-bd-h{color:var(--t9-muted);font-weight:700;font-size:11px;padding:4px 0}
.t9-bd-c{display:inline-flex;align-items:center;justify-content:center;min-height:28px;border-radius:7px;color:var(--t9-muted)}
.t9-bd-in{background:#E3F3EC;color:var(--t9-green-ink);font-weight:700}
.t9-bd-hol{background:#FCEBD5;color:#8A4B08;font-weight:700}
.t9-bd-end{background:var(--t9-green);color:#fff;font-weight:800}
.t9-bd-key{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:13px;color:var(--t9-muted);margin:10px 0 0}
.t9-bd-key .t9-bd-c{min-width:24px;min-height:22px;font-size:12px}
.t9-bd-list{margin:10px 0 0;padding-left:18px;font-size:14px}
.t9-tool .t9-bd-months thead th:last-child{text-align:left}
.t9-tool .t9-bd-months td:last-child{text-align:left;font-size:13.5px;color:var(--t9-muted)}
.t9-tool .t9-bd-months td:nth-child(2){font-weight:700}
@media (max-width:420px){.t9-tool[data-t9-tool="workdays"] .t9-seg{display:flex!important;flex-wrap:wrap;width:100%!important;max-width:100%;border-radius:14px}
.t9-tool[data-t9-tool="workdays"] .t9-seg-btn{flex:1 1 auto;white-space:nowrap}}