/* Independent RAILMAP station directory: no cloned branding, no maps. */
.sp-content{padding-top:16px;min-width:0}.sp-header-link{font-size:12px;color:#2363b8;font-weight:800;border-radius:10px;background:#eaf3ff;padding:10px 12px}
.sp-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#7a8b9e;font-size:11px;margin:15px 0 17px}.sp-breadcrumb a{color:#1f69b7}
.sp-hero{margin-bottom:18px}.sp-eyebrow{color:#1765bf;font-weight:900;font-size:11px;letter-spacing:.09em}.sp-hero h1{font-size:clamp(23px,5vw,31px);color:#1d3046;line-height:1.3;margin:9px 0 10px;letter-spacing:-1px}.sp-hero p{color:#6f7f95;font-size:13px;line-height:1.75;margin:0;word-break:keep-all}
.sp-card{border:1px solid #e2eaf3;border-radius:17px;background:#fff;padding:20px;margin:0 0 15px;box-shadow:0 5px 19px #1b375008;min-width:0}.sp-card h2{font-size:17px;color:#243b58;margin:0 0 12px;letter-spacing:-.5px}.sp-card p{font-size:12px;line-height:1.8;color:#6c7d91;margin:0 0 15px;word-break:keep-all}.sp-card p strong{color:#3c5876}
.sp-region-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sp-region-list .sp-card{margin:0}.sp-region-list .sp-link{padding:11px 0}.sp-link-list{display:flex;flex-direction:column}.sp-link{display:flex;align-items:center;gap:9px;padding:14px 0;border-top:1px solid #ebf0f5;min-width:0}.sp-link strong{font-size:13px;color:#1c3656;flex:none}.sp-link small{flex:1;min-width:0;color:#8192a3;font-size:11px;line-height:1.4;word-break:keep-all}.sp-link span{margin-left:auto;color:#286fc2;font-size:18px}.sp-link:first-child{border-top:0}.sp-link:hover strong{color:#185fae}.sp-link:focus-visible{border-radius:5px}
.sp-tags{display:flex;flex-wrap:wrap;gap:7px}.sp-tags span{background:#edf6fe;border-radius:99px;color:#2a6399;padding:7px 11px;font-size:11px;font-weight:750}
.sp-secondary-link{border:1px solid #b8d3f8;background:#eaf3ff;color:#2063b6;font-size:12px;font-weight:800;border-radius:9px;padding:10px 13px;display:inline-block;text-decoration:none;cursor:pointer}.sp-external{display:flex;gap:10px;flex-wrap:wrap}.sp-external a{border-radius:9px;padding:10px 13px;font-size:12px;font-weight:750;color:#1461bd;background:#edf6ff}
.sp-route-form{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.sp-route-form label{font-size:12px;font-weight:800;color:#5e758e}.sp-route-form input,.sp-route-form select{width:100%;min-width:0;border:1px solid #d9e5f1;background:#fff;padding:12px 9px;font-size:16px;color:#294562;border-radius:9px}.sp-route-form button{grid-column:1/-1;border:0;border-radius:11px;background:#2168e8;color:#fff;padding:15px 12px;font-size:14px;font-weight:850;cursor:pointer}.sp-route-form button:disabled{opacity:.65}
.sp-result-status{font-size:12px;line-height:1.6;margin:14px 0;color:#6c8197}.sp-result-status[data-status='error']{color:#b65037}.sp-result-status[data-status='ok']{color:#18836d}.sp-result-status[data-status='warning']{color:#a46c17}
.sp-route-results{border-radius:12px;background:#f8fafc;min-height:52px;padding:2px 0;color:#687f96;font-size:13px;line-height:1.7}.sp-route-results>.sp-loading{padding:15px}.sp-route-results .timetable-shell{box-shadow:none}.sp-disclaimer{font-size:11px!important;line-height:1.7!important;color:#77899b!important;margin:15px 0 0!important}
@media(max-width:490px){.sp-card{padding:17px 15px}.sp-region-list{grid-template-columns:minmax(0,1fr)}.sp-link small{font-size:10px}.sp-hero h1{font-size:24px}.sp-route-form{gap:8px}}
/* Nationwide rail station directory, mobile-first. */
.sp-province-chips{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:16px 0}
.sp-province-chip{border:1px solid #d8e4f0;background:#fff;color:#42617f;border-radius:9px;padding:11px 3px;font-size:12px;font-weight:800;min-width:0;cursor:pointer}
.sp-province-chip.active,.sp-province-chip[aria-pressed='true']{background:#2168e8;color:#fff;border-color:#2168e8}
.sp-directory-label{display:block;font-size:12px;font-weight:800;color:#3b5571;margin:12px 0 7px}
.sp-directory-input{display:block;width:100%;min-width:0;border:1px solid #d6e4f1;border-radius:11px;background:#fff;font-size:16px;padding:13px;color:#193957}
.sp-directory-status{color:#667d96;font-size:11px;line-height:1.6;margin:12px 0!important}
.sp-directory-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.sp-station-item{display:flex;align-items:center;gap:6px;border:1px solid #e4edf6;border-radius:10px;padding:12px 10px;min-width:0;background:#fcfdff}
.sp-station-item strong{font-size:12px;color:#204568;overflow-wrap:anywhere}.sp-station-item small{font-size:10px;color:#71859b;display:block;line-height:1.4}.sp-station-item span{color:#2168e8;margin-left:auto;font-size:14px}
.sp-directory-empty{grid-column:1/-1;color:#78869a;font-size:12px;line-height:1.7}
.sp-more{display:block;width:100%;margin-top:11px;background:#eaf3ff;color:#175dae;border:1px solid #b8d3f7;border-radius:10px;padding:13px;font-weight:800}
#spDestinationPicker{display:flex;flex-direction:column;gap:8px;margin:17px 0;padding:15px;border-radius:12px;background:#f4f8ff}
#spDestinationPicker label{font-size:12px;font-weight:800;color:#2c537d}
#spDestinationPicker select{width:100%;font-size:16px;padding:12px 8px;color:#294866;background:#fff;border:1px solid #dbe5f1;border-radius:9px}
#spDestinationGo{border:0;border-radius:10px;padding:13px;background:#2168e8;color:#fff;font-weight:800}
#spDestinationGo:disabled{opacity:.55}
@media(max-width:400px){.sp-province-chips{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.sp-directory-results{grid-template-columns:minmax(0,1fr)}.sp-province-chip{font-size:11px}}
/* Detailed route: retry an unavailable public provider without hiding the itinerary. */
.sp-fetch-failure{border:1px solid #e3e8ee;border-radius:12px;padding:14px;background:#fff;display:flex;flex-wrap:wrap;gap:10px}
.sp-fetch-failure p{flex:0 0 100%;font-size:12px;line-height:1.6;margin:0;color:#5e7088}
.sp-retry-button{border:0;background:#2168e8;color:#fff;font-weight:800;border-radius:9px;padding:10px 13px;cursor:pointer;font-size:12px}

/* Only validated timetable links are shown for a selected departure day. */
.sp-date-check{display:grid;gap:7px;margin:13px 0}.sp-date-check label{font-size:12px;font-weight:750;color:#4b6482}.sp-date-check input{width:100%;border:1px solid #d4e2ef;border-radius:10px;padding:12px;font-size:16px;background:#fff;color:#243c59}.sp-verified-route[hidden]{display:none!important}
