/* ============================================================================
   Token of Trust — homepage composed scenes
   ----------------------------------------------------------------------------
   Composition, responsive art direction, pseudo-element fields and
   scene-specific motion for the registered homepage scenes in docs/scenes.md.
   One labelled section per canonical scene ID.

   SOURCE ORDER: loaded last on the homepage, so a scene can override the
   primitives it composes.

   `data-tot-scene` on the roots is a documentation and visual-QA handle only —
   styling always hooks the classes, never the ID.

   Motion: the page-wide reveal (.hp-rv / .in) lives in the page composition
   source because it also reveals non-scene content; these rules only respond to
   the .in state a scene root already receives. Every hidden start state is
   gated on html.js, which pages/home.js sets itself, so a blocked or failed
   script leaves every scene visible and static.
   ========================================================================== */

/* --- Scene tokens: fields and tints read only by the scenes below ------------ */
.hp {
  --teal-08: rgba(13, 147, 145, .08);
  --hp-hero-field: linear-gradient(160deg, #fdf0e6 0%, #ffe4d3 9%, #dbf2e6 34%, #cfe6f8 68%, #c6dbf7 100%);
  --hp-stage-field: linear-gradient(150deg, var(--lavender) 0%, var(--sky) 52%, var(--mint-pale) 100%);
  --hp-hatch: repeating-linear-gradient(-45deg, rgba(16, 41, 75, .03) 0 1px, transparent 1px 14px);
  --hp-hatch-workflow: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 11px);
  --hp-spectrum: linear-gradient(120deg, var(--teal) 0%, #3b82c4 36%, #7b62c9 66%, #d86a56 100%);
}

/* ===== home-hero-compliance-checkout ===================================== */
.hp .hp-hero-visual { position: relative; margin: 0; padding: 0 0 0 18px; }
.hp .hp-hero-visual::before { content: ""; position: absolute; z-index: 0; top: -56px; bottom: -44px; left: -58px; right: -44vw;
  border-radius: 30px; transform: skewX(-5deg); transform-origin: 0 100%;
  background: var(--hp-hatch), var(--hp-hero-field);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.hp .hp-console { position: relative; z-index: 1; box-shadow: 0 26px 60px rgba(16, 41, 75, .18), 0 2px 6px rgba(16, 41, 75, .06); }
.hp .hp-console .hpui-bar { justify-content: space-between; }
.hp .hp-console-row { display: flex; align-items: center; gap: 14px; padding: 16px; border-top: 1px solid var(--ui-line); }
.hp .hp-console-row:first-of-type { border-top: 0; }
.hp .hp-console-row:last-of-type { padding-bottom: 28px; }
.hp .hp-console-row .hp-check { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e6f5ec; color: #146a3f; }
.hp .hp-console-row .hp-check .hp-icon { width: 14px; height: 14px; stroke-width: 2.6; }
.hp .hp-console-row.is-flag .hp-check { background: #fbf1e0; color: #7a4f0a; }
.hp .hp-console-row b { display: block; color: var(--navy); font-size: .86rem; }
.hp .hp-console-row small { display: block; color: var(--muted); font-size: .74rem; margin-top: 1px; }
.hp .hp-console-row .hp-ref { margin-left: auto; font-family: var(--mono); font-size: .68rem; color: var(--muted); }
.hp .hp-shopper { position: relative; z-index: 2; width: 66%; margin: -22px 0 0 -26px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; border-radius: 14px; box-shadow: 0 30px 60px rgba(16, 41, 75, .20), 0 4px 12px rgba(16, 41, 75, .08); }
.hp .hp-shopper .hpui-avatar { width: 40px; height: 40px; }
.hp .hp-shopper .hpui-avatar .hp-icon { width: 20px; height: 20px; }
.hp .hp-shopper b { display: block; color: var(--navy); font-size: .9rem; }
.hp .hp-shopper p { font-size: .78rem; color: #146a3f; font-weight: 700; margin-top: 2px; }
.hp .hp-pass { position: relative; z-index: 2; width: 62%; margin: 12px 0 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 12px; background: var(--navy); color: #fff; box-shadow: var(--shadow-soft); }
.hp .hp-pass b { font-size: .86rem; }
.hp .hp-pass span { font-family: var(--mono); font-size: .68rem; color: var(--on-navy); }
.js .hp .hp-hero-visual .hp-console-row, .js .hp .hp-hero-visual .hp-shopper, .js .hp .hp-hero-visual .hp-pass { opacity: 0; transform: translateY(10px); }
.js .hp .hp-hero-visual.in .hp-console-row { animation: hp-rise .55s ease forwards; animation-delay: calc(.25s + var(--i) * .16s); }
.js .hp .hp-hero-visual.in .hp-shopper { animation: hp-rise .55s ease forwards; animation-delay: 1s; }
.js .hp .hp-hero-visual.in .hp-pass { animation: hp-rise .55s ease forwards; animation-delay: 1.25s; }
@keyframes hp-rise { to { opacity: 1; transform: none; } }

/* ===== home-storefront-admin-overview ==================================== */
.hp .hp-stage { position: relative; margin-top: 44px; padding: 44px 40px 44px; border-radius: 28px; border: 1px solid var(--line-lav); overflow: hidden;
  background: var(--hp-hatch), var(--hp-stage-field); }
.hp .hp-stage::after { content: ""; position: absolute; z-index: 0; right: 0; top: 0; bottom: 0; width: 36%; pointer-events: none; opacity: .9;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, var(--sky-2) 0%, var(--lavender-2) 100%); }
.hp .hp-stage > * { position: relative; z-index: 1; }
.hp .hp-canvas { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 0 28px; align-items: start; }
.hp .hp-admin { grid-column: 1; margin-right: -120px; border-radius: 16px; box-shadow: var(--shadow-lift); }
.hp .hp-admin .hpui-bar { padding: 9px 14px; }
.hp .hp-admin-body { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 336px; }
.hp .hp-rail { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--on-navy); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.hp .hp-rail strong { display: flex; align-items: center; gap: 10px; color: #fff; font-size: .8rem; padding: 6px 10px 18px; letter-spacing: -.01em; }
.hp .hp-rail strong i { width: 24px; height: 24px; border-radius: 7px; background: var(--mint); color: var(--navy); display: grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 900; }
.hp .hp-rail-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: .78rem; font-weight: 600; color: var(--on-navy); }
.hp .hp-rail-item .hp-icon { width: 15px; height: 15px; }
.hp .hp-rail-item.is-active { background: rgba(127, 227, 184, .16); color: #fff; box-shadow: inset 3px 0 0 var(--mint); }
.hp .hp-admin-main { padding: 20px 22px 18px; min-width: 0; background: #fff; }
.hp .hp-admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.hp .hp-admin-head b { font-size: 1.02rem; color: var(--navy); letter-spacing: -.015em; display: inline-flex; align-items: center; gap: 8px; }
.hp .hp-admin-head b .hp-icon { width: 16px; height: 16px; color: var(--teal-ink); }
.hp .hp-search { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--ui-line); border-radius: 8px; color: var(--muted); font-size: .72rem; background: var(--ui-ground); white-space: nowrap; }
.hp .hp-table { width: 100%; border-collapse: collapse; font-size: .78rem; }
.hp .hp-table th { text-align: left; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; padding: 8px 8px; border-bottom: 1px solid var(--ui-line); }
.hp .hp-table td { padding: 11px 8px; border-bottom: 1px solid var(--ui-line); color: var(--ink); vertical-align: middle; }
.hp .hp-table td:first-child { font-weight: 700; color: var(--navy); }
.hp .hp-table td .hp-cust { display: inline-flex; align-items: center; gap: 9px; }
.hp .hp-table tr.is-selected td { background: #f2fbf8; }
.hp .hp-table tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--teal); }
.hp .hp-callout { grid-column: 2; margin-top: 104px; border-radius: 16px; box-shadow: 0 30px 70px rgba(16, 41, 75, .20), 0 6px 18px rgba(16, 41, 75, .08); border-color: rgba(13, 147, 145, .35); }
.hp .hp-callout-top { display: flex; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--ui-line); background: var(--ui-ground); }
.hp .hp-callout-top .hpui-label { color: var(--teal-ink); }
.hp .hp-callout-title { display: flex; align-items: center; gap: 10px; padding: 14px 14px 4px; font-size: 1.05rem; font-weight: 800; color: var(--navy); letter-spacing: -.015em; }
.hp .hp-callout-title .hpui-avatar { width: 34px; height: 34px; }
.hp .hp-callout .hp-rule { padding: 0 14px 12px; font-size: .74rem; color: var(--muted); }
.hp .hp-callout .hpui-row { padding: 9px 14px; font-size: .78rem; }
.hp .hp-callout .hpui-row span:last-child { font-family: var(--mono); font-size: .72rem; color: var(--navy); }
.hp .hp-crops { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: -16px 0 0 8%; }
.hp .hp-crop { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 150px; border-radius: 14px; box-shadow: var(--shadow-lift); }
.hp .hp-crop-copy { padding: 18px 18px 16px; border-right: 1px solid var(--ui-line); }
.hp .hp-crop-copy strong { display: block; margin: 0 0 4px; font-size: 1rem; color: var(--navy); letter-spacing: -.015em; }
.hp .hp-crop-copy .hpui-muted { font-size: .78rem; line-height: 1.45; }
.hp .hp-crop-detail { padding: 16px; display: flex; flex-direction: column; justify-content: center; gap: 9px; background: var(--ui-ground); }
.hp .hp-kv { display: flex; justify-content: space-between; gap: 8px; font-size: .76rem; color: var(--muted); }
.hp .hp-kv span:last-child { font-weight: 700; color: var(--navy); }
.hp .hp-kv:last-child { padding-top: 8px; border-top: 1px solid var(--ui-line); }
.hp .hp-bars { display: flex; gap: 5px; align-items: flex-end; height: 40px; border-bottom: 1px solid var(--ui-line); padding: 0 2px; }
.hp .hp-bars i { display: block; width: 20%; height: 65%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--teal) 0%, #3b82c4 100%); opacity: .55; }
.hp .hp-bars i:nth-child(2) { height: 90%; }
.hp .hp-bars i:nth-child(3) { height: 45%; }
.hp .hp-bars i:nth-child(4) { height: 70%; }
.hp .hp-bars i:nth-child(5) { height: 100%; opacity: .9; }
.hp .hp-crop-detail .hp-report-label { font-size: .72rem; color: var(--muted); }
.js .hp .hp-stage .hp-callout, .js .hp .hp-stage .hp-crop { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .hp .hp-stage.in .hp-callout { opacity: 1; transform: none; transition-delay: .45s; }
.js .hp .hp-stage.in .hp-crop { opacity: 1; transform: none; transition-delay: .7s; }
.js .hp .hp-stage.in .hp-crop + .hp-crop { transition-delay: .85s; }

/* ===== home-configurable-verification-workflow =========================== */
.hp .hp-scene { position: relative; margin: 0; color: var(--ink); }
.hp .hp-scene::before { content: ""; position: absolute; z-index: 0; top: 24px; left: 24px; right: -24px; bottom: -24px; border-radius: 22px;
  background: var(--hp-hatch-workflow), var(--hp-spectrum); opacity: .92; }
.hp .hp-scene > [role="img"] { position: relative; z-index: 1; padding: 24px; border-radius: 22px; background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .30), 0 6px 18px rgba(0, 0, 0, .12); }
.hp .hp-wf-context { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ui-line); }
.hp .hp-wf-context .hp-ic { width: 40px; height: 40px; border-radius: 11px; background: var(--teal-08); color: var(--teal-ink); display: grid; place-items: center; flex: none; }
.hp .hp-wf-context b { display: block; font-size: .95rem; color: var(--navy); }
.hp .hp-wf-context p { font-size: .8rem; color: var(--muted); }
.hp .hp-presets { display: grid; grid-template-columns: 1.4fr .8fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--ui-line); }
.hp .hp-preset { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ui-line); background: var(--ui-ground); }
.hp .hp-preset span { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hp .hp-preset b { font-size: .92rem; color: var(--navy); }
.hp .hp-flow { padding: 18px 0 4px; }
.hp .hp-node { position: relative; display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--ui-line); background: #fff; box-shadow: var(--shadow-soft); }
.hp .hp-node .hp-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-08); color: var(--teal-ink); }
.hp .hp-node .hp-ic .hp-icon { width: 18px; height: 18px; }
.hp .hp-node b { display: block; font-size: .9rem; color: var(--navy); }
.hp .hp-node small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; }
.hp .hp-node .hp-step { font-family: var(--mono); font-size: .66rem; color: var(--muted); }
.hp .hp-channels { display: flex; gap: 6px; margin-top: 8px; }
.hp .hp-channels span { font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--ui-line); color: var(--navy); background: var(--ui-ground); }
.hp .hp-connector { height: 22px; width: 2px; margin-left: 32px; background: linear-gradient(180deg, var(--teal), #3b82c4); transform-origin: top center; position: relative; }
.hp .hp-connector::after { content: ""; position: absolute; left: -4px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: #3b82c4; }
.js .hp .hp-flow .hp-connector { transform: scaleY(0); }
.js .hp .hp-flow .hp-node { opacity: 0; transform: translateY(8px); }
.js .hp .hp-scene.in .hp-node { animation: hp-rise .5s ease forwards; animation-delay: calc(.2s + var(--i) * .3s); }
.js .hp .hp-scene.in .hp-connector { animation: hp-grow .4s ease forwards; animation-delay: calc(.45s + var(--i) * .3s); }
@keyframes hp-grow { to { transform: scaleY(1); } }

/* ===== home-privacy-verification-result ================================== */
.hp .hp-privacy-scene { position: relative; margin: 0; padding: 28px; border-radius: 26px; border: 1px solid var(--line-lav);
  background: linear-gradient(145deg, var(--lavender) 0%, var(--sky) 100%); }
.hp .hp-privacy-scene::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(16, 41, 75, .14); border-radius: 18px; pointer-events: none; }
.hp .hp-privacy-window { border-radius: 16px; box-shadow: var(--shadow-lift); }
.hp .hp-privacy-window .hpui-bar { justify-content: flex-start; gap: 10px; }
.hp .hp-privacy-window .hpui-bar .hp-icon { width: 16px; height: 16px; color: var(--teal-ink); }
.hp .hp-person { display: flex; align-items: center; gap: 14px; padding: 18px 16px 14px; }
.hp .hp-person .hpui-avatar { width: 46px; height: 46px; }
.hp .hp-person .hpui-avatar .hp-icon { width: 22px; height: 22px; }
.hp .hp-person b { display: block; font-size: 1.02rem; color: var(--navy); }
.hp .hp-person p { font-size: .78rem; color: var(--muted); font-family: var(--mono); margin-top: 2px; }
.hp .hp-result { display: flex; justify-content: space-between; align-items: center; margin: 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--ui-ground); border: 1px solid var(--ui-line); font-size: .8rem; color: var(--muted); }
.hp .hp-result strong { color: #146a3f; font-size: .86rem; }
.hp .hp-restricted { margin: 14px 16px 16px; padding: 14px; border-radius: 12px; border: 1px dashed rgba(123, 98, 201, .5); display: flex; align-items: center; gap: 14px; background: #f4f1fc; }
.hp .hp-restricted .hp-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--lavender); color: var(--navy); display: grid; place-items: center; flex: none; }
.hp .hp-restricted .hp-ic .hp-icon { width: 16px; height: 16px; }
.hp .hp-redacted { flex: 1; display: grid; gap: 7px; }
.hp .hp-redacted .hpui-mask:last-child { width: 62%; }
.hp .hp-restricted span { font-size: .66rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); text-align: right; line-height: 1.3; }
.js .hp .hp-privacy-scene .hp-result { opacity: 0; transform: translateY(8px); transition: opacity .6s .4s ease, transform .6s .4s cubic-bezier(.2, .7, .2, 1); }
.js .hp .hp-privacy-scene.in .hp-result { opacity: 1; transform: none; }

/* ===== home-storefront-product-discovery ================================= */
.hp .hp-mini-store { position: relative; height: 200px; border-radius: 16px; overflow: hidden; padding: 16px 18px; border: 1px solid var(--line-sky); background: linear-gradient(150deg, var(--mint-pale) 0%, var(--sky) 100%); }
.hp .hp-shop-nav { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 700; color: var(--navy); padding-bottom: 10px; border-bottom: 1px solid rgba(16, 41, 75, .14); letter-spacing: .04em; }
.hp .hp-shop-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; }
.hp .hp-shop-head { font-size: 1.4rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; max-width: 8ch; color: var(--navy); }
.hp .hp-shop-line { height: 5px; border-radius: 3px; background: rgba(16, 41, 75, .14); width: 80%; margin-top: 10px; }
.hp .hp-shop-line-short { width: 60%; }
.hp .hp-shop-image { height: 104px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--butter) 0%, var(--peach) 100%); color: var(--navy); }
.hp .hp-shop-image .hp-icon { width: 44px; height: 54px; opacity: .55; }
.hp .hp-store-tag { position: absolute; right: 12px; bottom: 12px; font-size: .66rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line-cool); border-radius: 999px; padding: 5px 10px; box-shadow: var(--shadow-soft); }

/* ===== home-mcp-developer-context ======================================== */
.hp .hp-mcp-scene { min-height: 200px; border-radius: 16px; padding: 22px; border: 1px solid var(--line-lav); background: linear-gradient(135deg, var(--lavender) 0%, var(--sky) 100%); }
.hp .hp-mcp-conn { display: flex; align-items: center; gap: 10px; font-size: .86rem; color: var(--navy); }
.hp .hp-mcp-conn .hp-icon { color: var(--teal-ink); }
.hp .hp-mcp-conn b { padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--ui-line); box-shadow: var(--shadow-soft); font-weight: 800; }
.hp .hp-mcp-conn > span { color: var(--teal-ink); font-weight: 800; }
.hp .hp-mcp-res { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hp .hp-mcp-res span { font-family: var(--mono); font-size: .68rem; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid var(--ui-line); color: var(--navy); }
/* The note's approved size is .98rem, declared here so the scene states what it
   renders rather than depending on a page rule reaching across the showcase
   card into the scene. */
.hp .hp-mcp-note { font-size: .98rem; color: var(--muted); margin-top: 14px; max-width: 44ch; }

/* ==========================================================================
   Responsive and reduced-motion — scene rules only
   Ordered as in the original stylesheet so the cascade is unchanged.
   ========================================================================== */
@media (max-width: 1100px) {
  .hp .hp-hero-visual::before { top: -40px; bottom: -34px; left: -30px; }
  .hp .hp-canvas { grid-template-columns: minmax(0, 1fr) 260px; gap: 0 20px; }
  .hp .hp-admin { margin-right: -90px; }
  .hp .hp-admin-body { grid-template-columns: 148px minmax(0, 1fr); }
  .hp .hp-stage { padding: 28px; }
  .hp .hp-crops { margin-left: 4%; }
}
@media (max-width: 900px) {
  .hp .hp-hero-visual { width: 100%; max-width: 560px; justify-self: center; padding: 0 0 0 14px; }
  .hp .hp-hero-visual::before { top: -28px; bottom: -28px; left: -50vw; right: -50vw; transform: none; border-radius: 0; box-shadow: none; }
  .hp .hp-canvas { grid-template-columns: 1fr; gap: 20px; }
  .hp .hp-admin { margin-right: 0; }
  .hp .hp-stage::after { width: 44%; }
  .hp .hp-callout { grid-column: 1; margin-top: 0; max-width: 380px; }
  .hp .hp-crops { margin: 4px 0 0; }
  .hp .hp-privacy-scene { max-width: 560px; }
}
@media (max-width: 768px) {
  .hp .hp-hero-visual::before { background: var(--hp-hero-field); }
  .hp .hp-stage { background: var(--hp-stage-field); }
}
@media (max-width: 760px) {
  .hp .hp-hero-visual { padding-left: 0; }
  .hp .hp-shopper { width: 78%; margin-left: -8px; }
  .hp .hp-pass { width: 72%; }
  .hp .hp-stage { padding: 18px 16px; border-radius: 20px; }
  .hp .hp-admin-body { display: block; min-height: 0; }
  .hp .hp-rail { flex-direction: row; align-items: center; padding: 10px 12px; gap: 6px; overflow: hidden; }
  .hp .hp-rail strong { padding: 0 8px 0 0; flex: none; }
  .hp .hp-rail-item { display: none; }
  .hp .hp-rail-item.is-active { display: flex; padding: 6px 10px; }
  .hp .hp-admin-main { padding: 16px; }
  .hp .hp-search { display: none; }
  .hp .hp-table tr.is-hide-narrow { display: none; }
  .hp .hp-table th:nth-child(2), .hp .hp-table td:nth-child(2) { display: none; }
  .hp .hp-crops { grid-template-columns: 1fr; gap: 12px; }
  .hp .hp-crop { grid-template-columns: 1fr; min-height: 0; }
  .hp .hp-crop-copy { border-right: 0; border-bottom: 1px solid var(--ui-line); }
  .hp .hp-scene > [role="img"] { padding: 18px 16px; border-radius: 18px; }
  .hp .hp-scene::before { top: 12px; left: 12px; right: -12px; bottom: -12px; border-radius: 18px; }
  .hp .hp-presets { grid-template-columns: 1fr; }
  .hp .hp-privacy-scene { padding: 16px; }
  .hp .hp-privacy-scene::after { inset: 7px; border-radius: 20px; }
}
@media (max-width: 400px) {
  .hp .hp-shopper { width: 92%; }
  .hp .hp-pass { width: 88%; }
  .hp .hp-table td { padding: 10px 6px; }
  .hp .hp-rail { flex-wrap: wrap; }
  .hp .hp-rail strong { padding-right: 4px; }
  .hp .hp-admin-main { padding: 14px 12px; }
  .hp .hp-table { table-layout: fixed; }
  .hp .hp-table th:first-child, .hp .hp-table td:first-child { width: 46%; }
  .hp .hp-table td:first-child { white-space: nowrap; }
  .hp .hp-table .hpui-chip { white-space: normal; text-align: left; line-height: 1.3; }
  .hp .hp-node { grid-template-columns: 32px 1fr auto; gap: 10px; padding: 12px; }
  .hp .hp-node .hp-ic { width: 32px; height: 32px; }
  .hp .hp-mcp-conn { flex-wrap: wrap; font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .hp .hp-hero-visual .hp-console-row, .js .hp .hp-hero-visual .hp-shopper, .js .hp .hp-hero-visual .hp-pass { opacity: 1; transform: none; animation: none; }
  .js .hp .hp-stage .hp-callout, .js .hp .hp-stage .hp-crop { opacity: 1; transform: none; transition: none; }
  .js .hp .hp-flow .hp-connector, .js .hp .hp-flow .hp-node { opacity: 1; transform: none; animation: none; }
  .js .hp .hp-privacy-scene .hp-result { opacity: 1; transform: none; transition: none; }
}
