/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@300;400;500&display=swap");

:root {
  --paper: #f3efe8;
  --paper-deep: #e9e2d4;
  --paper-soft: #f8f5ed;
  --ink: #1a1410;
  --ink-2: #2a2018;
  --mid: #6b5d52;
  --mid-2: #968a7e;
  --rule: rgba(26, 20, 16, 0.14);
  --rule-soft: rgba(26, 20, 16, 0.07);
  --cream: #faf6ed;
  --wallpaper-1: #ede4d2;
  --wallpaper-2: #e5d8bf;
  --wallpaper-glow: rgba(255, 220, 170, 0.6);
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--wallpaper-1);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.world {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 80% at 20% 10%, var(--wallpaper-glow), transparent 70%),
    radial-gradient(80% 100% at 90% 90%, var(--wallpaper-2), transparent 60%),
    linear-gradient(180deg, var(--wallpaper-1), var(--wallpaper-2));
  z-index: 0;
}

.stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
}

.phone {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 100dvh;
  max-height: 920px;
  background: var(--paper);
  overflow: hidden;
  box-shadow:
    0 1px 0 var(--rule),
    0 30px 80px -20px rgba(40, 25, 15, 0.35);
}

@media (min-width: 720px) {
  .phone {
    border-radius: 36px;
    max-height: min(920px, calc(100vh - 80px));
  }
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.screen.enter {
  animation: screen-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes screen-in {
  from {
    transform: translateY(16px);
    opacity: 0;
    filter: blur(6px);
  }
  to {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

.scroll {
  flex: 1 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.scroll::-webkit-scrollbar {
  display: none;
}

.mobile-header-spacer {
  flex-shrink: 0;
  height: max(44px, env(safe-area-inset-top, 0px));
  width: 100%;
}

.q-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.serif-roman {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

@keyframes letter-in {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.letter {
  display: inline-block;
  animation: letter-in 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.goal-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
  margin-top: 28px;
}

.goal-card {
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  padding: 18px 14px;
  min-height: 88px;
  cursor: pointer;
  transition: all 0.3s ease;
  font: 500 12px/1.35 var(--sans);
  letter-spacing: -0.01em;
  text-align: left;
  color: var(--ink-2);
}

.goal-card.selected {
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
}

.eq-tile .vis svg {
  width: 56px;
  height: 56px;
}

.eyebrow-mono {
  font: 400 10px/1 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid);
}

.serif-display {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.body-text {
  font: 400 14px/1.55 var(--sans);
  color: var(--ink-2);
}

.caption {
  font: 400 12px/1.5 var(--sans);
  color: var(--mid);
}

.mono {
  font-family: var(--mono);
}

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
  width: 100%;
}

.row {
  display: flex;
  flex-direction: row;
}

.col {
  display: flex;
  flex-direction: column;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.gap-4 {
  gap: 16px;
}

.btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  cursor: pointer;
  background: transparent;
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper-soft);
  border-radius: 999px;
  padding: 18px 28px;
  width: 100%;
  justify-content: center;
}

.btn-primary:hover {
  background: var(--ember);
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-ghost {
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--ember);
}

.btn-arrow {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-soft);
  display: inline-grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  transition: all 0.4s ease;
}

.btn-arrow:hover {
  background: var(--ember);
  transform: scale(1.04);
}

.btn-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-arrow svg {
  width: 18px;
  height: 18px;
}

.option-list {
  display: flex;
  flex-direction: column;
}

.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-soft);
  cursor: pointer;
  transition: padding 0.3s ease;
}

.option:hover {
  padding-left: 8px;
}

.option.selected {
  color: var(--ember);
}

.option .num {
  font: 400 12px/1 var(--mono);
  color: var(--mid);
  width: 32px;
}

.option .label {
  flex: 1 1;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  color: var(--ink);
}

.option.selected .label {
  color: var(--ember);
}

.option .check {
  width: 18px;
  height: 18px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.option.selected .check {
  background: var(--ember);
  border-color: var(--ember);
  box-shadow: inset 0 0 0 4px var(--paper-soft);
}

.eq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.eq-tile {
  aspect-ratio: 1 / 1.05;
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.eq-tile .name {
  font: 500 12px/1.2 var(--sans);
}

.eq-tile .idx {
  font: 400 9px/1 var(--mono);
  color: var(--mid);
  letter-spacing: 0.1em;
}

.eq-tile.selected {
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
}

.eq-tile.selected .idx {
  color: var(--paper-soft);
  opacity: 0.6;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot-pill {
  width: 18px;
  height: 2px;
  background: var(--rule);
  transition: all 0.4s ease;
}

.dot-pill.active {
  background: var(--ink);
  width: 28px;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  color: var(--ink-2);
}

.chip.selected {
  background: var(--ink);
  color: var(--paper-soft);
  border-color: var(--ink);
}

.chip-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.preview-card {
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  padding: 18px;
  margin-bottom: 12px;
}

.preview-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  margin-bottom: 8px;
}

.preview-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-list li {
  font-size: 13px;
  color: var(--mid);
  padding-left: 12px;
  border-left: 2px solid var(--ember);
}

.bloom-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  pointer-events: none;
  animation: bloom-ring 3s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

@keyframes bloom-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

.account-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.account-form input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  font: 400 14px/1.4 var(--sans);
  color: var(--ink);
}

.account-form input:focus {
  outline: none;
  border-color: var(--ink);
}

.form-error {
  color: var(--ember);
  font-size: 12px;
}

/* Home screen — tab bar, placeholders, ritual steam */
.home-scroll {
  padding-bottom: 100px;
}

.tabbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  padding: 10px 22px 18px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  background: rgba(243, 239, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--rule);
  z-index: 30;
}

.tabbar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--mid-2);
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px;
  transition: color 0.2s ease;
}

.tabbar button .ti {
  width: 22px;
  height: 22px;
  opacity: 0.85;
}

.tabbar button.active {
  color: var(--ink);
}

.tabbar button.active .ti {
  opacity: 1;
}

.tabbar .center-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-soft);
  display: grid;
  place-items: center;
  margin: -22px auto 0;
  position: relative;
  border: 0;
  cursor: pointer;
}

.tabbar .center-btn::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid var(--rule);
}

.tabbar .center-btn:hover {
  background: var(--accent);
}

@keyframes steam-rise {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  100% {
    transform: translate(var(--dx, 8px), -120px) scale(1.6);
    opacity: 0;
  }
}

.steam {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent 70%);
  filter: blur(8px);
  animation: steam-rise 4s ease-in-out infinite;
  pointer-events: none;
}

.placeholder {
  background: repeating-linear-gradient(
    45deg,
    var(--paper-deep),
    var(--paper-deep) 6px,
    var(--paper) 6px,
    var(--paper) 12px
  );
  position: relative;
  overflow: hidden;
}

.placeholder .label {
  position: absolute;
  left: 12px;
  top: 12px;
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  background: var(--paper);
  padding: 4px 6px;
  border: 1px solid var(--rule);
}

/* Cards — ported from prototype/design-system.html for Partner + Café journeys */
.card {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  padding: 24px;
  position: relative;
}

.card-eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-2);
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.card-body {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
}

.card-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-meta {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-2);
}

/* Badges — status pills for Partner orders + Café recommendation labels */
.badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  gap: 4px;
}

.badge-ink {
  background: var(--ink);
  color: var(--paper-soft);
}

.badge-ember {
  background: var(--ember);
  color: #fff;
}

.badge-soft {
  background: var(--ember-soft);
  color: var(--ember);
}

.badge-outline {
  border: 1px solid var(--rule);
  color: var(--mid);
}

/* Skeleton / loading states */
.skeleton-box {
  background: repeating-linear-gradient(
    45deg,
    var(--paper-deep) 0px,
    var(--paper-deep) 4px,
    transparent 4px,
    transparent 10px
  );
  border: 1px solid var(--rule-soft);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.skeleton-pulse {
  background: linear-gradient(90deg, var(--paper-deep) 25%, var(--paper) 50%, var(--paper-deep) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s ease-in-out infinite;
}

/* Quantity stepper — Partner catalogue/cart, Café customise */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 6px 8px;
}

.qty-stepper button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--paper-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qty-stepper button:hover {
  background: var(--ember);
}

.qty-stepper button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty-stepper button svg {
  width: 11px;
  height: 11px;
}

.qty-stepper .val {
  font: 500 13px/1 var(--mono);
  min-width: 14px;
  text-align: center;
}

/* Status timeline — Partner order progression, Café tracking */
.status-timeline {
  display: flex;
  flex-direction: column;
}

.status-timeline.horizontal {
  flex-direction: row;
  align-items: flex-start;
}

.status-step {
  display: flex;
  gap: 14px;
  flex: 1 1;
}

.status-timeline.horizontal .status-step {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.status-step .marker {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--paper-soft);
  color: var(--mid);
  transition: all 0.3s ease;
}

.status-step .marker svg {
  width: 11px;
  height: 11px;
}

.status-step.done .marker {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-soft);
}

.status-step.active .marker {
  background: var(--ember);
  border-color: var(--ember);
  color: #fff;
}

.status-step .line {
  flex: 1 1;
  width: 1px;
  background: var(--rule);
  margin: 4px 0;
}

.status-timeline.horizontal .status-step .line {
  height: 1px;
  width: 100%;
  margin: 0;
  position: absolute;
  top: 11px;
  left: 50%;
  right: -50%;
}

.status-step.done .line {
  background: var(--ink);
}

.status-step .step-body {
  padding-bottom: 22px;
}

.status-timeline.horizontal .status-step .step-body {
  padding-bottom: 0;
}

.status-step .step-label {
  font: 500 13px/1.2 var(--sans);
  color: var(--ink-2);
}

.status-step.pending .step-label {
  color: var(--mid-2);
}

.status-timeline.horizontal .status-step {
  position: relative;
}

/* Star rating */
.star-rating {
  display: inline-flex;
  gap: 6px;
}

.star-rating button {
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 2px;
  color: var(--rule);
  transition: color 0.2s ease, transform 0.15s ease;
}

.star-rating button.filled {
  color: var(--ember);
}

.star-rating button:hover {
  transform: scale(1.08);
}

.star-rating svg {
  width: 28px;
  height: 28px;
}

/*!*******************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/styles/tokens.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************/
/* Hario brand accent — design system v1 */
:root {
  --accent: #df1f79;
  --accent-soft: rgba(223, 31, 121, 0.12);
  --accent-deep: #a8165f;
  --accent-muted: #e8a0c4;
  --accent-wash: #f5d4e4;
  /* Legacy token name used across mock + app */
  --ember: var(--accent);
  --ember-soft: var(--accent-soft);

  /* Added for PE2 #14622 (card 10) — used by the ported Q. auth-kit
     components in frontend/src/components/auth-kit/. Additive only:
     nothing existing read these names before this card, so no approved
     screen's appearance changes. */
  --rule-strong: rgba(26, 20, 16, 0.24);
  --disabled-bg: #efece6;
  --disabled-fg: var(--mid-2);
  --disabled-border: rgba(26, 20, 16, 0.12);
  --sage: #3d5a40;
  --sage-soft: rgba(61, 90, 64, 0.08);
  --error: #c2272d;
  --rose-deep: var(--accent-deep);
}

