/* Strature GPS phase 1: the /gps/ front door and the site home's top three (owner: WP2; sitebuild/hubs/home_gps.py).
   Copied into www/ only with site.config.json phase1.hubs on. Site tokens only; phone first (W-115): one column at 375px,
   the picker card on the first screen, nothing wider than the screen, tap targets at least 44px. The Top 10 list itself
   is styled by hub-top10.css (it prints on /gps/risks/ too). */

/* ---------- H1, the lede, the free line ---------- */
.ph-top{padding:18px 0 28px}
.ph-grid{display:grid;gap:18px}
.ph-top .lbl{display:block;font-size:11px}
/* the H1 takes the site's hero heading (site.css .ph h1: 34px on a phone, 56px/60px from 900px, as /briefs/) */
.ph-top h1{margin-top:8px}
.ph-lede{margin-top:10px;font-size:16px;line-height:1.45;color:var(--ink);max-width:46ch}
.ph-free{margin-top:8px;font:400 13px/1.45 var(--sans);color:var(--graphite);display:flex;gap:8px;align-items:baseline}
.ph-free::before{content:"";flex:0 0 auto;width:7px;height:7px;border-radius:50%;background:var(--verm);transform:translateY(-1px)}

/* ---------- H2, the picker: a card; plain links without JavaScript ---------- */
.card.ph-pick{display:block;gap:0;padding:14px 16px 6px;background:var(--knockout);border:1px solid var(--hair);
  border-top:3px solid var(--navy)}
.ph-ct{margin:0 0 10px;font-family:var(--serif);font-weight:600;font-size:19px;line-height:1.25}
.ph-search{position:relative;margin-bottom:12px}
.ph-search .lbl{display:block;margin-bottom:6px}
.ph-search input{display:block;width:100%;min-height:46px;padding:0 12px;border:1px solid var(--ink);border-radius:0;
  background:var(--paper);font:400 16px/1.2 var(--sans);color:var(--ink)}
.ph-search input:focus-visible{outline:2px solid var(--navy);outline-offset:2px}
.ph-res{position:absolute;left:0;right:0;top:100%;z-index:20;margin:2px 0 0;padding:4px 0;background:var(--knockout);
  border:1px solid var(--ink);max-height:min(60vh,360px);overflow-y:auto}
.ph-res li{display:block}
.ph-res a{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:44px;padding:11px 12px;
  color:var(--ink);text-decoration:none;font:400 15px/1.3 var(--sans)}
.ph-res a .ph-ty{flex:0 0 auto;font:600 10.5px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;color:var(--graphite)}
.ph-res a .ph-rg{display:block;font-size:12.5px;color:var(--graphite);margin-top:2px}
.ph-res [aria-selected="true"] a,.ph-res a:hover{background:var(--tint)}
.ph-res .ph-none{padding:11px 12px;font:400 14px/1.4 var(--sans);color:var(--graphite)}
.ph-tabs{display:flex;border-bottom:1px solid var(--hair);margin:0 -16px 4px;padding:0 16px}
.ph-tabs [role="tab"]{flex:1 1 0;min-height:44px;padding:0 6px;background:none;border:0;border-bottom:3px solid transparent;
  margin-bottom:-1px;font:600 14px/1.2 var(--sans);color:var(--graphite)}
.ph-tabs [role="tab"][aria-selected="true"]{color:var(--ink);border-bottom-color:var(--verm)}
.ph-tabs [role="tab"]:focus-visible{outline-offset:-3px}
.ph-js .ph-ph{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ph-ph{font:600 11px/1.3 var(--sans);letter-spacing:.14em;text-transform:uppercase;color:var(--graphite);margin:4px 0 4px}
.ph-panel + .ph-panel{margin-top:16px}
.ph-js .ph-panel + .ph-panel{margin-top:0}
.ph-reg{border-top:1px solid var(--hair)}
.ph-reg:first-of-type{border-top:0}
.ph-reg summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;
  list-style:none;font:600 15px/1.25 var(--sans)}
.ph-reg summary::-webkit-details-marker{display:none}
.ph-reg summary::after{content:"";width:7px;height:7px;margin-right:6px;border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .12s}
.ph-reg[open] summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.ph-reg summary .num{margin-left:auto;font-size:12.5px;color:var(--graphite);font-weight:400}
.ph-rb{padding:0 0 12px}
.ph-sub{margin:10px 0 2px;font:600 11px/1.3 var(--sans);letter-spacing:.1em;text-transform:uppercase;color:var(--graphite)}
.ph-links,.ph-chips{display:flex;flex-wrap:wrap;gap:0 18px;margin:0;padding:0;list-style:none}
.ph-links a{display:inline-flex;align-items:center;min-height:40px;font:400 15px/1.3 var(--sans);color:var(--ink)}
.ph-chips{gap:8px;margin:6px 0 4px}
.ph-chips a{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border:1px solid var(--hair);
  background:var(--paper);font:500 14px/1.2 var(--sans);color:var(--ink);text-decoration:none}
.ph-chips a:hover{border-color:var(--ink)}
.ph-eu{margin:2px 0 4px}
.ph-all{margin:2px 0 6px}

/* ---------- H3, H4: the Top 10 section ---------- */
.ph-t10{padding:28px 0 32px}
.ph-t10-head{display:grid;gap:4px;margin-bottom:14px}
.ph-t10-head h2{font-family:var(--serif);font-weight:600;font-size:26px;line-height:1.15}
.ph-fresh{font:400 13px/1.45 var(--sans);color:var(--graphite)}
.ph-fresh a{color:var(--ink)}

/* ---------- H5: other ways in ---------- */
.ph-ways{padding:28px 0}
.ph-ways h2{font-family:var(--serif);font-weight:600;font-size:24px;line-height:1.2;margin-bottom:12px}
.ph-doors{display:grid;gap:0;margin:0;padding:0;list-style:none;border-top:2px solid var(--ink)}
.ph-door article{padding:14px 0 16px;border-bottom:1px solid var(--hair);display:grid;gap:6px}
.ph-door h3{font-family:var(--serif);font-weight:600;font-size:20px;line-height:1.2}
.ph-door h3 a{color:var(--ink);text-decoration:none}
.ph-door h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.ph-dn{font:400 12.5px/1.3 var(--sans);color:var(--graphite)}
.ph-door p{font-size:15.5px;line-height:1.45}
.ph-dl{display:flex;flex-wrap:wrap;gap:0 18px;margin:0;padding:0;list-style:none}
.ph-dl a{display:inline-flex;align-items:center;min-height:44px;font:600 14px/1.2 var(--sans);color:var(--ink)}

/* ---------- H6: the map of brief questions, on tap ---------- */
.ph-mapdoor{padding:28px 0 20px;border-top:1px solid var(--hair)}
.ph-mapdoor h2{font-family:var(--serif);font-weight:600;font-size:24px;line-height:1.2}
.ph-mapdoor p{margin-top:8px;max-width:60ch}
.ph-map .gps-hero h2{font-family:var(--serif);font-weight:600;font-size:26px;line-height:1.1;letter-spacing:-.015em;
  text-wrap:balance;max-width:24ch}

/* ---------- H7, H8 and the notes ---------- */
.ph-method{padding:8px 0 20px}
.ph-fold{border-top:1px solid var(--hair);border-bottom:1px solid var(--hair)}
.ph-fold > summary{display:flex;align-items:center;min-height:48px;cursor:pointer;font:600 15px/1.3 var(--sans)}
.ph-fold > summary::marker{color:var(--graphite)}
.ph-fold[open] > summary{border-bottom:1px solid var(--hair);margin-bottom:12px}
.ph-fold h3{margin:18px 0 6px;font:600 15px/1.3 var(--sans)}
.ph-last{padding-left:1.4em;list-style:decimal;margin-bottom:12px}
.ph-foot{padding:4px 0 20px}
.ph-signal{font:400 14.5px/1.5 var(--sans);display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center}

/* ---------- the site home: the top three in the navy GPS band ---------- */
.t3{margin-top:20px;padding-top:14px;border-top:1px solid rgba(251,249,245,.28)}
.t3-h{display:block;color:rgba(251,249,245,.78)}
.t3-list{margin:6px 0 0;padding:0;list-style:none;display:grid;gap:4px}
.t3-item{display:grid;gap:4px;padding:8px 0;border-bottom:1px solid rgba(251,249,245,.14)}
.t3-title{display:flex;gap:12px;align-items:baseline;color:var(--white);text-decoration:none;font:500 17px/1.3 var(--serif)}
.t3-title:hover .t3-t{text-decoration:underline;text-underline-offset:4px}
.t3-rank{flex:0 0 auto;font:500 22px/1 var(--serif);color:var(--coral)}
.t3 .hb-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 0 26px;padding:0;list-style:none}
.t3 .hb-chip{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:6px;padding:3px 8px;font:400 12.5px/1.35 var(--sans);
  border:1px solid rgba(251,249,245,.4)}
.t3 .hb-ck{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:rgba(251,249,245,.72)}
.t3 .hb-cv{color:var(--white);font-weight:600;text-decoration:none}
.t3 .fl-n{white-space:normal}
.t3 .t10-dated{display:block;margin-left:26px;font:400 12.5px/1.45 var(--sans);color:rgba(251,249,245,.86);overflow-wrap:anywhere}
.t3 .t10-dated time{font-weight:600;color:var(--white)}
.t3-all{margin-top:6px}
.t3-all .tl{color:var(--white)}

@media (min-width:900px){
  .ph-top{padding:36px 0 44px}
  .ph-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
  .ph-lede{font-size:18px;margin-top:16px}
  .card.ph-pick{padding:18px 22px 10px}
  .ph-tabs{margin:0 -22px 6px;padding:0 22px}
  .ph-t10{padding:44px 0 48px}
  .ph-t10-head{grid-template-columns:auto 1fr;align-items:baseline;gap:20px}
  .ph-t10-head h2{font-size:32px}
  .ph-t10-head .ph-fresh{text-align:right}
  .ph-doors{grid-template-columns:repeat(4,minmax(0,1fr));gap:0 28px}
  .ph-ways{padding:44px 0}
  .ph-map .gps-hero h2{font-size:40px}
}
@media (prefers-reduced-motion:reduce){.ph-reg summary::after{transition:none}}
