.holiday-month-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0}.holiday-month-head h2{margin:0;font-size:23px;min-width:145px;text-align:center}.holiday-month-head button{min-width:40px}.month-picker{width:160px}.holiday-calendar{border:1px solid #dce6e9;border-radius:12px;overflow:hidden;margin-bottom:24px}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);background:#f0f5f6;text-align:center;padding:13px 0;font-weight:600;font-size:12px;color:#68828e}.calendar-weekdays span:last-child{color:#bf717b}.calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#e3ebee}.calendar-day{background:#fff;text-align:left;border:0;border-radius:0;min-height:145px;padding:12px 9px;display:flex;flex-direction:column;justify-content:flex-start;gap:10px;font-size:11px;min-width:0}.calendar-day:hover{background:#f0f8f6}.calendar-day:focus-visible{outline:3px solid #168d81;outline-offset:-3px}.calendar-day:disabled{cursor:not-allowed;background:#f6f7f8;opacity:.65}.calendar-day-number{font-size:14px;font-weight:700;display:flex;justify-content:space-between;align-items:center;color:#46616d}.calendar-day-number>span{background:#0c8a7c;color:white;border-radius:50%;padding:2px 4px;font-size:11px}.calendar-day.is-today .calendar-day-number{color:#0b897e}.is-today .calendar-day-number:before{content:'今日';font-size:8px;padding:2px 4px;background:#e1f3ed;border-radius:4px;margin-right:auto}.calendar-day.is-selected{background:#e5f6ef;box-shadow:inset 0 0 0 2px #1c9b8c}.calendar-pad{background:#f6f8fa;min-height:145px}.day-events{display:grid;gap:5px;width:100%;min-width:0}.calendar-event{display:block;background:#e6f3ef;color:#258477;padding:6px;border-radius:5px;line-height:1.5;overflow-wrap:anywhere;font-size:10px;font-weight:500}.calendar-event.global-event{background:#fbe8e6;color:#b45e58;font-weight:700}.global-day{background:#fffcfb}.day-events small{color:#78919d;font-size:9px;font-weight:400}.calendar-legend{display:flex;gap:15px;flex-wrap:wrap;font-size:11px;color:#298a7e;line-height:2;margin:10px 0}.global-label{color:#b6625c}.overview-filter{justify-content:space-between;align-items:center}.overview-filter label{min-width:240px;margin:0}.holiday-detail{background:#f7fafb;border:1px solid #e1e9eb;border-radius:12px;padding:22px}.holiday-detail h3{font-size:18px}.holiday-help{align-self:center;line-height:1.9;padding-bottom:16px}#holiday-form fieldset{border:1px solid #e0e8ea;border-radius:12px;padding:22px;margin:22px 0}#holiday-form legend{padding:0 9px;font-weight:700;color:#294d5a}.monthly-rule{display:flex;gap:12px;align-items:center;max-width:450px;margin-bottom:12px}.monthly-rule select{width:auto;flex:1}.monthly-rule>span{font-size:12px}.selected-holiday{display:grid;grid-template-columns:110px 1fr 42px;align-items:center;gap:12px;border-top:1px solid #e8eef0;padding:10px 0;font-size:12px}.planned-closures details{border-top:1px solid #e2eaed;margin-top:15px;padding-top:15px;font-size:12px}.planned-closures summary{cursor:pointer;color:#168477;font-weight:600}.editable .calendar-day,.editable .calendar-pad{min-height:104px}#holiday-error{position:sticky;bottom:10px;background:white;padding:10px 0}#holiday-error:empty{padding:0}.sidebar{overflow-y:auto}.sidebar-footer{flex-shrink:0}
@media(max-width:1100px){.calendar-day{min-height:125px;padding:10px 5px}.calendar-event{font-size:9px;padding:4px}}@media(max-width:760px){.holiday-month-head{flex-wrap:wrap;margin:16px 0}.holiday-month-head h2{font-size:21px;min-width:120px}.holiday-month-head>.actions{gap:6px}.holiday-month-head>.actions:last-child{margin-left:auto}.month-picker{width:150px;font-size:13px}.calendar-day{min-height:100px;padding:8px 3px;gap:6px}.calendar-pad{min-height:100px}.calendar-day-number{font-size:12px}.calendar-event{font-size:9px;line-height:1.35;padding:4px 2px;border-radius:3px}.day-events small{font-size:8px;line-height:1.5}.calendar-days{align-items:stretch}.calendar-weekdays{font-size:11px}.is-today .calendar-day-number:before{display:none}#holiday-form fieldset{padding:15px 10px;margin:20px 0}.selected-holiday{grid-template-columns:1fr 42px;gap:8px}.selected-holiday strong{grid-column:1}.selected-holiday input{grid-row:2;grid-column:1}.selected-holiday button{grid-column:2;grid-row:2}.monthly-rule{gap:6px}.monthly-rule select{padding:12px 5px;font-size:13px;min-width:0}.monthly-rule button{padding:12px}.overview-filter label{width:100%;min-width:0}.holiday-detail{padding:16px}.editable .calendar-day,.editable .calendar-pad{min-height:87px}.calendar-legend{gap:10px}.holiday-calendar{margin-left:-3px;margin-right:-3px}}
.integrated-holiday-settings{margin:24px 0;border:1px solid #d4e4e2;border-radius:15px;background:#f6faf9;padding:20px}.integrated-holiday-settings>summary{font-weight:700;font-size:17px;color:#155b5c;cursor:pointer;min-height:44px;align-content:center}.integrated-holiday-settings[open]>summary{margin-bottom:12px}.integrated-holiday-settings .panel{margin-bottom:0}
.store-holiday-links>button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:12px;background:#f4f8f8;border:1px solid #dbe7e7;border-radius:12px;padding:20px;min-width:0;min-height:130px;color:#244b53;font-weight:400}.store-holiday-links>button h3{margin:0;font-size:15px}.store-holiday-links>button small{color:#147d73;margin-top:auto;font-weight:600}.store-holiday-links>button:hover{background:#eaf6f2;border-color:#80b9ae}.store-holiday-links>button:focus-visible{outline:3px solid #168d81;outline-offset:3px}.store-holiday-calendar-help{margin:20px 0 0;font-size:13px;line-height:1.8;color:#637e85}#store-holiday-calendar{scroll-margin-top:20px;outline:none}.store-holiday-save{border-top:1px solid #e2eaed;padding-top:20px;margin-top:20px}.store-holiday-save>.primary{min-height:48px}.holiday-rule-dialog{width:min(560px,calc(100vw - 30px));max-height:85dvh;padding:0;border:1px solid #d4e4e2;border-radius:18px;color:#244b53;box-shadow:0 24px 80px #102e3540;overflow-y:auto}.holiday-rule-dialog::backdrop{background:#102e3566}.holiday-rule-dialog .panel-head{position:sticky;top:0;background:white;z-index:1}.holiday-rule-dialog .panel-body{padding:24px}.holiday-rule-dialog section[hidden]{display:none}.holiday-rule-dialog .weekdays{gap:12px}.holiday-rule-dialog .weekdays label{min-height:48px}.holiday-rule-dialog .primary{margin-top:10px;min-height:48px}.holiday-rule-dialog .monthly-rule{max-width:100%}#store-holiday-error:empty{display:none}#store-holiday-form .calendar-day{min-height:110px}@media(max-width:760px){.store-holiday-links>button{min-height:110px;padding:17px;width:100%}.store-holiday-links>button small{align-self:flex-end}.holiday-rule-dialog .panel-body{padding:20px 16px}#store-holiday-form .calendar-day{min-height:90px}.store-holiday-save>.primary{width:100%}}
.holiday-draft-status{background:#fff5dd;color:#8b641d;padding:12px 15px;border-radius:9px;font-size:13px;line-height:1.7}.holiday-draft-status[hidden]{display:none}
