.schedule-editor,.schedule-modal{--schedule-gap:calc(var(--base) * 0.75)}.schedule-editor{display:flex;flex-direction:column;gap:var(--schedule-gap);padding-bottom:calc(var(--base)*2)}.schedule-editor--notice{max-width:40rem}.schedule-editor h1{margin:0}.schedule-editor h2{margin:0;font-size:1rem}.schedule-editor__header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--schedule-gap)}.schedule-editor__save{display:flex;align-items:center;gap:calc(var(--base)*.5)}.schedule-editor__save .btn{margin:0}.schedule-editor__count{color:var(--theme-elevation-600);font-size:.875rem}.schedule-editor__error{margin:0;padding:calc(var(--base)*.5) var(--schedule-gap);border-radius:var(--style-radius-s);background:var(--theme-error-100);color:var(--theme-error-800)}.schedule-editor__empty{margin:0;color:var(--theme-elevation-600)}.schedule-units{display:flex;flex-wrap:wrap;gap:calc(var(--base)*.5)}.schedule-units__item{display:inline-flex;align-items:center;gap:calc(var(--base)*.5);padding:calc(var(--base)*.4) var(--schedule-gap);border:1px solid var(--theme-elevation-150);border-radius:var(--style-radius-s);background:rgba(0,0,0,0);color:var(--theme-text);font:inherit;cursor:pointer}.schedule-units__item span{color:var(--theme-elevation-500);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.schedule-units__item:hover{background:var(--theme-elevation-50)}.schedule-units__item[aria-current=true]{border-color:var(--theme-elevation-800);background:var(--theme-elevation-100);font-weight:600}.schedule-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--schedule-gap)}.schedule-toolbar .btn{margin:0}.schedule-filter{display:flex;flex-direction:column;gap:calc(var(--base)*.4)}.schedule-filter__label{margin:0;color:var(--theme-elevation-500);font-size:.8125rem}.schedule-legend{display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--base)*.5);margin:0;padding:0;list-style:none}.schedule-legend__item{display:inline-flex;align-items:center;gap:calc(var(--base)*.4);padding:calc(var(--base)*.25) calc(var(--base)*.5);border:1px solid var(--theme-elevation-150);border-radius:var(--style-radius-s);background:rgba(0,0,0,0);color:var(--theme-text);font:inherit;cursor:pointer}.schedule-legend__item:hover{border-color:var(--theme-elevation-400)}.schedule-legend__item[data-tone]:before{content:"";width:.6rem;height:.6rem;border-radius:50%;background:var(--tone)}.schedule-legend__item[aria-pressed=true]{border-color:var(--theme-elevation-800);background:var(--theme-elevation-800);color:var(--theme-elevation-0)}.schedule-legend__item[data-tone][aria-pressed=true]{border-color:var(--tone);background:color-mix(in srgb,var(--tone) 22%,transparent);color:var(--theme-text)}.schedule-legend__count{color:var(--theme-elevation-500);font-size:.75rem}[data-tone="0"]{--tone:#5b7fa6}[data-tone="1"]{--tone:#6e8f6a}[data-tone="2"]{--tone:#b8925a}[data-tone="3"]{--tone:#8a6a8f}[data-tone="4"]{--tone:#a6675b}[data-tone="5"]{--tone:#6f7f8c}.schedule-week{display:grid;min-width:0;grid-template-columns:repeat(7,minmax(0,1fr));gap:calc(var(--base)*.5)}@media(max-width:1100px){.schedule-week{grid-template-columns:minmax(0,1fr)}}.schedule-day{display:flex;flex-direction:column;gap:calc(var(--base)*.5);min-width:0}.schedule-day__header{display:flex;align-items:center;justify-content:space-between;padding:0 calc(var(--base)*.25)}.schedule-day__list{display:flex;flex-direction:column;gap:calc(var(--base)*.4);margin:0;padding:0;list-style:none}.schedule-day__add.btn{margin:0;width:100%}.schedule-day__add.btn .btn__content{justify-content:center}.schedule-day__menu{display:flex;flex-direction:column;gap:calc(var(--base)*.5);padding:calc(var(--base)*.5)}.schedule-day__menu p{margin:0;color:var(--theme-elevation-600);font-size:.8125rem}.schedule-day__menu .btn{margin:0}.schedule-card{position:relative;display:flex;flex-direction:column;gap:.15rem;width:100%;padding:calc(var(--base)*.5) calc(var(--base)*.5) calc(var(--base)*.5) calc(var(--base)*.75);border:1px solid var(--theme-elevation-100);border-radius:var(--style-radius-s);background:var(--theme-elevation-50);color:var(--theme-text);font:inherit;text-align:left;cursor:pointer}.schedule-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;border-radius:var(--style-radius-s) 0 0 var(--style-radius-s);background:var(--tone)}.schedule-card:hover{border-color:var(--theme-elevation-300)}.schedule-card[data-status=new]{border-style:dashed;border-color:var(--theme-success-500)}.schedule-card[data-status=changed]{border-color:var(--theme-warning-500)}.schedule-card[data-conflict]{border-color:var(--theme-error-500);background:var(--theme-error-50)}.schedule-card__time{font-size:1.125rem;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.schedule-card__program{font-size:.9375rem}.schedule-card__star{margin-left:.25rem;color:var(--theme-warning-500)}.schedule-card__meta{color:var(--theme-elevation-600);font-size:.8125rem}.schedule-card__status{align-self:flex-start;color:var(--theme-elevation-600);font-size:.75rem}.schedule-card--removed{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:calc(var(--base)*.5);border-style:dashed;color:var(--theme-elevation-500);font-size:.8125rem;text-decoration:line-through;cursor:default}.schedule-card--removed:before{background:var(--theme-elevation-300)}.schedule-card--removed .schedule-link{text-decoration:none}.schedule-modal{display:flex;align-items:center;justify-content:center;height:100%;background:color-mix(in srgb,var(--theme-bg) 75%,transparent);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.schedule-modal__wrapper{z-index:1;position:relative;display:flex;flex-direction:column;gap:var(--schedule-gap);width:min(32rem,100vw - var(--base)*2);max-height:calc(100vh - var(--base)*4);padding:calc(var(--base)*1.5);overflow-y:auto;border:1px solid var(--theme-elevation-150);border-radius:var(--style-radius-m);background:var(--theme-bg)}.schedule-modal__header{display:flex;align-items:center;justify-content:space-between;gap:var(--schedule-gap)}.schedule-modal__title{margin:0;font-size:1.25rem}.schedule-modal__close.btn{margin:0}.schedule-modal__body{display:flex;flex-direction:column;gap:var(--schedule-gap)}.schedule-modal__body .field-type{margin:0}.schedule-modal__body .field-description{margin:.25rem 0 0}.schedule-modal__lead{margin:0;color:var(--theme-elevation-600)}.schedule-modal__controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:calc(var(--base)*.5)}.schedule-modal__controls .btn{margin:0}.schedule-modal__controls .schedule-modal__remove.btn{margin-right:auto;--color:var(--theme-error-600);--bg-color:transparent;--btn-border:1px solid transparent;--hover-color:var(--theme-error-700);--hover-bg:var(--theme-error-100);--hover-btn-border:1px solid transparent}.schedule-modal__error{margin:0;color:var(--theme-error-600)}.schedule-field{display:flex;flex-direction:column;gap:.35rem;min-width:0;margin:0;padding:0;border:0}.schedule-when{display:flex;flex-wrap:wrap;align-items:flex-start;gap:var(--schedule-gap)}.schedule-when>*{margin:0}.schedule-when__time{flex:0 0 8rem}.schedule-chips{display:flex;flex-wrap:wrap;gap:.35rem}.schedule-chip{padding:.35rem .7rem;border:1px solid var(--theme-elevation-200);border-radius:999px;background:rgba(0,0,0,0);color:var(--theme-text);font:inherit;font-size:.8125rem;cursor:pointer}.schedule-chip[aria-pressed=true]{border-color:var(--theme-elevation-800);background:var(--theme-elevation-800);color:var(--theme-elevation-0)}.schedule-chip:disabled{opacity:.4;cursor:default}.schedule-link{padding:0;border:0;background:rgba(0,0,0,0);color:var(--theme-text);font:inherit;text-decoration:underline;cursor:pointer}.schedule-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.schedule-editor :focus-visible,.schedule-modal :focus-visible{outline:2px solid var(--theme-elevation-800);outline-offset:2px}