:root{--paper:#fffdf8;--cream:#f8f1e9;--ink:#563c34;--muted:#92766b;--rose:#ad6165;--gold:#c4a25f;--line:rgba(174,132,69,.28);--shadow:0 24px 70px rgba(91,61,45,.09)}
*{box-sizing:border-box}body.availability-page{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -10%,rgba(234,217,174,.38),transparent 30%),linear-gradient(180deg,#fffaf3,#f8f1e9);color:var(--ink)}
button,input{font:inherit}.availability-shell{width:min(1180px,calc(100% - 30px));margin:0 auto;padding:24px 0 80px}.availability-shell .top-nav{margin-bottom:20px}
.availability-hero,.availability-card,.availability-gate{border:1px solid var(--line);border-radius:28px;background:rgba(255,253,248,.95);box-shadow:var(--shadow);padding:clamp(24px,4vw,44px);margin:20px 0}.availability-hero{text-align:center}.availability-hero h1{margin:.14em 0;font-size:var(--flowfm-hero-title-size,clamp(2.1rem,4vw,3.4rem));font-weight:400}.availability-hero>p:last-child{max-width:720px;margin:12px auto 0;color:var(--muted);line-height:1.65}
.availability-heading{margin-bottom:24px}.availability-heading h2{margin:0 0 8px;font-size:var(--flowfm-section-title-size,clamp(1.7rem,3vw,2.55rem));font-weight:400}.availability-heading p:last-child{max-width:760px;margin:0;color:var(--muted);line-height:1.55}
.availability-link,.edit-rhythm,.choice-button,.weekday-chip,.preset-button,.close-rhythm-editor,.toggle-custom-days,.add-rhythm-window,.remove-rhythm-window,.copy-all-seasons,.cancel-rhythm,.save-rhythm{border:1px solid rgba(173,97,101,.3);border-radius:999px;background:#fffdf8;color:var(--ink);cursor:pointer}.availability-link{display:inline-flex;padding:11px 17px;background:#f7e6e3;text-decoration:none;font:700 .64rem Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.availability-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.availability-season-card{display:grid;align-content:start;min-height:260px;padding:24px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,#fffdfa,#fbf4ee);box-shadow:0 16px 36px rgba(91,61,45,.055)}.season-card-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.season-state{border:1px solid var(--line);border-radius:999px;padding:6px 9px;color:var(--muted);font:700 .55rem Arial,sans-serif;letter-spacing:.1em}.availability-season-card h3{margin:22px 0 4px;font-size:clamp(1.45rem,3vw,2rem);font-weight:400}.season-summary{margin:0;color:var(--rose);font-size:1rem}.season-invitation{margin:18px 0 22px;color:var(--muted);line-height:1.5}.edit-rhythm{justify-self:start;margin-top:auto;padding:10px 17px;background:#f7e6e3;font:700 .62rem Arial,sans-serif;letter-spacing:.1em;text-transform:uppercase}.availability-message,.editor-message{min-height:20px;margin:14px 0 0;color:var(--rose);font-size:.88rem;font-style:italic}
.availability-editor{margin-top:28px;border:1px solid var(--line);border-radius:24px;background:#fff;padding:clamp(20px,4vw,36px);box-shadow:0 20px 55px rgba(91,61,45,.08);scroll-margin-top:24px}.rhythm-editor-header{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--line)}.rhythm-editor-header h2{margin:3px 0 0;font-size:clamp(1.7rem,3vw,2.4rem);font-weight:400}.close-rhythm-editor{padding:9px 15px;background:transparent;font-size:.8rem}
.rhythm-step{display:grid;grid-template-columns:44px 1fr;gap:18px;padding:26px 0;border-bottom:1px solid rgba(174,132,69,.18)}.rhythm-step-number{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;color:var(--rose);font:700 .72rem Arial,sans-serif}.rhythm-step-body h3{margin:2px 0 8px;font-size:1.3rem;font-weight:400}.rhythm-step-body>p{margin:0 0 16px;color:var(--muted);line-height:1.5}.choice-row{display:flex;flex-wrap:wrap;gap:10px}.choice-button{padding:12px 17px}.choice-button.is-selected,.weekday-chip.is-selected,.preset-button.is-selected{border-color:rgba(196,162,95,.8);background:linear-gradient(145deg,#fff4dd,#f8e5d7);box-shadow:0 8px 20px rgba(91,61,45,.07)}
.weekday-chips{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.weekday-chip{display:grid;gap:3px;padding:12px 5px}.weekday-chip span{font-weight:700}.weekday-chip small{color:var(--muted);font-size:.63rem}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.preset-button{display:grid;gap:5px;padding:16px 11px;text-align:left;border-radius:16px}.preset-button strong{font-size:.92rem}.preset-button span{color:var(--muted);font-size:.75rem;line-height:1.35}
.shared-window-editor{margin-top:14px;padding:15px;border:1px solid var(--line);border-radius:18px;background:#fffaf4}.shared-window-list,.custom-window-list{display:grid;gap:9px}.rhythm-window{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:9px;align-items:end}.rhythm-window label{display:grid;gap:5px}.rhythm-window label span{color:var(--muted);font:700 .56rem Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}.rhythm-window input{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px;background:#fff;color:var(--ink)}.add-rhythm-window,.remove-rhythm-window{padding:8px 12px;background:transparent;font:700 .57rem Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase}.add-rhythm-window{margin-top:10px;background:#f7e6e3}.remove-rhythm-window{margin-bottom:1px}
.rhythm-step-optional{border-bottom:0}.optional-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.toggle-custom-days{padding:9px 15px;background:#fffaf4;font-size:.78rem}.custom-day-editor{display:grid;gap:10px;margin-top:16px}.custom-day-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:#fffdf8}.custom-day-card.is-customized{background:#fff8ec}.custom-day-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.custom-day-heading label{display:flex;gap:8px;align-items:center}.custom-day-heading small{color:var(--muted)}.custom-day-windows{margin-top:12px}.quiet-note{color:var(--muted);font-style:italic}
.rhythm-review{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.8fr);gap:20px;margin-top:8px;padding:24px;border:1px solid rgba(196,162,95,.45);border-radius:20px;background:linear-gradient(145deg,#fffaf0,#fbefea)}.rhythm-review h3{margin:5px 0 8px;font-size:1.35rem;font-weight:400}.rhythm-review p{margin:0;color:var(--muted)}.copy-rhythm{display:grid;gap:10px}.copy-rhythm>p{color:var(--ink);font-size:.9rem}.copy-season-options{display:flex;flex-wrap:wrap;gap:8px}.copy-season-options label{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:7px 10px;background:#fff}.copy-all-seasons{justify-self:start;padding:8px 12px;background:transparent;font-size:.72rem}.rhythm-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}.cancel-rhythm,.save-rhythm{padding:11px 18px}.save-rhythm{background:#f3deda;font:700 .66rem Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}.save-rhythm:disabled{opacity:.55;cursor:wait}.editor-message{grid-column:1/-1;margin:0}
@media(max-width:900px){.weekday-chips{grid-template-columns:repeat(4,minmax(0,1fr))}.preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rhythm-review{grid-template-columns:1fr}}@media(max-width:680px){.availability-overview{grid-template-columns:1fr}.availability-season-card{min-height:220px}.rhythm-editor-header,.optional-heading,.custom-day-heading{align-items:flex-start}.rhythm-step{grid-template-columns:34px 1fr;gap:12px}.rhythm-step-number{width:30px;height:30px}.weekday-chips{grid-template-columns:repeat(2,minmax(0,1fr))}.rhythm-window{grid-template-columns:1fr 1fr}.remove-rhythm-window{grid-column:1/-1;justify-self:start}.rhythm-actions{display:grid;grid-template-columns:1fr 1fr}.cancel-rhythm,.save-rhythm{width:100%}}@media(max-width:440px){.preset-grid{grid-template-columns:1fr}.choice-row{display:grid}.choice-button{width:100%}.rhythm-review{padding:18px}.rhythm-actions{grid-template-columns:1fr}}
