/* 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: 0; left: 0; right: 0; padding: 24px max(24px,calc((100vw - 1200px)/2)); border-top: 2px solid #071826; box-shadow: 0 -10px 40px #07182630; }
.measurementBanner[hidden] { display: none; }
.measurementBanner h2, .measurementDialog h2 { margin: 0 0 12px; font: 600 23px/1.25 Arial,sans-serif; letter-spacing: normal; }
.measurementBanner p { margin: 0 0 16px; max-width: 1000px; }
.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 { max-height: 75svh; overflow-y: auto; padding: 18px; font-size: 14px; }
  .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; }
}
