/* SMN 11.1.112 — additive public railway utilities only. */
.smn-rail-tools,.smn-rail-user-content,.smn-rail-feature-card,.smn-news-train-links{box-sizing:border-box}
.smn-rail-hub{width:100%;max-width:1050px;margin:0 auto 20px;padding:16px;border:1px solid #d8e5f2;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(11,37,69,.06)}
.smn-rail-hub-head,.smn-rail-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.smn-rail-hub-head span,.smn-rail-panel-head span{display:block;color:#d3182c;font-size:10px;font-weight:900;letter-spacing:.11em}.smn-rail-hub-head h2,.smn-rail-panel-head h2{margin:2px 0 0;color:#0b2545;font-size:19px;line-height:1.25}.smn-rail-hub-head>a,.smn-rail-panel-head>a{flex:0 0 auto;color:#075ba8;font-size:12px;font-weight:800;text-decoration:none}
.smn-rail-date-filters,.smn-rail-search-tabs{display:flex;gap:7px;flex-wrap:wrap}.smn-rail-date-filters{margin-bottom:12px}.smn-rail-date-filters button,.smn-rail-search-tabs button{min-height:34px;padding:0 12px;border:1px solid #d6e1ec;border-radius:999px;background:#f7faff;color:#536a81;font:800 12px/1 inherit;cursor:pointer}.smn-rail-date-filters button.is-active,.smn-rail-search-tabs button.is-active{border-color:#0b5ea8;background:#0b5ea8;color:#fff}
.smn-rail-search-box{position:relative;margin:0 0 12px}.smn-rail-search-tabs{margin-bottom:7px}.smn-rail-search-box>label{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 13px;border:1px solid #cfddeb;border-radius:12px;background:#fff}.smn-rail-search-box>label i{color:#0b5ea8}.smn-rail-search-box input{width:100%;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#102a43;font-size:14px}.smn-rail-search-results,.smn-rail-between-results{margin-top:9px;padding:8px;border:1px solid #d7e2ed;border-radius:12px;background:#f9fbfe}.smn-rail-search-result{display:flex;align-items:center;gap:10px;padding:9px 10px;border-bottom:1px solid #e5edf5;color:#17324d;text-decoration:none}.smn-rail-search-result:last-child{border-bottom:0}.smn-rail-search-result>i{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eaf4ff;color:#075ba8}.smn-rail-search-result span{display:flex;flex-direction:column;min-width:0}.smn-rail-search-result b{font-size:13px}.smn-rail-search-result small{margin-top:2px;color:#667b90;font-size:11px}
.smn-rail-between{display:flex;align-items:flex-end;gap:10px;margin:0}.smn-rail-between>div{display:grid;grid-template-columns:minmax(0,1fr) 24px minmax(0,1fr);align-items:end;gap:8px;flex:1}.smn-rail-between label{display:flex;flex-direction:column;gap:5px;color:#4d6278;font-size:11px;font-weight:800}.smn-rail-between input,.smn-rail-compare input{width:100%;min-height:42px;padding:0 11px;border:1px solid #cfddeb;border-radius:10px;background:#fff;color:#102a43}.smn-rail-between>div>span{padding-bottom:11px;color:#8092a4;text-align:center}.smn-rail-between button,.smn-rail-compare button{min-height:42px;padding:0 15px;border:0;border-radius:10px;background:#0b5ea8;color:#fff;font-weight:850;cursor:pointer}.smn-rail-between>.smn-rail-date-input{flex:0 0 150px}
.smn-rail-between-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #e2eaf2}.smn-rail-between-card:last-child{border-bottom:0}.smn-rail-between-card>b{padding:5px 7px;border-radius:7px;background:#edf5ff;color:#075ba8;font-size:12px}.smn-rail-between-card span{display:flex;flex-direction:column}.smn-rail-between-card strong{font-size:13px}.smn-rail-between-card small{color:#687c90;font-size:11px}.smn-rail-between-card>a{color:#075ba8;font-size:11px;font-weight:850;text-decoration:none}.smn-rail-nearby{padding:10px}.smn-rail-nearby strong{display:block;margin-bottom:7px}.smn-rail-nearby-links{display:flex;flex-wrap:wrap;gap:7px}.smn-rail-nearby-links a{padding:6px 9px;border:1px solid #d5e1ec;border-radius:999px;background:#fff;color:#075ba8;font-size:11px;text-decoration:none}
.smn-rail-quick-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}.smn-rail-quick-links>a{display:flex;align-items:center;gap:9px;padding:10px;border:1px solid #dbe5ef;border-radius:11px;background:#f8fbff;color:#17324d;text-decoration:none}.smn-rail-quick-links>a>i{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eaf4ff;color:#0b5ea8}.smn-rail-quick-links span{display:flex;flex-direction:column;font-size:12px;font-weight:850}.smn-rail-quick-links small{margin-top:2px;color:#75879a;font-size:9px;font-weight:650}
.smn-my-stations-mini{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:12px;padding-top:10px;border-top:1px solid #e4ebf2}.smn-my-stations-mini>strong{font-size:11px;color:#52687d}.smn-my-stations-mini a{padding:6px 8px;border-radius:8px;background:#eef5ff;color:#075ba8;font-size:11px;font-weight:800;text-decoration:none}
.smn-rail-next-run,.smn-rail-freshness{display:inline-flex!important;align-items:center;gap:4px;padding:3px 7px;border-radius:999px;font-size:10px!important;font-weight:850}.smn-rail-next-run{background:#edf8f1;color:#13713a}.smn-rail-freshness{background:#eef5ff;color:#155ca1}.smn-special-live-row.smn-rail-filter-hidden{display:none!important}.smn-rail-filter-summary{margin:8px 0 0;color:#6a7d90;font-size:11px}
.smn-rail-user-shell{padding-bottom:96px}.smn-rail-user-content{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:18px 0 46px}.smn-rail-back{margin:4px 0 12px}.smn-rail-back a{color:#075ba8;font-weight:850;text-decoration:none}.smn-rail-page-title{margin:0 0 16px;padding:14px 16px;border:1px solid #d8e5f2;border-left:5px solid #0b5ea8;border-radius:16px;background:#fff}.smn-rail-page-title h1{margin:0;color:#0b2545;font-size:clamp(24px,4vw,34px)}
.smn-rail-page-tools>.smn-rail-hub{max-width:none}.smn-rail-panel{margin:0 0 16px;padding:16px;border:1px solid #d8e3ed;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(11,37,69,.05)}.smn-rail-help{margin:-2px 0 12px;color:#687b8d;font-size:12px}.smn-rail-empty{padding:18px;border:1px dashed #cad8e6;border-radius:11px;background:#f8fafc;color:#65798c;text-align:center}
.smn-rail-compare{display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr) auto;align-items:center;gap:9px}.smn-rail-compare>span{text-align:center;color:#d3182c;font-weight:900}.smn-rail-compare-table{width:100%;margin-top:14px;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #d9e3ec;border-radius:12px}.smn-rail-compare-table th,.smn-rail-compare-table td{padding:10px;border-bottom:1px solid #e3eaf1;text-align:left;font-size:12px}.smn-rail-compare-table th{background:#f3f7fb;color:#50667a}.smn-rail-compare-table td{color:#18334d}.smn-rail-compare-table tr:last-child th,.smn-rail-compare-table tr:last-child td{border-bottom:0}
.smn-rail-station-hero{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:18px;border:1px solid #d7e3ef;border-left:5px solid #0b5ea8;border-radius:16px;background:#fff}.smn-rail-station-hero>div>span{display:inline-flex;padding:5px 8px;border-radius:7px;background:#edf5ff;color:#075ba8;font-size:12px;font-weight:900}.smn-rail-station-hero h1{margin:8px 0 3px;color:#0b2545;font-size:26px}.smn-rail-station-hero p{margin:0;color:#63788c}.smn-rail-station-hero button{padding:9px 12px;border:1px solid #0b5ea8;border-radius:10px;background:#fff;color:#0b5ea8;font-weight:850}.smn-rail-station-hero button.is-saved{background:#0b5ea8;color:#fff}
.smn-rail-results-list{display:flex;flex-direction:column;gap:8px}.smn-rail-result-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px;border:1px solid #dde6ef;border-radius:11px;background:#fbfdff;color:#16324c;text-decoration:none}.smn-rail-result-card>b{padding:5px 7px;border-radius:7px;background:#eaf4ff;color:#075ba8}.smn-rail-result-card>span{display:flex;flex-direction:column;min-width:0}.smn-rail-result-card strong{font-size:13px}.smn-rail-result-card small{margin-top:2px;color:#708397;font-size:10px}.smn-rail-result-card em{font-style:normal;color:#16713b;font-size:10px;font-weight:850}
.smn-rail-news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.smn-rail-news-list>a{display:grid;grid-template-columns:84px minmax(0,1fr);gap:9px;align-items:center;padding:8px;border:1px solid #e0e8f0;border-radius:11px;color:#15314b;text-decoration:none}.smn-rail-news-list img{width:84px;height:60px;object-fit:cover;border-radius:8px}.smn-rail-news-list span{display:flex;flex-direction:column}.smn-rail-news-list b{font-size:12px;line-height:1.35}.smn-rail-news-list small{margin-top:4px;color:#7a8b9c;font-size:9px}
.smn-rail-pair-head{display:grid;grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr);align-items:center;gap:8px;margin-bottom:14px;padding:12px;border:1px solid #d7e3ef;border-radius:13px;background:#fff}.smn-rail-pair-head a{padding:8px;border-radius:9px;background:#f2f7fd;color:#075ba8;font-weight:850;text-align:center;text-decoration:none}.smn-rail-pair-head span{text-align:center;color:#d3182c;font-weight:900}.smn-rail-pair-tables>.smn-linked-version{margin-bottom:16px}
.smn-rail-live-note{display:flex;align-items:center;gap:10px;margin-bottom:13px;padding:11px 13px;border:1px solid #d8e3ed;border-radius:12px;background:#fff}.smn-rail-live-note>i{color:#d3182c}.smn-rail-live-note span{display:flex;flex-direction:column}.smn-rail-live-note b{font-size:13px}.smn-rail-live-note small{color:#708397;font-size:10px}.smn-rail-timeline{display:flex;flex-direction:column;gap:10px}.smn-rail-timeline article{display:grid;grid-template-columns:130px minmax(0,1fr);gap:13px;padding:14px;border:1px solid #dae4ed;border-radius:13px;background:#fff}.smn-rail-timeline article>span{height:max-content;padding:6px 8px;border-radius:999px;background:#fff0f1;color:#c51629;font-size:10px;font-weight:900;text-align:center}.smn-rail-timeline time{color:#7b8d9f;font-size:10px}.smn-rail-timeline h2{margin:4px 0 6px;font-size:16px}.smn-rail-timeline h2 a{color:#102d48;text-decoration:none}.smn-rail-timeline p{margin:0;color:#60758a;font-size:12px;line-height:1.5}
.smn-rail-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.smn-rail-project-grid article{padding:15px;border:1px solid #d9e4ed;border-radius:14px;background:#fff}.smn-rail-project-grid article>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.smn-rail-project-grid article>div span{padding:5px 8px;border-radius:999px;background:#edf5ff;color:#075ba8;font-size:10px;font-weight:900}.smn-rail-project-grid time{color:#7a8d9f;font-size:10px}.smn-rail-project-grid h2{margin:10px 0 6px;font-size:16px;line-height:1.4}.smn-rail-project-grid h2 a{color:#102d48;text-decoration:none}.smn-rail-project-grid p{margin:0 0 10px;color:#61768b;font-size:12px;line-height:1.5}.smn-rail-more{color:#075ba8;font-size:11px;font-weight:850;text-decoration:none}
.smn-rail-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.smn-rail-media-card{overflow:hidden;border:1px solid #d9e4ed;border-radius:13px;background:#fff;color:#14314c;text-decoration:none}.smn-rail-media-image{position:relative;display:block;aspect-ratio:16/9;background:#eef3f8}.smn-rail-media-image img{width:100%;height:100%;object-fit:cover}.smn-rail-media-image i{position:absolute;right:8px;bottom:8px;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:rgba(7,30,57,.86);color:#fff}.smn-rail-media-card>span:last-child{display:flex;flex-direction:column;padding:10px}.smn-rail-media-card small{color:#7b8d9e;font-size:9px}.smn-rail-media-card b{margin-top:4px;font-size:12px;line-height:1.4}
.smn-rail-feature-card{margin:12px 0;padding:13px;border:1px solid #d9e4ed;border-radius:13px;background:#fff}.smn-rail-feature-card__head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.smn-rail-feature-card__head span{color:#d3182c;font-size:9px;font-weight:900;letter-spacing:.1em}.smn-rail-feature-card__head h2{margin:2px 0 0;color:#0b2545;font-size:17px}.smn-rail-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:11px}.smn-rail-summary-grid>div{padding:9px;border-radius:10px;background:#f5f8fc}.smn-rail-summary-grid small{display:block;color:#76899b;font-size:9px}.smn-rail-summary-grid b{display:block;margin-top:3px;color:#17324c;font-size:12px}.smn-rail-feature-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.smn-rail-feature-actions button,.smn-rail-feature-actions a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border:1px solid #0b5ea8;border-radius:9px;background:#fff;color:#075ba8;font-size:11px;font-weight:850;text-decoration:none;cursor:pointer}.smn-rail-feature-actions button.primary{background:#0b5ea8;color:#fff}
.smn-rail-history-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.smn-rail-history-list>div{display:grid;grid-template-columns:145px minmax(0,1fr);gap:10px;padding:9px;border-radius:9px;background:#f7f9fc}.smn-rail-history-list time{color:#718497;font-size:10px}.smn-rail-history-list b{display:block;font-size:11px}.smn-rail-history-list small{color:#667a8e;font-size:10px}.smn-rail-official{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;margin-top:10px}.smn-rail-official p{margin:0;color:#61758a;font-size:11px}.smn-rail-official a{color:#075ba8;font-size:11px;font-weight:850}.smn-rail-related-news{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}.smn-rail-related-news a{padding:9px;border:1px solid #e0e8f0;border-radius:10px;color:#17324d;text-decoration:none}.smn-rail-related-news b{display:block;font-size:11px;line-height:1.35}.smn-rail-related-news small{display:block;margin-top:4px;color:#7a8d9e;font-size:9px}
.smn-news-train-links{margin:18px 0;padding:13px;border:1px solid #d7e3ef;border-left:4px solid #0b5ea8;border-radius:12px;background:#f9fbfe}.smn-news-train-links>strong{display:flex;align-items:center;gap:7px;margin-bottom:9px;color:#0b2545}.smn-news-train-links>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px;border-top:1px solid #e3eaf1;color:#17324d;text-decoration:none}.smn-news-train-links>a>b{color:#075ba8}.smn-news-train-links>a span{font-weight:750}.smn-news-train-links>a small{color:#075ba8;font-size:10px}
.smn-rail-modal{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;padding:16px;background:rgba(5,19,35,.58)}.smn-rail-modal[hidden]{display:none!important}.smn-rail-modal__card{width:min(520px,100%);max-height:86vh;overflow:auto;padding:16px;border-radius:16px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28)}.smn-rail-modal__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.smn-rail-modal__head h2{margin:0;font-size:18px}.smn-rail-modal__head button{width:34px;height:34px;border:0;border-radius:10px;background:#f0f4f8;font-size:20px}.smn-rail-modal label{display:flex;flex-direction:column;gap:5px;margin-bottom:10px;color:#52677c;font-size:11px;font-weight:800}.smn-rail-modal select,.smn-rail-modal input{min-height:42px;padding:0 10px;border:1px solid #cfdbe7;border-radius:9px;background:#fff}.smn-rail-modal__actions{display:flex;justify-content:flex-end;gap:8px}.smn-rail-modal__actions button{min-height:38px;padding:0 12px;border:1px solid #cfdbe7;border-radius:9px;background:#fff;font-weight:800}.smn-rail-modal__actions button.primary{border-color:#0b5ea8;background:#0b5ea8;color:#fff}
.smn-journey-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;margin-bottom:8px;padding:11px;border:1px solid #dce5ee;border-radius:11px;background:#fbfdff}.smn-journey-card>b{color:#075ba8}.smn-journey-card span{display:flex;flex-direction:column}.smn-journey-card small{color:#6f8295;font-size:10px}.smn-journey-card button{border:0;background:transparent;color:#c41629;cursor:pointer}
:root[data-smn-theme=dark] .smn-rail-hub,:root[data-smn-theme=dark] .smn-rail-panel,:root[data-smn-theme=dark] .smn-rail-page-title,:root[data-smn-theme=dark] .smn-rail-station-hero,:root[data-smn-theme=dark] .smn-rail-timeline article,:root[data-smn-theme=dark] .smn-rail-project-grid article,:root[data-smn-theme=dark] .smn-rail-media-card,:root[data-smn-theme=dark] .smn-rail-feature-card,:root[data-smn-theme=dark] .smn-rail-live-note{background:#0c1b2b;border-color:#263f59}:root[data-smn-theme=dark] .smn-rail-hub-head h2,:root[data-smn-theme=dark] .smn-rail-panel-head h2,:root[data-smn-theme=dark] .smn-rail-page-title h1,:root[data-smn-theme=dark] .smn-rail-feature-card__head h2,:root[data-smn-theme=dark] .smn-rail-station-hero h1{color:#f2f7fc}:root[data-smn-theme=dark] .smn-rail-search-box>label,:root[data-smn-theme=dark] .smn-rail-between input,:root[data-smn-theme=dark] .smn-rail-compare input{background:#10243a;border-color:#29445e;color:#eef6ff}
@media(max-width:820px){.smn-rail-quick-links{grid-template-columns:repeat(2,minmax(0,1fr))}.smn-rail-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.smn-rail-project-grid,.smn-rail-news-list{grid-template-columns:1fr}.smn-rail-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.smn-rail-between>.smn-rail-date-input{flex:0 0 auto}.smn-rail-hub{padding:12px}.smn-rail-hub-head{align-items:flex-start}.smn-rail-hub-head h2{font-size:17px}.smn-rail-between{align-items:stretch;flex-direction:column}.smn-rail-between>div{grid-template-columns:1fr}.smn-rail-between>div>span{padding:0;transform:rotate(90deg)}.smn-rail-between button{width:100%}.smn-rail-quick-links{grid-template-columns:1fr 1fr}.smn-rail-user-content{width:min(100% - 18px,1180px);padding-top:10px}.smn-rail-page-title{padding:12px}.smn-rail-compare{grid-template-columns:1fr}.smn-rail-compare>span{display:none}.smn-rail-result-card,.smn-rail-between-card{grid-template-columns:auto minmax(0,1fr)}.smn-rail-result-card>em,.smn-rail-between-card>a{grid-column:2}.smn-rail-station-hero{align-items:flex-start;flex-direction:column}.smn-rail-timeline article{grid-template-columns:1fr}.smn-rail-media-grid{grid-template-columns:1fr 1fr}.smn-rail-pair-head{grid-template-columns:1fr}.smn-rail-pair-head span{transform:rotate(90deg)}.smn-rail-history-list>div{grid-template-columns:1fr}.smn-rail-related-news{grid-template-columns:1fr}.smn-news-train-links>a{grid-template-columns:auto minmax(0,1fr)}.smn-news-train-links>a small{grid-column:2}.smn-rail-official{grid-template-columns:1fr}}

/* 11.1.113: /special-train/ compact journey-assistance entry beside Last Updated only. */
.smn-special-train-screen .smn-rail-meta-inline{display:flex;align-items:center;justify-content:space-between;gap:clamp(8px,1.8vw,18px);flex:1 1 auto;width:100%;min-width:0}
.smn-special-train-screen .smn-rail-meta-inline>small{display:block;min-width:0;margin:0;white-space:nowrap;color:#64748b;font-size:clamp(11px,1.15vw,14px);line-height:1.2}
.smn-special-train-screen .smn-rail-assistance-link{display:inline-flex;align-items:center;justify-content:center;gap:clamp(4px,.65vw,8px);flex:0 0 auto;min-height:clamp(28px,2.9vw,36px);padding:0 clamp(8px,1.15vw,14px);border:1px solid #cfe0f2;border-radius:999px;background:#f7fbff;color:#075ba8;font-size:clamp(11px,1.15vw,14px);font-weight:850;line-height:1;text-decoration:none;white-space:nowrap;box-sizing:border-box}
.smn-special-train-screen .smn-rail-assistance-link i{font-size:clamp(12px,1.35vw,17px);line-height:1}
.smn-special-train-screen .smn-rail-assistance-link:hover{border-color:#9fc4e8;background:#edf6ff;color:#064f91}
:root[data-smn-theme=dark] .smn-special-train-screen .smn-rail-meta-inline>small{color:#a9bed2}
:root[data-smn-theme=dark] .smn-special-train-screen .smn-rail-assistance-link{border-color:#294e73;background:#10243a;color:#a9ccff}
@media(max-width:620px){
  .smn-special-train-screen .smn-rail-meta-inline{gap:6px}
  .smn-special-train-screen .smn-rail-meta-inline>small{font-size:clamp(9px,2.7vw,12px)}
  .smn-special-train-screen .smn-rail-assistance-link{gap:4px;min-height:clamp(26px,8vw,32px);padding:0 clamp(7px,2.4vw,10px);font-size:clamp(9px,2.7vw,12px)}
  .smn-special-train-screen .smn-rail-assistance-link i{font-size:clamp(10px,3vw,14px)}
}

/* 11.1.114 targeted linked-timetable compact toggles only. */
.smn-linked-timetable-page .smn-rail-summary-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;min-height:32px;padding:5px clamp(6px,1.6vw,9px);border:1px solid #0b5ea8;border-radius:999px;background:linear-gradient(180deg,#fff 0%,#eef6ff 100%);color:#075ba8;font:inherit;font-size:clamp(9px,2.2vw,11px);font-weight:900;line-height:1;white-space:nowrap;cursor:pointer;box-shadow:0 3px 10px rgba(7,91,168,.12)}
.smn-linked-timetable-page .smn-rail-summary-toggle i{width:18px;height:18px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#075ba8;color:#fff;font-size:9px;flex:0 0 18px}
.smn-linked-timetable-page .smn-rail-summary-toggle.is-open{background:#075ba8;color:#fff}
.smn-linked-timetable-page .smn-rail-summary-toggle.is-open i{background:rgba(255,255,255,.18)}
.smn-linked-timetable-page .smn-linked-follow{gap:5px;min-height:32px;padding:5px clamp(6px,1.6vw,9px);font-size:clamp(9px,2.2vw,11px)}
.smn-linked-timetable-page .smn-linked-follow i{width:18px;height:18px;flex-basis:18px;font-size:9px}
.smn-linked-timetable-page .smn-rail-slide-shell{display:grid;grid-template-rows:0fr;opacity:0;margin:0;transition:grid-template-rows .22s ease,opacity .18s ease,margin .22s ease}
.smn-linked-timetable-page .smn-rail-slide-shell.is-open{grid-template-rows:1fr;opacity:1;margin:12px 0}
.smn-linked-timetable-page .smn-rail-slide-inner{min-height:0;overflow:hidden}
.smn-linked-timetable-page .smn-rail-summary-card{margin:0}
.smn-linked-timetable-page .smn-rail-detail-accordions{display:grid;gap:10px;margin:12px 0}
.smn-linked-timetable-page .smn-rail-accordion{border:1px solid #d9e4ed;border-radius:13px;background:#fff;overflow:hidden}
.smn-linked-timetable-page .smn-rail-accordion__toggle{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:10px 13px;border:0;background:#fff;color:#0b2545;font:inherit;font-size:13px;font-weight:900;text-align:left;cursor:pointer}
.smn-linked-timetable-page .smn-rail-accordion__toggle>span{display:inline-flex;align-items:center;gap:8px;min-width:0}
.smn-linked-timetable-page .smn-rail-accordion__toggle>span>i{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eef6ff;color:#075ba8;font-size:11px;flex:0 0 24px}
.smn-linked-timetable-page .smn-rail-accordion__chevron{font-size:11px;color:#7890a6;transition:transform .2s ease}
.smn-linked-timetable-page .smn-rail-accordion.is-open .smn-rail-accordion__chevron{transform:rotate(180deg)}
.smn-linked-timetable-page .smn-rail-accordion__slide{display:grid;grid-template-rows:0fr;transition:grid-template-rows .22s ease}
.smn-linked-timetable-page .smn-rail-accordion.is-open .smn-rail-accordion__slide{grid-template-rows:1fr}
.smn-linked-timetable-page .smn-rail-accordion__inner{min-height:0;overflow:hidden;padding:0 13px;transition:padding .22s ease}
.smn-linked-timetable-page .smn-rail-accordion.is-open .smn-rail-accordion__inner{padding:0 13px 13px}
@media(max-width:700px){
  .smn-linked-timetable-page .smn-linked-action-row{gap:5px}
  .smn-linked-timetable-page .smn-rail-summary-toggle,.smn-linked-timetable-page .smn-linked-follow{padding-left:6px;padding-right:6px}
  .smn-linked-timetable-page .smn-rail-summary-toggle i,.smn-linked-timetable-page .smn-linked-follow i{width:17px;height:17px;flex-basis:17px}
  .smn-linked-timetable-page .smn-rail-accordion__toggle{min-height:43px;padding:9px 11px;font-size:12px}
}
:root[data-smn-theme=dark] .smn-linked-timetable-page .smn-rail-summary-toggle,:root[data-smn-theme=dark] .smn-linked-timetable-page .smn-rail-accordion,:root[data-smn-theme=dark] .smn-linked-timetable-page .smn-rail-accordion__toggle{background:#10243a;color:#eaf3fb;border-color:#28445e}
:root[data-smn-theme=dark] .smn-linked-timetable-page .smn-rail-summary-toggle.is-open{background:#0b5ea8;color:#fff}

/* 11.1.115 — Pair timetable page visual polish only. No data/function changes. */
.smn-railway-user-page .smn-rail-pair-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 42px minmax(0,1fr);align-items:stretch;gap:10px;margin:0 0 16px;padding:12px;border:1px solid #d8e5f2;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(11,37,69,.06)}
.smn-railway-user-page .smn-rail-pair-head a{display:flex;align-items:center;justify-content:center;min-height:54px;padding:10px 12px;border:1px solid #d6e5f5;border-radius:12px;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);color:#075ba8;font-size:clamp(13px,1.7vw,16px);font-weight:900;line-height:1.35;text-align:center;text-decoration:none;box-shadow:inset 0 0 0 1px rgba(255,255,255,.7);transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease}
.smn-railway-user-page .smn-rail-pair-head a:first-child{border-left:4px solid #0b5ea8}
.smn-railway-user-page .smn-rail-pair-head a:last-child{border-color:#f1d5d9;border-right:4px solid #d3182c;background:linear-gradient(180deg,#fffafa 0%,#fff1f3 100%);color:#b31325}
.smn-railway-user-page .smn-rail-pair-head a:hover{transform:translateY(-1px);border-color:#9fc6ea;box-shadow:0 5px 14px rgba(7,91,168,.12)}
.smn-railway-user-page .smn-rail-pair-head>span{align-self:center;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid #d8e5f2;color:#d3182c;font-size:20px;font-weight:900;box-shadow:0 4px 12px rgba(11,37,69,.09)}
.smn-railway-user-page .smn-rail-pair-tables{display:grid;gap:16px}
.smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version{margin:0;overflow:hidden;border:1px solid #d8e3ee;border-top:4px solid #0b5ea8;border-radius:16px;background:#fff;box-shadow:0 6px 20px rgba(13,47,77,.06)}
.smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version:nth-child(2){border-top-color:#d3182c}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid #e1e9f1;background:linear-gradient(180deg,#fbfdff 0%,#f4f8fc 100%)}
.smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version:nth-child(2) .smn-linked-version-head{background:linear-gradient(180deg,#fffdfd 0%,#fff5f6 100%)}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head span{font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:#075ba8}
.smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version:nth-child(2) .smn-linked-version-head span{color:#c5162b}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head strong{color:#0b2545;font-size:clamp(15px,2.1vw,18px);line-height:1.35;overflow-wrap:anywhere}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head small{flex:0 0 auto;color:#708397;font-size:11px;white-space:nowrap}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-meta{display:grid;gap:7px;padding:11px 15px;border-bottom:1px solid #edf2f7;background:#fff;color:#415a70;font-size:13px}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-coach-distance{display:flex;align-items:center;justify-content:space-between;gap:10px}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table-wrap{width:100%;max-width:100%;overflow:visible;background:#fff}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table{width:100%;max-width:100%;min-width:0;border-collapse:collapse;table-layout:fixed}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table .smn-col-station{width:43%}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table .smn-col-code{width:14%}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table .smn-col-time{width:21.5%}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table th,.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td{min-width:0;padding:9px 7px;border-bottom:1px solid #e7edf3;box-sizing:border-box;text-align:center;vertical-align:middle;line-height:1.3}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table th{background:#0b5ea8;color:#fff;font-size:12px;font-weight:850;white-space:normal}
.smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version:nth-child(2) .smn-linked-table th{background:#c5162b}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td{background:#fff;color:#10243c;font-size:13px;white-space:normal;overflow-wrap:anywhere}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table tbody tr:nth-child(even) td{background:#f9fbfd}
.smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version:nth-child(2) .smn-linked-table tbody tr:nth-child(even) td{background:#fffafb}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td.smn-linked-station-name{text-align:left;font-weight:800}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td.smn-linked-station-code{font-weight:800;white-space:nowrap;color:#173a5e}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td.smn-linked-arrival,.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td.smn-linked-departure{white-space:nowrap;font-variant-numeric:tabular-nums}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-station-row:last-child td{border-bottom:0}
.smn-railway-user-page .smn-rail-pair-tables .smn-linked-parenthetical{color:#c70000;font-weight:850}
@media(max-width:620px){
  .smn-railway-user-page .smn-rail-pair-head{grid-template-columns:1fr;gap:7px;padding:9px;border-radius:14px}
  .smn-railway-user-page .smn-rail-pair-head a{min-height:48px;padding:9px 10px;font-size:clamp(12px,3.6vw,15px)}
  .smn-railway-user-page .smn-rail-pair-head>span{justify-self:center;width:32px;height:32px;font-size:17px;transform:rotate(90deg)}
  .smn-railway-user-page .smn-rail-pair-tables{gap:13px}
  .smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version{border-radius:14px}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head{align-items:flex-start;flex-direction:column;gap:4px;padding:10px}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head strong{font-size:14px}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head small{font-size:9px;white-space:normal}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-meta{padding:9px 10px;font-size:11px}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-coach-distance{gap:6px;flex-wrap:wrap}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table .smn-col-station{width:42%}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table .smn-col-code{width:14%}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table .smn-col-time{width:22%}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table th,.smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td{padding:7px 3px;font-size:10.8px}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table th{font-size:10.2px}
  .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td.smn-linked-station-name{padding-left:5px}
}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-head,:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version,:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table-wrap,:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables .smn-linked-meta{background:#0c1b2b;border-color:#263f59}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-head a{background:#10243a;border-color:#29445e;color:#a9ccff}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-head a:last-child{background:#2a1520;border-color:#5b2d3a;color:#ffb9c2}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-head>span{background:#10243a;border-color:#29445e}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head{background:#10243a;border-color:#263f59}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version:nth-child(2) .smn-linked-version-head{background:#241824}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables .smn-linked-version-head strong,:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td{color:#eef6ff}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table td{background:#0c1b2b;border-color:#263f59}
:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables .smn-linked-table tbody tr:nth-child(even) td,:root[data-smn-theme=dark] .smn-railway-user-page .smn-rail-pair-tables>.smn-linked-version:nth-child(2) .smn-linked-table tbody tr:nth-child(even) td{background:#10243a}
