:root{font-family:Arial,Helvetica,sans-serif;color:#172c40;background:#f4f6f8;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#11273b;color:white;padding:23px max(5vw,20px);display:flex;justify-content:space-between;align-items:center;border-bottom:4px solid #f7c948}.brand{font-size:25px;font-weight:800;color:white;text-decoration:none;display:flex;align-items:center}.brand>span:last-child{color:#f7c948}.logo{background:#f7c948;color:#11273b;display:inline-grid;place-items:center;width:32px;height:32px;border-radius:7px;margin-right:10px}.preview{font-size:12px;letter-spacing:1.2px;border:1px solid #698093;padding:8px;border-radius:4px}main{max-width:1280px;margin:auto;padding:40px 24px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:12px;letter-spacing:1.8px;font-weight:bold;color:#516576}h1{font-size:clamp(32px,4vw,48px);letter-spacing:-1.5px;margin:12px 0}h2{font-size:21px;margin:0}.intro{color:#526575;font-size:18px;margin:0 0 28px}button,input{font:inherit}button{border:0;background:#123a59;color:white;border-radius:6px;padding:14px 20px;cursor:pointer;font-weight:bold}button:hover{background:#215578}button:disabled{opacity:.65;cursor:wait}button.secondary{background:white;color:#16374f;border:1px solid #bfcbd5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #2086c4;outline-offset:3px}form{background:white;border:1px solid #d4dee6;padding:22px;border-radius:10px;box-shadow:0 3px 8px #10283e06}label{display:block;font-weight:bold;margin-bottom:10px}.search-row{display:flex;gap:10px}input{width:100%;min-width:0;border:1px solid #a4b5c2;border-radius:5px;padding:15px;background:#fafcfe}.search-row button{white-space:nowrap;background:#f7c948;color:#172c40}#notice{margin:20px 0 28px;background:#fff7da;border-left:4px solid #d4a31a;padding:14px 17px;font-size:14px;line-height:1.55}.workspace{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;align-items:start}.result-head,.map-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}#count{font-size:14px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filters button{background:white;color:#455c70;padding:10px 12px;font-size:14px;border:1px solid #cbd7e0}.filters .selected{background:#173d59;color:white;border-color:#173d59}.meta{font-size:13px;color:#5b6d7b;line-height:1.5}.card{background:white;border:1px solid #d7e1e8;border-radius:9px;padding:20px;margin-bottom:12px;border-left:4px solid #e7ae2a}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.tag{font-size:12px;font-weight:bold;letter-spacing:.4px;color:#795a0b;text-transform:uppercase}.delay{font-size:14px;color:#764913;background:#fff5d9;padding:6px 9px;border-radius:4px}.card h3{font-size:19px;line-height:1.4;margin:12px 0}.card p{font-size:15px;line-height:1.55;margin:7px 0;color:#526575}.card button{background:transparent;color:#164c73;padding:8px 0;font-size:14px;text-decoration:underline}.empty{padding:30px;background:white;border:1px solid #d7e1e8;border-radius:8px;line-height:1.6}aside{position:sticky;top:24px}.map-wrap{height:470px;position:relative;background:#e7edf1;border:1px solid #c9d5df;border-radius:9px;overflow:hidden}#map{position:absolute;inset:0}#map-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#e7edf1}.map-symbol{font-size:44px;color:#607b8f}#activate-map{font-size:14px;letter-spacing:1px}footer{margin-top:38px;padding-top:25px;border-top:1px solid #d3dde5;color:#566b7c;font-size:14px;line-height:1.6}footer p{max-width:850px}.marker{width:28px;height:28px;border-radius:50%;background:#f7c948;border:3px solid white;box-shadow:0 1px 5px #1236;padding:0;color:#172c40;font-size:14px}.marker:hover{background:#ffd966}@media(max-width:760px){main{padding:26px 16px}.workspace{grid-template-columns:1fr}.heading{align-items:flex-start}.heading>.secondary{font-size:13px;padding:10px;max-width:110px}.search-row{flex-direction:column}aside{position:static}.map-wrap{height:360px}header{padding:18px 16px}.brand{font-size:21px}.preview{font-size:10px;letter-spacing:.5px}.eyebrow{font-size:10px;line-height:1.6}h1{letter-spacing:-1px}.intro{font-size:16px}.card{padding:16px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Keep third-party map controls independent of site-wide button styling. */
#map .maplibregl-popup-content{padding:16px 40px 16px 16px;font-size:14px;line-height:1.5;max-height:300px;overflow:auto;color:#172c40}
#map .maplibregl-popup-close-button{width:30px;height:30px;padding:0;border:0;border-radius:0 4px 0 4px;background:white;color:#172c40;font-size:23px;line-height:30px;font-weight:normal}
#map .maplibregl-popup-close-button:hover{background:#edf2f5}
#map .maplibregl-ctrl button{padding:0;background-color:white;color:#172c40;border-radius:0}
#map .maplibregl-ctrl button:hover{background-color:#edf2f5}
.affected-section{border-top:1px solid #d7e1e8;margin-top:16px;padding-top:12px}
.card summary{cursor:pointer;font-weight:bold;color:#164c73;padding:10px 0}
.card summary:focus-visible{outline:3px solid #2086c4;outline-offset:3px}


/* TrafficCheck route pages - approved M6 design */
.route-page-v2{background:#eef3f8;color:#10253d}
.tc-nav{height:66px;background:#fff;border-bottom:1px solid #dfe7ee;padding:0 4.5vw;display:flex;align-items:center;gap:34px;position:sticky;top:0;z-index:30}
.tc-brand{font-size:26px;font-weight:900;color:#111f33;text-decoration:none;white-space:nowrap}.tc-brand span{color:#f3a400}
.tc-nav-links{display:flex;align-items:center;gap:28px;flex:1}.tc-nav-links a{font-size:14px;color:#273e56;text-decoration:none;font-weight:700;height:66px;display:flex;align-items:center}.tc-nav-links a.active{color:#0869e8;border-bottom:3px solid #0869e8}
.tc-nav-actions{display:flex;gap:10px;align-items:center}.tc-search-mini{border:1px solid #d5e0e9;border-radius:8px;background:#fbfdff;color:#6a8094;padding:10px 14px;min-width:260px;font-size:12px}.icon-btn{width:38px;height:38px;padding:0;border-radius:8px;background:#fff;color:#24415c;border:1px solid #d5e0e9}
.m6-hero{position:relative;min-height:190px;background:linear-gradient(90deg,#15334f,#244b68 50%,#4e6879);overflow:hidden}
.m6-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 25%,#ffbc4a44,transparent 26%),linear-gradient(180deg,transparent 40%,#10263c88)}
.m6-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,#0b253eea 0%,#15344ac4 46%,#25394d7a 100%)}
.m6-hero-inner{position:relative;z-index:2;max-width:1500px;margin:auto;padding:30px 4.5vw;display:flex;align-items:flex-start;justify-content:space-between;gap:24px;color:#fff}
.m6-title-wrap{display:flex;gap:18px;align-items:flex-start}.m6-badge{background:#0d6ce5;border-radius:8px;padding:15px 20px;font-size:35px;line-height:1;font-weight:900;box-shadow:0 5px 18px #041d3360}
.m6-title-line{display:flex;align-items:center;gap:13px}.m6-title-line h1{font-size:42px;line-height:1;margin:0 0 7px;color:#fff;letter-spacing:-1px}.live-pill{background:#19a956;color:#fff;padding:7px 12px;border-radius:999px;font-size:13px;font-weight:800}
.m6-subtitle{font-size:18px;margin:0 0 4px}.m6-description{font-size:14px;margin:0;max-width:720px;color:#e6eef5}
.weather-card{width:245px;border:1px solid #7790a2;background:#0e2030d9;border-radius:10px;padding:14px;display:flex;gap:12px;align-items:flex-start;box-shadow:0 5px 20px #05192a55}.weather-card .weather-icon{font-size:31px}.weather-card strong,.weather-card span,.weather-card small{display:block}.weather-card span{font-size:19px;margin:2px 0}.weather-card small{color:#cdd8e2}
.m6-shell{max-width:1500px;margin:auto;padding:0 4.5vw 28px}
.m6-toolbar{min-height:50px;display:flex;justify-content:space-between;align-items:center;gap:20px}.m6-anchor-links,.nearby-routes{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.m6-anchor-links span,.nearby-routes span{font-size:12px;font-weight:700;color:#506981}.m6-anchor-links a,.nearby-routes b{background:#fff;border:1px solid #d4e0e8;border-radius:999px;padding:8px 13px;font-size:12px;text-decoration:none;color:#1360b2}.nearby-routes b{border-radius:6px;background:#0968e5;color:#fff}
.m6-summary-strip{display:grid;grid-template-columns:1.05fr 1.05fr 1.05fr 1.1fr 1.15fr 1.15fr 1fr;gap:8px;margin-bottom:12px}.m6-summary-strip article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:12px;display:flex;gap:10px;align-items:center;min-height:82px}.summary-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:17px;background:#eef4fb}.summary-icon.amber{background:#fff2dc}.summary-icon.red{background:#ffe8e8}.summary-icon.green{background:#e3f7ea}.m6-summary-strip small,.m6-summary-strip span{display:block;color:#63788c;font-size:11px}.m6-summary-strip strong{display:block;font-size:21px;color:#10253d;margin:2px 0}
.m6-main-grid{display:grid;grid-template-columns:1.05fr 1.15fr;gap:12px}.m6-left,.m6-right{min-width:0}.direction-wide{grid-template-columns:1fr 1fr;margin:0 0 8px}.direction-wide button{border-radius:8px;border:1px solid #d2dfe8;background:#fff;color:#143f68;padding:8px 14px;font-weight:800}.direction-wide button span{display:block;font-size:11px;font-weight:500;color:#6a7f93}.direction-wide button.selected{background:#0968e5;color:#fff}.direction-wide button.selected span{color:#eaf3ff}
.m6-map-card,.m6-stack-card,.junction-strip,.m6-info-card{background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 2px 8px #0a29420b}.m6-map-card{position:relative;padding:8px}.map-top-tools{position:absolute;z-index:8;top:15px;left:16px;right:16px;display:flex;justify-content:space-between;pointer-events:none}.map-chip{pointer-events:auto;background:#fff;color:#163f66;border:1px solid #d2dee7;padding:8px 10px;border-radius:6px;font-size:12px}.approved-map{height:630px;border:0;border-radius:8px}.approved-map #map-placeholder{background:linear-gradient(145deg,#d6e8ef,#eef5f9)}
.map-legend{position:absolute;z-index:8;left:18px;bottom:18px;background:#fff;border:1px solid #d7e3ea;border-radius:8px;display:flex;gap:20px;padding:10px 12px;box-shadow:0 2px 10px #092b4720}.map-legend div{display:grid;gap:4px}.map-legend span{font-size:11px;color:#4b647b}.legend-line{display:inline-block;width:22px;height:4px;border-radius:6px;margin-right:6px}.green-line{background:#20b45a}.amber-line{background:#f3a500}.red-line{background:#e63232}
.m6-right{display:grid;gap:10px}.m6-stack-card{padding:10px}.approved-head{margin-bottom:8px}.approved-head h2{font-size:18px}.approved-head h2 span{font-size:12px;color:#75899b;font-weight:600}.approved-head a{font-size:12px;color:#0869e8;text-decoration:none;font-weight:700}.approved-list{gap:5px}.approved-list .route-row{min-height:70px;border-radius:6px;padding:9px 10px;grid-template-columns:28px 1fr auto}.approved-list .route-row-icon{font-size:19px}.approved-list .route-row-top strong{font-size:13px}.approved-list .route-row-top span{font-size:10px}.approved-list .route-row p{font-size:11px;margin:3px 0}.approved-list .route-row small{font-size:10px}.approved-list .row-delay{font-size:11px}
.junction-strip{margin-top:12px;padding:10px}.approved-junctions{grid-template-columns:repeat(8,1fr);gap:6px}.approved-junctions article{padding:10px 8px}.approved-junctions strong{font-size:15px}.approved-junctions span{font-size:10px}.approved-junctions em{display:block;font-style:normal;font-size:10px;margin-top:6px}.good{color:#1e9d50}.slow{color:#d99a00}.heavy{color:#e22f3b}
.m6-bottom-grid{display:grid;grid-template-columns:1.05fr 1fr 1fr;gap:10px;margin-top:10px}.m6-info-card{padding:10px}.travel-list,.connecting-list{display:grid;gap:5px}.travel-list div,.connecting-list div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;border-bottom:1px solid #e8eef3;padding:7px 0}.travel-list b,.connecting-list b{background:#0c69e8;color:#fff;padding:5px 7px;border-radius:5px;font-size:11px}.travel-list span,.connecting-list span{font-size:11px;color:#516a80}.travel-list strong{font-size:12px}.connecting-list em{font-style:normal;font-size:10px}
.about-photo{height:68px;border-radius:6px;background:linear-gradient(120deg,#678491,#9bb1bc 45%,#496473);margin:8px 0}.about-card p{font-size:11px;color:#4f667b;line-height:1.45}.facts-row{display:flex;gap:16px}.facts-row span{font-size:10px;color:#50677c}.facts-row b{display:block;font-size:16px;color:#153b61}
.travel-banner{margin-top:10px;border:1px solid #cfe0f0;background:#eef6ff;border-radius:8px;padding:10px 14px;display:flex;justify-content:space-between;align-items:center;gap:14px}.travel-banner strong,.travel-banner span{display:block}.travel-banner span{font-size:11px;color:#607890}.travel-banner button{padding:8px 12px;background:#fff;color:#0869e8;border:1px solid #9fc3ed;border-radius:6px;font-size:11px}
.approved-notice{font-size:11px;margin-top:8px;padding:8px 12px}.tc-footer{display:flex;align-items:center;gap:28px;padding:18px 4.5vw;border-top:1px solid #d9e2ea;background:#fff;color:#698095;font-size:11px}.tc-footer .tc-brand{font-size:18px}.tc-footer nav{margin-left:auto;display:flex;gap:18px}.tc-footer nav a{color:#526a7e;text-decoration:none}
@media(max-width:1150px){.tc-search-mini{display:none}.m6-summary-strip{grid-template-columns:repeat(4,1fr)}.m6-main-grid{grid-template-columns:1fr}.approved-map{height:500px}.m6-bottom-grid{grid-template-columns:1fr 1fr}.approved-junctions{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){.tc-nav-links{display:none}.tc-nav{justify-content:space-between}.m6-hero-inner{padding:22px 16px}.weather-card{display:none}.m6-title-line{align-items:flex-start;flex-direction:column;gap:7px}.m6-title-line h1{font-size:34px}.m6-description{font-size:12px}.m6-shell{padding:0 10px 22px}.m6-toolbar{align-items:flex-start;flex-direction:column;padding:8px 0}.m6-summary-strip{grid-template-columns:repeat(2,1fr)}.m6-bottom-grid{grid-template-columns:1fr}.approved-junctions{grid-template-columns:repeat(2,1fr)}.approved-map{height:390px}.map-legend{display:none}.tc-footer{align-items:flex-start;flex-direction:column}.tc-footer nav{margin:0;flex-wrap:wrap}}
@media(max-width:520px){.m6-badge{font-size:25px;padding:12px 14px}.m6-title-wrap{gap:11px}.m6-subtitle{font-size:15px}.m6-summary-strip{grid-template-columns:1fr}.travel-banner{flex-direction:column;align-items:flex-start}}

/* Junction strip correction */
.junction-strip{padding:10px 12px}
.junction-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.junction-head h2{display:flex;align-items:baseline;gap:5px;white-space:nowrap}
.approved-junctions{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px!important}
.approved-junctions article{min-width:0!important;padding:10px 8px!important;text-align:center!important;border:1px solid #dce5ec!important;border-radius:8px!important;background:#fbfdff!important}
.approved-junctions article strong{display:block!important;font-size:15px!important;line-height:1.1}
.approved-junctions article span{display:block!important;font-size:10px!important;line-height:1.2;margin-top:3px}
.approved-junctions article em{display:block!important;margin-top:6px;font-size:10px!important;line-height:1.2}
@media(max-width:1150px){.approved-junctions{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:700px){.approved-junctions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.junction-head{align-items:flex-start;gap:8px}.junction-head h2{white-space:normal}}

/* M6 page: user-requested 10% overall size increase */
body.route-page-v2{zoom:1.1;}
@supports not (zoom:1){body.route-page-v2{transform:scale(1.1);transform-origin:top left;width:90.9091%;}}

/* M6 live-list layout fixes */
.route-page-v2 .m6-right{
  min-height:0;
  grid-template-rows:minmax(0,1fr) minmax(0,1fr);
  height:678px;
}
.route-page-v2 .m6-stack-card{
  min-height:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}
.route-page-v2 .approved-list{
  display:grid;
  gap:7px;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:4px;
  scrollbar-gutter:stable;
}
.route-page-v2 .approved-list .route-row{
  display:grid;
  grid-template-columns:30px minmax(0,1fr) auto;
  gap:10px;
  align-items:start;
  min-width:0;
  min-height:76px;
  border:1px solid #e2eaf0;
  background:#fff;
}
.route-page-v2 .approved-list .route-row-body{
  min-width:0;
}
.route-page-v2 .approved-list .route-row-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  min-width:0;
}
.route-page-v2 .approved-list .route-row-top strong{
  min-width:0;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.route-page-v2 .approved-list .route-row-top span{
  flex:0 0 auto;
  margin-top:1px;
  padding:2px 6px;
  border-radius:999px;
  background:#eef4fb;
  color:#49657e;
  line-height:1.35;
}
.route-page-v2 .approved-list .route-row p{
  line-height:1.4;
  overflow-wrap:anywhere;
}
.route-page-v2 .approved-list .row-delay{
  white-space:nowrap;
  align-self:start;
  margin-top:1px;
}
@media(max-width:1150px){
  .route-page-v2 .m6-right{height:auto;grid-template-rows:none}
  .route-page-v2 .approved-list{max-height:420px}
}

/* M6 junction page template */
.junction-page-v2 .junction-hero{min-height:165px}
.junction-shell{padding-top:12px}
.junction-breadcrumb{display:flex;gap:8px;align-items:center;font-size:12px;color:#6a8094;margin:0 0 12px}
.junction-breadcrumb a{color:#0869e8;text-decoration:none}
.junction-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.junction-summary-grid article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:14px}
.junction-summary-grid small,.junction-summary-grid span{display:block;color:#687f92;font-size:11px}
.junction-summary-grid strong{display:block;font-size:24px;color:#10253d;margin:4px 0}
.junction-main-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:12px;align-items:stretch}
.junction-map-card,.junction-live-card{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:10px;min-width:0}
.junction-map-wrap{height:520px;border-radius:8px;overflow:hidden}
.junction-map-wrap #map-placeholder{background:linear-gradient(145deg,#d6e8ef,#eef5f9)}
.junction-map-note{font-size:11px;color:#657b8f;margin:8px 4px 0}
.junction-live-card{display:flex;flex-direction:column;min-height:0}
.junction-direction-tabs{display:flex;gap:7px;margin-bottom:8px}
.junction-direction-tabs button{padding:8px 12px;background:#eef4fb;color:#204867;border:1px solid #d4e0e8}
.junction-direction-tabs button.selected{background:#0968e5;color:#fff;border-color:#0968e5}
.junction-live-list{display:grid;gap:7px;overflow-y:auto;min-height:0;max-height:492px;padding-right:4px}
.junction-live-list .route-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid #e2eaf0;border-radius:7px;padding:10px;background:#fff}
.junction-live-list .route-row-body{min-width:0}
.junction-live-list .route-row-top{display:flex;gap:10px;justify-content:space-between}
.junction-live-list .route-row-top strong{line-height:1.35}
.junction-live-list .route-row-top span{white-space:nowrap;background:#eef4fb;border-radius:999px;padding:2px 6px;color:#49657e}
.junction-live-list p{margin:4px 0;font-size:11px;line-height:1.4}
.junction-live-list small{font-size:10px;color:#63788c}
.junction-live-list .row-delay{white-space:nowrap;font-size:11px}
.junction-detail-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:12px;margin-top:12px}
.junction-detail-grid .m6-info-card{padding:16px}
.junction-detail-grid .m6-info-card h2{margin-bottom:10px}
.junction-detail-grid .m6-info-card p{font-size:12px;line-height:1.55;color:#516a80}
.junction-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}
.junction-facts span{background:#f7fafc;border:1px solid #e1e9ef;border-radius:7px;padding:9px}
.junction-facts small{display:block;color:#6d8295;font-size:10px}
.junction-facts b{display:block;margin-top:3px;font-size:14px}
.next-junctions{display:grid;gap:8px}
.next-junctions a{display:flex;justify-content:space-between;gap:12px;text-decoration:none;border:1px solid #dfe8ee;border-radius:7px;padding:10px;color:#173c5d}
.next-junctions span{color:#667e91;font-size:11px}
.nearby-place-list{display:flex;flex-wrap:wrap;gap:7px}
.nearby-place-list span{background:#eef4fb;border-radius:999px;padding:7px 9px;font-size:11px;color:#315671}
@media(max-width:1000px){.junction-main-grid{grid-template-columns:1fr}.junction-detail-grid{grid-template-columns:1fr}.junction-summary-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.junction-summary-grid{grid-template-columns:1fr}.junction-facts{grid-template-columns:repeat(2,1fr)}.junction-live-list{max-height:420px}}

.m6-live-summary{font-size:14px;font-weight:700;color:#fff;margin:5px 0 8px}
.m6-hero-facts{display:flex;gap:10px;flex-wrap:wrap}
.m6-hero-facts span{font-size:11px;font-weight:700;color:#dce9f5;background:#0a2740aa;border:1px solid #ffffff24;border-radius:999px;padding:5px 8px}

/* Junction page v3 */
.junction-hero-v3{background:linear-gradient(110deg,#0e2941 0%,#163c5a 55%,#244b68 100%);color:#fff;border-bottom:1px solid #21455f}
.junction-hero-inner{max-width:1500px;margin:auto;padding:30px 4.5vw;display:flex;align-items:flex-start;gap:20px}
.junction-road-badge{background:#0d6ce5;color:#fff;border-radius:10px;min-width:82px;height:82px;display:grid;place-items:center;font-size:34px;font-weight:900;box-shadow:0 8px 24px #061b2d66}
.junction-hero-copy{min-width:0}.junction-kicker{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#a9c7dd;margin-bottom:5px}
.junction-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.junction-title-row h1{font-size:40px;line-height:1.05;margin:0;color:#fff}
.junction-route-line{font-size:17px;font-weight:700;margin:7px 0 4px}.junction-live-summary{font-size:14px;font-weight:700;margin:0 0 10px;color:#e9f2f8}
.junction-hero-chips{display:flex;gap:7px;flex-wrap:wrap}.junction-hero-chips span{background:#ffffff12;border:1px solid #ffffff24;color:#e8f1f7;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700}
.junction-shell-v3{padding-top:12px}
.junction-status-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.junction-status-strip article{background:#fff;border:1px solid #dbe5ec;border-radius:10px;padding:14px 16px;box-shadow:0 2px 8px #0a29420b}
.junction-status-strip small,.junction-status-strip span{display:block}.junction-status-strip small{font-size:11px;color:#6c8193}.junction-status-strip strong{display:block;font-size:24px;margin:4px 0;color:#10253d}.junction-status-strip span{font-size:11px;color:#657b8e}
.junction-primary-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:12px;align-items:stretch}
.junction-map-panel,.junction-live-panel,.junction-info-card{background:#fff;border:1px solid #dbe5ec;border-radius:10px;box-shadow:0 2px 8px #0a29420b}
.junction-map-panel,.junction-live-panel{padding:12px;min-width:0}.junction-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.junction-panel-head h2{font-size:20px;margin:2px 0 0}.junction-panel-kicker{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#71889c}.junction-location-label{font-size:11px;color:#5e768b;background:#eef4fb;border-radius:999px;padding:5px 8px;white-space:nowrap}
.junction-record-pill{font-size:11px;font-weight:800;background:#e9f3ff;color:#0968e5;border-radius:999px;padding:5px 8px}
.junction-map-wrap-v3{height:560px;border:0;border-radius:8px;overflow:hidden;background:#dcebf2}.junction-map-placeholder{background:linear-gradient(145deg,#d7e8ef,#eef5f9)!important}
.junction-map-pin{font-size:30px;color:#0d6ce5}.junction-map-placeholder strong{font-size:17px;margin-top:6px}.junction-map-placeholder small{font-size:11px;color:#698095;margin:4px 0 12px}
.junction-map-placeholder button{padding:10px 14px;background:#0d6ce5}
.junction-live-panel{display:flex;flex-direction:column;min-height:0}.junction-direction-tabs{display:flex;gap:7px;margin-bottom:10px}.junction-direction-tabs button{padding:8px 11px;border-radius:7px;background:#eef4fb;color:#244964;border:1px solid #d6e2ea}.junction-direction-tabs button.selected{background:#0d6ce5;color:#fff;border-color:#0d6ce5}
.junction-live-list-v3{display:grid;gap:8px;overflow:auto;min-height:0;max-height:510px;padding-right:4px;scrollbar-gutter:stable}
.junction-live-list-v3 .route-row{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid #e3eaf0;border-radius:8px;padding:10px;background:#fff}
.junction-live-list-v3 .route-row-body{min-width:0}.junction-live-list-v3 .route-row-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.junction-live-list-v3 .route-row-top strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere}.junction-live-list-v3 .route-row-top span{font-size:10px;background:#eef4fb;color:#49657e;border-radius:999px;padding:2px 6px;white-space:nowrap}
.junction-live-list-v3 .route-row p{font-size:11px;line-height:1.4;margin:4px 0}.junction-live-list-v3 .route-row small{font-size:10px;color:#667d90}.junction-live-list-v3 .row-delay{font-size:11px;white-space:nowrap}
.junction-info-row{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:12px;margin-top:12px}.junction-info-card{padding:16px}.junction-info-card h2{font-size:18px;margin:4px 0 10px}.junction-about-card p{font-size:12px;line-height:1.55;color:#516a80}
.junction-fact-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}.junction-fact-grid div{background:#f7fafc;border:1px solid #e2eaf0;border-radius:7px;padding:9px}.junction-fact-grid small{display:block;color:#718597;font-size:10px}.junction-fact-grid strong{display:block;font-size:14px;margin-top:3px}
.junction-neighbours{display:grid;grid-template-columns:1fr 1fr;gap:8px}.junction-neighbours a{text-decoration:none;color:#173c5d;border:1px solid #dfe8ee;border-radius:8px;padding:10px;background:#fbfdff}.junction-neighbours span,.junction-neighbours small{display:block}.junction-neighbours span{font-size:10px;color:#6d8193}.junction-neighbours strong{font-size:18px;display:block;margin:2px 0}.junction-neighbours small{font-size:10px;color:#637a8e}
.nearby-place-list-v3{display:flex;flex-wrap:wrap;gap:7px}.nearby-place-list-v3 span{background:#eef4fb;color:#315671;border-radius:999px;padding:7px 9px;font-size:11px}.junction-back-link{display:inline-block;margin-top:16px;color:#0968e5;text-decoration:none;font-size:11px;font-weight:700}
@media(max-width:1000px){.junction-primary-grid{grid-template-columns:1fr}.junction-info-row{grid-template-columns:1fr}.junction-status-strip{grid-template-columns:repeat(2,1fr)}.junction-map-wrap-v3{height:460px}.junction-live-list-v3{max-height:460px}}
@media(max-width:600px){.junction-hero-inner{padding:22px 16px;gap:12px}.junction-road-badge{min-width:64px;height:64px;font-size:28px}.junction-title-row h1{font-size:30px}.junction-route-line{font-size:15px}.junction-status-strip{grid-template-columns:1fr}.junction-fact-grid{grid-template-columns:repeat(2,1fr)}.junction-neighbours{grid-template-columns:1fr}}

.tc-map-popup{min-width:220px;max-width:290px}
.tc-map-popup strong{display:block;font-size:15px;line-height:1.35;color:#10253d;margin-bottom:7px}
.tc-map-popup-reason{display:inline-block;background:#eef4fb;color:#244964;border-radius:999px;padding:4px 7px;font-size:11px;font-weight:800;margin-bottom:7px}
.tc-map-popup p{font-size:12px;line-height:1.45;color:#526a7f;margin:0 0 8px}
.tc-map-popup b{display:block;font-size:13px;color:#9d3b22}

/* Junction page v4 approved mockup */
.junction-page-v4{background:#eef3f8}
.junction-nav{padding-left:4vw;padding-right:4vw}
.junction-search{margin-left:auto;border:1px solid #ccd9e3;border-radius:8px;padding:9px 12px;min-width:285px;color:#6a8094;background:#fbfdff;font-size:12px;display:flex;justify-content:space-between;gap:16px}
.junction-hero-v4{background:linear-gradient(105deg,#0e3152 0%,#123d61 55%,#183b56 100%);color:#fff}
.junction-hero-v4-inner{max-width:1500px;margin:auto;padding:26px 4.5vw;display:flex;align-items:flex-start;gap:20px}
.junction-road-badge-v4{width:84px;height:84px;border-radius:10px;background:#0d6ce5;color:#fff;display:grid;place-items:center;font-size:35px;font-weight:900;box-shadow:0 8px 20px #06223a66;flex:0 0 auto}
.junction-hero-v4-copy{min-width:0}.junction-title-v4{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.junction-title-v4 h1{margin:0;font-size:40px;line-height:1.05;color:#fff}.junction-subtitle-v4{margin:7px 0 4px;font-size:18px;font-weight:700}.junction-live-summary-v4{margin:0;font-size:14px;font-weight:700;color:#e9f2f8}
.junction-shell-v4{max-width:1500px;margin:auto;padding:0 4.5vw 30px}
.junction-topbar-v4{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px}.junction-near-links{display:flex;gap:10px;align-items:center;font-size:12px}.junction-near-links a{color:#183f69;text-decoration:none;font-weight:700}.junction-near-links span{color:#9badbb}
.junction-kpis-v4{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin-bottom:12px}.junction-kpis-v4 article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:12px;display:flex;align-items:center;gap:10px;min-height:88px}.kpi-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:18px;background:#eef4fb;flex:0 0 auto}.kpi-icon.red{background:#ffe9e9}.kpi-icon.amber{background:#fff2dc}.kpi-icon.green{background:#e5f7eb}.kpi-icon.blue{background:#eaf2fb}.junction-kpis-v4 small,.junction-kpis-v4 span{display:block;font-size:11px;color:#63788c}.junction-kpis-v4 strong{display:block;font-size:21px;line-height:1.1;margin:3px 0;color:#10253d}
.junction-dashboard-v4{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;align-items:stretch}.junction-map-v4,.junction-feed-v4{background:#fff;border:1px solid #dce5ec;border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #0a29420b}
.junction-map-tabs-v4{height:46px;display:flex;align-items:center;padding:6px;background:#f8fbfd;border-bottom:1px solid #e2e9ef;gap:6px}.junction-map-tabs-v4 button{padding:9px 13px;border-radius:7px;background:#fff;color:#24415c;border:1px solid #d5e0e8;font-size:12px}.junction-map-tabs-v4 button.selected{background:#0d6ce5;color:#fff;border-color:#0d6ce5}.junction-map-wrap-v4{height:520px;border:0;border-radius:0;background:#dfeaf0}.junction-map-placeholder-v4{background:linear-gradient(145deg,#d8e8ef,#edf4f8)!important}.junction-map-placeholder-v4>span{font-size:34px;color:#0d6ce5}.junction-map-placeholder-v4 strong{font-size:18px;margin-top:5px}.junction-map-placeholder-v4 small{font-size:11px;color:#647d90;margin:4px 0 12px}.junction-map-placeholder-v4 button{padding:10px 14px;background:#0d6ce5}
.junction-map-legend-v4{display:flex;gap:16px;align-items:center;padding:10px 12px;border-top:1px solid #e2e9ef;font-size:11px;color:#556f84}.legend-dot{display:inline-block;width:22px;height:4px;border-radius:999px;margin-right:5px;vertical-align:middle}.green-dot{background:#1daa55}.amber-dot{background:#f1a20b}.red-dot{background:#e33b3b}
.junction-feed-v4{display:flex;flex-direction:column;min-width:0}.junction-feed-tabs-v4{display:grid;grid-template-columns:1fr 1fr 1fr;border-bottom:1px solid #e2e9ef}.junction-feed-tabs-v4 button{border-radius:0;background:#f8fbfd;color:#153b61;padding:13px 8px;border-right:1px solid #e2e9ef;font-size:12px}.junction-feed-tabs-v4 button.selected{background:#0d6ce5;color:#fff}.junction-feed-tabs-v4 span{font-size:10px}
.junction-filter-row-v4{display:flex;justify-content:flex-end;align-items:center;gap:6px;padding:10px 12px;border-bottom:1px solid #e8eef3}.junction-filter-row-v4>span{font-size:11px;color:#647a8d}.junction-filter-row-v4 button{padding:7px 10px;background:#fff;color:#294b67;border:1px solid #d5e0e8;border-radius:6px;font-size:11px}.junction-filter-row-v4 button.selected{background:#0d6ce5;color:#fff;border-color:#0d6ce5}
.junction-live-list-v4{display:grid;gap:0;overflow-y:auto;min-height:0;max-height:505px;scrollbar-gutter:stable}.junction-event-v4{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:14px 12px;border-bottom:1px solid #e8eef3;align-items:start}.junction-event-icon{font-size:19px}.junction-event-copy{min-width:0}.junction-event-copy>strong{display:block;font-size:13px;line-height:1.35;margin-bottom:3px;overflow-wrap:anywhere}.junction-event-reason{display:block;font-size:11px;color:#243f57;font-weight:700;margin-bottom:2px}.junction-event-copy p{font-size:11px;line-height:1.4;color:#526a7f;margin:0 0 5px}.junction-event-copy small{font-size:10px;color:#708496}.junction-event-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px;white-space:nowrap}.junction-event-meta span{font-size:10px;color:#60788c}.junction-event-meta b{font-size:11px;color:#10253d}
.nearby-feed-v4{display:grid;gap:8px;padding:12px}.nearby-feed-v4 a{display:grid;grid-template-columns:45px 1fr auto;gap:10px;align-items:center;text-decoration:none;color:#153b61;border:1px solid #e0e8ee;border-radius:8px;padding:11px;background:#fbfdff}.nearby-feed-v4 b{background:#0d6ce5;color:#fff;border-radius:5px;padding:7px;text-align:center}.nearby-feed-v4 span{font-size:12px}.nearby-feed-v4 em{font-style:normal;color:#0d6ce5}
.junction-bottom-v4{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:12px}.junction-bottom-v4 article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:15px;box-shadow:0 2px 8px #0a29420b}.junction-bottom-v4 h2{font-size:18px;margin:0 0 10px}.junction-bottom-v4 p{font-size:12px;line-height:1.55;color:#516a80;margin:0}.connecting-road-v4,.nearby-junction-v4{display:grid;grid-template-columns:auto 1fr;gap:9px;align-items:center;padding:8px 0;border-bottom:1px solid #edf1f4}.connecting-road-v4 b,.nearby-junction-v4 b{background:#0d6ce5;color:#fff;border-radius:5px;padding:5px 7px;font-size:11px}.connecting-road-v4 span,.nearby-junction-v4 span{font-size:11px;color:#526a7f}.nearby-junction-v4.current{background:#eef5ff;border-radius:7px;padding:8px}
@media(max-width:1250px){.junction-kpis-v4{grid-template-columns:repeat(3,1fr)}.junction-dashboard-v4{grid-template-columns:1fr}.junction-map-wrap-v4{height:480px}.junction-live-list-v4{max-height:440px}}
@media(max-width:820px){.junction-search{display:none}.junction-title-v4 h1{font-size:32px}.junction-subtitle-v4{font-size:15px}.junction-topbar-v4{align-items:flex-start;flex-direction:column;padding:8px 0}.junction-kpis-v4{grid-template-columns:repeat(2,1fr)}.junction-bottom-v4{grid-template-columns:1fr}.junction-road-badge-v4{width:68px;height:68px;font-size:29px}.junction-hero-v4-inner{padding:22px 16px}.junction-shell-v4{padding:0 12px 24px}}
@media(max-width:520px){.junction-kpis-v4{grid-template-columns:1fr}.junction-feed-tabs-v4{grid-template-columns:1fr}.junction-filter-row-v4{justify-content:flex-start;flex-wrap:wrap}.junction-dashboard-v4{gap:8px}.junction-map-wrap-v4{height:360px}}

/* M6 accidents page */
.accidents-shell{padding-top:12px}
.accident-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}
.accident-kpis article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:14px 16px;box-shadow:0 2px 8px #0a29420b}
.accident-kpis small,.accident-kpis span{display:block}.accident-kpis small{font-size:11px;color:#697f92}.accident-kpis strong{font-size:24px;display:block;margin:4px 0}.accident-kpis span{font-size:11px;color:#657b8e}
.accidents-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:12px;align-items:start}
.accident-list-card,.accident-side-card{background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 2px 8px #0a29420b}
.accident-list-card{padding:14px}.accident-list-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:10px}.accident-list-head h2{font-size:20px;margin:3px 0 0}
.accident-direction-tabs{display:flex;gap:6px;flex-wrap:wrap}.accident-direction-tabs button{padding:8px 10px;background:#eef4fb;color:#274b67;border:1px solid #d6e2ea;border-radius:7px;font-size:11px}.accident-direction-tabs button.selected{background:#0d6ce5;color:#fff;border-color:#0d6ce5}
.accident-list{display:grid;gap:10px}.accident-card{border:1px solid #ecdcae;border-left:5px solid #e2a20b;border-radius:8px;padding:13px;background:linear-gradient(180deg,#fffdf6 0%,#fff 100%);box-shadow:0 2px 8px #8d69120d}.accident-card.severe{border:1px solid #efb3b3;border-left:5px solid #d92626;background:linear-gradient(180deg,#fff4f4 0%,#fffafa 100%);box-shadow:0 2px 10px #d9262614}
.accident-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.accident-card-top>div{min-width:0}.accident-card-top strong{display:block;font-size:14px;line-height:1.35;margin-top:4px;overflow-wrap:anywhere}.accident-card.severe .accident-card-top strong{color:#7f1d1d}.accident-level{display:inline-block;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#7a4a00;background:#fff0c7;border-radius:999px;padding:3px 6px}.accident-card.severe .accident-level{background:#d92626;color:#fff}
.accident-dir{font-size:10px;background:#eef4fb;color:#49657e;border-radius:999px;padding:3px 6px;white-space:nowrap}.accident-card.severe .accident-dir{background:#fde8e8;color:#9f1d1d}.accident-reason{font-size:12px;font-weight:800;color:#8a5a00;margin:9px 0 5px}.accident-card.severe .accident-reason{color:#9f1d1d}.accident-card p{font-size:11px;color:#526a7f;line-height:1.45;margin:4px 0}.accident-card-foot{display:flex;justify-content:space-between;gap:10px;margin-top:9px;font-size:10px;color:#6a8094}.accident-card-foot b{font-size:11px;color:#8a5a00;white-space:nowrap}.accident-card.severe .accident-card-foot b{color:#b42318}
.accident-sidebar{display:grid;gap:12px}.accident-side-card{padding:14px}.accident-side-card h2{font-size:17px;margin:0 0 10px}.accident-side-stat{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #edf1f4}.accident-side-stat span{font-size:11px;color:#60788c}.accident-side-stat strong{font-size:18px}.accident-side-card a{display:block;padding:8px 0;color:#0d6ce5;text-decoration:none;font-size:11px;font-weight:700;border-bottom:1px solid #edf1f4}
@media(max-width:1000px){.accidents-main-grid{grid-template-columns:1fr}.accident-sidebar{grid-template-columns:1fr 1fr}.accident-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.accident-kpis{grid-template-columns:1fr}.accident-sidebar{grid-template-columns:1fr}.accident-list-head{flex-direction:column}.accident-card-top{flex-direction:column}}

/* Refine live map popup */
#map .maplibregl-popup-content{
  padding:12px 34px 12px 12px;
  font-size:12px;
  line-height:1.35;
  max-width:285px;
  min-width:220px;
  overflow:visible;
  color:#172c40;
  border:1px solid #d8e3eb;
  border-radius:8px;
  box-shadow:0 8px 24px #10283e24;
}
#map .maplibregl-popup-close-button{
  width:26px;
  height:26px;
  line-height:26px;
  font-size:18px;
  border-radius:0 8px 0 6px;
}
.tc-map-popup{
  min-width:0;
  max-width:245px;
  overflow:visible;
}
.tc-map-popup strong{
  display:block;
  font-size:12px;
  line-height:1.35;
  color:#10253d;
  margin:0 0 6px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.tc-map-popup-reason{
  display:inline-block;
  background:#eef4fb;
  color:#244964;
  border-radius:999px;
  padding:3px 6px;
  font-size:10px;
  font-weight:800;
  margin:0 0 6px;
}
.tc-map-popup p{
  font-size:10px;
  line-height:1.4;
  color:#526a7f;
  margin:0 0 6px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.tc-map-popup b{
  display:block;
  font-size:11px;
  color:#9d3b22;
  margin-top:2px;
}

.junction-card-link{display:block;text-decoration:none;color:inherit;min-width:0}
.junction-card-link article{height:100%;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.junction-card-link:hover article{transform:translateY(-1px);box-shadow:0 4px 12px #0a294218;border-color:#9fc4ec}
.junction-card-link:focus-visible{outline:3px solid #2086c4;outline-offset:2px;border-radius:8px}

.m6-right.no-roadworks{grid-template-rows:minmax(0,1fr)}
.m6-right.no-roadworks #incidents{height:100%}
.m6-right.no-roadworks .approved-list{max-height:none}

/* Corley services page */
.service-page-v1{background:#eaf1f6}
.service-hero{background:linear-gradient(105deg,#0e3152 0%,#123d61 55%,#183b56 100%);color:#fff}
.service-hero-inner{max-width:1500px;margin:auto;padding:28px 4.5vw;display:flex;align-items:flex-start;gap:18px}
.service-badge{width:72px;height:72px;border-radius:10px;background:#0d6ce5;color:#fff;display:grid;place-items:center;font-size:26px;font-weight:900;box-shadow:0 8px 20px #06223a66}
.service-title-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.service-title-row h1{margin:0;color:#fff;font-size:40px}.service-subtitle{font-size:17px;font-weight:700;margin:7px 0 3px}.service-live-summary{margin:0;font-size:14px;font-weight:700;color:#e9f2f8}
.service-shell{padding-top:12px}.service-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.service-summary-grid article{background:#fff;border:1px solid #d9e4ec;border-radius:10px;padding:14px 16px;box-shadow:0 2px 8px #0a29420b}.service-summary-grid small,.service-summary-grid span{display:block;font-size:11px;color:#667d90}.service-summary-grid strong{display:block;font-size:20px;margin:4px 0;color:#10253d}
.service-main-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:12px}.service-map-card,.service-live-card,.service-info-card,.service-nearby-card{background:#fff;border:1px solid #d9e4ec;border-radius:10px;box-shadow:0 2px 8px #0a29420b}.service-map-card,.service-live-card{padding:12px}.service-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}.service-panel-head span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#71889c}.service-panel-head h2{font-size:20px;margin:2px 0 0}.service-panel-head b{font-size:11px;color:#49657e;background:#eef4fb;border-radius:999px;padding:5px 8px}.service-panel-head a{font-size:11px;color:#0d6ce5;text-decoration:none;font-weight:700}
.service-map-wrap{position:relative;height:360px;border:0;border-radius:8px;overflow:hidden;background:#dfeaf0}.service-map-placeholder{background:linear-gradient(145deg,#d8e8ef,#edf4f8)!important}.service-map-placeholder>span{font-size:34px;color:#0d6ce5}.service-map-placeholder strong{font-size:18px;margin-top:5px}.service-map-placeholder small{font-size:11px;color:#647d90;margin:4px 0 12px}.service-map-placeholder button{padding:10px 14px;background:#0d6ce5}
.service-live-list{display:grid;gap:8px;max-height:500px;overflow-y:auto;padding-right:4px}.service-traffic-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px;border:1px solid #e1e8ee;border-radius:8px;background:#fbfdff}.service-traffic-row strong,.service-traffic-row span,.service-traffic-row small{display:block}.service-traffic-row strong{font-size:12px;line-height:1.35}.service-traffic-row span{font-size:11px;color:#334e65;font-weight:700;margin:4px 0}.service-traffic-row small{font-size:10px;color:#6a8094}.service-traffic-row>b{font-size:11px;color:#0d6ce5;white-space:nowrap}
.service-info-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:12px}.service-info-card{padding:16px}.service-info-card h2,.service-nearby-card h2{font-size:18px;margin:0 0 10px}.service-tags,.service-facilities{display:flex;flex-wrap:wrap;gap:7px}.service-tags span,.service-facilities span{background:#eef4fb;color:#315671;border-radius:999px;padding:7px 9px;font-size:11px}.service-facilities span{background:#f7fafc;border:1px solid #e2eaf0}
.service-details{margin:0}.service-details div{display:grid;grid-template-columns:90px 1fr;gap:10px;padding:7px 0;border-bottom:1px solid #edf1f4}.service-details dt{font-size:11px;font-weight:800;color:#38556d}.service-details dd{margin:0;font-size:11px;color:#647b8e}
.service-nearby-card{margin-top:12px;padding:16px}.service-nearby-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.service-nearby-grid article{border:1px solid #e0e8ee;border-radius:8px;background:#fbfdff;padding:11px}.service-nearby-grid strong,.service-nearby-grid span{display:block}.service-nearby-grid strong{font-size:13px}.service-nearby-grid span{font-size:10px;color:#667d90;margin-top:3px}
@media(max-width:1000px){.service-main-grid,.service-info-grid{grid-template-columns:1fr}.service-summary-grid{grid-template-columns:repeat(2,1fr)}.service-map-wrap{height:320px}.service-nearby-grid{grid-template-columns:1fr}}
@media(max-width:600px){.service-summary-grid{grid-template-columns:1fr}.service-title-row h1{font-size:30px}.service-hero-inner{padding:22px 16px}.service-badge{width:60px;height:60px;font-size:23px}}

/* M6 services directory */
.m6-services-strip{margin-top:12px;background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:12px;box-shadow:0 2px 8px #0a29420b}
.m6-services-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.m6-service-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;text-decoration:none;color:#10253d;border:1px solid #dfe8ee;border-radius:8px;padding:10px;background:#fbfdff;transition:.15s ease}
.m6-service-card:hover{transform:translateY(-1px);border-color:#9fc4ec;box-shadow:0 4px 12px #0a294218}
.m6-service-logo{width:42px;height:42px;border-radius:7px;background:#0d6ce5;color:#fff;display:grid;place-items:center;font-size:13px;font-weight:900}
.m6-service-card strong,.m6-service-card span{display:block}.m6-service-card strong{font-size:13px}.m6-service-card span{font-size:10px;color:#6b8092;margin-top:2px}
.service-peer{display:block;text-decoration:none;color:#153b61;border:1px solid #e0e8ee;border-radius:8px;background:#fbfdff;padding:10px}
.service-peer strong,.service-peer span{display:block}.service-peer strong{font-size:12px}.service-peer span{font-size:10px;color:#657b8f;margin-top:3px}

/* Navigation mock pages */
.section-shell{max-width:1500px;margin:auto;padding:28px 4.5vw 50px}
.section-hero{background:linear-gradient(105deg,#0e3152,#194c72);color:#fff;border-radius:12px;padding:30px;margin-bottom:16px}
.section-hero span{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:#b9d4ea}
.section-hero h1{font-size:38px;margin:6px 0 8px;color:#fff}
.section-hero p{font-size:15px;max-width:720px;margin:0;color:#e2edf5}
.section-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.section-card{display:block;background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:18px;text-decoration:none;color:#10253d;box-shadow:0 2px 8px #0a29420b}
.section-card strong,.section-card span,.section-card b{display:block}.section-card strong{font-size:18px}.section-card span{font-size:12px;color:#61798d;margin:6px 0 18px;line-height:1.5}.section-card b{font-size:11px;color:#0d6ce5}
@media(max-width:1000px){.m6-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-card-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.m6-services-grid,.section-card-grid{grid-template-columns:1fr}}

/* Accidents page styling aligned with main M6 page */
.accidents-page-v1 .accidents-hero{min-height:190px}
.accidents-page-v1 .accident-kpis-rich article{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:92px;
  padding:14px 16px;
}
.accidents-page-v1 .accident-kpis-rich .summary-icon{
  flex:0 0 38px;
  width:38px;
  height:38px;
  font-size:18px;
}
.accidents-page-v1 .accident-list-card,
.accidents-page-v1 .accident-side-card{
  border-color:#dce5ec;
  box-shadow:0 2px 8px #0a29420b;
}
.accidents-page-v1 .accident-list-head{
  padding:2px 0 8px;
  border-bottom:1px solid #edf1f4;
}
.accidents-page-v1 .accident-list-head h2{font-size:20px}
.accidents-page-v1 .accident-list{
  gap:10px;
}
.accidents-page-v1 .accident-card{
  padding:14px 16px;
  border-radius:9px;
}
.accidents-page-v1 .accident-card.severe{
  background:linear-gradient(180deg,#fff1f1 0%,#fff8f8 100%);
  border-color:#f0b6b6;
  border-left-width:5px;
}
.accidents-page-v1 .accident-card:not(.severe){
  background:linear-gradient(180deg,#fffaf0 0%,#fff 100%);
}
.accidents-page-v1 .accident-level{
  box-shadow:inset 0 0 0 1px #ffffff44;
}
.accidents-page-v1 .accident-side-card h2{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:17px;
}
.accidents-page-v1 .side-heading-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#eef4fb;
  font-size:13px;
}
.accidents-page-v1 .accident-side-card:first-child .side-heading-icon{
  background:#ffe8e8;
  color:#c72727;
}
.accidents-page-v1 .accident-side-card:last-child .side-heading-icon{
  background:#e8f2ff;
  color:#0d6ce5;
}
.accidents-page-v1 .accident-side-stat{
  min-height:46px;
  align-items:center;
}
.accidents-page-v1 .accident-side-stat strong{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f4f8fb;
}

/* Service pages: richer card styling to match M6 dashboard */
.service-page-v1 .service-summary-grid article{
  position:relative;
  overflow:hidden;
  border:1px solid #d8e4ec;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  box-shadow:0 3px 10px #0b2a4410;
  min-height:94px;
  padding:15px 16px 15px 58px;
}
.service-page-v1 .service-summary-grid article:before{
  content:"";
  position:absolute;
  left:16px;
  top:19px;
  width:30px;
  height:30px;
  border-radius:50%;
  display:block;
  background:#eef4fb;
  box-shadow:inset 0 0 0 1px #d9e5ef;
}
.service-page-v1 .service-summary-grid article:nth-child(1):after{content:"🛣";position:absolute;left:23px;top:24px;font-size:14px}
.service-page-v1 .service-summary-grid article:nth-child(2):after{content:"🏢";position:absolute;left:23px;top:24px;font-size:14px}
.service-page-v1 .service-summary-grid article:nth-child(3):after{content:"🕒";position:absolute;left:23px;top:24px;font-size:14px}
.service-page-v1 .service-summary-grid article:nth-child(4):after{content:"🅿";position:absolute;left:23px;top:24px;font-size:14px}
.service-page-v1 .service-summary-grid article:nth-child(3):before{background:#e8f7ee}
.service-page-v1 .service-summary-grid article:nth-child(4):before{background:#fff2df}
.service-page-v1 .service-summary-grid strong{font-size:22px}
.service-page-v1 .service-map-card,
.service-page-v1 .service-live-card{
  box-shadow:0 4px 14px #0b2a4410;
}
.service-page-v1 .service-panel-head{
  padding-bottom:9px;
  border-bottom:1px solid #e9eef2;
}
.service-page-v1 .service-live-list{
  gap:9px;
}
.service-page-v1 .service-traffic-row{
  position:relative;
  background:linear-gradient(180deg,#fbfdff 0%,#f7fafc 100%);
  border:1px solid #dfe8ee;
  border-left:4px solid #f0ad24;
  border-radius:9px;
  padding:12px 14px 12px 16px;
  box-shadow:0 2px 7px #0b2a440a;
}
.service-page-v1 .service-traffic-row:has(span:nth-child(2)){
  border-left-color:#e0a21b;
}
.service-page-v1 .service-traffic-row strong{
  font-size:13px;
}
.service-page-v1 .service-traffic-row span{
  font-size:11px;
  line-height:1.4;
}
.service-page-v1 .service-traffic-row>b{
  align-self:start;
  background:#eef5ff;
  color:#0d6ce5;
  border-radius:999px;
  padding:4px 7px;
  font-size:10px;
}
.service-page-v1 .service-info-card{
  box-shadow:0 3px 10px #0b2a4410;
}
.service-page-v1 .service-info-card h2{
  display:flex;
  align-items:center;
  gap:8px;
}
.service-page-v1 .service-info-card:nth-child(1) h2:before{content:"🍔"}
.service-page-v1 .service-info-card:nth-child(2) h2:before{content:"⚡"}
.service-page-v1 .service-info-card:nth-child(3) h2:before{content:"ℹ"}
.service-page-v1 .service-tags span{
  background:#edf5ff;
  border:1px solid #d9e7f6;
  color:#214e73;
}
.service-page-v1 .service-facilities span{
  background:#f8fbfd;
  border:1px solid #e2eaf0;
  color:#37536b;
}
.service-page-v1 .service-nearby-card{
  box-shadow:0 3px 10px #0b2a4410;
}
.service-page-v1 .service-peer{
  transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.service-page-v1 .service-peer:hover{
  transform:translateY(-1px);
  border-color:#9fc4ec;
  box-shadow:0 4px 12px #0a294218;
}

/* M6 feature completion */
.tc-search-link{display:block;text-decoration:none}
.nearby-routes a{border-radius:6px;background:#0968e5;color:#fff;padding:8px 13px;font-size:12px;text-decoration:none;font-weight:700}
.map-chip-label{display:inline-flex;align-items:center}
.m6-feature-card{background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 2px 8px #0a29420b;padding:14px;margin-top:12px}
.m6-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.m6-feature-grid>.m6-feature-card{margin-top:12px}
.feature-intro{font-size:11px;color:#61798d;margin:0 0 12px;line-height:1.5}
.all-junctions-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.all-junctions-grid a{display:block;text-decoration:none;color:#153b61;border:1px solid #dfe7ee;border-radius:8px;background:#fbfdff;padding:9px;text-align:center;transition:.15s ease}
.all-junctions-grid a:hover{transform:translateY(-1px);border-color:#9fc4ec;box-shadow:0 3px 10px #0a294218}
.all-junctions-grid b,.all-junctions-grid span{display:block}.all-junctions-grid b{font-size:13px}.all-junctions-grid span{font-size:9px;color:#6a8094;margin-top:2px}
.feature-icon{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef4fb;font-size:18px;float:left;margin-right:10px}
.route-detail-card h2,.traffic-pattern-card h2,.upcoming-card h2,.archive-card h2{font-size:18px;margin:2px 0 12px}
.route-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;clear:both;margin-top:10px}
.route-detail-grid>div{border:1px solid #e2eaf0;background:#fbfdff;border-radius:8px;padding:10px}
.route-detail-grid small,.route-detail-grid strong{display:block}.route-detail-grid small{font-size:9px;text-transform:uppercase;letter-spacing:.05em;color:#73879a}.route-detail-grid strong{font-size:11px;color:#193b58;margin-top:4px;line-height:1.4}
.traffic-pattern-card>p,.upcoming-card>p,.archive-card>p{font-size:11px;line-height:1.55;color:#566f84;clear:both}
.pattern-bars{display:grid;gap:7px;margin-top:12px}.pattern-bars>div{display:grid;grid-template-columns:90px 1fr 92px;gap:9px;align-items:center}.pattern-bars span,.pattern-bars b{font-size:10px}.pattern-bars b{color:#526b80}.pattern-bars i{height:7px;border-radius:999px;background:linear-gradient(90deg,#21ad58 var(--level),#e7eef3 var(--level));display:block}
.feature-link{display:inline-block;margin-top:6px;color:#0d6ce5;text-decoration:none;font-size:11px;font-weight:800}
.m6-faq details{border-top:1px solid #e8eef3}.m6-faq details:last-child{border-bottom:1px solid #e8eef3}.m6-faq summary{cursor:pointer;padding:11px 2px;font-size:12px;font-weight:800;color:#173d5d}.m6-faq details p{font-size:11px;line-height:1.55;color:#5c7387;margin:0 0 11px 2px;max-width:1000px}
.banner-action{display:inline-block;padding:8px 12px;background:#fff;color:#0869e8;border:1px solid #9fc3ed;border-radius:6px;font-size:11px;text-decoration:none;font-weight:700;margin-left:6px}
@media(max-width:1150px){.all-junctions-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:800px){.m6-feature-grid{grid-template-columns:1fr}.all-junctions-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.route-detail-grid{grid-template-columns:1fr}.pattern-bars>div{grid-template-columns:80px 1fr 80px}}
@media(max-width:520px){.all-junctions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.upcoming-works-list{clear:both;margin-top:10px;display:grid;gap:7px}
.upcoming-works-list>p{font-size:11px;color:#5d7488;margin:0;line-height:1.5}
.upcoming-work-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border:1px solid #e1e8ee;border-left:4px solid #e4a51d;border-radius:8px;background:#fffaf2;padding:10px 11px}
.upcoming-work-row strong,.upcoming-work-row span,.upcoming-work-row b,.upcoming-work-row small{display:block}
.upcoming-work-row strong{font-size:11px;line-height:1.35;color:#173a57}
.upcoming-work-row span{font-size:10px;color:#5e7589;margin-top:3px}
.upcoming-work-row b{font-size:10px;color:#8a5a00}
.upcoming-work-row small{font-size:9px;color:#75899b;margin-top:3px;text-align:right}
.junction-search-link{text-decoration:none;color:#526b80}
.nearby-junction-v4{text-decoration:none;color:#153b61}
.nearby-junction-v4:hover{background:#f6faff}

/* Homepage v2 */
.home-page-v2{background:#eef3f8}
.home-hero{background:linear-gradient(100deg,#0f2b46 0%,#183f60 55%,#315166 100%);color:#fff;position:relative;overflow:hidden}
.home-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 82% 18%,#f3a4002b,transparent 28%)}
.home-hero-inner{position:relative;z-index:2;max-width:1500px;margin:auto;padding:46px 4.5vw 42px;display:flex;justify-content:space-between;align-items:center;gap:28px}
.home-hero-copy{max-width:850px}.home-kicker{display:block;font-size:11px;letter-spacing:.13em;font-weight:900;color:#b9d2e5}.home-hero h1{font-size:52px;line-height:1;margin:8px 0 12px;color:#fff}.home-hero-copy>p{font-size:19px;line-height:1.5;margin:0 0 20px;color:#e8f0f6}
.home-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;background:#fff;border:1px solid #d7e4ee;padding:8px;border-radius:10px;box-shadow:0 8px 24px #071d3040;max-width:760px}
.home-search input{border:0;background:#fff;padding:13px 14px;font-size:14px}.home-search input:focus{outline:none}.home-search button{background:#0d6ce5;color:#fff;padding:12px 18px;border-radius:7px}
.home-quick-links{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:12px}.home-quick-links span{font-size:11px;color:#c8d9e6}.home-quick-links a{font-size:11px;color:#fff;text-decoration:none;border:1px solid #6f8ca4;border-radius:999px;padding:6px 9px;background:#0e2840aa}
.home-hero-status{width:250px;border:1px solid #648399;background:#0c2233cc;border-radius:10px;padding:15px;display:flex;gap:11px;align-items:center;box-shadow:0 8px 24px #071d3040}.home-live-dot{color:#28c263;font-size:20px}.home-hero-status small,.home-hero-status strong,.home-hero-status span{display:block}.home-hero-status small{font-size:10px;color:#a9c0d1;text-transform:uppercase;letter-spacing:.07em}.home-hero-status strong{font-size:21px;margin:2px 0}.home-hero-status span{font-size:10px;color:#d5e0e8}

.home-shell{max-width:1500px;margin:auto;padding:16px 4.5vw 30px}
.home-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:10px}.home-summary-strip article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:13px;display:flex;gap:10px;align-items:center;min-height:88px;box-shadow:0 2px 8px #0a29420b}.home-summary-strip small,.home-summary-strip span{display:block;color:#63788c;font-size:10px}.home-summary-strip strong{display:block;font-size:21px;color:#10253d;margin:2px 0}
.home-notice{font-size:11px;background:#eef6ff;border:1px solid #cfe0f0;border-left:4px solid #0d6ce5;border-radius:8px;padding:9px 12px;margin:0 0 10px;color:#45647c}
.home-main-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:12px}.home-map-card,.home-incidents-card,.home-section-card{background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 3px 10px #0a29420d;padding:12px;min-width:0}.home-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e9eef2;padding-bottom:9px;margin-bottom:10px}.home-panel-head h2{font-size:19px;margin:2px 0 0}.home-panel-head a{font-size:11px;text-decoration:none;color:#0d6ce5;font-weight:800}.home-count{font-size:10px;color:#657b8f}
.home-map-wrap{height:560px;border:0;border-radius:8px;overflow:hidden;background:#dfeaf0}.home-map-wrap #map-placeholder{background:linear-gradient(145deg,#d8e8ef,#edf4f8)}.home-map-wrap #map-placeholder strong{font-size:18px;margin-top:4px}.home-map-wrap #map-placeholder p{font-size:11px;color:#647d90;margin:4px 0 12px;text-align:center;max-width:300px}
.home-refresh{padding:7px 10px;background:#eef4fb;color:#1f4969;border:1px solid #d5e0e8;border-radius:6px;font-size:11px}
.home-filters{margin-bottom:8px}.home-filters button{padding:7px 9px;font-size:10px;border-radius:6px}.home-results-meta{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:#71869a;margin-bottom:8px}.home-results{display:grid;gap:7px;max-height:505px;overflow-y:auto;padding-right:4px}
.home-results .card{margin:0;padding:11px 12px;border-radius:8px;border:1px solid #e0e8ee;border-left:4px solid #e6a922;box-shadow:0 2px 7px #0b2a4408}.home-results .card h3{font-size:13px;margin:7px 0}.home-results .card p{font-size:10px;line-height:1.45;margin:4px 0}.home-results .card-top .tag{font-size:9px}.home-results .delay{font-size:9px;padding:4px 6px}.home-results .card button{font-size:10px}
.home-section-card{margin-top:12px}.home-route-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.home-route-grid>a{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:10px;align-items:center;text-decoration:none;color:#153b61;border:1px solid #dfe8ee;background:#fbfdff;border-radius:8px;padding:10px;transition:.15s ease}.home-route-grid>a:hover{transform:translateY(-1px);border-color:#9fc4ec;box-shadow:0 4px 12px #0a294218}.home-route-grid>a>b{width:44px;height:44px;border-radius:7px;background:#0d6ce5;color:#fff;display:grid;place-items:center;font-size:14px}.home-route-grid strong,.home-route-grid span{display:block}.home-route-grid strong{font-size:12px}.home-route-grid span{font-size:9px;color:#6a8094;margin-top:2px}.home-route-grid em{font-style:normal;color:#0d6ce5}
.home-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:12px}.home-feature-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;text-decoration:none;background:#fff;color:#153b61;border:1px solid #dce5ec;border-radius:10px;padding:14px;box-shadow:0 2px 8px #0a29420b}.home-feature-card>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef4fb;font-size:18px}.home-feature-card strong{font-size:14px}.home-feature-card p{font-size:10px;color:#637a8e;margin:3px 0 0;line-height:1.45}.home-feature-card>b{font-size:10px;color:#0d6ce5}
.home-info-band{margin-top:12px;border:1px solid #cfe0f0;background:#eef6ff;border-radius:9px;padding:13px 15px;display:flex;justify-content:space-between;gap:15px;align-items:center}.home-info-band strong,.home-info-band span{display:block}.home-info-band strong{font-size:12px}.home-info-band span{font-size:10px;color:#5f788d;margin-top:2px}.home-info-band a{font-size:11px;color:#0d6ce5;text-decoration:none;font-weight:800}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1100px){.home-summary-strip{grid-template-columns:repeat(3,1fr)}.home-main-grid{grid-template-columns:1fr}.home-route-grid{grid-template-columns:repeat(2,1fr)}.home-map-wrap{height:470px}.home-hero-status{display:none}}
@media(max-width:760px){.home-hero-inner{padding:30px 16px}.home-hero h1{font-size:38px}.home-hero-copy>p{font-size:16px}.home-shell{padding:12px 10px 24px}.home-summary-strip{grid-template-columns:1fr 1fr}.home-feature-grid{grid-template-columns:1fr}.home-map-wrap{height:380px}.home-search{grid-template-columns:1fr}.home-route-grid{grid-template-columns:1fr}}
@media(max-width:480px){.home-summary-strip{grid-template-columns:1fr}.home-quick-links{display:none}}

/* Homepage approved light, map-led direction */
.home-page-v2{background:#eaf1f6}
.home-hero-light{background:
  radial-gradient(circle at 15% 10%,#e9f7ff 0,transparent 33%),
  radial-gradient(circle at 80% 15%,#edf8ef 0,transparent 30%),
  linear-gradient(180deg,#f8fbfd 0%,#eef5f8 100%);
  color:#11273b;border-bottom:1px solid #dce7ee}
.home-hero-light:after{display:none}
.home-hero-inner-light{padding:50px 4.5vw 44px;align-items:center}
.home-hero-light .home-hero-copy{max-width:820px}
.home-live-label{display:inline-flex;align-items:center;gap:7px;font-size:11px;letter-spacing:.11em;font-weight:900;color:#46657e}
.home-live-label i{width:8px;height:8px;border-radius:50%;background:#22b35d;box-shadow:0 0 0 4px #22b35d18}
.home-hero-light h1{font-size:54px;line-height:1.03;color:#10253d;margin:10px 0 13px;letter-spacing:-1.6px}
.home-hero-light .home-hero-copy>p{font-size:18px;color:#526b80;max-width:700px;margin-bottom:20px}
.home-search-light{max-width:780px;border:1px solid #cad9e4;box-shadow:0 9px 28px #21435d14}
.home-search-light input{font-size:14px;color:#17364f}
.home-search-light button{background:#0d6ce5;color:#fff}
.home-route-chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:13px}
.home-route-chips>span{font-size:11px;color:#6c8193;font-weight:700;margin-right:2px}
.route-chip{display:inline-flex;align-items:center;justify-content:center;min-width:46px;padding:7px 10px;border-radius:7px;font-size:11px;font-weight:900;text-decoration:none}
.route-chip.blue{background:#0d6ce5;color:#fff}
.route-chip.pale{background:#fff;color:#1d5278;border:1px solid #cfdee9}
.home-status-panel{width:285px;background:#fff;border:1px solid #d7e2ea;border-radius:12px;padding:16px;box-shadow:0 8px 24px #16364d12}
.status-eyebrow{display:block;font-size:9px;letter-spacing:.09em;color:#6f8396;font-weight:900}
.status-main{display:flex;align-items:center;gap:8px;margin:7px 0 3px}.status-main i{width:10px;height:10px;border-radius:50%;background:#21b65d}.status-main strong{font-size:22px;color:#14334d}
.home-status-panel>p{font-size:10px;color:#708698;margin:0 0 12px}
.status-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.status-mini-grid>div{background:#f6f9fc;border:1px solid #e3ebf1;border-radius:8px;padding:8px}.status-mini-grid span,.status-mini-grid b{display:block}.status-mini-grid span{font-size:8px;color:#71879a}.status-mini-grid b{font-size:16px;color:#173d59;margin-top:2px}

.home-shell{padding-top:14px}
.home-map-led{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.55fr);gap:12px}
.home-map-card,.home-incidents-card{background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 2px 8px #0a29420b;padding:12px}
.home-map-wrap{height:610px}
.home-incidents-card{min-width:0}
.home-results{max-height:555px}
.home-route-band{margin-top:12px;background:transparent;border:0;box-shadow:none;padding:0}
.home-route-band .home-panel-head{background:#fff;border:1px solid #dce5ec;border-radius:10px 10px 0 0;padding:12px 14px;margin:0}
.home-route-band .home-route-grid{background:#fff;border:1px solid #dce5ec;border-top:0;border-radius:0 0 10px 10px;padding:12px}
.home-feature-grid-flat .home-feature-card{box-shadow:none}
.home-notice{margin-bottom:12px;background:#f6f9fc;border-color:#dce6ed;color:#566f83}
@media(max-width:1100px){.home-map-led{grid-template-columns:1fr}.home-status-panel{display:none}.home-map-wrap{height:500px}}
@media(max-width:760px){.home-hero-inner-light{padding:32px 16px}.home-hero-light h1{font-size:39px}.home-map-wrap{height:390px}}

/* =========================================================
   Visual polish pass — homepage, motorway and supporting pages
   Reference: approved TrafficCheck homepage + richer M6 mockups
   ========================================================= */

/* Shared */
.route-page-v2{background:#eef3f7}
.route-page-v2 .tc-nav{box-shadow:0 1px 8px #17334d10}
.route-page-v2 .tc-nav-links a{transition:color .15s ease,border-color .15s ease}
.route-page-v2 .tc-nav-links a:hover{color:#0869e8}
.route-page-v2 .panel-head h2,.route-page-v2 .home-panel-head h2{letter-spacing:-.2px}
.route-page-v2 .empty{background:#fbfdff;border-color:#dfe8ef;color:#63798d}

/* Homepage: approved photo-led composition */
.home-hero-photo{
  position:relative;
  min-height:370px;
  color:#fff;
  overflow:hidden;
  background:#0a2233;
}
.home-hero-photo:after{display:none}
.home-hero-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(4,16,25,.28))}
.home-hero-photo-inner{position:relative;z-index:2;min-height:370px;padding:34px 4.5vw 26px;align-items:center}
.home-hero-photo .home-hero-copy{max-width:940px}
.home-hero-photo h1{
  color:#fff;
  font-size:clamp(40px,4.5vw,62px);
  line-height:1.01;
  letter-spacing:-1.7px;
  margin:0 0 12px;
  text-shadow:0 2px 12px #0008;
}
.home-hero-photo .home-hero-copy>p{
  color:#fff;
  font-size:17px;
  line-height:1.4;
  max-width:720px;
  margin:0 0 18px;
  text-shadow:0 1px 8px #0008;
}
.home-search-photo{
  max-width:930px;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  padding:6px;
  background:#fff;
  border:0;
  border-radius:7px;
  box-shadow:0 8px 24px #0004;
}
.home-search-photo .home-search-icon{display:grid;place-items:center;color:#7d91a1;font-size:18px}
.home-search-photo input{padding:12px 4px;border:0;background:transparent}
.home-search-photo button{
  min-width:94px;
  background:#f7c928;
  color:#1a2e40;
  border-radius:6px;
  padding:13px 17px;
}
.home-search-photo button:hover{background:#ffd84f}
.home-route-chips-photo{margin-top:13px;padding-top:13px;border-top:1px solid #ffffff45;max-width:930px}
.home-route-chips-photo>span{color:#fff;font-weight:800}
.route-chip.dark{color:#fff;background:#0e2332b8;border:1px solid #cde0ec80}
.route-chip.dark:hover{background:#16374e}
.home-shell-photo{padding-top:14px}
.home-network-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:8px}
.home-network-head h2{font-size:20px;margin:2px 0 0}.home-network-head>span{font-size:10px;color:#64798c}
.home-summary-strip-photo{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}
.home-summary-strip-photo article{min-height:92px;box-shadow:0 2px 8px #0b2a440c}
.home-summary-strip-photo article>div:last-child{min-width:0}
.home-summary-strip-photo strong{font-size:25px;line-height:1}
.home-summary-strip-photo small{font-size:10px;font-weight:800;color:#1b3850}
.home-summary-strip-photo .summary-icon{font-size:19px;font-weight:900}
.home-summary-strip-photo .summary-icon.yellow{background:#fff2b8;color:#b77b00}
.home-summary-strip-photo .status-severe{border-top:3px solid #e52e32}
.home-summary-strip-photo .status-moderate{border-top:3px solid #f49b1a}
.home-summary-strip-photo .status-roadworks{border-top:3px solid #efbb16}
.home-summary-strip-photo .status-good{border-top:3px solid #27aa59}
.home-map-led-photo{grid-template-columns:minmax(0,1.08fr) minmax(350px,.82fr)}
.home-map-led-photo .home-map-wrap{height:540px}
.home-map-led-photo .home-results{max-height:485px}
.home-map-led-photo .home-incidents-card{display:flex;flex-direction:column}
.home-results .card{position:relative}
.home-results .card:nth-child(4n+1){border-left-color:#e52e32}
.home-results .card:nth-child(4n+2){border-left-color:#f39b19}
.home-results .card:nth-child(4n+3){border-left-color:#efbd18}
.home-results .card:nth-child(4n){border-left-color:#26a957}
.home-utility-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.home-utility-strip>a{display:grid;grid-template-columns:42px 1fr;gap:11px;align-items:center;text-decoration:none;color:#17344e;background:#fff;border:1px solid #dce5ec;border-radius:9px;padding:14px}
.home-utility-strip .utility-icon{width:42px;height:42px;border-radius:9px;display:grid;place-items:center;color:#0d6ce5;font-size:23px;font-weight:900;background:#eff6ff}
.home-utility-strip strong,.home-utility-strip p{display:block}.home-utility-strip strong{font-size:12px}.home-utility-strip p{font-size:10px;color:#637a8e;margin:3px 0 0;line-height:1.4}
.home-feature-grid-flat{display:none}
.home-info-band{margin-top:12px}
@media(max-width:1000px){.home-summary-strip-photo{grid-template-columns:repeat(2,1fr)}.home-map-led-photo{grid-template-columns:1fr}.home-utility-strip{grid-template-columns:1fr}.home-hero-photo{min-height:340px}.home-hero-photo-inner{min-height:340px}}
@media(max-width:620px){.home-summary-strip-photo{grid-template-columns:1fr}.home-route-chips-photo a:nth-of-type(n+6){display:none}.home-hero-photo h1{font-size:39px}.home-search-photo{grid-template-columns:28px minmax(0,1fr)}.home-search-photo button{grid-column:1/-1;width:100%}}

/* M6: richer motorway page */
.m6-hero{
  min-height:180px;
  background-image:
    linear-gradient(90deg,rgba(5,25,43,.93) 0%,rgba(11,40,62,.75) 48%,rgba(18,47,62,.30) 100%),
    url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=76&w=2200");
  background-size:cover;
  background-position:center 56%;
}
.m6-hero:after{background:linear-gradient(180deg,transparent 45%,#061a2a50)}
.m6-hero-overlay{background:linear-gradient(90deg,#07223bdc 0%,#11344caf 48%,#17374a52 100%)}
.m6-badge{background:linear-gradient(180deg,#147bf0,#0864d6)}
.m6-summary-strip article{box-shadow:0 2px 7px #0a29420b;border-top:3px solid transparent}
.m6-summary-strip article:nth-child(1){border-top-color:#e52e32}
.m6-summary-strip article:nth-child(2){border-top-color:#f39b19}
.m6-summary-strip article:nth-child(3){border-top-color:#eb3342}
.m6-summary-strip article:nth-child(4){border-top-color:#0d6ce5}
.m6-summary-strip article:nth-child(5){border-top-color:#1786ef}
.m6-summary-strip article:nth-child(6){border-top-color:#ff5b62}
.m6-summary-strip article:nth-child(7){border-top-color:#24ac5a}
.approved-list .route-row{
  border:1px solid #dde7ee;
  border-left-width:5px;
  background:#fff;
  box-shadow:0 2px 6px #102a4208;
}
.approved-list .route-row.serious{border-left-color:#e52e32;background:#fff9f9}
.approved-list .route-row.moderate{border-left-color:#f39b19;background:#fffdf8}
.approved-list .route-row.minor{border-left-color:#24a75b}
.approved-list .route-row.works{border-left-color:#efb516;background:#fffdf5}
.approved-list .route-row-icon{
  width:28px;height:28px;border-radius:7px;display:grid;place-items:center;
  font-size:15px;font-weight:900;color:#fff;background:#74889a
}
.approved-list .route-row.serious .route-row-icon{background:#e52e32}
.approved-list .route-row.moderate .route-row-icon{background:#f39b19}
.approved-list .route-row.minor .route-row-icon{background:#24a75b}
.approved-list .route-row.works .route-row-icon{background:#efb516;color:#463100}
.route-row-tags{margin-top:4px}
.severity-badge{display:inline-flex!important;width:auto!important;padding:3px 7px;border-radius:999px;font-size:9px!important;font-weight:900!important}
.severity-badge.serious{background:#ffe2e3;color:#c91922}
.severity-badge.moderate{background:#fff0d8;color:#aa6400}
.severity-badge.minor{background:#def5e6;color:#17743d}
.severity-badge.works{background:#fff1b9;color:#8a6400}
.approved-list .route-row.serious .row-delay{color:#d8232b}
.approved-list .route-row.moderate .row-delay{color:#cf7800}
.junction-strip,.m6-info-card,.m6-feature-card{box-shadow:0 3px 11px #0b2a440d}
.approved-junctions article{position:relative;border-top:3px solid #2cab5f}
.approved-junctions article:has(.slow){border-top-color:#f1b420}
.approved-junctions article:has(.heavy){border-top-color:#ee3e45}
.approved-junctions em{font-weight:800}
.travel-list div b,.connecting-list div b{background:#0d6ce5;color:#fff;border-radius:5px;padding:4px 6px;font-size:10px}
.connecting-list em{font-weight:800}
.m6-feature-card .feature-icon{box-shadow:inset 0 0 0 1px #d9e6ef}
.all-junctions-grid a b{color:#0d6ce5}
.m6-faq summary:before{content:"+";display:inline-grid;place-items:center;width:20px;height:20px;margin-right:8px;border-radius:50%;background:#edf5ff;color:#0d6ce5}
.m6-faq details[open] summary:before{content:"−"}

/* Accidents */
.accidents-page-v1 .accidents-hero{
  background-image:
    linear-gradient(90deg,rgba(6,28,47,.94),rgba(20,52,72,.72)),
    url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=72&w=2200");
  background-size:cover;background-position:center 55%
}
.accidents-page-v1 .accident-kpis article:nth-child(1){border-top:3px solid #e52e32}
.accidents-page-v1 .accident-kpis article:nth-child(2){border-top:3px solid #c91f28}
.accidents-page-v1 .accident-kpis article:nth-child(3){border-top:3px solid #f39b19}
.accidents-page-v1 .accident-kpis article:nth-child(4){border-top:3px solid #27a958}
.accidents-page-v1 .accident-card{box-shadow:0 2px 8px #0a29420a}
.accidents-page-v1 .accident-card.severe .accident-level{background:#df242c;color:#fff}
.accidents-page-v1 .accident-card:not(.severe) .accident-level{background:#f29b1d;color:#fff}

/* Junction pages */
.junction-page-v4 .junction-hero-v4{
  background:
   linear-gradient(90deg,rgba(8,32,52,.94),rgba(16,54,78,.72)),
   url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=70&w=2200");
  background-size:cover;background-position:center 56%;
}
.junction-page-v4 .junction-road-badge-v4{background:linear-gradient(180deg,#147bf0,#0864d6);box-shadow:0 6px 16px #071d3044}
.junction-page-v4 .junction-kpis-v4 article{border-top:3px solid #d9e5ee}
.junction-page-v4 .junction-kpis-v4 article:nth-child(1){border-top-color:#e52e32}
.junction-page-v4 .junction-kpis-v4 article:nth-child(2){border-top-color:#f39b19}
.junction-page-v4 .junction-kpis-v4 article:nth-child(3){border-top-color:#e52e32}
.junction-page-v4 .junction-kpis-v4 article:nth-child(4){border-top-color:#0d6ce5}
.junction-page-v4 .junction-event-v4{border-left:5px solid #f39b19;box-shadow:0 2px 7px #0a294209;background:#fff}
.junction-page-v4 .junction-event-icon{background:#fff1d8;border-radius:7px}
.junction-page-v4 .junction-feed-tabs-v4 button.selected{background:#0d6ce5;color:#fff}
.junction-page-v4 .junction-filter-row-v4 button.selected{background:#173e5d;color:#fff}
.junction-page-v4 .nearby-junction-v4.current{border-left:4px solid #0d6ce5}

/* Services */
.service-page-v1 .service-hero{
  background:
   linear-gradient(90deg,rgba(6,31,51,.94),rgba(17,58,82,.72)),
   url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=70&w=2200");
  background-size:cover;background-position:center 56%;
}
.service-page-v1 .service-badge{background:linear-gradient(180deg,#147bf0,#0864d6)}
.service-page-v1 .service-summary-grid article:nth-child(1){border-top:3px solid #0d6ce5}
.service-page-v1 .service-summary-grid article:nth-child(2){border-top:3px solid #6c55c9}
.service-page-v1 .service-summary-grid article:nth-child(3){border-top:3px solid #25a95a}
.service-page-v1 .service-summary-grid article:nth-child(4){border-top:3px solid #f1a31a}
.service-page-v1 .service-info-card:nth-child(1){border-top:3px solid #e4522e}
.service-page-v1 .service-info-card:nth-child(2){border-top:3px solid #0d6ce5}
.service-page-v1 .service-info-card:nth-child(3){border-top:3px solid #24a75b}
.service-page-v1 .service-tags span:nth-child(3n+1){background:#fff1df;border-color:#f4d5ad;color:#8b5311}
.service-page-v1 .service-tags span:nth-child(3n+2){background:#eef6ff;border-color:#cfe3f7;color:#205c8c}
.service-page-v1 .service-tags span:nth-child(3n){background:#edf8f0;border-color:#d1e9d7;color:#34704a}

/* Section / hub pages */
.hub-section-page{background:#eef3f7}
.hub-section-page .section-hero{
  position:relative;
  overflow:hidden;
  background:
   linear-gradient(90deg,rgba(7,31,51,.95),rgba(18,58,82,.75)),
   url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=68&w=2200");
  background-size:cover;background-position:center 55%;
  box-shadow:0 5px 18px #10293e18;
}
.hub-section-page .section-card-grid{gap:10px}
.hub-section-page .section-card{
  position:relative;
  padding:18px 18px 18px 62px;
  min-height:128px;
  border-top:3px solid #0d6ce5;
  box-shadow:0 3px 10px #0a29420b;
}
.hub-section-page .section-card:before{
  content:"↗";
  position:absolute;left:16px;top:18px;
  width:32px;height:32px;border-radius:9px;
  display:grid;place-items:center;background:#edf5ff;color:#0d6ce5;font-weight:900;font-size:17px;
}
.hub-section-page .section-card:nth-child(2){border-top-color:#f39b19}
.hub-section-page .section-card:nth-child(2):before{background:#fff2df;color:#d07700;content:"⚠"}
.hub-section-page .section-card:nth-child(3){border-top-color:#25a95a}
.hub-section-page .section-card:nth-child(3):before{background:#e9f7ee;color:#25864b;content:"✓"}
.hub-section-page .section-card:hover{transform:translateY(-2px);box-shadow:0 7px 18px #0a294218}

/* Motorway services directory */
.services-index-page{background:#eef3f7}
.services-index-hero{max-width:none;margin:0;border-radius:0;padding:34px 4.5vw;background:
linear-gradient(90deg,rgba(6,30,50,.94),rgba(20,60,83,.74)),
url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=70&w=2200");
background-size:cover;background-position:center 55%;box-shadow:none}
.services-index-hero h1{font-size:40px;margin:5px 0 8px}
.services-index-shell{padding-top:14px}
.services-index-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0}
.services-index-summary article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:13px;display:flex;gap:10px;align-items:center;min-height:88px;box-shadow:0 2px 8px #0a29420b}
.services-index-summary small,.services-index-summary span{display:block;font-size:10px;color:#667d90}
.services-index-summary strong{display:block;font-size:22px;color:#123550;margin:2px 0}
.services-index-panel{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:12px;box-shadow:0 3px 10px #0a29420c}
.services-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.services-directory-card{display:grid;grid-template-columns:46px minmax(0,1fr) auto;gap:10px;align-items:center;text-decoration:none;color:#153b61;border:1px solid #dfe7ee;border-radius:9px;background:#fbfdff;padding:11px;transition:.15s ease}
.services-directory-card:hover{transform:translateY(-1px);border-color:#9fc4ec;box-shadow:0 4px 12px #0a294218}
.services-directory-copy strong,.services-directory-copy small{display:block}
.services-directory-copy strong{font-size:13px}.services-directory-copy small{font-size:9px;color:#6a8094;margin:2px 0 6px}
.services-directory-copy div{display:flex;gap:4px;flex-wrap:wrap}
.services-directory-copy div span{font-size:8px;border-radius:999px;padding:3px 5px;background:#eef5ff;color:#2c5f86}
.services-directory-card>b{color:#0d6ce5}
@media(max-width:1000px){.services-directory-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.services-index-summary,.services-directory-grid{grid-template-columns:1fr}}

.section-live-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:0 0 12px}
.section-live-strip article{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:13px;display:flex;gap:10px;align-items:center;min-height:86px;box-shadow:0 2px 8px #0a29420b;border-top:3px solid #d9e5ee}
.section-live-strip article:nth-child(1){border-top-color:#e52e32}.section-live-strip article:nth-child(2){border-top-color:#f39b19}.section-live-strip article:nth-child(3){border-top-color:#0d6ce5}.section-live-strip article:nth-child(4){border-top-color:#25a95a}
.section-live-strip small,.section-live-strip span{display:block;font-size:10px;color:#667d90}.section-live-strip strong{display:block;font-size:21px;color:#123550;margin:2px 0}
@media(max-width:900px){.section-live-strip{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.section-live-strip{grid-template-columns:1fr}}

/* M6 accident history */
.history-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#e8eef5;color:#29475f;font-size:11px;font-weight:900}
.history-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:10px;background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:12px;margin-bottom:12px;box-shadow:0 2px 8px #0a29420b}
.history-toolbar label{font-size:10px;color:#667d90;margin:0 0 5px}
.history-toolbar input,.history-toolbar select{width:100%;border:1px solid #cfdbe4;border-radius:7px;background:#fbfdff;padding:10px;font-size:11px;color:#17364f}
.history-card{border-left:5px solid #71879a!important;background:#fbfdff!important}
.history-status{text-transform:capitalize;background:#edf2f6!important;color:#365269!important}
.history-status.ended{background:#e8f2ff!important;color:#145a93!important}.history-status.expired{background:#f2edf8!important;color:#644b83!important}.history-status.cancelled{background:#f3f3f3!important;color:#5c6670!important}
.history-note{font-size:11px;color:#5f7588;line-height:1.55;margin:0}
@media(max-width:700px){.history-toolbar{grid-template-columns:1fr}}

/* Extended homepage */
.home-long-section{margin-top:14px}
.home-section-title{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:9px}
.home-section-title h2{font-size:20px;margin:2px 0 0;color:#17344e}
.home-section-title>a{font-size:11px;color:#0d6ce5;text-decoration:none;font-weight:800}

.home-route-status-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.home-route-status-grid>a{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:12px;text-decoration:none;color:#153b61;box-shadow:0 2px 8px #0a29420b;transition:.15s ease}
.home-route-status-grid>a:hover{transform:translateY(-1px);border-color:#9fc4ec;box-shadow:0 5px 14px #0a294218}
.home-road-shield{width:48px;height:48px;border-radius:8px;background:#0d6ce5;color:#fff;display:grid;place-items:center;font-size:14px;font-weight:900}
.home-route-status-grid strong,.home-route-status-grid small,.home-route-status-grid em{display:block}
.home-route-status-grid strong{font-size:12px}.home-route-status-grid small{font-size:9px;color:#6b8093;margin:2px 0 5px}.home-route-status-grid em{font-style:normal;font-size:9px;font-weight:800}
.route-state.good{color:#228449}.route-state.slow{color:#b77500}.route-state.heavy{color:#c5232c}
.home-route-status-grid>a>b{color:#0d6ce5}

.home-major-disruption{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.home-disruption-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:10px;align-items:start;background:#fff;border:1px solid #dce5ec;border-left:5px solid #f39b19;border-radius:9px;padding:12px;box-shadow:0 2px 8px #0a29420b}
.home-disruption-card.severe{border-left-color:#e52e32;background:#fff9f9}
.home-disruption-icon{width:30px;height:30px;border-radius:7px;background:#fff0d8;color:#b46e00;display:grid;place-items:center;font-weight:900}
.home-disruption-card.severe .home-disruption-icon{background:#ffe4e5;color:#c91e27}
.home-disruption-level{display:inline-flex;padding:3px 6px;border-radius:999px;background:#fff0d8;color:#aa6400;font-size:8px;font-weight:900;margin-bottom:4px}
.home-disruption-card.severe .home-disruption-level{background:#ffe2e3;color:#c91922}
.home-disruption-card strong{display:block;font-size:12px;color:#17344e}.home-disruption-card p{font-size:10px;color:#60778a;line-height:1.4;margin:3px 0 0}.home-disruption-card>b{font-size:10px;color:#c86600;white-space:nowrap}.home-disruption-card.severe>b{color:#cf252d}

.home-service-spotlights{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.home-service-spotlights>a{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;text-decoration:none;color:#17344e;background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:14px;box-shadow:0 2px 8px #0a29420b}
.service-spotlight-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;background:#edf5ff;font-size:19px}
.home-service-spotlights strong,.home-service-spotlights small{display:block}.home-service-spotlights strong{font-size:13px}.home-service-spotlights small{font-size:9px;color:#6a8094;margin:2px 0 4px}.home-service-spotlights p{font-size:10px;color:#5d7488;line-height:1.4;margin:0}.home-service-spotlights>a>b{color:#0d6ce5}

.home-tools-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.home-tools-grid>a{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:13px;text-decoration:none;color:#17344e}
.home-tools-grid>a>span{width:40px;height:40px;border-radius:9px;display:grid;place-items:center;background:#f2f6fa;font-size:18px}.home-tools-grid strong{font-size:12px}.home-tools-grid p{font-size:9px;color:#687f92;line-height:1.4;margin:3px 0 0}.home-tools-grid>a>b{color:#0d6ce5}

@media(max-width:1200px){.home-route-status-grid{grid-template-columns:repeat(3,1fr)}.home-tools-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.home-route-status-grid,.home-major-disruption,.home-service-spotlights{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.home-route-status-grid,.home-major-disruption,.home-service-spotlights,.home-tools-grid{grid-template-columns:1fr}.home-section-title{align-items:start}}

/* Homepage lower-section redesign: flatter, cleaner, closer to approved M6 visual language */
.home-long-section{
  margin-top:16px;
  background:#fff;
  border:1px solid #dbe5ec;
  border-radius:12px;
  box-shadow:0 3px 12px #0a29420d;
  padding:16px;
}
.home-section-title{margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e9eef2}
.home-section-title h2{font-size:21px}
.home-section-title>a{padding:6px 9px;border-radius:6px;background:#eef5ff}

.home-route-status-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:0;
  border:1px solid #e1e8ee;
  border-radius:10px;
  overflow:hidden;
  background:#fbfdff;
}
.home-route-status-grid>a{
  border:0;
  border-right:1px solid #e4ebf0;
  border-radius:0;
  box-shadow:none;
  padding:14px 12px;
  background:#fff;
}
.home-route-status-grid>a:last-child{border-right:0}
.home-route-status-grid>a:hover{transform:none;background:#f7fbff;box-shadow:none;border-color:#e4ebf0}
.home-road-shield{
  width:46px;height:46px;border-radius:8px;
  box-shadow:inset 0 0 0 1px #ffffff24,0 2px 7px #0a294219;
}
.home-route-status-grid strong{font-size:13px}
.home-route-status-grid small{font-size:9px}
.home-route-status-grid em{margin-top:3px}
.home-route-status-grid>a>b{font-size:17px}

.home-major-disruption{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.home-disruption-card{
  grid-template-columns:34px minmax(0,1fr) auto;
  border:1px solid #e1e8ee;
  border-left:5px solid #f39b19;
  border-radius:8px;
  box-shadow:none;
  padding:11px 13px;
  background:#fffdf9;
}
.home-disruption-card.severe{background:#fff8f8}
.home-disruption-card strong{font-size:13px}
.home-disruption-card p{font-size:10px;max-width:900px}
.home-disruption-card>b{
  align-self:center;
  padding:5px 8px;
  border-radius:999px;
  background:#fff0d8;
}
.home-disruption-card.severe>b{background:#ffe3e4}

.home-services-section{background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.home-service-spotlights{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.home-service-spotlights>a{
  position:relative;
  overflow:hidden;
  border:1px solid #dde7ee;
  border-radius:10px;
  padding:15px;
  box-shadow:none;
  background:#fff;
}
.home-service-spotlights>a:before{
  content:"";
  position:absolute;left:0;right:0;top:0;height:3px;background:#0d6ce5
}
.home-service-spotlights>a:nth-child(2):before{background:#24a75b}
.home-service-spotlights>a:nth-child(3):before{background:#f1a31a}
.service-spotlight-icon{
  width:40px;height:40px;border-radius:50%;
  background:#eef5ff;
}
.home-service-spotlights>a:nth-child(2) .service-spotlight-icon{background:#eaf7ee}
.home-service-spotlights>a:nth-child(3) .service-spotlight-icon{background:#fff3dc}
.home-service-spotlights strong{font-size:13px}
.home-service-spotlights p{font-size:10px}

.home-tools-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  border:1px solid #dfe7ee;
  border-radius:10px;
  overflow:hidden;
}
.home-tools-grid>a{
  border:0;
  border-right:1px solid #e4ebf0;
  border-radius:0;
  padding:14px;
  background:#fbfdff;
}
.home-tools-grid>a:last-child{border-right:0}
.home-tools-grid>a:hover{background:#f3f8fd}
.home-tools-grid>a>span{
  width:38px;height:38px;border-radius:8px;background:#edf5ff
}
.home-tools-grid strong{font-size:12px}
.home-tools-grid p{font-size:9px}

.home-info-band{
  margin-top:16px;
  background:#0f2d47;
  border:0;
  color:#fff;
  padding:15px 17px;
}
.home-info-band strong{color:#fff}
.home-info-band span{color:#c8d8e5}
.home-info-band a{color:#fff;background:#0d6ce5;padding:7px 10px;border-radius:6px}

@media(max-width:1100px){
  .home-route-status-grid{grid-template-columns:repeat(2,1fr)}
  .home-route-status-grid>a{border-bottom:1px solid #e4ebf0}
  .home-route-status-grid>a:nth-child(2n){border-right:0}
  .home-route-status-grid>a:last-child{grid-column:1/-1;border-bottom:0}
  .home-tools-grid{grid-template-columns:repeat(2,1fr)}
  .home-tools-grid>a:nth-child(2n){border-right:0}
  .home-tools-grid>a{border-bottom:1px solid #e4ebf0}
}
@media(max-width:760px){
  .home-long-section{padding:12px}
  .home-route-status-grid,.home-service-spotlights,.home-tools-grid{grid-template-columns:1fr}
  .home-route-status-grid>a,.home-tools-grid>a{border-right:0;border-bottom:1px solid #e4ebf0}
  .home-route-status-grid>a:last-child,.home-tools-grid>a:last-child{border-bottom:0;grid-column:auto}
  .home-section-title{align-items:flex-start}
}

/* Complete inner hub layouts */
.hub-section-page .section-shell{max-width:1500px;margin:auto;padding:18px 4.5vw 30px}
.hub-section-page .section-hero{border-radius:12px;padding:30px 34px;margin-bottom:12px}
.hub-section-page .section-hero>span{font-size:10px;letter-spacing:.11em;font-weight:900;color:#bfd1df}
.hub-section-page .section-hero h1{font-size:42px;line-height:1.05;margin:5px 0 8px;color:#fff}
.hub-section-page .section-hero p{max-width:760px;margin:0;color:#e3edf4;font-size:15px;line-height:1.5}

.hub-section-page .section-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px}
.hub-section-page .section-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:11px;align-items:center;padding:15px;min-height:108px}
.hub-section-page .section-card:before{display:none}
.section-card-icon{grid-row:1/3;width:42px;height:42px;border-radius:9px;display:grid!important;place-items:center;background:#eef5ff;color:#0d6ce5;font-size:19px!important;font-weight:900}
.hub-section-page .section-card>strong{font-size:14px}.hub-section-page .section-card>span:not(.section-card-icon){font-size:10px;line-height:1.45;color:#667d90}.hub-section-page .section-card>b{grid-column:3;grid-row:1/3;color:#0d6ce5}

.section-content-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);gap:12px}
.section-live-panel,.section-side-panel,.section-bottom-panel{background:#fff;border:1px solid #dce5ec;border-radius:10px;box-shadow:0 3px 10px #0a29420c;padding:12px}
.section-live-list{display:grid;gap:8px}
.section-live-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;align-items:start;border:1px solid #e0e8ee;border-left:5px solid #f39b19;border-radius:8px;padding:11px;background:#fff}
.section-live-row.severe{border-left-color:#e52e32;background:#fff9f9}.section-live-row.works{border-left-color:#efb516;background:#fffdf5}
.section-live-row>span{width:29px;height:29px;border-radius:7px;display:grid;place-items:center;background:#fff0d8;color:#b36c00;font-weight:900}
.section-live-row.severe>span{background:#ffe4e5;color:#c91e27}.section-live-row.works>span{background:#fff1bd}
.section-live-row small,.section-live-row strong{display:block}.section-live-row small{font-size:8px;text-transform:uppercase;letter-spacing:.04em;color:#75899b;font-weight:900}.section-live-row strong{font-size:12px;color:#173b58;margin:2px 0}.section-live-row p{font-size:9px;color:#62798d;line-height:1.45;margin:0}.section-live-row>b{font-size:9px;color:#b96d00;white-space:nowrap}.section-live-row.severe>b{color:#cf252d}

.section-side-links{display:grid;gap:7px}.section-side-links a{display:flex;justify-content:space-between;align-items:center;text-decoration:none;color:#173b58;border:1px solid #e1e8ee;background:#fbfdff;border-radius:8px;padding:11px}.section-side-links a:hover{border-color:#a9c7e3;background:#f6faff}.section-side-links span{font-size:11px;font-weight:800}.section-side-links b{color:#0d6ce5}
.section-bottom-panel{margin-top:12px}.section-bottom-links{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.section-bottom-links a{display:grid;grid-template-columns:minmax(0,1fr) auto;text-decoration:none;color:#173b58;border:1px solid #e1e8ee;background:#fbfdff;border-radius:8px;padding:12px}.section-bottom-links strong,.section-bottom-links span{display:block}.section-bottom-links strong{font-size:12px}.section-bottom-links span{font-size:9px;color:#687f92;margin-top:3px}.section-bottom-links b{grid-row:1/3;grid-column:2;color:#0d6ce5;align-self:center}

@media(max-width:950px){.section-content-grid{grid-template-columns:1fr}.hub-section-page .section-card-grid{grid-template-columns:1fr}.section-bottom-links{grid-template-columns:1fr}}
@media(max-width:620px){.hub-section-page .section-shell{padding:12px 10px 24px}.hub-section-page .section-hero{padding:24px 18px}.hub-section-page .section-hero h1{font-size:34px}.section-live-row{grid-template-columns:30px minmax(0,1fr)}.section-live-row>b{grid-column:2}}

/* Site-wide alignment, ticker, refined homepage and inner pages */
.tc-nav{
  padding-left:4.5vw!important;
  padding-right:4.5vw!important;
  max-width:none!important;
}
.tc-nav .tc-brand{margin-left:0!important}
.tc-ticker{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;
  min-height:34px;padding:0 4.5vw;background:#102d46;color:#fff;border-top:1px solid #173a58;
  font-size:10px;overflow:hidden
}
.tc-ticker>strong{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:.08em;white-space:nowrap}
.tc-ticker-dot{width:7px;height:7px;border-radius:50%;background:#28c064;box-shadow:0 0 0 3px #28c06422}
.tc-ticker-window{overflow:hidden;min-width:0}
.tc-ticker-track{display:flex;width:max-content;gap:34px;animation:tcTicker 42s linear infinite}
.tc-ticker:hover .tc-ticker-track{animation-play-state:paused}
.tc-ticker-item{display:inline-flex;gap:7px;align-items:center;white-space:nowrap;color:#dbe7ef}
.tc-ticker-item i{font-style:normal;color:#f0ad24;font-size:8px}
.tc-ticker>a{color:#fff;text-decoration:none;font-weight:800;white-space:nowrap}
@keyframes tcTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.tc-ticker-track{animation:none}}
@media(max-width:720px){.tc-ticker{grid-template-columns:auto 1fr;padding:0 12px}.tc-ticker>a{display:none}}

.home-hero-photo .home-hero-copy{max-width:790px}
.home-hero-photo h1{font-size:clamp(40px,4.25vw,58px);max-width:760px}
.home-search-photo{max-width:610px;border-radius:9px;padding:5px}
.home-search-photo button{
  min-width:116px;border:0;border-radius:7px;
  background:linear-gradient(180deg,#ffd43c,#f3bd12);
  box-shadow:inset 0 1px 0 #fff6,0 2px 8px #0002;
  font-weight:900;letter-spacing:.01em;transition:.15s ease
}
.home-search-photo button:hover{transform:translateY(-1px);background:linear-gradient(180deg,#ffdc55,#f6c31a)}
.home-network-head>span:empty{display:none}
.home-data-empty{border:1px dashed #cfdbe4;border-radius:8px;background:#fbfdff;padding:18px;text-align:center}
.home-data-empty strong,.home-data-empty span{display:block}.home-data-empty strong{font-size:12px;color:#294a63}.home-data-empty span{font-size:10px;color:#718598;margin-top:4px}

/* Full-width, aligned hub heroes */
.hub-section-page .section-shell{max-width:1500px;margin:auto;padding:14px 4.5vw 34px}
.hub-section-page .section-hero-wide{
  max-width:none!important;margin:0!important;border-radius:0!important;
  padding:0!important;background:
  linear-gradient(90deg,rgba(7,31,51,.96),rgba(18,58,82,.76)),
  url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=72&w=2200");
  background-size:cover;background-position:center 55%
}
.section-hero-inner{max-width:1500px;margin:auto;padding:34px 4.5vw}
.hub-section-page .section-hero-inner>span{font-size:10px;letter-spacing:.11em;font-weight:900;color:#bfd1df}
.hub-section-page .section-hero-inner h1{font-size:42px;line-height:1.05;margin:5px 0 8px;color:#fff}
.hub-section-page .section-hero-inner p{max-width:760px;margin:0;color:#e3edf4;font-size:15px;line-height:1.5}
.hub-section-page .section-card-grid{margin-top:0}
.hub-section-page .section-card{background:#fff;border:1px solid #dce5ec;border-top:3px solid #0d6ce5;box-shadow:0 2px 8px #0a29420b}
.hub-section-page .section-card:nth-child(2){border-top-color:#f39b19}
.hub-section-page .section-card:nth-child(3){border-top-color:#25a95a}
.section-live-panel,.section-side-panel,.section-bottom-panel{box-shadow:0 2px 8px #0a29420a}

/* Motorway services alignment */
.services-index-hero{padding:0!important}
.services-index-hero-inner{max-width:1500px;margin:auto;padding:34px 4.5vw}
.services-index-hero-inner>span{font-size:10px;letter-spacing:.11em;font-weight:900;color:#bfd1df}
.services-index-hero-inner h1{font-size:42px;line-height:1.05;margin:5px 0 8px;color:#fff}
.services-index-hero-inner p{max-width:760px;margin:0;color:#e3edf4;font-size:15px}
.services-index-shell{max-width:1500px!important;margin:auto!important;padding:14px 4.5vw 34px!important}

/* Major roads directory */
.major-roads-page{background:#eef3f7}
.major-roads-hero{background:linear-gradient(90deg,#082943ee,#15506fc9),url("https://images.unsplash.com/photo-1668784907506-64f36e42709d?auto=format&fit=crop&fm=jpg&q=72&w=2200");background-size:cover;background-position:center}
.major-roads-hero-inner{max-width:1500px;margin:auto;padding:34px 4.5vw;color:#fff}
.major-roads-hero-inner>span{font-size:10px;letter-spacing:.11em;font-weight:900;color:#bfd1df}
.major-roads-hero h1{font-size:42px;margin:5px 0 8px}.major-roads-hero p{max-width:760px;color:#e3edf4;margin:0}
.major-roads-shell{max-width:1500px;margin:auto;padding:16px 4.5vw 34px}
.major-road-group{background:#fff;border:1px solid #dce5ec;border-radius:10px;padding:12px;margin-bottom:12px;box-shadow:0 2px 8px #0a29420b}
.major-road-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px}
.major-road-grid a{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;text-decoration:none;color:#173b58;border:1px solid #dfe7ee;border-radius:8px;background:#fbfdff;padding:9px}
.major-road-grid b{width:46px;height:38px;display:grid;place-items:center;border-radius:6px;background:#0d6ce5;color:#fff}
.major-road-grid span{font-size:9px;color:#71869a}.major-road-grid em{font-style:normal;color:#0d6ce5}
.a-road-grid b{background:#166c4a}
@media(max-width:1100px){.major-road-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:760px){.major-road-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.major-road-grid{grid-template-columns:1fr}}

/* Legal */
.legal-page{background:#eef3f7}.legal-shell{max-width:900px;margin:34px auto;padding:28px 32px;background:#fff;border:1px solid #dce5ec;border-radius:12px;box-shadow:0 3px 12px #0a29420d}
.legal-shell h1{font-size:36px;margin:0 0 16px}.legal-shell h2{font-size:18px;margin:24px 0 7px}.legal-shell p{font-size:13px;color:#526b80;line-height:1.7;margin:0 0 10px}

/* Footer */
.tc-footer nav{display:flex;gap:14px;flex-wrap:wrap}.tc-footer nav a{color:inherit;text-decoration:none;font-size:10px}
.tc-footer nav a:hover{text-decoration:underline}

/* HTML5 homepage hero video */
.home-hero-photo{isolation:isolate}
.home-hero-video{
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 54%;
  pointer-events:none;
  background:transparent;
}
.home-hero-photo .home-hero-shade{
  z-index:1;
  background:
    linear-gradient(90deg,rgba(4,17,28,.89) 0%,rgba(5,20,31,.72) 43%,rgba(9,24,34,.28) 72%,rgba(9,24,34,.18) 100%),
    linear-gradient(180deg,transparent 52%,rgba(4,16,25,.32));
}
.home-hero-photo .home-hero-photo-inner{z-index:2}
@media(prefers-reduced-motion:reduce){
  .home-hero-video{display:block}
}


/* October homepage/M6 visual refinement */
.home-summary-strip-photo .status-severe{background:#fff8f8}
.home-summary-strip-photo .status-moderate{background:#fffaf2}
.home-summary-strip-photo .status-roadworks{background:#fffdf2}
.home-summary-strip-photo .status-good{background:#f5fcf7}
.home-map-card{background:#f8fbfd}
.home-incidents-card{background:#fbfcfe}
.home-utility-strip>a:nth-child(1){background:#fff8f7}
.home-utility-strip>a:nth-child(2){background:#f6f9ff}
.home-utility-strip>a:nth-child(3){background:#f6fbf8}
.home-long-section{
  background:#f8fbfd;
  border:1px solid #dce5ec;
  border-radius:12px;
  padding:16px;
}
.home-long-section:nth-of-type(even){background:#f5f9fc}
.home-services-section{background:#f7fbff}
.home-info-band{box-shadow:0 2px 8px #0a29420b}

.travel-list a,.connecting-list a{
  font-size:10px!important;
  line-height:1.2;
  font-weight:700;
  color:#0d6ce5;
  text-decoration:none;
  white-space:nowrap;
}
.travel-list a:hover,.connecting-list a:hover{text-decoration:underline}
.about-card p{font-size:11px;line-height:1.6}
.facts-row{flex-wrap:wrap;gap:10px}
.facts-row span{background:#f5f9fc;border:1px solid #dfe7ee;border-radius:7px;padding:8px 10px;min-width:92px}
.m6-faq details{background:#fbfdff;border:1px solid #e0e8ee;border-radius:8px;padding:0 12px;margin:7px 0}
.m6-faq summary{padding:11px 0;font-size:12px;font-weight:800;cursor:pointer}
.m6-faq details p{font-size:11px;line-height:1.65;color:#516a80;margin:0 0 12px}
.travel-advice-guide{margin:12px 0;background:#f8fbfd;border:1px solid #dce5ec;border-radius:12px;padding:16px}
.travel-advice-guide h2{margin:0 0 4px;font-size:22px;color:#173b58}
.travel-advice-guide>p{margin:0 0 14px;color:#5d7488;font-size:12px;line-height:1.55}
.travel-advice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.travel-advice-grid article{background:#fff;border:1px solid #dce5ec;border-radius:9px;padding:14px}
.travel-advice-grid article:nth-child(1){border-top:3px solid #0d6ce5}
.travel-advice-grid article:nth-child(2){border-top:3px solid #f39b19}
.travel-advice-grid article:nth-child(3){border-top:3px solid #25a95a}
.travel-advice-grid article:nth-child(4){border-top:3px solid #e52e32}
.travel-advice-grid article:nth-child(5){border-top:3px solid #7758d6}
.travel-advice-grid article:nth-child(6){border-top:3px solid #2b8b9e}
.travel-advice-grid strong{display:block;font-size:13px;color:#173b58;margin-bottom:5px}
.travel-advice-grid p{font-size:10px;line-height:1.55;color:#60788c;margin:0}
@media(max-width:900px){.travel-advice-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.travel-advice-grid{grid-template-columns:1fr}.home-long-section{padding:12px}}


/* Homepage grouped roadworks typography */
#results details > summary{
  font-size:12px;
  font-weight:700;
  line-height:1.35;
  color:#29465f;
  cursor:pointer;
}
#results details .affected-section{
  font-size:12px;
}
#results details .affected-section h3{
  font-size:15px;
  line-height:1.3;
}
#results details .affected-section p{
  font-size:12px;
  line-height:1.45;
}
#results details .affected-section .meta{
  font-size:10px;
}


/* Homepage latest-updates card demarcation */
.home-incidents-card{
  background:#f8fbfd;
  border-color:#cfdce6;
}
.home-results{
  gap:10px;
}
.home-results .card{
  background:#fff;
  border:1px solid #d6e1e9;
  border-left:5px solid #e0a51f;
  box-shadow:0 3px 10px #0a294214;
  padding:13px 14px;
}
.home-results .card:nth-child(even){
  background:#fbfdff;
}
.home-results .card:hover{
  border-color:#b9cbd9;
  box-shadow:0 5px 14px #0a29421c;
}
.home-results .card h3{
  font-size:14px;
  color:#17344e;
}
.home-results .card p{
  color:#556d80;
}
.home-results .card-top{
  padding-bottom:6px;
  border-bottom:1px solid #edf1f4;
  margin-bottom:6px;
}

/* Popular motorways: keep status styling neutral/blue rather than green. */
.home-route-status-grid .route-state.good{
  color:#0d6ce5;
}


/* Homepage priority content: stronger "What needs your attention" treatment */
.home-long-section:has(#home-major-disruption){
  background:#f7fafc;
  border-color:#cfdbe5;
  padding:18px;
}
.home-long-section:has(#home-major-disruption) .home-section-title{
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:2px solid #dfe8ef;
}
.home-long-section:has(#home-major-disruption) .home-section-title h2{
  font-size:25px;
  line-height:1.15;
  color:#102f49;
}
.home-long-section:has(#home-major-disruption) .junction-panel-kicker{
  font-size:11px;
  letter-spacing:.1em;
}
.home-major-disruption{
  gap:12px;
}
.home-disruption-card{
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:13px;
  padding:15px 16px;
  border:1px solid #d8e2e9;
  border-left-width:6px;
  border-radius:10px;
  background:#fffdf8;
  box-shadow:0 3px 10px #0a294214;
}
.home-disruption-card.severe{
  background:#fff7f7;
}
.home-disruption-icon{
  width:38px;
  height:38px;
  font-size:17px;
  border-radius:9px;
}
.home-disruption-level{
  font-size:10px;
  padding:4px 7px;
  margin-bottom:6px;
}
.home-disruption-card strong{
  font-size:16px;
  line-height:1.35;
  color:#102f49;
}
.home-disruption-card p{
  font-size:12px;
  line-height:1.5;
  margin-top:5px;
  color:#526b7e;
}
.home-disruption-card>b{
  align-self:center;
  font-size:12px;
  padding:7px 10px;
}
@media(max-width:700px){
  .home-disruption-card{
    grid-template-columns:38px minmax(0,1fr);
  }
  .home-disruption-card>b{
    grid-column:2;
    justify-self:start;
  }
  .home-long-section:has(#home-major-disruption) .home-section-title h2{
    font-size:22px;
  }
}


/* Site-wide card demarcation: reduce large areas of undifferentiated white */
.hub-section-page .section-shell{
  background:transparent;
}
.hub-section-page .section-live-strip article{
  border-color:#cfdae3;
  box-shadow:0 3px 10px #0a294212;
}
.hub-section-page .section-live-strip article:nth-child(1){background:#fff8f8}
.hub-section-page .section-live-strip article:nth-child(2){background:#fffaf1}
.hub-section-page .section-live-strip article:nth-child(3){background:#f5f9ff}
.hub-section-page .section-live-strip article:nth-child(4){background:#f2faf5}

.hub-section-page .section-card-grid{
  gap:12px;
  margin:12px 0;
}
.hub-section-page .section-card{
  position:relative;
  overflow:hidden;
  background:#f8fbfd;
  border:1px solid #cfdce6;
  box-shadow:0 3px 10px #0a294212;
}
.hub-section-page .section-card:nth-child(2){background:#f5f9ff}
.hub-section-page .section-card:nth-child(3){background:#fffaf2}
.hub-section-page .section-card:after{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;
  width:4px;
  background:#0d6ce5;
}
.hub-section-page .section-card:nth-child(2):after{background:#2a9b63}
.hub-section-page .section-card:nth-child(3):after{background:#e6a51f}
.hub-section-page .section-card:hover{
  border-color:#a9c3d6;
  box-shadow:0 5px 14px #0a29421a;
}

.section-content-grid{
  margin-top:12px;
}
.section-live-panel{
  background:#f8fbfd;
  border-color:#cfdce6;
}
.section-side-panel{
  background:#f4f8fc;
  border-color:#cfdce6;
}
.section-bottom-panel{
  background:#f7fafc;
  border-color:#cfdce6;
}
.section-live-panel .home-panel-head,
.section-side-panel .home-panel-head,
.section-bottom-panel .home-panel-head{
  border-bottom:2px solid #dce6ee;
  padding-bottom:10px;
}
.section-live-row{
  box-shadow:0 2px 7px #0a294210;
}
.section-side-links a,
.section-bottom-links a{
  background:#fff;
  border-color:#d4e0e8;
  box-shadow:0 2px 6px #0a29420b;
}
.section-side-links a:nth-child(even),
.section-bottom-links a:nth-child(even){
  background:#f8fbfd;
}

.travel-advice-guide{
  background:#edf4f9;
  border-color:#cbd9e4;
}
.travel-advice-grid article{
  box-shadow:0 2px 8px #0a29420e;
}

/* M6 / junction / service information cards */
.m6-info-card,
.junction-info-card,
.service-peer{
  background:#f8fbfd;
  border-color:#cfdce6;
}
.m6-bottom-grid .m6-info-card:nth-child(2),
.junction-info-row .junction-info-card:nth-child(2){
  background:#f5f9ff;
}
.m6-bottom-grid .m6-info-card:nth-child(3),
.junction-info-row .junction-info-card:nth-child(3){
  background:#fffaf2;
}
.m6-stack-card,
.junction-live-panel,
.junction-map-panel{
  border-color:#cfdce6;
  box-shadow:0 3px 10px #0a294212;
}

/* Generic service cards where present */
.service-card,
.m6-service-card{
  background:#f8fbfd;
  border-color:#cfdce6;
  box-shadow:0 3px 10px #0a294212;
}
.service-card:nth-child(even),
.m6-service-card:nth-child(even){
  background:#f5f9ff;
}

/* Homepage utility / feature cards get light separation too */
.home-feature-card,
.home-tools-grid>a{
  border-color:#d2dfe8;
}
.home-feature-card:nth-child(2),
.home-tools-grid>a:nth-child(even){
  background:#f7fbff;
}


/* Oct 10 UX refinements */
.home-summary-strip-photo small{font-size:12px}
.home-summary-strip-photo span{font-size:11px;line-height:1.35}
.home-results .card h3{font-size:15px;line-height:1.35}
.home-results .card p{font-size:12px;line-height:1.5}
.home-results .card-top .tag{font-size:10px}
.home-results .delay{font-size:10px}
.home-results .card button{font-size:11px}
.home-notice[hidden]{display:none}

/* Keep map pointer as an arrow; map controls remain clickable. */
#map .maplibregl-canvas{cursor:default!important}

/* Rich live-map popouts */
.tc-map-popup-rich{min-width:300px;max-width:370px}
.tc-map-popup-head{padding-bottom:10px;border-bottom:1px solid #e3eaf0;margin-bottom:10px}
.tc-map-popup-head strong{font-size:15px;line-height:1.4;margin:6px 0 0}
.tc-map-popup-badge{display:inline-flex;background:#eef5ff;color:#0d5ea9;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:900}
.tc-map-popup-details{font-size:12px!important;line-height:1.5!important;color:#425d73!important;margin:0 0 10px!important}
.tc-map-popup-grid{display:grid;border:1px solid #e0e8ee;border-radius:8px;overflow:hidden}
.tc-map-popup-grid>div{display:grid;grid-template-columns:82px 1fr;gap:10px;padding:7px 9px;border-bottom:1px solid #edf1f4;background:#fff}
.tc-map-popup-grid>div:last-child{border-bottom:0}
.tc-map-popup-grid span{font-size:10px;color:#718597}
.tc-map-popup-grid b{font-size:11px;color:#173b58;font-weight:800}
.tc-map-cluster-popup{min-width:300px}
.tc-map-cluster-popup>strong{display:block;font-size:14px;margin-bottom:8px}
.tc-map-cluster-item{display:grid;width:100%;text-align:left;background:#fff!important;color:#173b58!important;border:1px solid #e0e8ee!important;border-radius:7px!important;padding:9px!important;margin-top:6px!important}
.tc-map-cluster-item span{font-size:9px;color:#718597;text-transform:uppercase;font-weight:900}
.tc-map-cluster-item b{font-size:12px;line-height:1.35;margin:2px 0}
.tc-map-cluster-item small{font-size:10px;color:#5f7588}
.tc-map-cluster-item:hover{background:#f6faff!important}

/* Homepage priority content */
.home-long-section:has(#home-major-disruption) .home-section-title h2{font-size:26px}
.home-disruption-card strong{font-size:16px}
.home-disruption-card p{font-size:12px}

/* M6 section-link cards: make each row one coherent clickable unit */
.travel-list,.connecting-list{display:grid;gap:8px}
.travel-list>a,.connecting-list>a{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  text-decoration:none;
  color:#173b58;
  border:1px solid #d7e2ea;
  border-radius:8px;
  padding:10px;
  background:#fff;
}
.travel-list>a:hover,.connecting-list>a:hover{background:#f5f9fd;border-color:#a9c6dd}
.travel-list>a>b,.connecting-list>a>b{
  background:#0d6ce5;color:#fff;border-radius:6px;padding:6px 8px;font-size:11px
}
.travel-list>a>span,.connecting-list>a>span{font-size:12px;color:#4f687d}
.travel-list>a>em,.connecting-list>a>em{font-style:normal;font-size:11px;color:#0d6ce5;font-weight:800}
.m6-bottom-grid .approved-head{border-bottom:1px solid #e5ebf0;padding-bottom:8px}

/* Junction pages should prioritise live records over an oversized map. */
body.junction-page-v4{zoom:1!important}
.junction-dashboard-v4{grid-template-columns:.78fr 1.22fr}
.junction-map-wrap-v4{height:360px}
.junction-live-list-v4{max-height:360px}
.junction-event-copy>strong{font-size:14px}
.junction-event-copy p{font-size:12px}
.junction-event-reason{font-size:12px}
.junction-bottom-v4 article{background:#f8fbfd;border-color:#cfdce6}
@media(max-width:1050px){
  .junction-dashboard-v4{grid-template-columns:1fr 1fr}
  .junction-map-wrap-v4{height:330px}
  .junction-live-list-v4{max-height:330px}
}
@media(max-width:800px){
  .junction-dashboard-v4{grid-template-columns:1fr}
  .junction-map-wrap-v4{height:300px}
  .junction-live-list-v4{max-height:420px}
}

/* Shared hub live content should not use tiny text. */
.section-live-row strong{font-size:14px}
.section-live-row p{font-size:11px}
.section-live-row small,.section-live-row>b{font-size:10px}


/* Shared hub KPI strip variants */
.section-live-strip.three-up{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.section-live-strip.three-up{grid-template-columns:1fr}}


/* Clickable live M6 incident / roadworks cards */
.route-row-link{text-decoration:none;color:inherit;cursor:pointer}
.route-row-link:hover{border-color:#9fc3df!important;box-shadow:0 4px 12px #0a294218!important;transform:translateY(-1px)}
.approved-head h2 span{display:inline-flex;margin-left:5px;padding:3px 7px;border-radius:999px;background:#eef4fb;color:#4b667c;font-size:10px!important;font-weight:800!important;vertical-align:middle}


/* Cleaner M6 live incident cards */
.approved-list .route-row{
  grid-template-columns:32px minmax(0,1fr) auto;
  gap:11px;
  align-items:start;
  padding:12px 13px;
  min-height:auto;
}
.approved-list .route-row-title{
  display:block;
  font-size:14px;
  line-height:1.35;
  color:#17344e;
  margin:1px 0 4px;
}
.approved-list .route-row-body p{
  margin:0 0 5px;
  font-size:11px;
  line-height:1.4;
  color:#5a7184;
}
.approved-list .route-row-body small{
  font-size:9px;
  color:#8393a1;
}
.route-row-side{
  display:flex;
  align-items:flex-end;
  flex-direction:column;
  gap:5px;
  min-width:105px;
}
.route-row-side span{
  font-size:10px;
  color:#4f687d;
  background:#eef4fb;
  border-radius:999px;
  padding:4px 7px;
  white-space:nowrap;
}
.route-row-side b{
  font-size:10px;
  color:#0d6ce5;
  white-space:nowrap;
}
.route-row-link:hover .route-row-side b{text-decoration:underline}
@media(max-width:700px){
  .approved-list .route-row{grid-template-columns:30px minmax(0,1fr)}
  .route-row-side{grid-column:2;align-items:flex-start;flex-direction:row;flex-wrap:wrap;min-width:0}
}


/* Make junction CTA read as a compact button */
.route-row-side b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 9px;
  border:1px solid #9fc3ed;
  border-radius:999px;
  background:#fff;
  color:#0d6ce5;
  font-size:10px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  box-shadow:0 1px 3px #0a29420b;
}
.route-row-link:hover .route-row-side b{
  background:#eef6ff;
  border-color:#6ea8e8;
  text-decoration:none;
}


/* Rebuild M6 supporting cards as a cleaner, balanced section */
.m6-bottom-grid{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:14px;
  margin-top:14px;
  align-items:stretch;
}
.m6-bottom-grid .m6-info-card{
  padding:16px;
  background:#fff!important;
  border:1px solid #cfdae3;
  border-radius:12px;
  box-shadow:0 3px 12px #0a294212;
  min-width:0;
}
.m6-bottom-grid .approved-head{
  margin:0 0 12px;
  padding:0 0 10px;
  border-bottom:2px solid #e4ebf1;
}
.m6-bottom-grid .approved-head h2,
.m6-bottom-grid .about-card h2{
  font-size:18px;
  line-height:1.2;
  color:#15344e;
  margin:0;
}
.m6-bottom-grid .travel-list,
.m6-bottom-grid .connecting-list{
  display:grid;
  gap:7px;
}
.m6-bottom-grid .travel-list>a,
.m6-bottom-grid .connecting-list>a{
  min-height:54px;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:10px;
  row-gap:2px;
  padding:10px 11px;
  background:#f8fbfd;
  border:1px solid #dbe5ec;
  border-radius:9px;
  box-shadow:none;
}
.m6-bottom-grid .travel-list>a>b,
.m6-bottom-grid .connecting-list>a>b{
  grid-row:1/3;
  align-self:center;
  min-width:54px;
  text-align:center;
  padding:7px 8px;
  border-radius:7px;
  background:#0d6ce5;
  color:#fff;
  font-size:11px;
}
.m6-bottom-grid .travel-list>a>span,
.m6-bottom-grid .connecting-list>a>span{
  grid-column:2;
  font-size:12px;
  font-weight:800;
  color:#173b58;
}
.m6-bottom-grid .travel-list>a>em,
.m6-bottom-grid .connecting-list>a>em{
  grid-column:2;
  font-size:10px;
  font-style:normal;
  font-weight:700;
  color:#5f7890;
}
.m6-bottom-grid .travel-list>a:hover,
.m6-bottom-grid .connecting-list>a:hover{
  background:#eef6ff;
  border-color:#9fc3e4;
  transform:translateY(-1px);
}
.m6-bottom-grid .about-card{
  display:flex;
  flex-direction:column;
}
.m6-bottom-grid .about-card p{
  font-size:12px;
  line-height:1.55;
  color:#516a80;
  margin:10px 0 0;
}
.m6-bottom-grid .facts-row{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
  margin-top:auto;
  padding-top:12px;
}
.m6-bottom-grid .facts-row span{
  display:block;
  min-width:0;
  padding:9px 10px;
  background:#f8fbfd;
  border:1px solid #dbe5ec;
  border-radius:8px;
  font-size:10px;
  color:#62798d;
}
.m6-bottom-grid .facts-row b{
  display:inline;
  margin-right:5px;
  font-size:12px;
  color:#153b61;
}
@media(max-width:1000px){
  .m6-bottom-grid{grid-template-columns:1fr 1fr}
  .m6-bottom-grid .about-card{grid-column:1/-1}
  .m6-bottom-grid .facts-row{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:650px){
  .m6-bottom-grid{grid-template-columns:1fr}
  .m6-bottom-grid .about-card{grid-column:auto}
  .m6-bottom-grid .facts-row{grid-template-columns:1fr}
}


/* M6 event-map legend */
.map-event-legend{gap:18px;align-items:flex-start}
.map-event-legend>div{display:grid;grid-template-columns:auto auto;gap:7px 14px;align-items:center}
.map-event-legend strong{grid-column:1/-1;font-size:12px;color:#17344e}
.map-event-legend span{display:flex;align-items:center;gap:7px;font-size:11px;color:#526b7e;white-space:nowrap}
.legend-dot{width:11px;height:11px;border-radius:50%;display:inline-block;border:2px solid #fff;box-shadow:0 0 0 1px #b7c6d2}
.legend-incident{background:#d93b3b}
.legend-congestion{background:#f28c18}
.legend-roadworks{background:#e6a51f}
.legend-closure{background:#c62828}


/* Two identical groups make a continuous ticker without an empty gap. */
.tc-ticker-track{display:flex;width:max-content;gap:0;animation:tcTicker var(--tc-ticker-duration,42s) linear infinite}
.tc-ticker-group{display:flex;flex:0 0 auto;align-items:center;gap:34px;width:max-content;padding-right:34px}
.tc-ticker-item{flex:0 0 auto;max-width:none;white-space:nowrap}
.tc-ticker-item i{flex:0 0 auto}
@media(prefers-reduced-motion:reduce){
  .tc-ticker-track{animation:none}
  .tc-ticker-group[aria-hidden]{display:none}
  .tc-ticker-window{overflow-x:auto}
}

/* Mobile containment fixes */
.route-map-wrap,
.junction-map-wrap-v4,
.home-map-wrap{
  position:relative;
}
.junction-map-wrap-v4 #map,
.route-map-wrap #map,
.home-map-wrap #map{
  position:absolute;
  inset:0;
}
@media(max-width:900px){
  .route-page-v2 .tc-search-mini{
    display:none!important;
  }
  .tc-nav{
    min-height:66px;
    height:auto;
  }
}
@media(max-width:600px){
  .junction-map-wrap-v4{height:260px}
  .junction-map-legend-v4{
    flex-wrap:wrap;
    gap:8px 12px;
  }
}


/* Compact map popups and touch-friendly markers */
#map .maplibregl-popup{
  max-width:calc(100% - 28px)!important;
}
#map .maplibregl-popup-content{
  width:auto;
  max-width:270px!important;
  min-width:0!important;
  padding:10px 30px 10px 10px;
  border-radius:10px;
  overflow:hidden;
}
#map .tc-map-popup,
#map .tc-map-popup-rich{
  width:auto;
  min-width:0!important;
  max-width:240px!important;
}
#map .tc-map-popup-head{
  padding-bottom:7px;
  margin-bottom:7px;
}
#map .tc-map-popup-head strong{
  font-size:13px;
  line-height:1.3;
  margin-top:5px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
#map .tc-map-popup-badge{
  padding:3px 6px;
  font-size:9px;
}
#map .tc-map-popup-reason{
  display:block;
  border-radius:6px;
  padding:5px 6px;
  font-size:10px;
  line-height:1.3;
  margin-bottom:7px;
  white-space:normal;
}
#map .tc-map-popup-details{
  font-size:10px!important;
  line-height:1.35!important;
  margin:0 0 7px!important;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
#map .tc-map-popup-grid{
  grid-template-columns:1fr 1fr;
  gap:0;
  border-radius:7px;
}
#map .tc-map-popup-grid>div{
  display:block;
  padding:6px 7px;
  border-bottom:1px solid #edf1f4;
  border-right:1px solid #edf1f4;
}
#map .tc-map-popup-grid>div:nth-child(even){border-right:0}
#map .tc-map-popup-grid>div:nth-last-child(-n+2){border-bottom:0}
#map .tc-map-popup-grid span{
  display:block;
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
#map .tc-map-popup-grid b{
  display:block;
  font-size:10px;
  margin-top:2px;
}
#map .maplibregl-popup-close-button{
  width:28px;
  height:28px;
  line-height:26px;
  font-size:20px;
  background:#fff;
  color:#28445c;
}
#map .maplibregl-popup-tip{filter:drop-shadow(0 2px 2px #10283e18)}
#map .maplibregl-canvas-container.maplibregl-interactive{cursor:default}
#map .maplibregl-canvas-container.maplibregl-interactive:has(.maplibregl-marker){cursor:pointer}
@media(max-width:600px){
  #map .maplibregl-popup{max-width:calc(100% - 20px)!important}
  #map .maplibregl-popup-content{
    max-width:230px!important;
    padding:9px 28px 9px 9px;
  }
  #map .tc-map-popup,
  #map .tc-map-popup-rich{max-width:200px!important}
  #map .tc-map-popup-head strong{font-size:12px}
  #map .tc-map-popup-grid{grid-template-columns:1fr 1fr}
}


/* Mobile hamburger navigation */
.tc-menu-toggle{
  display:none;
  width:44px;
  height:44px;
  border:0;
  border-radius:9px;
  background:#f3f7fa;
  padding:10px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  margin-left:auto;
}
.tc-menu-toggle span{
  display:block;
  width:22px;
  height:2px;
  border-radius:999px;
  background:#15314b;
  transition:transform .18s ease,opacity .18s ease;
}
.tc-nav.menu-open .tc-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.tc-nav.menu-open .tc-menu-toggle span:nth-child(2){opacity:0}
.tc-nav.menu-open .tc-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:900px){
  .tc-menu-toggle{display:flex;position:relative;z-index:1002}
  .tc-nav{position:relative;z-index:1000;padding-left:16px;padding-right:16px}
  .tc-nav-links{
    display:none!important;
    position:absolute;
    top:100%;
    left:12px;
    right:12px;
    z-index:1001;
    background:#fff;
    border:1px solid #d7e2ea;
    border-radius:0 0 12px 12px;
    box-shadow:0 12px 28px #10283e24;
    padding:8px;
  }
  .tc-nav.menu-open .tc-nav-links{display:grid!important}
  .tc-nav-links a{
    display:block;
    padding:12px 13px;
    border-radius:8px;
    font-size:14px;
  }
  .tc-nav-links a:hover,
  .tc-nav-links a.active{background:#eef5fb}
  .tc-nav-actions{display:none!important}
}

/* Keep attribution legal but visually compact */
#map .maplibregl-ctrl-attrib{
  background:rgba(255,255,255,.92);
  font-size:10px;
}
#map .maplibregl-ctrl-attrib.maplibregl-compact{
  min-height:28px;
}
#map .maplibregl-ctrl-attrib.maplibregl-compact:not(.maplibregl-compact-show){
  background:#fff;
  border-radius:50%;
  width:30px;
  height:30px;
  padding:0;
}


/* Oct 24 mobile redesign — align density with RoadworksCheck */
@media(max-width:900px){
  body{background:#eef3f7}
  .tc-nav{
    min-height:74px!important;
    background:#0f1d33!important;
    border-bottom:1px solid #34445d!important;
    box-shadow:none!important;
  }
  .tc-brand{
    color:#fff!important;
    font-size:27px!important;
    line-height:1!important;
  }
  .tc-brand span{color:#f0b82f!important}
  .tc-menu-toggle{
    background:transparent!important;
    width:42px;height:42px;border-radius:8px;
  }
  .tc-menu-toggle span{background:#fff!important;width:24px;height:3px}
  .tc-nav-links{
    left:0!important;right:0!important;
    top:100%!important;
    border-radius:0!important;
    border:0!important;
    border-top:1px solid #34445d!important;
    background:#132541!important;
    padding:8px 12px 12px!important;
    box-shadow:0 12px 24px #07101f55!important;
  }
  .tc-nav-links a{
    color:#fff!important;
    font-weight:700;
    padding:13px 12px!important;
  }
  .tc-nav-links a.active,.tc-nav-links a:hover{background:#203758!important}

  .tc-ticker{min-height:38px!important;padding:0 14px!important}
  .tc-ticker>strong{font-size:11px!important}
  .tc-ticker-window{display:block!important}
  .tc-ticker>a{margin-left:auto!important;font-size:10px!important}

  .home-hero-photo{min-height:auto!important}
  .home-hero-photo-inner{padding:28px 16px 26px!important}
  .home-hero-copy{max-width:none!important}
  .home-hero-copy h1{
    font-size:38px!important;
    line-height:1.02!important;
    letter-spacing:-1.2px!important;
    margin:0 0 12px!important;
  }
  .home-hero-copy p{
    font-size:16px!important;
    line-height:1.45!important;
    margin:0 0 18px!important;
  }
  .home-search-photo{
    display:grid!important;
    grid-template-columns:1fr auto!important;
    gap:10px!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    max-width:none!important;
  }
  .home-search-icon{display:none!important}
  .home-search-field{min-width:0}
  .home-search-photo input{
    width:100%!important;
    height:54px!important;
    padding:0 16px!important;
    border:1px solid #d5dee8!important;
    border-radius:12px!important;
    background:#fff!important;
    font-size:16px!important;
  }
  .home-search-photo>button{
    width:auto!important;
    min-width:104px!important;
    height:54px!important;
    padding:0 20px!important;
    border-radius:12px!important;
    background:#efbd3b!important;
    color:#13233b!important;
    font-size:16px!important;
    font-weight:900!important;
  }
  .search-suggestions{
    top:60px!important;
    left:0!important;
    right:0!important;
    border-radius:10px!important;
    padding:6px!important;
    background:#fff!important;
    border:1px solid #d8e1e9!important;
    box-shadow:0 10px 28px #0b1f331f!important;
    z-index:30!important;
  }
  .search-suggestions button{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    width:100%!important;
    min-height:44px!important;
    padding:9px 11px!important;
    margin:0!important;
    border:0!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#17324b!important;
    box-shadow:none!important;
    text-align:left!important;
  }
  .search-suggestions button+button{border-top:1px solid #edf1f4!important}
  .search-suggestions button strong{font-size:14px!important}
  .search-suggestions button span{font-size:11px!important;color:#718396!important;font-weight:600!important}

  .home-route-chips-photo{
    gap:8px!important;
    padding-top:16px!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none;
  }
  .home-route-chips-photo::-webkit-scrollbar{display:none}
  .home-route-chips-photo>span{display:none!important}
  .route-chip{
    flex:0 0 auto!important;
    min-width:62px!important;
    padding:10px 14px!important;
    border-radius:10px!important;
    font-size:14px!important;
  }

  .home-shell-photo,.section-shell,.m6-shell,.junction-shell-v4{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .home-network-head{margin-top:14px!important;margin-bottom:8px!important}
  .home-network-head h2{font-size:24px!important}
  .home-summary-strip-photo{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
  }
  .home-summary-strip-photo article{
    min-height:96px!important;
    padding:13px!important;
    border-radius:12px!important;
    display:grid!important;
    grid-template-columns:38px 1fr!important;
    gap:10px!important;
    align-items:center!important;
  }
  .home-summary-strip-photo .summary-icon{
    width:38px!important;height:38px!important;font-size:18px!important;
  }
  .home-summary-strip-photo strong{font-size:24px!important}
  .home-summary-strip-photo small{font-size:12px!important;font-weight:800!important}
  .home-summary-strip-photo span{font-size:10px!important}
  .home-notice{
    padding:12px 14px!important;
    border-radius:10px!important;
    font-size:13px!important;
    margin:10px 0 14px!important;
  }

  .home-map-led-photo{grid-template-columns:1fr!important;gap:12px!important}
  .home-map-card,.home-incidents-card{
    border-radius:12px!important;
    padding:12px!important;
    box-shadow:0 2px 8px #10283e12!important;
  }
  .home-panel-head h2{font-size:21px!important}
  .home-map-wrap{height:320px!important;border-radius:10px!important;overflow:hidden!important}

  .section-hero{
    border-radius:0!important;
    margin:0 -14px 14px!important;
    padding:26px 20px!important;
  }
  .section-hero h1{font-size:38px!important;line-height:1.05!important;letter-spacing:-1px!important}
  .section-hero p{font-size:15px!important;line-height:1.5!important}
  .section-live-strip{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
  }
  .section-live-strip article{
    min-height:96px!important;
    padding:13px!important;
    border-radius:12px!important;
  }
  .section-live-strip article>div:first-child,
  .section-live-strip .summary-icon{
    width:38px!important;height:38px!important;font-size:18px!important;
  }
  .section-live-strip strong{font-size:24px!important}
  .section-live-strip small{font-size:12px!important}
  .section-live-strip span{font-size:10px!important}
  .section-content-grid{grid-template-columns:1fr!important}
  .section-card-grid{grid-template-columns:1fr!important}
  .section-card{padding:14px!important;border-radius:11px!important}
  .section-card strong{font-size:16px!important}
  .section-card span{font-size:11px!important;margin:4px 0 10px!important}

  .m6-hero-inner{padding:22px 16px!important}
  .m6-title-line h1{font-size:38px!important}
  .m6-subtitle{font-size:14px!important}
  .m6-hero-facts{gap:6px!important}
  .m6-hero-facts span{font-size:10px!important;padding:6px 8px!important}
  .m6-summary-strip{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
  }
  .m6-summary-strip article{
    min-height:96px!important;
    padding:12px!important;
    border-radius:12px!important;
  }
  .m6-summary-strip article:last-child{grid-column:1/-1}
  .direction-tabs.direction-wide{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:8px!important;
  }
  .direction-tabs.direction-wide button{
    padding:11px!important;
    border-radius:10px!important;
    font-size:15px!important;
  }
  .route-map-wrap.approved-map{height:320px!important}

  .junction-kpis-v4{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
  }
  .junction-kpis-v4 article{
    min-height:96px!important;
    padding:12px!important;
    border-radius:12px!important;
  }
}

@media(max-width:520px){
  .home-summary-strip-photo,
  .section-live-strip,
  .m6-summary-strip,
  .junction-kpis-v4{grid-template-columns:1fr 1fr!important}
  .section-live-strip.three-up{grid-template-columns:1fr 1fr!important}
  .section-live-strip.three-up article:last-child{grid-column:1/-1}
}


/* Reliable glyph hamburger */
@media(max-width:900px){
  .tc-menu-toggle{
    display:grid!important;
    place-items:center!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    padding:0!important;
    background:transparent!important;
    color:#fff!important;
    border:0!important;
    border-radius:8px!important;
    font-size:31px!important;
    line-height:1!important;
    font-weight:400!important;
    appearance:none!important;
    -webkit-appearance:none!important;
  }
  .tc-menu-toggle span{display:none!important}
}


/* Fix excessive mobile menu padding */
@media(max-width:900px){
  .tc-nav.menu-open .tc-nav-links{
    display:flex!important;
    flex-direction:column!important;
    gap:4px!important;
    padding:8px 12px 10px!important;
    max-height:none!important;
    min-height:0!important;
    height:auto!important;
  }
  .tc-nav.menu-open .tc-nav-links a{
    display:flex!important;
    align-items:center!important;
    min-height:44px!important;
    height:auto!important;
    margin:0!important;
    padding:10px 12px!important;
    line-height:1.2!important;
  }
}


/* Mobile menu should be a compact dropdown, not a full-width takeover */
@media(max-width:900px){
  .tc-nav-links{
    left:auto!important;
    right:12px!important;
    width:min(260px,calc(100vw - 24px))!important;
    top:calc(100% - 4px)!important;
    border:1px solid #34445d!important;
    border-radius:10px!important;
    padding:6px!important;
    background:#132541!important;
    box-shadow:0 12px 28px #07101f55!important;
  }
  .tc-nav.menu-open .tc-nav-links{
    display:flex!important;
    flex-direction:column!important;
    gap:2px!important;
  }
  .tc-nav.menu-open .tc-nav-links a{
    min-height:40px!important;
    padding:9px 10px!important;
    border-radius:7px!important;
    font-size:14px!important;
  }
}


/* Match RoadworksCheck-style compact mobile dropdown */
@media(max-width:900px){
  .tc-nav-links{
    width:245px!important;
    max-width:calc(100vw - 32px)!important;
    right:14px!important;
    left:auto!important;
    top:calc(100% - 2px)!important;
    padding:10px!important;
    gap:2px!important;
    border-radius:0 0 18px 18px!important;
    border:1px solid #31425e!important;
    background:#1a2c49!important;
    box-shadow:0 12px 28px #07101f42!important;
  }
  .tc-nav.menu-open .tc-nav-links{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
  }
  .tc-nav.menu-open .tc-nav-links a{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    min-height:42px!important;
    padding:10px 14px!important;
    margin:0!important;
    border-radius:8px!important;
    color:#f4f7fb!important;
    background:transparent!important;
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:700!important;
    text-align:left!important;
    box-shadow:none!important;
    border:0!important;
  }
  .tc-nav.menu-open .tc-nav-links a.active{
    background:#243a5c!important;
    box-shadow:inset 0 -3px 0 #2d77ef!important;
  }
  .tc-nav.menu-open .tc-nav-links a:hover{
    background:#243a5c!important;
  }
}

/* Unified compact traffic interface */
body.route-page{background:#f4f6f8!important;color:#172a40}
body.route-page h2{letter-spacing:-.025em;line-height:1.2}
body.route-page :is(.home-long-section,.home-map-card,.home-incidents-card,.section-panel,.m6-stack-card,.m6-info-card,.m6-feature-card,.service-info-card,.junction-feed-v4){border-radius:8px!important;box-shadow:none!important;background:#fff!important;border:1px solid #dce2e8!important;padding:18px!important}
body.route-page :is(.home-section-title,.home-panel-head,.panel-head){gap:12px;align-items:center}
body.route-page :is(.home-section-title,.home-panel-head) h2{font-size:24px!important}
body.route-page :is(.home-section-title,.home-panel-head)>a{background:transparent!important;padding:0!important;font-size:13px!important;white-space:nowrap}
body.route-page :is(.home-utility-strip,.home-tools-grid){gap:10px}
body.route-page :is(.home-utility-strip,.home-tools-grid)>a{background:#fff!important;border:1px solid #dce2e8!important;border-radius:7px!important;box-shadow:none!important;padding:16px!important;min-height:0!important}
body.route-page :is(.utility-icon,.home-tools-grid>a>span,.section-card-icon,.feature-icon){display:none!important}
body.route-page :is(.home-road-shield,.m6-service-logo){width:44px!important;height:44px!important;border-radius:5px!important;box-shadow:none!important;font-size:18px!important}
body.route-page .home-route-status-grid>a{padding:14px!important;gap:12px!important}
body.route-page .home-route-status-grid strong{font-size:17px!important}
body.route-page .home-route-status-grid em{font-size:12px!important}
body.route-page .empty{padding:20px!important;border-radius:5px!important;font-size:14px!important}
body.route-page .filters button{border-radius:5px!important;padding:9px 12px!important;font-size:13px!important}
body.route-page :is(.section-card,.card,.section-live-row){border-radius:6px!important;box-shadow:none!important}
.tc-global-search{background:#fff;border-bottom:1px solid #dce2e8;padding:14px max(16px,calc((100vw - 1200px)/2))}
.tc-global-search form{padding:0;border:0;box-shadow:none;background:none;max-width:600px}
.tc-global-search label{font-size:12px;color:#526577;margin-bottom:6px}
.tc-global-search form>div:not(.tc-global-suggestions){display:flex;gap:8px}
.tc-global-search input{height:44px;padding:10px 12px;background:#fff;border:1px solid #aab9c7;border-radius:5px;font-size:16px}
.tc-global-search form>div:not(.tc-global-suggestions)>button{height:44px;padding:0 20px;background:#173b5b;border-radius:5px}
@media(max-width:650px){
body.route-page .home-long-section{margin-top:20px!important}
body.route-page .home-section-title{flex-wrap:wrap}
body.route-page .home-section-title h2{font-size:23px!important}
body.route-page :is(.home-panel-head,.home-section-title){padding-bottom:12px!important;margin-bottom:12px!important}
body.route-page .home-utility-strip{gap:8px!important}
body.route-page .home-utility-strip>a strong{font-size:16px!important}
body.route-page .home-utility-strip>a p{font-size:13px!important;line-height:1.4!important}
body.route-page .home-road-shield{min-width:44px!important}
body.route-page .home-summary-strip-photo article{border-radius:6px!important;box-shadow:none!important}
body.route-page .home-summary-strip-photo .summary-icon{display:none!important}
body.route-page .home-summary-strip-photo article{grid-template-columns:1fr!important;min-height:82px!important}
}

/* Shared search uses the homepage treatment on every inner page. */
.tc-global-search{background:#101e33!important;padding:20px max(16px,calc((100vw - 1200px)/2))!important;border-bottom:1px solid #2c405b!important}
.tc-global-search form{max-width:680px!important}
.tc-global-search label{color:#e2e9f2!important;font-size:13px!important;font-weight:600!important;margin-bottom:9px!important}
.tc-global-search form>div:not(.tc-global-suggestions){display:grid!important;grid-template-columns:1fr auto!important;gap:10px!important}
.tc-global-search input{height:54px!important;padding:0 16px!important;border:1px solid #d5dee8!important;border-radius:12px!important;background:#fff!important;color:#17324b!important;font-size:16px!important}
.tc-global-search form>div:not(.tc-global-suggestions)>button{height:54px!important;min-width:104px!important;padding:0 20px!important;border:0!important;border-radius:12px!important;background:#efbd3b!important;color:#13233b!important;font-size:16px!important;font-weight:900!important}
.tc-global-search form>div:not(.tc-global-suggestions)>button:hover{background:#ffd15a!important}
@media(min-width:901px){.tc-global-search{padding-top:22px!important;padding-bottom:22px!important}}

body.route-page .section-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;padding:18px!important;min-height:140px!important;background:#fff!important}
body.route-page .section-card strong{display:block!important;font-size:17px!important;line-height:1.3!important}
body.route-page .section-card>span:not(.section-card-icon){display:block!important;font-size:14px!important;line-height:1.5!important;margin:0!important}
body.route-page .section-card>b{position:static!important;margin-top:auto!important;font-size:13px!important}
body.route-page .section-live-strip small{font-size:13px!important}
body.route-page .section-live-strip span{font-size:12px!important}
body.route-page .section-live-list{min-height:0!important}

.tc-global-search form{position:relative}
.tc-global-suggestions{position:absolute;top:100%;left:0;right:0;z-index:1100;background:#fff;border:1px solid #cbd7e0;border-radius:8px;margin-top:6px;box-shadow:0 10px 24px #08182c30;padding:5px}
.tc-global-suggestions[hidden]{display:none!important}
.tc-global-suggestions button{display:flex!important;align-items:center;justify-content:space-between;gap:12px;width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;background:#fff!important;color:#19354d!important;text-align:left;padding:10px 12px!important;border-radius:4px!important}
.tc-global-suggestions button:hover,.tc-global-suggestions button:focus{background:#edf4fa!important}
.tc-global-suggestions span{font-size:12px;color:#617487;font-weight:400}
@media(max-width:650px){body.route-page .section-hero h1,body.route-page .m6-title-line h1,body.route-page .junction-title-v4 h1,body.route-page .service-title-row h1{font-size:29px!important;line-height:1.14!important;letter-spacing:-.7px!important;margin:0 0 12px!important}body.route-page .section-hero{padding:22px 18px!important}.tc-global-search{padding-top:14px!important;padding-bottom:16px!important}}

/* Mobile audit: contained navigation, readable cards and compact map detail. */
body.route-page .home-route-chips-photo{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;gap:7px!important;overflow:visible!important;box-sizing:border-box!important}
body.route-page .home-route-chips-photo>span{display:none!important}
body.route-page .home-route-chips-photo .route-chip{min-width:0!important;width:100%!important;padding:10px 4px!important;margin:0!important;box-sizing:border-box!important}
body.route-page .home-route-chips-photo a:nth-of-type(n+6){display:none!important}
body.route-page .home-results{max-height:none!important;height:auto!important;overflow:visible!important;padding:0!important;scrollbar-gutter:auto!important}
body.route-page .home-incidents-card{position:static!important}
body.route-page .home-filters{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
body.route-page .home-filters button{width:100%!important;min-width:0!important;padding:10px 3px!important;font-size:12px!important;text-align:center!important}
body.route-page .home-results details{display:block!important;height:auto!important;max-height:none!important;overflow:visible!important;margin-top:12px!important}
body.route-page .home-results summary{display:list-item!important;cursor:pointer;padding:12px!important;background:#edf3f9!important;color:#234c70!important;border:1px solid #ccdae6!important;border-radius:6px!important;font-size:14px!important;line-height:1.4!important}
body.route-page .affected-section{padding:14px 0!important;border-bottom:1px solid #dce4ec!important;margin:0!important}
body.route-page .home-results .card{position:relative!important;background:#fff!important;border-left:4px solid #e4aa24!important;padding:16px!important}
.tc-card-link{color:inherit;text-decoration:none}
.tc-card-link:after{content:'';position:absolute;inset:0;z-index:1}
body.route-page .card :is(button,summary,details){position:relative;z-index:2}
body.route-page .home-utility-strip>a,body.route-page .home-tools-grid>a{display:flex!important;gap:14px!important;align-items:center!important;padding:18px!important;background:#f0f6fc!important;border:1px solid #c5d7e9!important;border-left:4px solid #3379bd!important;border-radius:8px!important}
body.route-page .home-utility-strip>a:nth-child(2),body.route-page .home-tools-grid>a:nth-child(2){background:#fff8e9!important;border-color:#e8d4a5!important;border-left-color:#d69a1b!important}
body.route-page .home-utility-strip>a:nth-child(3),body.route-page .home-tools-grid>a:nth-child(3){background:#edf7f4!important;border-color:#b9d9cf!important;border-left-color:#268568!important}
body.route-page .home-utility-strip>a:before,body.route-page .home-tools-grid>a:before{content:'↗';display:grid;place-items:center;flex:0 0 36px;height:36px;background:#fff;border:1px solid #cbd8e5;border-radius:7px;color:#245a8b;font-size:24px}
body.route-page :is(.home-utility-strip,.home-tools-grid) strong{display:block;font-size:17px!important;color:#183b5c!important}
body.route-page :is(.home-utility-strip,.home-tools-grid) p{margin:5px 0 0!important;font-size:14px!important;line-height:1.45!important;color:#4f667b!important}
body.route-page .home-route-status-grid{display:grid!important;gap:10px!important;background:transparent!important;border:0!important}
body.route-page .home-route-status-grid>a{border:1px solid #c6d5e3!important;border-left:4px solid #3077c6!important;background:#fff!important;border-radius:7px!important;box-shadow:0 2px 5px #122a4410!important;padding:16px!important}
body.route-page .home-section-title .junction-panel-kicker{display:none!important}
body.route-page .home-long-section:has(.home-route-status-grid) .home-section-title h2{font-size:0!important}
body.route-page .home-long-section:has(.home-route-status-grid) .home-section-title h2:after{content:'Motorway traffic';font-size:24px}
body.route-page .home-major-disruption .home-disruption-card{border:1px solid #e0bdad!important;border-left:4px solid #bc5533!important;border-radius:7px!important;background:#fff7f3!important;padding:16px!important}
body.route-page .tc-footer{display:flex!important;flex-wrap:wrap!important;gap:18px!important;background:#102239!important;color:#d6e2ef!important;padding:28px 20px!important;font-size:13px!important}
body.route-page .tc-footer .tc-brand{color:#fff!important;display:inline!important;visibility:visible!important;font-size:24px!important}
body.route-page .tc-footer .tc-brand span{color:#efbd3b!important}
body.route-page .tc-footer nav{display:flex!important;flex-wrap:wrap!important;gap:14px!important;margin:0!important}
body.route-page .tc-footer nav a{color:#e1eaf4!important;font-size:13px!important}
body.route-page .m6-title-line{gap:12px!important;align-items:center!important;margin-bottom:12px!important}
body.route-page .m6-title-line .live-pill{margin:0!important;padding:7px 10px!important}
body.route-page .section-hero{padding:22px 20px!important;min-height:0!important}
body.route-page .section-live-strip strong{font-size:24px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
body.route-page .section-live-strip article{border-radius:8px!important;border:1px solid #d0dce7!important;box-shadow:none!important}
body.route-page .section-card>b{padding:8px 12px!important;border-radius:5px!important;background:#e7f0fa!important;color:#225a8b!important}
body.route-page .approved-junctions article{border:1px solid #bad0e6!important;border-top:4px solid #347ac1!important;background:#eef5fc!important;border-radius:7px!important;padding:16px!important}
body.route-page #map .maplibregl-popup{max-width:244px!important}
body.route-page #map .maplibregl-popup-content{box-sizing:border-box!important;max-width:244px!important;max-height:220px!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important;border:1px solid #b8cadb!important;border-top:4px solid #deaa2e!important;border-radius:8px!important;box-shadow:0 6px 20px #10263f38!important;padding:12px 30px 12px 12px!important}
body.route-page #map .tc-map-popup{max-width:200px!important;min-width:0!important}
body.route-page #map .tc-map-popup-head strong{font-size:13px!important;line-height:1.35!important;color:#193c5d!important}
body.route-page #map .tc-map-popup-badge{display:inline-block;background:#fff0c8!important;color:#745209!important;font-size:10px!important;border-radius:4px!important;padding:4px 6px!important}
body.route-page #map .tc-map-popup-details{font-size:12px!important;line-height:1.4!important;color:#526a7d!important}
body.route-page #map .tc-popup-status{font-size:12px;background:#eef4f9;padding:7px;border-radius:4px;margin:8px 0;color:#264d6c}
body.route-page #map .tc-popup-link{display:block;font-size:12px;color:#185f9b;font-weight:700;padding-top:5px}
body.route-page #map .tc-map-cluster-item{display:block!important;position:relative!important;width:100%!important;background:#f0f5fa!important;border:1px solid #d5e0ea!important;border-radius:4px!important;padding:7px!important;margin-top:6px!important;text-align:left!important;color:#234661!important;white-space:normal!important}
body.route-page #map .tc-map-cluster-item span{font-size:9px!important;text-transform:uppercase}
body.route-page #map .tc-map-cluster-item b{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11px!important;line-height:1.3!important}
body.route-page #map .tc-map-cluster-item small{display:none!important}
@media(max-width:650px){body.route-page .home-map-led-photo{display:block!important}body.route-page .home-incidents-card{margin-top:14px!important}body.route-page .home-map-wrap,body.route-page .approved-map{height:360px!important}body.route-page .m6-title-line{align-items:flex-start!important}body.route-page .home-summary-strip-photo strong{font-size:23px!important}body.route-page .tc-footer{flex-direction:column!important}}

body.route-page .home-long-section:has(.home-route-status-grid) .home-section-title h2{font-size:24px!important}
body.route-page .home-long-section:has(.home-route-status-grid) .home-section-title h2:after{content:none!important}
body.route-page .home-utility-strip>a:before,body.route-page .home-tools-grid>a:before{display:none!important}
body.route-page .home-utility-strip>a>.utility-icon,body.route-page .home-tools-grid>a>span{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;background:#fff!important;border:1px solid #cfdeeb!important;border-radius:7px!important;font-size:22px!important}

/* Consistent small-screen alignment across every page template. */
@media(max-width:700px){
body.route-page :is(main,section,article,aside,form,nav){min-width:0}
body.route-page :is(.home-shell,.m6-shell,.junction-shell-v4,.section-shell,.service-shell){width:100%!important;max-width:100%!important;padding-left:14px!important;padding-right:14px!important}
body.route-page :is(.m6-main-grid,.junction-dashboard-v4,.service-main-grid,.service-info-grid,.m6-bottom-grid,.m6-feature-grid,.section-content-grid){grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
body.route-page :is(.m6-left,.m6-right,.route-row-body,.junction-event-copy,.home-hero-copy){min-width:0!important;max-width:100%!important}
body.route-page :is(.m6-summary-strip,.junction-kpis-v4,.service-summary-grid,.home-summary-strip-photo,.section-live-strip){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.route-page :is(.m6-summary-strip,.junction-kpis-v4,.service-summary-grid,.section-live-strip)>article{min-width:0!important;padding:12px!important}
body.route-page :is(.m6-summary-strip,.junction-kpis-v4,.service-summary-grid,.section-live-strip) strong{font-size:22px!important;line-height:1.25!important;overflow-wrap:anywhere!important}
body.route-page :is(.approved-junctions,.m6-services-grid,.service-nearby-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.route-page :is(.panel-head,.service-panel-head,.junction-topbar-v4,.junction-near-links){flex-wrap:wrap!important;gap:10px!important}
body.route-page :is(.panel-head,.service-panel-head) h2{font-size:21px!important;line-height:1.25!important}
body.route-page :is(.panel-head,.service-panel-head)>a{font-size:13px!important;margin:0!important;padding:6px 0!important}
body.route-page .route-row{grid-template-columns:28px minmax(0,1fr)!important;gap:10px!important;padding:14px!important}
body.route-page .route-row-side{grid-column:2!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;white-space:normal!important}
body.route-page .route-row-title{font-size:15px!important;line-height:1.4!important}
body.route-page :is(.route-list,.approved-list,.junction-live-list-v4){max-height:none!important;overflow:visible!important}
body.route-page :is(.approved-map,.junction-map-wrap-v4,.service-map-wrap){height:360px!important;width:100%!important}
body.route-page .tc-global-search{padding-left:14px!important;padding-right:14px!important;width:100%!important}
body.route-page .tc-global-search form>div:not(.tc-global-suggestions){grid-template-columns:minmax(0,1fr) auto!important}
body.route-page .tc-global-search form>div:not(.tc-global-suggestions)>button{min-width:90px!important;padding:0 14px!important}
body.route-page .tc-global-suggestions{max-width:100%!important}
body.route-page .tc-global-suggestions button{gap:10px!important}
body.route-page .tc-global-suggestions span{max-width:65%;white-space:normal;line-height:1.3}
body.route-page .tc-footer .tc-brand{font-size:24px!important;line-height:1.2!important}
body.route-page .tc-footer>span{font-size:13px!important;line-height:1.5!important}
body.route-page :is(.m6-hero-inner,.junction-hero-v4-inner,.service-hero-inner){padding:22px 14px!important;gap:12px!important}
body.route-page :is(.m6-title-line,.junction-title-v4,.service-title-row){flex-wrap:wrap!important;gap:10px!important}
body.route-page :is(.m6-title-line,.junction-title-v4,.service-title-row) h1{margin:0!important}
body.route-page :is(.m6-subtitle,.junction-subtitle-v4,.service-subtitle){margin-top:12px!important;font-size:14px!important;line-height:1.45!important}
}

/* TrafficCheck identity and mobile route header alignment. */
.tc-brand{display:inline-flex!important;align-items:center!important;gap:0!important;color:#142b43!important;font-weight:850!important;letter-spacing:-.8px!important}
.tc-brand:before{content:'';display:inline-block;width:30px;height:32px;margin-right:9px;flex:0 0 30px;border-radius:7px;background:#1269c5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M9 26l4-20m10 20L19 6M16 24v-5m0-4v-5' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center/28px no-repeat}
body.route-page .tc-brand span{color:#168eac!important}
body.route-page .tc-footer .tc-brand{display:inline-flex!important}
@media(max-width:900px){body.route-page .tc-nav .tc-brand{color:#fff!important;font-size:25px!important}body.route-page .tc-nav .tc-brand span,body.route-page .tc-footer .tc-brand span{color:#57d0df!important}}
@media(max-width:700px){
body.route-page .m6-title-wrap{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;gap:10px 12px!important;width:100%!important}
body.route-page .m6-title-wrap>div:last-child{display:contents!important}
body.route-page .m6-badge{grid-row:1!important;width:56px!important;height:56px!important;min-width:0!important;font-size:24px!important;margin:0!important;align-self:start!important}
body.route-page .m6-title-line{grid-column:2!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;padding:0!important}
body.route-page .m6-title-line h1{font-size:29px!important;line-height:1.1!important;margin:0!important}
body.route-page .m6-title-line .live-pill{font-size:11px!important;padding:5px 8px!important}
body.route-page :is(.m6-subtitle,.m6-live-summary,.m6-hero-facts){grid-column:1/-1!important;margin:0!important;max-width:100%!important}
body.route-page .m6-subtitle{margin-top:4px!important}
body.route-page .m6-live-summary{font-size:13px!important;line-height:1.45!important}
body.route-page .m6-hero-facts{gap:6px!important;display:flex!important;flex-wrap:wrap!important}
body.route-page .m6-hero-facts span{font-size:10px!important}
body.route-page .section-hero{padding:22px 16px!important}
body.route-page .section-hero-inner{padding:0!important}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article{display:flex!important;align-items:center!important;gap:10px!important}
body.route-page :is(.m6-summary-strip,.section-live-strip) small{display:block!important;font-size:12px!important;line-height:1.35!important;min-height:32px!important}
body.route-page :is(.m6-summary-strip,.section-live-strip) strong{display:block!important;font-size:24px!important;margin:3px 0!important}
body.route-page :is(.m6-summary-strip,.section-live-strip) .summary-icon{width:32px!important;height:32px!important;flex:0 0 32px!important;font-size:17px!important}
}
[hidden]{display:none!important}

/* Align mobile route identity and metric baselines. */
@media(max-width:700px){
body.route-page .m6-title-wrap{grid-template-columns:48px minmax(0,1fr)!important;gap:14px 12px!important;align-items:start!important}
body.route-page .m6-badge{width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:7px!important;font-size:23px!important;line-height:1!important;display:grid!important;place-items:center!important}
body.route-page .m6-title-line{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;justify-items:start!important;gap:7px!important;min-height:48px!important}
body.route-page .m6-title-line h1{font-size:28px!important;line-height:1.05!important}
body.route-page .m6-title-line .live-pill{font-size:10px!important;line-height:1.2!important;padding:4px 7px!important}
body.route-page .m6-subtitle{font-size:14px!important;line-height:1.5!important;margin:0!important}
body.route-page .m6-live-summary{font-size:13px!important;font-weight:600!important;line-height:1.5!important}
body.route-page .m6-hero-facts{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
body.route-page .m6-hero-facts span{padding:7px 9px!important;margin:0!important;border-radius:5px!important;font-size:11px!important}
body.route-page .m6-hero-facts span:last-child{grid-column:1/-1!important}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:start!important;gap:10px!important;padding:14px 12px!important;min-height:136px!important}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article>div:last-child{display:grid!important;grid-template-rows:34px 36px minmax(32px,auto)!important;gap:5px!important;min-width:0!important;align-content:start!important}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article small{height:34px!important;min-height:0!important;font-size:12px!important;line-height:17px!important;margin:0!important}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article strong{height:36px!important;display:flex!important;align-items:center!important;font-size:25px!important;line-height:1!important;margin:0!important}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article span{font-size:11px!important;line-height:16px!important;margin:0!important}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article .summary-icon{margin:39px 0 0!important;width:30px!important;height:30px!important;align-self:start!important}
body.route-page .nearby-routes{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important;padding:0!important}
body.route-page .nearby-routes>span{width:100%!important;font-size:12px!important;margin:0!important}
body.route-page .nearby-routes>a{flex:1 1 0!important;text-align:center!important;margin:0!important;padding:9px 4px!important;min-width:0!important}
}

/* Fit popup detail to its content rather than reserving empty columns. */
body.route-page #map .tc-map-popup-grid{display:flex!important;flex-wrap:wrap!important;gap:0!important;width:100%!important;min-height:0!important}
body.route-page #map .tc-map-popup-grid>div{flex:1 1 90px!important;min-width:0!important;padding:7px 9px!important;border:0!important;min-height:0!important}
body.route-page #map .tc-map-popup-grid>div:only-child{flex-basis:100%!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
body.route-page #map .tc-map-popup-grid>div:only-child span,body.route-page #map .tc-map-popup-grid>div:only-child b{margin:0!important;white-space:normal!important}
body.route-page #map .tc-map-popup-head{margin-bottom:8px!important;padding-bottom:8px!important}
body.route-page #map .tc-map-popup-reason{padding:6px 8px!important;margin-bottom:8px!important}
body.route-page #map .maplibregl-popup-content{padding-bottom:10px!important}
@media(max-width:700px){
body.route-page .m6-summary-strip>article:last-child{min-height:0!important;padding:12px!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important}
body.route-page .m6-summary-strip>article:last-child>div:last-child{grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:5px 12px!important;align-items:center!important}
body.route-page .m6-summary-strip>article:last-child small{height:auto!important;min-height:0!important;grid-column:1!important;grid-row:1!important}
body.route-page .m6-summary-strip>article:last-child strong{height:auto!important;grid-column:2!important;grid-row:1!important;font-size:21px!important}
body.route-page .m6-summary-strip>article:last-child span{grid-column:1/-1!important;grid-row:2!important}
body.route-page .m6-summary-strip>article:last-child .summary-icon{margin:0!important;align-self:center!important}
body.route-page .direction-tabs.direction-wide button{padding:10px!important;min-height:0!important}
body.route-page .m6-map-card{padding:8px!important}
}

#map .leaflet-control-zoom a{padding:0!important;background:#fff!important;color:#203f5c!important}
#map .leaflet-popup-content-wrapper{border-radius:8px;border-top:4px solid #dca625;box-shadow:0 5px 20px #102c4533}
#map .leaflet-popup-content{margin:12px 26px 12px 12px!important;font-size:12px!important;line-height:1.4!important}
#map .leaflet-popup-content strong{display:block;font-size:14px;margin-top:7px}
#map .leaflet-popup-content p{margin:8px 0!important}
#map .leaflet-popup-close-button{padding:0!important;color:#264a67!important;background:transparent!important}
#map .leaflet-control-attribution{font-size:10px!important}

/* Keep the map independent of the height of the report column. */
body.route-page .home-map-led-photo{align-items:start!important}
body.route-page .home-map-card{height:auto!important;min-height:0!important;align-self:start!important}
body.route-page #map .tc-map-cluster-popup{min-width:0!important;width:100%!important}
body.route-page #map .tc-map-cluster-popup>strong{font-size:13px!important;line-height:1.3!important;padding-right:8px!important}
body.route-page #map .maplibregl-popup-content{max-height:min(260px,calc(100vh - 160px))!important}
body.route-page #map .tc-cluster-zoom{display:block;width:100%;padding:7px 8px;margin:8px 0 4px;background:#174c73;color:#fff;font-size:12px;border-radius:5px}
body.route-page .home-results details{border:1px solid #d4e0ea!important;border-radius:8px!important;background:#f8fbfe!important}
body.route-page .home-results details>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;list-style:none!important;padding:10px 12px!important;border:0!important;background:#edf4fa!important;font-size:13px!important;line-height:1.35!important;min-height:40px!important}
body.route-page .home-results details>summary::-webkit-details-marker{display:none}
body.route-page .home-results details>summary:after{content:'⌄';font-size:20px;line-height:1;transition:transform .15s}
body.route-page .home-results details[open]>summary:after{transform:rotate(180deg)}
body.route-page .home-results details[open]>summary{border-bottom:1px solid #d4e0ea!important;border-radius:8px 8px 0 0!important}
body.route-page .home-results details>.affected-section{padding:12px!important;background:transparent!important}

/* Compact priority reports with clear individual boundaries. */
body.route-page .home-major-disruption{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
body.route-page .home-disruption-card{display:grid!important;grid-template-columns:36px minmax(0,1fr)!important;gap:12px!important;align-items:start!important;min-width:0!important;padding:16px!important;border:1px solid #e0c7bd!important;border-left:4px solid #c85a37!important;border-radius:9px!important;background:#fff8f4!important;box-shadow:0 2px 6px #17334d0a!important}
body.route-page .home-disruption-card.severe{background:#fff4f4!important;border-color:#ebc6c6!important;border-left-color:#ce3542!important}
body.route-page .home-disruption-card>div{min-width:0}
body.route-page .home-disruption-card strong{font-size:16px!important;line-height:1.4!important;overflow-wrap:anywhere}
body.route-page .home-disruption-card>b{grid-column:2!important;justify-self:start!important;margin:0!important;font-size:12px!important;padding:5px 9px!important}
body.route-page .home-disruption-card>span{width:36px!important;height:36px!important;font-size:18px!important}
@media(max-width:700px){body.route-page .home-major-disruption{grid-template-columns:minmax(0,1fr)!important}}

/* Travel tools: distinct, balanced cards on desktop and mobile. */
body.route-page .home-tools-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
body.route-page .home-tools-grid>a{display:grid!important;grid-template-columns:44px minmax(0,1fr) 20px!important;align-items:center!important;gap:14px!important;padding:18px!important;min-width:0!important;min-height:108px!important;border:1px solid #c8d9e9!important;border-left:4px solid #287ab9!important;background:#f0f7fd!important;border-radius:9px!important;text-decoration:none!important;color:#153b59!important;box-shadow:0 2px 6px #17334d0a!important}
body.route-page .home-tools-grid>a:nth-child(2){background:#eff9f6!important;border-color:#c3ddd2!important;border-left-color:#269079!important}
body.route-page .home-tools-grid>a:nth-child(3){background:#f2f3fd!important;border-color:#d0d4eb!important;border-left-color:#6572b4!important}
body.route-page .home-tools-grid>a:nth-child(4){background:#fff6e8!important;border-color:#ead5af!important;border-left-color:#d89923!important}
body.route-page .home-tools-grid>a>span{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border-radius:11px!important;background:#fff!important;font-size:24px!important;box-shadow:0 1px 4px #17334d12!important}
body.route-page .home-tools-grid>a>div{min-width:0!important}
body.route-page .home-tools-grid strong{display:block!important;font-size:17px!important;line-height:1.35!important;color:#153b59!important}
body.route-page .home-tools-grid p{margin:5px 0 0!important;font-size:14px!important;line-height:1.5!important;color:#536e82!important}
body.route-page .home-tools-grid>a>b{font-size:21px!important;color:#276da6!important}
body.route-page .home-tools-grid>a:hover{border-color:#5e98bf!important;box-shadow:0 3px 10px #17334d15!important}
@media(max-width:700px){body.route-page .home-tools-grid{grid-template-columns:minmax(0,1fr)!important}body.route-page .home-tools-grid>a{padding:15px!important;gap:11px!important;min-height:96px!important}}

/* Align travel tool headings and prevent inherited horizontal clipping. */
body.route-page .home-tools-grid{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
body.route-page .home-tools-grid>a{width:auto!important;max-width:100%!important;align-items:start!important}
body.route-page .home-tools-grid>a>span{align-self:start!important}
body.route-page .home-tools-grid>a>b{align-self:start!important;line-height:24px!important;margin-top:5px!important}
body.route-page .home-tools-grid>a>div{display:grid!important;grid-template-rows:minmax(46px,auto) auto!important;align-content:start!important}
body.route-page .home-tools-grid strong{min-height:46px!important;display:flex!important;align-items:flex-start!important}
@media(max-width:700px){body.route-page .home-tools-grid>a>div{grid-template-rows:auto auto!important}body.route-page .home-tools-grid strong{min-height:0!important}}

body.route-page .nearby-routes a{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 13px!important;min-height:38px!important;border:1px solid #b5cce1!important;border-radius:6px!important;background:#eef5fc!important;color:#174d7b!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important}
body.route-page .tc-global-search form>div:not(.tc-global-suggestions)>button{border-radius:7px!important;padding:12px 22px!important;min-height:48px!important;font-size:16px!important;border:1px solid #d4a321!important}
body.route-page .approved-list .route-row{position:relative!important;height:auto!important;min-height:0!important;overflow:visible!important;grid-template-columns:30px minmax(0,1fr)!important;padding:14px!important}
body.route-page .approved-list .route-row-top{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important}
body.route-page .approved-list .row-delay{grid-column:2!important;justify-self:start!important;white-space:normal!important}
body.route-page .approved-list a[href*="junction-"]{position:static!important;display:inline-flex!important;margin-top:8px!important;padding:7px 11px!important;border:1px solid #b8cfe5!important;border-radius:6px!important;background:#eaf3fc!important;color:#135b9d!important;font-size:13px!important;text-decoration:none!important}
body.route-page .m6-main-grid{align-items:start!important}
body.route-page .m6-right{height:auto!important;grid-template-rows:auto auto!important;align-content:start!important}
body.route-page .direction-wide{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
body.route-page .approved-head a,body.route-page .home-section-title>a,body.route-page .home-panel-head>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 12px!important;border:1px solid #bfd2e5!important;background:#edf5fd!important;border-radius:6px!important;text-decoration:none!important;color:#175d9c!important;font-size:13px!important;line-height:1.35!important}

body.route-page :is(.feature-link,.service-panel-head>a,.junction-near-links>a){display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:9px 13px!important;border:1px solid #b9cee2!important;border-radius:6px!important;background:#eaf3fc!important;color:#15588f!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important}
body.route-page .approved-list a.route-row-link{display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;margin-top:0!important;padding:14px!important;background:#fffaf2!important;border:1px solid #e4d8c0!important;border-left:4px solid #e5a323!important;border-radius:8px!important;color:#183c57!important}
body.route-page .approved-list .route-row-side{grid-column:2!important;display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;position:static!important}
body.route-page .approved-list .route-row-side>b{display:inline-flex!important;padding:7px 10px!important;border:1px solid #b8cfe5!important;border-radius:5px!important;background:#eaf3fc!important;color:#155b96!important;font-size:12px!important}
body.route-page .junction-card-link{display:block!important;text-decoration:none!important;min-width:0!important}
body.route-page .junction-card-link article:after{content:'View junction →';display:block;margin-top:12px;padding:7px 8px;background:#fff;border:1px solid #b4cde4;border-radius:5px;color:#175c98;font-size:12px;font-weight:800}
body.route-page .junction-card-link:hover article{background:#deedfc!important;border-color:#3f80ba!important}
body.route-page .junction-card-link:focus-visible{outline:3px solid #2488c7;outline-offset:3px;border-radius:8px}
body.route-page .approved-junctions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
@media(max-width:700px){body.route-page .approved-junctions{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

body.route-page .m6-service-card{display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;gap:10px!important;min-width:0!important;padding:14px!important;text-decoration:none!important;border:1px solid #b9cee3!important;border-radius:8px!important;background:#f2f7fd!important}
body.route-page .m6-service-card:after{content:'View services →';grid-column:2;justify-self:start;padding:6px 9px;border:1px solid #b2cbe3;border-radius:5px;background:white;color:#175b98;font-size:12px;font-weight:800}
body.route-page .m6-service-card:hover{background:#e2effc!important;border-color:#4b88bd!important}
body.route-page :is(.m6-info-card,.m6-feature-card,.junction-info-card,.junction-detail-grid,.m6-faqs,.section-panel)>a:not(.tc-card-link),body.route-page .connecting-list a,body.route-page .travel-list a{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:8px 12px!important;margin-top:6px!important;background:#edf5fd!important;border:1px solid #bed2e6!important;border-radius:6px!important;color:#175b98!important;font-size:14px!important;font-weight:700!important;text-decoration:none!important}

/* Report actions belong beneath the copy, never centred in the card. */
body.route-page .approved-list .route-row{grid-template-columns:30px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:start!important;align-items:start!important;column-gap:12px!important;row-gap:8px!important;height:auto!important;min-height:0!important;text-align:left!important}
body.route-page .approved-list .route-row-body{grid-column:2!important;grid-row:1!important;align-self:start!important}
body.route-page .approved-list .route-row-icon{grid-column:1!important;grid-row:1!important;align-self:start!important}
body.route-page .approved-list .route-row-side{grid-column:2!important;grid-row:2!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;justify-self:start!important;align-self:start!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;gap:6px!important;text-align:left!important}
body.route-page .approved-list .route-row-side span{display:inline-flex!important;margin:0!important;padding:4px 8px!important;font-size:12px!important;line-height:1.4!important}
body.route-page .approved-list .route-row-side>b{margin:0!important;align-self:center!important;line-height:1.4!important}
body.route-page .approved-list .route-row-title{font-size:16px!important;line-height:1.4!important}
body.route-page .approved-list .route-row-body p{margin:5px 0!important}
body.route-page .approved-list .route-row-body small{display:block!important;margin-top:6px!important}

/* Junction cards use compact arrow icons instead of a repeated full-width action. */
body.route-page .junction-card-link article{position:relative!important;padding:14px 35px 14px 14px!important;text-align:left!important}
body.route-page .junction-card-link article:after{content:'↗'!important;position:absolute!important;right:10px!important;top:12px!important;display:grid!important;place-items:center!important;width:24px!important;height:24px!important;margin:0!important;padding:0!important;border:1px solid #adc8e0!important;border-radius:50%!important;background:#fff!important;color:#175c98!important;font-size:16px!important;line-height:1!important}
body.route-page .junction-card-link article strong{font-size:18px!important}
body.route-page .junction-card-link article span{margin-top:4px!important;font-size:13px!important}
body.route-page .junction-card-link article em{margin-top:9px!important;font-size:12px!important}

/* 24 October: shared search controls and recognisable motorway blue. */
:root{--tc-road-blue:#0d6ce5;--tc-road-blue-hover:#0857bb}
body.route-page :is(.home-search-photo>button,.tc-global-search form>div:not(.tc-global-suggestions)>button){
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-width:104px!important;min-height:48px!important;height:48px!important;
  padding:0 22px!important;border:1px solid #d5a51b!important;border-radius:8px!important;
  background:#f7c948!important;color:#142b40!important;box-shadow:0 2px 4px #0d243322!important;
  font-size:16px!important;font-weight:800!important;line-height:1!important;
  align-self:center!important;transform:none!important;white-space:nowrap!important;
}
body.route-page :is(.home-search-photo>button,.tc-global-search form>div:not(.tc-global-suggestions)>button):hover{background:#ffda65!important;border-color:#ba8c0c!important}
body.route-page :is(.home-search-photo>button,.tc-global-search form>div:not(.tc-global-suggestions)>button):active{background:#ebbb32!important;box-shadow:none!important}
body.route-page :is(.nearby-routes a,.nearby-routes b,.home-road-shield,.junction-road-badge,.junction-road-badge-v4),
.major-road-grid:not(.a-road-grid) b{background:var(--tc-road-blue)!important;color:#fff!important;border-color:var(--tc-road-blue)!important}
body.route-page .nearby-routes a:hover{background:var(--tc-road-blue-hover)!important;border-color:var(--tc-road-blue-hover)!important}
@media(max-width:720px){.tc-ticker{grid-template-columns:auto minmax(0,1fr)!important;gap:10px!important}.tc-ticker>a{display:none!important}}

/* Compact inner-page headings and a single-column suggestion menu. */
body.route-page :is(.section-hero,.section-hero-wide,.m6-hero,.junction-hero-v4,.service-hero),
.major-roads-hero,.services-index-hero{background:#102d46!important;background-image:none!important;min-height:0!important}
body.route-page :is(.section-hero,.section-hero-wide){padding:16px 4.5vw!important}
body.route-page .section-hero-inner{padding:0!important}
body.route-page :is(.m6-hero-inner,.junction-hero-v4-inner,.service-hero-inner),
.major-roads-hero-inner,.services-index-hero-inner{padding:16px 4.5vw!important}
body.route-page :is(.m6-hero-overlay,.m6-hero:after,.section-hero:after,.junction-hero-v4:after,.service-hero:after){background:none!important}
body.route-page :is(.section-hero h1,.section-hero-inner h1){font-size:32px!important;line-height:1.15!important;margin:4px 0 7px!important}
body.route-page .section-hero p{font-size:15px!important;line-height:1.45!important;margin:0!important;max-width:900px!important}
body.route-page .tc-global-search{padding:12px 4.5vw!important;background:#102d46!important}
body.route-page .tc-global-search label{margin-bottom:6px!important}
body.route-page .tc-global-search input{height:44px!important;border-radius:7px!important}
body.route-page .tc-global-search form>div:not(.tc-global-suggestions)>button{height:44px!important;min-height:44px!important}
body.route-page .tc-global-suggestions{display:block!important;padding:4px!important;max-height:280px;overflow-y:auto}
body.route-page .tc-global-suggestions[hidden]{display:none!important}
body.route-page .tc-global-suggestions>button{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:14px!important;width:100%!important;height:auto!important;min-height:44px!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid #edf1f4!important;border-radius:4px!important;background:#fff!important;color:#19354d!important;box-shadow:none!important;text-align:left!important;font-size:14px!important;line-height:1.4!important;white-space:normal!important}
body.route-page .tc-global-suggestions>button:last-child{border-bottom:0!important}
body.route-page .tc-global-suggestions>button:hover,body.route-page .tc-global-suggestions>button:focus-visible{background:#edf4fa!important}
body.route-page .tc-global-suggestions strong{font-size:14px!important}
body.route-page .tc-global-suggestions span{font-size:12px!important;font-weight:400!important;color:#617487!important;text-align:right}
@media(max-width:650px){
 body.route-page :is(.section-hero,.section-hero-wide){padding:14px 16px!important}
 body.route-page :is(.m6-hero-inner,.junction-hero-v4-inner,.service-hero-inner),.major-roads-hero-inner,.services-index-hero-inner{padding:14px 16px!important}
 body.route-page .tc-global-search{padding:10px 16px!important}
 body.route-page :is(.section-hero h1,.section-hero-inner h1){font-size:27px!important}
 body.route-page .tc-global-suggestions>button{flex-direction:column!important;align-items:flex-start!important;gap:2px!important}
 body.route-page .tc-global-suggestions span{text-align:left}
}

/* Report-list balance and aligned service cards. */
@media(min-width:901px){
 body.route-page .m6-main-grid>.m6-left{position:sticky!important;top:88px!important;align-self:start!important}
 body.route-page .m6-right .approved-list{max-height:360px!important;overflow-y:auto!important;overscroll-behavior-y:contain;scrollbar-gutter:stable;padding-right:5px}
}
body.route-page .approved-list .route-row{padding:11px 12px!important;gap:5px 10px!important}
body.route-page .approved-list .route-row-title{font-size:15px!important;line-height:1.35!important}
body.route-page .approved-list .route-row-body p{font-size:13px!important;margin:3px 0!important}
body.route-page .approved-list .route-row-body small{font-size:11px!important;margin-top:3px!important}
body.route-page .approved-list .route-row.minor{background:#f3f8fd!important;border-color:#c9dbea!important;border-left-color:#3685b7!important}
body.route-page .approved-list .route-row.moderate{background:#fff8ed!important;border-color:#ead5af!important;border-left-color:#e7a125!important}
body.route-page .approved-list .route-row.serious{background:#fff2f2!important;border-color:#ecc4c7!important;border-left-color:#c93946!important}
body.route-page .approved-list .route-row.works{background:#fffbea!important;border-color:#e5d9b0!important;border-left-color:#bd9636!important}
body.route-page .approved-list .route-row.minor .route-row-icon{background:#e0effb!important;color:#225d8c!important}
body.route-page .approved-list .route-row.serious .route-row-icon{background:#ffe1e3!important;color:#b52b3b!important}
body.route-page .approved-head{display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}
body.route-page .approved-head h2{margin:0!important}
body.route-page .m6-services-grid{align-items:stretch!important}
body.route-page .m6-service-card{grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:minmax(44px,auto) auto!important;align-content:start!important;align-items:start!important;row-gap:10px!important}
body.route-page .m6-service-card .m6-service-logo{grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;margin:0!important;align-self:start!important}
body.route-page .m6-service-card>div:last-child{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:3px!important;min-width:0!important}
body.route-page .m6-service-card strong{display:block!important;margin:0!important;font-size:15px!important;line-height:20px!important;min-height:20px!important}
body.route-page .m6-service-card span{display:block!important;margin:0!important;font-size:12px!important;line-height:17px!important;min-height:17px!important}
body.route-page .m6-service-card:after{grid-column:2!important;grid-row:2!important;align-self:end!important;margin:0!important;line-height:18px!important}

/* Scroll containers must not compress report rows into overlapping grid tracks. */
body.route-page .m6-right .approved-list{display:block!important}
body.route-page .m6-right .approved-list>.route-row{margin-bottom:8px!important}
body.route-page .m6-right .approved-list>.route-row:last-child{margin-bottom:0!important}

/* 16:46 feedback: disclosure alignment, balanced popups and report boundaries. */
body.route-page .home-results details>summary{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:16px!important;min-height:44px!important;line-height:20px!important;
 padding:11px 13px!important;text-align:left!important;
}
body.route-page .home-results details>summary:after{
 content:''!important;display:block!important;flex:0 0 9px!important;
 width:9px!important;height:9px!important;margin:0 2px 4px 0!important;
 border:solid #234c70!important;border-width:0 2px 2px 0!important;
 transform:rotate(45deg)!important;align-self:center!important;
}
body.route-page .home-results details[open]>summary:after{transform:rotate(225deg)!important;margin-bottom:0!important}
body.route-page .home-results>.card{
 border:1px solid #c3d2df!important;border-left:5px solid #dba21d!important;
 border-radius:9px!important;background:#fffdf7!important;
 padding:16px!important;margin:0 0 14px!important;
 box-shadow:0 2px 5px #17334d0d!important;
}
body.route-page .home-results>.card>.card-top{border-bottom:1px solid #e5dfce!important;padding-bottom:8px!important;margin-bottom:9px!important}
body.route-page .home-results .affected-section{border-top:1px solid #cbd8e4!important;margin:0!important}
body.route-page .home-results .affected-section:first-of-type{border-top:0!important}
body.route-page #map .maplibregl-popup-content{padding:12px!important;max-width:244px!important}
body.route-page #map .tc-map-popup{width:100%!important;max-width:none!important;min-width:0!important}
body.route-page #map .tc-map-cluster-popup>strong{display:block!important;padding:0 24px 4px 0!important;margin:0!important;line-height:1.35!important}
body.route-page #map .maplibregl-popup-close-button{position:absolute!important;top:6px!important;right:6px!important;width:24px!important;height:24px!important;padding:0!important;display:grid!important;place-items:center!important;line-height:1!important;font-size:22px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#29475f!important}
body.route-page #map .tc-cluster-zoom{box-sizing:border-box!important;width:100%!important;margin:6px 0!important}
body.route-page #map .tc-map-cluster-item{box-sizing:border-box!important;width:100%!important;margin:6px 0 0!important;padding:8px!important}
body.route-page #map .tc-map-cluster-item :is(span,b){margin:0!important;text-align:left!important;width:100%!important}
body.route-page #map .tc-map-cluster-item span{display:block!important;line-height:1.3!important}
body.route-page #map .tc-map-cluster-item b{margin-top:4px!important;color:#193b54!important;font-weight:700!important;line-height:1.35!important}
@media(min-width:901px){
 body.route-page .home-map-led-photo{align-items:start!important}
 body.route-page .home-map-led-photo>.home-map-card{position:sticky!important;top:88px!important}
 body.route-page .home-results{display:block!important;max-height:560px!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;scrollbar-gutter:stable!important;padding-right:6px!important}
 body.route-page .home-map-wrap{height:560px!important}
}

/* Shortcut cards clearly advertise navigation while retaining one accessible link. */
body.route-page .home-utility-strip>a{align-items:stretch!important;cursor:pointer!important;text-decoration:none!important;transition:border-color .15s,box-shadow .15s}
body.route-page .home-utility-strip>a>.utility-icon{align-self:start!important}
body.route-page .home-utility-strip>a>div{display:flex!important;flex-direction:column!important;min-width:0!important;flex:1!important}
body.route-page .home-utility-strip>a p{flex:1!important;margin:5px 0 12px!important}
body.route-page .home-utility-strip .utility-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:flex-start!important;min-height:32px!important;padding:6px 11px!important;border:1px solid #8bb0d1!important;border-radius:5px!important;background:#fff!important;color:#155b92!important;font-size:13px!important;font-weight:800!important;line-height:18px!important}
body.route-page .home-utility-strip>a:hover{border-color:#3d7eb5!important;box-shadow:0 3px 9px #17334d18!important}
body.route-page .home-utility-strip>a:hover .utility-action{background:#155b92!important;color:#fff!important;border-color:#155b92!important}
body.route-page .home-utility-strip>a:focus-visible{outline:3px solid #2086c4!important;outline-offset:3px!important}

/* Motorway shortcuts: legible card structure and an explicit navigation action. */
body.route-page .home-route-status-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}
body.route-page .home-route-status-grid>a{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;min-width:0!important;padding:14px!important;border:1px solid #a9c7e2!important;border-top:3px solid #2479c2!important;border-left:1px solid #a9c7e2!important;border-radius:8px!important;background:#f5f9fe!important;color:#173d5d!important;box-shadow:0 2px 5px #17334d0a!important;text-decoration:none!important;cursor:pointer!important}
body.route-page .home-route-card-head{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}
body.route-page .home-route-card-head .home-road-shield{flex:0 0 38px!important;width:38px!important;min-width:38px!important;height:38px!important;font-size:16px!important}
body.route-page .home-route-card-head strong{font-size:16px!important;line-height:21px!important}
body.route-page .home-route-status-grid>a>small{display:block!important;min-height:34px!important;font-size:12px!important;line-height:17px!important;color:#5a7287!important}
body.route-page .home-route-status-grid>a>em{display:block!important;min-height:36px!important;margin:0 0 3px!important;font-size:12px!important;font-style:normal!important;font-weight:700!important;line-height:18px!important}
body.route-page .home-route-action{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;min-height:34px!important;margin-top:auto!important;padding:7px 9px!important;border:1px solid #155b92!important;border-radius:5px!important;background:#155b92!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:18px!important}
body.route-page .home-route-status-grid>a:hover{background:#eaf3fd!important;border-color:#2479c2!important;box-shadow:0 3px 8px #17334d1a!important}
body.route-page .home-route-status-grid>a:hover .home-route-action{background:#103f66!important}
body.route-page .home-route-status-grid>a:focus-visible{outline:3px solid #2086c4!important;outline-offset:3px!important}
@media(max-width:1100px){body.route-page .home-route-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){body.route-page .home-route-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:420px){body.route-page .home-route-status-grid{grid-template-columns:minmax(0,1fr)!important}body.route-page .home-route-status-grid>a>small,body.route-page .home-route-status-grid>a>em{min-height:0!important}}

/* Softer slate typography across the shared site, preserving white-on-dark headings. */
:root{--tc-text-primary:#385269;--tc-text-body:#4d6375}
body.route-page{color:var(--tc-text-body)}
body.route-page :is(h1,h2,h3,h4){color:var(--tc-text-primary)!important;font-weight:700!important}
body.route-page main :is(.route-row-title,.home-route-card-head strong,.home-utility-strip strong,.home-tools-grid strong,.m6-service-card strong,.junction-card-link strong,.section-live-row strong,.home-disruption-card strong){color:var(--tc-text-primary)!important}
body.route-page :is(.home-hero,.section-hero,.section-hero-wide,.m6-hero,.junction-hero-v4,.service-hero,.major-roads-hero,.services-index-hero) :is(h1,h2,h3){color:#f4f7fa!important}

/* Compact word-based status; popup reports scroll without cropping its controls. */
body.route-page .home-summary-strip-photo .status-good strong#home-feed-state{font-size:17px!important;line-height:22px!important;font-weight:700!important;overflow-wrap:normal!important}
body.route-page #map .tc-cluster-popup-shell .maplibregl-popup-content{max-width:280px!important;max-height:min(340px,calc(100vh - 140px))!important;overflow:hidden!important;padding:12px!important}
body.route-page #map .tc-map-cluster-popup{display:flex!important;flex-direction:column!important;max-height:min(310px,calc(100vh - 170px))!important}
body.route-page #map .tc-map-cluster-popup>strong,body.route-page #map .tc-cluster-zoom,body.route-page #map .tc-cluster-hint{flex:0 0 auto!important}
body.route-page #map .tc-map-cluster-list{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;scrollbar-color:#8ba6ba #edf3f7;padding:0 4px 1px 0!important}
body.route-page #map .tc-map-cluster-list .tc-map-cluster-item{min-height:0!important}
body.route-page #map .tc-cluster-hint{display:block!important;margin:7px 0 0!important;color:#536c80!important;font-size:10px!important;line-height:14px!important}

/* Refined navigation cards: no coloured edge, compact copy and restrained actions. */
body.route-page :is(.home-utility-strip,.home-tools-grid)>a:nth-child(n){border:1px solid #cbd9e5!important;border-left:1px solid #cbd9e5!important;background:#fff!important;box-shadow:0 2px 7px #17334d0a!important;border-radius:10px!important;padding:16px!important}
body.route-page :is(.home-utility-strip,.home-tools-grid)>a:nth-child(n):hover{border-color:#7da6c9!important;background:#f8fbfe!important;box-shadow:0 4px 12px #17334d12!important}
body.route-page .home-tools-grid>a{grid-template-columns:40px minmax(0,1fr) 30px!important;min-height:0!important;gap:12px!important;align-items:start!important}
body.route-page .home-tools-grid>a>div{display:flex!important;flex-direction:column!important;gap:5px!important}
body.route-page .home-tools-grid strong{min-height:0!important;line-height:22px!important;font-size:16px!important}
body.route-page .home-tools-grid p{margin:0!important;font-size:13px!important;line-height:20px!important}
body.route-page .home-tools-grid>a>b{display:grid!important;place-items:center!important;width:30px!important;height:30px!important;margin:0!important;border:1px solid #b9cfe1!important;border-radius:7px!important;background:#edf5fc!important;font-size:18px!important;color:#326487!important}
body.route-page .home-route-action{background:#eaf3fb!important;border-color:#b6cee1!important;color:#2b6087!important;padding:7px 10px!important;min-height:36px!important;font-size:13px!important;font-weight:700!important}
body.route-page .home-route-status-grid>a:hover .home-route-action{background:#dbeaf8!important;color:#204e73!important}
body.route-page #map .maplibregl-ctrl-attrib{width:30px!important;min-height:30px!important;height:30px!important;max-width:30px!important;padding:0!important;border-radius:15px!important;overflow:hidden!important;background:#fff!important}
body.route-page #map .maplibregl-ctrl-attrib-inner{display:none!important}
body.route-page #map .maplibregl-ctrl-attrib:focus-within{width:auto!important;max-width:min(350px,calc(100vw - 60px))!important;height:auto!important;padding:4px 28px 4px 8px!important;border-radius:6px!important}
body.route-page #map .maplibregl-ctrl-attrib:focus-within .maplibregl-ctrl-attrib-inner{display:block!important}
body.route-page .tc-footer{display:grid!important;grid-template-columns:1.4fr repeat(3,minmax(0,1fr))!important;gap:30px!important;align-items:start!important;padding:28px 4.5vw!important;background:#102d46!important;color:#d1dee8!important}
body.route-page .tc-footer nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:9px!important;margin:0!important}
body.route-page .tc-footer nav strong{font-size:14px!important;color:#f1f5f8!important;margin-bottom:4px!important}
body.route-page .tc-footer nav a{display:block!important;color:#d1dee8!important;font-size:13px!important;line-height:20px!important;text-decoration:none!important}
body.route-page .tc-footer nav a:hover{text-decoration:underline!important;color:#fff!important}
body.route-page .tc-footer-brand .tc-brand{color:#fff!important}
body.route-page .tc-footer-brand p{max-width:260px!important;font-size:13px!important;line-height:1.6!important;color:#bccfdd!important;margin:12px 0 0!important}
body.route-page .location-directory{max-width:1280px;margin:auto;padding:28px 4.5vw!important}
.location-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px 0}
.location-directory-grid>a{display:flex;flex-direction:column;gap:8px;padding:14px;background:#fff;border:1px solid #cbd9e5;border-radius:8px;text-decoration:none;color:#385269}
.location-directory-grid>a:hover{border-color:#7da6c9;background:#f3f8fd}
.location-directory-grid span{font-size:12px;color:#326487}
.location-data-credit{font-size:12px;color:#5b7183}
@media(max-width:760px){body.route-page .tc-footer{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}.location-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){body.route-page .tc-footer{grid-template-columns:minmax(0,1fr)!important}.location-directory-grid{grid-template-columns:minmax(0,1fr)}}

/* Search suggestions are dropdown rows at every viewport, independent of CTA styles. */
.home-search-photo .home-search-field{position:relative!important;min-width:0!important;flex:1!important}
.home-search-photo{overflow:visible!important;align-items:center!important}
.home-search-photo .search-suggestions,
body.route-page .tc-global-search .tc-global-suggestions{
 position:absolute!important;top:calc(100% + 8px)!important;left:0!important;right:0!important;
 display:block!important;width:100%!important;max-height:320px!important;overflow-y:auto!important;
 padding:6px!important;margin:0!important;background:#fff!important;border:1px solid #bdcddd!important;
 border-radius:10px!important;box-shadow:0 12px 28px #142f4930!important;z-index:1200!important;
}
.home-search-photo .search-suggestions[hidden],
body.route-page .tc-global-search .tc-global-suggestions[hidden]{display:none!important}
.home-search-photo .search-suggestions>button,
body.route-page .tc-global-search .tc-global-suggestions>button{
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;
 gap:16px!important;grid-column:auto!important;width:100%!important;min-width:0!important;
 height:auto!important;min-height:48px!important;padding:11px 12px!important;margin:0!important;
 border:0!important;border-bottom:1px solid #e7edf3!important;border-radius:5px!important;
 background:#fff!important;color:#29475f!important;box-shadow:none!important;transform:none!important;
 text-align:left!important;font:inherit!important;font-size:15px!important;line-height:1.4!important;
 white-space:normal!important;cursor:pointer!important;
}
.home-search-photo .search-suggestions>button:last-child,
body.route-page .tc-global-search .tc-global-suggestions>button:last-child{border-bottom:0!important}
.home-search-photo .search-suggestions>button:hover,
.home-search-photo .search-suggestions>button:focus-visible,
body.route-page .tc-global-search .tc-global-suggestions>button:hover,
body.route-page .tc-global-search .tc-global-suggestions>button:focus-visible{
 background:#edf5fc!important;outline:2px solid #4c88b8!important;outline-offset:-2px!important;
}
.home-search-photo .search-suggestions strong,
body.route-page .tc-global-search .tc-global-suggestions strong{font-size:15px!important;font-weight:700!important;color:#29475f!important}
.home-search-photo .search-suggestions span,
body.route-page .tc-global-search .tc-global-suggestions span{
 font-size:13px!important;font-weight:400!important;line-height:1.4!important;color:#61788b!important;text-align:right!important;
}
/* Larger symbols inside summary circles, without increasing card height. */
body.route-page :is(.m6-summary-strip,.section-live-strip)>article .summary-icon{
 width:44px!important;height:44px!important;flex:0 0 44px!important;font-size:27px!important;line-height:1!important;
}
@media(max-width:620px){
 .home-search-photo .search-suggestions>button,
 body.route-page .tc-global-search .tc-global-suggestions>button{gap:8px!important}
 .home-search-photo .search-suggestions span,
 body.route-page .tc-global-search .tc-global-suggestions span{font-size:12px!important;max-width:62%!important}
}

body.route-page :is(.m6-summary-strip,.section-live-strip)>article,
body.route-page .m6-summary-strip>article:last-child{grid-template-columns:44px minmax(0,1fr)!important}

/* Compact map popups also apply on the homepage, which has no route-page class. */
#map .maplibregl-popup-content{box-sizing:border-box!important;width:244px!important;max-width:calc(100vw - 64px)!important;padding:10px!important;border-radius:9px!important}
#map .tc-map-popup{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important}
#map .tc-map-cluster-popup>strong{display:block!important;padding:0 24px 5px 0!important;font-size:14px!important;line-height:1.35!important}
#map .maplibregl-popup-close-button{position:absolute!important;right:5px!important;top:5px!important;width:26px!important;height:26px!important;padding:0!important;border:0!important;background:transparent!important;color:#29475f!important;font-size:24px!important;line-height:1!important;box-shadow:none!important}
#map .tc-cluster-zoom{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:36px!important;height:auto!important;margin:5px 0 8px!important;padding:8px!important;border:0!important;border-radius:5px!important;background:#174c73!important;color:white!important;font-size:13px!important;line-height:18px!important;box-shadow:none!important}
#map .tc-map-cluster-list{max-height:190px!important;overflow-y:auto!important}
#map .tc-map-cluster-item{box-sizing:border-box!important;display:block!important;width:100%!important;min-height:0!important;margin:6px 0 0!important;padding:8px!important;border:1px solid #d5e0ea!important;border-radius:5px!important;background:#f0f5fa!important;color:#29475f!important;text-align:left!important;box-shadow:none!important}
#map .tc-map-cluster-item span{display:block!important;font-size:10px!important;line-height:14px!important}
#map .tc-map-cluster-item b{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;margin:3px 0 0!important;font-size:12px!important;line-height:17px!important}
#map .tc-map-cluster-item small{display:none!important}
#map .tc-cluster-hint{display:block!important;margin-top:7px!important;font-size:11px!important;line-height:15px!important}
@media(max-width:620px){#map .maplibregl-popup-content{width:224px!important}#map .tc-map-cluster-list{max-height:155px!important}}

/* Summary symbols use the same readable size on homepage and inner pages. */
.home-summary-strip-photo .summary-icon,
body.route-page .home-summary-strip-photo .summary-icon,
body.route-page :is(.m6-summary-strip,.section-live-strip)>article .summary-icon{
 display:grid!important;place-items:center!important;width:46px!important;height:46px!important;
 min-width:46px!important;flex:0 0 46px!important;font-size:30px!important;line-height:1!important;
}
body.route-page :is(.m6-summary-strip,.section-live-strip)>article,
body.route-page .m6-summary-strip>article:last-child{grid-template-columns:46px minmax(0,1fr)!important}

/* Let the predictive list extend below the hero instead of clipping its rows. */
.home-hero.home-hero-photo{overflow:visible!important;z-index:3!important}
.home-hero-photo .home-hero-video{clip-path:inset(0)}
.home-hero-photo .home-hero-inner{overflow:visible!important}

.hub-directory{padding:20px!important;margin:0 0 18px!important;border:1px solid #c7d7e5!important;border-radius:10px!important;background:#f4f8fc!important}
.hub-directory h2{font-size:22px!important;color:#385269!important;margin:0 0 14px!important}
.hub-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hub-directory-grid>a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:13px;border:1px solid #b9cddd;border-radius:7px;background:#fff;color:#385269;text-decoration:none;box-shadow:0 2px 4px #17334d0a}
.hub-directory-grid>a strong{font-size:16px;line-height:1.4}
.hub-directory-grid>a span{font-size:12px;line-height:1.4;color:#1c669a;white-space:nowrap}
.hub-directory-grid>a:hover{background:#eaf3fb;border-color:#4c88b8}
.hub-directory-grid>a:focus-visible{outline:3px solid #2086c4;outline-offset:2px}
@media(max-width:800px){.hub-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.hub-directory{padding:14px!important}.hub-directory-grid{grid-template-columns:minmax(0,1fr)}}

/* Compact motorway shortcuts: content-sized rows with no reserved blank space. */
body.route-page .home-route-status-grid>a,
.home-route-status-grid>a{padding:12px!important;gap:6px!important;min-height:0!important;height:auto!important}
body.route-page .home-route-card-head,.home-route-card-head{gap:8px!important}
body.route-page .home-route-card-head .home-road-shield,.home-route-card-head .home-road-shield{width:32px!important;min-width:32px!important;height:32px!important;flex:0 0 32px!important;font-size:14px!important}
body.route-page .home-route-status-grid>a>small,.home-route-status-grid>a>small{min-height:0!important;margin:0!important;font-size:12px!important;line-height:17px!important}
body.route-page .home-route-status-grid>a>em,.home-route-status-grid>a>em{min-height:0!important;margin:2px 0!important;font-size:12px!important;line-height:17px!important}
body.route-page .home-route-action,.home-route-action{min-height:30px!important;margin-top:3px!important;padding:5px 9px!important;font-size:12px!important;line-height:18px!important}
.hub-directory-more{margin-top:10px}
.hub-directory-more>summary,.hub-reports-more{display:flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #5888ac;border-radius:6px;background:#fff;color:#255b82;font:inherit;font-weight:700;text-align:center;cursor:pointer;text-decoration:none}
.hub-directory-more>summary{list-style:none}
.hub-directory-more>summary::-webkit-details-marker{display:none}
.hub-directory-more>summary:after{content:'⌄';margin-left:10px}
.hub-directory-more[open]>summary:after{content:'⌃'}
.hub-directory-more .hub-directory-grid{margin-top:10px}
.hub-reports-more{margin:12px auto 0}
.hub-directory-note{font-size:13px;line-height:1.5;color:#5b7183;margin:0 0 14px}

/* One navigation and accessible shared states across public templates. */
.tc-nav-links{gap:20px!important}
.tc-nav-links a{white-space:nowrap}
[hidden]{display:none!important}
.hub-report-filters{margin-bottom:12px}
#route-direction-stats p{padding:10px 0;margin:0;border-bottom:1px solid #d8e3ec;line-height:1.6}
.map-skip-link{position:absolute;left:-10000px}
.map-skip-link:focus{position:relative;left:0;display:inline-flex;padding:10px;background:#fff;border:2px solid #2086c4;border-radius:5px;z-index:1500;color:#225b84}
#map.leaflet-container{font-family:inherit;z-index:0}
#map .leaflet-popup-content{margin:12px;max-width:224px;color:#385269}
#map .leaflet-popup-content strong{font-size:13px;line-height:1.45}
#map .leaflet-popup-content p{font-size:12px;line-height:1.5;margin:6px 0}
#map .leaflet-control-attribution{font-size:10px!important;line-height:15px!important;max-width:100%;padding:2px 5px}
#map .leaflet-control-zoom a{color:#29475f;background:#fff}
@media(min-width:901px) and (max-width:1200px){.tc-nav-links{gap:12px!important}.tc-nav-links a{font-size:13px!important}}

/* Compact, explicit incident choices in map clusters. */
body.route-page #map .tc-map-cluster-list{flex:0 1 auto!important;max-height:202px!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 4px 2px 0!important}
body.route-page #map .tc-map-cluster-list .tc-map-cluster-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:3px 8px!important;min-height:96px!important;margin:0 0 6px!important;padding:9px 10px!important;border:1px solid #9db8ce!important;background:#edf4fb!important;cursor:pointer!important;border-radius:6px!important;box-shadow:0 1px 2px #173b5812!important}
body.route-page #map .tc-map-cluster-list .tc-map-cluster-item b{grid-column:1/-1!important;font-size:12px!important;line-height:17px!important;margin:0!important}
body.route-page #map .tc-map-cluster-list .tc-map-cluster-item small{display:block!important;grid-column:1/-1!important;font-size:11px!important;line-height:15px!important;color:#526b80!important}
body.route-page #map .tc-map-cluster-list .tc-map-cluster-item .tc-cluster-action{grid-column:1/-1!important;display:block!important;font-size:11px!important;line-height:16px!important;text-transform:none!important;color:#165587!important;font-weight:700!important}
body.route-page #map .tc-map-cluster-item:is(:hover,:active){background:#dceafa!important;border-color:#3679ae!important}
body.route-page #map .tc-map-cluster-item:focus-visible{outline:2px solid #1466d8!important;outline-offset:1px}
body.route-page #map .tc-map-cluster-popup>.tc-cluster-hint{display:block;font-size:10px;color:#526b80;margin-top:5px}
@media(max-width:620px){body.route-page #map .tc-map-cluster-list{max-height:202px!important}}
