/* City Safety Guides (1.0.173): owner-approved mockup look; navy band, cream page,
   white cards, Georgia headings, orange calls to action. */
.hts-city-page{--c-bg:#f7f5f0;--c-line:#e4e1da;--c-text:#122238;--c-muted:#66717c;--c-orange:#f36b21;--c-navy:#0b1f33;--c-soft:#fde9de;background:var(--c-bg);color:var(--c-text);padding-bottom:40px}
.hts-city-page *{box-sizing:border-box}
.hts-city-page h1,.hts-city-page h2,.hts-city-page h3{font-family:Georgia,"Times New Roman",serif;font-weight:700;color:var(--c-navy)}
.hts-city-page svg.hts-city-ico{width:18px!important;height:18px!important;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;display:inline-block;vertical-align:-3px}
.hts-city-map svg{width:auto!important;height:auto!important;display:block}

/* Navy title band */
.hts-city-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px;align-items:center;background:var(--c-navy);color:#fff;padding:26px 4vw 30px}
.hts-city-crumbs{font-size:12px;color:#9fb0c0;margin-bottom:10px}
.hts-city-crumbs a{color:#cfd9e2;text-decoration:none}
.hts-city-crumbs a:hover{color:#fff}
.hts-city-kicker{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--c-orange);margin-bottom:8px}
.hts-city-hero h1{margin:0 0 10px;font-size:40px;line-height:1.12;color:#fff}
.hts-city-hero p{margin:0 0 8px;font-size:17px;line-height:1.6;color:#e6edf3;max-width:820px}
.hts-city-hero small{font-size:12px;color:#9fb0c0}
.hts-city-herostats{display:grid;grid-template-columns:repeat(3,112px);gap:10px}
.hts-city-herostats div{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.05);border-radius:10px;padding:16px 8px;text-align:center}
.hts-city-herostats b{display:block;font-family:Georgia,serif;font-size:32px;line-height:1.1;color:#fff}
.hts-city-herostats span{display:block;font-size:12px;line-height:1.3;color:#cfd9e2;margin-top:6px}

.hts-city-body{padding:22px 4vw 0}
.hts-city-card{background:#fff;border:1px solid var(--c-line);border-radius:10px;padding:18px 20px;box-shadow:0 2px 10px rgba(11,31,51,.05)}
.hts-city-card h2,.hts-city-section>h2{margin:0 0 14px;font-size:26px}
.hts-city-section{margin-bottom:26px}

/* Big call cards */
.hts-city-calls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:12px}
.hts-city-call-card{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--c-line);border-radius:10px;padding:16px 18px;text-decoration:none;box-shadow:0 2px 10px rgba(11,31,51,.05)}
.hts-city-call-card:hover{border-color:var(--c-orange)}
.hts-city-callico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:var(--c-soft);color:var(--c-orange)}
.hts-city-callico svg.hts-city-ico{width:26px!important;height:26px!important;fill:var(--c-orange)!important;stroke:var(--c-orange)!important}
.hts-city-call-card b{display:block;font-family:Georgia,serif;font-size:30px;line-height:1;color:var(--c-orange)}
.hts-city-call-card em{display:block;font-style:normal;font-family:Georgia,serif;font-size:17px;font-weight:700;color:var(--c-navy);margin-top:4px}
.hts-city-morecalls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:8px}
.hts-city-morecalls a{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid var(--c-line);border-radius:10px;padding:10px 14px;text-decoration:none;color:var(--c-text);font-size:13px}
.hts-city-morecalls a:hover{border-color:var(--c-orange)}
.hts-city-morecalls svg.hts-city-ico{color:var(--c-orange);margin-top:2px}
.hts-city-morecalls b{font-size:15px;color:var(--c-navy);white-space:nowrap}
.hts-city-morecalls small{display:block;color:var(--c-muted);font-size:11px;margin-top:2px}
.hts-city-callnote{margin:0 0 20px;font-size:12px;color:var(--c-muted)}

/* Map and latest incidents */
.hts-city-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:16px;margin:8px 0 28px;align-items:stretch}
.hts-city-mapcard{border:1px solid var(--c-line);border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(11,31,51,.05);background:#e9eef1;min-height:420px}
.hts-city-map{height:100%;min-height:420px;z-index:1}
.hts-city-map .leaflet-tile-pane{filter:grayscale(.35) brightness(1.03) contrast(.95)}
.hts-city-latest{display:flex;flex-direction:column}
.hts-city-latest h2{font-size:24px}
.hts-city-list{list-style:none;margin:0;padding:0;flex:1;max-height:380px;overflow:auto}
.hts-city-list li{border-bottom:1px solid var(--c-line)}
.hts-city-list li:last-child{border-bottom:0}
.hts-city-list a{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center;padding:10px 0;text-decoration:none;color:var(--c-text)}
.hts-city-list img,.hts-city-nothumb{width:96px;height:62px;object-fit:cover;border-radius:6px;display:block}
.hts-city-list b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.35}
.hts-city-list a:hover b{color:var(--c-orange)}
.hts-city-list small{display:block;font-size:12px;color:var(--c-muted);margin-top:3px}
.hts-city-empty{color:var(--c-muted);font-size:13px;padding:10px 0}
.hts-city-more{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-weight:800;font-size:14px;color:var(--c-orange);text-decoration:none}

/* Risks */
.hts-city-risks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hts-city-riskhead{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.hts-city-riskico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;flex:0 0 56px;border-radius:50%;background:var(--c-soft);color:var(--c-orange)}
.hts-city-riskico svg.hts-city-ico{width:28px!important;height:28px!important}
.hts-city-risk h3{margin:0;font-size:18px;line-height:1.3}
.hts-city-risk p{margin:0;font-size:14px;line-height:1.6;color:#3a4654}

/* Stations */
.hts-city-sub{margin:-8px 0 14px;font-size:14px;color:var(--c-muted)}
.hts-city-table{width:100%;border-collapse:collapse;font-size:14px;border:1px solid var(--c-line);border-radius:8px;overflow:hidden}
.hts-city-table th{text-align:left;font-size:13px;font-weight:800;color:var(--c-navy);background:#eef0f2;padding:10px 14px}
.hts-city-table td{padding:10px 14px;border-top:1px solid var(--c-line);vertical-align:middle}
.hts-city-table tr.is-extra{display:none}
.hts-city-stations.show-all tr.is-extra{display:table-row}
.hts-city-callbtn{display:inline-block;background:var(--c-orange);color:#fff!important;text-decoration:none;font-weight:800;font-size:13px;padding:6px 16px;border-radius:6px;margin-right:10px}
.hts-city-table td small{color:var(--c-muted);font-size:12px}
.hts-city-muted{color:var(--c-muted)}
.hts-city-showall,.hts-city-print{margin-top:14px;border:1px solid var(--c-orange);background:#fff;color:var(--c-orange);font:inherit;font-weight:800;font-size:14px;padding:9px 18px;border-radius:8px;cursor:pointer}
.hts-city-showall:hover,.hts-city-print:hover{background:var(--c-orange);color:#fff}
.hts-city-note{font-size:12px;line-height:1.55;color:var(--c-muted);margin:12px 0 0}

/* Checklist */
.hts-city-checkcols{display:grid;grid-template-columns:1fr 1fr;gap:6px 36px}
.hts-city-checkcols ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.hts-city-checkcols ul + ul{border-left:1px solid var(--c-line);padding-left:36px}
.hts-city-checkcols label{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.5;cursor:pointer}
.hts-city-checkcols input{width:18px;height:18px;margin-top:3px;flex:0 0 18px;accent-color:var(--c-orange)}
.hts-city-checkcols input:checked + span{color:var(--c-muted);text-decoration:line-through}
.hts-city-print{background:var(--c-orange);color:#fff}

/* Related */
.hts-city-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hts-city-rel{display:flex;flex-direction:column;gap:8px;text-decoration:none;color:var(--c-text);padding:12px}
.hts-city-rel img{width:100%;height:170px;object-fit:cover;border-radius:6px}
.hts-city-rel b{font-family:Georgia,serif;font-size:19px;line-height:1.3;color:var(--c-navy)}
.hts-city-rel p{margin:0;font-size:14px;line-height:1.55;color:var(--c-muted)}
.hts-city-rel span{display:inline-flex;align-items:center;gap:6px;color:var(--c-orange);font-weight:800;font-size:14px;margin-top:auto}

/* Facts and sources */
.hts-city-facts{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px 24px}
.hts-city-facts div{border-left:3px solid var(--c-orange);padding-left:12px}
.hts-city-facts dt{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:var(--c-muted)}
.hts-city-facts dd{margin:2px 0 0;font-size:14px;line-height:1.5}
.hts-city-sources summary{cursor:pointer;font-family:Georgia,serif;font-weight:700;font-size:18px;color:var(--c-navy)}
.hts-city-sources ul{margin:12px 0 0;padding-left:18px;font-size:13px;line-height:1.8}
.hts-city-sources a{color:var(--c-text)}

/* Hub */
.hts-city-hubgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.hts-city-hubcard{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:var(--c-text)}
.hts-city-hubcard b{font-family:Georgia,serif;font-size:22px;color:var(--c-navy)}
.hts-city-hubcard span{font-size:13px;color:var(--c-muted)}
.hts-city-hubcard em{font-style:normal;color:var(--c-orange);font-weight:800;font-size:14px}

@media print{.hts-global-header,.hts-global-footer,.hts-city-hero,.hts-city-calls,.hts-city-morecalls,.hts-city-callnote,.hts-city-grid,.hts-city-section:not(.hts-city-checklist),.hts-city-sources,.hts-city-print{display:none!important}.hts-city-checklist{border:0;box-shadow:none}}
@media(max-width:1100px){.hts-city-calls{grid-template-columns:repeat(2,minmax(0,1fr))}.hts-city-risks,.hts-city-related{grid-template-columns:repeat(2,minmax(0,1fr))}.hts-city-hero{grid-template-columns:1fr}.hts-city-herostats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.hts-city-grid{grid-template-columns:1fr}.hts-city-morecalls{grid-template-columns:1fr}.hts-city-mapcard,.hts-city-map{min-height:340px}}
@media(max-width:640px){
  .hts-city-hero{padding:18px 16px 22px;gap:16px}
  .hts-city-hero h1{font-size:28px}
  .hts-city-hero p{font-size:15px}
  .hts-city-herostats{gap:8px}
  .hts-city-herostats div{padding:10px 4px}
  .hts-city-herostats b{font-size:24px}
  .hts-city-body{padding:16px 14px 0}
  .hts-city-calls{gap:10px}
  .hts-city-call-card{flex-direction:column;align-items:flex-start;gap:8px;padding:12px}
  .hts-city-callico{width:42px;height:42px;flex-basis:42px}
  .hts-city-call-card b{font-size:26px}
  .hts-city-card h2,.hts-city-section>h2{font-size:22px}
  .hts-city-risks,.hts-city-related{grid-template-columns:1fr}
  .hts-city-checkcols{grid-template-columns:1fr}
  .hts-city-checkcols ul + ul{border-left:0;padding-left:0}
  .hts-city-table thead{display:none}
  .hts-city-table,.hts-city-table tbody{display:block;border:0}
  .hts-city-table tr{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:10px 0;border-top:1px solid var(--c-line)}
  .hts-city-stations.show-all tr.is-extra{display:grid}
  .hts-city-table td{border:0;padding:0}
  .hts-city-table td:nth-child(2){grid-column:1;grid-row:2;color:var(--c-muted);font-size:13px}
  .hts-city-table td:nth-child(3){grid-column:2;grid-row:1/3;align-self:center;text-align:right}
  .hts-city-table td small{display:none}
  .hts-city-callbtn{margin-right:0}
}
/* 1.0.174: all stations in one scrollable box with a fixed header row */
.hts-city-tablebox{max-height:430px;overflow:auto;border:1px solid var(--c-line);border-radius:8px;-webkit-overflow-scrolling:touch}
.hts-city-tablebox .hts-city-table{border:0;border-radius:0}
.hts-city-tablebox thead th{position:sticky;top:0;z-index:1}
@media(max-width:640px){.hts-city-tablebox{max-height:420px;padding:0 12px}.hts-city-tablebox .hts-city-table tr:first-child{border-top:0}}
/* 1.0.176: other cities chooser */
.hts-city-switch{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;font-size:14px}
.hts-city-switch span{font-weight:800;color:var(--c-muted)}
.hts-city-switch a{display:inline-block;padding:6px 14px;border:1px solid var(--c-line);border-radius:999px;background:#fff;color:var(--c-navy);font-weight:700;text-decoration:none}
.hts-city-switch a:hover{border-color:var(--c-orange);color:var(--c-orange)}
.hts-city-switch a.hts-city-switch-all{border-color:var(--c-orange);color:var(--c-orange)}
/* 1.0.177 City Safety Guides page */
.hts-city-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hts-hub-search{display:flex;align-items:center;gap:10px;margin-top:16px;max-width:520px;background:#fff;border-radius:999px;padding:4px 6px 4px 16px;box-shadow:0 4px 16px rgba(0,0,0,.18)}
.hts-hub-search svg.hts-city-ico{color:var(--c-muted)}
.hts-hub-search input{flex:1;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:var(--c-text);padding:10px 4px;min-width:0}
.hts-hub-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:16px;margin-bottom:22px;align-items:stretch}
.hts-hub-mapcard{border:1px solid var(--c-line);border-radius:10px;overflow:hidden;box-shadow:0 2px 10px rgba(11,31,51,.05);background:#e9eef1}
.hts-hub-map{height:380px;z-index:1}
.hts-hub-map svg{width:auto!important;height:auto!important;display:block}
.hts-hub-map .leaflet-tile-pane{filter:grayscale(.35) brightness(1.03) contrast(.95)}
.hts-hub-help{display:flex;flex-direction:column;gap:12px}
.hts-hub-help h2{font-size:22px;margin:0}
.hts-hub-help p{margin:auto 0 0;font-size:14px;color:var(--c-muted);line-height:1.55}
.hts-hub-bigcall{display:flex;align-items:center;gap:14px;border:1px solid var(--c-line);border-radius:10px;padding:12px 14px;text-decoration:none}
.hts-hub-bigcall:hover{border-color:var(--c-orange)}
.hts-hub-bigcall svg.hts-city-ico{width:44px!important;height:44px!important;flex:0 0 44px;padding:10px;border-radius:50%;background:var(--c-soft);color:var(--c-orange);fill:var(--c-orange)!important;stroke:var(--c-orange)!important}
.hts-hub-bigcall b{display:block;font-family:Georgia,serif;font-size:26px;line-height:1;color:var(--c-orange)}
.hts-hub-bigcall em{display:block;font-style:normal;font-size:13px;font-weight:700;color:var(--c-navy);margin-top:3px}
.hts-hub-states{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.hts-hub-states button{border:1px solid var(--c-line);background:#fff;border-radius:999px;padding:8px 16px;font:inherit;font-size:14px;font-weight:700;color:var(--c-navy);cursor:pointer}
.hts-hub-states button.is-active{background:var(--c-orange);border-color:var(--c-orange);color:#fff}
.hts-hub-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hts-hub-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.hts-hub-card[hidden]{display:none}
.hts-hub-photo{position:relative;display:block;height:150px;background:var(--c-navy)}
.hts-hub-photo img{width:100%;height:100%;object-fit:cover;display:block;opacity:.9}
.hts-hub-photo span{position:absolute;left:12px;bottom:10px;background:rgba(11,31,51,.85);color:#fff;font-size:12px;font-weight:800;padding:4px 10px;border-radius:999px}
.hts-hub-cardbody{padding:14px 16px 16px;display:flex;flex-direction:column;gap:10px;flex:1}
.hts-hub-cardbody h2{margin:0;font-size:24px}
.hts-hub-cardbody h2 a{color:var(--c-navy);text-decoration:none}
.hts-hub-cardbody h2 a:hover{color:var(--c-orange)}
.hts-hub-nums{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;color:var(--c-muted)}
.hts-hub-nums b{color:var(--c-navy);font-size:15px}
.hts-hub-call{display:flex;align-items:center;gap:10px;background:var(--c-soft);border-radius:8px;padding:9px 12px;text-decoration:none;color:var(--c-navy);font-size:13px}
.hts-hub-call svg.hts-city-ico{color:var(--c-orange);fill:var(--c-orange)!important;stroke:var(--c-orange)!important}
.hts-hub-call b{font-size:15px;white-space:nowrap}
.hts-hub-open{display:inline-flex;align-items:center;gap:6px;margin-top:auto;font-weight:800;font-size:14px;color:var(--c-orange);text-decoration:none}
.hts-hub-empty{background:#fff;border:1px dashed var(--c-line);border-radius:10px;padding:16px;font-size:14px;color:var(--c-muted)}
.hts-hub-empty[hidden]{display:none}
@media(max-width:1100px){.hts-hub-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.hts-hub-grid{grid-template-columns:1fr}.hts-hub-map{height:320px}}
@media(max-width:640px){.hts-hub-cards{grid-template-columns:1fr}.hts-hub-photo{height:130px}.hts-hub-search{margin-top:12px}}
