@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #080b0f;
  --surface: #12171d;
  --surface-2: #1b222a;
  --glass: rgba(18, 23, 29, .78);
  --text: #f4efe7;
  --muted: #a8a199;
  --line: rgba(255,255,255,.12);
  --accent: #f1aa47;
  --accent-soft: rgba(241, 170, 71, .13);
  --accent-2: #75c68f;
  --danger: #e37b72;
  --radius: 8px;
}

/* Guest UI system: one material language across the complete mobile journey. */
.hp-guest-flow-page {
  --hp-guest-surface: rgba(8, 8, 8, .78);
  --hp-guest-surface-strong: rgba(12, 12, 12, .9);
  --hp-guest-control: rgba(255, 255, 255, .055);
  --hp-guest-control-hover: rgba(255, 255, 255, .09);
  --hp-guest-border: rgba(255, 255, 255, .14);
  --hp-guest-border-strong: rgba(255, 255, 255, .24);
  --hp-guest-text: rgba(255, 255, 255, .96);
  --hp-guest-muted: rgba(255, 255, 255, .68);
  --hp-guest-subtle: rgba(255, 255, 255, .5);
  --hp-guest-accent: #e00000;
  --hp-guest-radius: 8px;
  --hp-guest-shadow: 0 18px 48px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .055);
  color: var(--hp-guest-text);
}

.hp-guest-flow-page .hp-guest-card,
.hp-guest-flow-page .reference-card,
.hp-guest-flow-page .hp-result-card,
.hp-guest-flow-page .hp-selected-mix,
.hp-guest-flow-page .hp-taste-id-panel,
.hp-guest-flow-page .hp-feedback-form,
.hp-guest-flow-page .hp-feedback-summary,
.hp-guest-flow-page .hp-final-notes {
  border: 1px solid var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)),
    var(--hp-guest-surface);
  box-shadow: var(--hp-guest-shadow);
}

.hp-guest-flow-page .section-label,
.hp-guest-flow-page .taste-step-head > span,
.hp-guest-flow-page .hp-feedback-section-head > span {
  color: var(--hp-guest-muted);
  letter-spacing: 0;
}

.hp-guest-flow-page p,
.hp-guest-flow-page .reference-lead,
.hp-guest-flow-page .hp-service-note {
  color: var(--hp-guest-muted);
}

.hp-guest-flow-page .button,
.hp-guest-flow-page .wizard-button,
.hp-guest-flow-page .reference-submit,
.hp-guest-flow-page .hp-edit-choice {
  min-height: 52px;
  border: 1px solid var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: var(--hp-guest-control);
  color: var(--hp-guest-text);
  font-family: var(--hp-ui-font);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.15;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
  touch-action: manipulation;
}

.hp-guest-flow-page .button:hover,
.hp-guest-flow-page .wizard-button:hover,
.hp-guest-flow-page .hp-edit-choice:hover {
  border-color: var(--hp-guest-border-strong);
  background: var(--hp-guest-control-hover);
}

.hp-guest-flow-page .button.primary,
.hp-guest-flow-page .wizard-button.primary,
.hp-guest-flow-page .reference-submit {
  border-color: rgba(255, 255, 255, .94);
  background: #f7f6f4;
  color: #080808;
  box-shadow:
    inset 0 1px 0 #fff,
    0 10px 28px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(224, 0, 0, .13),
    0 0 24px rgba(224, 0, 0, .1);
}

.hp-guest-flow-page .button.primary:hover,
.hp-guest-flow-page .wizard-button.primary:hover,
.hp-guest-flow-page .reference-submit:hover {
  border-color: #fff;
  background: #fff;
  box-shadow:
    inset 0 1px 0 #fff,
    0 12px 32px rgba(0, 0, 0, .32),
    0 0 0 1px rgba(224, 0, 0, .2),
    0 0 30px rgba(224, 0, 0, .16);
}

.hp-guest-flow-page .reference-submit {
  min-height: 68px;
  padding: 10px 12px 10px 18px;
}

.hp-guest-flow-page .reference-submit-copy small {
  color: rgba(8, 8, 8, .58);
}

.hp-guest-flow-page .reference-back,
.hp-guest-flow-page .hp-table-pill,
.hp-guest-flow-page .hp-qr-context,
.hp-guest-flow-page .hp-request-summary span {
  border-color: var(--hp-guest-border);
  background: var(--hp-guest-control);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.hp-guest-flow-page .taste-progress button {
  min-height: 40px;
  border: 1px solid var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: var(--hp-guest-control);
  color: var(--hp-guest-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.hp-guest-flow-page .taste-progress button.done {
  border-color: rgba(224, 0, 0, .44);
  background: rgba(224, 0, 0, .12);
  color: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 0 18px rgba(224, 0, 0, .07);
}

.hp-guest-flow-page .taste-progress button.active {
  border-color: rgba(255, 255, 255, .94);
  background: #f7f6f4;
  color: #080808;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24), 0 0 0 1px rgba(224, 0, 0, .16);
}

.hp-guest-flow-page .reference-moods input:not(:checked) + span,
.hp-guest-flow-page .reference-chips input:not(:checked) + span,
.hp-guest-flow-page .reference-experience input:not(:checked) + span {
  border-color: var(--hp-guest-border);
  background: var(--hp-guest-control);
  color: rgba(255, 255, 255, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.hp-guest-flow-page .reference-moods input:checked + span,
.hp-guest-flow-page .reference-chips input:checked + span,
.hp-guest-flow-page .reference-experience input:checked + span {
  border-color: rgba(255, 255, 255, .92);
  background: #f7f6f4;
  color: #080808;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .26), 0 0 0 1px rgba(224, 0, 0, .13);
}

.hp-guest-flow-page .taste-step .wizard-actions,
.hp-guest-flow-page .hp-recommendation-carousel .hp-result-card form {
  border-color: var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)),
    var(--hp-guest-surface-strong);
  box-shadow: 0 -16px 36px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.hp-guest-flow-page .taste-card .reference-slider input[type="range"] {
  background:
    linear-gradient(90deg, rgba(238, 20, 28, .96) 0 var(--range-progress), rgba(255, 255, 255, .18) var(--range-progress) 100%) center / 100% var(--range-track-height) no-repeat;
  box-shadow: 0 0 10px rgba(224, 0, 0, .06);
}

.hp-guest-flow-page .taste-card .reference-slider::after {
  border-color: rgba(8, 8, 8, .98);
  background: linear-gradient(180deg, #ff2028, #c90008);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    inset 0 -4px 8px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(255, 255, 255, .14),
    0 0 0 5px rgba(224, 0, 0, .1),
    0 0 16px rgba(224, 0, 0, .42);
}

.hp-guest-flow-page .hp-optional-preferences > summary em {
  border-color: var(--hp-guest-border);
  background: var(--hp-guest-control);
  color: var(--hp-guest-muted);
}

.hp-guest-flow-page .hp-carousel-nav {
  border-color: var(--hp-guest-border);
  background: var(--hp-guest-surface-strong);
  box-shadow: var(--hp-guest-shadow);
}

.hp-guest-flow-page .hp-carousel-nav button {
  border-color: var(--hp-guest-border);
  background: var(--hp-guest-control);
  color: var(--hp-guest-muted);
}

.hp-guest-flow-page .hp-carousel-nav button.active {
  border-color: rgba(255, 255, 255, .94);
  background: #f7f6f4;
  color: #080808;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .26), 0 0 0 1px rgba(224, 0, 0, .13);
}

.hp-guest-flow-page .hp-rating-grid span,
.hp-guest-flow-page .hp-feedback-chips span,
.hp-guest-flow-page .hp-feedback-comment textarea,
.hp-guest-flow-page .field input {
  border-color: var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: var(--hp-guest-control);
  color: var(--hp-guest-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.hp-guest-flow-page .hp-rating-grid input:checked + span,
.hp-guest-flow-page .hp-feedback-chips input:checked + span {
  border-color: rgba(255, 255, 255, .94);
  background: #f7f6f4;
  color: #080808;
}

@media (max-width: 420px) {
  .hp-guest-flow-page .hp-guest-card,
  .hp-guest-flow-page .reference-screen,
  .hp-guest-flow-page .hp-results-shell,
  .hp-guest-flow-page .hp-sent-shell,
  .hp-guest-flow-page .hp-feedback-shell {
    width: min(100%, 100vw);
  }

  .hp-guest-flow-page .button,
  .hp-guest-flow-page .wizard-button,
  .hp-guest-flow-page .hp-edit-choice {
    font-size: 14px;
  }
}


* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(29, 43, 42, .36), transparent 28rem),
    radial-gradient(circle at 58% 18%, rgba(241, 170, 71, .10), transparent 22rem),
    var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
svg {
  width: 1em;
  height: 1em;
  display: inline-block;
}
.topbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 15, 18, .82);
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  z-index: 2;
}
.brand { font-weight: 800; }
nav { display: flex; gap: 1rem; color: var(--muted); }
.shell { max-width: 1120px; margin: 0 auto; padding: 2rem clamp(1rem, 4vw, 3rem); }
.guest-shell { min-height: calc(100vh - 58px); display: grid; place-items: start center; padding: 1rem; }
.concept-page .topbar { display: none; }
.concept-stage {
  min-height: 100vh;
  width: min(100%, 1536px);
  margin: 0 auto;
  padding: clamp(1rem, 2.4vw, 2rem);
  display: grid;
  grid-template-columns: 220px minmax(360px, 430px) minmax(420px, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
}
.brand-rail {
  min-height: 820px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text);
}
.brand-rail h1 {
  font-size: 1.45rem;
  line-height: 1.18;
  letter-spacing: .16em;
  margin: 1.4rem 0 1.6rem;
}
.brand-rail p {
  color: var(--accent);
  font-size: 1.02rem;
  line-height: 1.45;
  margin: 0;
}
.hookah-mark {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  color: var(--accent);
}
.hookah-mark svg { width: 86px; height: 86px; }
.rail-line { height: 1px; width: 100%; background: var(--line); margin: 2.2rem 0; }
.rail-feature {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: .9rem;
  align-items: start;
  margin: 1rem 0;
}
.rail-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
}
.rail-icon svg { width: 22px; height: 22px; }
.rail-feature strong { display: block; font-size: .95rem; line-height: 1.35; }
.rail-feature small { display: block; color: var(--muted); line-height: 1.45; margin-top: .5rem; }
.rail-actions { margin-top: auto; display: grid; gap: .75rem; }
.rail-button {
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  color: var(--text);
  background: rgba(255,255,255,.035);
}
.rail-button svg { color: var(--accent); width: 20px; height: 20px; }
.phone-shell {
  display: grid;
  place-items: center;
}
.phone-bezel {
  width: min(100%, 412px);
  height: min(98vh, 980px);
  min-height: 900px;
  border-radius: 52px;
  border: 7px solid #1d2024;
  padding: 16px;
  background: linear-gradient(160deg, #20242a, #07090c 58%);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 34px 90px rgba(0,0,0,.55);
}
.phone-status {
  height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 .75rem;
  color: var(--text);
  font-weight: 800;
}
.phone-status span:last-child { color: var(--accent); font-weight: 700; }
.phone-screen {
  position: relative;
  height: calc(100% - 38px);
  overflow: hidden;
  border-radius: 38px;
  padding: .82rem .82rem 4.8rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 18rem),
    #0c1015;
  scrollbar-width: thin;
}
.phone-back {
  position: absolute;
  top: .9rem;
  left: .9rem;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}
.phone-screen .stack { gap: .45rem; }
.phone-screen .context { display: none; }
.phone-screen .optional-details { display: none; }
.phone-screen h1 {
  font-size: 1.72rem;
  text-align: center;
  line-height: 1.1;
  margin: .72rem 0 .35rem;
}
.screen-subtitle {
  text-align: center;
  max-width: 300px;
  margin: 0 auto .7rem;
  font-size: .86rem;
}
.concept-card {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .56rem;
  margin-top: .43rem;
}
.card-title {
  display: block;
  color: var(--text);
  font-weight: 800;
  margin-bottom: .48rem;
}
.mood-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .42rem;
}
.mood-grid label {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-height: 39px;
  border: 1px solid var(--line);
  border-radius: 12px;
  place-items: center;
  text-align: center;
  padding: .35rem;
  color: var(--muted);
  background: rgba(0,0,0,.12);
  font-size: .74rem;
}
.mood-grid input { display: none; }
.mood-icon {
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1;
}
.mood-grid input:checked + .mood-icon + span {
  color: var(--accent);
  font-weight: 800;
}
.mood-grid label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.taste-line {
  display: grid;
  grid-template-columns: 78px 1fr 42px;
  gap: .7rem;
  align-items: center;
  color: var(--muted);
  font-size: .84rem;
  margin: .3rem 0;
}
.taste-line b { color: var(--text); font-size: .8rem; text-align: right; }
.taste-line select {
  grid-column: span 2;
  border: 1px solid var(--line);
  background: #0d1116;
  color: var(--text);
  border-radius: var(--radius);
  padding: .42rem .5rem;
}
.concept-chips label {
  padding: .32rem .46rem;
  font-size: .74rem;
  background: rgba(255,255,255,.04);
}
.compact-form { display: grid; gap: .6rem; }
.check.slim { padding: .52rem .6rem; font-size: .82rem; }
.sparkle::after { content: "✦"; margin-left: .55rem; }
.experience-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .45rem;
}
.experience-row label {
  display: grid;
  place-items: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(0,0,0,.12);
  font-size: .74rem;
}
.experience-row input { display: none; }
.experience-row label:has(input:checked) {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 800;
}
.optional-details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .65rem .75rem;
  color: var(--muted);
  background: rgba(255,255,255,.035);
}
.optional-details summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 700;
}
.optional-details .compact-form { margin-top: .65rem; }
.phone-nav {
  position: absolute;
  left: .82rem;
  right: .82rem;
  bottom: .74rem;
  height: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(12,16,21,.35), #0c1015 42%);
  color: var(--muted);
}
.phone-nav span {
  display: grid;
  justify-items: center;
  gap: .18rem;
  font-size: .6rem;
  line-height: 1;
}
.phone-nav svg { width: 18px; height: 18px; }
.phone-nav .active { color: var(--accent); }
.phone-screen .sparkle {
  min-height: 40px;
  padding: .58rem .8rem;
}
.ops-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
  align-self: start;
  padding-top: .2rem;
}
.ops-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025));
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
  padding: 1rem;
}
.ops-head {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .75rem;
}
.ops-head span, .section-label { color: var(--muted); font-size: .74rem; letter-spacing: .08em; }
.ops-head strong { font-size: 1.25rem; }
.ops-request {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: .85rem;
  padding: .63rem 0;
  border-top: 1px solid var(--line);
}
.ops-request:first-of-type { border-top: 0; }
.table-tile {
  display: grid;
  place-items: center;
  min-height: 66px;
  border-radius: var(--radius);
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--muted);
  text-align: center;
  font-size: .76rem;
}
.table-tile b { display: block; color: var(--text); font-size: 1.35rem; }
.ops-request small { display: block; color: var(--muted); margin-bottom: .25rem; }
.ops-request strong { display: block; color: var(--text); font-weight: 600; }
.ops-request em {
  display: inline-flex;
  color: var(--accent);
  margin-top: .45rem;
  font-style: normal;
  font-size: .82rem;
}
.ops-request em.green { color: var(--accent-2); }
.ops-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: .45rem;
}
.ops-tags i {
  color: var(--muted);
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: .22rem .45rem;
  background: rgba(255,255,255,.04);
  font-size: .74rem;
}
.ops-tags i:nth-child(1) { color: var(--accent-2); background: rgba(117,198,143,.1); }
.ops-tags i:nth-child(2) { color: #ff9fc2; background: rgba(255,159,194,.1); }
.preview-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .65rem;
}
.preview-metrics div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem;
  background: rgba(255,255,255,.035);
}
.preview-metrics span { display: block; color: var(--muted); font-size: .76rem; }
.preview-metrics b { font-size: 1.6rem; margin-top: .25rem; display: block; }
.preview-metrics small { color: var(--accent-2); font-size: .72rem; }
.admin-preview-inner {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .9rem;
}
.admin-icon-rail {
  border-right: 1px solid var(--line);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: .8rem;
  padding-top: .2rem;
  color: var(--muted);
}
.admin-icon-rail span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.admin-icon-rail .active { color: var(--accent); }
.admin-preview-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr .85fr;
  gap: .65rem;
  margin-top: .65rem;
}
.mini-chart,
.donut-card,
.compact-bars {
  min-height: 146px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  padding: .75rem;
}
.mini-chart h3,
.donut-card h3,
.compact-bars h3 {
  margin: 0 0 .65rem;
  font-size: .86rem;
}
.mini-chart {
  display: flex;
  gap: 11%;
  align-items: end;
  padding-top: 2.4rem;
  position: relative;
}
.mini-chart h3 {
  position: absolute;
  top: .75rem;
  left: .75rem;
}
.mini-chart span {
  width: 8px;
  border-radius: 99px 99px 0 0;
  background: var(--accent);
}
.compact-bars p {
  grid-template-columns: 76px 1fr 36px;
  margin: .4rem 0;
  font-size: .76rem;
}
.donut-card {
  display: grid;
  align-content: start;
  justify-items: center;
}
.donut {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--accent-2) 0 72%, #f2c35b 72% 84%, #e76f86 84% 100%);
  position: relative;
  margin-top: .3rem;
}
.donut::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #11161c;
}
.donut b,
.donut span {
  position: relative;
  z-index: 1;
}
.donut b { font-size: 1.2rem; }
.donut span { display: block; color: var(--muted); font-size: .66rem; margin-top: 1.5rem; }
.tag-bars p {
  display: grid;
  grid-template-columns: 100px 1fr 34px;
  gap: .7rem;
  align-items: center;
  color: var(--muted);
}
.tag-bars i {
  height: 6px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), rgba(241,170,71,.18) var(--w), rgba(255,255,255,.08) var(--w));
}
.tag-bars b { color: var(--text); font-weight: 700; }
.recommendation-stage {
  min-height: 100vh;
  max-width: 1220px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  align-items: center;
}
.results-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--glass);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  padding: 1.25rem;
}
.results-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
.results-head h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0; }
.results-head p { max-width: 410px; margin: 0; }
.hero { min-height: 72vh; display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.05; margin: 0 0 1rem; letter-spacing: 0; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); }
.mobile-card h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
.shell .section-head h1, .shell > section > h1 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h2 { margin: 0 0 .75rem; }
p { color: var(--muted); line-height: 1.6; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface-2);
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}
.button.primary { background: var(--accent); border-color: var(--accent); color: #18110a; }
.button.danger { border-color: var(--danger); color: var(--danger); }
.button.full { width: 100%; }
.actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.panel, .mobile-card, .mix-card, .metric, .mini-card {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.panel { padding: 1.25rem; }
.panel.narrow { max-width: 440px; margin: 3rem auto; }
.panel.subtle { box-shadow: none; }
.mobile-card { width: min(100%, 520px); padding: 1.25rem; }
.mobile-card.wide { width: min(100%, 980px); }
.context, .muted { color: var(--muted); font-size: .92rem; }
.stack { display: grid; gap: 1rem; }
.field { display: grid; gap: .45rem; color: var(--muted); font-size: .9rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0f1216;
  color: var(--text);
  padding: .8rem .85rem;
  font: inherit;
}
input[type="range"], input[type="checkbox"], input[type="radio"] {
  accent-color: var(--accent);
}
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips label, .check {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .62rem .7rem;
  background: #101419;
  color: var(--text);
}
.chips.vertical { display: grid; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.recommendation-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mix-card { padding: 1rem; display: grid; gap: .75rem; }
.mix-label { color: var(--accent); font-weight: 800; text-transform: uppercase; font-size: .78rem; }
.composition { display: flex; flex-wrap: wrap; gap: .4rem; }
.composition span {
  background: #101419;
  color: var(--accent-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .35rem .5rem;
  font-size: .82rem;
}
.pairings { padding-left: 1rem; color: var(--muted); }
.warning { color: var(--danger); }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.ops-workspace {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  padding: 1.25rem;
  box-shadow: 0 26px 85px rgba(0,0,0,.34);
}
.segmented {
  display: inline-flex;
  gap: .35rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .3rem;
  margin-bottom: 1rem;
  background: rgba(0,0,0,.18);
}
.segmented span {
  padding: .45rem .75rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: .88rem;
}
.segmented span:first-child { background: var(--accent-soft); color: var(--accent); }
.table-list { display: grid; gap: .65rem; }
.request-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.staff-board-row {
  grid-template-columns: 76px 1.2fr 1fr auto 48px;
  padding: .65rem .75rem;
}
.staff-board-row > span:nth-child(2) {
  display: grid;
  gap: .25rem;
}
.staff-board-row small { color: var(--muted); }
.row-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.row-tags i {
  color: var(--accent-2);
  font-style: normal;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .24rem .42rem;
  font-size: .78rem;
}
.request-row strong { color: var(--text); }
.request-row em {
  justify-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .28rem .55rem;
  color: var(--accent);
  font-style: normal;
  background: #101419;
}
.request-row.negative { border-color: var(--danger); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.inline { display: inline-flex; margin: .35rem .35rem .35rem 0; }
.metric-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; margin-bottom: 1rem; }
.metric { padding: 1rem; }
.metric span { display: block; color: var(--muted); font-size: .84rem; }
.metric strong { display: block; font-size: 1.85rem; margin-top: .4rem; }
.analytics-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: .75rem;
}
.chart-panel { min-height: 220px; }
.line-chart {
  height: 132px;
  display: flex;
  align-items: end;
  gap: 12%;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0 1rem;
}
.line-chart span {
  width: 9px;
  border-radius: 99px 99px 0 0;
  background: var(--accent);
  min-height: 28px;
}
.line-chart span:nth-child(1) { height: 44px; }
.line-chart span:nth-child(2) { height: 72px; }
.line-chart span:nth-child(3) { height: 96px; }
.line-chart span:nth-child(4) { height: 58px; }
.line-chart span:nth-child(5) { height: 82px; }

@media (max-width: 820px) {
  .hero, .two-col, .recommendation-list, .grid-3, .metric-grid, .analytics-grid { grid-template-columns: 1fr; }
  .request-row { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; }
  nav { font-size: .9rem; }
}

@media (max-width: 1180px) {
  .concept-stage {
    grid-template-columns: minmax(330px, 430px) minmax(360px, 1fr);
  }
  .brand-rail { display: none; }
}

@media (max-width: 900px) {
  .concept-stage {
    display: grid;
    grid-template-columns: 1fr;
    padding: .35rem;
    min-height: 100vh;
  }
  .ops-stack { display: none; }
  .phone-bezel {
    width: min(100%, 390px);
    min-height: calc(100vh - .7rem);
    height: calc(100vh - .7rem);
    border-radius: 30px;
    border-width: 5px;
    padding: 8px;
  }
  .phone-status {
    height: 30px;
    padding: 0 .55rem;
    font-size: .9rem;
  }
  .phone-screen {
    min-height: 0;
    height: calc(100% - 30px);
    border-radius: 22px;
    overflow: hidden;
    padding: .48rem .58rem 3.7rem;
  }
  .phone-back {
    width: 38px;
    height: 38px;
    top: .72rem;
    left: .72rem;
  }
  .phone-screen h1 {
    font-size: 1.52rem;
    margin: 3.55rem 0 .3rem;
  }
  .screen-subtitle {
    font-size: .78rem;
    line-height: 1.45;
    margin-bottom: .48rem;
  }
  .phone-screen .stack { gap: .34rem; }
  .phone-screen .optional-details { display: none; }
  .concept-card {
    padding: .48rem;
    margin-top: .32rem;
    border-radius: 12px;
  }
  .card-title {
    margin-bottom: .36rem;
    font-size: .9rem;
  }
  .mood-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .32rem;
  }
  .mood-grid label {
    min-height: 58px;
    padding: .28rem .18rem;
    font-size: .61rem;
    line-height: 1.1;
  }
  .mood-icon {
    font-size: 1.05rem;
  }
  .taste-line {
    grid-template-columns: 72px 1fr 32px;
    gap: .45rem;
    font-size: .76rem;
    margin: .24rem 0;
  }
  .taste-line b { font-size: .72rem; }
  .taste-line select {
    padding: .34rem .45rem;
    font-size: .78rem;
  }
  .concept-chips {
    gap: .36rem;
  }
  .concept-chips label {
    padding: .3rem .44rem;
    min-width: 31%;
    justify-content: center;
    font-size: .68rem;
  }
  .experience-row {
    gap: .34rem;
  }
  .experience-row label {
    min-height: 30px;
    font-size: .68rem;
  }
  .phone-screen .sparkle {
    min-height: 40px;
    padding: .52rem .7rem;
    margin-top: .2rem;
  }
  .phone-nav {
    left: .58rem;
    right: .58rem;
    bottom: .42rem;
    height: 42px;
  }
  .phone-nav svg {
    width: 15px;
    height: 15px;
  }
  .phone-nav span {
    font-size: .55rem;
  }
  .recommendation-stage { padding: .75rem; }
  .results-panel { padding: .85rem; border-radius: 18px; }
  .results-head { display: block; }
}

/* Reference-locked guest concept */
.reference-page {
  min-width: 320px;
  background:
    radial-gradient(circle at 11% 11%, rgba(67, 92, 88, .24), transparent 19rem),
    radial-gradient(circle at 56% 105%, rgba(241, 170, 71, .13), transparent 26rem),
    linear-gradient(90deg, #090d11 0%, #0b1116 42%, #090d11 100%);
  overflow-x: hidden;
}

.reference-page .topbar { display: none; }

.reference-stage {
  position: relative;
  width: min(100vw, 1536px);
  height: min(100vh, 1024px);
  min-height: 900px;
  margin: 0 auto;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: #f6f0e7;
  letter-spacing: 0;
}

.reference-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025), transparent 19%, transparent 70%, rgba(255,255,255,.015)),
    radial-gradient(circle at 50% 54%, rgba(255,255,255,.035), transparent 34rem);
  pointer-events: none;
}

.reference-stage button,
.reference-stage input {
  font: inherit;
}

.reference-rail {
  position: absolute;
  left: 42px;
  top: 72px;
  width: 177px;
  height: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #f7f0e8;
}

.reference-logo {
  width: 73px;
  height: 94px;
  display: grid;
  place-items: center;
  color: #f4a72b;
}

.reference-logo svg {
  width: 72px;
  height: 72px;
}

.reference-rail h1 {
  margin: 18px 0 32px;
  text-align: center;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: .15em;
}

.reference-rail > p {
  margin: 0;
  text-align: center;
  color: #f2a94a;
  font-size: 16px;
  line-height: 1.36;
}

.reference-divider {
  width: 177px;
  height: 1px;
  margin: 36px 0 26px;
  background: rgba(255,255,255,.15);
}

.reference-feature {
  position: relative;
  width: 100%;
  min-height: 112px;
  margin-bottom: 20px;
  padding-left: 57px;
}

.reference-feature span {
  position: absolute;
  left: 0;
  top: 1px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border: 1.2px solid #f2a94a;
  border-radius: 50%;
  color: #f2a94a;
}

.reference-feature span svg {
  width: 22px;
  height: 22px;
}

.reference-feature strong {
  display: block;
  margin-top: 1px;
  font-size: 15px;
  line-height: 1.36;
  font-weight: 750;
}

.reference-feature small {
  display: block;
  margin-top: 12px;
  color: #a49d96;
  font-size: 11.5px;
  line-height: 1.52;
}

.reference-rail-actions {
  margin-top: auto;
  width: 162px;
  display: grid;
  gap: 16px;
}

.reference-rail-actions a {
  height: 51px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: #efe8df;
  font-size: 16px;
}

.reference-rail-actions svg {
  width: 24px;
  height: 24px;
  color: #d8a25a;
}

.reference-phone {
  position: absolute;
  left: 256px;
  top: 16px;
  width: 430px;
  height: 950px;
}

.reference-device {
  position: relative;
  width: 424px;
  height: 948px;
  border: 3px solid rgba(255,255,255,.28);
  border-radius: 56px;
  padding: 10px;
  background: linear-gradient(145deg, #2b2f34, #06080b 57%);
  box-shadow:
    0 0 0 3px #050608,
    0 0 0 6px #1b1e22,
    0 30px 90px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,255,255,.1);
}

.device-speaker {
  position: absolute;
  top: 8px;
  left: 151px;
  width: 122px;
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,.16);
  z-index: 3;
}

.device-side {
  position: absolute;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(#888, #333);
}

.side-left-one { left: -9px; top: 92px; height: 34px; }
.side-left-two { left: -9px; top: 146px; height: 98px; }
.side-right { right: -9px; top: 220px; height: 98px; }

.reference-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 44px;
  padding: 0 28px 78px;
  background:
    radial-gradient(circle at 51% -2%, rgba(255,255,255,.09), transparent 15rem),
    linear-gradient(180deg, #111820 0%, #0b1015 55%, #070b0f 100%);
  box-shadow: inset 0 0 45px rgba(0,0,0,.56);
}

.reference-status {
  height: 61px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: #fff7ee;
  font-size: 16px;
  font-weight: 800;
}

.reference-status b {
  position: absolute;
  top: 72px;
  right: 28px;
  color: #f2a94a;
  font-size: 16px;
  font-weight: 650;
}

.status-icons {
  position: absolute;
  top: 30px;
  right: 41px;
  display: flex;
  align-items: end;
  gap: 5px;
  color: #f4f1ee;
}

.status-icons i:first-child {
  width: 17px;
  height: 13px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: skew(-8deg);
}

.status-icons i:nth-child(2) {
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-45deg);
}

.status-icons i:last-child {
  width: 24px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 17px 0 0 currentColor;
}

.reference-back {
  position: absolute;
  left: 28px;
  top: 67px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #f7f2eb;
  font-size: 35px;
  line-height: 0;
  padding-bottom: 5px;
  cursor: pointer;
}

.reference-screen h2 {
  margin: 49px 0 8px;
  text-align: center;
  font-size: 29px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: 0;
}

.reference-lead {
  margin: 0 0 22px;
  text-align: center;
  color: #b7b0aa;
  font-size: 14px;
  line-height: 1.5;
}

.reference-form {
  display: grid;
  gap: 7px;
}

.reference-card {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.028));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.reference-card h3 {
  margin: 0;
  color: #fff6ec;
  font-size: 14px;
  line-height: 1;
  font-weight: 680;
}

.mood-card {
  padding: 16px 13px 12px;
}

.reference-moods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.reference-moods label,
.reference-chips label,
.reference-experience label {
  display: block;
  cursor: pointer;
}

.reference-moods input,
.reference-chips input,
.reference-experience input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.reference-moods span {
  height: 62px;
  display: grid;
  place-items: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 9px;
  color: #d2ccc5;
  background: rgba(0,0,0,.1);
}

.reference-moods span,
.reference-chips span,
.reference-experience span {
  pointer-events: none;
}

.reference-moods svg {
  width: 20px;
  height: 20px;
  color: #efad55;
}

.reference-moods b {
  font-size: 10px;
  font-weight: 520;
}

.reference-moods input:checked + span {
  border-color: #f2a94a;
  color: #f2a94a;
  background: rgba(242, 169, 74, .08);
}

.taste-card {
  padding: 13px 13px 12px;
}

.taste-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}

.taste-card h3 small {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  color: #b8b0a8;
  font-size: 11px;
  font-weight: 700;
}

.reference-slider {
  display: grid;
  grid-template-columns: 104px 1fr 33px;
  align-items: center;
  gap: 11px;
  height: 38px;
  color: #d5cec6;
  font-size: 13px;
}

.reference-slider span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.reference-slider svg {
  width: 18px;
  height: 18px;
}

.reference-slider.berry svg { color: #ff5f9a; }
.reference-slider.mint svg { color: #7bd68d; }
.reference-slider.citrus svg { color: #d7e858; }
.reference-slider.violet svg { color: #b98ae8; }

.reference-slider input[type="range"] {
  width: 100%;
  height: 4px;
  accent-color: #f4ad59;
}

.reference-slider b {
  justify-self: end;
  font-size: 13px;
  font-weight: 520;
  color: #efe7df;
}

.accents-card {
  padding: 13px 13px 10px;
}

.reference-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.reference-chips span {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  color: #d4cec7;
  background: rgba(255,255,255,.025);
  font-size: 12px;
}

.reference-chips svg {
  width: 14px;
  height: 14px;
  color: #f1a946;
}

.reference-chips .selected span,
.reference-chips input:checked + span {
  border-color: rgba(242,169,74,.75);
  color: #f2a94a;
  background: rgba(242,169,74,.09);
}

.experience-card {
  padding: 13px 13px 12px;
}

.reference-experience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.reference-experience span {
  height: 31px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 7px;
  color: #d4cec7;
  background: rgba(255,255,255,.025);
  font-size: 12px;
}

.reference-experience input:checked + span {
  border-color: #f2a94a;
  color: #f2a94a;
  background: rgba(242,169,74,.1);
}

.reference-submit {
  height: 43px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7bd6c, #eba04d);
  color: #1b1208;
  font-size: 14px;
  font-weight: 680;
  box-shadow: 0 12px 24px rgba(240, 166, 74, .18), inset 0 1px 0 rgba(255,255,255,.42);
  cursor: pointer;
}

.reference-submit svg {
  width: 16px;
  height: 16px;
  margin-left: 160px;
  vertical-align: -3px;
}

.reference-nav {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 22px;
  height: 51px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(8,12,16,0), #080c10 36%);
}

.reference-nav span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  color: #8f8983;
  font-size: 10px;
  line-height: 1;
}

.reference-nav svg {
  width: 18px;
  height: 18px;
}

.reference-nav .active {
  color: #f2a94a;
}

.reference-ops {
  position: absolute;
  left: 712px;
  top: 28px;
  width: 790px;
  height: 925px;
}

.reference-panel {
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.026)),
    rgba(11, 16, 20, .72);
  box-shadow: 0 26px 85px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.035);
  backdrop-filter: blur(12px);
}

.staff-panel {
  height: 510px;
  padding: 22px 18px 16px;
}

.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 13px;
}

.panel-head span,
.admin-top span {
  display: block;
  color: #c9c1b8;
  font-size: 14px;
  line-height: 1;
  font-weight: 520;
}

.panel-head strong,
.admin-top strong {
  display: block;
  margin-top: 13px;
  color: #fff6ee;
  font-size: 20px;
  line-height: 1;
  font-weight: 750;
}

.staff-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  height: 39px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  overflow: hidden;
  background: rgba(0,0,0,.12);
}

.staff-tabs button {
  height: 100%;
  padding: 0 15px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.055);
  background: transparent;
  color: #a9a19a;
  font-size: 12px;
  cursor: pointer;
}

.staff-tabs button:first-child { border-left: 0; }
.staff-tabs button.active {
  margin: 5px;
  height: 29px;
  border: 1px solid rgba(242,169,74,.55);
  border-radius: 6px;
  background: rgba(242,169,74,.14);
  color: #f8eee2;
}

.staff-tabs b {
  color: #f2a94a;
  margin-left: 4px;
}

.staff-tabs .icon-only {
  width: 50px;
  color: #eee6de;
}

.staff-tabs svg {
  width: 18px;
  height: 18px;
}

.staff-list {
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 9px;
  overflow: hidden;
}

.staff-row {
  height: 89px;
  display: grid;
  grid-template-columns: 76px 1fr 145px;
  gap: 16px;
  align-items: center;
  padding: 0 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #f2eee8;
  background: rgba(255,255,255,.012);
}

.staff-row:first-child { border-top: 0; }

.staff-table {
  height: 89px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border-right: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.16);
  color: #ded7d0;
  font-size: 13px;
}

.staff-table b {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.staff-main {
  display: block;
  min-width: 0;
}

.staff-main small {
  display: block;
  margin-bottom: 6px;
  color: #a49d95;
  font-size: 13px;
}

.staff-main strong {
  display: block;
  margin-bottom: 7px;
  color: #dfd9d2;
  font-size: 16px;
  font-weight: 520;
}

.staff-main i {
  display: inline-flex;
  margin: 0 5px 0 0;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 6px;
  background: rgba(255,255,255,.045);
  color: #ded7d0;
  font-size: 12px;
  line-height: 1.2;
  font-style: normal;
}

.staff-main i.green {
  color: #8bdc8f;
  border-color: rgba(104,190,111,.34);
  background: rgba(83,156,89,.16);
}

.staff-main i.pink {
  color: #ff91b7;
  border-color: rgba(255,145,183,.32);
  background: rgba(255,145,183,.12);
}

.staff-main i.orange {
  color: #f2a94a;
  border-color: rgba(242,169,74,.35);
  background: rgba(242,169,74,.13);
}

.staff-row em {
  justify-self: end;
  color: #f2a94a;
  font-size: 12px;
  font-weight: 750;
  font-style: normal;
}

.staff-row em::after {
  content: "›";
  margin-left: 13px;
  color: #f4eee8;
  font-size: 25px;
  font-weight: 300;
  vertical-align: -3px;
}

.staff-row em.done {
  color: #91d994;
}

.history-row {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #a8a19a;
  font-size: 14px;
}

.history-row svg {
  width: 16px;
  height: 16px;
}

.history-row b {
  margin-left: auto;
  color: #d8d1ca;
  font-size: 25px;
  font-weight: 300;
}

.admin-panel {
  position: absolute;
  left: 0;
  top: 524px;
  width: 790px;
  height: 400px;
  display: grid;
  grid-template-columns: 55px 1fr;
}

.admin-rail {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 24px;
  padding-top: 27px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.admin-rail span {
  color: #b6aea7;
}

.admin-rail .active {
  color: #f2a94a;
}

.admin-rail svg {
  width: 19px;
  height: 19px;
}

.admin-content {
  padding: 20px 16px 16px;
}

.admin-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.admin-top button {
  min-width: 154px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: #ddd5cd;
  font-size: 12px;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 11px;
}

.metric-row div,
.crm-card {
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.023));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.metric-row div {
  height: 101px;
  padding: 16px 13px;
}

.metric-row span {
  display: block;
  color: #d5cec7;
  font-size: 12px;
}

.metric-row b {
  display: block;
  margin: 11px 0 4px;
  color: #fff7ed;
  font-size: 27px;
  line-height: 1;
}

.metric-row small {
  color: #a39b94;
  font-size: 11px;
}

.metric-row em {
  color: #5fd48c;
  font-style: normal;
  margin-left: 6px;
}

.analytics-row {
  display: grid;
  grid-template-columns: 1.1fr .82fr 1.1fr;
  gap: 9px;
}

.crm-card {
  height: 190px;
  padding: 14px 12px;
}

.crm-card h3 {
  margin: 0 0 10px;
  color: #fff7ed;
  font-size: 13px;
  font-weight: 650;
}

.line-plot {
  position: relative;
  height: 145px;
  border-left: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 47px 100%;
}

.line-plot svg {
  position: absolute;
  inset: 0 0 0 0;
  width: 100%;
  height: 100%;
}

.tooltip {
  position: absolute;
  left: 130px;
  top: 38px;
  width: 55px;
  padding: 8px 7px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  background: rgba(22,28,34,.92);
  color: #b7afa8;
  font-size: 11px;
  line-height: 1.35;
}

.tooltip b {
  color: #fff7ed;
  font-size: 14px;
}

.bars-card p {
  display: grid;
  grid-template-columns: 75px 1fr 30px;
  align-items: center;
  gap: 9px;
  margin: 9px 0;
  color: #ede5dd;
  font-size: 12px;
}

.bars-card i {
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, #b78236 0 var(--w), rgba(255,255,255,.11) var(--w) 100%);
}

.bars-card b {
  font-size: 12px;
  font-weight: 520;
}

.feedback-wrap {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 12px;
}

.feedback-donut {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: conic-gradient(#7ec28a 0 82%, #efc25a 82% 95%, #e76f86 95% 100%);
  position: relative;
}

.feedback-donut::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: #151b20;
}

.feedback-donut b,
.feedback-donut span {
  position: relative;
  z-index: 1;
}

.feedback-donut b {
  font-size: 24px;
  line-height: 1;
}

.feedback-donut span {
  margin-top: 6px;
  color: #8f8983;
  text-align: center;
  font-size: 10px;
  line-height: 1.15;
}

.feedback-legend p {
  display: grid;
  grid-template-columns: 10px 1fr 32px;
  align-items: center;
  gap: 7px;
  color: #d9d2cb;
  font-size: 12px;
  margin: 16px 0;
}

.feedback-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.feedback-legend .pos { background: #7ec28a; }
.feedback-legend .neu { background: #efc25a; }
.feedback-legend .neg { background: #e76f86; }

.reference-footer {
  position: absolute;
  left: 368px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #aca49d;
  font-size: 14px;
}

.reference-footer svg {
  width: 22px;
  height: 22px;
  color: #c9aa7e;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .reference-stage {
    width: 1180px;
  }

  .reference-rail {
    display: none;
  }

  .reference-phone {
    left: 28px;
  }

  .reference-ops {
    left: 490px;
  }
}

@media (max-width: 860px) {
  .reference-page {
    background: #080c10;
  }

  .reference-stage {
    width: 100vw;
    height: 100dvh;
    min-height: 760px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: hidden;
  }

  .reference-stage::before,
  .reference-rail,
  .reference-ops,
  .reference-footer {
    display: none;
  }

  .reference-phone {
    position: static;
    width: min(100vw, 430px);
    height: 100dvh;
    min-height: 760px;
  }

  .reference-device {
    width: 100%;
    height: 100%;
    min-height: 760px;
    border-radius: 0;
    border: 0;
    padding: 0;
    box-shadow: none;
    background: #080c10;
  }

  .device-speaker,
  .device-side {
    display: none;
  }

  .reference-screen {
    border-radius: 0;
    padding: 0 18px 58px;
  }

  .reference-status {
    height: 42px;
    font-size: 15px;
  }

  .status-icons {
    top: 17px;
    right: 66px;
    transform: scale(.88);
    transform-origin: right center;
  }

  .reference-back {
    top: 55px;
    left: 18px;
    width: 39px;
    height: 39px;
  }

  .reference-screen h2 {
    margin-top: 64px;
    font-size: 27px;
  }

  .reference-lead {
    margin-bottom: 13px;
    font-size: 13px;
  }

  .reference-form {
    gap: 6px;
  }

  .mood-card,
  .taste-card,
  .accents-card,
  .experience-card {
    padding-top: 10px;
    padding-bottom: 9px;
    padding-left: 13px;
    padding-right: 13px;
  }

  .reference-card h3 {
    font-size: 13px;
  }

  .reference-moods {
    gap: 7px;
    margin-top: 10px;
  }

  .reference-moods span {
    height: 53px;
  }

  .reference-moods b {
    font-size: 9px;
  }

  .reference-slider {
    grid-template-columns: 100px 1fr 33px;
    gap: 9px;
    height: 32px;
    font-size: 12px;
  }

  .reference-chips {
    gap: 7px;
    margin-top: 10px;
  }

  .reference-chips span {
    height: 28px;
    font-size: 11px;
  }

  .reference-experience {
    gap: 7px;
    margin-top: 10px;
  }

  .reference-experience span {
    height: 28px;
    font-size: 11px;
  }

  .reference-submit {
    height: 40px;
  }

  .reference-submit svg {
    margin-left: 118px;
  }

  .reference-nav {
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 48px;
  }
}

@media (max-width: 380px) {
  .reference-screen {
    padding-left: 12px;
    padding-right: 12px;
  }

  .reference-status b {
    font-size: 14px;
  }

  .reference-screen h2 {
    font-size: 26px;
  }

  .reference-lead {
    font-size: 12px;
  }

  .reference-card h3 {
    font-size: 13px;
  }

  .reference-moods span {
    height: 56px;
  }

  .reference-moods svg {
    width: 18px;
    height: 18px;
  }

  .reference-moods b,
  .reference-nav span {
    font-size: 9px;
  }

  .reference-slider {
    grid-template-columns: 92px 1fr 31px;
    font-size: 12px;
  }

  .reference-slider span {
    gap: 6px;
  }

  .reference-chips span {
    gap: 4px;
    font-size: 10px;
  }

  .reference-submit svg {
    margin-left: 80px;
  }
}

/* App-wide adaptive and PWA polish */
html {
  min-height: 100%;
  overflow-x: hidden;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100svh;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body:not(.reference-page) {
  background:
    radial-gradient(circle at 8% 0%, rgba(117, 198, 143, .08), transparent 22rem),
    radial-gradient(circle at 86% 8%, rgba(241, 170, 71, .11), transparent 24rem),
    linear-gradient(180deg, #080b0f 0%, #0b1015 100%);
}

@media (display-mode: standalone) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }

  .topbar {
    top: env(safe-area-inset-top);
  }
}

a,
button,
input,
select,
textarea,
label {
  -webkit-tap-highlight-color: rgba(241, 170, 71, .2);
}

button,
.button,
input,
select,
textarea {
  min-width: 0;
}

input,
select,
textarea {
  font-size: 16px;
}

.button {
  gap: .55rem;
  text-align: center;
  touch-action: manipulation;
}

.topbar {
  min-height: 58px;
  align-items: center;
  gap: 1rem;
}

.topbar nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.shell {
  width: min(100%, 1180px);
}

.panel,
.mobile-card,
.mix-card,
.metric,
.mini-card,
.ops-workspace,
.results-panel {
  overflow-wrap: anywhere;
}

.mini-card {
  padding: 1rem;
  margin: .75rem 0;
}

.mobile-card {
  min-height: auto;
}

.recommendation-list {
  align-items: stretch;
}

.mix-card {
  min-width: 0;
}

.pairings li + li {
  margin-top: .65rem;
}

.section-head {
  flex-wrap: wrap;
}

.section-head .button {
  flex: 0 0 auto;
}

.segmented {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
}

.segmented span {
  white-space: nowrap;
}

.request-row {
  min-width: 0;
}

.request-row > span {
  min-width: 0;
}

.row-tags {
  min-width: 0;
}

.tag-bars p {
  min-width: 0;
}

.tag-bars span,
.tag-bars b {
  min-width: 0;
}

.line-chart {
  min-width: 220px;
}

.offline-shell {
  min-height: 100svh;
  place-items: center;
}

@media (max-width: 1180px) and (min-width: 861px) {
  .reference-stage {
    width: 100%;
    height: auto;
    min-height: 100svh;
    overflow: visible;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    padding: 18px clamp(18px, 4vw, 34px);
  }

  .reference-stage::before {
    position: fixed;
  }

  .reference-phone,
  .reference-ops {
    position: relative;
    left: auto;
    top: auto;
  }

  .reference-phone {
    width: 100%;
    max-width: 430px;
    height: 950px;
    justify-self: center;
  }

  .reference-device {
    width: 100%;
  }

  .reference-ops {
    width: 100%;
    height: auto;
  }

  .staff-panel {
    height: auto;
    min-height: 510px;
  }

  .admin-panel {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 400px;
    margin-top: 16px;
  }

  .staff-row {
    grid-template-columns: 76px 1fr 145px;
    gap: 16px;
    padding-right: 20px;
  }

  .staff-row em {
    max-width: 112px;
    text-align: right;
  }

  .metric-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .analytics-row {
    grid-template-columns: 1.1fr .82fr 1.1fr;
  }

  .crm-card {
    height: auto;
    min-height: 180px;
  }
}

@media (max-width: 1510px) and (min-width: 1181px) {
  .reference-rail {
    left: 24px;
  }

  .reference-phone {
    left: 232px;
  }

  .reference-ops {
    left: 684px;
    width: calc(100vw - 704px);
  }

  .reference-panel {
    min-width: 0;
  }

  .staff-row {
    grid-template-columns: 76px minmax(0, 1fr) 124px;
  }

  .staff-tabs button {
    padding-inline: 12px;
  }

  .admin-panel {
    width: 100%;
  }

  .metric-row {
    gap: 8px;
  }
}

@media (max-height: 980px) and (min-width: 861px) {
  body.reference-page {
    overflow-y: auto;
  }

  .reference-stage {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .reference-footer {
    display: none;
  }
}

@media (max-width: 980px) and (min-width: 861px) {
  .metric-row,
  .analytics-row {
    grid-template-columns: 1fr;
  }

  .crm-card,
  .metric-row div {
    height: auto;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: clamp(1rem, 4vw, 2rem) 0;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 8vw, 4rem);
  }

  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .analytics-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-list {
    grid-template-columns: 1fr;
  }

  .results-head {
    align-items: start;
  }
}

@media (max-width: 860px) {
  body.reference-page {
    overflow-y: auto;
  }

  .reference-stage {
    height: auto;
    min-height: 100svh;
    overflow: visible;
  }

  .reference-phone,
  .reference-device {
    height: auto;
    min-height: 100svh;
  }

  .reference-screen {
    min-height: 100svh;
    overflow-y: auto;
    scrollbar-width: none;
  }

  .reference-screen::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 720px) {
  .topbar {
    position: sticky;
    align-items: stretch;
    padding: .8rem max(1rem, env(safe-area-inset-left)) .75rem max(1rem, env(safe-area-inset-right));
  }

  .brand {
    line-height: 1.2;
  }

  .topbar nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
  }

  .topbar nav a {
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    color: var(--text);
    font-size: .82rem;
  }

  .shell {
    padding: 1rem max(1rem, env(safe-area-inset-left)) calc(1.25rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right));
  }

  .guest-shell {
    min-height: 100svh;
    padding: .75rem max(.75rem, env(safe-area-inset-left)) calc(.75rem + env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-right));
    place-items: stretch center;
  }

  .mobile-card,
  .results-panel,
  .ops-workspace,
  .panel {
    border-radius: 14px;
  }

  .mobile-card {
    width: 100%;
    padding: 1rem;
  }

  .mobile-card h1,
  .results-head h1,
  .shell .section-head h1,
  .shell > section > h1 {
    font-size: clamp(1.8rem, 9vw, 2.55rem);
    line-height: 1.04;
  }

  .actions,
  .inline {
    display: grid;
    grid-template-columns: 1fr;
  }

  .actions .button,
  .inline .button,
  .inline button,
  .field input,
  .field select,
  .field textarea {
    width: 100%;
  }

  .chips label,
  .check {
    width: 100%;
    justify-content: flex-start;
  }

  .request-row,
  .staff-board-row {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: .7rem;
    align-items: start;
    padding: .75rem;
  }

  .staff-board-row .row-tags,
  .staff-board-row em,
  .staff-board-row > small {
    grid-column: 2;
  }

  .table-tile {
    min-height: 58px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric strong {
    font-size: 1.55rem;
  }

  .analytics-grid,
  .two-col,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .tag-bars p {
    grid-template-columns: minmax(74px, .9fr) minmax(70px, 1fr) auto;
    gap: .5rem;
  }
}

@media (max-width: 520px) {
  .topbar {
    gap: .7rem;
  }

  .topbar nav a {
    font-size: .76rem;
  }

  .panel,
  .mobile-card,
  .mix-card,
  .metric,
  .mini-card,
  .ops-workspace,
  .results-panel {
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
  }

  .panel,
  .mix-card,
  .metric,
  .mini-card {
    padding: .9rem;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .results-panel {
    padding: .85rem;
  }

  .mix-card h2 {
    font-size: 1.25rem;
  }

  .composition span {
    font-size: .78rem;
  }

  .segmented {
    display: flex;
    width: 100%;
    padding: .25rem;
  }

  .segmented span {
    flex: 0 0 auto;
  }

  .request-row,
  .staff-board-row {
    grid-template-columns: 1fr;
  }

  .staff-board-row .row-tags,
  .staff-board-row em,
  .staff-board-row > small {
    grid-column: auto;
  }

  .table-tile {
    width: 74px;
    min-height: 54px;
  }

  .line-chart {
    min-width: 0;
    gap: 10%;
  }
}

@media (max-width: 360px) {
  .reference-screen {
    padding-left: 10px;
    padding-right: 10px;
  }

  .reference-moods {
    gap: 5px;
  }

  .reference-slider {
    grid-template-columns: 86px 1fr 30px;
    gap: 6px;
  }

  .reference-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-submit svg {
    margin-left: 50px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .button,
  .reference-submit,
  .reference-moods span,
  .reference-chips span,
  .reference-experience span,
  .request-row,
  .mix-card {
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  }

  .button:hover,
  .reference-submit:hover,
  .mix-card:hover {
    transform: translateY(-1px);
  }
}

/* HookahPlace-aligned identity layer */
:root {
  --bg: #080808;
  --surface: #0b0b0b;
  --surface-2: #111111;
  --glass: rgba(8, 8, 8, .82);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .64);
  --accent: #e00000;
  --accent-soft: rgba(224, 0, 0, .18);
  --accent-2: #ffffff;
  --radius: 0;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 50% 2%, rgba(224, 0, 0, .62), rgba(224, 0, 0, .18) 16rem, transparent 31rem),
    linear-gradient(180deg, #080808 0%, #030303 100%);
  color: #fff;
  letter-spacing: -.03em;
}

body:not(.reference-page) {
  background:
    radial-gradient(circle at 50% -10%, rgba(224, 0, 0, .45), rgba(224, 0, 0, .12) 18rem, transparent 32rem),
    #080808;
}

.topbar {
  min-height: 64px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  background: rgba(8,8,8,.9);
  box-shadow: none;
}

.brand,
.topbar nav a,
.section-label,
.button,
.segmented span,
.mix-label,
.card-title,
.reference-card h3,
.reference-submit,
.reference-nav span,
.reference-rail h1,
.reference-rail-actions a,
.panel-head span,
.panel-head strong,
.admin-top span,
.admin-top strong,
.staff-tabs button,
.metric-row span,
.crm-card h3 {
  font-family: "Bebas Neue", Impact, "Arial Narrow", Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.02em;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 1.05rem;
  line-height: .9;
}

.brand::after {
  content: "";
  width: 13px;
  height: 13px;
  display: inline-block;
  background: #e00000;
  clip-path: polygon(50% 0, 62% 24%, 89% 15%, 79% 43%, 100% 50%, 79% 57%, 89% 85%, 62% 76%, 50% 100%, 38% 76%, 11% 85%, 21% 57%, 0 50%, 21% 43%, 11% 15%, 38% 24%);
}

.button,
.rail-button,
.panel,
.mobile-card,
.mix-card,
.metric,
.mini-card,
.ops-workspace,
.results-panel,
.field input,
.field select,
.field textarea,
.chips label,
.check,
.composition span,
.request-row,
.segmented,
.segmented span,
.table-tile {
  border-radius: 0;
}

.button {
  border-color: rgba(255,255,255,.78);
  background: transparent;
  color: #fff;
  min-height: 52px;
  font-size: 1.05rem;
}

.button.primary {
  background: #fff;
  border-color: #fff;
  color: #080808;
}

.button.danger {
  border-color: #e00000;
  color: #fff;
  background: rgba(224,0,0,.14);
}

.panel,
.mobile-card,
.mix-card,
.metric,
.mini-card,
.ops-workspace,
.results-panel {
  background: rgba(8,8,8,.78);
  border-color: rgba(255,255,255,.52);
  box-shadow: 0 26px 90px rgba(0,0,0,.45);
}

.field input,
.field select,
.field textarea {
  border-width: 0 0 1px;
  border-color: rgba(255,255,255,.62);
  background: transparent;
  color: #fff;
  text-transform: uppercase;
}

.hero h1,
.mobile-card h1,
.results-head h1,
.shell .section-head h1,
.shell > section > h1 {
  font-family: "Bebas Neue", Impact, "Arial Narrow", Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.04em;
}

.segmented {
  border-color: rgba(255,255,255,.66);
  background: transparent;
}

.segmented span:first-child,
.segmented span:hover {
  background: #fff;
  color: #080808;
}

.metric strong,
.table-tile b,
.preview-metrics b {
  font-family: "Bebas Neue", Impact, "Arial Narrow", Inter, Arial, sans-serif;
}

.reference-page {
  background:
    radial-gradient(circle at 50% 2%, rgba(224, 0, 0, .68), rgba(224, 0, 0, .22) 16rem, transparent 31rem),
    #080808;
}

.reference-stage {
  color: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.reference-stage::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px) 33.333% 0 / 33.333% 100% no-repeat,
    radial-gradient(ellipse at 52% 18%, rgba(224,0,0,.32), transparent 27rem),
    radial-gradient(ellipse at 50% 104%, rgba(255,255,255,.06), transparent 30rem);
}

.reference-logo,
.reference-feature span,
.reference-rail-actions svg,
.reference-nav .active,
.reference-status b,
.reference-moods svg,
.reference-chips svg,
.admin-rail .active {
  color: #e00000;
}

.reference-logo svg {
  display: none;
}

.reference-logo::before {
  content: "HOOKAH";
  color: #fff;
  font-family: "Bebas Neue", Impact, "Arial Narrow", Inter, Arial, sans-serif;
  font-size: 24px;
  letter-spacing: -.04em;
}

.reference-logo::after {
  content: "";
  width: 16px;
  height: 16px;
  margin-left: 4px;
  background: #e00000;
  clip-path: polygon(50% 0, 62% 24%, 89% 15%, 79% 43%, 100% 50%, 79% 57%, 89% 85%, 62% 76%, 50% 100%, 38% 76%, 11% 85%, 21% 57%, 0 50%, 21% 43%, 11% 15%, 38% 24%);
}

.reference-logo {
  width: 160px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reference-rail h1 {
  font-size: 28px;
  line-height: .92;
  letter-spacing: .02em;
}

.reference-rail > p {
  color: rgba(255,255,255,.76);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1.25;
}

.reference-feature span,
.rail-icon {
  border-color: rgba(255,255,255,.68);
  border-radius: 0;
}

.reference-feature strong,
.reference-feature small {
  color: #fff;
}

.reference-feature small {
  opacity: .58;
  text-transform: uppercase;
}

.reference-rail-actions a {
  border-color: rgba(255,255,255,.7);
  border-radius: 0;
  background: transparent;
}

.reference-device {
  border-radius: 0;
  border: 1px solid rgba(255,255,255,.55);
  padding: 0;
  background: rgba(0,0,0,.92);
  box-shadow: 0 0 90px rgba(224,0,0,.18), 0 28px 90px rgba(0,0,0,.66);
}

.device-speaker,
.device-side {
  display: none;
}

.reference-screen {
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 0, rgba(224,0,0,.24), transparent 13rem),
    #080808;
  box-shadow: inset 1px 0 0 rgba(255,255,255,.18), inset -1px 0 0 rgba(255,255,255,.18);
}

.reference-status,
.reference-lead,
.staff-main small,
.metric-row small,
.bars-card p,
.feedback-legend p {
  color: rgba(255,255,255,.68);
}

.reference-back,
.reference-card,
.reference-moods span,
.reference-chips span,
.reference-experience span,
.reference-panel,
.staff-tabs,
.staff-list,
.staff-table,
.metric-row div,
.crm-card,
.admin-top button {
  border-radius: 0;
  border-color: rgba(255,255,255,.52);
  background: rgba(8,8,8,.66);
}

.reference-screen h2 {
  font-family: "Bebas Neue", Impact, "Arial Narrow", Inter, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.04em;
  font-size: 44px;
  line-height: .98;
}

.reference-card h3 {
  font-size: 17px;
}

.reference-moods input:checked + span,
.reference-chips .selected span,
.reference-chips input:checked + span,
.reference-experience input:checked + span,
.staff-tabs button.active {
  border-color: #fff;
  background: #fff;
  color: #080808;
}

.reference-moods input:checked + span svg,
.reference-chips .selected span svg,
.reference-chips input:checked + span svg {
  color: #e00000;
}

.reference-slider input[type="range"] {
  accent-color: #e00000;
  filter: grayscale(.15);
}

.reference-slider.berry svg,
.reference-slider.mint svg,
.reference-slider.citrus svg,
.reference-slider.violet svg {
  color: #e00000;
}

.reference-submit {
  height: 52px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: 0 0 42px rgba(224,0,0,.22);
  font-size: 18px;
}

.reference-submit:hover {
  background: #fff;
  color: #080808;
}

.reference-nav {
  border-top-color: rgba(255,255,255,.28);
  background: linear-gradient(180deg, rgba(8,8,8,0), #080808 26%);
}

.reference-panel {
  background:
    radial-gradient(circle at 50% -22%, rgba(224,0,0,.2), transparent 18rem),
    rgba(8,8,8,.86);
  box-shadow: 0 0 70px rgba(224,0,0,.12), 0 26px 85px rgba(0,0,0,.5);
}

.panel-head strong,
.admin-top strong,
.staff-table b,
.metric-row b,
.feedback-donut b {
  color: #fff;
  font-family: "Bebas Neue", Impact, "Arial Narrow", Inter, Arial, sans-serif;
}

.staff-main i,
.ops-tags i,
.composition span {
  border-radius: 0;
  border-color: rgba(255,255,255,.42);
  background: transparent;
  color: #fff;
}

.staff-main i.green,
.staff-main i.pink,
.staff-main i.orange {
  color: #fff;
  border-color: rgba(224,0,0,.78);
  background: rgba(224,0,0,.14);
}

.staff-row em,
.staff-row em.done,
.metric-row em {
  color: #e00000;
}

.mini-chart span,
.line-chart span,
.bars-card i {
  background: #e00000;
}

.line-plot svg path:first-child {
  stroke: #e00000;
}

.feedback-donut {
  background: conic-gradient(#fff 0 82%, #e00000 82% 95%, rgba(255,255,255,.36) 95% 100%);
}

.feedback-donut::after {
  background: #080808;
}

@media (max-width: 860px) {
  .reference-screen h2 {
    font-size: 34px;
    line-height: 1.04;
    max-width: 310px;
    margin-left: auto;
    margin-right: auto;
  }

  .reference-submit {
    height: 44px;
  }

  .reference-card h3 {
    font-size: 14px;
  }
}

/* HookahPlace source assets layer */
body,
body:not(.reference-page),
.reference-page {
  background:
    linear-gradient(180deg, rgba(0,0,0,.26), rgba(0,0,0,.9) 74%, #050505),
    radial-gradient(circle at 50% 2%, rgba(255,0,0,.36), rgba(90,0,0,.18) 22rem, transparent 42rem),
    url("/static/assets/hookahplace-bg.png") center top / cover fixed no-repeat,
    #050505;
}

.topbar {
  background: rgba(5,5,5,.94);
  backdrop-filter: blur(18px);
}

.brand::after,
.reference-logo::before,
.reference-logo::after {
  content: none;
  display: none;
}

.brand {
  gap: .72rem;
}

.hp-wordmark {
  width: 121px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.brand span {
  color: rgba(255,255,255,.72);
  font-size: .86rem;
  letter-spacing: .08em;
}

.reference-stage {
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 48%, rgba(0,0,0,.9) 100%),
    radial-gradient(ellipse at 50% 13%, rgba(255,0,0,.32), transparent 32rem);
}

.reference-stage::before {
  background:
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px) 33.333% 0 / 33.333% 100% no-repeat,
    radial-gradient(ellipse at 50% 13%, rgba(255,0,0,.3), transparent 25rem),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.68));
}

.reference-logo {
  width: min(188px, 100%);
  height: auto;
  min-height: 44px;
  justify-content: flex-start;
}

.reference-logo img {
  width: 121px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 22px rgba(255,0,0,.42));
}

.reference-screen-logo {
  display: none;
}

.reference-rail h1 {
  margin-top: .4rem;
}

.reference-device,
.reference-panel {
  background:
    linear-gradient(180deg, rgba(18,18,18,.92), rgba(0,0,0,.96)),
    rgba(5,5,5,.94);
}

.reference-screen {
  background:
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.92)),
    radial-gradient(circle at 50% 0, rgba(255,0,0,.28), transparent 14rem),
    url("/static/assets/hookahplace-bg.png") center top / cover no-repeat,
    #050505;
}

.reference-card,
.reference-moods span,
.reference-chips span,
.reference-experience span,
.staff-row,
.history-row,
.metric-row div,
.crm-card {
  background: rgba(5,5,5,.74);
  backdrop-filter: blur(16px);
}

.reference-screen h2,
.reference-card h3,
.reference-moods b,
.reference-chips span,
.reference-experience span,
.reference-submit,
.reference-nav span,
.panel-head span,
.panel-head strong,
.admin-top span,
.admin-top strong,
.staff-tabs button,
.metric-row span,
.crm-card h3,
.staff-main strong,
.staff-row em,
.history-row {
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.reference-screen h2 {
  font-weight: 950;
  line-height: 1.04;
  text-wrap: balance;
}

.reference-card h3,
.panel-head strong,
.admin-top strong,
.crm-card h3 {
  font-weight: 900;
  line-height: 1.18;
}

@media (max-width: 860px) {
  body,
  body:not(.reference-page),
  .reference-page {
    background:
      linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.82) 58%, #050505),
      radial-gradient(circle at 50% 5%, rgba(255,0,0,.32), rgba(90,0,0,.16) 16rem, transparent 30rem),
      url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
      #050505;
  }

  .reference-stage {
    background:
      linear-gradient(180deg, rgba(0,0,0,.18), rgba(0,0,0,.88) 72%),
      radial-gradient(ellipse at 50% 7%, rgba(255,0,0,.2), transparent 22rem);
  }

  .reference-logo {
    justify-content: center;
    margin-inline: auto;
    min-height: 30px;
  }

  .reference-logo img,
  .hp-wordmark {
    width: 121px;
  }

  .reference-screen-logo {
    width: 121px;
    height: auto;
    display: block;
    margin: .35rem auto 1.05rem;
    filter: drop-shadow(0 0 18px rgba(255,0,0,.48));
  }

  .reference-screen h2 {
    font-family: Inter, Arial, Helvetica, sans-serif;
    font-size: clamp(27px, 7vw, 31px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
  }

  .reference-card h3,
  .reference-moods b,
  .reference-chips span,
  .reference-experience span,
  .reference-submit,
  .reference-nav span {
    font-family: Inter, Arial, Helvetica, sans-serif;
    letter-spacing: 0;
  }

  .reference-card h3 {
    line-height: 1.2;
    font-weight: 900;
  }

  .brand span {
    display: none;
  }
}

@media (max-width: 380px) {
  .reference-logo img,
  .hp-wordmark {
    width: 108px;
  }
}

/* Premium mobile polish after visual audit */
.reference-card,
.reference-moods span,
.reference-chips span,
.reference-experience span,
.reference-submit,
.reference-nav,
.reference-back,
.staff-tabs,
.staff-list,
.staff-row,
.history-row,
.metric-row div,
.crm-card {
  border-radius: 8px;
}

.reference-card {
  border: 1px solid rgba(255,255,255,.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.072), rgba(255,255,255,.026)),
    rgba(6,6,6,.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 48px rgba(0,0,0,.32);
}

.reference-moods span,
.reference-chips span,
.reference-experience span {
  border: 1px solid rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    rgba(7,7,7,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.reference-moods label:hover span,
.reference-chips label:hover span,
.reference-experience label:hover span,
.reference-submit:hover,
.reference-back:hover {
  transform: translateY(-1px);
}

.reference-moods input:checked + span,
.reference-chips .selected span,
.reference-chips input:checked + span,
.reference-experience input:checked + span {
  border-color: rgba(255,255,255,.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(235,235,235,.92));
  color: #050505;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 0 0 1px rgba(255,0,0,.18),
    0 12px 34px rgba(255,0,0,.16);
}

.reference-moods input:checked + span svg,
.reference-chips .selected span svg,
.reference-chips input:checked + span svg,
.reference-experience input:checked + span svg {
  color: #e00000;
}

.reference-submit {
  border: 1px solid rgba(255,255,255,.9);
  background:
    linear-gradient(180deg, #fff, #e7e7e7);
  color: #050505;
  box-shadow:
    0 0 0 1px rgba(255,0,0,.2),
    0 0 42px rgba(255,0,0,.28),
    0 18px 42px rgba(0,0,0,.42);
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.reference-submit svg {
  color: #e00000;
}

.reference-submit:hover {
  filter: brightness(1.04);
  color: #050505;
}

.reference-back {
  border-color: rgba(255,255,255,.2);
  background: rgba(0,0,0,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.reference-slider input[type="range"] {
  accent-color: #e00000;
}

.reference-slider span,
.reference-slider b {
  color: rgba(255,255,255,.9);
}

.reference-nav {
  border: 1px solid rgba(255,255,255,.1);
  background:
    linear-gradient(180deg, rgba(18,18,18,.9), rgba(5,5,5,.95));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 -20px 40px rgba(0,0,0,.36);
}

.reference-nav .active {
  color: #fff;
}

.reference-nav .active svg {
  color: #e00000;
  filter: drop-shadow(0 0 10px rgba(255,0,0,.45));
}

@media (max-width: 860px) {
  .reference-device {
    border: 0;
    background: #050505;
    box-shadow: none;
  }

  .reference-screen {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 16px 0;
    scrollbar-width: none;
    background:
      linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.74) 35%, rgba(0,0,0,.96) 80%),
      radial-gradient(circle at 50% 3%, rgba(255,0,0,.28), transparent 14rem),
      url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
      #050505;
  }

  .reference-screen::-webkit-scrollbar {
    display: none;
  }

  .reference-status {
    left: 18px;
    right: 18px;
    top: 13px;
    font-size: 14px;
    color: rgba(255,255,255,.8);
  }

  .reference-status b {
    color: #ff1818;
    font-size: 14px;
    font-weight: 850;
    text-shadow: 0 0 16px rgba(255,0,0,.45);
  }

  .reference-screen-logo {
    width: 121px;
    margin: 49px auto 1.65rem;
  }

  .reference-back {
    top: 56px;
    left: 18px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .reference-screen h2 {
    max-width: 320px;
    margin: 0 auto 10px;
    font-size: clamp(29px, 7.5vw, 34px);
    line-height: 1.02;
    letter-spacing: .01em;
  }

  .reference-lead {
    width: min(100%, 340px);
    margin: 0 auto 18px;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255,255,255,.72);
  }

  .reference-form {
    width: 100%;
    display: grid;
    gap: 10px;
    margin: 0 auto;
    padding-bottom: 0;
  }

  .reference-card {
    padding: 14px;
  }

  .reference-card h3 {
    font-size: 15px;
    line-height: 1.22;
    margin-bottom: 13px;
    letter-spacing: .01em;
  }

  .reference-moods,
  .reference-chips,
  .reference-experience {
    gap: 8px;
    margin-top: 0;
  }

  .reference-moods span {
    min-height: 64px;
    height: 64px;
    gap: 7px;
  }

  .reference-moods svg {
    width: 20px;
    height: 20px;
  }

  .reference-moods b {
    font-size: 11px;
    line-height: 1.1;
    font-weight: 720;
  }

  .reference-slider {
    grid-template-columns: minmax(102px, .72fr) minmax(120px, 1fr) 38px;
    gap: 10px;
    min-height: 44px;
    font-size: 13px;
  }

  .reference-slider span {
    gap: 8px;
    font-weight: 650;
  }

  .reference-slider svg {
    width: 17px;
    height: 17px;
  }

  .reference-slider b {
    font-size: 13px;
    font-weight: 800;
  }

  .reference-slider input[type="range"] {
    --range-progress: 50%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 18px;
  }

  .reference-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #e00000 0%, #e00000 var(--range-progress), rgba(255,255,255,.78) var(--range-progress), rgba(255,255,255,.78) 100%);
  }

  .reference-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    margin-top: -7.5px;
    border-radius: 50%;
    background: #e00000;
    border: 2px solid #080808;
    box-shadow: 0 0 0 5px rgba(224,0,0,.16), 0 0 18px rgba(224,0,0,.42);
  }

  .reference-slider input[type="range"]::-moz-range-track {
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.78);
  }

  .reference-slider input[type="range"]::-moz-range-progress {
    height: 5px;
    border-radius: 999px;
    background: #e00000;
  }

  .reference-slider input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e00000;
    border: 2px solid #080808;
    box-shadow: 0 0 0 5px rgba(224,0,0,.16), 0 0 18px rgba(224,0,0,.42);
  }

  .reference-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-chips span,
  .reference-experience span {
    min-height: 44px;
    height: 44px;
    font-size: 12px;
    font-weight: 720;
  }

  .reference-chips svg {
    width: 15px;
    height: 15px;
  }

  .reference-experience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reference-submit {
    width: 100%;
    min-height: 54px;
    height: 54px;
    margin-top: 2px;
    font-size: 16px;
    letter-spacing: .02em;
    text-transform: uppercase;
  }

  .reference-submit svg {
    width: 17px;
    height: 17px;
    margin-left: 10px;
    vertical-align: -3px;
  }

  .reference-nav {
    position: sticky;
    left: auto;
    right: auto;
    bottom: 0;
    width: 100%;
    height: 66px;
    margin: 12px auto 0;
    padding-bottom: max(7px, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 8;
  }

  .reference-nav span {
    min-height: 58px;
    gap: 5px;
    font-size: 11px;
    font-weight: 720;
  }

  .reference-nav svg {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 380px) {
  .reference-screen {
    padding-inline: 14px;
  }

  .reference-card {
    padding: 12px;
  }

  .reference-screen h2 {
    font-size: 28px;
  }

  .reference-slider {
    grid-template-columns: minmax(92px, .7fr) minmax(100px, 1fr) 36px;
    gap: 8px;
  }
}

/* Mood block focus pass */
@media (max-width: 860px) {
  .mood-card {
    padding: 16px 14px;
  }

  .mood-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .reference-moods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .reference-moods span {
    min-height: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 13px;
  }

  .reference-moods svg {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
  }

  .reference-moods b {
    font-size: 13px;
    line-height: 1.12;
    font-weight: 820;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .reference-moods {
    gap: 8px;
  }

  .reference-moods span {
    min-height: 56px;
    height: 56px;
    gap: 8px;
    padding: 0 10px;
  }

  .reference-moods svg {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .reference-moods b {
    font-size: 12px;
  }
}

/* Accent chips focus pass */
@media (max-width: 860px) {
  .accents-card {
    padding: 16px 14px;
  }

  .accents-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .reference-chips {
    gap: 10px;
  }

  .reference-chips span {
    min-height: 54px;
    height: 54px;
    justify-content: flex-start;
    gap: 10px;
    padding: 0 15px;
    font-size: 13px;
    font-weight: 820;
  }

  .reference-chips svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
  }

  .reference-chips .selected span,
  .reference-chips input:checked + span {
    border-color: rgba(255,255,255,.9);
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(235,235,235,.92));
    color: #050505;
  }
}

@media (max-width: 380px) {
  .reference-chips {
    gap: 8px;
  }

  .reference-chips span {
    min-height: 50px;
    height: 50px;
    gap: 8px;
    padding: 0 11px;
    font-size: 12px;
  }

  .reference-chips svg {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}

/* Experience level visual pass */
@media (max-width: 860px) {
  .experience-card {
    padding: 16px 14px;
  }

  .experience-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .reference-experience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .reference-experience span {
    min-height: 72px;
    height: 72px;
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    justify-items: start;
    column-gap: 10px;
    row-gap: 2px;
    padding: 0 14px;
    overflow: hidden;
    position: relative;
  }

  .reference-experience span::after {
    content: "";
    position: absolute;
    right: -18px;
    bottom: -42px;
    width: 116px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(224,0,0,.24), transparent 68%);
    pointer-events: none;
  }

  .reference-experience svg {
    grid-row: 1 / span 2;
    width: 25px;
    height: 25px;
    color: #e00000;
    align-self: center;
    filter: drop-shadow(0 0 10px rgba(224,0,0,.28));
    position: relative;
    z-index: 1;
  }

  .reference-experience b {
    font-size: 13px;
    line-height: 1.1;
    font-weight: 850;
    color: rgba(255,255,255,.9);
    position: relative;
    z-index: 1;
  }

  .reference-experience small {
    font-size: 10px;
    line-height: 1.1;
    font-weight: 700;
    color: rgba(255,255,255,.48);
    text-transform: uppercase;
    position: relative;
    z-index: 1;
  }

  .reference-experience input:checked + span {
    border-color: rgba(255,255,255,.92);
    background:
      radial-gradient(ellipse at 88% 118%, rgba(224,0,0,.18), transparent 48%),
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(235,235,235,.92));
    color: #050505;
  }

  .reference-experience input:checked + span b,
  .reference-experience input:checked + span small {
    color: #050505;
  }

  .reference-experience input:checked + span svg {
    color: #e00000;
  }

  .reference-experience input:checked + span::after {
    right: -22px;
    bottom: -46px;
    background: radial-gradient(ellipse at center, rgba(224,0,0,.22), transparent 66%);
  }
}

@media (max-width: 380px) {
  .reference-experience {
    gap: 8px;
  }

  .reference-experience span {
    min-height: 68px;
    height: 68px;
    grid-template-columns: 24px 1fr;
    column-gap: 8px;
    padding: 0 10px;
  }

  .reference-experience svg {
    width: 22px;
    height: 22px;
  }

  .reference-experience b {
    font-size: 12px;
  }

  .reference-experience small {
    font-size: 9px;
  }
}

/* Taste sliders scale pass */
@media (max-width: 860px) {
  .taste-card {
    padding: 16px 14px;
  }

  .taste-card h3 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .taste-card h3 small {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 50%;
    color: rgba(255,255,255,.62);
    font-size: 12px;
    vertical-align: 1px;
  }

  .taste-card .reference-slider {
    grid-template-columns: minmax(126px, .78fr) minmax(118px, 1fr) 44px;
    min-height: 54px;
    gap: 10px;
    padding: 4px 0;
    font-size: 14px;
  }

  .taste-card .reference-slider span {
    gap: 10px;
    font-size: 14px;
    font-weight: 780;
  }

  .taste-card .reference-slider svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #e00000;
    filter: drop-shadow(0 0 10px rgba(224,0,0,.25));
  }

  .taste-card .reference-slider b {
    font-size: 15px;
    font-weight: 880;
  }

  .taste-card .reference-slider input[type="range"] {
    height: 24px;
  }

  .taste-card .reference-slider input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
  }

  .taste-card .reference-slider input[type="range"]::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
    margin-top: -9px;
    box-shadow: 0 0 0 6px rgba(224,0,0,.16), 0 0 22px rgba(224,0,0,.48);
  }

  .taste-card .reference-slider input[type="range"]::-moz-range-track,
  .taste-card .reference-slider input[type="range"]::-moz-range-progress {
    height: 6px;
  }

  .taste-card .reference-slider input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    box-shadow: 0 0 0 6px rgba(224,0,0,.16), 0 0 22px rgba(224,0,0,.48);
  }
}

@media (max-width: 380px) {
  .taste-card .reference-slider {
    grid-template-columns: minmax(112px, .75fr) minmax(98px, 1fr) 40px;
    min-height: 52px;
    gap: 8px;
    font-size: 13px;
  }

  .taste-card .reference-slider span {
    gap: 8px;
    font-size: 13px;
  }

  .taste-card .reference-slider svg {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }

  .taste-card .reference-slider b {
    font-size: 14px;
  }
}

/* Clean guest taste setup route */
.taste-only-page {
  background: #050505;
}

.taste-only-page .topbar,
.taste-only-page .reference-rail,
.taste-only-page .reference-ops,
.taste-only-page .reference-footer,
.taste-only-page .reference-stage::before {
  display: none;
}

.taste-only-stage {
  width: 100%;
  min-height: 100dvh;
  height: auto;
  display: grid;
  place-items: start center;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    radial-gradient(circle at 50% -6%, rgba(224,0,0,.18), transparent 22rem),
    #050505;
}

.taste-only-stage .reference-phone {
  position: relative;
  inset: auto;
  width: min(100%, 455px);
  min-height: 100dvh;
  height: auto;
}

.taste-only-stage .reference-device {
  width: 100%;
  min-height: 100dvh;
  height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  background: #050505;
}

.taste-only-stage .device-speaker,
.taste-only-stage .device-side {
  display: none;
}

.taste-only-stage .reference-screen {
  min-height: 100dvh;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  overflow-y: visible;
  overflow-x: hidden;
}

.taste-only-stage .reference-submit {
  margin-bottom: 28px;
}

/* Premium final CTA */
.reference-form > .reference-submit {
  width: 100%;
  min-height: 66px;
  height: auto;
  display: grid;
  grid-template-columns: 1fr 46px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 35%, rgba(224,0,0,.13), transparent 8rem),
    linear-gradient(180deg, #ffffff, #e9e9e9 58%, #dcdcdc);
  color: #050505;
  box-shadow:
    0 0 0 1px rgba(224,0,0,.22),
    0 18px 48px rgba(224,0,0,.22),
    0 20px 46px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.92);
  text-align: left;
  transform: translateZ(0);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.reference-submit-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.reference-submit-copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.reference-submit-copy small {
  display: block;
  color: rgba(5,5,5,.56);
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 760;
}

.reference-submit-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,.32), transparent 38%),
    linear-gradient(180deg, #f00, #b90000);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(224,0,0,.28),
    0 0 26px rgba(224,0,0,.44);
}

.reference-form > .reference-submit svg {
  width: 18px;
  height: 18px;
  margin: 0;
  color: currentColor;
}

.reference-form > .reference-submit:hover {
  filter: brightness(1.035);
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(224,0,0,.28),
    0 22px 58px rgba(224,0,0,.28),
    0 22px 48px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.95);
}

.reference-form > .reference-submit:active {
  transform: translateY(1px) scale(.995);
  box-shadow:
    0 0 0 1px rgba(224,0,0,.2),
    0 12px 34px rgba(224,0,0,.2),
    0 14px 30px rgba(0,0,0,.46),
    inset 0 1px 4px rgba(0,0,0,.16);
}

.reference-form > .reference-submit:focus-visible {
  outline: 3px solid rgba(255,255,255,.92);
  outline-offset: 3px;
}

@media (max-width: 380px) {
  .reference-form > .reference-submit {
    min-height: 62px;
    grid-template-columns: 1fr 40px;
    gap: 10px;
    padding: 9px 10px 9px 17px;
  }

  .reference-submit-copy strong {
    font-size: 14px;
  }

  .reference-submit-copy small {
    font-size: 10px;
  }

  .reference-submit-icon {
    width: 38px;
    height: 38px;
  }
}

/* HookahPlace brand alignment pass */
:root {
  --hp-black: #080808;
  --hp-red: #b40000;
  --hp-red-bright: #ff0000;
  --hp-white: #ffffff;
  --hp-line: rgba(255,255,255,.28);
  --hp-line-soft: rgba(255,255,255,.16);
}

.taste-only-page,
.taste-only-stage,
.taste-only-stage .reference-device {
  background: var(--hp-black);
}

.taste-only-stage .reference-screen {
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.86) 48%, #080808 88%),
    radial-gradient(circle at 50% 2%, rgba(180,0,0,.28), transparent 15rem),
    url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
    var(--hp-black);
}

.reference-status,
.reference-lead,
.reference-submit-copy small {
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.reference-screen h2,
.reference-card h3,
.reference-moods b,
.reference-chips span,
.reference-experience b,
.reference-submit-copy strong {
  font-family: "Bebas Neue", "Arial Narrow", Impact, Inter, Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.reference-screen h2 {
  max-width: 340px;
  font-size: clamp(38px, 11vw, 48px);
  line-height: .92;
  text-transform: uppercase;
}

.reference-card h3 {
  font-size: 24px;
  line-height: 1;
  color: var(--hp-white);
  text-transform: uppercase;
}

.reference-lead {
  color: rgba(255,255,255,.66);
}

.reference-card {
  border-radius: 0;
  border-color: var(--hp-line-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.018)),
    rgba(8,8,8,.88);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    0 20px 56px rgba(0,0,0,.42);
  backdrop-filter: none;
}

.reference-moods span,
.reference-chips span,
.reference-experience span {
  border-radius: 0;
  border-color: var(--hp-line-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)),
    rgba(8,8,8,.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.reference-moods b,
.reference-chips span,
.reference-experience b {
  font-size: 20px;
  line-height: .95;
  text-transform: uppercase;
}

.reference-experience small {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 9px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0;
}

.reference-moods input:checked + span,
.reference-chips .selected span,
.reference-chips input:checked + span,
.reference-experience input:checked + span {
  border-color: var(--hp-white);
  background: var(--hp-white);
  color: var(--hp-black);
  box-shadow:
    0 0 0 1px rgba(180,0,0,.42),
    0 0 26px rgba(180,0,0,.28);
}

.reference-moods svg,
.reference-chips svg,
.reference-experience svg,
.reference-moods input:checked + span svg,
.reference-chips .selected span svg,
.reference-chips input:checked + span svg,
.reference-experience input:checked + span svg {
  color: var(--hp-red-bright);
  filter: none;
}

.reference-form > .reference-submit {
  min-height: 76px;
  grid-template-columns: 1fr 48px;
  border-radius: 0;
  border-color: var(--hp-white);
  background: transparent;
  color: var(--hp-white);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06),
    0 0 42px rgba(180,0,0,.28);
}

.reference-submit-copy strong {
  color: var(--hp-white);
  font-size: 26px;
  line-height: .92;
}

.reference-submit-copy small {
  color: rgba(255,255,255,.62);
  font-size: 11px;
  line-height: 1.15;
  text-transform: none;
}

.reference-submit-icon {
  border-radius: 0;
  background: var(--hp-red);
  color: var(--hp-white);
  box-shadow: 0 0 24px rgba(255,0,0,.34);
}

.reference-form > .reference-submit:hover {
  background: var(--hp-white);
  color: var(--hp-black);
}

.reference-form > .reference-submit:hover .reference-submit-copy strong,
.reference-form > .reference-submit:hover .reference-submit-copy small {
  color: var(--hp-black);
}

.reference-form > .reference-submit:focus-visible {
  outline-color: var(--hp-red-bright);
}

@media (max-width: 380px) {
  .reference-screen h2 {
    font-size: clamp(34px, 10vw, 42px);
  }

  .reference-card h3 {
    font-size: 22px;
  }

  .reference-moods b,
  .reference-chips span,
  .reference-experience b {
    font-size: 18px;
  }

  .reference-form > .reference-submit {
    min-height: 70px;
  }

  .reference-submit-copy strong {
    font-size: 23px;
  }
}

/* HookahPlace minimal UX pass: clearer first-glance flow */
.taste-only-stage {
  overscroll-behavior-y: contain;
}

.taste-only-stage .reference-phone {
  width: min(100%, 455px);
}

.taste-only-stage .reference-screen {
  padding-inline: 16px;
}

.reference-screen-logo {
  opacity: .98;
}

.reference-screen h2 {
  margin-bottom: 8px;
  max-width: 360px;
  font-size: clamp(44px, 13vw, 58px);
  line-height: .9;
}

.reference-lead {
  max-width: 300px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.42;
}

.reference-form {
  gap: 8px;
}

.reference-card {
  padding: 15px 14px;
  border-left: 1px solid rgba(255,255,255,.32);
  border-right: 1px solid rgba(255,255,255,.16);
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.1);
  box-shadow: none;
}

.reference-card h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 23px;
  white-space: nowrap;
}

.reference-card h3::before {
  content: attr(data-step);
  min-width: 28px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  background: var(--hp-red);
  color: var(--hp-white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.taste-card h3 small {
  display: none;
}

.reference-moods,
.reference-chips,
.reference-experience {
  gap: 10px;
}

.reference-moods span,
.reference-chips span,
.reference-experience span {
  min-height: 52px;
  border-color: rgba(255,255,255,.18);
}

.reference-moods svg,
.reference-chips svg,
.reference-experience svg {
  display: none;
}

.reference-moods b,
.reference-chips span,
.reference-experience b {
  font-size: 19px;
}

.reference-experience span {
  min-height: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.reference-experience span::after,
.reference-experience small {
  display: none;
}

.taste-card .reference-slider {
  grid-template-columns: minmax(106px, .7fr) minmax(124px, 1fr) 40px;
  min-height: 50px;
  gap: 10px;
}

.taste-card .reference-slider span {
  font-size: 14px;
  font-weight: 800;
}

.taste-card .reference-slider svg {
  width: 17px;
  height: 17px;
}

.taste-card .reference-slider b {
  font-size: 14px;
}

.reference-form > .reference-submit {
  margin-top: 4px;
  min-height: 72px;
  text-transform: none;
  touch-action: manipulation;
}

.reference-submit-copy strong {
  font-size: 27px;
}

.reference-submit-copy small {
  color: rgba(255,255,255,.68);
  font-size: 11px;
  text-transform: none;
}

.reference-submit-icon {
  width: 44px;
  height: 44px;
}

.reference-form > .reference-submit:active {
  transform: scale(.992);
}

.reference-form > .reference-submit.is-submitting,
.reference-form > .reference-submit:disabled {
  cursor: progress;
  opacity: .78;
  transform: none;
}

.reference-form > .reference-submit.is-submitting .reference-submit-icon {
  animation: hp-cta-pulse 900ms ease-in-out infinite alternate;
}

@keyframes hp-cta-pulse {
  from { opacity: .72; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .reference-moods span,
  .reference-chips span,
  .reference-experience span,
  .reference-form > .reference-submit,
  .reference-back,
  .reference-form > .reference-submit.is-submitting .reference-submit-icon {
    animation: none;
    transition: none;
  }
}

@media (max-width: 380px) {
  .taste-only-stage .reference-screen {
    padding-inline: 12px;
  }

  .reference-screen h2 {
    font-size: clamp(38px, 12vw, 48px);
  }

  .reference-lead {
    max-width: 280px;
    font-size: 12px;
  }

  .reference-card {
    padding: 13px 12px;
  }

  .reference-card h3 {
    font-size: 21px;
    gap: 8px;
  }

  .reference-card h3::before {
    min-width: 26px;
    height: 20px;
    font-size: 9px;
  }

  .reference-moods,
  .reference-chips,
  .reference-experience {
    gap: 8px;
  }

  .reference-moods b,
  .reference-chips span,
  .reference-experience b {
    font-size: 17px;
  }

  .taste-card .reference-slider {
    grid-template-columns: minmax(94px, .68fr) minmax(96px, 1fr) 36px;
    gap: 8px;
  }

  .reference-submit-copy strong {
    font-size: 23px;
  }

  .reference-submit-copy small {
    font-size: 10px;
  }
}

@media (min-width: 720px) {
  .taste-only-stage .reference-phone {
    width: min(455px, 100%);
  }

  .taste-only-stage {
    padding-block: 0;
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .taste-only-stage {
    place-items: start center;
  }

  .reference-screen-logo {
    margin-top: 42px;
  }

  .reference-screen h2 {
    font-size: 36px;
  }

  .reference-lead {
    margin-bottom: 14px;
  }
}

/* Legacy visual rollback: restore the pre-minimal mobile concept */
.taste-only-stage .reference-screen {
  padding-inline: 16px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.74) 35%, rgba(0,0,0,.96) 80%),
    radial-gradient(circle at 50% 3%, rgba(255,0,0,.28), transparent 14rem),
    url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
    #050505;
}

.reference-screen h2,
.reference-card h3,
.reference-moods b,
.reference-chips span,
.reference-experience span,
.reference-experience b,
.reference-submit,
.reference-submit-copy strong {
  font-family: Inter, Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.reference-screen h2 {
  max-width: 320px;
  margin: 0 auto 10px;
  font-size: clamp(29px, 7.5vw, 34px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.reference-lead {
  width: min(100%, 340px);
  max-width: 340px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.45;
}

.reference-form {
  gap: 10px;
}

.reference-card {
  padding: 16px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.072), rgba(255,255,255,.026)),
    rgba(6,6,6,.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 18px 48px rgba(0,0,0,.32);
}

.reference-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 14px;
  color: rgb(255,246,236);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: normal;
}

.reference-card h3::before {
  content: none;
}

.taste-card h3 small {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  color: rgba(255,255,255,.62);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

.reference-moods,
.reference-chips,
.reference-experience {
  gap: 10px;
}

.reference-moods span,
.reference-chips span,
.reference-experience span {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    rgba(7,7,7,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.reference-moods span {
  min-height: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 0 16px;
}

.reference-moods svg,
.reference-chips svg,
.reference-experience svg {
  display: inline-block;
  color: #e00000;
  filter: drop-shadow(0 0 10px rgba(224,0,0,.25));
}

.reference-moods svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.reference-moods b {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.1;
  text-transform: none;
}

.reference-moods input:checked + span,
.reference-chips .selected span,
.reference-chips input:checked + span,
.reference-experience input:checked + span {
  border-color: rgba(255,255,255,.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(235,235,235,.92));
  color: #050505;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    0 0 0 1px rgba(255,0,0,.18),
    0 12px 34px rgba(255,0,0,.16);
}

.reference-moods input:checked + span b,
.reference-experience input:checked + span b,
.reference-experience input:checked + span small {
  color: #050505;
}

.reference-chips span {
  min-height: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 820;
  text-transform: none;
}

.reference-chips svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.reference-experience span {
  min-height: 72px;
  height: 72px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  justify-items: start;
  column-gap: 10px;
  row-gap: 2px;
  padding: 0 14px;
  overflow: hidden;
  position: relative;
}

.reference-experience span::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -42px;
  width: 116px;
  height: 78px;
  display: block;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(224,0,0,.24), transparent 68%);
  pointer-events: none;
}

.reference-experience svg {
  grid-row: 1 / span 2;
  width: 25px;
  height: 25px;
  align-self: center;
}

.reference-experience b {
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.1;
  text-transform: none;
  position: relative;
  z-index: 1;
}

.reference-experience small {
  display: block;
  color: rgba(255,255,255,.48);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.taste-card .reference-slider {
  grid-template-columns: minmax(126px, .78fr) minmax(118px, 1fr) 44px;
  min-height: 54px;
  gap: 10px;
}

.taste-card .reference-slider span {
  gap: 10px;
  color: rgba(255,255,255,.8);
  font-size: 14px;
  font-weight: 780;
}

.taste-card .reference-slider svg {
  width: 22px;
  height: 22px;
  color: #e00000;
}

.taste-card .reference-slider b {
  color: rgba(255,255,255,.86);
  font-size: 15px;
  font-weight: 880;
}

.reference-form > .reference-submit {
  min-height: 66px;
  grid-template-columns: 1fr 46px;
  gap: 12px;
  margin-top: 4px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 35%, rgba(224,0,0,.13), transparent 8rem),
    linear-gradient(180deg, #ffffff, #e9e9e9 58%, #dcdcdc);
  color: #050505;
  box-shadow:
    0 0 0 1px rgba(224,0,0,.22),
    0 18px 48px rgba(224,0,0,.22),
    0 20px 46px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.92);
  text-align: left;
}

.reference-submit-copy strong {
  color: #050505;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}

.reference-submit-copy small {
  color: rgba(5,5,5,.56);
  font-size: 10.5px;
  line-height: 1.15;
}

.reference-submit-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 26%, rgba(255,255,255,.32), transparent 38%),
    linear-gradient(180deg, #f00, #b90000);
  color: #fff;
}

.reference-form > .reference-submit:hover {
  color: #050505;
  filter: brightness(1.035);
  background:
    radial-gradient(circle at 88% 35%, rgba(224,0,0,.13), transparent 8rem),
    linear-gradient(180deg, #ffffff, #e9e9e9 58%, #dcdcdc);
}

.reference-form > .reference-submit:hover .reference-submit-copy strong {
  color: #050505;
}

.reference-form > .reference-submit:hover .reference-submit-copy small {
  color: rgba(5,5,5,.56);
}

@media (max-width: 380px) {
  .taste-only-stage .reference-screen {
    padding-inline: 12px;
  }

  .reference-screen h2 {
    font-size: clamp(28px, 7.2vw, 31px);
  }

  .reference-lead {
    max-width: 320px;
    font-size: 13px;
  }

  .reference-card {
    padding: 14px 12px;
  }

  .reference-card h3 {
    font-size: 15px;
  }

  .reference-moods span,
  .reference-chips span {
    min-height: 52px;
    height: 52px;
  }

  .reference-moods b,
  .reference-chips span {
    font-size: 12px;
  }

  .reference-experience span {
    min-height: 68px;
    height: 68px;
  }
}

/* Guest screen should not show fake OS status indicators */
.taste-only-stage .reference-status > span,
.taste-only-stage .status-icons {
  display: none;
}

.taste-only-stage .reference-status {
  pointer-events: none;
}

/* Final demo polish: keep the guest constructor stable in the desktop mock and real mobile view. */
.reference-status > span,
.reference-status .status-icons {
  display: none;
}

.reference-status {
  justify-content: flex-end;
  min-height: 38px;
}

.reference-status b {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(8,8,8,.42);
  color: #fff;
}

.reference-stage:not(.taste-only-stage) .reference-screen {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.reference-stage:not(.taste-only-stage) .reference-screen::-webkit-scrollbar {
  display: none;
}

.reference-stage:not(.taste-only-stage) .reference-screen h2 {
  max-width: 330px;
  margin-top: 24px;
  font-size: clamp(34px, 3.1vw, 46px);
  line-height: .94;
}

.reference-stage:not(.taste-only-stage) .reference-lead {
  max-width: 330px;
  margin-inline: auto;
}

.reference-stage:not(.taste-only-stage) .reference-form,
.reference-stage:not(.taste-only-stage) .reference-card {
  width: 100%;
  min-width: 0;
}

.reference-stage:not(.taste-only-stage) .reference-moods,
.reference-stage:not(.taste-only-stage) .reference-chips,
.reference-stage:not(.taste-only-stage) .reference-experience {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reference-stage:not(.taste-only-stage) .reference-moods span,
.reference-stage:not(.taste-only-stage) .reference-chips span,
.reference-stage:not(.taste-only-stage) .reference-experience span {
  min-width: 0;
}

.reference-stage:not(.taste-only-stage) .reference-moods b,
.reference-stage:not(.taste-only-stage) .reference-chips span,
.reference-stage:not(.taste-only-stage) .reference-experience b {
  overflow-wrap: anywhere;
}

.reference-stage:not(.taste-only-stage) .taste-card .reference-slider {
  grid-template-columns: minmax(112px, .72fr) minmax(112px, 1fr) 42px;
}

.results-panel {
  border-radius: 12px;
}

.mix-card {
  min-width: 0;
}

.mix-card h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.mix-card form {
  align-self: end;
}

@media (max-width: 860px) {
  .reference-status {
    min-height: 34px;
    padding-top: 12px;
  }

  .reference-status b {
    min-height: 30px;
    font-size: 13px;
  }

  .reference-stage:not(.taste-only-stage) .reference-screen h2 {
    margin-top: 12px;
  }

}

/* Recommendation page polish */
.recommendation-stage {
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.86)),
    radial-gradient(circle at 18% 0, rgba(224,0,0,.24), transparent 24rem),
    #050505;
}

.recommendation-stage .results-head h1 {
  max-width: 620px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 4.1rem);
  font-weight: 950;
  line-height: .92;
  text-transform: uppercase;
  text-wrap: balance;
}

.recommendation-stage .results-head p {
  max-width: 430px;
  color: rgba(255,255,255,.68);
}

.recommendation-stage .mix-card {
  border-color: rgba(255,255,255,.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(6,6,6,.88);
}

.recommendation-stage .mix-label {
  color: #ff1d1d;
}

.recommendation-stage .composition span {
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.9);
}

.recommendation-stage .pairings {
  display: grid;
  gap: .55rem;
}

@media (max-width: 680px) {
  .recommendation-stage {
    min-height: 100dvh;
    padding: 10px;
  }

  .recommendation-stage .results-panel {
    padding: 10px;
    border-radius: 8px;
    background: rgba(6,6,6,.74);
    box-shadow: none;
  }

  .recommendation-stage .results-head {
    display: grid;
    gap: 8px;
    align-items: start;
    margin-bottom: 14px;
  }

  .recommendation-stage .results-head h1 {
    max-width: 340px;
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .recommendation-stage .results-head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
  }

  .recommendation-stage .recommendation-list {
    gap: 12px;
  }

  .recommendation-stage .mix-card {
    padding: 14px 12px;
    gap: 12px;
    border-radius: 8px;
  }

  .recommendation-stage .mix-card h2 {
    font-size: 20px;
    line-height: 1.12;
  }

  .recommendation-stage .mix-card p {
    font-size: 14px;
    line-height: 1.55;
  }

  .recommendation-stage .mix-card h3 {
    margin: 4px 0 0;
    font-size: 16px;
    line-height: 1.16;
  }

  .recommendation-stage .composition {
    gap: 6px;
  }

  .recommendation-stage .composition span {
    padding: 6px 8px;
    font-size: 11px;
  }

  .recommendation-stage .pairings {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.35;
  }

  .recommendation-stage .button.full {
    min-height: 56px;
  }
}

/* Unified HookahPlace app shell */
.hp-work-page,
.hp-home-page,
.hp-guest-flow-page {
  min-height: 100dvh;
  background:
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.9)),
    radial-gradient(circle at 50% 0, rgba(224,0,0,.22), transparent 26rem),
    url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
    #050505;
}

.hp-home-page .topbar,
.hp-guest-flow-page .topbar {
  display: none;
}

.hp-work-page .topbar {
  min-height: 72px;
  align-items: center;
  border-bottom-color: rgba(255,255,255,.12);
  background: rgba(5,5,5,.82);
}

.hp-work-page .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.hp-work-page .hp-wordmark {
  width: 126px;
  height: auto;
}

.hp-work-page > .topbar {
  display: none;
}

.hp-work-page .brand span {
  color: rgba(255,255,255,.7);
  font-size: 12px;
  text-transform: uppercase;
}

.hp-work-page nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(255,255,255,.72);
}

.hp-work-page nav a:hover {
  border-color: rgba(255,255,255,.42);
  color: #fff;
}

.hp-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(16px, 3vw, 34px);
}

.hp-home-stage,
.hp-auth-stage,
.hp-guest-service-stage {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.hp-auth-stage {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(224,0,0,.22), transparent 26rem),
    linear-gradient(180deg, rgba(95,0,0,.34), rgba(0,0,0,.92) 54%),
    #030303;
}

.hp-auth-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("/static/assets/hookahplace-bg.png") center / cover,
    radial-gradient(circle at 50% 48%, rgba(224,0,0,.22), transparent 18rem);
  opacity: .28;
  pointer-events: none;
}

.hp-auth-stage > * {
  position: relative;
  z-index: 1;
}

.hp-guest-hero,
.hp-auth-card,
.hp-guest-card {
  width: min(100%, 460px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)),
    rgba(6,6,6,.78);
  box-shadow: 0 28px 80px rgba(0,0,0,.45);
  padding: clamp(18px, 5vw, 30px);
}

.hp-auth-card {
  width: min(100%, 520px);
  text-align: left;
  background:
    radial-gradient(circle at 50% 0%, rgba(224,0,0,.16), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.024)),
    rgba(8,8,8,.84);
}

.hp-auth-card .hp-auth-logo {
  margin-left: 0;
}

.hp-guest-hero {
  text-align: center;
}

.hp-hero-logo,
.hp-auth-logo,
.hp-card-logo {
  width: 142px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 18px rgba(224,0,0,.36));
}

.hp-kicker,
.section-label {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hp-guest-hero h1,
.hp-auth-card h1,
.hp-guest-card h1,
.hp-page-head h1 {
  color: #fff;
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hp-guest-hero h1 {
  margin: 10px auto 12px;
  max-width: 420px;
  font-size: clamp(38px, 10vw, 62px);
  line-height: .9;
}

.hp-auth-card h1,
.hp-guest-card h1 {
  margin-top: 10px;
  font-size: clamp(30px, 8vw, 44px);
  line-height: .94;
}

.hp-guest-hero p,
.hp-auth-card p,
.hp-guest-card p,
.hp-page-head p {
  color: rgba(255,255,255,.68);
}

.hp-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hp-actions.compact {
  justify-content: flex-end;
  margin-top: 0;
}

.hp-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.hp-page-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(6,6,6,.72);
  padding: clamp(16px, 2vw, 24px);
}

.hp-page-head > div {
  min-width: 0;
}

.hp-page-head h1 {
  margin: 6px 0 8px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: .9;
}

.hp-status-strip,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 0;
}

.hp-status-strip div,
.metric {
  min-height: 92px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(6,6,6,.68);
  padding: 14px;
}

.hp-status-strip span,
.metric span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hp-status-strip strong,
.metric strong {
  display: block;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin-top: 10px;
}

.hp-segmented,
.segmented {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 6px;
  background: rgba(0,0,0,.32);
}

.hp-segmented span,
.hp-segmented a,
.segmented span {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  padding: 0 12px;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hp-segmented a {
  text-decoration: none;
}

.hp-segmented .active,
.segmented span:first-child {
  background: #fff;
  color: #050505;
}

.hp-segmented b {
  font-variant-numeric: tabular-nums;
}

.hp-list,
.table-list {
  display: grid;
  gap: 10px;
}

.hp-request-row,
.request-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto 28px;
  gap: 14px;
  align-items: center;
  min-height: 86px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)),
    rgba(6,6,6,.78);
  padding: 12px 14px;
  width: 100%;
  min-width: 0;
}

.hp-request-row:hover {
  border-color: rgba(255,255,255,.42);
}

.hp-request-row.negative,
.request-row.negative {
  border-color: rgba(224,0,0,.62);
  box-shadow: inset 3px 0 0 #e00000;
}

.hp-table-badge,
.table-tile {
  min-height: 60px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  background: rgba(0,0,0,.36);
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: 12px;
}

.hp-table-badge b,
.table-tile b {
  display: block;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.hp-request-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.hp-request-main small,
.staff-board-row small {
  color: rgba(255,255,255,.55);
}

.hp-request-main strong {
  color: #fff;
  font-size: 18px;
  overflow-wrap: anywhere;
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.row-tags i,
.composition span {
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 4px;
  padding: 4px 7px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-style: normal;
}

.hp-status,
.request-row em {
  justify-self: start;
  border: 1px solid rgba(224,0,0,.56);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(224,0,0,.1);
  color: #ff2b2b;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.hp-status.is-done {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
}

.hp-status.is-accepted,
.hp-status.is-adjusted,
.hp-status.is-preparing {
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.hp-status.is-needs-clarification {
  border-color: rgba(255, 180, 180, .55);
  background: rgba(224,0,0,.2);
  color: #fff;
}

.hp-row-state {
  display: grid;
  justify-items: start;
  gap: 6px;
}

.hp-sla {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 800;
}

.hp-sla.is-urgent {
  color: #ffefef;
}

.hp-sla.is-waiting {
  color: rgba(255,255,255,.72);
}

.hp-row-arrow {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.hp-empty {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(6,6,6,.7);
  padding: 18px;
}

.hp-empty strong {
  color: #fff;
}

.hp-detail-grid,
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 14px;
}

.hp-master-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hp-master-hero div {
  min-width: 0;
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, rgba(224,0,0,.18), transparent 52%),
    rgba(6,6,6,.7);
  padding: 14px;
}

.hp-master-hero span,
.hp-master-hero small {
  min-width: 0;
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.hp-master-hero strong {
  min-width: 0;
  color: #fff;
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1;
}

.analytics-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.hp-panel,
.panel {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    rgba(6,6,6,.76);
  box-shadow: none;
  padding: 16px;
}

.hp-panel h2,
.panel h2 {
  color: #fff;
  margin-top: 0;
  text-transform: uppercase;
}

.hp-panel-headline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  margin-bottom: 12px;
}

.hp-panel-headline h2 {
  margin-bottom: 0;
}

.hp-owner-summary {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1.6fr);
  gap: 18px;
  align-items: stretch;
}

.hp-owner-summary p {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(255,255,255,.62);
}

.hp-owner-command {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.hp-owner-command article {
  min-width: 0;
  min-height: 124px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(224,0,0,.2), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    rgba(6,6,6,.74);
  padding: 14px;
}

.hp-owner-command article.is-money {
  grid-column: span 2;
  background:
    radial-gradient(circle at 18% 0%, rgba(224,0,0,.26), transparent 58%),
    linear-gradient(135deg, rgba(224,0,0,.16), rgba(255,255,255,.035)),
    rgba(6,6,6,.78);
}

.hp-owner-command span,
.hp-owner-command small {
  min-width: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.hp-owner-command strong {
  color: #fff;
  font-size: clamp(26px, 3.3vw, 48px);
  font-weight: 950;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}

.hp-commercial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hp-commercial-grid article {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(224,0,0,.14), rgba(255,255,255,.035)),
    rgba(0,0,0,.28);
  padding: 13px;
}

.hp-commercial-grid span,
.hp-commercial-grid small {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
}

.hp-commercial-grid strong {
  display: block;
  margin: 10px 0 6px;
  color: #fff;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.hp-funnel-list {
  display: grid;
  gap: 12px;
}

.hp-funnel-list p {
  display: grid;
  grid-template-columns: minmax(105px, 1fr) minmax(80px, 1.1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 0;
}

.hp-funnel-list span,
.hp-funnel-list em {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.hp-funnel-list i {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

.hp-funnel-list i::before {
  content: "";
  display: block;
  width: min(var(--w), 100%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e00000, rgba(255,255,255,.82));
}

.hp-funnel-list b {
  color: #fff;
  font-size: 14px;
}

.hp-real-bars {
  position: relative;
  min-height: 190px;
  align-items: end;
  gap: 18px;
  padding: 26px 10px 28px;
}

.hp-real-bars span {
  position: relative;
  height: var(--h);
  min-height: 14px;
}

.hp-real-bars span b {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  color: #fff;
  font-size: 11px;
}

.hp-real-bars span small {
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  font-size: 10px;
  white-space: nowrap;
}

.hp-definition-list {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.hp-definition-list div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}

.hp-definition-list dt {
  color: rgba(255,255,255,.5);
}

.hp-definition-list dd {
  margin: 0;
  color: #fff;
}

.hp-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.hp-status-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-status-actions form,
.hp-status-actions button {
  width: 100%;
}

.hp-note-form {
  margin-top: 14px;
}

.hp-recommendation-stack {
  display: grid;
  gap: 10px;
}

.hp-mini-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 12px;
  background: rgba(0,0,0,.24);
}

.hp-mini-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.hp-mini-card.is-selected {
  border-color: rgba(224,0,0,.52);
  background:
    linear-gradient(135deg, rgba(224,0,0,.12), rgba(255,255,255,.035)),
    rgba(0,0,0,.24);
}

.hp-selected-badge {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(224,0,0,.45);
  border-radius: 999px;
  background: rgba(224,0,0,.14);
  color: #fff;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
}

.hp-mini-card h3 {
  color: #fff;
  margin: 5px 0 8px;
}

.hp-selected-mix {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  border: 1px solid rgba(224,0,0,.45);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.18), rgba(255,255,255,.035)),
    rgba(0,0,0,.28);
  padding: 12px;
}

.hp-selected-mix > span {
  color: #ff2a2a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hp-selected-mix h3 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.08;
}

.hp-selected-mix p,
.hp-mini-card p {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 13px;
  line-height: 1.45;
}

.hp-master-composition {
  display: grid;
  gap: 7px;
}

.hp-master-composition div {
  position: relative;
  min-height: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 0 10px;
}

.hp-master-composition div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(224,0,0,.38), rgba(224,0,0,.06));
}

.hp-master-composition span,
.hp-master-composition b {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.hp-master-composition span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.hp-master-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.hp-master-tags span {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.76);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 850;
}

.hp-master-tags .is-warning {
  border-color: rgba(224,0,0,.42);
  background: rgba(224,0,0,.12);
  color: #fff;
}

.hp-master-order {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.12), rgba(255,255,255,.035)),
    rgba(0,0,0,.24);
  padding: 12px;
}

.hp-master-order > div,
.hp-master-order li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.hp-master-order span,
.hp-master-order p {
  min-width: 0;
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 800;
}

.hp-master-order strong,
.hp-master-order b {
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.hp-master-order ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hp-compact-list {
  display: grid;
  gap: 8px;
}

.hp-compact-list p {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
}

.hp-ops-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hp-ops-grid div {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 10px;
}

.hp-ops-grid span {
  display: block;
  color: rgba(255,255,255,.52);
  font-size: 11px;
  font-weight: 850;
}

.hp-ops-grid strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hp-summary-panel {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(0,0,0,.24);
  padding: 14px;
  margin: 18px 0;
}

.hp-summary-panel strong {
  color: #fff;
}

.hp-check-stack label {
  min-height: 46px;
  justify-content: flex-start;
}

.hp-auth-card .button.full,
.hp-guest-card .button.full {
  min-height: 54px;
}

.hp-home-page .button,
.hp-work-page .button,
.hp-guest-flow-page .button,
.hp-workspace button,
.hp-auth-card button,
.hp-guest-card button {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.hp-guest-card.compact {
  text-align: center;
}

@media (max-width: 980px) {
  .hp-work-page .topbar {
    position: static;
  }

  .hp-page-head,
  .hp-detail-grid,
  .analytics-grid,
  .hp-owner-summary {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hp-page-head {
    align-items: start;
  }

  .hp-status-strip,
  .metric-grid,
  .hp-master-hero,
  .hp-owner-command,
  .hp-commercial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-owner-command article.is-money {
    grid-column: span 2;
  }

  .hp-request-row,
  .request-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .hp-request-row .button,
  .hp-row-state,
  .hp-status,
  .request-row em,
  .hp-row-arrow {
    grid-column: 2;
  }

  .hp-row-arrow {
    display: none;
  }
}

@media (max-width: 560px) {
  .hp-shell {
    padding: 12px;
    width: 100%;
    overflow-x: hidden;
  }

  .hp-work-page .topbar {
    display: grid;
    gap: 10px;
  }

  .hp-work-page nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hp-page-head h1 {
    font-size: clamp(32px, 12vw, 48px);
  }

  .hp-status-strip,
  .metric-grid,
  .hp-master-hero,
  .hp-owner-command,
  .hp-status-actions,
  .hp-commercial-grid {
    grid-template-columns: 1fr;
  }

  .hp-owner-command article.is-money {
    grid-column: auto;
  }

  .hp-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-funnel-list p {
    grid-template-columns: 1fr auto;
  }

  .hp-funnel-list i {
    grid-column: 1 / -1;
  }

  .hp-segmented,
  .segmented {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-segmented span,
  .hp-segmented a,
  .segmented span {
    justify-content: center;
  }

  .hp-actions.compact {
    justify-content: flex-start;
  }

  .hp-definition-list div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .hp-panel-headline,
  .hp-mini-top {
    display: grid;
    justify-items: start;
  }

  .hp-guest-hero,
  .hp-auth-card,
  .hp-guest-card {
    padding: 18px 14px;
  }
}

/* Guest typography refresh */
:root {
  --hp-ui-font: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --hp-display-font: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.reference-page,
.reference-stage,
.reference-screen,
.reference-form,
.reference-card,
.reference-submit {
  font-family: var(--hp-ui-font);
  letter-spacing: 0;
}

.reference-screen h2 {
  max-width: 350px;
  font-family: var(--hp-display-font);
  font-size: 38px;
  font-weight: 800;
  line-height: .98;
  letter-spacing: 0;
  text-transform: none;
}

.reference-lead {
  font-family: var(--hp-ui-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
}

.reference-card h3 {
  font-family: var(--hp-display-font);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.reference-moods b,
.reference-chips span,
.reference-experience b,
.reference-submit-copy strong {
  font-family: var(--hp-ui-font);
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.reference-moods b {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
  white-space: nowrap;
}

.reference-chips span {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.12;
  white-space: nowrap;
}

.reference-experience b {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.08;
  white-space: nowrap;
}

.reference-experience small {
  font-family: var(--hp-ui-font);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
  text-transform: none;
}

.reference-submit-copy strong {
  font-family: var(--hp-display-font);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.06;
}

.reference-submit-copy small {
  font-family: var(--hp-ui-font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.reference-status b,
.reference-slider span,
.reference-slider b {
  font-family: var(--hp-ui-font);
  letter-spacing: 0;
}

.taste-only-stage .reference-screen-logo {
  display: block;
  width: 142px;
  height: auto;
  margin: 42px auto 20px;
  opacity: .98;
  filter: drop-shadow(0 0 18px rgba(224,0,0,.28));
}

.taste-only-stage .reference-form,
.taste-only-stage .reference-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.taste-only-stage .reference-moods,
.taste-only-stage .reference-chips,
.taste-only-stage .reference-experience {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.taste-only-stage .reference-moods span,
.taste-only-stage .reference-chips span,
.taste-only-stage .reference-experience span {
  min-width: 0;
}

.taste-only-stage .taste-card .reference-slider {
  width: 100%;
  grid-template-columns: minmax(108px, .78fr) minmax(104px, 1fr) 42px;
}

@media (max-width: 380px) {
  .taste-only-stage .reference-screen-logo {
    width: 124px;
    margin-top: 40px;
    margin-bottom: 16px;
  }

  .reference-screen h2 {
    font-size: 32px;
  }

  .reference-card h3 {
    font-size: 15px;
  }

  .reference-moods b,
  .reference-chips span {
    font-size: 13px;
  }

  .reference-experience b {
    font-size: 15px;
  }

  .reference-submit-copy strong {
    font-size: 16px;
  }
}

/* Unified typography system */
html,
body,
button,
input,
select,
textarea {
  font-family: var(--hp-ui-font) !important;
  letter-spacing: 0;
}

body,
p,
label,
small,
span,
a,
li,
dt,
dd,
input,
select,
textarea,
button,
.button,
.field,
.muted,
.context,
.section-label,
.hp-kicker,
.hp-status,
.row-tags i,
.composition span,
.reference-lead,
.reference-moods b,
.reference-chips span,
.reference-experience b,
.reference-experience small,
.reference-submit-copy small,
.staff-row,
.admin-top,
.metric,
.crm-card,
.panel,
.hp-panel {
  font-family: var(--hp-ui-font) !important;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
.hp-page-head h1,
.hp-guest-hero h1,
.hp-auth-card h1,
.hp-guest-card h1,
.reference-screen h2,
.reference-card h3,
.reference-submit-copy strong,
.panel-head strong,
.admin-top strong,
.metric strong,
.hp-status-strip strong,
.staff-table b,
.table-tile b,
.feedback-donut b {
  font-family: var(--hp-display-font) !important;
  letter-spacing: 0;
}

.hp-auth-card h1,
.hp-guest-card h1,
.hp-page-head h1,
.reference-screen h2 {
  font-weight: 800;
}

.section-label,
.hp-kicker,
.panel-head span,
.admin-top span,
.metric span,
.hp-status-strip span,
.field span {
  font-weight: 700;
  letter-spacing: 0;
}

.field input,
.field textarea,
.field select,
.hp-auth-card input,
.hp-guest-card input {
  text-transform: none;
  font-weight: 600;
}

.button,
button,
.hp-workspace button,
.hp-auth-card button,
.hp-guest-card button,
.reference-submit {
  font-weight: 800;
  text-transform: none;
}

/* Spec-aligned QR start */
.hp-qr-start {
  display: grid;
  gap: 16px;
  text-align: center;
}

.hp-qr-start h1 {
  margin: 6px auto 0;
  max-width: 400px;
  font-size: 36px;
  line-height: 1.02;
  text-transform: none;
}

.hp-qr-context {
  display: grid;
  gap: 4px;
  margin: 4px 0 2px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.hp-qr-context span {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  font-weight: 700;
}

.hp-qr-context strong {
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.hp-service-note {
  max-width: 360px;
  margin: 0 auto;
  color: rgba(255,255,255,.56);
  font-size: 13px;
  line-height: 1.45;
}

.button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.hp-work-page .button.ghost,
.hp-workspace button.button.ghost {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.88);
}

.hp-work-page .button.ghost:hover,
.hp-workspace button.button.ghost:hover {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
}

.hp-qr-admin {
  gap: 14px;
}

.hp-qr-stats strong {
  font-variant-numeric: tabular-nums;
}

.hp-qr-create {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  gap: 18px;
  align-items: end;
}

.hp-qr-create h2 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.hp-qr-create p {
  max-width: 560px;
  margin: 0;
  color: rgba(255,255,255,.62);
}

.hp-qr-launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background:
    radial-gradient(circle at 10% 0%, rgba(224,0,0,.22), transparent 34rem),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.016)),
    rgba(6,6,6,.76);
}

.hp-qr-launch h2 {
  margin: 4px 0 8px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}

.hp-qr-launch p {
  max-width: 720px;
  margin: 0;
  color: rgba(255,255,255,.64);
}

.hp-qr-launch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hp-qr-missing {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 12px;
}

.hp-qr-missing strong,
.hp-qr-missing span {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 850;
}

.hp-qr-missing span {
  border: 1px solid rgba(224,0,0,.34);
  border-radius: 999px;
  background: rgba(224,0,0,.12);
  padding: 6px 9px;
}

.hp-inline-form,
.hp-mini-form,
.hp-qr-controls {
  display: flex;
  align-items: end;
  gap: 8px;
  min-width: 0;
}

.hp-inline-form .field {
  margin: 0;
}

.hp-inline-form .field,
.hp-mini-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  flex: 1;
}

.hp-mini-form label span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
}

.hp-inline-form select,
.hp-mini-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.hp-inline-form button,
.hp-mini-form button,
.hp-qr-controls .button,
.hp-qr-controls button {
  min-height: 44px;
  white-space: nowrap;
}

.hp-qr-list {
  display: grid;
  gap: 10px;
}

.hp-qr-row {
  grid-template-columns: 86px 74px minmax(0, 1fr) minmax(360px, auto) minmax(280px, .52fr) auto;
  align-items: center;
}

.hp-qr-preview {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: #fff;
  padding: 5px;
}

.hp-qr-preview img {
  width: 100%;
  height: 100%;
  display: block;
}

.hp-qr-preview span {
  color: #111;
  font-size: 12px;
  font-weight: 950;
}

.hp-qr-row.is-disabled {
  opacity: .68;
}

.hp-qr-row.is-disabled .hp-table-badge,
.hp-qr-row.is-disabled .hp-qr-main strong {
  color: rgba(255,255,255,.62);
}

.hp-qr-main {
  gap: 5px;
}

.hp-qr-main strong {
  font-size: 17px;
}

.hp-qr-url {
  max-width: 100%;
  color: rgba(255,255,255,.46);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.hp-qr-controls form {
  margin: 0;
}

.hp-mini-form {
  justify-self: stretch;
}

.hp-danger-action {
  color: #ff3b3b !important;
}

.hp-qr-row .hp-status {
  justify-self: end;
}

.hp-structure-admin {
  gap: 14px;
}

.hp-structure-stats strong {
  font-variant-numeric: tabular-nums;
}

.hp-structure-create,
.hp-structure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hp-structure-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-structure-form,
.hp-structure-section {
  display: grid;
  gap: 12px;
  align-content: start;
}

.hp-structure-form h2,
.hp-structure-section h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
}

.hp-structure-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.hp-structure-list,
.hp-structure-table-list {
  display: grid;
  gap: 10px;
}

.hp-structure-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  padding: 10px;
}

.hp-structure-edit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.hp-table-edit {
  grid-template-columns: minmax(180px, 1fr) minmax(96px, .42fr) minmax(132px, .5fr) auto;
}

.hp-structure-edit label,
.hp-structure-form .field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.hp-structure-edit label span,
.hp-structure-form .field span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
}

.hp-structure-edit input,
.hp-structure-edit select,
.hp-structure-form input,
.hp-structure-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.hp-structure-form button,
.hp-structure-edit button,
.hp-row-delete button,
.hp-structure-actions button,
.hp-structure-head .button {
  min-height: 44px;
  white-space: nowrap;
}

.hp-row-delete,
.hp-structure-actions form {
  margin: 0;
}

.hp-structure-table-row {
  grid-template-columns: 86px minmax(0, .75fr) minmax(460px, 1.4fr) auto;
}

.hp-structure-table-row.is-disabled {
  opacity: .68;
}

.hp-structure-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.hp-catalog-admin {
  gap: 14px;
}

.hp-catalog-command {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hp-catalog-command article {
  min-width: 0;
  min-height: 124px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(224,0,0,.18), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    rgba(6,6,6,.74);
  padding: 14px;
}

.hp-catalog-command article.is-primary {
  border-color: rgba(224,0,0,.32);
  background:
    radial-gradient(circle at 20% 0%, rgba(224,0,0,.28), transparent 62%),
    linear-gradient(135deg, rgba(224,0,0,.15), rgba(255,255,255,.035)),
    rgba(6,6,6,.78);
}

.hp-catalog-command span,
.hp-catalog-command small {
  min-width: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.hp-catalog-command strong {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 950;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}

.hp-catalog-stats strong {
  font-variant-numeric: tabular-nums;
}

.hp-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hp-catalog-grid {
  grid-template-columns: 1fr;
}

.hp-catalog-filter {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(5, minmax(120px, .8fr)) auto auto;
  gap: 8px;
  align-items: end;
}

.hp-catalog-filter label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.hp-catalog-filter label span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 800;
}

.hp-catalog-filter input,
.hp-catalog-filter select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 800;
}

.hp-catalog-filter .button {
  min-height: 44px;
  white-space: nowrap;
}

.hp-catalog-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr) minmax(320px, .9fr);
  gap: 12px;
  align-items: stretch;
}

.hp-catalog-overview-secondary {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hp-catalog-form,
.hp-catalog-section {
  display: grid;
  gap: 12px;
  align-content: start;
}

.hp-catalog-form h2,
.hp-catalog-section h2 {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1;
}

.hp-catalog-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-catalog-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.hp-catalog-segment-grid,
.hp-brand-strip,
.hp-menu-category-strip,
.hp-catalog-warnings {
  display: grid;
  gap: 8px;
}

.hp-catalog-segment-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-catalog-segment-grid.compact {
  grid-template-columns: 1fr;
}

.hp-catalog-chip-card,
.hp-brand-strip a,
.hp-menu-category-strip a,
.hp-catalog-warnings p {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: inherit;
  text-decoration: none;
}

.hp-catalog-chip-card {
  display: grid;
  gap: 7px;
  padding: 12px;
}

.hp-catalog-chip-card span,
.hp-menu-category-strip span {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hp-catalog-chip-card strong,
.hp-menu-category-strip strong {
  color: #fff;
  font-size: 26px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hp-catalog-chip-card small,
.hp-menu-category-strip small {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 800;
}

.hp-brand-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-brand-strip a {
  padding: 10px;
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 900;
}

.hp-brand-strip b {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hp-menu-category-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-menu-category-strip a {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.hp-catalog-warnings p {
  margin: 0;
  padding: 12px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 750;
}

.hp-catalog-create {
  display: grid;
  gap: 12px;
}

.hp-catalog-create > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.12), rgba(255,255,255,.035)),
    rgba(0,0,0,.22);
  padding: 12px 14px;
  color: #fff;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.hp-admin-collapsible {
  overflow: hidden;
}

.hp-admin-collapsible > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 50%, rgba(224,0,0,.13), transparent 18rem),
    linear-gradient(180deg, rgba(255,255,255,.052), rgba(255,255,255,.018)),
    rgba(0,0,0,.24);
  color: #fff;
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 950;
}

.hp-admin-collapsible > summary::-webkit-details-marker {
  display: none;
}

.hp-admin-collapsible > summary span {
  font-size: 16px;
}

.hp-admin-collapsible > summary b {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  text-transform: uppercase;
}

.hp-admin-collapsible[open] > summary {
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.1);
}

.hp-catalog-create > summary::-webkit-details-marker {
  display: none;
}

.hp-catalog-create > summary b {
  color: rgba(255,255,255,.58);
  font-size: 12px;
}

.hp-catalog-create-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hp-catalog-create:not([open]) .hp-catalog-create-grid {
  display: none;
}

.hp-catalog-list {
  display: grid;
  gap: 10px;
}

.hp-catalog-limit-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(224,0,0,.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.12), rgba(255,255,255,.03)),
    rgba(0,0,0,.24);
  padding: 12px;
}

.hp-catalog-limit-note strong {
  color: #fff;
  font-size: 14px;
}

.hp-catalog-limit-note span {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
}

.hp-catalog-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  padding: 10px;
}

.hp-catalog-row.is-disabled {
  opacity: .68;
}

.hp-catalog-badge {
  min-height: 44px;
  display: grid;
  place-items: center;
  align-self: stretch;
  border: 1px solid rgba(224,0,0,.45);
  border-radius: 8px;
  background: rgba(224,0,0,.1);
  color: #ff3030;
  font-size: 12px;
  font-weight: 900;
}

.hp-catalog-edit {
  display: grid;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.hp-tobacco-edit {
  grid-template-columns: minmax(150px, 1fr) minmax(110px, .62fr) minmax(110px, .62fr) minmax(220px, 1.2fr) 112px 82px 106px auto;
}

.hp-menu-edit {
  grid-template-columns: minmax(160px, 1fr) minmax(100px, .5fr) minmax(190px, 1fr) 82px minmax(110px, .5fr) 82px minmax(116px, .5fr) auto;
}

.hp-rule-edit {
  grid-template-columns: minmax(110px, .5fr) minmax(110px, .5fr) minmax(260px, 1.3fr) auto;
}

.hp-catalog-edit label,
.hp-catalog-form .field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.hp-catalog-advanced {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(0,0,0,.24);
  padding: 10px;
}

.hp-catalog-edit-advanced {
  grid-column: 1 / -2;
}

.hp-catalog-advanced summary {
  cursor: pointer;
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 900;
  list-style: none;
}

.hp-catalog-advanced summary::-webkit-details-marker {
  display: none;
}

.hp-catalog-advanced summary::after {
  content: "+";
  float: right;
  color: #ff3030;
}

.hp-catalog-advanced[open] summary {
  margin-bottom: 10px;
}

.hp-catalog-advanced[open] summary::after {
  content: "-";
}

.hp-catalog-edit label span,
.hp-catalog-form .field span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
}

.hp-catalog-edit input,
.hp-catalog-edit select,
.hp-catalog-edit textarea,
.hp-catalog-form input,
.hp-catalog-form select,
.hp-catalog-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.hp-catalog-edit textarea,
.hp-catalog-form textarea {
  min-height: 72px;
  padding-top: 10px;
  resize: vertical;
  line-height: 1.35;
}

.hp-catalog-form button,
.hp-catalog-edit button,
.hp-catalog-actions button {
  min-height: 44px;
  white-space: nowrap;
}

.hp-catalog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
}

.hp-catalog-actions form {
  margin: 0;
}

.hp-staff-admin {
  gap: 14px;
}

.hp-staff-stats strong {
  font-variant-numeric: tabular-nums;
}

.hp-staff-create {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.35fr);
  gap: 18px;
  align-items: end;
}

.hp-staff-create h2,
.hp-staff-section h2 {
  margin: 4px 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
}

.hp-staff-create p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.hp-staff-create-form,
.hp-staff-edit,
.hp-staff-password {
  display: grid;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.hp-staff-create-form {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.hp-staff-edit {
  grid-template-columns: minmax(190px, 1.2fr) minmax(150px, .8fr) minmax(160px, .9fr) minmax(112px, .48fr) minmax(116px, .52fr) auto;
  grid-column: 2;
}

.hp-staff-password {
  grid-template-columns: minmax(160px, 1fr) auto;
  grid-column: 2;
  max-width: 420px;
}

.hp-staff-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.hp-staff-list {
  display: grid;
  gap: 10px;
}

.hp-staff-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  padding: 10px;
}

.hp-staff-row.is-disabled {
  opacity: .68;
}

.hp-staff-badge {
  min-height: 44px;
  display: grid;
  place-items: center;
  align-self: stretch;
  border: 1px solid rgba(224,0,0,.45);
  border-radius: 8px;
  background: rgba(224,0,0,.1);
  color: #ff3030;
  font-size: 12px;
  font-weight: 900;
}

.hp-staff-edit label,
.hp-staff-password label,
.hp-staff-create-form .field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.hp-staff-edit label span,
.hp-staff-password label span,
.hp-staff-create-form .field span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
}

.hp-staff-edit input,
.hp-staff-edit select,
.hp-staff-password input,
.hp-staff-create-form input,
.hp-staff-create-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.hp-staff-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  grid-column: 2;
}

.hp-staff-actions form {
  margin: 0;
}

.hp-staff-create-form button,
.hp-staff-edit button,
.hp-staff-password button,
.hp-staff-actions button {
  min-height: 44px;
  white-space: nowrap;
}

.hp-settings-admin {
  gap: 14px;
}

.hp-settings-command {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.hp-settings-command article {
  min-width: 0;
  min-height: 124px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(224,0,0,.18), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    rgba(6,6,6,.74);
  padding: 14px;
}

.hp-settings-command article.is-primary {
  grid-column: span 1;
  border-color: rgba(224,0,0,.32);
  background:
    radial-gradient(circle at 20% 0%, rgba(224,0,0,.28), transparent 62%),
    linear-gradient(135deg, rgba(224,0,0,.15), rgba(255,255,255,.035)),
    rgba(6,6,6,.78);
}

.hp-settings-command span,
.hp-settings-command small {
  min-width: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.hp-settings-command strong {
  color: #fff;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 950;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}

.hp-pilot-hero {
  display: grid;
  grid-template-columns: minmax(180px, .56fr) minmax(0, 1.44fr) auto;
  gap: 14px;
  align-items: stretch;
  background:
    radial-gradient(circle at 12% 0%, rgba(224,0,0,.26), transparent 34rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(6,6,6,.78);
}

.hp-pilot-score,
.hp-pilot-actions,
.hp-pilot-check {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.hp-pilot-score {
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 14px;
}

.hp-pilot-score span,
.hp-pilot-score small {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.3;
}

.hp-pilot-score strong {
  color: #fff;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 950;
  line-height: .9;
  font-variant-numeric: tabular-nums;
}

.hp-pilot-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.hp-pilot-check {
  min-height: 72px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 8px;
  align-content: center;
  padding: 10px;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.hp-pilot-check:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}

.hp-pilot-check span {
  grid-row: 1 / 3;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(224,0,0,.45);
  border-radius: 999px;
  color: #ff2020;
  font-size: 13px;
  font-weight: 950;
}

.hp-pilot-check.is-ready span {
  border-color: rgba(255,255,255,.3);
  background: #fff;
  color: #111;
}

.hp-pilot-check b {
  color: #fff;
  font-size: 13px;
  line-height: 1.15;
}

.hp-pilot-check small {
  color: rgba(255,255,255,.55);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.hp-pilot-actions {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 12px;
}

.hp-pilot-actions .button {
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
}

.hp-settings-stats strong {
  font-variant-numeric: tabular-nums;
}

.hp-knowledge-create {
  overflow: hidden;
}

.hp-knowledge-create > summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.12), rgba(255,255,255,.035)),
    rgba(0,0,0,.24);
  color: #fff;
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-weight: 950;
}

.hp-knowledge-create > summary::-webkit-details-marker,
.hp-knowledge-row > summary::-webkit-details-marker {
  display: none;
}

.hp-knowledge-create > summary b {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  text-transform: uppercase;
}

.hp-knowledge-create:not([open]) > div,
.hp-knowledge-create:not([open]) > form {
  display: none;
}

.hp-knowledge-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hp-knowledge-summary {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(180px, .52fr);
  gap: 10px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.hp-knowledge-summary strong {
  min-width: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.hp-knowledge-summary small {
  min-width: 0;
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hp-knowledge-row:not([open]) .hp-settings-edit,
.hp-knowledge-row:not([open]) form:not(.hp-settings-edit) {
  display: none;
}

.hp-knowledge-row[open] {
  background:
    radial-gradient(circle at 12% 0%, rgba(224,0,0,.12), transparent 18rem),
    rgba(0,0,0,.26);
}

.hp-knowledge-row[open] .hp-settings-edit {
  margin-top: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.hp-knowledge-row[open] form:not(.hp-settings-edit) {
  display: inline-grid;
  width: fit-content;
  margin-top: 8px;
  margin-right: 8px;
}

.hp-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  gap: 14px;
  align-items: start;
}

.hp-settings-section,
.hp-settings-create {
  display: grid;
  gap: 12px;
  align-content: start;
}

.hp-settings-create {
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.45fr);
  gap: 18px;
  align-items: end;
}

.hp-settings-section h2,
.hp-settings-create h2 {
  margin: 4px 0 8px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1;
}

.hp-settings-create p {
  margin: 0;
  color: rgba(255,255,255,.62);
}

.hp-settings-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.hp-settings-details {
  display: grid;
  gap: 10px;
}

.hp-settings-details summary {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.12), rgba(255,255,255,.035)),
    rgba(0,0,0,.22);
  padding: 12px 14px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.hp-settings-details summary b {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.hp-settings-details[open] summary {
  margin-bottom: 10px;
}

.hp-settings-details:not([open]) .hp-inventory-list {
  display: none;
}

.hp-settings-list,
.hp-inventory-list {
  display: grid;
  gap: 10px;
}

.hp-branch-cards,
.hp-ai-rules,
.hp-tier-grid,
.hp-addon-category-grid {
  display: grid;
  gap: 10px;
}

.hp-branch-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.11), rgba(255,255,255,.025)),
    rgba(0,0,0,.24);
  padding: 12px;
}

.hp-branch-edit {
  display: grid;
  grid-template-columns: minmax(160px, .8fr) minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
}

.hp-branch-readiness {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hp-branch-readiness span,
.hp-ai-rules p,
.hp-tier-grid article,
.hp-addon-category-grid article,
.hp-segment-strip span {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}

.hp-branch-readiness span {
  min-width: 0;
  padding: 10px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 800;
}

.hp-branch-readiness b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hp-ai-rules p {
  display: grid;
  grid-template-columns: minmax(120px, .55fr) minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 12px;
}

.hp-ai-rules span,
.hp-tier-grid span,
.hp-addon-category-grid span {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hp-ai-rules strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
}

.hp-tier-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hp-tier-grid article,
.hp-addon-category-grid article {
  min-width: 0;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 12px;
}

.hp-tier-grid strong,
.hp-addon-category-grid strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hp-tier-grid p {
  margin: 0;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.35;
}

.hp-tier-grid small,
.hp-addon-category-grid small {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 800;
}

.hp-segment-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hp-segment-strip span {
  padding: 8px 10px;
  color: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 850;
}

.hp-segment-strip b {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.hp-addon-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hp-settings-row,
.hp-inventory-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(210px, .48fr) minmax(360px, .95fr) auto;
  gap: 10px;
  align-items: end;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  padding: 10px;
}

.hp-settings-row {
  grid-template-columns: 64px minmax(0, 1fr);
}

.hp-settings-row.hp-knowledge-row {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.hp-inventory-row.is-disabled {
  opacity: .72;
}

.hp-settings-badge {
  min-height: 44px;
  display: grid;
  place-items: center;
  align-self: stretch;
  border: 1px solid rgba(224,0,0,.45);
  border-radius: 8px;
  background: rgba(224,0,0,.1);
  color: #ff3030;
  font-size: 12px;
  font-weight: 900;
}

.hp-settings-edit,
.hp-settings-create-form,
.hp-inventory-edit,
.hp-branch-edit {
  display: grid;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.hp-settings-edit {
  grid-template-columns: minmax(220px, 1fr) auto;
}

.hp-settings-create-form {
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
}

.hp-inventory-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.hp-inventory-main strong {
  color: #fff;
  font-size: 18px;
  line-height: 1.08;
  word-break: break-word;
}

.hp-inventory-main small,
.hp-inventory-status span {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 700;
}

.hp-inventory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.hp-inventory-tags span {
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.78);
  border-radius: 6px;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 800;
}

.hp-inventory-status {
  display: grid;
  gap: 7px;
  align-self: center;
}

.hp-inventory-edit {
  grid-template-columns: minmax(120px, .55fr) minmax(180px, 1fr) auto;
}

.hp-settings-edit label,
.hp-inventory-edit label,
.hp-branch-edit label,
.hp-settings-create-form .field {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
}

.hp-settings-edit label span,
.hp-inventory-edit label span,
.hp-branch-edit label span,
.hp-settings-create-form .field span {
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
}

.hp-settings-edit input,
.hp-settings-edit select,
.hp-settings-edit textarea,
.hp-inventory-edit input,
.hp-inventory-edit select,
.hp-branch-edit input,
.hp-branch-edit select,
.hp-settings-create-form input,
.hp-settings-create-form select,
.hp-settings-create-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
}

.hp-settings-edit textarea,
.hp-settings-create-form textarea {
  min-height: 104px;
  padding: 12px;
  resize: vertical;
  font: inherit;
}

.hp-settings-edit .wide,
.hp-settings-create-form .wide {
  grid-column: 1 / -1;
}

.hp-settings-edit button,
.hp-settings-create-form button,
.hp-inventory-edit button,
.hp-inventory-actions button,
.hp-branch-edit button {
  min-height: 44px;
  white-space: nowrap;
}

.hp-inventory-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.hp-inventory-actions form {
  margin: 0;
}

@media (max-width: 1240px) {
  .hp-qr-row {
    grid-template-columns: 72px 64px minmax(0, 1fr);
  }

  .hp-qr-controls,
  .hp-mini-form,
  .hp-qr-row .hp-status {
    grid-column: 2 / -1;
  }

  .hp-qr-row .hp-status {
    justify-self: start;
  }

  .hp-structure-create {
    grid-template-columns: 1fr;
  }

  .hp-structure-table-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .hp-table-edit,
  .hp-structure-actions {
    grid-column: 2 / -1;
  }

  .hp-structure-actions {
    justify-content: flex-start;
  }

  .hp-catalog-create,
  .hp-catalog-create-grid,
  .hp-catalog-grid {
    grid-template-columns: 1fr;
  }

  .hp-catalog-command,
  .hp-catalog-filter,
  .hp-catalog-overview,
  .hp-catalog-overview-secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-catalog-filter label:first-child {
    grid-column: span 2;
  }

  .hp-catalog-filter .button {
    justify-content: center;
  }

  .hp-catalog-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .hp-catalog-edit,
  .hp-catalog-actions {
    grid-column: 2 / -1;
  }

  .hp-tobacco-edit,
  .hp-menu-edit,
  .hp-rule-edit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-staff-create,
  .hp-staff-create-form {
    grid-template-columns: 1fr;
  }

  .hp-staff-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .hp-staff-edit,
  .hp-staff-password,
  .hp-staff-actions {
    grid-column: 2 / -1;
  }

  .hp-staff-edit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-settings-create,
  .hp-settings-grid,
  .hp-settings-create-form,
  .hp-pilot-hero {
    grid-template-columns: 1fr;
  }

  .hp-pilot-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-settings-command {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-settings-command article.is-primary {
    grid-column: span 2;
  }

  .hp-branch-edit,
  .hp-tier-grid {
    grid-template-columns: 1fr;
  }

  .hp-inventory-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .hp-inventory-status,
  .hp-inventory-edit,
  .hp-inventory-actions {
    grid-column: 2 / -1;
  }

  .hp-inventory-edit {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }
}

@media (max-width: 760px) {
  .hp-qr-create {
    grid-template-columns: 1fr;
  }

  .hp-qr-launch,
  .hp-pilot-checklist {
    grid-template-columns: 1fr;
  }

  .hp-qr-launch-actions,
  .hp-qr-launch-actions .button {
    width: 100%;
  }

  .hp-qr-launch-actions {
    justify-content: stretch;
  }

  .hp-inline-form,
  .hp-mini-form,
  .hp-qr-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .hp-qr-controls .button,
  .hp-qr-controls button,
  .hp-mini-form button,
  .hp-inline-form button,
  .hp-pilot-actions .button {
    width: 100%;
    justify-content: center;
  }

  .hp-structure-grid,
  .hp-structure-edit,
  .hp-table-edit,
  .hp-structure-row {
    grid-template-columns: 1fr;
  }

  .hp-structure-edit {
    display: flex;
    flex-direction: column;
  }

  .hp-table-edit,
  .hp-structure-actions {
    grid-column: 1 / -1;
  }

  .hp-structure-head {
    display: grid;
    align-items: start;
  }

  .hp-row-delete,
  .hp-structure-actions,
  .hp-structure-actions form,
  .hp-structure-edit button,
  .hp-row-delete button,
  .hp-structure-actions button,
  .hp-structure-head .button {
    width: 100%;
  }

  .hp-structure-actions {
    flex-direction: column;
  }

  .hp-catalog-form-grid,
  .hp-catalog-command,
  .hp-catalog-filter,
  .hp-catalog-overview,
  .hp-catalog-overview-secondary,
  .hp-catalog-segment-grid,
  .hp-catalog-segment-grid.compact,
  .hp-brand-strip,
  .hp-menu-category-strip,
  .hp-catalog-row,
  .hp-tobacco-edit,
  .hp-menu-edit,
  .hp-rule-edit {
    grid-template-columns: 1fr;
  }

  .hp-catalog-filter label:first-child {
    grid-column: auto;
  }

  .hp-catalog-edit {
    display: flex;
    flex-direction: column;
  }

  .hp-catalog-limit-note {
    grid-template-columns: 1fr;
  }

  .hp-catalog-edit,
  .hp-catalog-actions {
    grid-column: 1 / -1;
  }

  .hp-catalog-actions,
  .hp-catalog-actions form,
  .hp-catalog-actions button,
  .hp-catalog-edit button {
    width: 100%;
  }

  .hp-catalog-actions {
    flex-direction: column;
  }

  .hp-staff-row,
  .hp-staff-edit,
  .hp-staff-password {
    grid-template-columns: 1fr;
  }

  .hp-staff-edit,
  .hp-staff-password {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hp-staff-edit,
  .hp-staff-password,
  .hp-staff-actions {
    grid-column: 1 / -1;
  }

  .hp-staff-actions,
  .hp-staff-actions form,
  .hp-staff-actions button,
  .hp-staff-edit button,
  .hp-staff-password button,
  .hp-staff-create-form button {
    width: 100%;
  }

  .hp-staff-actions {
    flex-direction: column;
  }

  .hp-settings-head {
    display: grid;
    align-items: start;
  }

  .hp-settings-command,
  .hp-settings-grid,
  .hp-branch-readiness,
  .hp-ai-rules p,
  .hp-addon-category-grid {
    grid-template-columns: 1fr;
  }

  .hp-settings-command article.is-primary {
    grid-column: auto;
  }

  .hp-settings-row,
  .hp-settings-edit,
  .hp-inventory-row,
  .hp-inventory-edit,
  .hp-branch-edit {
    grid-template-columns: 1fr;
  }

  .hp-settings-edit,
  .hp-inventory-edit,
  .hp-branch-edit {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hp-inventory-status,
  .hp-inventory-edit,
  .hp-inventory-actions {
    grid-column: 1 / -1;
  }

  .hp-settings-head .button,
  .hp-settings-edit button,
  .hp-settings-create-form button,
  .hp-inventory-edit button,
  .hp-inventory-actions,
  .hp-inventory-actions form,
  .hp-inventory-actions button,
  .hp-branch-edit button {
    width: 100%;
  }

  .hp-inventory-actions {
    flex-direction: column;
  }
}

/* Step-based guest constructor */
.taste-wizard {
  gap: 14px;
}

.taste-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.taste-progress span {
  display: flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.56);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.taste-progress span.active {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.taste-progress span.done {
  border-color: rgba(224,0,0,.58);
  background: rgba(224,0,0,.18);
  color: #fff;
}

.taste-step {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding-bottom: 14px;
}

.taste-step[hidden] {
  display: none !important;
}

.taste-step-head {
  display: grid;
  gap: 5px;
  padding: 0 2px;
  text-align: left;
}

.taste-step-head span {
  color: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.taste-step-head h3 {
  margin: 0;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.08;
}

.wizard-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: 100%;
}

.wizard-actions.split {
  grid-template-columns: minmax(92px, .42fr) minmax(0, 1fr);
}

.wizard-button {
  min-width: 0;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: #fff;
  cursor: pointer;
  font-family: var(--hp-ui-font) !important;
  font-size: 15px;
  font-weight: 800;
}

.wizard-button.primary {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.wizard-button:focus-visible,
.comment-card textarea:focus-visible {
  outline: 2px solid rgba(224,0,0,.92);
  outline-offset: 2px;
}

.comment-card {
  display: grid;
  gap: 10px;
}

.comment-card > span {
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.comment-card textarea {
  width: 100%;
  min-height: 88px;
  resize: vertical;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(0,0,0,.3);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.45;
  padding: 12px;
}

.comment-card textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.note-chips span {
  min-height: 46px;
  height: 46px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
}

.taste-only-stage .reference-experience.group-choice,
.reference-experience.group-choice {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.taste-only-stage .reference-experience.group-choice span,
.reference-experience.group-choice span {
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 72px;
  height: 72px;
  column-gap: 8px;
  padding: 0 10px;
}

.group-choice svg {
  width: 22px;
  height: 22px;
}

.group-choice b {
  min-width: 0;
  font-size: 14px;
  line-height: 1.05;
  white-space: normal;
}

.group-choice small {
  display: block;
  margin-top: 3px;
  color: rgba(255,255,255,.52);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
}

.taste-step .reference-submit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 72px;
  margin-top: 0;
  padding: 10px 10px 10px 16px;
  text-align: left;
}

.taste-step .reference-submit svg {
  width: 18px;
  height: 18px;
  margin-left: 0;
}

.taste-step .reference-submit-copy strong {
  font-size: 18px;
  line-height: 1.05;
}

.taste-step .reference-submit-copy small {
  color: rgba(5,5,5,.58);
  font-size: 11px;
  line-height: 1.12;
}

.taste-step .reference-submit-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
}

/* Guest recommendation flow */
.hp-results-stage {
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.86)),
    radial-gradient(circle at 50% 0, rgba(224,0,0,.24), transparent 28rem),
    url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
    #050505;
}

.hp-results-shell {
  position: relative;
  width: min(100%, 520px);
  min-height: calc(100dvh - 28px);
}

.hp-results-loading {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 44%, rgba(224,0,0,.22), transparent 16rem),
    linear-gradient(180deg, #140000, #050505 58%, #000);
  text-align: center;
  animation: hp-results-loading-out 420ms ease 1550ms forwards;
}

.hp-instant-mix-loading {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 44%, rgba(224,0,0,.24), transparent 16rem),
    linear-gradient(180deg, #140000, #050505 58%, #000);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.hp-instant-mix-loading.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.hp-mix-submit-lock,
.hp-mix-submit-lock body {
  overflow: hidden;
}

.hp-instant-mix-loading h1 {
  max-width: 360px;
  margin: 0;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: clamp(36px, 11vw, 54px);
  font-weight: 800;
  line-height: .95;
}

.hp-instant-mix-loading p {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.45;
}

.hp-results-loading h1 {
  max-width: 360px;
  margin: 0;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: clamp(36px, 11vw, 54px);
  font-weight: 800;
  line-height: .95;
}

.hp-results-loading p {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 15px;
  line-height: 1.45;
}

.hp-ai-orbit {
  position: relative;
  width: 116px;
  height: 116px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(224,0,0,.96) 0 15px, rgba(224,0,0,.22) 16px 34px, transparent 35px),
    rgba(255,255,255,.035);
  box-shadow: 0 0 46px rgba(224,0,0,.36);
}

.hp-ai-orbit span {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-top-color: rgba(255,255,255,.82);
  border-radius: 50%;
  animation: hp-ai-spin 1150ms linear infinite;
}

.hp-ai-orbit span:nth-child(2) {
  inset: 20px;
  border-top-color: rgba(224,0,0,.96);
  animation-duration: 1450ms;
  animation-direction: reverse;
}

.hp-ai-orbit span:nth-child(3) {
  inset: 33px;
  border-top-color: rgba(255,255,255,.6);
  animation-duration: 1900ms;
}

.hp-loading-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: min(100%, 330px);
  margin-top: 2px;
}

.hp-loading-steps span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
}

.hp-results-content {
  opacity: 0;
  transform: translateY(14px);
  animation: hp-results-content-in 520ms ease 1680ms forwards;
}

.recommendation-results.is-ready .hp-results-loading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

.recommendation-results.is-ready .hp-ai-orbit span {
  animation: none;
}

.recommendation-results.is-ready .hp-results-content {
  opacity: 1;
  transform: translateY(0);
  animation: none;
}

.hp-results-head {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 28px 4px 18px;
  text-align: center;
}

.hp-results-head .hp-card-logo {
  margin-bottom: 6px;
}

.hp-table-pill {
  position: absolute;
  top: 34px;
  right: 4px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(0,0,0,.34);
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
}

.hp-results-head h1 {
  max-width: 390px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: clamp(38px, 11vw, 58px);
  font-weight: 800;
  line-height: .9;
}

.hp-results-head p {
  max-width: 390px;
  margin: 0 auto;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.45;
}

.hp-request-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 4px;
}

.hp-request-summary span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.82);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

/* Admin commercial console */
.hp-admin-console {
  gap: 16px;
}

.hp-admin-head {
  align-items: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(224,0,0,.18), transparent 34rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(6,6,6,.78);
}

.hp-admin-head h1 {
  text-transform: none;
}

.hp-admin-nav {
  max-width: 720px;
}

.hp-admin-head-tools {
  min-width: min(100%, 560px);
  display: grid;
  justify-items: end;
  gap: 10px;
}

.hp-period-switch {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 3px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(0,0,0,.32);
  padding: 3px;
}

.hp-work-page .hp-period-switch a {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: rgba(255,255,255,.6);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.hp-work-page .hp-period-switch a:hover,
.hp-work-page .hp-period-switch a:focus-visible {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.hp-work-page .hp-period-switch a:active {
  transform: scale(.97);
}

.hp-work-page .hp-period-switch a.is-active {
  background: #fff;
  color: #090909;
}

.hp-data-freshness {
  color: rgba(255,255,255,.46);
  font-size: 11px;
  font-weight: 750;
}

.hp-admin-hero {
  display: grid;
  grid-template-columns: minmax(170px, .8fr) minmax(250px, 1.35fr) repeat(2, minmax(160px, .85fr));
  gap: 10px;
}

.hp-admin-hero article {
  min-width: 0;
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(224,0,0,.16), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(6,6,6,.72);
  padding: 15px;
}

.hp-admin-hero .hp-admin-score,
.hp-admin-hero .hp-admin-money {
  border-color: rgba(224,0,0,.42);
  background:
    radial-gradient(circle at 16% 0%, rgba(224,0,0,.32), transparent 58%),
    linear-gradient(135deg, rgba(224,0,0,.14), rgba(255,255,255,.03)),
    rgba(6,6,6,.78);
}

.hp-admin-hero span,
.hp-admin-hero small {
  min-width: 0;
  color: rgba(255,255,255,.6);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.hp-admin-hero strong {
  min-width: 0;
  color: #fff;
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 950;
  line-height: .95;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.hp-admin-command-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 14px;
}

.hp-admin-chart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .85fr);
  gap: 14px;
}

.hp-chart-head {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.hp-chart-head h2 {
  margin: 3px 0 0;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
}

.hp-chart-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.hp-chart-legend span,
.hp-tier-legend p {
  position: relative;
}

.hp-chart-legend span::before {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 2px;
  margin-right: 6px;
  content: "";
}

.hp-chart-legend .is-orders::before {
  background: #e00000;
}

.hp-chart-legend .is-revenue::before {
  border: 1px solid rgba(215,168,74,.72);
  background: rgba(215,168,74,.28);
}

.hp-combo-chart {
  min-height: 244px;
  display: grid;
  grid-template-columns: repeat(14, minmax(12px, 1fr));
  align-items: end;
  gap: clamp(4px, 1vw, 10px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: repeating-linear-gradient(to top, transparent 0, transparent 60px, rgba(255,255,255,.055) 61px);
  padding: 12px 4px 0;
}

.hp-combo-column {
  height: 230px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 22px;
  gap: 6px;
}

.hp-combo-values {
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.hp-combo-values span {
  width: min(13px, 45%);
  min-height: 2px;
  height: var(--value);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: hp-chart-rise .5s cubic-bezier(.2,.8,.2,1) both;
}

.hp-revenue-bar {
  border: 1px solid rgba(215,168,74,.62);
  border-bottom: 0;
  background: rgba(215,168,74,.28);
}

.hp-order-bar {
  background: #e00000;
  box-shadow: 0 0 14px rgba(224,0,0,.18);
}

.hp-combo-column small {
  min-height: 14px;
  color: rgba(255,255,255,.42);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
}

.hp-chart-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 14px;
  color: rgba(255,255,255,.54);
  font-size: 12px;
}

.hp-chart-foot b {
  color: #fff;
  margin-left: 5px;
  font-variant-numeric: tabular-nums;
}

.hp-chart-callout,
.hp-status-dot {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(224,0,0,.34);
  border-radius: 999px;
  background: rgba(224,0,0,.1);
  color: #fff;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.hp-hour-bars {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: repeating-linear-gradient(to top, transparent 0, transparent 54px, rgba(255,255,255,.05) 55px);
  padding: 12px 4px 0;
}

.hp-hour-bars div {
  height: 208px;
  display: grid;
  grid-template-rows: 20px minmax(0, 1fr) 24px;
  align-items: end;
  gap: 5px;
  text-align: center;
}

.hp-hour-bars b {
  color: rgba(255,255,255,.74);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.hp-hour-bars i {
  width: min(28px, 78%);
  height: var(--value);
  min-height: 4px;
  justify-self: center;
  border: 1px solid rgba(255,255,255,.2);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  background: rgba(255,255,255,.12);
  transform-origin: bottom;
  animation: hp-chart-rise .5s cubic-bezier(.2,.8,.2,1) both;
}

.hp-hour-bars div:nth-child(n+5) i {
  border-color: rgba(224,0,0,.5);
  background: rgba(224,0,0,.42);
}

.hp-hour-bars small {
  color: rgba(255,255,255,.46);
  font-size: 9px;
  white-space: nowrap;
}

.hp-chart-note {
  margin: 12px 0 0;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  line-height: 1.4;
}

.hp-admin-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.hp-tier-panel,
.hp-admin-ai {
  grid-column: span 1;
}

.hp-tier-chart {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
}

.hp-tier-donut {
  width: min(100%, 166px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    #f4f1ee 0 calc(var(--classic) * 1%),
    #e00000 calc(var(--classic) * 1%) calc((var(--classic) + var(--special)) * 1%),
    #d7a84a calc((var(--classic) + var(--special)) * 1%) 100%
  );
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 12px 34px rgba(0,0,0,.28);
}

.hp-tier-donut::after {
  width: 66%;
  aspect-ratio: 1;
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: #101010;
  content: "";
}

.hp-tier-donut > span {
  position: relative;
  z-index: 1;
  display: grid;
  text-align: center;
}

.hp-tier-donut b {
  color: #fff;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hp-tier-donut small {
  margin-top: 4px;
  color: rgba(255,255,255,.48);
  font-size: 10px;
}

.hp-tier-legend {
  display: grid;
  gap: 4px;
}

.hp-tier-legend p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 10px 0 10px 14px;
}

.hp-tier-legend p::before {
  width: 7px;
  height: 7px;
  position: absolute;
  left: 0;
  border-radius: 2px;
  background: var(--tier-color);
  content: "";
}

.hp-tier-legend span,
.hp-tier-legend small {
  color: rgba(255,255,255,.58);
  font-size: 11px;
}

.hp-tier-legend b {
  color: #fff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.hp-tier-legend small {
  min-width: 18px;
  text-align: right;
}

.hp-ranked-bars p {
  grid-template-columns: minmax(92px, .85fr) minmax(80px, 1.2fr) 24px;
}

.hp-ranked-bars i {
  height: 7px;
  border-radius: 2px;
  background: rgba(224,0,0,.82);
}

.hp-ranked-bars.is-muted i {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
}

.hp-status-dot.is-good {
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
}

@keyframes hp-chart-rise {
  from { transform: scaleY(.04); opacity: .25; }
  to { transform: scaleY(1); opacity: 1; }
}

.hp-admin-action-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.hp-admin-action-list article {
  min-width: 0;
  min-height: 132px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 12px;
}

.hp-admin-action-list article.is-danger {
  border-color: rgba(224,0,0,.5);
  background: linear-gradient(145deg, rgba(224,0,0,.16), rgba(255,255,255,.025));
}

.hp-admin-action-list article.is-warning {
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(145deg, rgba(224,0,0,.1), rgba(255,255,255,.045));
}

.hp-admin-action-list article.is-good {
  border-color: rgba(255,255,255,.2);
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(224,0,0,.07));
}

.hp-admin-action-list span,
.hp-admin-action-list p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.hp-admin-action-list strong {
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.hp-readiness-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-readiness-grid div {
  min-width: 0;
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 10px;
}

.hp-readiness-grid div.is-good {
  border-color: rgba(255,255,255,.24);
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(224,0,0,.06));
}

.hp-readiness-grid div.is-warning {
  border-color: rgba(224,0,0,.36);
  background: rgba(224,0,0,.1);
}

.hp-readiness-grid div.is-muted {
  opacity: .72;
}

.hp-readiness-grid span {
  color: rgba(255,255,255,.56);
  font-size: 11px;
  font-weight: 850;
}

.hp-readiness-grid strong {
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hp-admin-economy {
  background:
    radial-gradient(circle at 90% 0%, rgba(224,0,0,.14), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    rgba(6,6,6,.76);
}

.hp-admin-analytics {
  align-items: stretch;
}

.hp-admin-funnel,
.hp-admin-ai {
  min-height: 240px;
}

@media (max-width: 1180px) {
  .hp-admin-hero,
  .hp-admin-command-grid,
  .hp-admin-chart-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hp-admin-insight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-admin-action-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hp-admin-hero,
  .hp-admin-command-grid,
  .hp-admin-chart-grid,
  .hp-admin-insight-grid,
  .hp-admin-action-list,
  .hp-readiness-grid {
    grid-template-columns: 1fr;
  }

  .hp-admin-head-tools {
    width: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  .hp-period-switch {
    width: 100%;
  }

  .hp-data-freshness {
    text-align: right;
  }

  .hp-performance-chart {
    padding-inline: 12px;
  }

  .hp-combo-chart {
    gap: 3px;
  }

  .hp-combo-column small {
    font-size: 8px;
  }

  .hp-tier-chart {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  .hp-admin-hero article,
  .hp-admin-action-list article {
    min-height: 108px;
  }

  .hp-admin-nav,
  .hp-admin-nav .button {
    width: 100%;
  }

  .hp-admin-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
}

@media (max-width: 430px) {
  .hp-chart-head {
    align-items: flex-start;
    gap: 8px;
  }

  .hp-chart-legend {
    display: grid;
    gap: 5px;
  }

  .hp-combo-chart {
    min-height: 210px;
  }

  .hp-combo-column {
    height: 198px;
  }

  .hp-tier-chart {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .hp-tier-donut b {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-combo-values span,
  .hp-hour-bars i {
    animation: none;
  }
}

/* Printable pilot QR package */
.hp-print-shell {
  max-width: 1180px;
}

.hp-qr-print {
  gap: 16px;
}

.hp-print-head {
  background:
    radial-gradient(circle at 14% 0%, rgba(224,0,0,.18), transparent 34rem),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.016)),
    rgba(6,6,6,.78);
}

.hp-print-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.hp-print-card {
  min-width: 0;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(224,0,0,.2), transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.018)),
    #070707;
  padding: 18px;
  break-inside: avoid;
}

.hp-print-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hp-print-brand img {
  width: 142px;
  max-width: 58%;
  height: auto;
}

.hp-print-brand span {
  color: rgba(255,255,255,.58);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.25;
  text-align: right;
}

.hp-print-qr-box {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.hp-print-qr-box img {
  width: min(100%, 210px);
  aspect-ratio: 1;
  display: block;
}

.hp-print-meta {
  display: grid;
  gap: 6px;
  text-align: center;
}

.hp-print-meta span {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hp-print-meta strong {
  color: #fff;
  font-size: 46px;
  font-weight: 950;
  line-height: .95;
  font-variant-numeric: tabular-nums;
}

.hp-print-meta p {
  max-width: 260px;
  margin: 0 auto;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  line-height: 1.35;
}

.hp-print-meta small {
  color: rgba(255,255,255,.48);
  font-size: 10px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media print {
  @page {
    margin: 10mm;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.hp-print-page {
    background: #fff !important;
  }

  .hp-print-shell {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  .hp-no-print {
    display: none !important;
  }

  .hp-print-head {
    border: 0;
    background: #fff !important;
    color: #111;
    padding: 0 0 8mm;
  }

  .hp-print-head h1,
  .hp-print-head p,
  .hp-print-head .section-label {
    color: #111;
  }

  .hp-print-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8mm;
  }

  .hp-print-card {
    min-height: 128mm;
    border: 1px solid #111;
    background: #050505 !important;
    page-break-inside: avoid;
  }
}

/* Master console refinement */
.hp-master-console {
  gap: 16px;
}

.hp-master-head {
  align-items: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(224,0,0,.18), transparent 34rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.018)),
    rgba(6,6,6,.78);
}

.hp-master-head h1 {
  text-transform: none;
}

.hp-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.hp-live-state {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #aaa;
  font-size: 12px;
  white-space: nowrap;
}

.hp-live-state::before {
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #8a8a8a;
  content: "";
}

.hp-live-state[data-state="live"] {
  color: #d7f5de;
}

.hp-live-state[data-state="live"]::before {
  background: #35c46a;
  box-shadow: 0 0 10px rgb(53 196 106 / 55%);
}

.hp-live-state[data-state="polling"]::before {
  background: #e8ae38;
}

.hp-live-toggle.is-active {
  border-color: rgb(53 196 106 / 45%);
  color: #d7f5de;
}

.hp-connectivity {
  position: fixed;
  z-index: 1200;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 620px;
  min-height: 48px;
  margin-inline: auto;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(8 8 8 / 96%);
  box-shadow: 0 16px 50px rgb(0 0 0 / 52%);
  padding: 10px 14px;
  color: #f3f3f3;
  font-size: 13px;
  text-align: center;
  backdrop-filter: blur(16px);
}

.hp-connectivity[hidden] {
  display: none;
}

.hp-connectivity[data-mode="offline"] {
  border-color: rgb(232 174 56 / 55%);
}

.hp-connectivity[data-mode="update"] {
  border-color: rgb(224 0 0 / 55%);
}

.hp-connectivity button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 6px;
  background: #e00000;
  padding: 8px 12px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hp-offline-constructor {
  width: min(100%, 540px);
  margin: 24px auto;
}

.hp-offline-constructor form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.hp-offline-field {
  display: grid;
  gap: 7px;
}

.hp-offline-field > span,
.hp-offline-options legend {
  color: #f5f5f5;
  font-size: 13px;
  font-weight: 750;
}

.hp-offline-field select,
.hp-offline-field textarea {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 7px;
  background: #111;
  padding: 12px;
  color: #fff;
  font: inherit;
}

.hp-offline-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  padding: 0;
}

.hp-offline-options legend {
  margin-bottom: 8px;
}

.hp-offline-options label {
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 7px;
  background: #111;
  padding: 10px;
}

.hp-offline-result {
  margin: 14px 0 0;
  color: #d7f5de;
  text-align: center;
}

.hp-qr-export {
  display: grid;
  gap: 18px;
}

.hp-qr-export-form {
  align-items: end;
}

.hp-export-history {
  display: grid;
  gap: 7px;
}

.hp-export-history > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: #bdbdbd;
  font-size: 12px;
}

.hp-export-history b {
  margin-left: auto;
  color: #fff;
}

.hp-export-history a {
  color: #ff3c3c;
  font-weight: 700;
}

.hp-qr-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 6px;
  color: #aaa;
  font-size: 11px;
  cursor: pointer;
}

.hp-qr-select input {
  width: 18px;
  height: 18px;
  accent-color: #e00000;
}

.hp-eval-console,
.hp-eval-list {
  display: grid;
  gap: 16px;
}

.hp-eval-case {
  display: grid;
  gap: 16px;
}

.hp-eval-case > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.hp-eval-case h2,
.hp-eval-case h3 {
  margin: 4px 0 6px;
  text-transform: none;
}

.hp-eval-case p {
  margin: 0;
  color: #a8a8a8;
}

.hp-eval-constraint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-left: 3px solid #777;
  background: rgb(255 255 255 / 4%);
  padding: 10px 12px;
  color: #bbb;
  font-size: 12px;
}

.hp-eval-constraint.is-pass {
  border-color: #35c46a;
}

.hp-eval-constraint.is-fail {
  border-color: #e00000;
}

.hp-eval-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hp-eval-options > section {
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  background: #0d0d0d;
  padding: 14px;
}

.hp-eval-options > section > span {
  color: #ff3c3c;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hp-eval-options > section div {
  display: grid;
  gap: 5px;
  margin-top: 12px;
}

.hp-eval-options b {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #ddd;
  font-size: 12px;
}

.hp-eval-options i {
  color: #ff3c3c;
  font-style: normal;
}

.hp-eval-rating {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
}

.hp-eval-rating label {
  display: grid;
  gap: 5px;
  color: #bcbcbc;
  font-size: 11px;
}

.hp-eval-rating select,
.hp-eval-rating textarea {
  width: 100%;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 7px;
  background: #111;
  padding: 9px;
  color: #fff;
  font: inherit;
}

.hp-eval-comment {
  grid-column: span 3;
}

.hp-eval-score {
  color: #fff;
  text-align: right;
}

@media (max-width: 900px) {
  .hp-eval-options {
    grid-template-columns: 1fr;
  }

  .hp-eval-rating {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-eval-comment {
    grid-column: 1 / -1;
  }
}

.hp-master-command,
.hp-request-command {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hp-master-command article,
.hp-request-command article {
  min-width: 0;
  min-height: 118px;
  display: grid;
  align-content: space-between;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 0%, rgba(224,0,0,.14), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)),
    rgba(6,6,6,.72);
  padding: 14px;
}

.hp-master-command article.is-hot,
.hp-request-command article.is-table {
  border-color: rgba(224,0,0,.45);
  background:
    radial-gradient(circle at 16% 0%, rgba(224,0,0,.3), transparent 58%),
    linear-gradient(135deg, rgba(224,0,0,.14), rgba(255,255,255,.025)),
    rgba(6,6,6,.78);
}

.hp-master-command span,
.hp-master-command small,
.hp-request-command span,
.hp-request-command small {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.hp-master-command strong,
.hp-request-command strong {
  min-width: 0;
  color: #fff;
  font-size: clamp(26px, 3.2vw, 46px);
  font-weight: 950;
  line-height: .95;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.hp-staff-filters {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hp-staff-filters a {
  justify-content: center;
}

.hp-staff-ticket {
  grid-template-columns: 78px minmax(190px, 1.3fr) minmax(170px, .9fr) minmax(96px, .48fr) minmax(120px, .58fr) minmax(118px, .56fr);
  min-height: 108px;
  gap: 12px;
  text-decoration: none;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.hp-staff-ticket:hover {
  transform: translateY(-1px);
}

.hp-staff-ticket.is-urgent {
  background:
    radial-gradient(circle at 0% 50%, rgba(224,0,0,.2), transparent 26rem),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.014)),
    rgba(6,6,6,.78);
}

.hp-ticket-pick,
.hp-ticket-money {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.hp-ticket-pick small,
.hp-ticket-money small {
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hp-ticket-pick strong,
.hp-ticket-money strong {
  min-width: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.hp-ticket-money strong {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.hp-ticket-money b {
  color: rgba(255,255,255,.62);
  font-size: 12px;
  font-weight: 850;
}

.hp-tier {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.78);
  padding: 0 9px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.hp-tier.is-special {
  border-color: rgba(224,0,0,.44);
  background: rgba(224,0,0,.12);
  color: #fff;
}

.hp-tier.is-premium {
  border-color: rgba(255,255,255,.38);
  background:
    linear-gradient(135deg, rgba(224,0,0,.18), rgba(255,255,255,.1));
  color: #fff;
}

.hp-next-step {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
}

.hp-next-step b {
  font-size: 24px;
  line-height: 1;
}

.hp-staff-detail-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
}

.hp-master-main-card,
.hp-staff-side,
.hp-all-mixes {
  min-width: 0;
}

.hp-staff-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.hp-selected-mix-hero {
  grid-template-columns: minmax(0, .9fr) minmax(260px, 1.1fr);
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.hp-selected-copy {
  min-width: 0;
}

.hp-selected-copy h3 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: .98;
}

.hp-warning-note {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid rgba(224,0,0,.35);
  border-radius: 8px;
  background: rgba(224,0,0,.1);
  color: rgba(255,255,255,.86);
  padding: 10px;
  font-size: 13px;
}

.hp-order-ledger {
  background:
    radial-gradient(circle at 100% 0%, rgba(224,0,0,.14), transparent 16rem),
    rgba(0,0,0,.24);
}

.hp-compact-defs {
  margin-bottom: 0;
}

.hp-compact-defs div {
  grid-template-columns: 94px minmax(0, 1fr);
}

.hp-master-commercial p {
  margin: 0 0 10px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
  line-height: 1.45;
}

.hp-master-commercial p:last-child {
  margin-bottom: 0;
}

.hp-master-commercial b {
  color: #fff;
}

.hp-support-actions .hp-action-row,
.hp-support-actions form,
.hp-support-actions button {
  width: 100%;
}

.hp-support-actions .hp-action-row {
  display: grid;
}

.hp-all-mixes .hp-recommendation-stack {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1180px) {
  .hp-staff-ticket {
    grid-template-columns: 74px minmax(0, 1fr) minmax(145px, .7fr);
  }

  .hp-ticket-money,
  .hp-row-state,
  .hp-next-step {
    grid-column: 2 / -1;
  }

  .hp-ticket-pick {
    grid-column: 3;
    grid-row: 1;
  }

  .hp-next-step {
    justify-content: flex-start;
    text-align: left;
  }

  .hp-staff-detail-grid {
    grid-template-columns: 1fr;
  }

  .hp-all-mixes .hp-recommendation-stack {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hp-master-command,
  .hp-request-command {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-staff-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-staff-ticket {
    position: relative;
    grid-template-columns: 60px minmax(0, 1fr);
    align-items: start;
    min-height: 0;
    border-color: rgba(255,255,255,.18);
    background:
      radial-gradient(circle at 0% 0%, rgba(224,0,0,.18), transparent 14rem),
      linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.018)),
      rgba(7,7,7,.86);
  }

  .hp-ticket-pick,
  .hp-ticket-money,
  .hp-row-state,
  .hp-next-step {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .hp-ticket-pick,
  .hp-ticket-money {
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 8px;
    background: rgba(255,255,255,.035);
    padding: 10px;
  }

  .hp-row-state {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hp-next-step {
    min-height: 48px;
    justify-content: center;
    border: 1px solid rgba(224,0,0,.32);
    border-radius: 8px;
    background: rgba(224,0,0,.12);
    text-align: center;
  }

  .hp-knowledge-summary {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .hp-knowledge-summary small {
    grid-column: 2;
  }

  .hp-knowledge-row[open] .hp-settings-edit {
    grid-template-columns: 1fr;
  }

  .hp-selected-mix-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hp-master-head {
    padding: 14px;
  }

  .hp-master-head h1,
  .hp-page-head h1 {
    font-size: clamp(28px, 11vw, 42px);
  }

  .hp-head-actions,
  .hp-head-actions .button {
    width: 100%;
  }

  .hp-master-command,
  .hp-request-command {
    grid-template-columns: 1fr;
  }

  .hp-master-command {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-master-command article,
  .hp-request-command article {
    min-height: 94px;
  }

  .hp-master-command article {
    min-height: 82px;
    padding: 12px;
  }

  .hp-master-command strong {
    font-size: 32px;
  }

  .hp-master-command small {
    font-size: 11px;
  }

  .hp-staff-ticket {
    padding: 12px;
    gap: 10px;
  }

  .hp-ticket-pick,
  .hp-ticket-money {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .hp-ticket-pick small,
  .hp-ticket-money small {
    grid-column: 1 / -1;
  }

  .hp-table-badge {
    min-height: 58px;
  }

  .hp-request-main strong {
    font-size: 16px;
  }

  .hp-ticket-pick strong {
    font-size: 14px;
  }

  .hp-ticket-money strong {
    font-size: 20px;
  }

  .hp-compact-defs div,
  .hp-definition-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.hp-recommendation-stack {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
}

.hp-result-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 92% 18%, rgba(224,0,0,.16), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)),
    rgba(6,6,6,.82);
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  padding: 16px;
}

.hp-result-card.is-featured {
  border-color: rgba(255,255,255,.36);
  box-shadow:
    0 0 0 1px rgba(224,0,0,.22),
    0 24px 80px rgba(224,0,0,.18),
    0 24px 70px rgba(0,0,0,.4);
}

.hp-mix-image-frame {
  position: relative;
  min-height: 240px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 34%, rgba(224,0,0,.28), transparent 9rem),
    linear-gradient(180deg, #1b0204, #070101 68%, #040404);
}

.hp-mix-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-blueprint-frame {
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 34%, rgba(224,0,0,.28), transparent 9rem),
    radial-gradient(circle at 50% 56%, color-mix(in srgb, var(--tone-a, #e00000) 16%, transparent), transparent 8.5rem),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.64)),
    url("/static/assets/hookahplace-bg.png") center / cover,
    linear-gradient(180deg, #070707, #120102 56%, #030303);
  box-shadow:
    0 18px 50px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -28px 80px rgba(0,0,0,.7);
}

.hp-blueprint-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 5%, rgba(255,255,255,.16), transparent 9rem),
    radial-gradient(circle at 50% 43%, rgba(224,0,0,.18), transparent 10rem),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 24%, transparent 72%, rgba(224,0,0,.16));
  mix-blend-mode: screen;
  opacity: .58;
  pointer-events: none;
}

.hp-taste-blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hp-blueprint-depth {
  fill: rgba(255,255,255,.02);
  stroke: rgba(255,255,255,.08);
  stroke-width: 1;
}

.hp-blueprint-floor {
  fill: rgba(0,0,0,.52);
  filter: blur(10px);
}

.hp-blueprint-lounge-smoke path {
  stroke: rgba(255,246,235,.13);
  stroke-width: 18;
  stroke-linecap: round;
  filter: blur(7px);
  opacity: .58;
}

.hp-blueprint-lounge-smoke path:nth-child(2) {
  stroke: rgba(224,0,0,.16);
  opacity: .44;
}

.hp-blueprint-lounge-smoke path:nth-child(3) {
  stroke: rgba(255,255,255,.1);
  opacity: .36;
}

.hp-blueprint-halo circle {
  stroke: rgba(255,255,255,.1);
  stroke-width: 1;
}

.hp-blueprint-halo circle:nth-child(2) {
  stroke: rgba(224,0,0,.22);
}

.hp-blueprint-halo circle:nth-child(3) {
  stroke: rgba(255,255,255,.16);
}

.hp-blueprint-halo path {
  stroke: rgba(255,255,255,.14);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 4 10;
}

.hp-blueprint-radiance path {
  stroke: color-mix(in srgb, var(--ray-a, #e00000) 24%, rgba(255,246,235,.28));
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: .3;
}

.hp-blueprint-radiance path:nth-child(2n) {
  stroke: color-mix(in srgb, var(--ray-b, #fff) 20%, rgba(224,0,0,.28));
}

.hp-blueprint-accent-wash ellipse {
  fill: var(--wash-a);
  opacity: .1;
  filter: blur(14px);
}

.hp-blueprint-accent-wash ellipse:nth-child(2) {
  fill: var(--wash-b);
  opacity: .085;
}

.hp-blueprint-accent-wash ellipse:nth-child(3),
.hp-blueprint-accent-wash ellipse:nth-child(4) {
  fill: var(--wash-c);
  opacity: .07;
}

.hp-blueprint-glyph {
  color: var(--glyph-color);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 18px 18px rgba(0,0,0,.62))
    drop-shadow(0 0 16px color-mix(in srgb, currentColor 30%, rgba(224,0,0,.1)));
}

.hp-glyph-main {
  stroke-width: 2.35;
}

.hp-glyph-accent {
  opacity: .96;
  stroke-width: 1.9;
}

.hp-blueprint-glyph .glyph-fill {
  fill: color-mix(in srgb, currentColor 68%, rgba(255,246,235,.18));
  stroke: color-mix(in srgb, currentColor 68%, rgba(255,246,235,.62));
  stroke-width: 1.6;
}

.hp-blueprint-glyph .glyph-shadow {
  fill: rgba(0,0,0,.46);
  stroke: none;
}

.hp-blueprint-glyph .glyph-highlight {
  fill: none;
  stroke: rgba(255,246,235,.8);
  stroke-width: 2.4;
  opacity: .75;
}

.hp-blueprint-glyph .glyph-detail {
  fill: none;
  stroke: color-mix(in srgb, currentColor 34%, rgba(40,7,7,.78));
  stroke-width: 2;
  opacity: .7;
}

.hp-blueprint-glyph .glyph-detail.soft {
  stroke: rgba(255,246,235,.36);
  stroke-width: 1.4;
}

.hp-blueprint-glyph .glyph-blush {
  fill: color-mix(in srgb, currentColor 42%, rgba(224,0,0,.42));
  stroke: none;
  opacity: .62;
}

.hp-blueprint-glyph .glyph-cream-fold {
  fill: rgba(255,255,255,.22);
  stroke: rgba(120,80,45,.24);
  stroke-width: 1.4;
}

.hp-blueprint-glyph .glyph-spark {
  fill: rgba(255,255,255,.9);
  stroke: none;
  opacity: .86;
}

.hp-blueprint-glyph .glyph-leaf {
  fill: color-mix(in srgb, #89d36e 58%, rgba(255,246,235,.18));
  stroke: rgba(222,255,201,.72);
}

.hp-blueprint-glyph .glyph-seed {
  fill: rgba(25,4,4,.76);
  stroke: rgba(255,246,235,.32);
  stroke-width: 1;
}

.hp-blueprint-glyph .glyph-cucumber-flesh {
  fill: color-mix(in srgb, #d7f3b2 74%, currentColor);
  stroke: rgba(255,255,226,.74);
  stroke-width: 1.2;
}

.hp-blueprint-glyph .cucumber-skin {
  fill: color-mix(in srgb, currentColor 78%, #0d4f23);
  stroke: rgba(214,255,196,.58);
}

.hp-blueprint-glyph .glyph-seed.cucumber {
  fill: rgba(232,255,202,.8);
  stroke: rgba(38,88,37,.35);
  stroke-width: .8;
}

.hp-flavor-ice .glyph-fill,
.hp-flavor-menthol .glyph-fill,
.hp-flavor-sorbet .glyph-fill {
  fill: color-mix(in srgb, currentColor 36%, rgba(255,255,255,.72));
  stroke: rgba(236,251,255,.88);
}

.hp-flavor-cream .glyph-fill,
.hp-flavor-yogurt .glyph-fill,
.hp-flavor-vanilla .glyph-fill,
.hp-flavor-milk .glyph-fill {
  fill: color-mix(in srgb, currentColor 54%, rgba(255,255,255,.48));
  stroke: rgba(255,248,230,.88);
}

.hp-flavor-tea .glyph-fill,
.hp-flavor-earlgrey .glyph-fill,
.hp-flavor-coffee .glyph-fill {
  fill: color-mix(in srgb, currentColor 58%, rgba(38,12,3,.42));
}

.hp-blueprint-particles circle {
  fill: var(--particle-a);
  opacity: .46;
}

.hp-blueprint-particles circle:nth-child(3n+2) {
  fill: var(--particle-b);
  opacity: .42;
}

.hp-blueprint-particles circle:nth-child(3n) {
  fill: var(--particle-c);
  opacity: .38;
}

.hp-blueprint-medallion-group {
  filter:
    drop-shadow(0 24px 26px rgba(0,0,0,.78))
    drop-shadow(0 0 18px rgba(224,0,0,.24));
}

.hp-blueprint-medallion-shadow {
  fill: rgba(0,0,0,.62);
}

.hp-blueprint-medallion-outer {
  fill: rgba(0,0,0,.18);
  stroke: rgba(255,246,235,.12);
  stroke-width: 1;
  stroke-dasharray: 2 7;
}

.hp-taste-blueprint .hp-blueprint-medallion {
  stroke: rgba(255,255,255,.1);
  stroke-width: 1;
}

.hp-blueprint-medallion-line {
  fill: none;
  stroke: rgba(255,255,255,.24);
  stroke-width: 1.4;
}

.hp-blueprint-medallion-line.thin {
  stroke: rgba(224,0,0,.32);
  stroke-width: 1;
}

.hp-blueprint-core {
  filter: drop-shadow(0 0 18px rgba(224,0,0,.52));
}

.hp-blueprint-core-gloss {
  fill: none;
  stroke: rgba(255,255,255,.78);
  stroke-width: 2.4;
  stroke-linecap: round;
}

.hp-blueprint-aura,
.hp-blueprint-orbit,
.hp-blueprint-particles,
.hp-blueprint-radiance,
.hp-blueprint-halo,
.hp-blueprint-lounge-smoke,
.hp-blueprint-accent-wash {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hp-blueprint-orbit {
    animation: hp-blueprint-drift 18s ease-in-out infinite alternate;
  }

  .hp-blueprint-halo {
    animation: hp-blueprint-smoke 8s ease-in-out infinite alternate;
  }

  .hp-blueprint-radiance {
    animation: hp-blueprint-rays 5.8s ease-in-out infinite alternate;
  }

  .hp-blueprint-particles {
    animation: hp-blueprint-pulse 3.8s ease-in-out infinite alternate;
  }
}

@keyframes hp-blueprint-drift {
  from { transform: rotate(-1.2deg) scale(1); }
  to { transform: rotate(1.2deg) scale(1.012); }
}

@keyframes hp-blueprint-smoke {
  from { opacity: .46; transform: translateY(0); }
  to { opacity: .78; transform: translateY(-5px); }
}

@keyframes hp-blueprint-pulse {
  from { opacity: .72; }
  to { opacity: .96; }
}

@keyframes hp-blueprint-rays {
  from { opacity: .36; transform: scale(.992); }
  to { opacity: .58; transform: scale(1.01); }
}

.hp-visual-taste-tags {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  pointer-events: none;
}

.hp-visual-taste-tags i {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 6px 8px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(5,5,5,.66);
  color: rgba(255,247,238,.82);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
}

.hp-visual-taste-tags span {
  min-width: 0;
  padding: 8px 7px 7px;
  border: 1px solid color-mix(in srgb, var(--tag-color, #e00000) 32%, rgba(255,255,255,.14));
  border-radius: 7px;
  background:
    radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--tag-color, #e00000) 24%, transparent), transparent 3.5rem),
    rgba(5,5,5,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 22px rgba(0,0,0,.28);
  color: rgba(255,247,238,.94);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-visual-taste-tags b {
  display: block;
  margin-bottom: 3px;
  color: color-mix(in srgb, var(--tag-color, #e00000) 56%, #fff7ee);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0;
  opacity: .92;
}

.hp-visual-taste-tags em {
  display: block;
  min-width: 0;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hp-mix-image-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(4,4,4,.86));
  pointer-events: none;
}

.hp-mix-image-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 22px;
  text-align: center;
}

.hp-mix-image-placeholder strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.hp-mix-image-placeholder small {
  max-width: 220px;
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.hp-ai-orbit.small {
  width: 76px;
  height: 76px;
  background:
    radial-gradient(circle at 50% 50%, rgba(224,0,0,.96) 0 10px, rgba(224,0,0,.22) 11px 24px, transparent 25px),
    rgba(255,255,255,.035);
}

.hp-ai-orbit.small span {
  inset: 7px;
}

.hp-ai-orbit.small span:nth-child(2) {
  inset: 15px;
}

.hp-ai-orbit.small span:nth-child(3) {
  inset: 25px;
}

.hp-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hp-result-top b {
  margin-left: auto;
  color: rgba(255,255,255,.55);
  font-size: 11px;
  font-weight: 800;
  text-align: right;
}

.hp-price-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(224,0,0,.42);
  border-radius: 999px;
  background: rgba(224,0,0,.12);
  color: #fff;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.hp-result-card h2 {
  margin: 0;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.06;
}

.hp-result-card > p,
.hp-mix-details p,
.hp-pairing-item p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.48;
}

.hp-composition-map {
  display: grid;
  gap: 9px;
}

.hp-tier-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.hp-tier-story div {
  display: grid;
  gap: 4px;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 10%, rgba(224,0,0,.14), transparent 54%),
    rgba(255,255,255,.035);
  padding: 10px;
}

.hp-tier-story span {
  color: rgba(255,255,255,.48);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
}

.hp-tier-story strong {
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.18;
}

.hp-composition-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 42px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 0 12px;
}

.hp-composition-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(224,0,0,.42), rgba(224,0,0,.08));
}

.hp-composition-row span,
.hp-composition-row b {
  position: relative;
  z-index: 1;
}

.hp-composition-row span {
  min-width: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.hp-composition-row b {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hp-mix-details {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(0,0,0,.22);
  padding: 0;
}

.hp-mix-details summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  list-style: none;
  padding: 0 12px;
}

.hp-mix-details summary::-webkit-details-marker {
  display: none;
}

.hp-mix-details summary::after {
  content: "+";
  color: #ff1d1d;
  font-size: 20px;
  line-height: 1;
}

.hp-mix-details[open] summary::after {
  content: "-";
}

.hp-result-card .hp-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 10px;
}

.hp-result-card .hp-detail-grid div {
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 10px;
}

.hp-result-card .hp-detail-grid span {
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 800;
}

.hp-result-card .hp-detail-grid strong {
  color: #fff;
  font-size: 15px;
}

.hp-mix-details .explain,
.hp-mix-details .warning {
  padding: 0 12px 12px;
}

.hp-mix-details .warning {
  color: #ff7777;
}

.hp-check-summary {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224,0,0,.14), rgba(255,255,255,.035) 46%, rgba(0,0,0,.18)),
    rgba(0,0,0,.2);
  padding: 11px;
}

.hp-check-summary div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
}

.hp-check-summary span {
  min-width: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.hp-check-summary strong {
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

.hp-check-summary .is-total {
  margin-top: 2px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 8px;
}

.hp-check-summary .is-total span,
.hp-check-summary .is-total strong {
  color: #fff;
  font-size: 15px;
}

.hp-pairing-block {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 14px;
}

.hp-pairing-head {
  display: grid;
  justify-items: start;
  gap: 4px;
  padding-inline: 1px;
}

.hp-pairing-head span {
  color: rgba(255, 38, 44, .82);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hp-pairing-head strong {
  color: rgba(255,255,255,.95);
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hp-pairing-list {
  display: grid;
  gap: 8px;
}

.hp-pairing-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 11px;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.hp-pairing-item.is-selected {
  border-color: rgba(224,0,0,.5);
  background:
    linear-gradient(135deg, rgba(224,0,0,.16), rgba(255,255,255,.035)),
    rgba(255,255,255,.045);
}

.hp-pairing-main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.hp-pairing-item strong {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  font-size: 14px;
}

.hp-pairing-item strong span {
  color: rgba(255,255,255,.54);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.hp-addon-stepper {
  display: grid;
  grid-template-columns: 44px 34px 44px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(0,0,0,.28);
}

.hp-addon-stepper button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  touch-action: manipulation;
  transition: background .16s ease, color .16s ease, transform .16s ease, opacity .16s ease;
}

.hp-addon-stepper button:last-child {
  background: #e00000;
  color: #fff;
}

.hp-addon-stepper button:active {
  transform: scale(.94);
}

.hp-addon-stepper button:disabled {
  cursor: default;
  opacity: .35;
  transform: none;
}

.hp-addon-stepper output {
  color: #fff;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
  text-align: center;
}

.hp-addon-selected {
  min-height: 18px;
  margin: 0;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.hp-result-card form {
  display: grid;
  gap: 12px;
  margin: 0;
}

.hp-result-card .button.full {
  min-height: 56px;
  border-color: #fff;
  background: #fff;
  color: #050505;
  font-weight: 900;
}

@keyframes hp-ai-spin {
  to { transform: rotate(360deg); }
}

@keyframes hp-results-loading-out {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes hp-results-content-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hp-results-loading {
    display: none;
    animation: none;
  }

  .hp-ai-orbit span,
  .hp-results-content {
    animation: none;
  }

  .hp-results-content {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 380px) {
  .hp-results-stage {
    padding: 10px;
  }

  .hp-results-shell {
    min-height: calc(100dvh - 20px);
  }

  .hp-results-head h1 {
    font-size: 36px;
  }

  .hp-result-card {
    padding: 13px;
  }

  .hp-result-card h2 {
    font-size: 21px;
  }
}

/* Sent-to-master and Taste ID flow */
.hp-sent-stage {
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
    radial-gradient(circle at 50% 0, rgba(224,0,0,.24), transparent 28rem),
    url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
    #050505;
}

.hp-sent-shell {
  position: relative;
  display: grid;
  gap: 12px;
  width: min(100%, 520px);
  min-height: calc(100dvh - 28px);
  align-content: start;
  padding-bottom: 18px;
}

.hp-sent-hero {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 28px 4px 10px;
  text-align: center;
}

.hp-sent-hero .hp-card-logo {
  margin-bottom: 4px;
}

.hp-status-mark {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  margin: 2px auto 4px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(224,0,0,.98) 0 18px, rgba(224,0,0,.2) 19px 42px, transparent 43px),
    rgba(255,255,255,.035);
  box-shadow: 0 0 52px rgba(224,0,0,.3);
}

.hp-status-mark span {
  width: 30px;
  height: 16px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg) translate(2px, -2px);
}

.hp-sent-hero h1 {
  max-width: 410px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: clamp(38px, 11vw, 58px);
  font-weight: 800;
  line-height: .9;
}

.hp-sent-hero p {
  max-width: 410px;
  margin: 0 auto;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.45;
}

.hp-selected-mix,
.hp-taste-id-panel,
.hp-final-notes {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 92% 18%, rgba(224,0,0,.13), transparent 15rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)),
    rgba(6,6,6,.82);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.hp-selected-mix {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.hp-selected-head {
  display: grid;
  gap: 4px;
}

.hp-selected-head span,
.hp-consent-panel > span,
.hp-final-notes span {
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hp-selected-head strong {
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: 24px;
  line-height: 1.06;
}

.hp-selected-mix p,
.hp-taste-id-head p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.48;
}

.hp-selected-composition,
.hp-taste-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.hp-selected-composition span,
.hp-taste-benefits span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.84);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.hp-selected-composition b {
  color: #fff;
}

.hp-selected-addons {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 12px;
}

.hp-selected-addons strong {
  color: #fff;
  font-size: 15px;
}

.hp-selected-addons span,
.hp-selected-addons em {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  color: rgba(255,255,255,.7);
  font-size: 13px;
  font-style: normal;
  font-weight: 850;
}

.hp-selected-addons b,
.hp-selected-addons em {
  color: #fff;
}

.hp-taste-id-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.hp-taste-id-head {
  display: grid;
  gap: 6px;
}

.hp-taste-id-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: 30px;
  font-weight: 800;
  line-height: .98;
}

.hp-contact-grid {
  display: grid;
  gap: 10px;
}

.hp-taste-id-panel .field {
  gap: 6px;
  color: rgba(255,255,255,.64);
}

.hp-taste-id-panel .field span {
  font-size: 12px;
  font-weight: 900;
}

.hp-taste-id-panel .field input {
  min-height: 52px;
  border-color: rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.3);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.hp-consent-panel {
  display: grid;
  gap: 8px;
}

.hp-consent-panel .check {
  min-height: 46px;
  border-color: rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.hp-consent-panel .check input {
  flex: 0 0 auto;
}

.hp-sent-actions {
  display: grid;
  gap: 10px;
}

.hp-sent-actions .button.full,
.hp-sent-final .button.full {
  min-height: 56px;
  border-radius: 8px;
  font-weight: 900;
}

.hp-sent-actions .button.primary,
.hp-sent-final .button.primary {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.hp-sent-actions .button:not(.primary) {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.78);
}

.hp-taste-id-panel button.is-submitting {
  cursor: progress;
  opacity: .78;
}

.hp-final-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.hp-final-notes div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 12px;
}

.hp-final-notes strong {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
}

.hp-sent-final {
  align-content: center;
}

@media (max-width: 380px) {
  .hp-sent-stage {
    padding: 10px;
  }

  .hp-sent-shell {
    min-height: calc(100dvh - 20px);
  }

  .hp-sent-hero h1 {
    font-size: 36px;
  }

  .hp-taste-id-head h2 {
    font-size: 27px;
  }

  .hp-final-notes {
    grid-template-columns: 1fr;
  }
}

/* Feedback flow */
.hp-feedback-stage {
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.88)),
    radial-gradient(circle at 50% 0, rgba(224,0,0,.24), transparent 28rem),
    url("/static/assets/hookahplace-bg.png") center top / auto 100vh no-repeat,
    #050505;
}

.hp-feedback-shell {
  width: min(100%, 520px);
  min-height: calc(100dvh - 28px);
  display: grid;
  align-content: start;
  gap: 12px;
  padding-bottom: 18px;
}

.hp-feedback-hero {
  display: grid;
  gap: 10px;
  padding: 30px 4px 10px;
  text-align: center;
}

.hp-feedback-hero .hp-card-logo {
  margin-bottom: 6px;
}

.hp-feedback-hero h1 {
  max-width: 410px;
  margin: 0 auto;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: clamp(38px, 11vw, 58px);
  font-weight: 800;
  line-height: .9;
}

.hp-feedback-hero p {
  max-width: 390px;
  margin: 0 auto;
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.45;
}

.hp-feedback-form,
.hp-feedback-summary {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background:
    radial-gradient(ellipse at 92% 18%, rgba(224,0,0,.13), transparent 15rem),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.018)),
    rgba(6,6,6,.82);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.hp-feedback-form {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.hp-feedback-rating,
.hp-feedback-reasons {
  display: grid;
  gap: 10px;
}

.hp-feedback-section-head {
  display: grid;
  gap: 4px;
}

.hp-feedback-section-head span {
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hp-feedback-section-head h2 {
  margin: 0;
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
}

.hp-rating-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.hp-rating-grid input,
.hp-feedback-chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hp-rating-grid label,
.hp-feedback-chips label {
  min-width: 0;
}

.hp-rating-grid span {
  min-height: 70px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.76);
  cursor: pointer;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.hp-rating-grid b {
  color: #fff;
  font-family: var(--hp-display-font) !important;
  font-size: 25px;
  line-height: 1;
}

.hp-rating-grid small {
  max-width: 100%;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.05;
}

.hp-rating-grid input:checked + span {
  border-color: #fff;
  background:
    radial-gradient(circle at 50% 120%, rgba(224,0,0,.22), transparent 5rem),
    #fff;
  color: #050505;
}

.hp-rating-grid input:checked + span b,
.hp-rating-grid input:checked + span small {
  color: #050505;
}

.hp-feedback-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.hp-feedback-chips span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.76);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  padding: 8px;
  text-align: center;
}

.hp-feedback-chips input:checked + span {
  border-color: rgba(255,255,255,.92);
  background: #fff;
  color: #050505;
}

.hp-feedback-comment {
  display: grid;
  gap: 8px;
}

.hp-feedback-comment > span {
  color: rgba(255,255,255,.64);
  font-size: 12px;
  font-weight: 900;
}

.hp-feedback-comment textarea {
  width: 100%;
  min-height: 108px;
  resize: vertical;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 8px;
  background: rgba(0,0,0,.3);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
  padding: 12px;
}

.hp-feedback-comment textarea::placeholder {
  color: rgba(255,255,255,.42);
}

.hp-feedback-form .button.full,
.hp-feedback-done .button.full {
  min-height: 56px;
  border-radius: 8px;
  border-color: #fff;
  background: #fff;
  color: #050505;
  font-weight: 900;
}

.hp-feedback-form button.is-submitting {
  cursor: progress;
  opacity: .78;
}

.hp-feedback-done {
  align-content: center;
}

.hp-feedback-done .hp-status-mark {
  margin: 2px auto 4px;
}

.hp-feedback-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.hp-feedback-summary div {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  padding: 12px;
}

.hp-feedback-summary span {
  color: rgba(255,255,255,.5);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.hp-feedback-summary strong {
  color: #fff;
  font-size: 16px;
  line-height: 1.15;
}

@media (max-width: 380px) {
  .hp-feedback-stage {
    padding: 10px;
  }

  .hp-feedback-shell {
    min-height: calc(100dvh - 20px);
  }

  .hp-feedback-hero h1 {
    font-size: 36px;
  }

  .hp-rating-grid {
    gap: 5px;
  }

  .hp-rating-grid span {
    min-height: 64px;
  }

  .hp-rating-grid b {
    font-size: 22px;
  }

  .hp-rating-grid small {
    font-size: 9px;
  }

  .hp-feedback-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .taste-progress span,
  .taste-progress button {
    min-height: 32px;
    font-size: 10px;
  }

  .taste-step-head h3 {
    font-size: 20px;
  }

  .wizard-button {
    min-height: 50px;
    font-size: 14px;
  }

  .note-chips span {
    min-height: 44px;
    height: 44px;
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .hp-tier-story {
    grid-template-columns: 1fr;
  }

  .hp-result-card .hp-detail-grid {
    grid-template-columns: 1fr;
  }

  .hp-pairing-item {
    grid-template-columns: 1fr;
  }

  .hp-addon-stepper {
    width: 100%;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .hp-pairing-item strong {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }
}

.hp-work-page > .topbar {
  display: none !important;
}

/* Guest wizard layout fixes: keep compact mobile cards from clipping long labels. */
.taste-wizard .reference-moods label,
.taste-wizard .reference-experience label {
  min-width: 0;
}

.taste-wizard .reference-moods span,
.taste-wizard .reference-experience span {
  min-width: 0;
  overflow: hidden;
}

.taste-wizard .reference-moods b,
.taste-wizard .reference-experience b,
.taste-wizard .reference-experience small {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.taste-wizard .reference-moods b {
  font-size: clamp(13px, 3.8vw, 16px);
  line-height: 1.05;
}

.taste-wizard .reference-experience b {
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.05;
}

.taste-wizard .reference-experience small {
  font-size: clamp(10px, 3.1vw, 12px);
  line-height: 1.12;
}

.wizard-actions.final-submit {
  grid-template-columns: minmax(94px, .42fr) minmax(0, 1fr);
}

.wizard-actions.final-submit .reference-submit {
  min-height: 86px;
}

/* Guest product polish: make the constructor feel like a finished app flow. */
.taste-progress button {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.56);
  cursor: pointer;
  font-family: var(--hp-ui-font);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.taste-progress button.active {
  border-color: #fff;
  background: #fff;
  color: #050505;
}

.taste-progress button.done {
  border-color: rgba(224,0,0,.58);
  background: rgba(224,0,0,.18);
  color: #fff;
}

.taste-progress button:active,
.wizard-button:active,
.reference-back:active,
.hp-edit-choice:active {
  transform: scale(.98);
}

.taste-progress button:focus-visible,
.reference-back:focus-visible,
.hp-edit-choice:focus-visible {
  outline: 2px solid rgba(224,0,0,.92);
  outline-offset: 2px;
}

.taste-only-stage .reference-screen,
.reference-stage:not(.taste-only-stage) .reference-screen {
  font-family: var(--hp-ui-font);
}

.taste-only-stage .reference-screen h2 {
  margin-top: 42px;
  font-size: clamp(34px, 10.5vw, 46px);
  line-height: .98;
}

.reference-lead {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.taste-wizard {
  gap: 18px;
}

.taste-step {
  gap: 16px;
}

.taste-step-head {
  gap: 8px;
  padding-top: 2px;
}

.taste-step-head h3 {
  max-width: 360px;
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.06;
}

.taste-step .reference-card {
  padding: 18px 16px;
}

.taste-step .mood-card {
  padding: 16px;
}

.taste-wizard .reference-moods {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 0;
}

.taste-wizard .reference-moods span {
  min-height: 64px;
  height: auto;
  grid-template-columns: 26px minmax(0, 1fr);
  justify-items: start;
  padding: 12px;
  text-align: left;
}

.taste-wizard .reference-moods svg {
  width: 22px;
  height: 22px;
  color: #e00000;
}

.taste-wizard .reference-moods b {
  font-size: 16px;
  font-weight: 800;
}

.taste-wizard .reference-moods input:checked + span,
.taste-wizard .reference-moods label.selected span,
.taste-wizard .reference-experience input:checked + span,
.taste-wizard .reference-experience label.selected span,
.taste-wizard .reference-chips input:checked + span,
.taste-wizard .reference-chips label.selected span {
  border-color: rgba(255,255,255,.82);
  background: linear-gradient(135deg, #fff, rgba(255,255,255,.88));
  color: #050505;
}

.taste-wizard .reference-moods input:checked + span svg,
.taste-wizard .reference-moods label.selected span svg,
.taste-wizard .reference-experience input:checked + span svg,
.taste-wizard .reference-experience label.selected span svg,
.taste-wizard .reference-chips input:checked + span svg,
.taste-wizard .reference-chips label.selected span svg {
  color: #e00000;
}

.taste-wizard .reference-chips {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.taste-wizard .reference-chips span {
  min-height: 44px;
  height: auto;
  padding: 10px 11px;
  font-size: 13px;
  line-height: 1.12;
  white-space: normal;
}

.taste-wizard .note-chips span {
  min-height: 42px;
  height: auto;
}

.taste-card .reference-slider {
  grid-template-columns: minmax(104px, .9fr) minmax(0, 1fr) 46px;
  min-height: 44px;
  height: auto;
  gap: 12px;
}

.reference-slider span,
.reference-slider b,
.comment-card > span,
.group-choice small,
.hp-results-head p,
.hp-result-card p,
.hp-pairing-main p {
  font-family: var(--hp-ui-font);
}

.reference-back {
  border-radius: 8px;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.reference-back:hover {
  border-color: rgba(255,255,255,.36);
  background: rgba(255,255,255,.14);
}

.hp-results-head {
  padding-top: 30px;
}

.hp-edit-choice {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 850;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

/* Guest preference disclosure: keep the common path short and reveal edge cases on demand. */
.hp-optional-preferences {
  display: grid;
  gap: 14px;
}

.hp-optional-preferences > summary {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.hp-optional-preferences > summary::-webkit-details-marker {
  display: none;
}

.hp-optional-preferences > summary span {
  display: grid;
  gap: 3px;
}

.hp-optional-preferences > summary b {
  color: #fff;
  font-size: 16px;
  line-height: 1.2;
}

.hp-optional-preferences > summary small {
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.35;
}

.hp-optional-preferences > summary em {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 0 10px;
  color: rgba(255, 255, 255, .76);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.hp-optional-preferences[open] > summary em {
  border-color: rgba(224, 0, 0, .56);
  color: #fff;
}

.hp-optional-preferences .note-chips {
  padding-top: 2px;
}

.hp-inline-comment {
  display: grid;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 14px;
}

.hp-inline-comment > span {
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
  font-weight: 800;
}

.hp-edit-choice:hover {
  border-color: rgba(255,255,255,.42);
  background: rgba(255,255,255,.1);
}

@media (max-width: 420px) {
  .taste-only-stage .reference-screen h2 {
    font-size: clamp(32px, 10vw, 40px);
  }

  .taste-progress button {
    min-height: 36px;
    padding: 0 6px;
  }

  .taste-step .reference-card {
    padding: 16px 14px;
  }

  .taste-card .reference-slider {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .taste-card .reference-slider b {
    justify-self: start;
  }
}

/* Smooth, tactile feedback for taste percentage sliders. */
.reference-slider input[type="range"] {
  cursor: pointer;
  transition: filter 180ms ease, opacity 180ms ease;
}

.reference-slider {
  --range-thumb-x: 50%;
  --range-thumb-y: 50%;
  position: relative;
}

.reference-slider::after {
  content: "";
  position: absolute;
  left: var(--range-thumb-x);
  top: var(--range-thumb-y);
  z-index: 3;
  width: 18px;
  height: 18px;
  border: 2px solid #080808;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #ff5d5d 0 12%, #f00000 34%, #b70000 100%);
  box-shadow: 0 0 0 5px rgba(224,0,0,.16), 0 0 18px rgba(224,0,0,.42);
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: hp-slider-thumb-pulse 1.65s ease-in-out infinite;
}

.taste-card .reference-slider::after {
  width: 20px;
  height: 20px;
}

.reference-slider input[type="range"]::-webkit-slider-runnable-track {
  transition: background 190ms cubic-bezier(.22, 1, .36, 1), box-shadow 190ms ease;
}

.reference-slider input[type="range"]::-webkit-slider-thumb {
  transition: transform 170ms cubic-bezier(.2, .8, .2, 1), box-shadow 170ms ease;
  animation: hp-slider-thumb-pulse 1.65s ease-in-out infinite;
  opacity: 0;
}

.reference-slider input[type="range"]::-moz-range-track,
.reference-slider input[type="range"]::-moz-range-progress {
  transition: background-color 190ms cubic-bezier(.22, 1, .36, 1), box-shadow 190ms ease;
}

.reference-slider input[type="range"]::-moz-range-thumb {
  transition: transform 170ms cubic-bezier(.2, .8, .2, 1), box-shadow 170ms ease;
  animation: hp-slider-thumb-pulse 1.65s ease-in-out infinite;
  opacity: 0;
}

.reference-slider b {
  min-width: 3.2em;
  text-align: right;
  font-variant-numeric: tabular-nums;
  transition: transform 180ms cubic-bezier(.2, .8, .2, 1), color 180ms ease, text-shadow 180ms ease;
  will-change: transform;
}

.reference-slider.is-updating input[type="range"] {
  filter: saturate(1.16);
}

.reference-slider.is-updating input[type="range"]::-webkit-slider-runnable-track {
  box-shadow: 0 0 14px rgba(224, 0, 0, .22);
}

.reference-slider.is-updating input[type="range"]::-webkit-slider-thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 7px rgba(224,0,0,.2), 0 0 26px rgba(224,0,0,.58);
}

.reference-slider.is-updating input[type="range"]::-moz-range-track,
.reference-slider.is-updating input[type="range"]::-moz-range-progress {
  box-shadow: 0 0 14px rgba(224, 0, 0, .22);
}

.reference-slider.is-updating input[type="range"]::-moz-range-thumb {
  transform: scale(1.08);
  box-shadow: 0 0 0 7px rgba(224,0,0,.2), 0 0 26px rgba(224,0,0,.58);
}

.reference-slider.is-updating b {
  color: #fff;
  text-shadow: 0 0 14px rgba(224, 0, 0, .38);
  transform: translateY(-1px) scale(1.04);
}

.reference-slider.is-updating::after {
  animation-duration: .82s;
}

@keyframes hp-slider-thumb-pulse {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(224,0,0,.14), 0 0 16px rgba(224,0,0,.36);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(224,0,0,.24), 0 0 26px rgba(224,0,0,.62);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reference-slider input[type="range"],
  .reference-slider input[type="range"]::-webkit-slider-runnable-track,
  .reference-slider input[type="range"]::-webkit-slider-thumb,
  .reference-slider input[type="range"]::-moz-range-track,
  .reference-slider input[type="range"]::-moz-range-progress,
  .reference-slider input[type="range"]::-moz-range-thumb,
  .reference-slider::after,
  .reference-slider b {
    animation: none;
    transition: none;
  }

  .reference-slider.is-updating input[type="range"],
  .reference-slider.is-updating input[type="range"]::-webkit-slider-thumb,
  .reference-slider.is-updating input[type="range"]::-moz-range-thumb,
  .reference-slider.is-updating b {
    transform: none;
  }
}

/* Last CSS layer: prevent awkward word splits in guest choice cards. */
.taste-wizard .reference-moods b,
.taste-wizard .reference-experience b,
.taste-wizard .reference-experience small {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.taste-wizard .reference-moods b,
.taste-wizard .reference-experience b {
  white-space: nowrap;
  line-height: 1.08;
}

@media (max-width: 420px) {
  .taste-wizard .reference-moods span,
  .taste-wizard .reference-experience span {
    gap: 10px;
    padding-inline: 10px;
  }

  .taste-wizard .reference-moods b,
  .taste-wizard .reference-experience b {
    font-size: 15px;
  }

  .taste-wizard .reference-experience small {
    font-size: 11px;
    line-height: 1.12;
  }
}

@media (max-width: 360px) {
  .taste-wizard .reference-moods,
  .taste-wizard .reference-experience {
    grid-template-columns: 1fr;
  }
}

/* Shared premium SVG icon system. */
.hp-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.reference-feature svg,
.reference-rail-actions svg,
.reference-moods svg,
.reference-slider svg,
.reference-chips svg,
.reference-experience svg,
.reference-submit-icon svg,
.history-row svg,
.admin-rail svg,
.reference-footer svg {
  overflow: visible;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 7px rgba(224, 0, 0, .34));
  transition: color 180ms ease, filter 180ms ease, transform 180ms cubic-bezier(.2, .8, .2, 1);
}

.hp-i-fill {
  fill: currentColor;
  opacity: .38;
}

.hp-i-core {
  fill: currentColor;
  opacity: 1;
}

.hp-i-line {
  opacity: 1;
}

.taste-wizard .reference-moods svg .hp-i-fill,
.taste-wizard .reference-experience svg .hp-i-fill,
.taste-wizard .reference-chips svg .hp-i-fill,
.taste-wizard .reference-slider svg .hp-i-fill {
  opacity: .48;
}

.taste-wizard .reference-moods input:checked + span svg .hp-i-fill,
.taste-wizard .reference-moods label.selected span svg .hp-i-fill,
.taste-wizard .reference-experience input:checked + span svg .hp-i-fill,
.taste-wizard .reference-experience label.selected span svg .hp-i-fill,
.taste-wizard .reference-chips input:checked + span svg .hp-i-fill,
.taste-wizard .reference-chips label.selected span svg .hp-i-fill {
  opacity: .16;
}

.taste-wizard .reference-moods input:checked + span svg .hp-i-core,
.taste-wizard .reference-moods label.selected span svg .hp-i-core,
.taste-wizard .reference-experience input:checked + span svg .hp-i-core,
.taste-wizard .reference-experience label.selected span svg .hp-i-core,
.taste-wizard .reference-chips input:checked + span svg .hp-i-core,
.taste-wizard .reference-chips label.selected span svg .hp-i-core {
  opacity: 1;
}

.reference-feature span,
.reference-rail-actions a,
.admin-rail span {
  isolation: isolate;
}

.reference-feature > span,
.reference-rail-actions a svg,
.admin-rail span svg {
  color: #ff1616;
}

.reference-feature > span {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 18, 18, .2), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.13),
    0 0 24px rgba(224,0,0,.13);
}

.taste-wizard .reference-moods svg,
.taste-wizard .reference-experience svg,
.taste-wizard .reference-chips svg,
.taste-wizard .reference-slider svg {
  color: #ff2424;
  width: 26px;
  height: 26px;
  padding: 3px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 36, 36, .2), rgba(255, 36, 36, .04) 62%, transparent 72%),
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.012));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .055),
    0 0 0 1px rgba(224, 0, 0, .08);
  filter:
    drop-shadow(0 0 6px rgba(255, 28, 28, .62))
    drop-shadow(0 0 14px rgba(224, 0, 0, .28));
}

.taste-wizard .reference-chips svg {
  width: 24px;
  height: 24px;
  padding: 3px;
}

.taste-wizard .reference-moods label:hover svg,
.taste-wizard .reference-experience label:hover svg,
.taste-wizard .reference-chips label:hover svg {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 0 12px rgba(255, 28, 28, .7));
}

.taste-wizard .reference-moods input:checked + span svg,
.taste-wizard .reference-moods label.selected span svg,
.taste-wizard .reference-experience input:checked + span svg,
.taste-wizard .reference-experience label.selected span svg,
.taste-wizard .reference-chips input:checked + span svg,
.taste-wizard .reference-chips label.selected span svg {
  color: #e00000;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 0, 0, .12), rgba(224, 0, 0, .03) 64%, transparent 74%),
    linear-gradient(180deg, rgba(0,0,0,.035), rgba(0,0,0,.012));
  box-shadow:
    inset 0 0 0 1px rgba(224, 0, 0, .12),
    0 0 0 1px rgba(224, 0, 0, .05);
  filter: drop-shadow(0 0 4px rgba(224, 0, 0, .28));
}

.taste-wizard .reference-moods input:checked + span,
.taste-wizard .reference-moods label.selected span,
.taste-wizard .reference-experience input:checked + span,
.taste-wizard .reference-experience label.selected span,
.taste-wizard .reference-chips input:checked + span,
.taste-wizard .reference-chips label.selected span {
  box-shadow:
    inset 0 0 0 1px rgba(224, 0, 0, .15),
    0 0 0 1px rgba(255,255,255,.28),
    0 12px 28px rgba(224,0,0,.18);
}

.reference-submit-icon {
  background:
    radial-gradient(circle at 42% 38%, #ff5b5b 0 8%, #e60000 36%, #a60000 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.18),
    0 0 24px rgba(224,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.reference-submit-icon svg {
  color: #fff;
  filter: drop-shadow(0 0 7px rgba(255,255,255,.38));
}

/* Final layer: premium token sliders aligned with the SVG icon language. */
.taste-card .reference-slider {
  --range-track-height: 5px;
  --range-thumb-size: 18px;
  align-items: center;
  grid-template-columns: minmax(104px, .95fr) minmax(124px, 1fr) minmax(38px, auto);
  gap: 12px;
}

.taste-card .reference-slider span {
  min-width: 0;
}

.taste-card .reference-slider input[type="range"] {
  height: 22px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 20, 20, .95) 0 var(--range-progress), rgba(255, 255, 255, .22) var(--range-progress) 100%) center / 100% var(--range-track-height) no-repeat;
  box-shadow:
    0 0 12px rgba(224, 0, 0, .08);
}

.taste-card .reference-slider::before {
  content: "";
  position: absolute;
  left: calc(var(--range-thumb-x) - 16px);
  top: var(--range-thumb-y);
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 27, 27, .22) 0 34%, rgba(255, 27, 27, .08) 48%, transparent 70%);
  pointer-events: none;
  transform: translateY(-50%);
  filter: blur(.1px);
}

.taste-card .reference-slider::after {
  width: var(--range-thumb-size);
  height: var(--range-thumb-size);
  border: 2px solid rgba(8, 8, 8, .98);
  background:
    radial-gradient(circle at 36% 30%, #ff8b8b 0 9%, #ff3030 24%, #e00000 48%, #870000 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -5px 9px rgba(0, 0, 0, .3),
    0 0 0 1px rgba(255, 255, 255, .16),
    0 0 0 5px rgba(224, 0, 0, .12),
    0 0 18px rgba(224, 0, 0, .48);
}

.taste-card .reference-slider input[type="range"]::-webkit-slider-runnable-track {
  height: var(--range-track-height);
  border-radius: 999px;
  background: transparent;
}

.taste-card .reference-slider input[type="range"]::-moz-range-track,
.taste-card .reference-slider input[type="range"]::-moz-range-progress {
  height: var(--range-track-height);
  border-radius: 999px;
}

.taste-card .reference-slider b {
  color: rgba(255, 255, 255, .92);
  font-size: 16px;
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(224, 0, 0, .18);
}

.taste-card .reference-slider.is-updating::before {
  transform: translateY(-50%) scale(1.1);
  opacity: .95;
}

.taste-card .reference-slider.is-updating::after {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .48),
    inset 0 -5px 9px rgba(0, 0, 0, .3),
    0 0 0 1px rgba(255, 255, 255, .18),
    0 0 0 7px rgba(224, 0, 0, .18),
    0 0 26px rgba(224, 0, 0, .6);
}

.taste-wizard .note-chips span {
  grid-template-columns: 24px 1fr;
  justify-content: start;
  text-align: left;
}

@media (max-width: 420px) {
  .taste-card .reference-slider {
    grid-template-columns: minmax(96px, .9fr) minmax(116px, 1fr) minmax(36px, auto);
    gap: 8px;
  }

  .taste-card .reference-slider b {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reference-feature svg,
  .reference-rail-actions svg,
  .reference-moods svg,
  .reference-slider svg,
  .reference-chips svg,
  .reference-experience svg,
  .reference-submit-icon svg,
  .history-row svg,
  .admin-rail svg,
  .reference-footer svg {
    transition: none;
  }
}

/* Client mobile hardening: no horizontal clipping, true route loading screen. */
.hp-guest-flow-page,
.hp-guest-flow-page body,
.taste-only-stage,
.hp-results-stage,
.hp-sent-stage,
.hp-loading-stage {
  width: 100%;
  max-width: 100dvw;
  overflow-x: hidden;
}

.taste-only-stage .reference-phone,
.taste-only-stage .reference-device,
.taste-only-stage .reference-screen,
.taste-only-stage .reference-form,
.taste-only-stage .taste-wizard,
.taste-only-stage .taste-step,
.taste-only-stage .reference-card,
.hp-results-shell,
.hp-sent-shell {
  box-sizing: border-box;
  width: 100%;
  max-width: 100dvw;
  min-width: 0;
}

.taste-only-stage .reference-phone,
.taste-only-stage .reference-device {
  overflow-x: hidden;
}

.taste-only-stage .reference-screen {
  padding-inline: max(14px, env(safe-area-inset-left)) max(14px, env(safe-area-inset-right));
}

.taste-only-stage .reference-status {
  width: 100%;
  min-width: 0;
}

.taste-only-stage .reference-status b,
.hp-results-stage .hp-table-pill,
.hp-sent-stage .hp-table-pill,
.hp-loading-stage .hp-table-pill {
  right: max(14px, env(safe-area-inset-right));
}

.taste-only-stage .reference-back {
  left: max(14px, env(safe-area-inset-left));
}

.taste-only-stage .reference-screen-logo,
.hp-card-logo {
  max-width: min(172px, 46vw);
}

.taste-only-stage .reference-screen h2 {
  width: min(100%, 340px);
  max-width: 100%;
  margin-inline: auto;
  font-size: clamp(30px, 9.3vw, 38px);
  line-height: .98;
  text-wrap: balance;
}

.taste-only-stage .reference-lead {
  width: min(100%, 340px);
  max-width: 100%;
  font-size: clamp(14px, 3.8vw, 16px);
  line-height: 1.42;
  text-wrap: balance;
}

.taste-progress {
  max-width: 100%;
}

.taste-progress button {
  min-width: 0;
  padding-inline: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.taste-step-head h3,
.hp-results-head h1,
.hp-sent-hero h1,
.hp-result-card h2,
.hp-selected-head strong,
.hp-taste-id-head h2 {
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

.taste-wizard .reference-moods,
.taste-wizard .reference-chips,
.taste-wizard .reference-experience {
  width: 100%;
  max-width: 100%;
}

.taste-wizard .reference-moods span,
.taste-wizard .reference-chips span,
.taste-wizard .reference-experience span {
  min-width: 0;
}

.taste-card .reference-slider {
  width: 100%;
  max-width: 100%;
}

.hp-loading-stage {
  min-height: 100dvh;
  display: grid;
  place-items: stretch;
  padding: 0;
  background: #050505;
}

.hp-route-loading {
  animation: none;
  padding-top: max(18px, env(safe-area-inset-top));
}

.hp-route-loading .hp-table-pill {
  top: max(28px, env(safe-area-inset-top));
}

.hp-loading-form {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 420px) {
  .taste-only-stage .reference-screen {
    padding-inline: 14px;
  }

  .taste-only-stage .reference-screen h2 {
    margin-top: 36px;
  }

  .taste-step .reference-card {
    padding-inline: 14px;
  }

  .taste-card .reference-slider {
    grid-template-columns: minmax(88px, .78fr) minmax(92px, 1fr) minmax(34px, auto);
  }

  .taste-card .reference-slider span {
    font-size: 13px;
  }

  .taste-card .reference-slider b {
    font-size: 14px;
  }

  .hp-results-head h1,
  .hp-route-loading h1 {
    max-width: 350px;
  }

  .wizard-actions.final-submit {
    grid-template-columns: minmax(88px, .36fr) minmax(0, 1fr);
  }
}

/* Mobile app feel: sticky actions, step motion, tactile states. */
.taste-wizard {
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

.taste-step {
  animation: hp-step-in 240ms cubic-bezier(.22, 1, .36, 1) both;
  will-change: opacity, transform;
}

.taste-wizard[data-step-direction="back"] .taste-step.is-active {
  animation-name: hp-step-back-in;
}

.taste-wizard.is-step-changing .taste-progress button.active {
  transform: translateY(-1px);
}

.taste-step .wizard-actions {
  position: sticky;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 12;
  margin-top: 2px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(22,22,22,.82), rgba(6,6,6,.94)),
    rgba(6,6,6,.94);
  box-shadow: 0 -18px 36px rgba(0,0,0,.42), 0 0 28px rgba(224,0,0,.12);
  backdrop-filter: blur(14px);
}

.taste-step .wizard-actions.final-submit {
  align-items: stretch;
}

.reference-back[hidden] {
  display: none !important;
}

.reference-moods span,
.reference-chips span,
.reference-experience span,
.wizard-button,
.reference-submit,
.reference-back,
.taste-progress button,
.hp-edit-choice,
.hp-result-card,
.hp-pairing-item,
.hp-addon-stepper button,
.button {
  transition:
    transform 160ms cubic-bezier(.22, 1, .36, 1),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    filter 180ms ease;
}

.reference-moods label:active span,
.reference-chips label:active span,
.reference-experience label:active span,
.wizard-button:active,
.reference-submit:active,
.reference-back:active,
.taste-progress button:active,
.hp-edit-choice:active,
.hp-addon-stepper button:active,
.button:active,
.hp-tap-feedback {
  transform: scale(.975);
  filter: brightness(1.08);
}

button:disabled,
.hp-addon-stepper button:disabled,
button[aria-busy="true"] {
  cursor: progress;
  opacity: .58;
  filter: saturate(.72);
  transform: none !important;
}

.hp-result-card {
  transform: translateZ(0);
}

.hp-result-card:hover,
.hp-pairing-item.is-selected {
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 20px 52px rgba(0,0,0,.38), 0 0 30px rgba(224,0,0,.12);
}

.hp-loading-meter {
  position: relative;
  width: min(100%, 310px);
  height: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 28px rgba(224,0,0,.12);
}

.hp-loading-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,0,0,.98), rgba(255,255,255,.24));
  box-shadow: 0 0 18px rgba(224,0,0,.64);
  animation: hp-loading-meter 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}

.hp-loading-timeline {
  width: min(100%, 330px);
  display: grid;
  gap: 7px;
  text-align: left;
}

.hp-loading-timeline span {
  position: relative;
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(224,0,0,.14), rgba(255,255,255,.035)),
    rgba(255,255,255,.035);
  color: rgba(255,255,255,.78);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 850;
  overflow: hidden;
}

.hp-loading-timeline span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f00000;
  box-shadow: 0 0 14px rgba(224,0,0,.72);
}

.hp-loading-timeline span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: translateX(-110%);
  animation: hp-loading-shimmer 1.7s ease-in-out infinite;
}

.hp-loading-timeline span:nth-child(2)::after {
  animation-delay: 220ms;
}

.hp-loading-timeline span:nth-child(3)::after {
  animation-delay: 440ms;
}

@keyframes hp-step-in {
  from { opacity: 0; transform: translateX(18px) translateY(4px); }
  to { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes hp-step-back-in {
  from { opacity: 0; transform: translateX(-18px) translateY(4px); }
  to { opacity: 1; transform: translateX(0) translateY(0); }
}

@keyframes hp-loading-meter {
  0% { left: 0; width: 24%; }
  42% { left: 28%; width: 48%; }
  100% { left: 76%; width: 24%; }
}

@keyframes hp-loading-shimmer {
  0% { transform: translateX(-110%); }
  62%, 100% { transform: translateX(110%); }
}

@media (prefers-reduced-motion: reduce) {
  .taste-step,
  .hp-loading-meter i,
  .hp-loading-timeline span::after {
    animation: none;
  }

  .reference-moods span,
  .reference-chips span,
  .reference-experience span,
  .wizard-button,
  .reference-submit,
  .reference-back,
  .taste-progress button,
  .hp-edit-choice,
  .hp-result-card,
  .hp-pairing-item,
  .hp-addon-stepper button,
  .button {
    transition: none;
  }
}

/* Recommendation carousel: three clear routes without a long vertical list. */
.hp-results-shell {
  width: min(100%, 620px);
}

.hp-results-head {
  padding-bottom: 12px;
}

.hp-results-head h1 {
  max-width: 420px;
  font-size: clamp(34px, 9vw, 50px);
}

.hp-carousel-nav {
  position: sticky;
  top: 0;
  z-index: 18;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0 0 10px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(18,18,18,.88), rgba(6,6,6,.96)),
    rgba(6,6,6,.96);
  box-shadow: 0 16px 36px rgba(0,0,0,.36), 0 0 26px rgba(224,0,0,.1);
  backdrop-filter: blur(14px);
}

.hp-carousel-nav button {
  min-width: 0;
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 9px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.66);
  cursor: pointer;
  font-family: var(--hp-ui-font);
  font-weight: 900;
}

.hp-carousel-nav button span {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px;
  line-height: 1.05;
}

.hp-carousel-nav button b {
  color: rgba(255,255,255,.42);
  font-size: 10px;
  line-height: 1;
}

.hp-carousel-nav button.active {
  border-color: rgba(255,255,255,.86);
  background: #fff;
  color: #050505;
  box-shadow: 0 0 0 1px rgba(224,0,0,.18), 0 12px 30px rgba(224,0,0,.14);
}

.hp-carousel-nav button.active b {
  color: rgba(5,5,5,.54);
}

.hp-carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hp-recommendation-carousel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: calc(100% + 28px);
  margin-inline: -14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 0 14px 18px;
  scroll-padding-inline: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.hp-recommendation-carousel::-webkit-scrollbar {
  display: none;
}

.hp-recommendation-carousel .hp-result-card {
  flex: 0 0 calc(100% - 26px);
  width: 100%;
  min-width: 0;
  max-width: none;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  opacity: .72;
  transform: scale(.985);
  transform-origin: center top;
}

.hp-recommendation-carousel .hp-result-card.is-active {
  opacity: 1;
  transform: scale(1);
}

.hp-slide-count {
  justify-self: end;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: rgba(255,255,255,.64);
  padding: 0 9px;
  font-size: 11px;
  font-weight: 900;
}

.hp-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 2px 0 18px;
}

.hp-carousel-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.28);
  padding: 0;
}

.hp-carousel-dots button.active {
  width: 24px;
  background: #e00000;
  box-shadow: 0 0 14px rgba(224,0,0,.5);
}

.hp-recommendation-carousel .hp-result-card form {
  position: sticky;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 8;
  margin-top: 2px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(18,18,18,.84), rgba(6,6,6,.96)),
    rgba(6,6,6,.96);
  box-shadow: 0 -18px 38px rgba(0,0,0,.44), 0 0 26px rgba(224,0,0,.1);
  backdrop-filter: blur(14px);
}

@media (min-width: 760px) {
  .hp-recommendation-carousel {
    gap: 16px;
    width: calc(100% + 44px);
    margin-inline: -22px;
    padding-inline: 22px;
    scroll-padding-inline: 22px;
  }

  .hp-recommendation-carousel .hp-result-card {
    flex-basis: calc(100% - 78px);
  }
}

@media (max-width: 420px) {
  .hp-results-stage {
    padding-inline: 10px;
  }

  .hp-results-head {
    gap: 8px;
    padding-top: 22px;
  }

  .hp-results-head h1 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .hp-results-head p {
    font-size: 14px;
  }

  .hp-carousel-nav {
    gap: 6px;
    padding: 6px;
  }

  .hp-carousel-nav button {
    min-height: 44px;
  }

  .hp-carousel-nav button span {
    font-size: 12px;
  }

  .hp-recommendation-carousel {
    gap: 10px;
    width: calc(100% + 20px);
    margin-inline: -10px;
    padding-inline: 10px;
    scroll-padding-inline: 10px;
  }

  .hp-recommendation-carousel .hp-result-card {
    flex-basis: calc(100% - 22px);
    padding: 14px;
  }

  .hp-recommendation-carousel .hp-result-card form {
    margin-inline: -4px;
  }
}

/* Guest UI system final precedence layer. Keep the whole guest journey on one material language. */
.hp-guest-flow-page {
  --hp-guest-surface: rgba(8, 8, 8, .80);
  --hp-guest-surface-strong: rgba(10, 10, 10, .94);
  --hp-guest-control: rgba(255, 255, 255, .055);
  --hp-guest-control-hover: rgba(255, 255, 255, .09);
  --hp-guest-border: rgba(255, 255, 255, .14);
  --hp-guest-border-strong: rgba(255, 255, 255, .24);
  --hp-guest-text: rgba(255, 255, 255, .96);
  --hp-guest-muted: rgba(255, 255, 255, .68);
  --hp-guest-subtle: rgba(255, 255, 255, .5);
  --hp-guest-accent: #e00000;
  --hp-guest-radius: 8px;
  color: var(--hp-guest-text);
}

.hp-guest-flow-page .hp-guest-card,
.hp-guest-flow-page .reference-card,
.hp-guest-flow-page .hp-result-card,
.hp-guest-flow-page .hp-selected-mix,
.hp-guest-flow-page .hp-taste-id-panel,
.hp-guest-flow-page .hp-feedback-form,
.hp-guest-flow-page .hp-feedback-summary,
.hp-guest-flow-page .hp-final-notes {
  border: 1px solid var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)), var(--hp-guest-surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .055);
}

.hp-guest-flow-page .section-label,
.hp-guest-flow-page .taste-step-head > span,
.hp-guest-flow-page .hp-feedback-section-head > span,
.hp-guest-flow-page p,
.hp-guest-flow-page .reference-lead,
.hp-guest-flow-page .hp-service-note {
  color: var(--hp-guest-muted);
  letter-spacing: 0;
}

.hp-guest-flow-page .button,
.hp-guest-flow-page .wizard-button,
.hp-guest-flow-page .reference-submit,
.hp-guest-flow-page .hp-edit-choice {
  min-height: 52px;
  border: 1px solid var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: var(--hp-guest-control);
  color: var(--hp-guest-text);
  font-family: var(--hp-ui-font);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.hp-guest-flow-page .button.primary,
.hp-guest-flow-page .wizard-button.primary,
.hp-guest-flow-page .reference-submit {
  border-color: rgba(255, 255, 255, .94);
  background: #f7f6f4;
  color: #080808;
  box-shadow: inset 0 1px 0 #fff, 0 10px 28px rgba(0, 0, 0, .28), 0 0 0 1px rgba(224, 0, 0, .13), 0 0 24px rgba(224, 0, 0, .1);
}

.hp-guest-flow-page .button:active,
.hp-guest-flow-page .wizard-button:active,
.hp-guest-flow-page .reference-submit:active,
.hp-guest-flow-page .hp-edit-choice:active {
  transform: translateY(1px) scale(.992);
}

.hp-guest-flow-page .reference-submit {
  min-height: 68px;
  padding: 10px 12px 10px 18px;
}

.hp-guest-flow-page .reference-submit-copy small {
  color: rgba(8, 8, 8, .58);
}

.hp-guest-flow-page .reference-back,
.hp-guest-flow-page .hp-table-pill,
.hp-guest-flow-page .hp-qr-context,
.hp-guest-flow-page .hp-request-summary span {
  border-color: var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: var(--hp-guest-control);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .045);
}

.hp-guest-flow-page .taste-progress button,
.hp-guest-flow-page .hp-carousel-nav button {
  min-height: 40px;
  border: 1px solid var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: var(--hp-guest-control);
  color: var(--hp-guest-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035);
}

.hp-guest-flow-page .taste-progress button.done {
  border-color: rgba(224, 0, 0, .44);
  background: rgba(224, 0, 0, .12);
  color: rgba(255, 255, 255, .8);
}

.hp-guest-flow-page .taste-progress button.active,
.hp-guest-flow-page .hp-carousel-nav button.active {
  border-color: rgba(255, 255, 255, .94);
  background: #f7f6f4;
  color: #080808;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24), 0 0 0 1px rgba(224, 0, 0, .16);
}

.hp-guest-flow-page .reference-moods input:not(:checked) + span,
.hp-guest-flow-page .reference-chips input:not(:checked) + span,
.hp-guest-flow-page .reference-experience input:not(:checked) + span,
.hp-guest-flow-page .hp-rating-grid span,
.hp-guest-flow-page .hp-feedback-chips span,
.hp-guest-flow-page .hp-feedback-comment textarea,
.hp-guest-flow-page .field input {
  border-color: var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: var(--hp-guest-control);
  color: rgba(255, 255, 255, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.hp-guest-flow-page .reference-moods input:checked + span,
.hp-guest-flow-page .reference-chips input:checked + span,
.hp-guest-flow-page .reference-experience input:checked + span,
.hp-guest-flow-page .hp-rating-grid input:checked + span,
.hp-guest-flow-page .hp-feedback-chips input:checked + span {
  border-color: rgba(255, 255, 255, .92);
  background: #f7f6f4;
  color: #080808;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .26), 0 0 0 1px rgba(224, 0, 0, .13);
}

.hp-guest-flow-page .taste-step .wizard-actions,
.hp-guest-flow-page .hp-recommendation-carousel .hp-result-card form,
.hp-guest-flow-page .hp-carousel-nav {
  border-color: var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), var(--hp-guest-surface-strong);
  box-shadow: 0 -16px 36px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .045);
}

.hp-guest-flow-page .taste-card .reference-slider input[type="range"] {
  background: linear-gradient(90deg, rgba(238, 20, 28, .96) 0 var(--range-progress), rgba(255, 255, 255, .18) var(--range-progress) 100%) center / 100% var(--range-track-height) no-repeat;
  box-shadow: 0 0 10px rgba(224, 0, 0, .06);
}

.hp-guest-flow-page .taste-card .reference-slider::after {
  border-color: rgba(8, 8, 8, .98);
  background: linear-gradient(180deg, #ff2028, #c90008);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -4px 8px rgba(0, 0, 0, .28), 0 0 0 1px rgba(255, 255, 255, .14), 0 0 0 5px rgba(224, 0, 0, .1), 0 0 16px rgba(224, 0, 0, .42);
}

.hp-guest-flow-page .hp-optional-preferences > summary em {
  border-color: var(--hp-guest-border);
  background: var(--hp-guest-control);
  color: var(--hp-guest-muted);
}

@media (max-width: 420px) {
  .hp-guest-flow-page .button,
  .hp-guest-flow-page .wizard-button,
  .hp-guest-flow-page .hp-edit-choice {
    font-size: 14px;
  }
}

body.hp-guest-flow-page .hp-qr-start,
body.hp-guest-flow-page .reference-screen .reference-card {
  border-color: var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)), var(--hp-guest-surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .055);
}

body.hp-guest-flow-page .taste-step .wizard-actions {
  border-color: var(--hp-guest-border);
  border-radius: var(--hp-guest-radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)), var(--hp-guest-surface-strong);
  box-shadow: 0 -16px 36px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .045);
}

body.hp-guest-flow-page .reference-screen .wizard-button,
body.hp-guest-flow-page .reference-screen .reference-back {
  border-radius: var(--hp-guest-radius);
  font-family: var(--hp-ui-font);
  font-weight: 800;
  letter-spacing: 0;
}

body.hp-guest-flow-page .taste-wizard .reference-chips input:not(:checked) + span,
body.hp-guest-flow-page .taste-wizard .reference-experience input:not(:checked) + span {
  border-color: var(--hp-guest-border);
  background: var(--hp-guest-control);
  color: rgba(255, 255, 255, .84);
}

body.hp-guest-flow-page .wizard-actions.single-action,
body.hp-guest-flow-page .wizard-actions.final-submit.single-action {
  grid-template-columns: minmax(0, 1fr);
}

body.hp-guest-flow-page .taste-progress button:disabled {
  cursor: default;
  opacity: .58;
}

/* Premium guest controls: tactile glass buttons and loading-meter sliders. */
body.hp-guest-flow-page .button,
body.hp-guest-flow-page .wizard-button,
body.hp-guest-flow-page .reference-submit,
body.hp-guest-flow-page .hp-edit-choice {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, .18);
  background:
    radial-gradient(circle at 88% 12%, rgba(224, 0, 0, .08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025));
  color: rgba(255, 255, 255, .94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .09),
    inset 0 -1px 0 rgba(0, 0, 0, .42),
    0 10px 24px rgba(0, 0, 0, .22);
  backdrop-filter: blur(12px);
  transition:
    transform 160ms cubic-bezier(.22, 1, .36, 1),
    border-color 180ms ease,
    background-position 320ms ease,
    box-shadow 220ms ease,
    filter 180ms ease;
}

body.hp-guest-flow-page .button.primary,
body.hp-guest-flow-page .wizard-button.primary,
body.hp-guest-flow-page .reference-submit {
  border-color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(circle at 90% 18%, rgba(224, 0, 0, .16), transparent 28%),
    linear-gradient(112deg, #fff 0%, #eee9e9 43%, #fff 52%, #f2eeee 64%, #fff 100%);
  background-position: 0 0, 0 0;
  background-size: auto, 210% 100%;
  color: #090909;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(96, 0, 0, .13),
    0 12px 28px rgba(0, 0, 0, .3),
    0 0 0 1px rgba(224, 0, 0, .12),
    0 0 26px rgba(224, 0, 0, .13);
}

body.hp-guest-flow-page .reference-submit {
  min-height: 70px;
}

body.hp-guest-flow-page .reference-back {
  background:
    radial-gradient(circle at 50% 100%, rgba(224, 0, 0, .14), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .025));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    0 10px 24px rgba(0, 0, 0, .24),
    0 0 18px rgba(224, 0, 0, .07);
}

body.hp-guest-flow-page .taste-progress button,
body.hp-guest-flow-page .hp-carousel-nav button {
  border-color: rgba(255, 255, 255, .13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018)),
    rgba(5, 5, 5, .66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .07),
    inset 0 -1px 0 rgba(0, 0, 0, .42);
}

body.hp-guest-flow-page .taste-progress button.done {
  border-color: rgba(235, 12, 20, .42);
  background:
    linear-gradient(90deg, rgba(224, 0, 0, .18), rgba(255, 255, 255, .035)),
    rgba(5, 5, 5, .72);
  color: rgba(255, 255, 255, .86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 0 20px rgba(224, 0, 0, .08);
}

body.hp-guest-flow-page .taste-progress button.active,
body.hp-guest-flow-page .hp-carousel-nav button.active,
body.hp-guest-flow-page .reference-moods input:checked + span,
body.hp-guest-flow-page .reference-chips input:checked + span,
body.hp-guest-flow-page .reference-experience input:checked + span,
body.hp-guest-flow-page .hp-rating-grid input:checked + span,
body.hp-guest-flow-page .hp-feedback-chips input:checked + span {
  border-color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(circle at 88% 18%, rgba(224, 0, 0, .14), transparent 30%),
    linear-gradient(138deg, #fff, #ece8e8 62%, #fff);
  color: #080808;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(96, 0, 0, .12),
    0 10px 24px rgba(0, 0, 0, .25),
    0 0 0 1px rgba(224, 0, 0, .12),
    0 0 22px rgba(224, 0, 0, .1);
}

body.hp-guest-flow-page .reference-moods input:not(:checked) + span,
body.hp-guest-flow-page .reference-chips input:not(:checked) + span,
body.hp-guest-flow-page .reference-experience input:not(:checked) + span {
  border-color: rgba(255, 255, 255, .14);
  background:
    radial-gradient(circle at 88% 15%, rgba(224, 0, 0, .06), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .065), 0 8px 18px rgba(0, 0, 0, .16);
}

body.hp-guest-flow-page .taste-card .reference-slider {
  --range-track-height: 6px;
  --range-thumb-size: 15px;
}

body.hp-guest-flow-page .taste-card .reference-slider input[type="range"] {
  height: 24px;
  border: 0;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .18), rgba(255, 0, 0, .98) 56%, rgba(255, 255, 255, .24)) left center / var(--range-progress) var(--range-track-height) no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .17)) left center / 100% var(--range-track-height) no-repeat;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .025),
    0 0 18px rgba(224, 0, 0, .08);
}

body.hp-guest-flow-page .taste-card .reference-slider::before {
  left: calc(var(--range-thumb-x) - 12px);
  width: 24px;
  height: 24px;
  background: radial-gradient(circle, rgba(255, 20, 26, .2) 0 35%, rgba(224, 0, 0, .08) 52%, transparent 72%);
  opacity: .74;
}

body.hp-guest-flow-page .taste-card .reference-slider::after {
  width: var(--range-thumb-size);
  height: var(--range-thumb-size);
  border: 2px solid rgba(10, 0, 0, .96);
  background: radial-gradient(circle at 38% 30%, #ff8b8b 0 8%, #ff232b 28%, #e00008 58%, #940000 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .42),
    inset 0 -3px 6px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(255, 255, 255, .15),
    0 0 0 4px rgba(224, 0, 0, .08),
    0 0 13px rgba(224, 0, 0, .5);
}

body.hp-guest-flow-page .taste-card .reference-slider.is-updating::before {
  opacity: 1;
  transform: translateY(-50%) scale(1.16);
}

body.hp-guest-flow-page .taste-card .reference-slider.is-updating::after {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .46),
    inset 0 -3px 6px rgba(0, 0, 0, .28),
    0 0 0 1px rgba(255, 255, 255, .18),
    0 0 0 6px rgba(224, 0, 0, .14),
    0 0 20px rgba(224, 0, 0, .64);
}

@media (hover: hover) and (pointer: fine) {
  body.hp-guest-flow-page .button:hover,
  body.hp-guest-flow-page .wizard-button:hover,
  body.hp-guest-flow-page .reference-submit:hover,
  body.hp-guest-flow-page .hp-edit-choice:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, .28);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .12),
      0 14px 30px rgba(0, 0, 0, .3),
      0 0 24px rgba(224, 0, 0, .12);
  }

  body.hp-guest-flow-page .button.primary:hover,
  body.hp-guest-flow-page .wizard-button.primary:hover,
  body.hp-guest-flow-page .reference-submit:hover {
    background-position: 0 0, 92% 0;
    border-color: #fff;
    box-shadow:
      inset 0 1px 0 #fff,
      inset 0 -1px 0 rgba(96, 0, 0, .13),
      0 15px 34px rgba(0, 0, 0, .32),
      0 0 0 1px rgba(224, 0, 0, .16),
      0 0 30px rgba(224, 0, 0, .18);
  }
}

body.hp-guest-flow-page .button:active,
body.hp-guest-flow-page .wizard-button:active,
body.hp-guest-flow-page .reference-submit:active,
body.hp-guest-flow-page .hp-edit-choice:active,
body.hp-guest-flow-page .hp-tap-feedback {
  transform: translateY(1px) scale(.982);
  filter: brightness(1.06);
}

@media (prefers-reduced-motion: reduce) {
  body.hp-guest-flow-page .button,
  body.hp-guest-flow-page .wizard-button,
  body.hp-guest-flow-page .reference-submit,
  body.hp-guest-flow-page .hp-edit-choice,
  body.hp-guest-flow-page .taste-card .reference-slider::before,
  body.hp-guest-flow-page .taste-card .reference-slider::after {
    transition: none;
  }
}

/* Add-on steppers use the same translucent glass as the guest controls. */
body.hp-guest-flow-page .hp-addon-stepper {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055), 0 8px 18px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
}

body.hp-guest-flow-page .hp-addon-stepper button:last-child {
  border-left: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, .22), transparent 30%),
    linear-gradient(180deg, rgba(244, 12, 22, .78), rgba(190, 0, 7, .66));
  color: rgba(255, 255, 255, .96);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .18),
    inset 0 -1px 0 rgba(0, 0, 0, .24),
    0 0 18px rgba(224, 0, 0, .13);
  backdrop-filter: blur(10px);
}

body.hp-guest-flow-page .hp-addon-stepper button:first-child:not(:disabled) {
  background: rgba(255, 255, 255, .04);
}

@media (hover: hover) and (pointer: fine) {
  body.hp-guest-flow-page .hp-addon-stepper button:last-child:hover {
    background:
      radial-gradient(circle at 36% 24%, rgba(255, 255, 255, .28), transparent 32%),
      linear-gradient(180deg, rgba(255, 24, 32, .86), rgba(202, 0, 8, .74));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 22px rgba(224, 0, 0, .2);
  }
}
