/* Shared usability and measurement UI. Keep after page-specific styles. */
:root { --red: #c51200; }
img { height: auto; }
:focus-visible { outline: 3px solid #318ca3; outline-offset: 4px; }
.skipLink { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 16px; background: white; color: #071826; transform: translateY(-160%); }
.skipLink:focus { transform: none; }
.contactLead { font-weight: 400; }
.sectionLight .sectionKicker, .sectionLight .kicker { color: #b21708; }
.eventMeta { color: #59636b; }
.historyContent figcaption { color: #53616b; }
.eventBody > a, .eventLink, .eventVenue { color: #b21708; }
.sectionDark .sectionTopline > a { opacity: 1; color: #c5d6df; }
.sectionDark .sectionTopline > a:hover { color: white; }
.tallImage figcaption { padding: 14px; background: rgba(7,24,38,.92); }
.disciplineRow h3 a:hover { text-decoration: underline; text-underline-offset: 5px; }
.archiveNotice { padding: 20px; border-left: 4px solid #b21708; background: white; color: #283b48; font-size: 16px; line-height: 1.7; }
.archiveNotice a { text-decoration: underline; }
.eventPill.archive { background: #071826; }
.eventPill.plan { background: #23697b; }
.breadcrumb { color: #53616b; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.sectionDark .sectionHead h2 em, .quoteCard.dark cite { color: var(--ice); }
.sectionDark .timeline article > span { color: var(--ice); }
.sectionRed .ctaBand p { color: white; }
.floatingSignup span, .sectionRed .ctaBand p { opacity: 1; }
.copyright { color: #b7c3cc; }
.hasFloatingSignup:has(#zapisz-sie:target) .floatingSignup,
.hasFloatingSignup:has(#contact-form:focus-within) .floatingSignup { display: none; }
.measurementBanner, .measurementDialog { color: #071826; background: #f1f1ec; font: 16px/1.55 Arial,sans-serif; }
.measurementBanner { position: fixed; z-index: 100; bottom: 18px; right: 18px; width: min(400px, calc(100% - 36px)); padding: 18px; border: 1px solid #07182626; border-top: 3px solid #b21708; box-shadow: 0 8px 32px #07182626; font-size: 13px; line-height: 1.5; }
.measurementBanner[hidden] { display: none; }
.measurementBanner h2, .measurementDialog h2 { margin: 0 0 12px; font: 600 23px/1.25 Arial,sans-serif; letter-spacing: normal; }
.measurementBanner h2 { margin-bottom: 8px; font-size: 16px; }
.measurementBanner p { margin: 0 0 12px; }
.measurementBanner .measurementActions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.measurementBanner .measurementActions button { min-height: 44px; padding: 8px; font-size: 12px; }
.measurementBanner [data-choice="settings"] { grid-column: 1 / -1; min-height: 28px !important; padding: 2px !important; border: 0; color: #071826; background: transparent; text-decoration: underline; text-underline-offset: 3px; }
.measurementBanner a { color: #a6190b; text-decoration: underline; }
.measurementActions { display: flex; flex-wrap: wrap; gap: 12px; }
.measurementActions button { min-height: 44px; padding: 10px 16px; border: 1px solid #071826; border-radius: 0; background: #071826; color: white; cursor: pointer; font: 600 14px Arial,sans-serif; }
.measurementActions button:hover { background: #23475f; }
.measurementSettings { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 4px; font: inherit; cursor: pointer; }
.measurementDialog { width: min(100% - 32px,620px); max-height: calc(100svh - 32px); padding: 28px; border: 2px solid #071826; }
.measurementDialog::backdrop { background: #071826aa; }
.measurementDialog label { display: flex; align-items: start; gap: 12px; padding: 16px 0; }
.measurementDialog input { width: 20px; height: 20px; flex: 0 0 20px; }
.measurementDialog .measurementActions { margin-top: 20px; }
@media(max-width: 600px) {
  .measurementBanner { bottom: 12px; right: 12px; width: min(400px, calc(100% - 24px)); max-height: calc(100svh - 24px); overflow-y: auto; padding: 14px; font-size: 12px; }
  .measurementActions button { flex: 1 1 140px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.departureNote { color: #a9e1e9; font-weight: 700; font-size: 14px; line-height: 1.5; }
.eventBody .departureNote { color: #b21708; margin: 0 0 12px; }
.heroContent > .departureNote { margin-top: 20px; color: #a9e1e9; font-size: 15px; }
