.schedule-page{padding:20px;min-width:0}.schedule-heading{display:flex;justify-content:space-between;gap:16px;align-items:start}.schedule-heading h2{margin:0}.schedule-selectors{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:16px 0}.schedule-page fieldset{border:0;padding:0;margin:0;min-width:0}.schedule-page .field,.schedule-page input,.schedule-page select{min-width:0;max-width:100%;box-sizing:border-box}.schedule-page input[type=date],.schedule-page input[type=time]{appearance:none;min-height:42px;display:block;width:100%}.schedule-week{margin:16px 0;display:grid;gap:8px}.schedule-day{display:grid;grid-template-columns:125px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--border,#e5e2ef);padding:8px 0}.schedule-window{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) 40px;gap:8px;align-items:center;max-width:410px;margin-bottom:5px}.schedule-window .btn{padding:8px}.schedule-tools{display:flex;gap:8px;flex-wrap:wrap}.schedule-exception{display:grid;grid-template-columns:minmax(120px,1fr) auto minmax(90px,1fr) minmax(90px,1fr) auto;align-items:center;gap:10px;margin-bottom:12px}.schedule-check{display:flex;gap:6px;align-items:center}.schedule-feedback:empty{display:none}.schedule-feedback{color:#9b302d;overflow-wrap:anywhere}.schedule-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:700px){.schedule-page{padding:12px}.schedule-heading{flex-direction:column}.schedule-selectors{grid-template-columns:1fr}.schedule-day{grid-template-columns:minmax(0,1fr) auto}.schedule-day>div{grid-column:1/-1;grid-row:2}.schedule-day>.btn{grid-column:2;grid-row:1}.schedule-window{max-width:100%}.schedule-exception{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:10px 0;border-bottom:1px solid #ddd}.schedule-exception>.btn{grid-column:1/-1}.schedule-page input,.schedule-page select{font-size:16px}}
.schedule-day-short{display:none}.schedule-guidance{font-size:13px;color:var(--muted,#777);margin:4px 0 10px}.schedule-page h2{font-size:20px}.schedule-page .notice{font-size:13px;padding:10px 12px}.schedule-day>.btn{min-width:32px;padding:6px}.schedule-page h3{font-size:16px}.schedule-heading>.btn{white-space:nowrap}
.schedule-modal{--modal-max-width:920px}.schedule-modal .schedule-page{border:0;box-shadow:none;padding:0;background:none}.schedule-modal .schedule-heading h2{display:none}.schedule-modal .schedule-guidance{margin:0}.schedule-modal .modal-body{padding:14px 18px}.schedule-modal .modal-footer{display:flex;flex-direction:row;justify-content:flex-end;gap:8px}.schedule-modal .modal-footer .btn{width:auto;font-size:13px;padding:8px 12px}.schedule-modal .schedule-selectors{gap:8px;margin:10px 0;grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-modal .schedule-selectors>.field:last-child:nth-child(3){grid-column:1/-1}.schedule-modal .schedule-day{grid-template-columns:90px minmax(0,1fr) 30px;gap:8px}.schedule-modal .schedule-day>strong{font-size:12px}.schedule-modal .schedule-window{max-width:none}.schedule-modal .schedule-window input{min-height:34px;padding:5px 8px;font-size:13px}.schedule-modal .schedule-tools .btn{font-size:12px;padding:6px 8px}.schedule-modal .schedule-week{margin:10px 0;gap:2px}.schedule-modal .schedule-page .notice{margin:8px 0;padding:7px 10px;font-size:12px}.schedule-modal .schedule-page h3{font-size:13px;margin:12px 0 8px}
.schedule-overview{padding:16px;min-width:0}.schedule-list-toolbar,.schedule-list-dates,.schedule-list-caption,.schedule-list-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.schedule-list-toolbar{flex-wrap:wrap}.schedule-list-dates{justify-content:flex-start;min-width:0}.schedule-overview .btn,.schedule-overview .input{min-height:34px;font-size:12px;padding:6px 10px}.schedule-overview .input{min-width:0;width:100%}.schedule-list-dates input{width:138px!important}.schedule-list-filters{margin:12px 0;color:var(--ink-muted);font-size:12px}.schedule-list-filters>summary{cursor:pointer}.schedule-list-filters>div{display:grid;grid-template-columns:1fr 1fr 1.3fr auto;gap:8px;align-items:end;margin-top:8px}.schedule-list-filters .field{min-width:0}.schedule-list-filters .label{font-size:12px}.schedule-list-filters select.input{padding-right:28px}.schedule-list-filters .schedule-check{min-height:34px;font-size:12px;white-space:nowrap}.schedule-list-caption{margin:12px 0 8px;font-size:13px}.schedule-list-caption small,.schedule-list-footer{color:var(--ink-muted);font-size:11px}.schedule-table{border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}.schedule-table-head,.schedule-table-row{display:grid;grid-template-columns:minmax(140px,1.8fr) repeat(var(--schedule-days),minmax(0,1fr))}.schedule-table-head{background:var(--bg);font-size:11px;font-weight:600}.schedule-table-head>span{padding:9px 4px;text-align:center;min-width:0}.schedule-table-head>span:first-child{text-align:left;padding-left:10px}.schedule-table-head small{display:block;font-size:10px;color:var(--ink-muted);margin-top:2px}.schedule-table-row{border-top:1px solid var(--line)}.schedule-table-row>div{min-width:0;border-right:1px solid var(--line)}.schedule-table-row>div:last-child{border-right:0}.schedule-person button{border:0;background:transparent;width:100%;height:100%;min-width:0;padding:10px;text-align:left;color:var(--ink);cursor:pointer}.schedule-person strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.schedule-person small{display:block;font-size:10px;color:var(--ink-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}.schedule-cell{border:0;background:transparent;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:6px 4px;width:100%;height:100%;min-height:66px;cursor:pointer;color:var(--ink);min-width:0}.schedule-cell:hover,.schedule-person button:hover{background:var(--bg)}.schedule-cell:focus-visible,.schedule-person button:focus-visible{outline:2px solid var(--accent,#7360bb);outline-offset:-2px}.schedule-shift{display:block;border:1px solid #d9d0f2;background:#f0ebfb;color:#453669;border-radius:6px;padding:5px 2px;min-width:0;width:100%;box-sizing:border-box}.schedule-shift strong{font-size:10px;font-weight:600;white-space:nowrap}.schedule-shift small{display:block;font-size:9px;line-height:1.3;overflow-wrap:anywhere;margin-top:2px}.schedule-cell.is-empty{color:var(--ink-muted)}.schedule-cell>small{font-size:10px}.schedule-table .is-today{background:#f4f0ff}.schedule-list-footer{margin-top:10px}.schedule-list-footer>div{display:flex;align-items:center;gap:6px}.schedule-list-empty{text-align:center;font-size:13px;padding:20px 8px;color:var(--ink-muted)}
@media(max-width:1000px){.schedule-list-filters>div{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-table-head,.schedule-table-row{grid-template-columns:minmax(120px,1.3fr) repeat(var(--schedule-days),minmax(0,1fr))}.schedule-shift strong{font-size:12px}}
@media(max-width:600px){.schedule-overview{padding:10px}.schedule-list-toolbar>.btn{margin-left:auto}.schedule-list-dates{display:grid;grid-template-columns:30px 1fr 30px;gap:6px;width:100%}.schedule-list-dates input{grid-column:1/-1;width:100%!important}.schedule-list-filters>div{gap:6px}.schedule-overview .input,.schedule-modal .schedule-selectors .input{font-size:16px}.schedule-list-filters .schedule-check{white-space:normal}.schedule-list-caption{align-items:baseline;flex-wrap:wrap}.schedule-table-head,.schedule-table-row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}.schedule-shift strong{font-size:13px}.schedule-list-footer{align-items:flex-start}.schedule-modal .modal-body{padding:10px}.schedule-modal .schedule-day{grid-template-columns:24px minmax(0,1fr) 28px;gap:4px}.schedule-modal .schedule-window{grid-template-columns:minmax(0,1fr) 6px minmax(0,1fr) 24px;gap:2px}.schedule-modal .schedule-window input{font-size:16px;padding:3px}.schedule-modal .schedule-selectors{grid-template-columns:minmax(0,1fr)}.schedule-modal .schedule-selectors>.field:last-child:nth-child(3){grid-column:auto}.schedule-modal .modal-footer .btn{font-size:12px;padding:7px 10px}}
@media(max-width:700px){.schedule-heading{flex-direction:row;gap:8px;align-items:start}.schedule-heading>.btn{padding:8px;font-size:12px}.schedule-page h2{font-size:18px}.schedule-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}.schedule-selectors .label{font-size:12px}.schedule-day-full{display:none}.schedule-day-short{display:inline}.schedule-day{grid-template-columns:28px minmax(0,1fr) 30px;gap:5px;padding:4px 0}.schedule-day>div{grid-column:2;grid-row:1}.schedule-day>.btn{grid-column:3;grid-row:1}.schedule-window{grid-template-columns:minmax(0,1fr) 8px minmax(0,1fr) 28px;gap:3px;margin:0}.schedule-window input{padding:4px;min-height:36px!important}.schedule-window .btn{padding:4px;min-height:32px}.schedule-window span{font-size:10px}.schedule-tools .btn{font-size:12px;padding:8px}.schedule-page .schedule-exception input{min-height:38px}.schedule-page .schedule-exceptions:empty{display:none}}

.schedule-cell:not(button){cursor:default}.schedule-shift{font:inherit;cursor:pointer}.schedule-shift:hover{background:#e7def8}.schedule-shift:focus-visible{outline:2px solid var(--accent,#7360bb);outline-offset:-2px}
