.masthead__book { min-height: 44px; padding-inline: 16px; border-radius: 6px; background: var(--hd-fg); color: var(--hd-bg); font-size: 14px; }
.masthead__book:hover { background: var(--hd-fg); opacity: .87; }

.local-video { border-radius: clamp(12px, 2vw, 20px); }
.local-video video { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: inherit; }
.local-video__start { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: calc(100% - 24px); min-height: 48px; padding: 8px 17px; border: 1px solid #ffffff66; border-radius: 999px; color: white; background: #141821ed; box-shadow: 0 3px 20px #0005; font-size: 14px; font-weight: 650; text-align: center; cursor: pointer; }
.local-video__controls { position: absolute; z-index: 1; bottom: 12px; left: 12px; display: flex; gap: 8px; }
.local-video__controls[hidden], .local-video__start[hidden] { display: none; }
.local-video__controls button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid #ffffff66; border-radius: 50%; color: white; background: #141821e6; cursor: pointer; }
.local-video__controls button:hover, .local-video__start:hover { background: #263248; }
.local-video__controls button:focus-visible, .local-video__start:focus-visible { outline: 2px solid white; outline-offset: 2px; }
.local-video__controls svg, .local-video__start svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.local-video__play-icon { fill: currentColor; }
[data-action="play"] .local-video__pause-icon,
[data-action="pause"] .local-video__play-icon,
[data-action="unmute"] .local-video__waves,
[data-action="mute"] .local-video__cross { display: none; }
.marquee__row--short { width: 100%; animation: none !important; overflow: auto; justify-content: safe center; padding-inline: var(--gutter); }
.marquee-empty { text-align: center; color: var(--muted); padding: 12px var(--gutter) 24px; }

.wc-application { width: min(100%, 650px); margin: 28px auto 0; padding: clamp(20px, 4vw, 34px); border: 1px solid #d6dce5; border-radius: 18px; background: #fff; color: #182230; text-align: left; }
.wc-application[hidden], .wc-calendar[hidden] { display: none; }
.wc-application h3 { font-size: clamp(20px, 3.5vw, 25px); line-height: 1.25; margin: 10px 0 16px; outline: none; }
.wc-app-step { font-size: 13px; color: #4f6075; font-weight: 650; }
.wc-app-note { font-size: 14px; color: #4f6075; margin: 14px 0 0; }
.wc-app-note[hidden], .wc-app-actions button[hidden] { display: none; }
.wc-app-options { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; }
.wc-app-options label { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 12px; border: 1px solid #d6dce5; border-radius: 9px; cursor: pointer; }
.wc-app-options label:has(input:checked) { background: #e9f0f8; border-color: #5c7392; }
.wc-app-options input { accent-color: #263d59; }
.wc-app-field { display: block; width: 100%; min-height: 48px; border: 1px solid #8d9aad; border-radius: 9px; padding: 10px 12px; font: inherit; color: #182230; background: #fff; }
.wc-app-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.wc-app-actions .btn { min-height: 44px; }
.wc-app-actions button:last-child { margin-left: auto; background: #182b43; color: #fff; }
.wc-calendar { margin: 24px auto 0; width: min(100%, 970px); text-align: center; }
.wc-calendar--warming { position: absolute; inset-inline: 0; visibility: hidden; pointer-events: none; }
.wc-calendar iframe { display: block; width: 100%; height: 820px; border: 0; }
.wc-calendar-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 12px; font-size: 14px; }
.wc-calendar-actions button, .wc-calendar-actions a { color: #253c58; text-decoration: underline; background: none; border: 0; cursor: pointer; font: inherit; }

@media (max-width: 680px) {
  .wc-calendar iframe { height: 1050px; }
}
