/* Optional date exceptions, kept separate from the base offer. */
.season-calendar-editor{font:inherit;color:var(--ink,#283329)}
.season-calendar-editor [hidden]{display:none!important}
.calendar-optional-toggle{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.6;cursor:pointer}
.calendar-optional-toggle>input{width:18px;height:18px;accent-color:#63774c;margin:0;flex-shrink:0}
.calendar-optional-toggle small{font-size:11px;color:#7b846f;margin-left:7px}
.calendar-add-label{font-size:13px;font-weight:500;margin:22px 0 10px}
.calendar-add-actions{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:23px}
.calendar-add-actions button{border:1px solid #bdc9b2;background:#edf1e4;border-radius:3px;padding:10px 15px;color:#4e6440;font:inherit;font-size:13px;min-height:42px}
.calendar-rule-list{display:grid;gap:22px}
.season-rule-card{min-width:0;margin:0;padding:18px 0 0;border:0;border-top:1px solid #d8dece}
.season-rule-card>legend{font-size:14px;font-weight:500;color:#435b35;padding:0 12px 0 0}
.season-rule-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:baseline;font-size:12px;line-height:1.6;color:#69765e;margin-bottom:17px}
.season-rule-toolbar>div{display:flex;gap:13px;flex-shrink:0}
.season-rule-toolbar button,.calendar-selection button{border:0;background:transparent;color:#7e6c5c;text-decoration:underline;text-underline-offset:3px;padding:3px 0;font-size:11px}
.season-rule-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:25px;align-items:start}
.season-rule-layout label,.season-input-label{display:block;font-size:12px;font-weight:500;margin:0 0 8px;color:#45523c}
.season-rule-layout input,.season-rule-layout select{display:block;width:100%;min-width:0;height:43px;padding:9px 11px;border:1px solid #ccd2c1;border-radius:3px;background:#fdfcf7;color:var(--ink,#283329);font:inherit;font-size:14px}
.season-help{font-size:11px;line-height:1.7;color:#737e66;margin:8px 0 0}
.season-months{margin-top:17px}
.season-month-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:17px}
.season-month-grid button{min-height:37px;padding:7px 3px;border:1px solid #cbd3be;border-radius:3px;background:#f8f9f1;color:#6e7b61;font:inherit;font-size:11px}
.season-month-grid button[aria-pressed=true],.calendar-day[aria-pressed=true]{background:#dfe8d4;color:#31492b;border-color:#6b8455;box-shadow:inset 0 0 0 1px #6b8455}
.day-calendar{max-width:430px;margin-top:16px;background:#fffdf8;border:1px solid #d5dcc9;border-radius:3px;padding:13px}
.calendar-navigation{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.calendar-navigation>button{width:31px;height:34px;flex-shrink:0;border:1px solid #d4dcc8;background:#f4f6ec;border-radius:3px;color:#5e714e;font-size:22px;line-height:1}
.calendar-month-select{display:flex;align-items:center;gap:6px;min-width:0}
.calendar-month-select select{height:34px;padding:5px 7px;font-size:12px;max-width:148px;background:#fffdf8}
.calendar-month-select select:last-of-type{width:83px}
.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.calendar-weekday{font-size:10px;text-align:center;color:#7e866f;padding:5px 0 7px}
.calendar-day{min-width:0;min-height:34px;padding:5px 1px;font-size:12px;line-height:1.3;border:1px solid #d9dfcf;background:#f9faf4;color:#536747;border-radius:3px}
.calendar-day:hover{border-color:#7f946a}
.calendar-selection{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:11px;font-size:11px;color:#6c7b60}
.legacy-date-range{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:17px}.legacy-date-range .season-help{grid-column:1/-1}
.season-calendar-status{font-size:12px;color:#8b5b43;margin:12px 0 0;line-height:1.6}
.season-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:700px){.season-rule-layout{grid-template-columns:1fr;gap:17px}.season-rule-price{max-width:430px}.season-month-grid{max-width:430px}.season-rule-toolbar{align-items:flex-start}.season-rule-toolbar>span{max-width:310px}.season-rule-layout input,.season-rule-layout select{font-size:13px}}
@media(max-width:480px){.calendar-optional-toggle{font-size:13px}.calendar-optional-toggle small{font-size:10px}.season-rule-toolbar{font-size:11px;gap:10px}.season-rule-toolbar>span{max-width:210px}.season-rule-layout{gap:15px}.season-month-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.season-rule-card>legend{font-size:13px}.day-calendar{padding:10px}.calendar-month-select select{font-size:11px;padding:5px;max-width:126px}.calendar-month-select select:last-of-type{width:75px}.calendar-grid{gap:3px}.calendar-day{font-size:11px;min-height:31px}.calendar-navigation{gap:5px}.calendar-navigation>button{width:27px;height:32px}.season-rule-layout label,.season-input-label{font-size:11px}}
@media print{.calendar-optional-toggle,.calendar-add-label,.calendar-add-actions,.season-rule-toolbar button,.calendar-navigation,.calendar-selection button{display:none!important}.season-rule-layout{grid-template-columns:1.3fr 1fr;gap:15px}.season-rule-layout input,.season-rule-layout select{height:29px;font-size:10px;padding:4px 6px}.season-rule-layout label,.season-input-label{font-size:9px;margin-bottom:5px}.season-rule-card{padding-top:12px;break-inside:avoid}.season-rule-card>legend{font-size:11px}.season-rule-toolbar{font-size:9px;margin-bottom:10px}.season-month-grid{gap:3px;margin-bottom:10px}.season-month-grid button{font-size:8px;min-height:23px;padding:3px}.season-month-grid button:not([aria-pressed=true]){display:none}.day-calendar{padding:8px;max-width:300px}.calendar-day{font-size:8px;min-height:21px}.calendar-weekday{font-size:7px}.calendar-grid{gap:2px}.season-help{font-size:8px}.season-rule-price{max-width:none}}

/* Price is the required first step, followed by a clearly separated schedule. */
.season-rule-layout{display:block}
.season-rule-price.season-price-required{width:100%;max-width:none;margin:2px 0 23px;padding:19px 20px;background:#edf1e5;border:1px solid #c8d3b9;border-radius:4px}
.season-rule-price.season-price-required>label,.season-rule-layout .season-schedule-label{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;line-height:1.55;margin-bottom:12px}
.season-step-number{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex-shrink:0;border:1px solid #aebf9d;border-radius:50%;font-size:11px;color:#4e6740;background:#f7f9f0}
.season-required-label{display:inline-block;margin-left:8px;font-size:11px;font-weight:500;color:#4d6241;border-bottom:1px solid #9caf88;line-height:1.45;vertical-align:middle}
.season-money-input{position:relative;width:100%}
.season-money-input>span{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:25px;line-height:1;color:#637553;pointer-events:none}
.season-rule-layout .season-money-input>input{height:61px;font-size:27px;font-weight:500;line-height:1.3;padding:12px 15px 12px 42px;background:#fffef9;border-color:#aebb9c}
.season-rule-layout .season-money-input>input::placeholder{font-size:20px;font-weight:400;color:#8a947c;opacity:1}
.season-price-required .season-help{font-size:12px;margin-top:9px;color:#657557}
.season-schedule>select{max-width:430px}
.season-rule-layout .season-field-error,.season-rule-card>.season-field-error{display:flex;align-items:flex-start;gap:7px;margin:8px 0 12px;font-size:12px;font-weight:500;line-height:1.7;color:#913f30;text-align:left}
.season-field-error:before{content:'!';display:inline-flex;align-items:center;justify-content:center;flex:0 0 15px;width:15px;height:15px;margin-top:3px;border:1px solid currentColor;border-radius:50%;font-size:10px;font-weight:700;line-height:1}
.season-field-error[hidden]{display:none!important}
.season-rule-layout input.season-field-invalid,.season-rule-layout select.season-field-invalid{border:2px solid #a8503e;background:#fff8f3;box-shadow:0 0 0 1px #a8503e0d}
.season-month-grid.season-field-invalid{outline:2px solid #a8503e;outline-offset:5px;border-radius:2px}
.day-calendar.season-field-invalid{border:2px solid #a8503e;background:#fffaf4}
.season-rule-card.season-field-invalid{border-top-color:#a8503e}
.season-month-grid .season-conflict-choice,.calendar-grid .season-conflict-choice{position:relative;border:2px solid #a8503e!important;background:#f8e7dd!important;color:#813a2a!important;box-shadow:none!important}
.season-month-grid .season-conflict-choice:after{content:' !';font-weight:700}
.calendar-grid .season-conflict-choice:after{content:'!';position:absolute;top:0;right:3px;font-size:9px;font-weight:700;line-height:1.2}
.season-month-grid .season-conflict-choice:focus-visible,.calendar-grid .season-conflict-choice:focus-visible{outline:3px solid #583a2a;outline-offset:3px}
@media(max-width:700px){.season-rule-layout{display:block}.season-rule-price.season-price-required{max-width:none}.season-price-required{padding:17px}.season-rule-layout .season-money-input>input{font-size:25px;height:58px}.season-rule-price.season-price-required>label,.season-rule-layout .season-schedule-label{font-size:13px}}
@media(max-width:480px){.season-rule-price.season-price-required{padding:15px 13px;margin-bottom:20px}.season-rule-price.season-price-required>label,.season-rule-layout .season-schedule-label{gap:8px;font-size:12px}.season-required-label{font-size:10px;margin-left:5px}.season-step-number{width:22px;height:22px;font-size:10px}.season-rule-layout .season-money-input>input{font-size:24px;height:56px;padding-left:37px}.season-money-input>span{font-size:23px;left:12px}.season-price-required .season-help{font-size:11px}.season-rule-layout .season-field-error,.season-rule-card>.season-field-error{font-size:11px;line-height:1.65}.season-month-grid.season-field-invalid{outline-offset:3px}}
@media print{.season-rule-layout{display:block}.season-rule-price.season-price-required{padding:10px 12px;margin-bottom:13px}.season-rule-price.season-price-required>label,.season-rule-layout .season-schedule-label{font-size:10px;margin-bottom:7px}.season-step-number{width:18px;height:18px;font-size:8px}.season-required-label{font-size:8px}.season-rule-layout .season-money-input>input{height:36px;font-size:17px;padding:6px 10px 6px 30px}.season-money-input>span{font-size:17px;left:10px}.season-price-required .season-help,.season-rule-layout .season-field-error{font-size:8px}.season-field-error:before{width:12px;height:12px;flex-basis:12px;font-size:8px;margin-top:1px}}

/* Date changes are optional direct actions, without a separate enable step. */
.calendar-add-actions{margin:0 0 20px}
.calendar-saved-rules{display:flex;align-items:center;gap:9px 16px;flex-wrap:wrap;margin:0 0 18px;padding:12px 14px;background:#f0f2e9;border:1px solid #d5ddc8;border-radius:3px;color:#68765c;font-size:12px}
.calendar-saved-rules p{margin:0;flex:1 1 200px}
.calendar-saved-rules button{border:0;padding:3px 0;background:transparent;color:#536b42;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:3px}
@media print{.calendar-saved-rules{display:none!important}}

/* Browser-style tabs navigate date types without creating another rule. */
.calendar-tabs{display:flex;align-items:flex-end;gap:5px;padding:7px 8px 0;background:#e9ece3;border:1px solid #d6ddce;border-bottom:0;border-radius:9px 9px 0 0}
.calendar-tabs [role=tab]{position:relative;flex:0 1 240px;min-width:0;min-height:48px;margin-bottom:-1px;padding:13px 19px;border:1px solid transparent;border-bottom:1px solid #d6ddce;border-radius:9px 9px 0 0;background:transparent;color:#6b7561;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.calendar-tabs [role=tab][aria-selected=true]{z-index:1;background:#fffdf8;border-color:#d6ddce;border-bottom-color:#fffdf8;color:#334b29;font-weight:500}
.calendar-tabs [role=tab]:hover{color:#334b29;background:#f4f6ef}
.calendar-tabs [role=tab][aria-selected=true]:hover{background:#fffdf8}
.calendar-tabs [role=tab]:focus-visible{outline:2px solid #6b8455;outline-offset:-5px}
.calendar-tab-panel{padding:22px;border:1px solid #d6ddce;border-top:1px solid #d6ddce;border-radius:0 0 5px 5px;background:#fffdf8}
.calendar-tab-intro{margin:0 0 19px;color:#6c785f;font-size:13px;line-height:1.7}
.calendar-tab-panel .calendar-rule-list:empty{display:none}
.calendar-tab-panel .calendar-add-actions{margin:21px 0 0}
.calendar-tab-panel .calendar-rule-list:empty+.calendar-add-actions{margin-top:0}
.calendar-tab-panel .season-rule-card:first-child{border-top:0;padding-top:0}
@media(max-width:480px){.calendar-tabs{gap:3px;padding:5px 5px 0}.calendar-tabs [role=tab]{flex:1;min-height:47px;font-size:12px;padding:11px 10px}.calendar-tab-panel{padding:17px 13px}.calendar-tab-intro{font-size:12px}.calendar-tab-panel .season-rule-toolbar{flex-wrap:wrap;gap:5px}}
@media print{.calendar-tabs,.calendar-tab-intro{display:none!important}.season-calendar-editor .calendar-tab-panel[hidden]{display:block!important}.calendar-tab-panel{padding:12px 0;border:0;background:transparent}.calendar-tab-panel:has(.calendar-rule-list:empty){display:none!important}}
