.month-schedule-dialog{width:min(1100px,calc(100vw - 24px));max-height:92vh;overflow-y:auto;padding:24px;border:0;border-radius:22px;color:var(--ink);background:var(--paper)}.month-schedule-console{font-size:16px;line-height:1.5}.month-schedule-console h2{font-size:26px;margin:0}.month-schedule-console h3{font-size:18px;margin:0 0 10px}.month-schedule-console p{margin:8px 0;font-size:16px}.ms-header,.ms-selectors,.ms-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.ms-header{align-items:flex-start}.month-schedule-console button,.month-schedule-console input,.month-schedule-console select{font:inherit;min-height:44px}.month-schedule-console button{padding:8px 12px;border:1px solid var(--line);border-radius:10px;color:var(--pine);background:white}.month-schedule-console button.primary-button{background:var(--pine);color:#fff}.month-schedule-console button:disabled{opacity:.55;cursor:not-allowed}.ms-selectors{justify-content:flex-start;flex-wrap:wrap;margin:20px 0}.ms-selectors label{display:grid;gap:6px;min-width:170px}.ms-selectors input,.ms-selectors select{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:white}.ms-calendar-heading{margin-top:20px}.ms-calendar-scroll{min-width:0;margin:14px 0}.ms-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;min-width:0}.ms-week-title{text-align:center;padding:10px;background:#eef2ee;border-radius:8px;font-weight:700}.month-schedule-console .ms-day{text-align:left;min-height:116px;padding:10px;display:flex;flex-direction:column;align-items:flex-start;gap:4px;box-shadow:none}.ms-day b{font-size:18px}.ms-day strong{font-size:14px}.ms-day span{font-size:14px;white-space:nowrap;font-variant-numeric:tabular-nums}.ms-day small{font-size:14px}.month-schedule-console .ms-day.working{border-color:#adc4b6;background:#eaf3ed}.month-schedule-console .ms-day.leave{border-style:dashed;color:#8e583b;background:#fff6eb}.month-schedule-console .ms-day.closed{background:#eee;color:#6a7974;opacity:1}.ms-message{white-space:pre-line;padding:14px;background:#f1f4f1;border-radius:10px;overflow-wrap:anywhere}.ms-footer{position:sticky;bottom:-24px;padding:16px 0;background:var(--paper);border-top:1px solid var(--line);z-index:1}.ms-footer span{font-size:14px;color:var(--muted)}.month-preview-page{padding:24px;max-width:1200px;margin:auto}@media(max-width:620px){.month-schedule-dialog{padding:16px}.ms-header h2{font-size:22px}.ms-selectors label{min-width:135px;flex:1}.ms-footer{bottom:-16px;align-items:stretch;flex-direction:column}.month-preview-page{padding:12px}}
.ms-daily-status:empty{display:none}
.ms-day-editor fieldset{display:grid;gap:14px;min-width:0;margin:16px 0;padding:0;border:0}
.ms-day-editor label{display:grid;min-width:0;gap:4px}
.ms-day-editor input{width:100%;min-width:0;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:white;box-sizing:border-box}
.ms-slot-group h3{margin:0 0 8px}
.month-schedule-console .ms-slots-closed{font-size:14px;color:var(--muted);margin:0}
.ms-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,102px),1fr));gap:8px}
.month-schedule-console .ms-shift-slot{display:grid;justify-items:start;gap:3px;min-width:0;min-height:58px;padding:8px 9px;text-align:left;color:#40534a;background:#e2e6e2;border-color:#c7d0c8}
.ms-shift-slot strong{font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.ms-shift-slot strong span,.ms-shift-slot small{font-size:12px;font-weight:500}
.month-schedule-console .ms-shift-slot[data-slot-state="working"]{color:#18462c;background:#e4f5e5;border-color:#86af92}
.month-schedule-console .ms-shift-slot[data-slot-state="partial"]{color:#623d20;background:#fff3d9;border-color:#b59463}
.month-schedule-console .ms-shift-slot[data-slot-state="blocked"]{color:#514439;background:#e9e4df;border-style:dashed;opacity:1}
.ms-day-editor .ms-footer{justify-content:flex-end}
.ms-day-editor .ms-footer>div{min-width:0;margin-inline-end:auto}
.ms-day-editor .ms-footer>div:not(:has(p:not(:empty))){display:none}
.ms-day-editor .ms-day-error{margin:0;padding:8px 10px;border-radius:8px;color:#792821;background:#fff0ec;font-size:14px;overflow-wrap:anywhere}
.ms-day-editor .ms-day-summary{margin:0;font-size:14px;color:var(--muted)}
.ms-day-editor .ms-day-error:empty,.ms-day-editor .ms-day-summary:empty{display:none}
.ms-day .ms-block-range{color:#855337}
.ms-day-range{display:inline-flex;white-space:nowrap;font-variant-numeric:tabular-nums}
.ms-date-summary{display:none}
@media(max-width:760px){
 .month-schedule-console .ms-calendar{min-width:0;gap:4px}
 .month-schedule-console .ms-week-title{padding:6px 0;font-size:13px}
 .month-schedule-console .ms-day{gap:3px;min-width:0;min-height:80px;padding:7px 3px}
 .month-schedule-console .ms-day b{font-size:16px}
 .month-schedule-console .ms-day strong,.month-schedule-console .ms-day small,.month-schedule-console .ms-day span{font-size:clamp(11px,3.05vw,12px);line-height:1.25}
}
@media(max-width:600px){
 .month-schedule-console .ms-day{min-height:46px;padding:4px 2px;align-items:center;justify-content:center;gap:2px}
 .month-schedule-console .ms-day > .ms-day-range,
 .month-schedule-console .ms-day > small{display:none}
 .month-schedule-console .ms-day[data-summary-selected]{outline:2px solid var(--pine);outline-offset:-2px}
 .ms-date-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .6rem;min-height:2.5rem;padding:.35rem .6rem;border-radius:.6rem;background:#eef2ee;font-size:.875rem}
 .ms-date-summary>time{font-weight:700;white-space:nowrap}
 .ms-date-summary .ms-block-range{color:#855337}
 .month-schedule-console .ms-selectors{gap:8px}
 .month-schedule-console .ms-selectors label{min-width:0;flex:1 1 40%}
 .month-schedule-console .ms-selectors input,
 .month-schedule-console .ms-selectors select{min-width:0;width:100%}
}
