/* /transportation-and-rail/ only. Every rule is scoped to body.transportation-rail-page.
   No global selectors; the admin app never loads this file. */
body.transportation-rail-page {
  --ro-warn: #B4541A;          /* conflict / attention: burnt amber, distinct from brand blue */
  --ro-warn-soft: #F6E3D3;
  --ro-track: #8A96A8;
  --ro-p: #1B5DAA;             /* passenger series */
  --ro-f: #0B1628;             /* freight series */
  --ro-grid: #E2E6ED;
  --ro-mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
}
body.transportation-rail-page #rail-ops-main [hidden] { display: none !important; }
body.transportation-rail-page #rail-ops-main { overflow-x: clip; }
body.transportation-rail-page #rail-ops-main .ro-mono { font-family: var(--ro-mono); font-variant-numeric: tabular-nums; }

/* ---------- hero ---------- */
body.transportation-rail-page .ro-hero { padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--ws-line); }
body.transportation-rail-page .ro-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
body.transportation-rail-page .ro-hero .ws-h1 { max-width: 14ch; }
body.transportation-rail-page .ro-hero .ws-lead { margin-top: 24px; }
body.transportation-rail-page .ro-aud { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding: 0; list-style: none; }
body.transportation-rail-page .ro-hero-fig { margin: 0; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); padding: clamp(14px, 2vw, 22px); }
body.transportation-rail-page .ro-hero-fig svg { display: block; width: 100%; height: auto; }
body.transportation-rail-page .ro-hero-fig figcaption { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ws-line); display: grid; gap: 4px; font-size: 13.5px; line-height: 1.5; color: var(--ws-muted); }
body.transportation-rail-page .ro-hero-fig figcaption b { color: var(--ws-ink); font-weight: 600; font-size: 14px; }
body.transportation-rail-page .ro-flag { display: inline-flex; align-self: start; justify-self: start; font: 600 11px/1 var(--ro-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: var(--ws-ice); color: var(--ws-navy); }
body.transportation-rail-page .ro-flag.warn { background: var(--ro-warn-soft); color: #7A3810; }

/* ---------- questions ---------- */
body.transportation-rail-page .ro-qs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); margin-top: 48px; align-items: start; }
body.transportation-rail-page .ro-qs-photo { margin: 0; }
body.transportation-rail-page .ro-qs-photo img { width: 100%; height: auto; display: block; border-radius: 10px; }
body.transportation-rail-page .ro-qs-photo figcaption { margin-top: 10px; font-size: 13px; color: var(--ws-muted); }
body.transportation-rail-page .ro-qlist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ws-line); counter-reset: q; }
body.transportation-rail-page .ro-qlist > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 4px 18px; padding: 26px 0; border-bottom: 1px solid var(--ws-line); counter-increment: q; }
body.transportation-rail-page .ro-qlist > li::before { content: "Q" counter(q); grid-row: span 3; font: 600 13px/1.6 var(--ro-mono); color: var(--ws-navy); }
body.transportation-rail-page .ro-qlist h3 { font-size: 19px; line-height: 1.3; color: var(--ws-ink); }
body.transportation-rail-page .ro-qlist p { font-size: 15.5px; line-height: 1.6; color: var(--ws-text-2); }
body.transportation-rail-page .ro-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding: 0; list-style: none; }
body.transportation-rail-page .ro-chips li { font: 500 12px/1 var(--ro-mono); padding: 6px 8px; border: 1px solid var(--ws-line); border-radius: 4px; color: var(--ws-text-2); background: var(--ws-card); }

/* ---------- simulation ---------- */
body.transportation-rail-page .ro-sim-sec { background: var(--ws-ice); }
body.transportation-rail-page .ro-disclose { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin-top: 28px; padding: 16px 18px; border: 1px solid #E7C3A5; border-left: 4px solid var(--ro-warn); background: #FBF4EE; border-radius: 0 10px 10px 0; max-width: 92ch; }
body.transportation-rail-page .ro-disclose b { font-size: 15px; color: var(--ws-ink); }
body.transportation-rail-page .ro-disclose p { grid-column: 1 / -1; font-size: 14.5px; line-height: 1.55; color: var(--ws-text); }
body.transportation-rail-page .ro-console { margin-top: 32px; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); box-shadow: 0 30px 60px -44px rgba(11,22,40,.45); }
body.transportation-rail-page .ro-console-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--ws-line); }
body.transportation-rail-page .ro-console-id { display: grid; gap: 3px; }
body.transportation-rail-page .ro-console-id b { font-size: 15px; color: var(--ws-ink); letter-spacing: -.01em; }
body.transportation-rail-page .ro-console-id span { font: 500 12px/1.4 var(--ro-mono); color: var(--ws-muted); }
body.transportation-rail-page .ro-tabs { display: flex; gap: 2px; padding: 8px 12px 0; border-bottom: 1px solid var(--ws-line); overflow-x: auto; scrollbar-width: thin; }
body.transportation-rail-page .ro-tab { flex: none; min-height: 44px; padding: 0 14px; border: 0; background: none; font: 600 14px/1 'Inter', sans-serif; color: var(--ws-text-2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
body.transportation-rail-page .ro-tab:hover { color: var(--ws-navy); }
body.transportation-rail-page .ro-tab[aria-selected="true"] { color: var(--ws-navy); border-bottom-color: var(--ws-navy); }
body.transportation-rail-page .ro-tab .n { font: 500 11px var(--ro-mono); color: var(--ws-muted); margin-right: 6px; }
body.transportation-rail-page .ro-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 14px 18px; border-bottom: 1px solid var(--ws-line); background: #F7F8FA; }
body.transportation-rail-page .ro-controls fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
body.transportation-rail-page .ro-controls legend { float: left; margin-right: 8px; font: 600 12px/44px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ws-muted); }
body.transportation-rail-page .ro-seg { min-height: 44px; min-width: 52px; padding: 0 12px; border: 1px solid var(--ws-line); border-radius: 6px; background: var(--ws-card); font: 600 13.5px/1 var(--ro-mono); color: var(--ws-ink); cursor: pointer; }
body.transportation-rail-page .ro-seg:hover { border-color: var(--ws-navy); }
body.transportation-rail-page .ro-seg[aria-pressed="true"] { background: var(--ws-navy); border-color: var(--ws-navy); color: #fff; }
body.transportation-rail-page .ro-reset { margin-left: auto; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ws-ink); border-radius: 999px; background: transparent; font: 600 14px/1 'Inter', sans-serif; color: var(--ws-ink); cursor: pointer; }
body.transportation-rail-page .ro-reset:hover { background: var(--ws-ink); color: #fff; }
body.transportation-rail-page .ro-statusbar { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 18px; border-bottom: 1px solid var(--ws-line); font-size: 13.5px; color: var(--ws-text-2); }
body.transportation-rail-page .ro-statusbar dt { display: inline; font: 500 11.5px var(--ro-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ws-muted); margin-right: 6px; }
body.transportation-rail-page .ro-statusbar dd { display: inline; margin: 0; font: 600 13.5px var(--ro-mono); color: var(--ws-ink); }
body.transportation-rail-page .ro-statusbar dd.is-warn { color: var(--ro-warn); }
body.transportation-rail-page .ro-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
body.transportation-rail-page .ro-view { padding: 20px 18px 24px; min-width: 0; }
body.transportation-rail-page .ro-view h3 { font-size: 18px; color: var(--ws-ink); margin-bottom: 6px; }
body.transportation-rail-page .ro-view > p { font-size: 14.5px; line-height: 1.55; color: var(--ws-text-2); max-width: 70ch; }
body.transportation-rail-page .ro-side { border-left: 1px solid var(--ws-line); padding: 20px 18px; background: #FAFAF8; border-radius: 0 0 var(--ws-radius-lg) 0; }
body.transportation-rail-page .ro-side h3 { font: 600 12px/1 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--ws-muted); margin-bottom: 14px; }
body.transportation-rail-page .ro-detail dl { display: grid; gap: 10px; }
body.transportation-rail-page .ro-detail dl div { display: grid; gap: 2px; }
body.transportation-rail-page .ro-detail dt { font: 500 11.5px var(--ro-mono); color: var(--ws-muted); text-transform: uppercase; letter-spacing: .05em; }
body.transportation-rail-page .ro-detail dd { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--ws-ink); }
body.transportation-rail-page .ro-detail .ro-detail-title { font-size: 17px; font-weight: 620; color: var(--ws-ink); margin-bottom: 12px; }
body.transportation-rail-page .ro-detail p { font-size: 14px; line-height: 1.55; color: var(--ws-text-2); }
body.transportation-rail-page .ro-clear { margin-top: 16px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ws-line); border-radius: 6px; background: var(--ws-card); font: 600 13px 'Inter', sans-serif; color: var(--ws-navy); cursor: pointer; }
body.transportation-rail-page .ro-review { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--ws-line); font-size: 13px; line-height: 1.5; color: var(--ws-text-2); }

/* SVG shared */
body.transportation-rail-page .ro-svgwrap { margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ws-line); border-radius: 10px; background: #fff; }
body.transportation-rail-page .ro-svgwrap svg { display: block; width: 100%; min-width: 620px; height: auto; fill: var(--ws-ink); }
body.transportation-rail-page .ro-svgwrap svg text { font-family: 'Inter', sans-serif; }
body.transportation-rail-page .ro-svgwrap .t-mono { font-family: var(--ro-mono); }
body.transportation-rail-page .ro-hit { cursor: pointer; }
body.transportation-rail-page .ro-hit:focus { outline: none; }
body.transportation-rail-page .ro-hit:focus-visible .ro-ring, body.transportation-rail-page .ro-hit.is-sel .ro-ring { stroke: var(--ws-signal); stroke-width: 3; opacity: 1; }
body.transportation-rail-page .ro-ring { fill: none; opacity: 0; }
body.transportation-rail-page .ro-axis-cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ws-muted); }
body.transportation-rail-page .ro-axis-cap span { max-width: 52ch; }
body.transportation-rail-page .ro-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 12px; padding: 0; list-style: none; font-size: 13.5px; color: var(--ws-text-2); }
body.transportation-rail-page .ro-legend li { display: inline-flex; align-items: center; gap: 8px; }
body.transportation-rail-page .ro-legend i { display: inline-block; width: 26px; height: 0; border-top: 3px solid var(--ro-p); }
body.transportation-rail-page .ro-legend i.f { border-top: 3px dashed var(--ro-f); }
body.transportation-rail-page .ro-legend i.c { height: 10px; border: 0; background: var(--ro-warn-soft); outline: 1.5px solid var(--ro-warn); }
body.transportation-rail-page .ro-legend i.l { height: 10px; width: 10px; border: 0; background: var(--ws-ice); outline: 1.5px solid var(--ws-navy); }

/* tables */
body.transportation-rail-page .ro-tablewrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--ws-line); border-radius: 10px; background: #fff; }
body.transportation-rail-page .ro-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
body.transportation-rail-page .ro-table caption { text-align: left; padding: 12px 14px; font-size: 13px; color: var(--ws-muted); caption-side: top; border-bottom: 1px solid var(--ws-line); }
body.transportation-rail-page .ro-table th, body.transportation-rail-page .ro-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--ws-grid, #E2E6ED); vertical-align: top; }
body.transportation-rail-page .ro-table thead th { font: 600 11.5px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--ws-muted); background: #F7F8FA; }
body.transportation-rail-page .ro-table td.ro-mono, body.transportation-rail-page .ro-table td .ro-mono { font-size: 13.5px; }
body.transportation-rail-page .ro-table tr.is-current { background: var(--ws-ice); }
body.transportation-rail-page .ro-table tr.is-current th { box-shadow: inset 3px 0 0 var(--ws-navy); }
body.transportation-rail-page .ro-table .is-warn { color: var(--ro-warn); font-weight: 600; }
body.transportation-rail-page .ro-rowbtn { min-height: 36px; padding: 0 10px; border: 1px solid var(--ws-line); border-radius: 6px; background: var(--ws-card); font: 600 12.5px 'Inter', sans-serif; color: var(--ws-navy); cursor: pointer; }
body.transportation-rail-page .ro-rowbtn:hover { border-color: var(--ws-navy); }
body.transportation-rail-page .ro-rowbtn[aria-pressed="true"] { background: var(--ws-navy); color: #fff; border-color: var(--ws-navy); }

/* conflict cards */
body.transportation-rail-page .ro-conf-list { display: grid; gap: 12px; margin-top: 16px; padding: 0; list-style: none; }
body.transportation-rail-page .ro-conf { border: 1px solid #E7C3A5; border-left: 4px solid var(--ro-warn); background: #FFFBF7; border-radius: 0 10px 10px 0; padding: 14px 16px; }
body.transportation-rail-page .ro-conf button { all: unset; cursor: pointer; display: block; font-weight: 620; color: var(--ws-ink); font-size: 15.5px; }
body.transportation-rail-page .ro-conf button:focus-visible { outline: 2.5px solid var(--ws-focus); outline-offset: 3px; }
body.transportation-rail-page .ro-conf p { font-size: 14px; line-height: 1.55; color: var(--ws-text-2); margin-top: 6px; }
body.transportation-rail-page .ro-noconf { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--ws-line); border-left: 4px solid var(--ws-navy); border-radius: 0 10px 10px 0; background: #fff; font-size: 14.5px; line-height: 1.55; color: var(--ws-text); }
body.transportation-rail-page .ro-alts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
body.transportation-rail-page .ro-alt { border: 1px solid var(--ws-line); border-radius: 10px; padding: 14px 16px; background: #fff; display: grid; gap: 8px; align-content: start; }
body.transportation-rail-page .ro-alt b { font-size: 15px; color: var(--ws-ink); }
body.transportation-rail-page .ro-alt p { font-size: 13.5px; line-height: 1.5; color: var(--ws-text-2); }
body.transportation-rail-page .ro-alt .ro-rowbtn { justify-self: start; }
body.transportation-rail-page .ro-assume { margin-top: 18px; }
body.transportation-rail-page .ro-assume summary { cursor: pointer; font-weight: 600; font-size: 14.5px; color: var(--ws-navy); min-height: 44px; display: flex; align-items: center; }
body.transportation-rail-page .ro-assume ul { padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.5; color: var(--ws-text-2); }
body.transportation-rail-page .ro-assume li { list-style: disc; }
body.transportation-rail-page .ro-errbox { padding: 24px; font-size: 15px; color: var(--ws-text); }

/* ---------- capabilities ---------- */
body.transportation-rail-page .ro-cap-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 48px; padding: clamp(24px, 3vw, 40px); background: var(--ws-ink); color: var(--ws-on-dark); border-radius: var(--ws-radius-lg); }
body.transportation-rail-page .ro-cap-feature h3 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.12; }
body.transportation-rail-page .ro-cap-feature p { color: var(--ws-on-dark-2); font-size: 16.5px; line-height: 1.6; margin-top: 14px; }
body.transportation-rail-page .ro-cap-feature .ro-flag { background: rgba(157,189,240,.16); color: #B9D0F5; margin-bottom: 16px; }
body.transportation-rail-page .ro-cap-feature ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; align-content: start; }
body.transportation-rail-page .ro-cap-feature li { padding: 12px 0; border-bottom: 1px solid var(--ws-line-dark); font: 500 14px/1.4 var(--ro-mono); color: var(--ws-on-dark); }
body.transportation-rail-page .ro-caps { list-style: none; padding: 0; margin-top: 8px; border-top: 1px solid var(--ws-line); }
body.transportation-rail-page .ro-caps > li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); gap: 8px 28px; padding: 26px 0; border-bottom: 1px solid var(--ws-line); }
body.transportation-rail-page .ro-caps .n { font: 600 13px var(--ro-mono); color: var(--ws-navy); padding-top: 4px; }
body.transportation-rail-page .ro-caps h3 { font-size: 20px; line-height: 1.25; color: var(--ws-ink); }
body.transportation-rail-page .ro-caps p { font-size: 15.5px; line-height: 1.6; color: var(--ws-text-2); }
body.transportation-rail-page .ro-caps .ro-chips { grid-column: 3; }

/* audience selector */
body.transportation-rail-page .ro-audsel { margin-top: 56px; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0; border: 1px solid var(--ws-line); border-radius: var(--ws-radius-lg); background: var(--ws-card); overflow: hidden; }
body.transportation-rail-page .ro-audsel [role="tablist"] { display: grid; align-content: start; border-right: 1px solid var(--ws-line); background: #F7F8FA; }
body.transportation-rail-page .ro-audtab { min-height: 52px; padding: 0 18px; text-align: left; border: 0; border-bottom: 1px solid var(--ws-line); background: none; font: 600 14.5px 'Inter', sans-serif; color: var(--ws-text-2); cursor: pointer; }
body.transportation-rail-page .ro-audtab[aria-selected="true"] { background: var(--ws-card); color: var(--ws-navy); box-shadow: inset 3px 0 0 var(--ws-navy); }
body.transportation-rail-page .ro-audpanel { padding: 24px 28px; }
body.transportation-rail-page .ro-audpanel h4 { font-size: 19px; color: var(--ws-ink); }
body.transportation-rail-page .ro-audpanel p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--ws-text-2); max-width: 64ch; }
body.transportation-rail-page .ro-audpanel ul { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 0; list-style: none; }
body.transportation-rail-page .ro-audpanel li { padding: 10px 0; border-bottom: 1px solid var(--ws-line); font-size: 14.5px; color: var(--ws-text); }

/* ---------- incident band ---------- */
body.transportation-rail-page .ro-incident { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
body.transportation-rail-page .ro-incident ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ws-line); }
body.transportation-rail-page .ro-incident ol li { position: relative; padding: 0 0 18px 22px; font-size: 15px; line-height: 1.55; color: var(--ws-text-2); }
body.transportation-rail-page .ro-incident ol li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--ws-card); border: 2px solid var(--ws-navy); }
body.transportation-rail-page .ro-incident ol b { color: var(--ws-ink); font-weight: 600; }

/* ---------- njiaops ---------- */
body.transportation-rail-page .ro-nj-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); margin-top: 40px; align-items: start; }
body.transportation-rail-page .ro-evidence { list-style: none; padding: 0; border-top: 1px solid var(--ws-line-dark); }
body.transportation-rail-page .ro-evidence li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--ws-line-dark); }
body.transportation-rail-page .ro-evidence .ro-flag { background: rgba(157,189,240,.16); color: #B9D0F5; }
body.transportation-rail-page .ro-evidence .ro-flag.warn { background: rgba(232,160,110,.18); color: #F2C29D; }
body.transportation-rail-page .ro-evidence b { color: #fff; font-size: 15.5px; font-weight: 600; }
body.transportation-rail-page .ro-evidence p { grid-column: 2; font-size: 14.5px; line-height: 1.55; }
body.transportation-rail-page .ro-pending { border: 1px dashed rgba(157,189,240,.4); border-radius: 12px; padding: 22px; display: grid; gap: 10px; }
body.transportation-rail-page .ro-pending b { color: #fff; font-size: 16px; }
body.transportation-rail-page .ro-pending p { font-size: 14.5px; line-height: 1.6; }
body.transportation-rail-page .ro-pending ul { list-style: none; padding: 0; display: grid; gap: 6px; }
body.transportation-rail-page .ro-pending li { font: 500 13px var(--ro-mono); color: var(--ws-on-dark); padding-left: 14px; position: relative; }
body.transportation-rail-page .ro-pending li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 1.5px; background: #9DBDF0; }
body.transportation-rail-page .ro-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 48px; background: var(--ws-line-dark); border: 1px solid var(--ws-line-dark); border-radius: 12px; overflow: hidden; }
body.transportation-rail-page .ro-vs > div { background: var(--ws-ink-2); padding: 24px; }
body.transportation-rail-page .ro-vs h3 { color: #fff; font-size: 19px; }
body.transportation-rail-page .ro-vs p { margin-top: 8px; font-size: 15px; line-height: 1.6; }
body.transportation-rail-page .ro-nj-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; align-items: center; }

/* ---------- engineering ---------- */
body.transportation-rail-page .ro-layers { list-style: none; padding: 0; margin-top: 40px; display: grid; gap: 8px; }
body.transportation-rail-page .ro-layers li { display: grid; grid-template-columns: 64px minmax(0, 220px) minmax(0, 1fr); gap: 6px 22px; align-items: baseline; padding: 18px 20px; background: var(--ws-card); border: 1px solid var(--ws-line); border-radius: 10px; }
body.transportation-rail-page .ro-layers li.human { background: var(--ws-navy); border-color: var(--ws-navy); }
body.transportation-rail-page .ro-layers li.human b, body.transportation-rail-page .ro-layers li.human p, body.transportation-rail-page .ro-layers li.human span { color: #fff; }
body.transportation-rail-page .ro-layers span { font: 600 12px var(--ro-mono); color: var(--ws-navy); }
body.transportation-rail-page .ro-layers b { font-size: 16.5px; color: var(--ws-ink); font-weight: 620; }
body.transportation-rail-page .ro-layers p { font-size: 14.5px; line-height: 1.55; color: var(--ws-text-2); }
body.transportation-rail-page .ro-data3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 2px solid var(--ws-ink); }
body.transportation-rail-page .ro-data3 > div { padding: 22px 22px 22px 0; }
body.transportation-rail-page .ro-data3 > div + div { padding-left: 22px; border-left: 1px solid var(--ws-line); }
body.transportation-rail-page .ro-data3 h4 { font-size: 18px; color: var(--ws-ink); margin: 10px 0 8px; }
body.transportation-rail-page .ro-data3 p { font-size: 14.5px; line-height: 1.6; color: var(--ws-text-2); }
body.transportation-rail-page .ro-data3 dl { margin-top: 12px; display: grid; gap: 6px; font-size: 13.5px; }
body.transportation-rail-page .ro-data3 dt { font: 500 11px var(--ro-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ws-muted); }
body.transportation-rail-page .ro-data3 dd { margin: 0 0 6px; color: var(--ws-text); }
body.transportation-rail-page .ro-boundary { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ws-line); border: 1px solid var(--ws-line); border-radius: 12px; overflow: hidden; }
body.transportation-rail-page .ro-boundary > div { background: var(--ws-card); padding: 24px; }
body.transportation-rail-page .ro-boundary > div.out { background: #FBF4EE; }
body.transportation-rail-page .ro-boundary h3 { font-size: 18px; color: var(--ws-ink); margin-bottom: 12px; }
body.transportation-rail-page .ro-boundary ul { list-style: none; padding: 0; display: grid; gap: 8px; }
body.transportation-rail-page .ro-boundary li { font-size: 14.5px; line-height: 1.5; color: var(--ws-text-2); padding-left: 18px; position: relative; }
body.transportation-rail-page .ro-boundary li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1.5px; background: var(--ws-navy); }
body.transportation-rail-page .ro-boundary .out li::before { background: var(--ro-warn); }
body.transportation-rail-page .ro-boundary > p { grid-column: 1 / -1; background: var(--ws-card); padding: 16px 24px; font-size: 14.5px; line-height: 1.55; color: var(--ws-text); }
body.transportation-rail-page .ro-rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
body.transportation-rail-page .ro-rel h3 { font-size: 18px; color: var(--ws-ink); margin-bottom: 10px; }
body.transportation-rail-page .ro-rel p { font-size: 14.5px; line-height: 1.6; color: var(--ws-text-2); }
body.transportation-rail-page .ro-rel ul { margin-top: 10px; list-style: none; padding: 0; }
body.transportation-rail-page .ro-rel li { font-size: 14px; padding: 7px 0; border-bottom: 1px solid var(--ws-line); color: var(--ws-text); }
body.transportation-rail-page .ro-metrics { margin-top: 56px; }
body.transportation-rail-page .ro-faq-sec .ws-faq { margin-top: 32px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  body.transportation-rail-page #rail-ops-main *, body.transportation-rail-page #rail-ops-main *::before { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  body.transportation-rail-page .ro-body { grid-template-columns: minmax(0, 1fr); }
  body.transportation-rail-page .ro-side { border-left: 0; border-top: 1px solid var(--ws-line); border-radius: 0 0 var(--ws-radius-lg) var(--ws-radius-lg); }
}
@media (max-width: 900px) {
  body.transportation-rail-page .ro-hero-grid, body.transportation-rail-page .ro-qs, body.transportation-rail-page .ro-cap-feature,
  body.transportation-rail-page .ro-nj-grid, body.transportation-rail-page .ro-incident, body.transportation-rail-page .ro-vs,
  body.transportation-rail-page .ro-boundary, body.transportation-rail-page .ro-rel, body.transportation-rail-page .ro-data3 { grid-template-columns: minmax(0, 1fr); }
  body.transportation-rail-page .ro-data3 > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--ws-line); }
  body.transportation-rail-page .ro-caps > li { grid-template-columns: 40px minmax(0, 1fr); }
  body.transportation-rail-page .ro-caps .ro-chips, body.transportation-rail-page .ro-caps p { grid-column: 2; }
  body.transportation-rail-page .ro-audsel { grid-template-columns: minmax(0, 1fr); }
  body.transportation-rail-page .ro-audsel [role="tablist"] { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--ws-line); }
  body.transportation-rail-page .ro-audtab { flex: none; border-bottom: 0; }
  body.transportation-rail-page .ro-audtab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--ws-navy); }
  body.transportation-rail-page .ro-layers li { grid-template-columns: 48px minmax(0, 1fr); }
  body.transportation-rail-page .ro-layers p { grid-column: 2; }
}
@media (max-width: 640px) {
  body.transportation-rail-page .ro-alts, body.transportation-rail-page .ro-cap-feature ul, body.transportation-rail-page .ro-audpanel ul { grid-template-columns: minmax(0, 1fr); }
  body.transportation-rail-page .ro-evidence li { grid-template-columns: minmax(0, 1fr); }
  body.transportation-rail-page .ro-evidence p { grid-column: 1; }
  body.transportation-rail-page .ro-reset { margin-left: 0; }
  body.transportation-rail-page .ro-controls legend { float: none; width: 100%; line-height: 1.4; margin-bottom: 4px; }
  body.transportation-rail-page .ro-qlist > li { grid-template-columns: minmax(0, 1fr); }
  body.transportation-rail-page .ro-qlist > li::before { grid-row: auto; }
}
body.transportation-rail-page .ro-shots { display: grid; gap: 28px; }
body.transportation-rail-page .ro-shot { margin: 0; }
body.transportation-rail-page .ro-shot img { width: 100%; height: auto; display: block; }
body.transportation-rail-page .ro-shot figcaption { margin-top: 12px; display: grid; gap: 3px; font-size: 13.5px; line-height: 1.5; color: var(--ws-on-dark-2); }
body.transportation-rail-page .ro-shot figcaption b { color: #fff; font-size: 14.5px; font-weight: 600; }
