/* Jost is bundled under the SIL Open Font License; see assets/fonts/OFL.txt. */
@font-face {
  font-family: Jost;
  src: url("/assets/fonts/jost-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Jost;
  src: url("/assets/fonts/jost-italic-variable.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #610f3b;
  --paper: #fffafa;
  --lavender: #f8f2ff;
  --bubble: #eee3f8;
  --line: #dfc9f3;
  --muted: #795b70;
  --accent: #e1c6ff;
  --gutter: clamp(16px, 2.8vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-gutter: stable;
}
html.chat-open {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    400 16px/1.5 Jost,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a,
summary,
select {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  background: none;
  touch-action: manipulation;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 220ms ease,
    transform 220ms var(--ease);
}
button:active:not(:disabled) {
  transform: scale(0.96);
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  background: white;
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 20px;
}
.harness {
  padding: 10px var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  background: #f0e9f4;
  border-bottom: 1px solid #e8dfec;
  font-size: 12px;
}
.harness select,
.harness input {
  border: 1px solid #d5c6dc;
  background: #fffafc;
  border-radius: 18px;
  padding: 6px 12px;
  max-width: 230px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}
.poc-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.6px;
}
.poc-badge > span {
  font-size: 16px;
  vertical-align: middle;
  margin-right: 4px;
}
#connection-mode {
  color: var(--muted);
}
.identity-note {
  margin-left: auto;
  color: var(--muted);
}
.shipping {
  display: flex;
  justify-content: space-between;
  padding: 14px var(--gutter);
  font-size: 14px;
}
.shipping > span + span {
  font-style: italic;
}
.shipping > span + span span {
  padding-left: 12px;
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
  height: 60px;
  margin: 20px calc(var(--gutter) + 20px) -80px;
}
.nav-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 10px 24px;
  border-radius: 999px;
  background: #f8effff5;
  backdrop-filter: blur(12px);
}
.logo {
  font-size: 32px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -1.7px;
  color: var(--ink);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
nav button,
nav > span {
  font-size: 17px;
  white-space: nowrap;
}
nav button {
  padding: 4px 0;
  position: relative;
}
nav button::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}
nav button.nav-active::after {
  transform: scaleX(1);
}
.outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #eadcf6;
  border-radius: 40px;
  padding: 11px 20px;
  background: var(--lavender);
  white-space: nowrap;
}
#nav-chat > span:last-child {
  font-size: 24px;
  line-height: 1;
}
.nav-avatar {
  border-radius: 50%;
}
.page-section {
  animation: page-in 300ms var(--ease) both;
}
.meet-page {
  margin: 0 var(--gutter) 64px;
}
.meet-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  min-height: 520px;
  padding: clamp(32px, 5vw, 80px);
  border-radius: 26px;
  background: linear-gradient(120deg, #f8e9f1, #e9dcff);
}
.meet-copy {
  max-width: 560px;
}
.meet-copy h1,
.meet-details h2 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -1.5px;
}
.meet-copy p:not(.eyebrow) {
  font-size: 18px;
  line-height: 1.6;
}
.meet-copy p.meet-lead {
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.3;
}
.meet-copy .primary {
  margin-top: 12px;
}
.meet-avatar {
  display: block;
  width: min(100%, 470px);
  height: auto;
  justify-self: center;
  border-radius: 50%;
  box-shadow: 0 20px 60px #610f3b1a;
}
.meet-details {
  padding: clamp(36px, 5vw, 72px) clamp(12px, 4vw, 60px);
}
.meet-details h2 {
  font-size: clamp(32px, 3.2vw, 46px);
}
.meet-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.meet-cards article {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--lavender);
  padding: 26px;
}
.meet-cards article > span {
  font-size: 28px;
}
.meet-cards h3 {
  margin: 10px 0 6px;
  font-size: 22px;
  font-weight: 500;
}
.meet-cards p {
  margin: 0;
}
.meet-note {
  max-width: 780px;
  margin: 30px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.hero {
  height: clamp(550px, 47vw, 720px);
  margin: 0 var(--gutter);
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #efd6df;
  isolation: isolate;
  touch-action: pan-y;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(36px);
  transition:
    opacity 550ms ease,
    transform 650ms var(--ease);
  pointer-events: none;
  overflow: hidden;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}
.hero-image {
  position: absolute;
  inset: 0;
  url("/assets/images/hero.webp")
}
.hero-hair::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f8e9edc9, #f8e9ed44 44%, transparent 68%);
}
.hero-copy {
  position: absolute;
  z-index: 1;
  bottom: 116px;
  left: clamp(24px, 4vw, 64px);
  max-width: min(540px, 52%);
}
.eyebrow {
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 12px;
}
.hero-copy h1,
.hero-copy h2 {
  font-size: clamp(38px, 3.8vw, 58px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 0;
}
.hero-copy em {
  font-weight: 400;
}
.hero-description {
  max-width: 330px;
  margin: 20px 0 26px;
  font-size: 17px;
  line-height: 1.55;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border-radius: 999px;
  min-height: 48px;
  background: var(--accent);
  padding: 12px 25px;
  color: var(--ink);
  font-weight: 500;
}
.primary > span {
  font-size: 20px;
  transition: transform 200ms var(--ease);
}
.hero-skin {
  background: linear-gradient(120deg, #f6f1f8, #e6daf1 70%, #d7c3e9);
}
.hero-product {
  position: absolute;
  right: 3%;
  top: 10%;
  width: 46%;
  height: 85%;
  transform: rotate(9deg);
}
.hero-product img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hero-glow {
  background: radial-gradient(
    ellipse at 75% 55%,
    #f7e5d7 0,
    #e9cdec 40%,
    #eee4fb 75%
  );
}
.glow-art {
  position: absolute;
  display: grid;
  place-items: center;
  width: 42%;
  aspect-ratio: 1;
  right: 5%;
  top: 12%;
  border: 1px solid #ffffff94;
  border-radius: 50%;
  box-shadow:
    inset 0 0 90px #fff8,
    0 25px 70px #965f8c13;
  background: linear-gradient(145deg, #fff5, #fff0);
}
.glow-art span {
  position: absolute;
  font-size: clamp(90px, 16vw, 250px);
  font-weight: 300;
}
.glow-art span:nth-child(2) {
  font-size: 50px;
  left: 5%;
  top: 6%;
  color: #a36a8e;
}
.glow-art span:nth-child(3) {
  font-size: 70px;
  right: 0;
  bottom: 6%;
  color: #a36a8e;
}
.carousel-controls {
  position: absolute;
  bottom: 27px;
  left: clamp(24px, 4vw, 64px);
  right: 28px;
  display: flex;
  gap: 14px;
  align-items: center;
  z-index: 2;
}
.carousel-counter {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}
.carousel-counter > span {
  font-weight: 600;
}
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0;
}
.carousel-dots button {
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 44px;
  padding: 0 7px;
}
.carousel-dots button::after {
  content: "";
  height: 6px;
  width: 6px;
  border-radius: 10px;
  background: #610f3b45;
  transition:
    width 300ms var(--ease),
    background-color 300ms ease;
}
.carousel-dots button[aria-current]::after {
  width: 24px;
  background: var(--ink);
}
.icon-button {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #ffffffbd;
  font-size: 22px;
  line-height: 1;
}
.carousel-play {
  font-size: 16px;
  background: #ffffff75;
}
.carousel-arrows {
  display: flex;
  gap: 10px;
  margin-left: auto;
}
.hero-fixture {
  position: absolute;
  right: 30px;
  bottom: 84px;
  z-index: 2;
  font-size: 11px;
  color: #694159;
}
.discovery {
  padding: 60px var(--gutter) 54px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}
.section-heading h2 {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: 0;
}
.section-heading > p {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.category-grid button {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  background: #f0e4f7;
  border: 1px solid #e9ddeb;
  border-radius: 22px;
  text-align: left;
  padding: 28px;
}
.category-grid button:nth-child(2) {
  background: #f6e5e9;
  border-color: #efdae2;
}
.category-grid button:nth-child(3) {
  background: #fae9db;
  border-color: #f1dfd0;
}
.category-art {
  position: absolute;
  display: grid;
  place-items: center;
  right: 12px;
  top: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #ffffff50;
  font-size: 80px;
  font-weight: 300;
  color: #8e6283;
  transition: transform 450ms var(--ease);
}
.gift-art {
  transform: rotate(-12deg);
  color: #a36e83;
}
.glam-art {
  color: #a57864;
}
.category-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 110px;
  gap: 8px;
}
.category-copy small {
  font-size: 10px;
  letter-spacing: 1.3px;
}
.category-copy > span {
  font-size: 23px;
  font-weight: 500;
  line-height: 1.2;
  padding-right: 20px;
}
.category-arrow {
  position: absolute;
  bottom: 23px;
  right: 23px;
  font-size: 22px;
}
footer {
  margin: 0 var(--gutter);
  padding: 36px 0 88px;
  border-top: 1px solid #eadde6;
}
.footer-brand {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
footer p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 0;
}
.launcher {
  display: flex;
  align-items: center;
  gap: 12px;
  position: fixed;
  right: 28px;
  bottom: 24px;
  z-index: 3;
  padding: 8px 18px 8px 8px;
  border: 1px solid #ddc4f1;
  border-radius: 999px;
  background: #f8f2fff5;
  box-shadow:
    0 6px 28px #610f3b14,
    0 1px 3px #610f3b0a;
  font-size: 16px;
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms ease,
    opacity 200ms ease,
    background-color 200ms ease;
}
.launcher-spark,
.chat-spark {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9d6f9;
}
.launcher-spark {
  width: 38px;
  height: 38px;
  object-fit: cover;
}
.launcher-arrow {
  margin-left: 8px;
  font-size: 18px;
}
.chat-open .launcher {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}
.is-product .navigation {
  margin-bottom: 28px;
}
.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  padding: 0 var(--gutter) 40px;
}
.product-visual {
  background: #f1f2f3;
  border-radius: 24px;
  position: relative;
  align-self: start;
  overflow: hidden;
}
.product-visual img {
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 650ms var(--ease);
}
.fixture {
  position: absolute;
  bottom: 18px;
  left: 18px;
  font-size: 11px;
  background: white;
  padding: 5px 12px;
  border-radius: 20px;
  color: #746c77;
}
.product-info {
  padding: 16px 16px 0 0;
}
.breadcrumb {
  font-size: 12px;
  margin: 0 0 36px;
  color: var(--muted);
}
.brand {
  color: var(--muted);
  margin: 0 0 7px;
  font-size: 16px;
}
.product-info h1 {
  font-size: clamp(28px, 2.4vw, 38px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 0 0 20px;
}
.price {
  font-size: 30px;
  margin: 0;
}
.price sup {
  font-size: 16px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.swatches {
  display: flex;
  gap: 12px;
  margin: 18px 0 28px;
}
.swatches i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #603610;
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.swatches i:nth-child(2) {
  background: #915619;
  outline: none;
}
.swatches i:nth-child(3) {
  background: #f6dec7;
  outline: none;
}
.bag {
  width: 100%;
}
.bag.just-added {
  animation: button-confirm 350ms var(--ease);
}
#bag-status {
  min-height: 20px;
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0;
}
.delivery {
  border: 1px solid #ece2e9;
  border-radius: 20px;
  margin: 20px 0 28px;
}
.delivery p {
  padding: 16px 20px;
  margin: 0;
  font-size: 13px;
}
.delivery p + p {
  border-top: 1px solid #ece2e9;
}
.inline-widget {
  background: var(--lavender);
  border: 1px solid #ecdef7;
  padding: 26px;
  border-radius: 24px;
  margin-bottom: 30px;
}
.inline-widget h2 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 20px;
}
.inline-widget .composer {
  margin-top: 22px;
}
.product-info details {
  border-top: 1px solid #eadde6;
  padding: 20px 0;
}
.product-info summary {
  font-size: 16px;
}
.product-info details p {
  font-size: 14px;
  color: var(--muted);
}
.product-info details[open] p {
  animation: page-in 220ms ease;
}
.breadcrumb a,
.storefront-link a {
  color: inherit;
}
.breadcrumb a {
  margin-right: 12px;
}
.claims {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 14px 0 24px;
}
.claims li {
  font-size: 12px;
  border: 1px solid var(--line);
  background: var(--lavender);
  border-radius: 20px;
  padding: 4px 12px;
}
.storefront-link {
  font-size: 14px;
  margin: 0 0 24px;
}
.was-price {
  font-size: 0.55em;
  color: var(--muted);
  margin-left: 8px;
}
.listing {
  padding: 0 var(--gutter) 56px;
}
.listing h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin: 0 0 6px;
}
.plp-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chips button {
  border: 1px solid #e3d2ee;
  border-radius: 20px;
  padding: 7px 15px;
  font-size: 14px;
  min-height: 38px;
}
.filter-chips button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.plp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 26px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.product-card a {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.card-visual {
  position: relative;
  display: block;
  background: #f1f2f3;
  border-radius: 20px;
  overflow: hidden;
}
.card-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 450ms var(--ease);
}
.card-step {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  letter-spacing: 0.6px;
  background: #fffd;
  border-radius: 20px;
  padding: 3px 10px;
}
.card-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.card-copy .brand {
  font-size: 13px;
  margin: 0;
}
.card-title {
  font-size: 15px;
  line-height: 1.35;
}
.card-price {
  display: block;
  font-size: 18px;
  margin: 4px 0 0;
}
.card-price sup {
  font-size: 11px;
}
dialog {
  position: fixed;
  inset: 16px 16px 16px auto;
  margin: 0;
  height: calc(100dvh - 32px);
  max-height: calc(100dvh - 32px);
  width: min(500px, calc(100% - 32px));
  max-width: 100%;
  border: 1px solid #e6d5f3;
  border-radius: 24px;
  background: var(--lavender);
  color: var(--ink);
  padding: 0;
  box-shadow: -8px 16px 80px #38153124;
  overflow: hidden;
}
dialog[open] {
  display: flex;
  flex-direction: column;
  animation: drawer-in 380ms var(--ease) both;
}
dialog[open].is-closing {
  animation: drawer-out 240ms cubic-bezier(0.4, 0, 1, 1) both;
  pointer-events: none;
}
dialog::backdrop {
  background: #30203245;
  backdrop-filter: blur(5px);
  animation: backdrop-in 300ms ease both;
}
dialog.is-closing::backdrop {
  animation: backdrop-out 240ms ease both;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px 24px 16px;
}
.chat-spark {
  width: 46px;
  height: 46px;
  object-fit: cover;
  flex-shrink: 0;
}
.chat-header h2 {
  font-weight: 500;
  font-size: 23px;
  letter-spacing: -0.4px;
  margin: 0;
  line-height: 1.25;
}
.chat-header p {
  color: var(--muted);
  font-size: 12px;
  margin: 4px 0 0;
}
.chat-header .icon-button {
  margin-left: auto;
  background: transparent;
  font-size: 28px;
}
.chat-meta {
  padding: 0 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid #eadff2;
}
.chat-meta > span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #9880ab;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: middle;
}
.chat-meta button {
  border-radius: 20px;
  padding: 6px 12px;
  border: 1px solid #dfcfeb;
  color: var(--ink);
  font-size: 12px;
}
.messages {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: #d7c3e4 transparent;
}
.message {
  padding: 16px 18px;
  border-radius: 20px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.65;
  flex-shrink: 0;
  animation: message-in 260ms var(--ease) both;
}
.message.assistant {
  background: var(--bubble);
  align-self: stretch;
  border-bottom-left-radius: 6px;
}
.message.welcome {
  white-space: normal;
}
/* Rendered Markdown (assistant replies): block elements own the spacing, not raw newlines. */
.message.markdown {
  white-space: normal;
}
.message.markdown > * {
  margin: 0 0 0.7em;
}
.message.markdown > :last-child {
  margin-bottom: 0;
}
.message.markdown ul,
.message.markdown ol {
  padding-left: 1.3em;
}
.message.markdown li + li {
  margin-top: 0.3em;
}
.message.markdown .md-heading {
  font-weight: 700;
}
.message.markdown code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
  background: #6b3f8a14;
  padding: 0.1em 0.35em;
  border-radius: 5px;
}
.message.markdown pre {
  white-space: pre-wrap;
  background: #6b3f8a14;
  padding: 10px 12px;
  border-radius: 10px;
}
.message.markdown pre code {
  background: none;
  padding: 0;
}
.message.user {
  background: #fffafedd;
  border: 1px solid #e7d8f2;
  align-self: flex-end;
  max-width: 90%;
  border-bottom-right-radius: 6px;
}
.message.error {
  border: 1px solid #c17a92;
  color: #942046;
  background: #fff3f5;
}
.message.streaming:empty::after {
  content: "● ● ●";
  letter-spacing: 4px;
  color: #9774ac;
  animation: pulse 900ms ease-in-out infinite alternate;
}
.recommendation-carousel {
  min-width: 0;
  flex-shrink: 0;
}
.recommendation-carousel h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.recommendation-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(170px, 43%);
  gap: 12px;
  list-style: none;
  padding: 2px 2px 12px;
  margin: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 2px;
  scrollbar-width: thin;
  scrollbar-color: #bc9ad0 transparent;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.recommendation-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-width: 0;
  border: 1px solid #e7d8f2;
  border-radius: 16px;
  background: #fff;
  scroll-snap-align: start;
}
.recommendation-image {
  /* Flex (not grid) so the explicit height is a definite size the image's max-height: 100% can resolve against. */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 112px;
  color: #6c5b78;
  font-size: 12px;
}
.recommendation-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.recommendation-label {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--bubble);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.recommendation-title {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.recommendation-price {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.recommendation-link,
.recommendation-add {
  display: grid;
  place-items: center;
  min-height: 40px;
  padding: 8px;
  border-radius: 20px;
  font-size: 12px;
  text-align: center;
}
.recommendation-link {
  color: var(--ink);
  border: 1px solid #d9bfea;
}
.recommendation-add {
  color: #fff;
  background: var(--ink);
  border: 0;
}
.recommendation-note,
.recommendation-status {
  font-size: 11px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.recommendation-status:empty {
  display: none;
}
.suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: start;
}
.suggestions button {
  border: 1px solid #d9bfea;
  background: #fff8;
  border-radius: 25px;
  padding: 9px 13px;
  font-size: 13px;
  text-align: left;
  min-height: 38px;
}
.chat-bottom {
  padding: 10px 24px 18px;
  flex-shrink: 0;
  background: linear-gradient(#f8f2ffdd, var(--lavender));
}
/* One horizontally scrolling row of follow-up chips that bleeds to the drawer edges. */
.chat-suggestions {
  --chip-gutter: 24px;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 calc(-1 * var(--chip-gutter)) 6px;
  padding: 4px var(--chip-gutter) 6px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: var(--chip-gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.chat-suggestions[hidden] {
  display: none;
}
.chat-suggestions::-webkit-scrollbar {
  display: none;
}
.chat-suggestions.fade-start {
  mask-image: linear-gradient(90deg, transparent, #000 44px);
}
.chat-suggestions.fade-end {
  mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
}
.chat-suggestions.fade-start.fade-end {
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 44px,
    #000 calc(100% - 44px),
    transparent
  );
}
.chat-suggestions.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.chat-chip {
  flex: 0 0 auto;
  scroll-snap-align: start;
  white-space: nowrap;
  border: 1px solid #d9bfea;
  background: #fff8;
  border-radius: 25px;
  padding: 8px 14px;
  min-height: 38px;
  font-size: 13px;
  color: var(--ink);
  box-shadow: 0 2px 8px #9d68bd0d;
  animation: chip-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}
.chat-chip:nth-child(2) {
  animation-delay: 60ms;
}
.chat-chip:nth-child(3) {
  animation-delay: 120ms;
}
.chat-chip:nth-child(4) {
  animation-delay: 180ms;
}
.chat-chip:active {
  background: #e1c6ff;
}
.chat-suggestions.dragging .chat-chip {
  pointer-events: none;
}
@keyframes chip-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.composer {
  border: 1px solid #d8bce9;
  border-radius: 28px;
  padding: 7px 8px 7px 17px;
  display: flex;
  align-items: end;
  background: #fff9;
  gap: 8px;
  box-shadow: 0 3px 14px #9d68bd0a;
  transition:
    box-shadow 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}
.composer:focus-within {
  border-color: #a771bf;
  background: white;
  box-shadow: 0 0 0 3px #dec4ef55;
}
.composer input,
.composer textarea {
  background: transparent;
  border: 0;
  outline: none;
  min-width: 0;
  width: 100%;
  resize: none;
  padding: 7px 0;
  font-size: 16px;
  line-height: 24px;
  max-height: 110px;
  field-sizing: content;
}
.composer input:focus-visible,
.composer textarea:focus-visible {
  outline: none;
}
.composer input::placeholder,
.composer textarea::placeholder {
  color: #8c7188;
  opacity: 1;
}
.composer button {
  display: grid;
  place-items: center;
  background: #e9d4fa;
  border-radius: 50%;
  min-width: 38px;
  min-height: 38px;
  font-size: 23px;
}
.composer #stop {
  border-radius: 20px;
  font-size: 13px;
  padding: 6px 12px;
}
.disclaimer {
  text-align: center;
  font-size: 11px;
  margin: 12px 0 0;
  color: var(--muted);
}
.chat-status {
  min-height: 18px;
  margin: 0 0 8px 3px;
  font-size: 12px;
  color: var(--muted);
}
@media (hover: hover) and (pointer: fine) {
  .primary:hover {
    background: #d5b3f7;
    box-shadow: 0 5px 18px #610f3b12;
    transform: translateY(-2px);
  }
  .primary:hover > span {
    transform: translate(2px, -2px);
  }
  nav button:hover::after {
    transform: scaleX(1);
  }
  .outline:hover,
  .icon-button:hover,
  .chat-meta button:hover {
    background: #ebdcf7;
  }
  .suggestions button:hover,
  .chat-chip:hover {
    background: #ead9f6;
    border-color: #c4a0df;
    transform: translateY(-2px);
  }
  .category-grid button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px #610f3b0c;
  }
  .category-grid button:hover .category-art {
    transform: rotate(8deg) scale(1.05);
  }
  .product-visual:hover img {
    transform: scale(1.035);
  }
  .product-card a:hover .card-visual img {
    transform: scale(1.04);
  }
  .product-card a:hover .card-title {
    text-decoration: underline;
  }
  .filter-chips button:hover {
    border-color: #c4a0df;
  }
  .launcher:hover {
    transform: translateY(-3px);
    background: #f1e4ff;
    box-shadow: 0 10px 32px #610f3b20;
  }
  .composer button:hover {
    background: var(--ink);
    color: white;
  }
}
@keyframes pulse {
  to {
    opacity: 0.35;
  }
}
@keyframes page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes message-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateX(48px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes drawer-out {
  to {
    opacity: 0;
    transform: translateX(48px) scale(0.98);
  }
}
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes backdrop-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes button-confirm {
  50% {
    transform: scale(0.98);
    background: #d3b6eb;
  }
}
@media (max-width: 1150px) {
  nav {
    gap: 17px;
  }
  nav > span:last-child {
    display: none;
  }
  .nav-pill {
    gap: 22px;
    padding-inline: 20px;
  }
}
@media (max-width: 1000px) {
  nav > span {
    display: none;
  }
  .hero-copy {
    max-width: 58%;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 44px;
  }
  .category-grid {
    gap: 14px;
  }
  .category-grid button {
    padding: 22px;
  }
  .category-copy > span {
    font-size: 21px;
  }
  .section-heading > p {
    max-width: 210px;
    text-align: right;
  }
  .identity-note {
    margin-left: 0;
  }
}
@media (max-width: 700px) {
  .meet-hero {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
  .meet-avatar {
    grid-row: 1;
    width: min(70%, 280px);
  }
  .meet-cards {
    grid-template-columns: 1fr;
  }
  .harness {
    padding-block: 9px;
    gap: 7px 10px;
  }
  .poc-badge {
    letter-spacing: 1px;
  }
  .harness label {
    font-size: 11px;
  }
  .harness select,
  .harness input {
    padding: 5px 10px;
  }
  .identity-note {
    font-size: 11px;
  }
  .shipping {
    padding-block: 11px;
    font-size: 12px;
    justify-content: center;
  }
  .shipping > span + span {
    display: none;
  }
  .navigation,
  .is-product .navigation {
    height: auto;
    margin: 0 var(--gutter) 16px;
    gap: 10px;
  }
  .nav-pill {
    flex: 1;
    padding: 13px 16px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .logo {
    font-size: 28px;
  }
  nav {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
  }
  nav button {
    font-size: 14px;
  }
  .nav-chat-label {
    display: none;
  }
  #nav-chat {
    padding: 0;
    width: 46px;
    height: 46px;
    justify-content: center;
  }
  .hero {
    height: 580px;
    border-radius: 22px;
  }
  .hero-copy {
    max-width: calc(100% - 48px);
    bottom: 110px;
    left: 24px;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .hero-description {
    font-size: 16px;
    max-width: 290px;
    margin-block: 14px 20px;
  }
  .hero-image {
    background-position: 76% top;
    background-size: auto 72%;
    background-repeat: no-repeat;
    background-color: #efd6df;
  }
  .hero-hair::after {
    background: linear-gradient(
      0deg,
      #f2dfe8 5%,
      #f2dfe8eb 35%,
      transparent 78%
    );
  }
  .hero-product {
    width: 70%;
    height: 52%;
    top: -3%;
    right: -9%;
    transform: rotate(15deg);
  }
  .hero-skin .hero-copy {
    max-width: calc(100% - 48px);
  }
  .glow-art {
    width: 68%;
    right: -8%;
    top: -5%;
  }
  .glow-art span {
    font-size: 140px;
  }
  .glow-art span:nth-child(2) {
    font-size: 35px;
  }
  .glow-art span:nth-child(3) {
    font-size: 45px;
  }
  .hero-fixture {
    left: 24px;
    right: auto;
    bottom: 86px;
    font-size: 10px;
  }
  .carousel-controls {
    left: 20px;
    right: 20px;
    bottom: 22px;
    gap: 8px;
  }
  .carousel-counter {
    font-size: 11px;
    letter-spacing: 1px;
  }
  .carousel-dots button {
    min-width: 26px;
    padding: 0 5px;
  }
  .carousel-arrows {
    gap: 6px;
  }
  .discovery {
    padding-block: 36px;
  }
  .section-heading {
    display: block;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 29px;
  }
  .section-heading > p {
    text-align: left;
    max-width: none;
    margin-top: 10px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-grid button {
    min-height: 160px;
  }
  .category-copy {
    padding-top: 50px;
  }
  .category-art {
    width: 160px;
    height: 160px;
    top: -25px;
  }
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .product-visual img {
    max-height: 460px;
  }
  .product-info {
    min-width: 0;
    padding: 0 4px;
  }
  .breadcrumb {
    margin-bottom: 22px;
  }
  .inline-widget {
    padding: 22px;
  }
  .listing h1 {
    font-size: 32px;
  }
  .plp-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 14px;
  }
  .launcher {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    gap: 9px;
  }
  footer {
    padding-bottom: 100px;
  }
}
@media (max-width: 540px) {
  dialog {
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  .chat-header {
    padding: 20px 18px 14px;
  }
  .chat-header h2 {
    font-size: 22px;
  }
  .chat-meta {
    padding-inline: 20px;
  }
  .messages {
    padding-inline: 18px;
  }
  .chat-bottom {
    padding: 10px 18px max(16px, env(safe-area-inset-bottom));
  }
  .chat-suggestions {
    --chip-gutter: 18px;
  }
  /* Small-footprint recommendation carousel: narrower cards, shorter image, trimmed copy and note. */
  .recommendation-carousel h3 {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .recommendation-track {
    grid-auto-columns: minmax(124px, 34%);
    gap: 8px;
    padding-bottom: 10px;
  }
  .recommendation-card {
    padding: 8px;
    gap: 5px;
    border-radius: 12px;
  }
  .recommendation-image {
    height: 72px;
    font-size: 10px;
  }
  .recommendation-label {
    padding: 2px 6px;
    font-size: 10px;
  }
  .recommendation-title {
    font-size: 12px;
    line-height: 1.3;
    -webkit-line-clamp: 2;
  }
  .recommendation-price {
    font-size: 13px;
  }
  .recommendation-link,
  .recommendation-add {
    min-height: 32px;
    padding: 5px;
    font-size: 11px;
    border-radius: 16px;
  }
  .recommendation-note {
    display: none;
  }
}
@media (max-width: 360px) {
  .nav-pill {
    padding-inline: 12px;
    gap: 12px;
  }
  nav {
    gap: 12px;
  }
  .logo {
    font-size: 25px;
  }
  .hero-copy h1,
  .hero-copy h2 {
    font-size: 33px;
  }
  .carousel-counter {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Category nav: more listings ---------- */
nav {
  min-width: 0;
}
@media (max-width: 1350px) and (min-width: 701px) {
  nav {
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  nav button,
  nav > span {
    font-size: 15px;
  }
}

/* ---------- PDP Lucie routine widget ---------- */
.inline-widget {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.inline-widget::before {
  /* Soft moving glow behind the widget content. */
  content: "";
  position: absolute;
  inset: -40% -30% auto auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #e9d3ff 0%, #e9d3ff00 65%);
  z-index: -1;
  opacity: 0.7;
  animation: widget-glow 9s ease-in-out infinite alternate;
}
.widget-head {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.widget-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff, 0 4px 14px #9d68bd33;
}
.inline-widget .widget-head h2 {
  margin: 0;
}
.widget-sub {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.routine-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.routine-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 16px 9px 10px;
  border: 1px solid #d9bfea;
  border-radius: 25px;
  background: #fffc;
  color: var(--ink);
  font-size: 14px;
  box-shadow: 0 2px 10px #9d68bd12;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    opacity 220ms ease;
}
.routine-chip-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3e6ff, #e1c6ff);
  font-size: 13px;
}
.routine-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.routine-chip[aria-pressed="true"] .routine-chip-icon {
  background: #ffffff26;
}
.routine-chips.is-busy .routine-chip:not([aria-pressed="true"]) {
  opacity: 0.5;
}

/* Entrance: the widget floats up out of a soft blur, then its chips follow in a stagger. */
.inline-widget.is-entering {
  animation: widget-in 760ms cubic-bezier(0.2, 0.8, 0.2, 1) 220ms both;
}
.inline-widget.is-entering .widget-avatar {
  animation: avatar-in 900ms cubic-bezier(0.34, 1.56, 0.64, 1) 420ms both;
}
.inline-widget.is-entering .routine-chip,
.inline-widget.is-entering .composer {
  animation: chip-float 620ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(520ms + var(--i, 0) * 80ms);
}
@keyframes widget-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(6px);
  }
}
@keyframes avatar-in {
  from {
    opacity: 0;
    transform: scale(0.6) rotate(-12deg);
  }
}
@keyframes chip-float {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes widget-glow {
  to {
    transform: translate(-18%, 22%) scale(1.15);
  }
}

/* Answer panel: expands smoothly from zero height. */
.routine-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 480ms var(--ease),
    opacity 320ms ease,
    margin-top 480ms var(--ease);
}
.routine-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 18px;
}
.routine-panel-inner {
  min-height: 0;
  overflow: hidden;
}
.routine-card {
  position: relative;
  padding: 18px 20px;
  border-radius: 20px;
  background: #fffffff2;
  border: 1px solid #eadcf6;
  box-shadow: 0 10px 30px #9d68bd14;
}
.routine-card::before {
  /* Thin shimmering accent line while Lucie is writing. */
  content: "";
  position: absolute;
  inset: 0 18px auto;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #c99af0, #610f3b88, #c99af0, transparent);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 300ms ease;
}
.routine-card[aria-busy="true"]::before {
  opacity: 1;
  animation: shimmer 1.6s linear infinite;
}
.routine-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: var(--muted);
}
.routine-status:has(#routine-status-text:empty) {
  display: none;
}
.routine-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b77fdc;
  box-shadow: 0 0 0 0 #b77fdc66;
}
.routine-card[aria-busy="true"] .routine-pulse {
  animation: ring 1.4s ease-out infinite;
}
.routine-skeleton {
  display: grid;
  gap: 10px;
  padding: 4px 0 6px;
}
.routine-skeleton span {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f1e7f9 0%, #e5d3f3 40%, #f1e7f9 80%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
.routine-skeleton span:nth-child(1) {
  width: 62%;
}
.routine-skeleton span:nth-child(2) {
  width: 90%;
}
.routine-skeleton span:nth-child(3) {
  width: 76%;
}
.routine-answer {
  font-size: 15px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.routine-answer:empty {
  display: none;
}
.routine-answer > * {
  margin: 0 0 12px;
}
.routine-answer > :last-child {
  margin-bottom: 0;
}
.routine-answer .md-heading {
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  margin-top: 16px;
}
.routine-answer > .md-heading:first-child {
  margin-top: 0;
}
.routine-answer ol {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.routine-answer ol > li {
  position: relative;
  padding: 10px 12px 10px 46px;
  border-radius: 14px;
  background: var(--lavender);
}
.routine-answer ol > li::before {
  content: counter(list-item);
  position: absolute;
  left: 10px;
  top: 9px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.routine-answer ul {
  padding-left: 20px;
}
.routine-answer li + li {
  margin-top: 0;
}
.routine-answer ul li + li {
  margin-top: 6px;
}
/* Newly streamed blocks and list items fade up once. */
.md-enter {
  animation: md-enter 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes md-enter {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
/* Soft caret at the end of the text while streaming. */
.routine-answer.is-streaming > :last-child:not(ol):not(ul)::after,
.routine-answer.is-streaming > :is(ol, ul):last-child > li:last-child::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 4px;
  border-radius: 50%;
  background: #b77fdc;
  vertical-align: middle;
  animation: pulse 700ms ease-in-out infinite alternate;
}
.routine-products:empty {
  display: none;
}
.routine-products {
  margin-top: 16px;
  animation: md-enter 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.routine-products .recommendation-track {
  grid-auto-columns: minmax(160px, 31%);
}
.routine-followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.routine-followups .chat-chip {
  white-space: normal;
  text-align: left;
}
.routine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.routine-actions:not(:has(> :not([hidden]))) {
  display: none;
}
.routine-action {
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 22px;
  border: 1px solid #d9bfea;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  animation: chip-in 320ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.routine-action.primary-action {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.routine-error {
  color: #9b1c3a;
  font-size: 14px;
}
@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}
@keyframes ring {
  to {
    box-shadow: 0 0 0 9px #b77fdc00;
  }
}
@media (hover: hover) and (pointer: fine) {
  .routine-chip:hover:not(:disabled) {
    background: #ead9f6;
    border-color: #c4a0df;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px #9d68bd22;
  }
  .routine-chip[aria-pressed="true"]:hover {
    background: var(--ink);
  }
  .routine-action:hover {
    background: #ead9f6;
  }
  .routine-action.primary-action:hover {
    background: #7a1d50;
  }
}
@media (max-width: 540px) {
  .inline-widget {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .routine-chips {
    /* One swipeable row on phones. */
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -16px;
    padding: 2px 16px 6px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .routine-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }
  .routine-card {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .routine-answer {
    font-size: 14px;
  }
  .routine-answer ol > li {
    padding-left: 42px;
  }
  .routine-products .recommendation-track {
    grid-auto-columns: minmax(124px, 40%);
  }
  .routine-actions .routine-action {
    flex: 1 1 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .routine-panel {
    transition: none;
  }
}
