@font-face { font-family: ScheduleSans; src: url('/assets/fonts/DejaVuSans.ttf') format('truetype'); font-display: swap; }
.schedule-page { margin: 0; color: #f7f5ee; background: #111b2c; }
.schedule-page * { box-sizing: border-box; }
.schedule-page a { color: inherit; text-decoration: none; }
.schedule-page .fixed-bg { position: fixed; inset: 0; z-index: -1; }
.schedule-wrap { max-width: 1440px; margin: auto; padding: 0 20px; }
.schedule-intro { padding: 38px 0 26px; max-width: 850px; }
.schedule-intro h1 { font-size: clamp(2.1rem, 4vw, 3.5rem); margin: 20px 0; }
.schedule-intro p { margin: 12px 0; }
.schedule-intro nav, .schedule-hint { font-size: .85rem; color: #bdd0db; }
.schedule-intro nav a, .schedule-contact a, .schedule-check a { text-decoration: underline; text-underline-offset: 3px; }
.schedule-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; gap: 24px; }
.schedule-editor, .schedule-preview { min-width: 0; }
.schedule-panel { padding: 22px; border: 1px solid #526d80; border-radius: 16px; background: #17283a; margin-bottom: 20px; }
.schedule-panel h2 { font-size: 1.35rem; margin: 0 0 18px; }
.schedule-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.schedule-field { display: grid; align-content: start; gap: 6px; min-width: 0; font-size: .85rem; }
.schedule-wide { grid-column: 1 / -1; }
.schedule-field input, .schedule-field select, .schedule-field textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid #7996a7; border-radius: 8px; background: #0e1c2b; color: white; font: inherit; }
.schedule-field textarea { min-height: 65px; resize: vertical; }
.schedule-error { color: #ffbdb3; font-size: .78rem; }
.schedule-error:empty { display: none; }
.schedule-field [aria-invalid=true] { border-color: #ffbdb3; }
.schedule-templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; }
.schedule-templates legend { margin-bottom: 10px; }
.schedule-templates label { display: flex; align-items: center; gap: 6px; padding: 12px 8px; border: 1px solid #7895a7; border-radius: 8px; font-size: .82rem; cursor: pointer; }
.schedule-templates label:has(:checked) { background: #274958; border-color: #8de1f3; }
.schedule-check { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; font-size: .87rem; }
.schedule-check input { width: 19px; height: 19px; flex: none; accent-color: #39badd; margin: 4px 0 0; }
.schedule-day { border: 1px solid #526d80; border-radius: 10px; margin-top: 10px; padding: 12px; }
.schedule-day summary { cursor: pointer; font-weight: 700; }
.schedule-day-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.schedule-weekends { margin: 16px 0; padding: 0; border: 0; }
.schedule-weekends legend { font-size: .85rem; }
.schedule-activity-slot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #526d80; }
.schedule-activity-slot[hidden] { display: none; }
@media (max-width: 600px) { .schedule-activity-slot { grid-template-columns: minmax(0,1fr); } }
.schedule-times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.schedule-preview { position: sticky; top: 92px; }
.schedule-paper { background: white; line-height: 0; border-radius: 5px; overflow: hidden; }
.schedule-paper p { padding: 20px; color: #183348; line-height: 1.5; }
.schedule-paper svg { display: block; width: 100%; height: auto; font-kerning: none; font-feature-settings: 'kern' 0, 'liga' 0; }
.schedule-summary { margin: 14px 0; font-size: .85rem; overflow-wrap: anywhere; }
#order-price { font-size: 1.15rem; font-weight: 700; }
.schedule-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.schedule-page .btn:not(.site-header__cta), .schedule-page .btn-outline { display: inline-flex; justify-content: center; padding: 11px 16px; border-radius: 9px; border: 1px solid #567084; font: inherit; font-weight: 700; }
.schedule-page .btn-outline { background: transparent; color: white; }
.schedule-page button:disabled { opacity: .5; cursor: default; transform: none; }
.schedule-status { min-height: 24px; overflow-wrap: anywhere; font-size: .9rem; }
.schedule-status[data-state=error] { color: #ffbdb3; }
.schedule-status[data-state=success] { color: #b6f1c1; }
.schedule-contact { margin: 24px 0; padding: 20px 0; border-top: 1px solid #526d80; }
.schedule-dialog { width: min(1300px, 96vw); max-height: 94vh; border: 1px solid #7996a7; border-radius: 14px; background: #17283a; color: white; padding: 20px; }
.schedule-dialog::backdrop { background: rgba(0,0,0,.8); }
.schedule-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.schedule-dialog__bar h2 { margin: 0; font-size: 1.2rem; }
.schedule-final { overflow: auto; max-height: 68vh; background: #c3cbd1; }
.schedule-final canvas { display: block; width: 100%; min-width: 700px; height: auto; }
.schedule-dialog p { font-size: .85rem; }
.schedule-page [hidden] { display: none !important; }
.schedule-banner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px; align-items: center; padding: 30px; margin: 24px 0; border: 1px solid #7c9daf; border-radius: 16px; background: #1b3448; }
.schedule-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 12px 0; }
.schedule-banner h2::after { display: none; }
.schedule-banner p { color: #c1d0dd; margin: 12px 0 20px; }
.schedule-banner .btn { display: inline-flex; padding: 12px 16px; border-radius: 9px; }
.schedule-banner img { display: block; width: 100%; border-radius: 6px; object-fit: contain; }
@media (max-width: 1000px) { .schedule-layout { grid-template-columns: minmax(0, 1fr); } .schedule-preview { position: static; } }
@media (max-width: 600px) { .schedule-wrap { padding: 0 12px; } .schedule-panel { padding: 16px; } .schedule-fields, .schedule-day-fields { grid-template-columns: minmax(0,1fr); } .schedule-templates { grid-template-columns: minmax(0,1fr); } .schedule-templates label { padding: 10px; } .schedule-banner { grid-template-columns: minmax(0,1fr); padding: 20px; } .schedule-wide { grid-column: auto; } .schedule-dialog { padding: 12px; } }
