/* ═══════════════════════════════════════════════════════════════
   PEOPLESHR PHILIPPINES REGULATORY HUB · V3 (approved 20 Nov 2026)
   Loaded after css/payroll-regulatory-updates-philippines.css (V2), which gives the tokens, hero,
   cards, sources row, FAQ and disclaimer. This file adds the V3 pieces only:
   hero summary + "Jump to", the sticky filter bar with the region drop-down and "Show" buttons,
   the result list, the subscribe box and "Act on it". Every selector stays under .phhub-scope.
   Breakpoints: 1000px (tablet), 760px, 640px (phones, as V2), 400px (small phones).
   ═══════════════════════════════════════════════════════════════ */

/* ---------- 1 · hero: summary of the last review + "Jump to" ---------- */
.phhub-scope .V3-hero{padding-bottom:44px}
.phhub-scope .V3-since{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px 16px;align-items:center;max-width:780px;margin:26px auto 0;text-align:left;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);border-radius:16px;padding:16px 18px}
.phhub-scope .V3-since strong{display:block;font-family:var(--f-head);font-size:17px;line-height:1.3;color:#fff}
.phhub-scope .V3-since small{display:block;margin-top:3px;font-size:13px;line-height:1.5;color:#DCE5FD}
.phhub-scope .V3-live{width:10px;height:10px;border-radius:50%;background:#4ADE80;box-shadow:0 0 0 4px rgba(74,222,128,.25);animation:v3-live 2.4s ease-out infinite}
@keyframes v3-live{0%{box-shadow:0 0 0 0 rgba(74,222,128,.55)}70%,100%{box-shadow:0 0 0 9px rgba(74,222,128,0)}}
.phhub-scope .V3-see{border:0;background:#fff;color:var(--blue-ink);font-weight:700;font-size:14px;padding:11px 18px;border-radius:999px;white-space:nowrap;box-shadow:0 8px 20px -10px rgba(8,20,70,.6);transition:transform .15s,box-shadow .15s}
.phhub-scope .V3-see:hover{transform:translateY(-1px);box-shadow:0 12px 24px -10px rgba(8,20,70,.7)}
.phhub-scope .V3-see:focus-visible{outline:3px solid #FFD54A;outline-offset:2px}
.phhub-scope .V3-jump{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;align-items:center;margin-top:18px}
.phhub-scope .V3-jump > span{font-size:13px;color:#DCE5FD;margin-right:2px}
.phhub-scope .V3-jump button{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:999px;padding:7px 14px;font-size:13.5px;font-weight:600;transition:background .15s,transform .15s}
.phhub-scope .V3-jump button:hover{background:rgba(255,255,255,.24);transform:translateY(-1px)}
.phhub-scope .V3-jump button:focus-visible{outline:3px solid #FFD54A;outline-offset:2px}

/* ---------- 2 · official sources: links to each agency's own site ---------- */
.phhub-scope .V3-srcrow{display:flex;flex-wrap:wrap;gap:8px}
.phhub-scope a.ag{text-decoration:none;color:var(--slate)}
.phhub-scope a.ag:hover{border-color:var(--blue);color:var(--blue-ink)}

/* ---------- 3 · sticky filter bar (under the site navbar, 52px once scrolled) ---------- */
.phhub-scope .V3-sentinel{height:1px;margin-bottom:-1px}
.phhub-scope .V3-bar{position:sticky;top:52px;z-index:30;background:rgba(243,245,250,.97);border-bottom:1px solid var(--line);transition:box-shadow .2s}
.phhub-scope .V3-bar.is-stuck{box-shadow:0 10px 18px -14px rgba(16,27,59,.55)}
.phhub-scope .V3-bar.is-open{z-index:1003}   /* the open drop-down and its scrim cover the navbar too */
.phhub-scope .V3-bar > .wrap{display:grid;gap:10px;padding-top:14px;padding-bottom:12px}
.phhub-scope .V3-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0}
.phhub-scope .V3-lab{font-family:var(--f-mono);font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.phhub-scope .V3-rwrap{position:relative}
.phhub-scope .V3-rbtn{display:inline-flex;align-items:center;gap:8px;min-height:42px;max-width:min(360px,100%);background:var(--surface);border:1.5px solid var(--ink);border-radius:10px;padding:8px 12px;font-weight:700;font-size:14px;color:var(--ink)}
.phhub-scope .V3-rbtn:hover{border-color:var(--blue);color:var(--blue-ink)}
.phhub-scope .V3-rbtn svg{flex:none;transition:transform .2s}
.phhub-scope .V3-rbtn[aria-expanded="true"] svg{transform:rotate(180deg)}
.phhub-scope .V3-rlab{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.phhub-scope .V3-pin{flex:none;width:9px;height:9px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--blue)}
.phhub-scope .V3-remember{margin-left:auto;font-size:12.5px;color:var(--muted)}
.phhub-scope .V3-seg{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.phhub-scope .V3-seg button{display:inline-flex;align-items:center;gap:6px;min-height:38px;background:var(--surface);border:1px solid var(--line-2);border-radius:10px;padding:7px 12px;font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;transition:background .15s,border-color .15s}
.phhub-scope .V3-seg button:hover:not(:disabled){border-color:var(--ink)}
.phhub-scope .V3-seg .n{background:var(--bg);border-radius:6px;padding:0 6px;font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
.phhub-scope .V3-seg button[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.phhub-scope .V3-seg button[aria-pressed="true"] .n{background:rgba(255,255,255,.18);color:#fff}
.phhub-scope .V3-seg button:disabled{opacity:.45;cursor:default}
.phhub-scope .V3-legend{font-size:13px;color:var(--slate);line-height:1.5}
.phhub-scope .V3-legend b{color:var(--ink)}
.phhub-scope .V3-legend.is-list{display:none}

/* region drop-down (desktop and tablet: under the button; phones: a sheet from the bottom) */
.phhub-scope .V3-pop{position:absolute;top:calc(100% + 8px);left:0;z-index:40;width:min(470px,calc(100vw - 32px));background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 40px rgba(16,27,59,.18);padding:16px;max-height:calc(100svh - 130px);overflow-y:auto;overscroll-behavior:contain}   /* short screens (phone sideways): scrolls inside */
.phhub-scope .V3-pophead{display:grid;gap:2px;margin-bottom:6px}
.phhub-scope .V3-pophead b{font-family:var(--f-head);font-size:16px}
.phhub-scope .V3-pophead span{font-size:13px;color:var(--slate)}
.phhub-scope .V3-pop h4{margin:12px 0 6px;font-family:var(--f-mono);font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}
.phhub-scope .V3-rgrid{display:flex;flex-wrap:wrap;gap:8px}
.phhub-scope .V3-rchip{position:relative;min-width:46px;min-height:38px;border:1px solid var(--line-2);background:var(--surface);border-radius:8px;padding:6px 10px;font-family:var(--f-mono);font-size:13px;font-weight:600;color:var(--ink)}
.phhub-scope .V3-rchip:hover{border-color:var(--blue)}
.phhub-scope .V3-rchip[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.phhub-scope .V3-rchip .b,.phhub-scope .V3-dot{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;background:#F97316;color:#fff;font:700 10px/1 var(--f-body)}
.phhub-scope .V3-rchip .b{position:absolute;top:-7px;right:-7px;box-shadow:0 0 0 2px var(--surface)}
.phhub-scope .V3-dot{width:10px;height:10px;vertical-align:middle}
.phhub-scope .V3-popfoot{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:12.5px;color:var(--slate)}
.phhub-scope .V3-popfoot > span{flex:1 1 220px}
.phhub-scope .V3-popbtns{display:flex;align-items:center;gap:14px;margin-left:auto}
.phhub-scope .V3-link{border:0;background:none;padding:0;color:var(--blue-ink);font-weight:700;font-size:13.5px;text-decoration:underline;text-underline-offset:3px}
.phhub-scope .V3-link:disabled{color:var(--muted);text-decoration:none;cursor:default}
.phhub-scope .V3-scrim{position:fixed;inset:0;background:rgba(14,24,56,.45);z-index:35}
@media (min-width:641px){.phhub-scope .V3-scrim{background:transparent}}

/* ---------- 4 · results ---------- */
.phhub-scope .V3-results{padding-block:26px 8px}
.phhub-scope .V3-notice{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;background:#FFF7ED;border:1px solid #FED7AA;border-radius:12px;padding:12px 14px;font-size:14px;margin-bottom:14px}
.phhub-scope .V3-notice > span{flex:1 1 320px}
.phhub-scope .V3-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 14px;margin-bottom:14px}
.phhub-scope .V3-head h2{font-size:clamp(20px,2.2vw,24px)}
.phhub-scope .V3-head p{color:var(--slate);font-size:14px;margin-top:2px}
.phhub-scope .V3-list{display:grid;gap:12px}
.phhub-scope .V3-new{display:inline-flex;align-items:center;background:var(--blue);color:#fff;border-radius:6px;padding:3px 8px;font-family:var(--f-mono);font-size:10.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.phhub-scope .V3-applies{display:flex;gap:8px;margin-top:10px;font-size:13.5px;background:var(--bg);border-radius:8px;padding:7px 10px;color:var(--slate)}
.phhub-scope .V3-applies b{color:var(--ink);white-space:nowrap}
.phhub-scope .V3-count{display:block;font-style:normal;font-size:12.5px;font-weight:600;color:var(--up)}
.phhub-scope .entry.is-pinned{box-shadow:0 0 0 2px var(--blue)}
.phhub-scope .V3-pinnote{display:inline-block;margin-bottom:6px;font-family:var(--f-mono);font-size:10.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--blue-ink);background:var(--blue-soft);border-radius:6px;padding:2px 8px}
.phhub-scope .V3-more{display:none}

/* ---------- 5 · subscribe ---------- */
.phhub-scope .V3-sub{margin:28px 0 8px;background:var(--navy);color:#fff;border-radius:20px;padding:28px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px 28px;align-items:center}
.phhub-scope .V3-sub h2{font-size:clamp(20px,2.2vw,24px);color:#fff}
.phhub-scope .V3-sub p{color:#C9D4F2;font-size:14.5px;margin-top:6px}
.phhub-scope .V3-form{display:flex;flex-wrap:wrap;gap:8px}
.phhub-scope .V3-form input[type=email]{flex:1 1 200px;min-width:0;min-height:46px;border:0;border-radius:999px;padding:12px 18px;font-size:15px;color:var(--ink);background:#fff}
.phhub-scope .V3-form input[type=email]:focus-visible{outline:3px solid #FFD54A;outline-offset:2px}
.phhub-scope .V3-subbtn{min-height:46px;border:0;border-radius:999px;padding:12px 22px;background:#F97316;color:#fff;font-weight:700;font-size:15px;transition:background .15s}
.phhub-scope .V3-subbtn:hover{background:#EA580C}
.phhub-scope .V3-subbtn:disabled{opacity:.7;cursor:progress}
.phhub-scope .V3-subbtn:focus-visible{outline:3px solid #FFD54A;outline-offset:2px}
.phhub-scope .V3-submsg:empty{display:none}
.phhub-scope .V3-submsg{margin-top:10px!important;font-weight:600;font-size:14px!important}
.phhub-scope .V3-submsg.is-ok{color:#86EFAC!important}
.phhub-scope .V3-submsg.is-err{color:#FDBA74!important}
.phhub-scope .V3-submsg.is-draft{color:#FFD54A!important}
.phhub-scope .V3-privacy{font-size:12px!important;color:#9AA8D0!important;margin-top:8px!important}
.phhub-scope .V3-privacy a{color:#fff}

/* ---------- 6 · act on it ---------- */
.phhub-scope .V3-act{padding-block:44px 20px}
.phhub-scope .V3-act h2{margin:8px 0 18px}
.phhub-scope .V3-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.phhub-scope .V3-tool{display:grid;gap:4px;align-content:start;text-decoration:none;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px;transition:border-color .2s,transform .25s cubic-bezier(.22,.61,.36,1),box-shadow .25s}
.phhub-scope .V3-tool:hover{border-color:var(--blue);transform:translateY(-3px);box-shadow:var(--shadow)}
.phhub-scope .V3-tool .mono{font-family:var(--f-mono);font-size:10.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.phhub-scope .V3-tool b{font-family:var(--f-head);font-size:16px;line-height:1.3}
.phhub-scope .V3-tool span:last-child{color:var(--slate);font-size:13.5px}
.phhub-scope .V3-tools.is-armed .V3-tool{opacity:0;translate:0 16px}
.phhub-scope .V3-tools.is-in .V3-tool{animation:phhub-rise .6s cubic-bezier(.22,.61,.36,1) forwards}
.phhub-scope .V3-tools.is-in .V3-tool:nth-child(2){animation-delay:.12s}
.phhub-scope .V3-tools.is-in .V3-tool:nth-child(3){animation-delay:.24s}
.phhub-scope .V3-cta{margin-top:14px}
.phhub-scope .V3-cta h3{font-size:clamp(18px,2vw,22px)}
.phhub-scope .V3-cta p{color:var(--slate);font-size:14.5px;margin-top:6px}
.phhub-scope .V3-about{padding-block:24px 32px}
.phhub-scope .V3-about h2{font-size:24px;margin-bottom:16px}

/* ---------- tablet ---------- */
@media (max-width:1000px){
  .phhub-scope .V3-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
  .phhub-scope .V3-tools .V3-tool:last-child{grid-column:1 / -1}
}
@media (max-width:760px){
  .phhub-scope .V3-sub{grid-template-columns:minmax(0,1fr);padding:24px}
  .phhub-scope .V3-remember{display:none}   /* said in the drop-down instead */
}

/* ---------- phones (≤640px) ---------- */
@media (max-width:640px){
  .phhub-scope .V3-hero{padding-bottom:32px}
  .phhub-scope .V3-since{grid-template-columns:minmax(0,1fr);padding:14px 16px;margin-top:20px}
  .phhub-scope .V3-live{display:none}
  .phhub-scope .V3-since strong{font-size:16px}
  .phhub-scope .V3-see{width:100%;min-height:44px}
  .phhub-scope .V3-jump{gap:6px}
  .phhub-scope .V3-jump > span{width:100%;text-align:center}
  .phhub-scope .V3-jump button{font-size:13px;padding:7px 12px}

  /* sources: one swipe row */
  .phhub-scope .V3-sources .wrap{flex-wrap:nowrap;gap:10px;padding-block:12px}
  .phhub-scope .V3-srcrow{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-16px;padding-right:16px}
  .phhub-scope .V3-srcrow::-webkit-scrollbar{display:none}
  .phhub-scope .V3-srcrow .ag{flex:none}
  .phhub-scope .V3-sources .lab{white-space:nowrap}

  /* compact sticky bar: question + drop-down on one line, then one swipe row of "Show" buttons */
  .phhub-scope .V3-bar > .wrap{gap:8px;padding-top:10px;padding-bottom:10px}
  .phhub-scope .V3-row{flex-wrap:nowrap}
  .phhub-scope .V3-lab{font-size:10.5px;letter-spacing:.06em;line-height:1.3;max-width:9.5em}
  .phhub-scope .V3-lab-show,.phhub-scope .V3-legend:not(.is-list){display:none}
  .phhub-scope .V3-rwrap{flex:1 1 auto;min-width:0;position:static}
  .phhub-scope .V3-rbtn{width:100%;max-width:none;justify-content:space-between;min-height:44px}
  .phhub-scope .V3-rlab{flex:1;text-align:left}
  .phhub-scope .V3-seg{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding:0 16px 2px;width:calc(100% + 32px);scroll-padding-inline:16px}
  .phhub-scope .V3-seg::-webkit-scrollbar{display:none}
  .phhub-scope .V3-seg button{flex:none;min-height:40px}
  .phhub-scope .V3-legend.is-list{display:block;flex-basis:100%;margin-top:4px}

  /* region drop-down as a sheet from the bottom of the screen */
  .phhub-scope .V3-pop{position:fixed;top:auto;left:0;right:0;bottom:0;width:auto;max-height:min(80svh,620px);overflow-y:auto;overscroll-behavior:contain;
    border-radius:20px 20px 0 0;padding:18px 16px max(16px,env(safe-area-inset-bottom,0px));animation:v3-sheet .28s cubic-bezier(.22,.61,.36,1)}
  .phhub-scope .V3-pop::before{content:"";display:block;width:40px;height:4px;border-radius:2px;background:var(--line-2);margin:-6px auto 12px}
  .phhub-scope .V3-rchip{min-width:52px;min-height:42px;font-size:14px}
  .phhub-scope .V3-popbtns{width:100%;justify-content:space-between}
  .phhub-scope .V3-popbtns .btn{min-height:44px;padding-inline:26px}

  /* first 3 cards, then "Show N more updates" (locked phone layout from V2) */
  .phhub-scope .V3-list:not(.is-all) > .entry:nth-child(n+4){display:none}
  .phhub-scope .V3-list:not(.is-all) > .V3-more{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;min-height:46px;border:1px solid var(--blue);border-radius:12px;background:var(--surface);color:var(--blue-ink);font-weight:700;font-size:15px}
  .phhub-scope .V3-more::after{content:"⌄";font-size:16px;line-height:1;margin-top:-4px}
  .phhub-scope .kf{justify-items:start;text-align:left;grid-column:2;max-width:none}
  .phhub-scope .V3-applies{flex-direction:column;gap:0}

  .phhub-scope .V3-sub{padding:22px 18px;border-radius:18px}
  .phhub-scope .V3-subbtn{flex:1 1 100%}
  .phhub-scope .V3-tools{grid-template-columns:minmax(0,1fr)}
  .phhub-scope .V3-tools .V3-tool:last-child{grid-column:auto}
  .phhub-scope .V3-tool{padding:16px}
  .phhub-scope .V3-act{padding-block:36px 16px}
  .phhub-scope .V3-cta{padding:22px 18px}
  .phhub-scope .V3-cta .btn{width:100%;min-height:46px}
}
@keyframes v3-sheet{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media (max-width:400px){
  .phhub-scope .V3-lab{max-width:7.5em}
}
@media (prefers-reduced-motion:reduce){.phhub-scope .V3-live,.phhub-scope .V3-pop{animation:none}}

/* ═══════════ V3 draft 2 (20 Nov 2026) ═══════════ */

/* official sources centred on tablet and desktop (phones keep the swipe row) */
@media (min-width:641px){.phhub-scope .V3-sources .wrap{justify-content:center}}

/* "See what changed": sparkle icon, a soft glow and a light sweep every few seconds (calm, not flashing) */
.phhub-scope .V3-see{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:8px;animation:v3-see-glow 3.6s ease-in-out infinite}
.phhub-scope .V3-see::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;pointer-events:none;
  background:linear-gradient(100deg,transparent,rgba(36,89,224,.16),transparent);transform:skewX(-18deg);animation:v3-see-sweep 4.8s ease-in-out 1.2s infinite}
.phhub-scope .V3-spark{flex:none;color:#F97316;animation:v3-spark 2.4s ease-in-out infinite;transform-origin:50% 50%}
.phhub-scope .V3-see.is-calm,.phhub-scope .V3-see.is-calm::after,.phhub-scope .V3-see.is-calm .V3-spark{animation:none}
@keyframes v3-see-glow{0%,100%{box-shadow:0 8px 20px -10px rgba(8,20,70,.6),0 0 0 0 rgba(255,255,255,0)}50%{box-shadow:0 8px 20px -10px rgba(8,20,70,.6),0 0 0 6px rgba(255,255,255,.22)}}
@keyframes v3-see-sweep{0%{left:-60%}35%,100%{left:130%}}
@keyframes v3-spark{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.18) rotate(12deg)}}

/* subscribe: text left (bigger heading, line, privacy sentence at the bottom), email + button right, set lower */
.phhub-scope .V3-sub{align-items:stretch;padding:30px 32px}
.phhub-scope .V3-subtxt{display:flex;flex-direction:column}
.phhub-scope .V3-sub h2{font-size:clamp(24px,2.6vw,30px);line-height:1.2;margin-top:-4px}
.phhub-scope .V3-sub .V3-subtxt > p:not(.V3-privacy){font-size:15px;margin-top:8px}
.phhub-scope .V3-privacy{margin-top:auto!important;padding-top:18px}
.phhub-scope .V3-subform{align-self:center}   /* email box + button sit at the middle of the box, on the right */

/* phones: summary box centred with its live dot, gently breathing; subscribe box centred */
@media (max-width:640px){
  .phhub-scope .V3-since{justify-items:center;text-align:center;animation:v3-since-breathe 4s ease-in-out infinite}
  .phhub-scope .V3-live{display:block;margin-bottom:-2px}
  .phhub-scope .V3-sub{display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
  .phhub-scope .V3-subtxt{display:contents}   /* lets the privacy line drop to the very bottom, under the email box */
  .phhub-scope .V3-subtxt h2,.phhub-scope .V3-subtxt > p{margin-block:0!important}
  .phhub-scope .V3-subtxt > p:not(.V3-privacy){margin-top:-8px!important}
  .phhub-scope .V3-subform{order:2;align-self:stretch}
  .phhub-scope .V3-privacy{order:3}
  .phhub-scope .V3-form{justify-content:center}
  .phhub-scope .V3-privacy{padding-top:0}
}
@keyframes v3-since-breathe{0%,100%{border-color:rgba(255,255,255,.28);box-shadow:0 0 0 0 rgba(255,255,255,0)}50%{border-color:rgba(255,255,255,.55);box-shadow:0 0 0 4px rgba(255,255,255,.08)}}
@media (prefers-reduced-motion:reduce){.phhub-scope .V3-see,.phhub-scope .V3-see::after,.phhub-scope .V3-spark,.phhub-scope .V3-since{animation:none}}

/* ---------- Filter bar look A, "Floating panel" (chosen 20 Nov 2026; class look-a set by the JS) ----------
   A white rounded panel under the navbar, "Show" as one segmented control with status dots, one line on wide screens.
   (Options B "navy bar" and C "sentence + tabs" were reviewed and dropped.) */
.phhub-scope .V3-seg button[data-view]::before{content:none;width:8px;height:8px;border-radius:50%;flex:none}
.phhub-scope .V3-seg button[data-view="new"]::before{background:#2459E0}
.phhub-scope .V3-seg button[data-view="up"]::before{background:#E9A93A}
.phhub-scope .V3-seg button[data-view="in"]::before{background:#2FAF7B}
.phhub-scope .V3-seg button[data-view="hold"]::before{background:#E0703F}

/* A · floating panel */
.phhub-scope .V3-bar.look-a{background:transparent;border-bottom:0;box-shadow:none}
.phhub-scope .V3-bar.look-a .V3-rbtn{border:1px solid var(--line-2);border-radius:999px;background:var(--blue-mist);padding-inline:14px}
.phhub-scope .V3-bar.look-a .V3-rbtn:hover{border-color:var(--blue)}
.phhub-scope .V3-bar.look-a .V3-seg{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:4px;gap:2px}
.phhub-scope .V3-bar.look-a .V3-seg button{border:0;background:transparent;border-radius:9px;min-height:34px}
.phhub-scope .V3-bar.look-a .V3-seg button[aria-pressed="true"]{background:var(--surface);color:var(--blue-ink);box-shadow:0 1px 2px rgba(16,27,59,.08),0 4px 12px -4px rgba(16,27,59,.18)}
.phhub-scope .V3-bar.look-a .V3-seg button[aria-pressed="true"] .n{background:var(--blue);color:#fff}
.phhub-scope .V3-bar.look-a .V3-seg button[data-view]::before{content:""}
.phhub-scope .V3-bar.look-a .V3-legend::before{content:"i";display:inline-grid;place-items:center;width:16px;height:16px;margin-right:6px;border-radius:50%;background:var(--blue-soft);color:var(--blue-ink);font:700 11px/1 var(--f-head);vertical-align:1px}
@media (min-width:641px){
  .phhub-scope .V3-bar.look-a > .wrap{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 30px -18px rgba(16,27,59,.45);margin-top:16px;padding:14px 20px;max-width:1168px}
  .phhub-scope .V3-bar.look-a.is-stuck > .wrap{margin-top:8px;box-shadow:0 16px 34px -16px rgba(16,27,59,.5)}
}
@media (max-width:640px){.phhub-scope .V3-bar.look-a{background:var(--surface);border-bottom:1px solid var(--line)}}

/* A on wide screens: regions and "Show" on one line, the meaning under them */
@media (min-width:1100px){
  .phhub-scope .V3-bar.look-a > .wrap{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:24px}
  .phhub-scope .V3-bar.look-a .V3-remember{display:none}
  .phhub-scope .V3-bar.look-a .V3-row + .V3-row{justify-content:flex-end;border-left:1px solid var(--line);padding-left:24px}
  .phhub-scope .V3-bar.look-a .V3-legend{grid-column:1 / -1}
}
