/* Location hub template H "Flight logbook" (state hubs beyond the drive: Nevada, Alaska, Hawaii, Puerto Rico; batch 5), prefix phh-.
   Loaded after mid.css and p-loc-hubx.css (front matter: extra: mid, p-loc-hubx, p-loc-hub8). Shared sections (answer, services,
   industries, why, ways, migrations, cost) use phx- from p-loc-hubx; this file styles only the Hub H designs: hero pilot's logbook,
   #products scoreboard skin, #workflows flight plans, #architecture hub board (dark band), #landscape window-seat tiles, #cities
   boarding passes, #rules pre-flight checklist, #how four-gauge panel + boarding groups. Behaviour: p-loc-hub8.js.
   Mid kit on Hub H pages: G scoreboard (#products), B flip cards (#landscape), J heatmap (#why-etg), + data-mk-group staggers. */
.phh-hero, .phh-prod, .phh-plans-sec, .phh-hub, .phh-land, .phh-cities, .phh-rules, .phh-how {
  --phh-ink: #082238; --phh-body: #334155; --phh-muted: #475569; --phh-line: #E2E8F0; --phh-link: #0A5C8C; --phh-amber: #FFB81C;
  --phh-paper: #FDFCF7; --phh-rule: #D6E4F0; --phh-margin: #D9534F; --phh-cover: #12305A; --phh-red: #B4432A;
}
.phh-hero a:focus-visible, .phh-hero button:focus-visible, .phh-plans-sec button:focus-visible, .phh-hub button:focus-visible,
.phh-cities a:focus-visible, .phh-rules button:focus-visible, .phh-land a:focus-visible { outline: 3px solid #FFB81C; outline-offset: 2px; }
.phh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- 1. Hero: pilot's logbook ---------- */
.phh-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
.phh-hero .pg-h1 { max-width: 17ch; font-size: clamp(34px, 1.1rem + 2.4vw, 54px); }
.phh-hero .pg-h1 .hp-mark { white-space: nowrap; }
.phh-hero__sub { margin: 18px 0 0; font: 600 clamp(17px, 1rem + .3vw, 20px)/1.5 var(--f-display); color: var(--phh-ink); max-width: 46ch; }
.phh-hero .pg-lead { font-size: 17px; }

.phh-log { position: relative; min-width: 0; }
.phh-log__page { position: relative; padding: 20px 20px 18px 34px; border-radius: 6px 18px 18px 6px; background:
    linear-gradient(90deg, transparent 22px, rgba(217,83,79,.55) 22px 23.5px, transparent 23.5px),
    repeating-linear-gradient(180deg, var(--phh-paper) 0 31px, var(--phh-rule) 31px 32px);
  border: 1px solid #E4DCC6; box-shadow: -10px 0 0 -2px var(--phh-cover), -10px 0 0 0 #0A2140, 0 40px 80px -50px rgba(8,34,56,.75); }
.phh-log__page::before { content: ""; position: absolute; left: -10px; top: 18px; bottom: 18px; width: 10px;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255,255,255,.35) 22px 26px); pointer-events: none; }
.phh-log__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--phh-ink); }
.phh-log__title { margin: 0; font: 800 clamp(20px, 1rem + .6vw, 25px)/1.15 var(--f-display); color: var(--phh-ink); letter-spacing: -.02em; }
.phh-log__title small { display: block; margin-top: 4px; font: 600 13px/1.35 var(--f-body); color: var(--phh-muted); letter-spacing: 0; }
.phh-log__tag { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 2px solid var(--phh-red); border-radius: 6px; color: var(--phh-red);
  font: 800 11px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; transform: rotate(-4deg); background: rgba(255,255,255,.7); }
.phh-log__tag svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.phh-log__cols { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; padding: 8px 6px 4px; font: 700 11px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--phh-muted); }
.phh-log__rows { margin: 0; padding: 0; list-style: none; }
.phh-entry { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; min-height: 52px; padding: 7px 6px; border: 0;
  border-bottom: 1px dashed #C9D6E3; background: transparent; color: var(--phh-ink); text-align: left; cursor: pointer; border-radius: 8px; transition: background-color .25s; }
.phh-entry:hover { background: rgba(10,111,168,.06); }
.phh-entry__n { font: 800 15px/1 var(--f-display); color: var(--c, #0A6FA8); font-variant-numeric: tabular-nums; }
.phh-entry__route { font: 700 15.5px/1.3 var(--f-body); }
.phh-entry__route small { display: block; font: 500 13px/1.35 var(--f-body); color: var(--phh-muted); }
.phh-entry__clk { font: 600 12.5px/1.2 var(--f-body); color: var(--phh-muted); white-space: nowrap; }
.phh-entry[aria-expanded="true"] { background: #fff; box-shadow: inset 4px 0 0 var(--c, #0A6FA8), 0 10px 24px -18px rgba(8,34,56,.6); }
.phh-entry[aria-expanded="true"] .phh-entry__clk { color: var(--phh-ink); }
.phh-log__cards { display: grid; gap: 12px; margin-top: 14px; }
.phh-card { position: relative; padding: 14px 16px 12px; border-radius: 12px; background: #fff; border: 1px solid #E3E9F0; border-left: 4px solid var(--c, #0A6FA8); }
.phh-log.is-js .phh-card.is-open { animation: phhIn .45s cubic-bezier(.2,.8,.3,1); }
@keyframes phhIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.phh-card__name { margin: 0; font: 800 18px/1.2 var(--f-display); color: var(--phh-ink); letter-spacing: -.01em; }
.phh-card__name small { display: block; margin-top: 3px; font: 500 13px/1.4 var(--f-body); color: var(--phh-muted); letter-spacing: 0; }
.phh-card__dl { margin: 10px 0 0; display: grid; gap: 6px; }
.phh-card__dl > div { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 10px; }
.phh-card__dl dt { font: 700 11.5px/1.5 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--phh-muted); }
.phh-card__dl dd { margin: 0; font: 600 14.5px/1.45 var(--f-body); color: var(--phh-ink); }
.phh-card__dl dd a { display: inline-flex; align-items: center; min-height: 26px; color: var(--phh-link); font-weight: 700; }
.phh-card__rem { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed #D7E0EA; font: 500 14px/1.45 var(--f-body); color: var(--phh-body); font-style: italic; }
.phh-card__rem b { margin-right: 6px; font-style: normal; font-weight: 800; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--phh-red); }
.phh-log__act { display: none; }
.phh-log.is-js .phh-log__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; }
.phh-log__send, .phh-pre__send { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 99px; background: #082238; color: #fff;
  font: 700 15px/1.2 var(--f-body); cursor: pointer; transition: background-color .25s, transform .25s; }
.phh-log__send:hover, .phh-pre__send:hover { background: #0A3A63; transform: translateY(-1px); }
.phh-log__status, .phh-pre__say { flex: 1 1 220px; margin: 0; font-size: 14px; line-height: 1.45; color: var(--phh-muted); }
.phh-log__status.is-done { color: #166534; font-weight: 600; }

/* ---------- 4. Products: G scoreboard skin ---------- */
.phh-score { margin-top: 26px; }
.phh-score .mk-score__rows h3 { letter-spacing: -.01em; }

/* ---------- 6. Workflows: flight plans ---------- */
.phh-plans { margin-top: 28px; }
.phh-plans__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.phh-plans__tabs button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px 6px 8px; border-radius: 99px; border: 1px solid #D5DEE8; background: #fff;
  color: var(--phh-ink); font: 600 14.5px/1.25 var(--f-body); cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.phh-plans__tabs button i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c, #0A6FA8); color: #fff; font: 800 12px/1 var(--f-display); font-style: normal; }
.phh-plans__tabs button[aria-selected="true"] { background: #082238; border-color: #082238; color: #fff; }
.phh-plan { padding: clamp(18px, 2.4vw, 28px); border-radius: 20px; background: #fff; border: 1px solid #E5E0D2; box-shadow: 0 30px 60px -50px rgba(8,34,56,.6); }
.phh-plan + .phh-plan { margin-top: 16px; }
.phh-plans.is-js .phh-plan + .phh-plan { margin-top: 0; }
.phh-plan__tag { margin: 0; font: 800 11.5px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--c, #0A6FA8); }
.phh-plan h3 { margin: 6px 0 0; font: 700 clamp(19px, 1rem + .5vw, 23px)/1.25 var(--f-display); color: var(--phh-ink); letter-spacing: -.01em; }
.phh-plan__legs { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.phh-plan__legs::before { content: ""; position: absolute; left: 6%; right: 6%; top: 15px; border-top: 2px dashed color-mix(in srgb, var(--c, #0A6FA8) 55%, #fff); }
.phh-plan__legs li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.phh-leg__n { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--c, #0A6FA8); color: var(--c, #0A6FA8);
  font: 800 13px/1 var(--f-display); margin-bottom: 8px; }
.phh-plan__legs li:last-child .phh-leg__n { background: var(--c, #0A6FA8); color: #fff; }
.phh-plan__legs img { width: 28px; height: 28px; }
.phh-plan__legs b { font: 700 15px/1.3 var(--f-display); color: var(--phh-ink); }
.phh-plan__legs span:not(.phh-leg__n) { font-size: 13.5px; line-height: 1.45; color: var(--phh-body); }
.phh-plan__keep { margin: 18px 0 0; padding: 10px 14px; border-radius: 12px; background: #F6F3EA; font-size: 14.5px; line-height: 1.5; color: var(--phh-body); }
.phh-plan__keep b { color: var(--phh-ink); }

/* ---------- 7. Architecture: hub board (dark band) ---------- */
.phh-hub .hp-kick__t, .phh-hub .pg-h2, .phh-hub .pg-answer { color: #fff; }
.phh-hub .pg-answer { color: #CFE3F1; }
.phh-board { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; margin-top: 30px; padding: 20px;
  border-radius: 20px; background: rgba(3,14,28,.55); border: 1px solid rgba(255,255,255,.12); }
.phh-board__col { min-width: 0; }
.phh-board__h { margin: 0 0 10px; font: 800 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #FFB81C; }
.phh-board__nodes, .phh-board__core { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.phh-board__node { padding: 10px 12px; border-radius: 10px; background: #0B2440; border: 1px solid rgba(255,255,255,.1); transition: background-color .3s, border-color .3s, transform .3s; }
.phh-board__node b { display: block; font: 700 14.5px/1.3 var(--f-body); color: #fff; letter-spacing: .01em; }
.phh-board__node span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: #A9C4DA; }
.phh-board.has-pick .phh-board__node { opacity: 1; }
.phh-board__node.is-hit { background: #123F2E; border-color: #3FB97A; transform: translateX(2px); }
.phh-board__node.is-hit b::after { content: "On this route"; margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: #3FB97A; color: #062016; font: 800 10px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.phh-board__app { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: #fff;
  color: var(--phh-ink); font: 700 15px/1.2 var(--f-body); text-align: left; cursor: pointer; transition: box-shadow .25s, transform .25s; }
.phh-board__app img { width: 28px; height: 28px; flex: none; }
.phh-board__app:hover { transform: translateY(-1px); }
.phh-board__app[aria-pressed="true"] { box-shadow: 0 0 0 3px #FFB81C, 0 14px 30px -16px rgba(0,0,0,.7); }
.phh-board__say { grid-column: 1 / -1; margin: 4px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,.07); color: #E6F1F8; font-size: 15px; line-height: 1.5; min-height: 3em; }
.phh-board__more { margin: 16px 0 0; color: #CFE3F1; font-size: 15px; }
.phh-hub .phh-board__more .pg-link { color: #7DD3FC; }

/* ---------- 8. Landscape: window-seat tiles ---------- */
.phh-windows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.phh-win { position: relative; padding: 14px 14px 16px; border-radius: 22px; background: #fff; border: 1px solid #E2E8F0; box-shadow: 0 24px 50px -44px rgba(8,34,56,.7); }
.phh-win__pane { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 40% / 30%; overflow: hidden; border: 6px solid #E9EEF4;
  background: linear-gradient(180deg, #CFE8F7, #F4E7CF); box-shadow: inset 0 0 0 2px #fff; }
.phh-win__pane::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 34%; background: linear-gradient(180deg, #D8DEE6, #C3CCD7); border-bottom: 3px solid #AAB5C2;
  transition: height .5s cubic-bezier(.3,1,.4,1); }
.phh-win:hover .phh-win__pane::after, .phh-win:focus-within .phh-win__pane::after { height: 6%; }
.phh-win__pane svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.phh-sc__ground { fill: #E8D3AE; }
.phh-sc__hill { fill: color-mix(in srgb, var(--c, #0A6FA8) 30%, #C9B79A); }
.phh-sc__city { fill: none; stroke: var(--c, #0A6FA8); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.phh-sc__river { fill: none; stroke: #5BA8D6; stroke-width: 3; }
.phh-sc__road { fill: none; stroke: #8A7456; stroke-width: 2.5; stroke-dasharray: 6 5; }
.phh-sc__sun { fill: #FFB81C; }
.phh-win h3 { margin: 14px 0 0; font: 700 18px/1.25 var(--f-display); color: var(--phh-ink); }
.phh-win__tag { margin: 6px 0 0; font: 600 13px/1.45 var(--f-body); color: var(--c, #0A6FA8); }
.phh-win__zoho { margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--phh-body); }
.phh-win__zoho b { color: var(--phh-ink); }
.phh-flip-t { margin: 44px 0 6px; font: 700 21px/1.3 var(--f-display); color: var(--phh-ink); }
.phh-flip-sub { margin: 0 0 16px; color: var(--phh-muted); font-size: 15px; }

/* ---------- 9. Cities: boarding passes ---------- */
.phh-passes { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 28px; align-items: start; }
.phh-pass { display: grid; grid-template-columns: minmax(0, 1fr) 132px; border-radius: 18px; background: #fff; border: 1px solid #DCE3EB; color: var(--phh-ink); text-decoration: none;
  box-shadow: 0 30px 60px -46px rgba(8,34,56,.75); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.phh-pass:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -46px rgba(8,34,56,.8); }
.phh-pass__main { padding: 16px 18px 16px; border-top: 6px solid var(--c, #4338CA); min-width: 0; }
.phh-pass__top { display: flex; justify-content: space-between; gap: 10px; margin: 0; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--phh-muted); }
.phh-pass__top b { color: var(--c, #4338CA); }
.phh-pass__route { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.phh-pass__route > span { font: 800 clamp(20px, 1rem + .9vw, 27px)/1.1 var(--f-display); letter-spacing: -.02em; min-width: 0; }
.phh-pass__route small, .phh-pass__grid small { display: block; font: 700 11px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--phh-muted); }
.phh-pass__route svg { flex: none; width: 48px; height: 16px; fill: none; stroke: var(--c, #4338CA); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.phh-pass__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #D3DCE6; }
.phh-pass__grid > span { font: 700 15px/1.3 var(--f-body); }
.phh-pass__grid b { font-weight: 700; font-variant-numeric: tabular-nums; }
.phh-pass__note { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--phh-body); }
.phh-pass__stub { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px 14px; background: #F4F6FB;
  border-left: 2px dashed #BFC9D6; }
.phh-pass__stub::before, .phh-pass__stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #DCE3EB; }
.phh-pass__stub::before { top: -11px; } .phh-pass__stub::after { bottom: -11px; }
.phh-pass__code { display: block; height: 64px; border-radius: 4px; background: repeating-linear-gradient(90deg, #082238 0 2px, transparent 2px 4px, #082238 4px 5px, transparent 5px 8px, #082238 8px 11px, transparent 11px 13px); opacity: .85; }
.phh-pass__go { font: 700 14.5px/1.35 var(--f-body); color: var(--phh-link); }
.phh-standby { padding: 16px 18px; border-radius: 16px; background: #F7F9FC; border: 1px solid #E2E8F0; }
.phh-standby h3 { margin: 0 0 8px; font: 700 17px/1.3 var(--f-display); color: var(--phh-ink); }
.phh-standby ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.phh-standby li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.5; color: var(--phh-body); }
.phh-standby li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: #B9C6D4; }
.phh-standby a { color: var(--phh-link); font-weight: 700; }

/* ---------- 10. Rules: pre-flight checklist ---------- */
.phh-pre { margin-top: 26px; padding: clamp(14px, 2vw, 22px); border-radius: 20px; background: #fff; border: 1px solid #E5E0D2; }
.phh-pre__ui { margin-bottom: 14px; }
.phh-pre__q { margin: 0 0 8px; font: 700 15px/1.3 var(--f-display); color: var(--phh-ink); }
.phh-pre__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.phh-pre__chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 16px; border-radius: 8px; border: 1.5px solid #C9D3DF; background: #F7F9FC; color: var(--phh-ink);
  font: 700 14px/1.2 var(--f-body); letter-spacing: .02em; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.phh-pre__chip[aria-pressed="true"] { background: #082238; border-color: #082238; color: #fff; }
.phh-pre__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; }
.phh-pre__head { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; padding: 8px 4px; border-bottom: 2px solid var(--phh-ink);
  font: 700 11.5px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--phh-muted); }
.phh-pre:not(.is-js) .phh-pre__head, .phh-pre:not(.is-js) .phh-pre__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); }
.phh-pre:not(.is-js) .phh-pre__head span:first-child { display: none; }
.phh-pre__rows { margin: 0; padding: 0; list-style: none; }
.phh-pre__row { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start; padding: 12px 4px; border-bottom: 1px solid #ECEFF3;
  transition: background-color .3s; }
.phh-pre__row.is-ticked { background: #F0F9F3; }
.phh-pre__tick { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; border: 2px solid #9AA9BA; background: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.phh-pre__tick svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 20; stroke-dashoffset: 20; transition: stroke-dashoffset .35s; }
.phh-pre__tick[aria-pressed="true"] { background: #1F7A4D; border-color: #1F7A4D; }
.phh-pre__tick[aria-pressed="true"] svg { stroke-dashoffset: 0; }
.phh-pre__item b { display: block; font: 700 15.5px/1.35 var(--f-display); color: var(--phh-ink); }
.phh-pre__item small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--phh-muted); }
.phh-pre__cell { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--phh-body); }
.phh-pre__cell--z { color: var(--phh-ink); }
.phh-pre__cell::before { content: attr(data-l); display: none; margin-bottom: 2px; font: 700 11px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--phh-muted); }
.phh-pre__cell--z::before { color: #1F7A4D; }

/* ---------- 14. How: four-gauge panel + boarding groups ---------- */
.phh-panel { margin-top: 26px; padding: clamp(18px, 2.6vw, 30px); border-radius: 24px; background: linear-gradient(160deg, #0B1E33, #12305A 60%, #0E4A5C); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 30px 70px -50px rgba(8,34,56,.9); }
.phh-panel__gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.phh-gauge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; }
.phh-gauge__dial { position: relative; width: min(150px, 100%); aspect-ratio: 1; border-radius: 50%; margin-bottom: 10px;
  background: radial-gradient(circle, #0A1726 56%, transparent 57%), repeating-conic-gradient(from -1deg, rgba(255,255,255,.55) 0 2deg, transparent 2deg 15deg), #102A45;
  box-shadow: 0 0 0 4px #1E3E60, 0 0 0 6px #0A1726, inset 0 0 18px rgba(0,0,0,.6); }
.phh-gauge__arc { position: absolute; inset: 7%; border-radius: 50%; opacity: 0;
  background: conic-gradient(from var(--a1, 120deg), var(--c, #7DD3FC) 0 var(--a2, 135deg), transparent var(--a2, 135deg) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 61% 70%, transparent 71%); mask: radial-gradient(circle, transparent 60%, #000 61% 70%, transparent 71%); transition: opacity .6s; }
.phh-gauge.is-live .phh-gauge__arc { opacity: 1; }
.phh-gauge__needle { position: absolute; left: 50%; top: 14%; width: 3px; height: 36%; margin-left: -1.5px; border-radius: 3px; background: var(--c, #7DD3FC); transform-origin: 50% 100%;
  transform: rotate(var(--needle, 0deg)); transition: transform .8s cubic-bezier(.3,1.2,.4,1); opacity: 0; }
.phh-gauge.is-live .phh-gauge__needle { opacity: 1; }
.phh-gauge__dial::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; }
.phh-gauge b { font: 700 16px/1.25 var(--f-display); color: #fff; }
.phh-gauge small { font-size: 13px; line-height: 1.35; color: #B8CFE2; }
.phh-gauge__t { margin-top: 6px; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.08); font: 700 14px/1.3 var(--f-body); color: var(--c, #7DD3FC); font-variant-numeric: tabular-nums; }
.phh-gauge.is-in .phh-gauge__t::after { content: " · working"; font-weight: 600; color: #E6F1F8; }
.phh-panel__say { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); font: 600 16px/1.5 var(--f-body); color: #fff; }
.phh-panel__note { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: #B8CFE2; }
.phh-groups { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.phh-groups li { padding: 12px 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #DDE5EE; border-top: 4px solid #0A6FA8; }
.phh-groups li:nth-child(2n) { border-top-color: #00807A; }
.phh-groups li:last-child { border-top-color: #FFB81C; }
.phh-groups span { display: inline-block; font: 800 11px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--phh-muted); }
.phh-groups h3 { margin: 4px 0 0; font: 700 16px/1.25 var(--f-display); color: var(--phh-ink); }
.phh-groups p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--phh-body); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .phh-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .phh-plan__legs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .phh-plan__legs::before { display: none; }
}
@media (max-width: 1080px) {
  .phh-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .phh-log { max-width: 640px; }
  .phh-windows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phh-panel__gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .phh-board { grid-template-columns: minmax(0, 1fr); }
  .phh-board__col--core { order: -1; }
  .phh-passes { grid-template-columns: minmax(0, 1fr); }
  .phh-pre__head { display: none; }
  .phh-pre__row, .phh-pre:not(.is-js) .phh-pre__row { grid-template-columns: 44px minmax(0, 1fr); }
  .phh-pre:not(.is-js) .phh-pre__row { grid-template-columns: minmax(0, 1fr); }
  .phh-pre__cell { grid-column: 2; }
  .phh-pre:not(.is-js) .phh-pre__cell { grid-column: 1; }
  .phh-pre__cell::before { display: block; }
  .phh-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .phh-log__page { padding: 16px 12px 14px 26px; background:
    linear-gradient(90deg, transparent 15px, rgba(217,83,79,.55) 15px 16.5px, transparent 16.5px),
    repeating-linear-gradient(180deg, var(--phh-paper) 0 31px, var(--phh-rule) 31px 32px); }
  .phh-log__cols { display: none; }
  .phh-entry { grid-template-columns: 30px minmax(0, 1fr); }
  .phh-entry__clk { grid-column: 2; }
  .phh-card__dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .phh-plan__legs { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .phh-plan__legs li { display: grid; grid-template-columns: 40px 30px minmax(0, 1fr); column-gap: 8px; align-items: start; }
  .phh-plan__legs li .phh-leg__n { grid-row: span 2; margin: 0; }
  .phh-plan__legs li img { grid-row: span 2; }
  .phh-plan__legs li b, .phh-plan__legs li span:not(.phh-leg__n) { grid-column: 3; }
  .phh-windows { grid-template-columns: minmax(0, 1fr); }
  .phh-pass { grid-template-columns: minmax(0, 1fr); }
  .phh-pass__stub { flex-direction: row; align-items: center; border-left: 0; border-top: 2px dashed #BFC9D6; }
  .phh-pass__stub::before, .phh-pass__stub::after { display: none; }
  .phh-pass__code { width: 90px; height: 40px; flex: none; }
  .phh-pass__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .phh-panel__gauges { gap: 14px 10px; }
  .phh-gauge__dial { width: min(120px, 100%); }
  .phh-groups { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .phh-log.is-js .phh-card.is-open { animation: none; }
  .phh-gauge__needle, .phh-win__pane::after, .phh-pre__tick svg, .phh-pass { transition: none; }
}
