.upcoming-title-row { display: flex; align-items: center; gap: 12px; }
.event-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #6e8b7c; border-radius: 50%; color: inherit; background: transparent; cursor: pointer; }
.plus-icon { transform: rotate(45deg); }
#countdown-select { display: inline-flex; align-items: center; gap: 14px; max-width: 100%; padding: 0 0 6px; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
#holiday-title { overflow-wrap: anywhere; min-width: 0; }
.target-chevron { flex: 0 0 11px; width: 11px; height: 11px; margin: 0 6px 6px 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.countdown-lockup.work-countdown { grid-template-columns: minmax(0, 1fr); }
.work-countdown .clock-face { padding-left: 0; width: min(430px, 100%); }
.work-countdown .time-part strong { font-size: 74px; }
.holiday-now.personal-arrived > strong { display: block; font-size: 52px; overflow-wrap: anywhere; }
.events-status { max-width: 1120px; margin: 0 auto 20px; font-size: 14px; color: #526958; }
.event-dialog .auth-heading { padding-top: 26px; }
.event-dialog .auth-heading h2 { padding-right: 30px; font-size: 24px; }
.event-choices { display: grid; }
.event-choice-row { display: flex; align-items: center; gap: 12px; min-width: 0; border-bottom: 1px solid #d3e0e2; }
.event-choice { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex: 1; min-width: 0; width: 100%; padding: 16px 0; text-align: left; background: transparent; border: 0; color: #223d43; }
.event-choice > span:first-child { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.event-choice strong { font-size: 17px; }
.event-choice small { font-size: 12px; line-height: 1.5; color: #536b73; }
.choice-marker { flex: 0 0 20px; width: 20px; height: 20px; border: 1px solid #829da4; border-radius: 50%; }
.event-choice[aria-pressed='true'] .choice-marker { border: 6px solid #287181; }
.event-add-command { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 18px; padding: 8px; border: 0; color: #245d67; background: transparent; }
.event-form { display: grid; gap: 10px; }
.event-form fieldset { margin: 0 0 8px; padding: 0; border: 0; min-width: 0; }
.event-form label, .event-form legend { font-size: 14px; font-weight: 650; }
.event-form input:not([type='radio']):not([type='checkbox']) { display: block; width: 100%; min-width: 0; min-height: 46px; box-sizing: border-box; border: 1px solid #9db8c0; border-radius: 4px; background: #fff; padding: 10px 12px; font: inherit; color: #223d43; margin: 5px 0 10px; }
.event-form > #event-title { margin-top: -5px; }
.event-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #e5eff1; border-radius: 6px; padding: 4px !important; }
.event-kind label { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 4px; cursor: pointer; }
.event-kind label:has(:checked) { background: #fff; box-shadow: 0 1px 4px #234e591a; }
.event-kind input { accent-color: #287181; }
.weekday-options { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 8px; }
.weekday-options label { display: grid; place-items: center; position: relative; min-height: 44px; border: 1px solid #a6bdc2; border-radius: 4px; cursor: pointer; }
.weekday-options input { position: absolute; opacity: 0; }
.weekday-options label:has(:checked) { background: #287181; color: #fff; border-color: #287181; }
.weekday-options label:has(:focus-visible) { outline: 3px solid #b33d36; outline-offset: 2px; }
.event-timezone { margin: 0; color: #536b73; font-size: 12px; }
.event-form-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.event-primary { margin-left: auto; min-height: 44px; border: 0; border-radius: 4px; padding: 10px 22px; color: #fff; background: #287181; font: inherit; cursor: pointer; }
.event-delete { border: 0; padding: 8px 0; color: #a33231; background: transparent; }
.personal-station .station-length { font-size: 13px; transform: none; }
.personal-station .station-range { overflow-wrap: anywhere; }
.station-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.station-actions button { min-height: 44px; cursor: pointer; font: inherit; font-size: 14px; }
.station-actions .event-primary { margin-left: 0; padding: 8px 16px; }
.station-manage { display: flex; justify-content: flex-end; gap: 8px; margin: 8px 32px 0 0; }
.event-action { position: relative; display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 1px solid #9db8a7; border-radius: 4px; background: transparent; color: #223d43; cursor: pointer; }
.event-action img { display: block; width: 20px; height: 20px; }
.event-action:disabled { opacity: .5; cursor: wait; }
.event-action:focus-visible { outline: 3px solid #b33d36; outline-offset: 3px; }
.event-action-tooltip { position: absolute; bottom: calc(100% + 6px); right: 0; padding: 4px 8px; border-radius: 4px; background: #223d43; color: #fff; font-size: 12px; line-height: 1.5; white-space: nowrap; pointer-events: none; visibility: hidden; }
.event-action:focus-visible .event-action-tooltip { visibility: visible; }
@media (hover: hover) { .event-action:hover { background: #dbe9e1; } .event-action:hover .event-action-tooltip { visibility: visible; } }
@media (max-width: 820px) { .station-manage { margin-right: 0; } }
#countdown-select:focus-visible, .event-icon:focus-visible, .event-form input:focus-visible { outline: 3px solid #b33d36; outline-offset: 4px; }
@media (max-width: 480px) {
  .upcoming-title-row { gap: 8px; }
  .work-countdown .time-part strong { font-size: 52px; }
  .holiday-now.personal-arrived > strong { font-size: 40px; }
}
@media (max-width: 350px) { .upcoming-title-row h2 { font-size: 23px; } .work-countdown .time-part strong { font-size: 46px; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.days-ticket { container-type: inline-size; }
.days-ticket strong.many-days { font-size: calc(112cqw / var(--digits)); }
