:root {
  --paper: #f7f6f1;
  --surface: #fffefa;
  --ink: #201b32;
  --muted: #655f74;
  --line: #ddd9e2;
  --navy: #251d48;
  --lime: #c4f780;
  --lavender: #e9e3fc;
  --rose: #ff8caa;
  --amber: #ffd278;
  --font: "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #7750d5; outline-offset: 4px; }
svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; vertical-align: middle; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
.visually-hidden, .skip:not(:focus) { position: absolute; height: 1px; width: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 3; top: 1rem; left: 1rem; background: white; padding: .6rem 1rem; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: clamp(1.5rem, 5vw, 5rem); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; width: max-content; font-size: 1.47rem; line-height: 1; font-weight: 720; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--navy); color: var(--lime); border-radius: 9px; }
.brand-mark svg { width: 23px; height: 23px; }
.brand-org { color: #67539b; }
.site-nav { display: flex; align-self: stretch; gap: 1.85rem; }
.site-nav a { display: grid; place-items: center; padding-top: 3px; border-bottom: 3px solid transparent; color: var(--muted); font-weight: 650; font-size: .93rem; }
.site-nav a[aria-current], .site-nav a:hover { border-color: var(--navy); color: var(--ink); }
.menu-toggle { display: none; align-items: center; gap: .35rem; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px 6px 9px; font-weight: 680; font-size: .9rem; }
.menu-toggle svg { width: 18px; height: 18px; }
.menu-layer { position: fixed; inset: 0; z-index: 40; }
.menu-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: rgba(18, 16, 24, .48); opacity: 0; transition: opacity .28s ease; }
.site-menu { position: absolute; top: 0; bottom: 0; left: 0; width: 80%; overflow: auto; background: var(--surface); color: var(--ink); box-shadow: 12px 0 36px rgba(18, 16, 24, .22); transform: translateX(-100%); transition: transform .28s ease; padding: 18px 18px 36px; }
.menu-layer.is-open .menu-backdrop { opacity: 1; }
.menu-layer.is-open .site-menu { transform: translateX(0); }
.menu-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 8px; }
.menu-head p { font-weight: 750; letter-spacing: -.02em; }
.menu-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); }
.site-menu section { padding-top: 14px; }
.site-menu h2 { margin-bottom: 4px; color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.site-menu section > a, .menu-counties a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); font-weight: 680; }
.site-menu a[aria-current] { color: var(--navy); }
html[data-theme="intunecat"] .site-menu a[aria-current] { color: var(--lime); }
.menu-counties { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
body.menu-open { overflow: hidden; }
@media (max-width: 760px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) {
  .menu-backdrop, .site-menu { transition: none; }
}
.header-tools { margin-left: auto; display: flex; align-items: center; gap: .85rem; }
.header-city { display: flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 650; }
.theme-switch { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 4px; line-height: 1; }
.theme-switch-track { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #d9d3e4; }
.theme-switch-thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--navy); transition: transform .15s ease; }
html[data-theme="intunecat"] .theme-switch-thumb { transform: translateX(14px); background: #1a1730; }
html[data-theme="intunecat"] .theme-switch-track { background: var(--lime); }
.header-city svg { width: 17px; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .93fr); border-radius: 17px; margin-top: 28px; background: var(--navy); color: #fffdf9; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; padding: 34px 0 38px 43px; }
.hero-date { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; font-size: .88rem; font-weight: 650; color: #ddd5f2; }
.hero h1 { font-size: clamp(2.75rem, 4.7vw, 4.45rem); line-height: 1.04; letter-spacing: -.027em; font-weight: 710; margin: 18px 0 10px; }
.search { position: relative; display: flex; align-items: center; align-self: start; gap: .45rem; max-width: 520px; padding: 6px 6px 6px 14px; border-radius: 9px; background: #fffefa; color: var(--ink); }
.search:focus-within { outline: 3px solid #b6a5f8; outline-offset: 3px; }
.search > svg { color: #655680; }
.search input { flex: 1 1 0; min-width: 0; width: 100%; border: 0; padding: 7px 0; color: var(--ink); background: transparent; outline: none; }
.search input:focus-visible { outline: none; }
.search input::placeholder { color: #635b6e; }
.search button { align-self: stretch; border: 0; border-radius: 5px; color: #211b32; background: var(--lime); font-weight: 680; padding: 8px 16px; }
.search button:hover { background: #aee561; }
.quick-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.quick-links a { padding: 4px 9px; border: 1px solid #655783; border-radius: 5px; font-size: .86rem; color: #f0e9ff; }
.quick-links a:hover { background: #493b6b; border-color: #b3a4d2; }
.board { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .31fr); gap: 30px; margin-top: 34px; scroll-margin-top: 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1rem; }
.section-head h2, .travel-details h2 { font-weight: 680; font-size: clamp(1.5rem, 2.55vw, 1.95rem); letter-spacing: -.023em; line-height: 1.1; }
.updated { display: inline-flex; align-items: center; gap: .38rem; color: var(--muted); font-size: .83rem; }
.updated svg { width: 15px; height: 15px; }
.updated time { color: #3e345a; font: 700 .85rem/1 var(--mono); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-block: 17px 10px; }
.filters a { border: 1px solid var(--line); background: var(--surface); color: #4c4262; border-radius: 6px; font-size: .92rem; padding: 8px 13px; font-weight: 630; }
.filters a:hover { border-color: #8f7da9; }
.filters a[aria-current] { background: var(--navy); border-color: var(--navy); color: white; }
.filters a span { padding-left: 3px; color: var(--lime); font: 700 .79rem/1 var(--mono); }
.incident-list { border-top: 2px solid var(--navy); }
.incident-row { border-bottom: 1px solid var(--line); }
.incident-link { display: grid; grid-template-columns: 58px 39px minmax(0, 1fr) max-content; gap: .8rem; align-items: center; min-height: 83px; padding: 11px 6px 11px 4px; }
.incident-link:hover { background: #efedf6; }
.incident-link > time { color: #5c4f75; font: 750 .89rem/1.35 var(--mono); }
.mode-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 8px; color: #392571; background: #eae2f9; flex: 0 0 auto; }
.mode-tramvai { background: #e4f3ca; color: #344b18; }
.mode-metrou { background: #f8dfeb; color: #7f2450; }
.mode-rutier { background: #faedcd; color: #73480a; }
.incident-copy :is(h2, h3) { font-size: 1.06rem; font-weight: 650; line-height: 1.32; letter-spacing: -.005em; }
.incident-copy p { font-size: .96rem; color: var(--muted); margin-top: 3px; line-height: 1.35; }
.status { display: inline-flex; align-items: center; justify-self: start; gap: .36rem; color: #483760; font-size: .83rem; font-weight: 620; white-space: nowrap; line-height: 1.15; padding: 6px 7px; border-radius: 4px; background: #ebe4f6; }
.status::before { width: 6px; height: 6px; background: currentColor; border-radius: 50%; content: ""; }
.saved { align-self: start; margin-top: 1px; background: #eeeaf6; padding: 19px 20px 20px; border-radius: 10px; border-top: 3px solid #9e86cf; }
.saved-head { display: flex; align-items: center; gap: .57rem; color: #342653; }
.saved-head h2 { font-size: 1.18rem; letter-spacing: -.023em; }
.saved p { color: #5e526e; font-size: .9rem; margin-top: .5rem; }
.saved li { padding: .68rem 0; border-bottom: 1px solid #d7cce7; }
.saved li:last-child { padding-bottom: 0; border-bottom: 0; }
.saved li a { display: block; font-weight: 750; line-height: 1.2; }
.saved li a:hover { text-decoration: underline; }
.saved li small { color: #5e526e; }
.empty-results { padding: 1.4rem 0; }
.empty-results p { color: var(--muted); margin: .2rem 0 .7rem; }
.text-link { display: inline-block; padding: 0; border: 0; background: transparent; color: #513787; font-weight: 630; text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover { color: #281747; }
.news-section { margin-top: 43px; padding-bottom: 54px; }
.news-list { padding-bottom: 54px; }
.news-section .section-head { border-bottom: 2px solid var(--navy); padding-bottom: 13px; }
.story-card { display: block; min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.story-card:hover :is(h2, h3) { color: #6740ac; text-decoration: underline; text-underline-offset: 4px; }
.story-card-copy { padding: 12px 0 0; }
.story-card :is(h2, h3) { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 670; letter-spacing: -.02em; line-height: 1.22; margin: 6px 0; }
.story-card p { color: var(--muted); }
.story-meta { font-weight: 700; font-size: .83rem; color: #5d477f; }
.story-meta span { margin-inline: 4px; }
.story-meta time { font-family: var(--mono); }
.site-footer { margin-top: auto; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 25px; }
.footer-inner p { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .5rem 1.15rem; font-size: .94rem; }
.footer-inner nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.subpage-head, .detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .38fr);
  column-gap: 30px;
}
.subpage-head { margin: 27px 0 29px; }
.subpage-head > :not(.page-lead) { grid-column: 1 / -1; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; color: #554475; font-size: .9rem; font-weight: 700; margin-bottom: 31px; }
.breadcrumbs a:hover { text-decoration: underline; }
.subpage-meta { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.subpage-head h1 { font-size: clamp(2.3rem, 5vw, 4.25rem); font-weight: 700; letter-spacing: -.028em; line-height: 1.06; }
.page-lead { color: var(--muted); font-size: clamp(1.06rem, 2.2vw, 1.26rem); line-height: 1.4; margin-top: 13px; }
.mode-list { margin-bottom: 55px; }
.detail-layout { align-items: start; row-gap: 30px; margin-bottom: 53px; }
.travel-details { border-top: 2px solid var(--navy); padding-top: 19px; }
.travel-details dl { margin: 7px 0 0; }
.travel-details dl div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.travel-details dt { font-weight: 750; }
.travel-details dd { color: var(--muted); margin: 3px 0 0; }
.detail-side { background: #eeeaf6; border-top: 3px solid #9e86cf; border-radius: 9px; padding: 16px; }
.detail-side > p:first-child { display: flex; gap: .45rem; align-items: center; font-weight: 750; }
.action-button { display: flex; gap: .48rem; align-items: center; width: 100%; border: 1px solid #c9bfda; border-radius: 5px; background: #fcfafd; color: var(--navy); font-weight: 730; text-align: left; padding: 7px 9px; margin-top: 10px; }
.action-button:hover, .action-button[aria-pressed="true"] { background: #e1d9f1; }
.action-feedback { color: #4f3c6c; font-size: .88rem; margin-top: .4rem; }
.side-related { display: grid; gap: 4px; margin-top: 15px; border-top: 1px solid #d3c8e4; padding-top: 12px; }
.side-related span { color: var(--muted); font-size: .84rem; }
.side-related a { font-weight: 750; }
.side-related a:hover { text-decoration: underline; }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 48px); }
  .hero-copy { padding-left: 30px; }
  .board { gap: 20px; }
  .incident-link { gap: .55rem; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .hero { grid-template-columns: minmax(0, 1fr); margin-top: 17px; }
  .hero-copy { padding: 20px 20px 0; }
  .hero h1 { font-size: clamp(2.35rem, 8.3vw, 4.25rem); margin: 15px 0 8px; }
  .board { grid-template-columns: 1fr; margin-top: 27px; }
  .saved { grid-row: 2; }
  .news-section { margin-top: 30px; }
  .subpage-head, .detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 485px) {
  .header-inner { min-height: 61px; gap: 1rem; justify-content: space-between; }
  .brand { font-size: 1.23rem; gap: .4rem; }
  .brand-mark { width: 33px; height: 33px; }
  .brand-mark svg { width: 20px; height: 20px; }
  .site-nav { gap: clamp(.48rem, 3vw, 1rem); }
  .site-nav a { font-size: .87rem; }
  .header-city { display: none; }
  .hero { border-radius: 12px; }
  .hero-copy { padding-inline: 14px; }
  .hero-date { font-size: .79rem; }
  .search { padding-left: 8px; }
  .search input { font-size: .94rem; }
  .search button { padding-inline: 9px; font-size: .88rem; }
  .quick-links a { font-size: .76rem; padding-inline: 7px; }
  .filters { gap: 4px; }
  .filters a { padding: 5px 7px; font-size: .82rem; }
  .incident-link { grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "icon copy" "time status"; gap: .4rem .6rem; padding-block: 10px; }
  .incident-link > time { grid-area: time; font-size: .72rem; align-self: center; }
  .incident-link > .mode-icon { grid-area: icon; width: 34px; height: 34px; align-self: start; }
  .incident-copy { grid-area: copy; }
  .incident-link .status { grid-area: status; }

  .footer-inner { flex-wrap: wrap; padding-block: 18px; gap: .6rem 1rem; }

}

.hero-lead { color: #e2d9f6; font-size: 1rem; margin-bottom: 20px; }
.mode-troleibuz { color: #225554; background: #dbefeb; }
.status-programat { color: #294b76; background: #e1ecfa; }
.board-side { display: grid; align-content: start; gap: 17px; }
.edition-overview, .source-rail { padding: 15px 17px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.edition-overview h2, .source-rail h2, .saved-head h2 { font-size: 1.14rem; letter-spacing: -.01em; font-weight: 680; line-height: 1.3; }
.edition-stats { margin-top: 8px; }
.edition-stats a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.edition-stats a:last-child { border-bottom: 0; padding-bottom: 0; }
.edition-stats a strong { font: 650 1rem/1.5 var(--mono); }
.edition-stats a:hover, .edition-stats a[aria-current] { color: #543685; text-decoration: underline; text-underline-offset: 3px; }
.source-rail { display: grid; gap: 8px; }
.source-rail a { display: flex; align-items: center; gap: .52rem; width: fit-content; font-size: .94rem; }
.source-rail a:hover { text-decoration: underline; text-underline-offset: 3px; }
.source-rail svg { width: 18px; height: 18px; color: #6c518f; }
.source-rail .text-link { margin-top: .2rem; }
.search-status { color: var(--muted); padding-bottom: .4rem; font-size: .9rem; }
.show-more { margin-top: 13px; padding: 8px 14px; color: var(--navy); background: var(--surface); border: 1px solid #bdb4ce; border-radius: 6px; font-size: .93rem; font-weight: 630; }
.show-more:hover { background: #eee9f7; }
.news-section { padding-bottom: 0; }
.guide-preview { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1fr); column-gap: 30px; background: #eeeaf6; margin: 34px 0 50px; padding: clamp(18px, 3vw, 29px); border-radius: 10px; }
.guide-preview h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 680; letter-spacing: -.024em; }
.guide-preview p { color: var(--muted); margin: 6px 0 11px; }
.guide-jump-links { display: grid; align-content: center; }
.guide-jump-links a { padding: 8px 0; border-bottom: 1px solid #d8d0e5; font-size: .96rem; }
.guide-jump-links a:last-child { border-bottom: 0; }
.guide-jump-links a:hover { text-decoration: underline; }
.incident-source { padding-block: 10px 4px; font-size: .94rem; }
.incident-source span { color: var(--muted); display: block; font-size: .84rem; }
.incident-source a { display: inline-block; color: #513787; text-decoration: underline; text-underline-offset: 3px; margin-top: .22rem; }
.byline { color: var(--muted); font-size: .91rem; }
.byline a, .subpage-meta a { color: #513787; text-decoration: underline; text-underline-offset: 3px; }
.info-page { margin-bottom: 50px; }
.info-page .subpage-head h1 { font-size: clamp(2.25rem, 5vw, 3.6rem); }
.prose { max-width: 72ch; }
.prose section { margin-block: 0 21px; padding-top: 14px; border-top: 1px solid var(--line); scroll-margin-top: 12px; }
.prose h2 { font-size: clamp(1.24rem, 2.4vw, 1.5rem); font-weight: 670; line-height: 1.26; margin-bottom: 6px; }
.prose p + p, .prose p + ol, .prose p + ul { margin-top: 8px; }
.prose a { color: #513787; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose ol { list-style: decimal; padding-inline-start: 1.3rem; }
.prose ol li { margin-bottom: .4rem; }
.official-grid { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 23px; }
.official-card { padding: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.official-card > svg { color: #6c518f; }
.official-card h2 { font-size: 1.16rem; font-weight: 680; margin-block: 5px; }
.official-card p { color: var(--muted); margin-bottom: 6px; }
.official-card a { color: #513787; text-decoration: underline; text-underline-offset: 3px; }
.contact-list li { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 1fr); gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.reset-feedback:not(:empty) { margin-top: 6px; }
@media (max-width: 900px) {
  .board { grid-template-columns: minmax(0, 1fr) minmax(190px, .29fr); }
  .incident-link { grid-template-columns: 52px 36px minmax(0, 1fr) max-content; }
}
@media (max-width: 760px) {
  .board { grid-template-columns: 1fr; }
  .board-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .saved { grid-row: auto; }
  .source-rail { grid-column: 1 / -1; }
  .hero-lead { font-size: .94rem; margin-bottom: 17px; }
}
@media (max-width: 485px) {
  .wrap { width: calc(100% - 28px); }
  .guide-jump-links { margin-top: .55rem; }
  .incident-link { grid-template-columns: 43px minmax(0, 1fr); }
  .filters a { padding: 6px 8px; font-size: .88rem; }
  .updated { font-size: .86rem; }
  .header-inner { gap: .55rem; }
  .site-nav a { font-size: .84rem; }
}

.state-filters { display: none; }
@media (max-width: 760px) {
  .state-filters { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-bottom: 10px; }
  .state-filters a { display: inline-flex; gap: .35rem; align-items: center; min-height: 30px; font-size: .89rem; color: #543685; }
  .state-filters a:hover, .state-filters a[aria-current] { text-decoration: underline; text-underline-offset: 3px; }
  .state-filters strong { font: 650 .82rem/1 var(--mono); }
  .edition-overview { display: none; }
  .source-rail { grid-column: auto; }
}
.subpage-meta { margin: 12px 0 0; }
.subpage-head .page-lead { margin-top: 12px; }
@media (scripting: enabled) {
  #incident-list[data-collapsed] > :nth-child(n + 8) { display: none; }
}
@media (max-width: 355px) {
  .header-inner .brand { font-size: 1.03rem; gap: .32rem; }
  .header-inner .brand-mark { width: 28px; height: 28px; }
  .site-nav { gap: .45rem; }
  .site-nav a { font-size: .77rem; }
  .hero h1 { font-size: 2.04rem; }
  .hero-lead { font-size: .88rem; }
  .hero-date { gap: .35rem; }
  .quick-links { gap: 4px; }
  .quick-links a { font-size: .73rem; padding-inline: 5px; }
}

.hero { grid-template-columns: minmax(0, 1fr) minmax(0, .84fr); align-items: stretch; }
.hero-copy { padding-right: 25px; }
.hero-date { color: #dbd3eb; font-weight: 560; }
.hero-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 20px;
  margin: 25px 25px 25px 8px;
  padding: 23px 26px;
  border: 1px solid #766596;
  border-radius: 10px;
  background: #302354;
  overflow: hidden;
}
.hero-feature::after {
  position: absolute;
  inset: -22%;
  z-index: -1;
  background: repeating-linear-gradient(130deg, transparent 0 31px, #54446c 32px 33px);
  mask-image: linear-gradient(90deg, transparent 25%, black 83%);
  content: "";
}
.hero-feature:hover { background-color: #382a5f; border-color: #b3a2cd; }
.hero-feature:focus-visible { outline-color: var(--lime); outline-offset: -5px; }
.hero-feature-top { display: flex; align-items: baseline; justify-content: space-between; gap: 7px 16px; flex-wrap: wrap; width: 100%; color: #e4daf2; font-size: .91rem; }
.hero-feature-top > :last-child { font-family: var(--mono); }
.hero-sign, .night-sign {
  color: var(--lime);
  font: 720 clamp(3.4rem, 7.8vw, 6.5rem)/.94 var(--mono);
  letter-spacing: -.055em;
}
.hero-sign > span, .night-sign > span { color: #fffdf9; }
.hero-feature-copy { display: grid; gap: 3px; }
.hero-feature-copy strong { font-size: clamp(1.18rem, 2vw, 1.5rem); font-weight: 660; line-height: 1.2; letter-spacing: -.015em; }
.hero-feature-copy span { color: #e1d7f3; font-size: .91rem; }
.hero-feature:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.status-noapte { color: #433575; background: #e9e3fa; }
.status-posibil { color: #634708; background: #f9edcc; }
.status-traseu, .status-nou { color: #315129; background: #e6efd9; }
.status-acces { color: #88344a; background: #f9e0e7; }
.status-trecut { color: #51485c; background: #e9e6ec; }
.story-feature {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  padding-block: 18px 20px;
}
.story-feature img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 7px; }
.story-feature .story-card-copy { padding: 0; }
.story-feature :is(h2, h3) { font-size: clamp(1.35rem, 2.65vw, 2.25rem); }
.empty-mode { padding: 22px 0 46px; border-top: 2px solid var(--navy); }
.empty-mode h2 { font-size: 1.25rem; font-weight: 650; }
.empty-mode p { margin: 4px 0 10px; color: var(--muted); }
.incident-source h2 { font-size: 1.05rem; font-weight: 650; margin-bottom: 5px; }
.source-list li { padding: .5rem 0; line-height: 1.35; }
.source-list li + li { border-top: 1px solid var(--line); }
.source-list a { text-decoration: underline; text-underline-offset: 3px; }
.source-list span { display: block; margin-top: 3px; color: var(--muted); font-size: .83rem; }
.news-article { margin-bottom: clamp(3rem, 7vw, 5.25rem); }
.news-masthead, .news-article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(218px, .39fr);
  gap: 0 clamp(22px, 6vw, 78px);
}
.news-masthead { padding-top: 24px; }
.news-masthead > * { grid-column: 1 / -1; }
.news-masthead .breadcrumbs { margin-bottom: clamp(18px, 2.5vw, 28px); }
.news-location { display: flex; align-items: center; gap: 5px; color: #5a427f; font-size: .93rem; font-weight: 600; }
.news-location svg { width: 17px; height: 17px; }
.news-masthead h1 {
  margin-top: 10px;
  font-size: clamp(2.45rem, 5.2vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -.031em;
  line-height: 1.045;
}
.news-deck { margin-top: 19px; color: #4c455d; font-size: clamp(1.04rem, 1.8vw, 1.24rem); line-height: 1.52; }
.news-hero { margin: 22px 0 4px; }
.news-hero img { display: block; width: 100%; height: auto; border-radius: 16px; }
.news-byline { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 19px 0 25px; font-size: .91rem; }
.news-byline p { display: flex; flex-wrap: wrap; gap: .3rem .55rem; color: var(--muted); }
.news-byline a { color: #41345e; font-weight: 650; }
.news-byline a:hover { text-decoration: underline; }
.news-byline time { white-space: nowrap; }
.news-byline time::before { content: "·"; margin-right: .55rem; color: #746587; }
.share-article { display: inline-flex; align-items: center; gap: .45rem; padding: 5px 9px; border: 1px solid #c8c0d5; border-radius: 5px; color: #4f3c6c; background: transparent; font-size: .87rem; }
.share-article svg { width: 16px; height: 16px; }
.share-article:hover { background: #eeeaf6; }
.night-cover {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  column-gap: clamp(16px, 4vw, 65px);
  overflow: hidden;
  isolation: isolate;
  position: relative;
  padding: clamp(20px, 4vw, 49px);
  border-radius: 13px;
  background: #241b42;
  color: #fffdf9;
}
.night-cover::after {
  position: absolute;
  inset: 43% 52% -25% -15%;
  z-index: -1;
  transform: rotate(-17deg);
  background: repeating-linear-gradient(90deg, #493962 0 2px, transparent 2px 22px);
  mask-image: linear-gradient(0deg, black, transparent);
  content: "";
}
.night-cover-sign { align-self: center; }
.night-sign-label { display: flex; align-items: center; gap: .5rem; margin-bottom: 9px; color: #dfd7ef; font-size: .95rem; }
.night-sign { font-size: clamp(4rem, 10vw, 8.7rem); }
.night-calendar h2 { padding-bottom: 12px; border-bottom: 1px solid #74628e; font-weight: 640; font-size: clamp(1.04rem, 2.3vw, 1.36rem); }
.night-calendar li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid #544468; }
.night-calendar li:last-child { border-bottom: 0; padding-bottom: 0; }
.night-calendar li div { display: grid; line-height: 1.3; }
.night-calendar li span { color: #ddd5ec; font-size: .88rem; }
.night-calendar time { font-size: clamp(.91rem, 1.45vw, 1.14rem); font-weight: 610; white-space: nowrap; }
.night-calendar strong { color: var(--lime); font: 625 clamp(.89rem, 1.75vw, 1.25rem)/1.22 var(--mono); white-space: nowrap; }
.news-article-grid { row-gap: 22px; margin-top: clamp(27px, 5vw, 51px); }
.news-prose { color: #302a3b; font-size: clamp(1rem, 1.45vw, 1.1rem); line-height: 1.68; }
.news-prose p a { color: #59398a; text-decoration: underline; text-underline-offset: 4px; }
.news-prose section { margin-top: 26px; scroll-margin-top: 15px; }
.news-prose h2 { margin-bottom: 7px; color: var(--ink); font-size: clamp(1.42rem, 2.7vw, 2rem); line-height: 1.17; letter-spacing: -.022em; font-weight: 680; }
.route-strip { background: #ede9f5; border-radius: 8px; margin: 19px 0 15px; padding: 16px 18px; }
.route-strip figcaption { color: #54416f; font-size: .91rem; margin-bottom: 12px; }
.route-strip ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); color: #302448; }
.route-strip li { position: relative; min-width: 0; padding: 15px 9px 0 0; border-top: 3px solid #6e5296; font-size: .88rem; line-height: 1.35; }
.route-strip li::before { position: absolute; top: -6px; left: 0; width: 8px; height: 8px; border: 2px solid #5f4487; border-radius: 50%; background: #ede9f5; content: ""; }
.route-strip li:last-child { border-image: linear-gradient(90deg, #6e5296, transparent 85%) 1; }
.day-lines { margin-top: 9px; }
.day-lines li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: start; padding: 11px 1px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.day-lines a { justify-self: start; background: #e5def3; border-radius: 4px; padding: 4px 6px; color: #382956; font: 660 .94rem/1.1 var(--mono); }
.day-lines a:hover { background: #d6c9ed; text-decoration: underline; }
.news-rail { align-self: start; padding: 0 0 0 16px; border-left: 1px solid #d6cee1; color: #4c405c; }
.news-rail > :not(:first-child) { margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line); }
.news-rail h2 { color: var(--ink); font-size: 1rem; font-weight: 680; margin-bottom: 6px; }
.news-rail a { display: block; width: fit-content; color: #553879; font-size: .94rem; line-height: 1.35; text-decoration: underline; text-underline-offset: 3px; }
.news-rail :is(nav, .news-rail-related) a + a { margin-top: 8px; }
.news-rail-sources .source-list li:first-child { padding-top: 0; }
.news-rail > a { width: auto; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-feature { grid-template-columns: minmax(0, .55fr) minmax(0, 1fr); align-items: center; gap: 10px 14px; margin: 15px 14px 14px; padding: 13px; }
  .hero-feature-top { grid-column: 1 / -1; }
  .hero-sign { font-size: clamp(2rem, 7.3vw, 3.5rem); }
  .news-masthead, .news-article-grid { grid-template-columns: 1fr; }
  .news-rail { border-left: 0; border-top: 2px solid var(--navy); padding: 16px 0 0; }
}

@media (max-width: 485px) {
  .hero-copy { padding-right: 14px; }
  .hero-feature-copy strong { font-size: 1.05rem; }
  .hero-feature-copy span, .hero-feature-top { font-size: .82rem; }
  .story-feature { grid-template-columns: 1fr; gap: 12px; }
  .news-masthead { padding-top: 18px; }
  .news-masthead h1 { font-size: clamp(2rem, 8.5vw, 2.85rem); }
  .news-deck { margin-top: 13px; }
  .night-cover { grid-template-columns: 1fr; row-gap: 18px; }
  .night-cover::after { inset: 20% 0 55% 20%; }
  .night-sign { font-size: clamp(3rem, 13vw, 4.25rem); }
  .night-calendar li { padding-block: 9px; }
  .route-strip ol { grid-template-columns: 1fr; }
  .route-strip li { min-height: 34px; border-top: 0; border-left: 3px solid #6e5296; border-image: none; padding: 0 0 9px 12px; }
  .route-strip li:last-child { border-color: transparent; border-image: none; }
  .route-strip li::before { left: -5.5px; top: 4px; }
}

@media (max-width: 355px) {
  .hero-feature { gap: 8px 9px; padding-inline: 10px; }
  .hero-feature-copy strong { font-size: 1rem; }
  .news-byline { column-gap: .65rem; }
}

@media (max-width: 485px) {
  .official-grid, .guide-preview, .board-side { grid-template-columns: 1fr; }
}

.hero-solo { grid-template-columns: 1fr; }
.hero-solo .hero-copy { padding-right: 34px; }
.hero-copy { padding-block: 23px; }
.hero h1 { font-size: clamp(2.2rem, 3.2vw, 3.2rem); font-weight: 650; letter-spacing: -.012em; margin: 0 0 8px; }
.hero-feature { margin-block: 16px; padding-block: 14px; }
.hero-sign { font-size: clamp(2.6rem, 4.1vw, 3.6rem); }
.status { white-space: normal; }
.incident-link { grid-template-columns: 54px 39px minmax(0,1fr) minmax(92px, 155px); }
.incident-link .status { justify-self: end; }
.timing-note { margin: 0 0 14px; color: #4f4263; }
.notice-history { margin-top: 28px; }
.notice-history li { border-left: 2px solid #c4b7d2; padding: 4px 0 9px 14px; }
.notice-history time { color: var(--muted); font-size: .9rem; }
.notice-history a, .correction-link { color: #513787; text-decoration: underline; text-underline-offset: 3px; }
.correction-link { display: inline-block; margin: 8px 0; }
@media (max-width: 760px) {
  .hero { display: block; }
  .hero .hero-copy { padding: 15px; }
  .hero h1 { font-size: clamp(1.55rem, 5.8vw, 2.25rem); margin-bottom: 12px; line-height: 1.12; }
  .hero .hero-feature, .hero .quick-links, .hero .hero-lead { display: none; }
  .board { margin-top: 20px; }
  .board .section-head { margin-bottom: 8px; }
  .filters { gap: 5px; }
  .incident-link { grid-template-columns: 38px minmax(0,1fr); grid-template-areas: "icon copy" "time status"; align-items: start; }
  .incident-link .status { justify-self: start; }
  .state-filters { gap: 2px 12px; }
  .section-head h2 { font-weight: 640; }
}
.refresh-notice { margin: 10px 0; color: var(--muted); }
.refresh-notice button { padding: 4px; }
@media (max-width: 760px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
  .filters a { flex: 0 0 auto; }
}
.board > section { min-width: 0; }

html[data-theme="intunecat"] {
  color-scheme: dark;
  --paper: #121018;
  --surface: #1c1830;
  --ink: #f4f0e8;
  --muted: #c4bdd2;
  --line: #3c3554;
  --lavender: #2a2444;
}
html[data-theme="intunecat"] body { background: var(--paper); color: var(--ink); }
html[data-theme="intunecat"] .brand-org { color: #c9b8ee; }
html[data-theme="intunecat"] .skip:focus { background: var(--surface); color: var(--ink); }
html[data-theme="intunecat"] .hero { box-shadow: inset 0 0 0 1px #3d3460; }
html[data-theme="intunecat"] .updated time,
html[data-theme="intunecat"] .incident-link > time { color: #ddd4f2; }
html[data-theme="intunecat"] .filters a { color: #e4dcf6; }
html[data-theme="intunecat"] .filters a:hover { border-color: #b3a4d2; }
html[data-theme="intunecat"] .incident-link:hover { background: #262240; }
html[data-theme="intunecat"] .status { color: #efe8ff; background: #3a3160; }
html[data-theme="intunecat"] .status-noapte { color: #efe8ff; background: #43386e; }
html[data-theme="intunecat"] .status-posibil { color: #ffe7b0; background: #4a3a18; }
html[data-theme="intunecat"] .status-traseu,
html[data-theme="intunecat"] .status-nou { color: #dff3c4; background: #2c4020; }
html[data-theme="intunecat"] .status-acces { color: #ffd0db; background: #5a2436; }
html[data-theme="intunecat"] .status-programat { color: #d5e6ff; background: #243656; }
html[data-theme="intunecat"] .status-trecut { color: #ddd8e6; background: #3a3548; }
html[data-theme="intunecat"] .saved,
html[data-theme="intunecat"] .detail-side,
html[data-theme="intunecat"] .guide-preview { background: #221c38; color: var(--ink); }
html[data-theme="intunecat"] .saved-head,
html[data-theme="intunecat"] .detail-side > p:first-child { color: #f4f0e8; }
html[data-theme="intunecat"] .saved p,
html[data-theme="intunecat"] .saved li small,
html[data-theme="intunecat"] .guide-preview p { color: var(--muted); }
html[data-theme="intunecat"] .saved li { border-bottom-color: #3c3554; }
html[data-theme="intunecat"] .text-link,
html[data-theme="intunecat"] .breadcrumbs,
html[data-theme="intunecat"] .story-meta,
html[data-theme="intunecat"] .news-location,
html[data-theme="intunecat"] .news-byline a,
html[data-theme="intunecat"] .news-prose p a,
html[data-theme="intunecat"] .news-rail a,
html[data-theme="intunecat"] .source-list a,
html[data-theme="intunecat"] .incident-source a,
html[data-theme="intunecat"] .byline a,
html[data-theme="intunecat"] .subpage-meta a,
html[data-theme="intunecat"] .prose a,
html[data-theme="intunecat"] .official-card a,
html[data-theme="intunecat"] .notice-history a,
html[data-theme="intunecat"] .correction-link,
html[data-theme="intunecat"] .state-filters a,
html[data-theme="intunecat"] .edition-stats a:hover,
html[data-theme="intunecat"] .edition-stats a[aria-current] { color: #d7c6ff; }
html[data-theme="intunecat"] .story-card:hover :is(h2, h3) { color: #d7c6ff; }
html[data-theme="intunecat"] .show-more { color: #f4f0e8; border-color: #5c5278; }
html[data-theme="intunecat"] .show-more:hover { background: #2a2444; }
html[data-theme="intunecat"] .action-button { background: #2a2444; border-color: #5c5278; color: #f4f0e8; }
html[data-theme="intunecat"] .action-button:hover,
html[data-theme="intunecat"] .action-button[aria-pressed="true"] { background: #3a3260; }
html[data-theme="intunecat"] .action-feedback,
html[data-theme="intunecat"] .timing-note,
html[data-theme="intunecat"] .news-deck,
html[data-theme="intunecat"] .news-prose,
html[data-theme="intunecat"] .news-rail { color: #e6e0f0; }
html[data-theme="intunecat"] .share-article { color: #f4f0e8; border-color: #5c5278; }
html[data-theme="intunecat"] .share-article:hover { background: #2a2444; }
html[data-theme="intunecat"] .news-rail { border-left-color: #3c3554; }
html[data-theme="intunecat"] .route-strip { background: #2a2444; }
html[data-theme="intunecat"] .route-strip figcaption,
html[data-theme="intunecat"] .route-strip ol { color: #f4f0e8; }
html[data-theme="intunecat"] .route-strip li::before { background: #2a2444; border-color: #c4b6e8; }
html[data-theme="intunecat"] .day-lines a { background: #3a3260; color: #f4f0e8; }
html[data-theme="intunecat"] .day-lines a:hover { background: #4a4074; }
html[data-theme="intunecat"] .guide-jump-links a { border-bottom-color: #3c3554; }
html[data-theme="intunecat"] .notice-history li { border-left-color: #5c5278; }
html[data-theme="intunecat"] .source-rail svg,
html[data-theme="intunecat"] .official-card > svg { color: #d7c6ff; }
html[data-theme="intunecat"] .side-related { border-top-color: #3c3554; }
html[data-theme="intunecat"] .traffic-link:hover { background: #262240; }
html[data-theme="intunecat"] .traffic-kind { color: #f4f0e8; }
html[data-theme="intunecat"] .sign-card { background: var(--surface); }
html[data-theme="intunecat"] .traffic-search { background: var(--surface); border-color: var(--line); }

.traffic-home { margin-top: 36px; }
.traffic-block { margin-top: 28px; }
.traffic-block h2 { font-size: 1.25rem; margin-bottom: 8px; }
.traffic-list { border-top: 2px solid var(--navy); }
.traffic-row { border-bottom: 1px solid var(--line); }
.traffic-link { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: .75rem; align-items: center; padding: 12px 4px; }
.traffic-link:hover { background: #efedf6; }
.traffic-kind { font-size: .78rem; font-weight: 750; line-height: 1.25; }
.kind-inchis { color: #8a1f3d; }
.kind-accident { color: #8a3b00; }
.kind-lucrari { color: #6a5200; }
.kind-benzi { color: #3d2f6b; }
.kind-aglomerare { color: #5c4f75; }
.traffic-link :is(h2, h3) { font-size: 1.02rem; font-weight: 650; line-height: 1.3; }
.traffic-link p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.line-index { display: flex; flex-wrap: wrap; gap: .45rem .85rem; margin: 0 0 22px; }
.line-index a { font-weight: 700; }
.traffic-filters { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin: 0 0 12px; }
.traffic-filters a[aria-current="true"] { font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.traffic-filters span { font: 700 .75rem/1 var(--mono); }
.traffic-search { display: flex; gap: .5rem; margin: 4px 0 16px; max-width: 420px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 14px; background: var(--surface); }
.traffic-search input { flex: 1; border: 0; background: transparent; color: var(--ink); min-width: 0; }
.traffic-search button { border: 0; border-radius: 999px; background: var(--navy); color: #fff; padding: 8px 14px; font-weight: 650; }
.sitemap-groups { display: grid; gap: 28px; margin-bottom: 56px; }
.sitemap-groups h2 { font-size: 1.45rem; letter-spacing: -.02em; margin-bottom: 8px; }
.sitemap-groups a { text-decoration: underline; text-underline-offset: 3px; }
.sitemap-groups li + li { margin-top: 6px; }
.sitemap-groups details { border-bottom: 1px solid var(--line); }
.sitemap-groups summary { cursor: pointer; padding: 10px 0; font-weight: 720; }
.sitemap-groups summary span { color: var(--muted); font-weight: 650; }
.sitemap-groups details ul { padding: 0 0 12px 2px; }
.traffic-note { color: var(--muted); font-size: .92rem; margin-top: 14px; }
.traffic-map { height: 420px; margin: 0 0 22px; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.traffic-map .leaflet-control-attribution { font-size: 11px; }
.traffic-facts { display: grid; gap: 10px; margin: 4px 0 18px; }
.traffic-facts div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .5rem; }
.traffic-facts dt { color: var(--muted); }
.sign-jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 8px; margin-bottom: 28px; }
.sign-jump a, .sign-list a { display: flex; gap: 10px; align-items: center; }
.sign-jump a { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--surface); font-weight: 700; }
.sign-jump .sign-art, .sign-list .sign-art { width: 48px; height: 48px; object-fit: contain; flex: 0 0 auto; }
.sign-flip { transform: scaleX(-1); }
.sign-block { margin-bottom: 28px; }
.sign-block h2 { font-size: 1.35rem; margin-bottom: 6px; }
.sign-list a { padding: 8px 0; border-bottom: 1px solid var(--line); }
.sign-list strong { margin-right: .35rem; }
.sign-detail { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.sign-detail .sign-art { width: 128px; height: 128px; object-fit: contain; flex: 0 0 auto; }
.sign-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sign-card { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--surface); }
.sign-card svg { width: 54px; height: 54px; display: block; margin-bottom: 8px; }
.sign-card h2 { font-size: 1.12rem; margin-bottom: 4px; }
.sign-card p { color: var(--muted); }
.hero .traffic-note { margin-top: 10px; color: #f0e9ff; }
.hero .traffic-note .text-link { color: #f0e9ff; }
@media (max-width: 640px) {
  .traffic-link, .traffic-facts div { grid-template-columns: 1fr; gap: .2rem; }
  .traffic-map { height: 280px; }
}
html[data-theme="intunecat"] .kind-inchis { color: #ffb3c4; }
html[data-theme="intunecat"] .kind-accident { color: #ffd0a8; }
html[data-theme="intunecat"] .kind-lucrari { color: #ffe7a3; }
html[data-theme="intunecat"] .kind-benzi { color: #d7c6ff; }
html[data-theme="intunecat"] .kind-aglomerare { color: #ddd4f2; }
