:root {
  color-scheme: light;
  --bg: #fff7f8;
  --paper: #fffafb;
  --ink: #543b45;
  --muted: #8c7079;
  --accent: #a85572;
  --accent-dark: #88405d;
  --accent-soft: #f6dce6;
  --cup-color: #f1c3d3;
  --cup-outline: #b77c91;
  --peach: #f8e1d4;
  --mint: #e2ecdf;
  --line: #eedce3;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-synthesis: none;
  font-weight: 400;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: not-allowed; opacity: .42; }
button, a, input { outline-offset: 5px; }
:focus-visible { outline: 3px solid var(--accent); }
h1:focus { outline: none; }
button svg, a svg { flex-shrink: 0; }
button { touch-action: manipulation; }
::selection { background: #f0c3d4; color: #683349; }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 238px; flex-shrink: 0; padding: 42px 22px 22px; background: #f9e7ed; border-right: 1px solid var(--line); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; text-decoration: none; color: #78445a; padding: 0 12px; font-family: Georgia, serif; font-weight: 600; font-size: 29px; line-height: .9; letter-spacing: -1.4px; }
.brand-icon { width: 47px; height: 53px; background: #f1cbd9; border-radius: 20px 20px 15px 15px; display: grid; place-items: center; }
.brand-second { display: block; font-size: 32px; padding-top: 3px; }
.brand-dot { color: #d191a8; }
nav { margin-top: 61px; }
.nav-caption { color: #8d817e; font-size: 9px; font-weight: 600; letter-spacing: 1.65px; padding: 0 13px; margin-bottom: 18px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; background: none; border: 0; border-radius: 11px; padding: 13px 12px; margin-bottom: 6px; text-align: left; font-size: 12px; color: #756c69; }
.nav-item.active { background: #f1d0dc; color: #914861; font-weight: 600; }
.nav-item:hover { background: #f5dce5; }
.nav-count { margin-left: auto; background: #fff8; min-width: 20px; text-align: center; border-radius: 6px; font-size: 11px; }
.sidebar-bottom { margin-top: auto; padding: 35px 12px 27px; }
.sidebar-flower { color: #edb4c9; width: 57px; margin-bottom: 15px; transform: rotate(-13deg); }
.sidebar-bottom p { font-family: Georgia, serif; font-size: 22px; line-height: 1.35; margin: 0 0 11px; color: #645567; }
.sidebar-bottom > span { font-size: 10px; color: #938783; }
.sidebar-note { border-top: 1px solid #e4dbd3; padding: 20px 9px 0; font-size: 10px; color: #938783; }
.profile { padding-top: 19px; border-top: 1px solid #e2d9d2; display: flex; gap: 9px; align-items: center; }
.avatar { display: grid; place-items: center; height: 34px; width: 34px; background: #f3cedb; border-radius: 50%; color: #985469; }
.profile strong { display: block; font-size: 12px; font-weight: 600; }
.profile small { font-size: 9px; color: var(--muted); }
.profile .icon-button { margin-left: auto; height: 30px; width: 27px; background: none; }
.main-shell { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 89px; padding: 20px 48px; border-bottom: 1px solid var(--line); gap: 15px; }
.breadcrumb { font-size: 11px; color: #8a807b; }
.breadcrumb span { margin: 0 12px; color: #c7bcb3; }
.header-right { display: flex; align-items: center; gap: 18px; }
.open-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; color: #687e62; white-space: nowrap; background: #eaf0e4; border: 1px solid #dde6d6; padding: 8px 12px; border-radius: 30px; }
.open-badge i { width: 6px; height: 6px; background: #7c9b6c; border-radius: 50%; box-shadow: 0 0 0 3px #7c9b6c12; }
.demo-badge { font-size: 8px; letter-spacing: 1.35px; color: #9b8d87; }
main { flex: 1; padding: 45px 48px 35px; width: 100%; max-width: 1500px; margin: 0 auto; }
footer { display: flex; align-items: center; justify-content: space-between; padding: 18px 48px 23px; color: #9b8b85; font-size: 9px; letter-spacing: .2px; gap: 10px; }
footer span:first-child { display: flex; align-items: center; gap: 6px; }
.eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 2px; color: #a56c83; display: inline-flex; align-items: center; gap: 8px; }
.page-heading { margin-bottom: 30px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(31px, 3vw, 43px); letter-spacing: -1.5px; line-height: 1.18; margin: 16px 0 15px; color: #633e4c; }
.page-heading p { color: var(--muted); font-size: 12px; line-height: 1.9; max-width: 450px; margin: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; background: var(--accent); color: #fffafc; border: 1px solid var(--accent); border-radius: 11px; font-size: 12px; font-weight: 500; min-height: 48px; padding: 14px 24px; box-shadow: 0 5px 11px #a855720c; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover:not(:disabled) { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 7px 17px #a855721b; }
.button:active:not(:disabled) { transform: translateY(0); }
.button.secondary { background: transparent; border-color: #e4b7c8; color: #9a536d; box-shadow: none; }
.button.secondary:hover { background: #fbe5ed; }
.back-link, .text-button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 8px 0; background: none; color: var(--accent); font-size: 11px; font-weight: 500; }
.back-link { color: #8b7d78; }
.back-link:hover, .text-button:hover { color: var(--accent-dark); }
.icon-button { display: inline-grid; place-items: center; width: 35px; height: 35px; border: 0; border-radius: 9px; background: #f9e2eb; color: var(--accent); }
.fine-print { font-size: 10px !important; color: #9b8d87 !important; line-height: 1.7 !important; }
.helper-note { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #91827c; line-height: 1.8; }
.helper-note svg { flex-shrink: 0; }
.peach { background: var(--peach); color: #a7775b; }
.lavender { background: var(--accent-soft); color: #b4768d; }
.mint { background: var(--mint); color: #788b6d; }

.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; align-items: center; gap: 45px; max-width: 1100px; margin: 0 auto; }
.welcome-copy { padding: 12px 0 5px 13px; }
.tiny-flower { font-size: 21px; line-height: 1; }
.welcome-copy h1 { font-size: clamp(57px, 5.6vw, 82px); line-height: 1.06; letter-spacing: -3.3px; margin-top: 23px; margin-bottom: 24px; }
.welcome-copy h1 em { color: #c27d99; font-weight: 400; }
.welcome-copy > p { font-size: 13px; line-height: 1.9; color: #93827b; }
.welcome-actions { display: flex; flex-direction: column; align-items: stretch; max-width: 300px; gap: 12px; margin-top: 29px; }
.welcome-actions .button { min-height: 49px; }
.welcome-actions .button:first-child { justify-content: space-between; }
.welcome-divider { width: 44px; height: 1px; background: #d6c7bd; margin: 27px 0 21px; }
.welcome-promise { display: flex; align-items: center; gap: 11px; font-size: 10px; color: #998b80; line-height: 1.8; }
.welcome-promise strong { font-weight: 400; color: #77675f; }
.mini-round { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f8e0e9; color: #bf7a94; }
.welcome-art { position: relative; min-height: 480px; border-radius: 170px 170px 36px 36px; background: #f8dce6; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; }
.welcome-art:before { content: ""; width: 330px; height: 330px; border-radius: 50%; background: #fff0f5; position: absolute; top: 83px; z-index: -1; }
.welcome-art .cup-art { width: 105%; max-width: 460px; margin-top: 20px; transform: rotate(-8deg); }
.art-label { position: absolute; top: 49px; font-family: Georgia, serif; font-size: 14px; color: #a0849f; font-style: italic; letter-spacing: .3px; transform: rotate(-6deg); }
.welcome-orbit { width: 270px; height: 330px; border: 1px dashed #dfacc0; border-radius: 50%; position: absolute; transform: rotate(35deg); z-index: -1; opacity: .6; }
.hero-flower { width: 90px; position: absolute; right: 21px; top: 112px; color: #dbc694; transform: rotate(14deg); z-index: 2; }
.hero-sparkle { position: absolute; left: 33px; top: 133px; color: #d797b0; transform: rotate(10deg); }
.hero-sticker { display: flex; gap: 7px; align-items: center; background: #fcf6df; color: #9e8c62; padding: 11px 18px; border: 1px solid #e6d8b4; border-radius: 7px; transform: rotate(-8deg); position: absolute; bottom: 94px; left: 30px; font-size: 11px; box-shadow: 0 3px 8px #8e779414; }
.art-caption { position: absolute; bottom: 33px; font-size: 10px; letter-spacing: 1px; color: #9a829b; }
.welcome-bottom { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 28px; margin: 40px auto 0; max-width: 1100px; }
.welcome-bottom > span { color: #cf98af; font-family: Georgia, serif; font-size: 18px; padding-left: 10px; }
.welcome-bottom strong { font: 500 11px "Avenir Next", Avenir, sans-serif; color: #73646a; margin-left: 9px; }
.welcome-bottom small { display: block; margin: 7px 0 0 33px; font: 10px "Avenir Next", Avenir, sans-serif; color: #a09189; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .95fr); gap: 45px; align-items: start; max-width: 1150px; margin: 0 auto; }
.builder { padding-top: 1px; min-width: 0; }
.stepper { display: flex; list-style: none; padding: 0; margin: 0 0 40px; }
.stepper li { display: flex; align-items: center; gap: 6px; flex: 1; position: relative; color: #aa9f98; }
.stepper li:not(:last-child):after { content: ""; height: 1px; background: #e6dcd5; flex: 1; margin: 0 8px; }
.stepper li > span { background: #efe9e3; border-radius: 50%; width: 25px; height: 25px; flex-shrink: 0; display: grid; place-items: center; font-size: 9px; }
.stepper small { font-size: 9px; white-space: nowrap; }
.stepper li.current { color: var(--accent); }
.stepper li.current > span { background: #f2ccdb; color: var(--accent); }
.stepper li.complete > span { background: #e2ebdc; color: #7b8f6a; }
.stepper li.complete:after { background: #e5b5c8; }
.builder .page-heading h1 { font-size: clamp(30px, 2.8vw, 40px); }
.builder .page-heading { margin-bottom: 29px; }
.temperature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.choice-card { position: relative; padding: 22px 15px; border: 1px solid #e5dbd3; background: var(--paper); border-radius: 16px; text-align: center; display: flex; flex-direction: column; align-items: center; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; min-width: 0; }
.choice-card:hover { transform: translateY(-3px); border-color: #dc9fb7; box-shadow: 0 6px 20px #b4768d0b; }
.choice-card.selected { border: 1.5px solid #c7849e; background: #fce6ef; box-shadow: 0 0 0 2px #d590ac17; padding: 21.5px 14.5px; }
.choice-check { width: 19px; height: 19px; border: 1px solid #e4dbd2; border-radius: 50%; position: absolute; right: 12px; top: 12px; display: grid; place-items: center; background: #fffcfa; }
.selected .choice-check { background: var(--accent); color: white; border-color: var(--accent); }
.choice-card > strong { font-size: 13px; font-weight: 600; color: #675365; margin: 6px 0 7px; }
.choice-detail { font-size: 10px; color: #94827b; line-height: 1.7; }
.temperature-art { width: 100%; height: 145px; display: grid; place-items: center; border-radius: 90px 90px 20px 20px; margin-bottom: 7px; }
.temperature-art .cup-art { height: 167px; width: 174px; margin-top: -15px; }
.temperature-art.hot-card { background: #fbe3e7; }
.temperature-art.cold-card { background: #e8eae7; }
.builder-actions { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 33px; padding-top: 25px; border-top: 1px solid var(--line); }
.customer-note { color: #9e8e85; font-size: 10px; margin-top: 24px; }
.customer-note strong { font-weight: 500; color: #7e6d73; }
.preview-panel { background: #f9e1ea; border: 1px solid #f0ccd9; border-radius: 24px; padding: 28px 24px 0; min-height: 555px; overflow: hidden; position: sticky; top: 25px; }
.preview-top { display: flex; flex-direction: column; align-items: center; gap: 11px; text-align: center; }
.preview-top .eyebrow { font-size: 9px; color: #ad7289; }
.handwritten { font: italic 13px Georgia, serif; color: #ac94aa; display: flex; align-items: center; gap: 4px; }
.cup-stage { position: relative; height: 287px; margin: 12px -12px 0; display: grid; place-items: center; isolation: isolate; }
.cup-stage > .cup-art { width: 320px; max-width: 110%; height: 303px; position: relative; z-index: 2; }
.art-halo { width: 235px; height: 235px; background: #fff2f6; border-radius: 50%; position: absolute; top: 32px; left: 50%; transform: translateX(-50%); z-index: -1; }
.art-sparkle { position: absolute; color: #dba0b8; }
.sparkle-one { top: 83px; left: 12%; transform: rotate(-9deg); }
.sparkle-two { bottom: 75px; right: 12%; }
.art-dot { position: absolute; right: 15%; top: 60px; width: 8px; height: 8px; background: #dcc895; border-radius: 50%; }
.animation-caption { min-height: 31px; text-align: center; font-size: 10px; color: #a66680; padding-top: 5px; }
.recipe { background: #fffbf8b3; border: 1px solid #e7dfe6; border-radius: 13px; padding: 20px 19px; margin: 4px 0 20px; text-align: center; }
.recipe .eyebrow { font-size: 8px; letter-spacing: 1.5px; color: #a59199; }
.recipe h3 { margin: 7px 0 13px; font: 24px Georgia, serif; color: #9b5d76; }
.recipe-tags { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.recipe-tags > span { display: flex; align-items: center; gap: 4px; background: #f9e2eb; padding: 5px 8px; border-radius: 6px; font-size: 9px; color: #a2697f; }
.preview-foot { margin: 0 -24px; padding: 15px 12px; border-top: 1px solid #efc9d8; background: #f3d1de; display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 9px; color: #a1667e; }
.name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-top: 37px; }
.name-fields label { display: flex; flex-direction: column; gap: 10px; font-size: 11px; color: #7c647d; font-weight: 500; }
.name-fields input { width: 100%; border: 1px solid #dacec9; padding: 15px 13px; border-radius: 10px; background: #fffcf8; color: #574353; font-size: 13px; }
.name-fields input::placeholder { color: #b3a39e; }
#name-form .helper-note { margin: 18px 0 30px; }
.builder > .back-link { margin-bottom: 28px; }
.drink-options { display: flex; flex-direction: column; gap: 12px; }
.choice-card.horizontal { display: grid; grid-template-columns: 55px 1fr; gap: 0 15px; text-align: left; padding: 18px 36px 18px 18px; }
.choice-card.horizontal.selected { padding: 17.5px 35.5px 17.5px 17.5px; }
.horizontal .choice-check { top: 50%; transform: translateY(-50%); }
.drink-icon { width: 55px; height: 55px; border-radius: 12px; display: grid; place-items: center; grid-row: span 2; }
.horizontal > strong { margin: 0; align-self: end; }
.horizontal > .choice-detail { align-self: start; margin-top: 4px; }
.syrup-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.syrup-options .choice-card { padding: 16px 8px; }
.syrup-options .choice-card.selected { padding: 15.5px 7.5px; }
.syrup-options .choice-card > strong { font-size: 11px; }
.syrup-options .choice-detail { font-size: 8px; }
.syrup-options .choice-check { right: 7px; top: 7px; width: 15px; height: 15px; }
.syrup-swatch { display: grid; place-items: center; width: 37px; height: 43px; margin: 2px 0 5px; color: #8d8179; }
.syrup-swatch > span { width: 24px; height: 34px; border-radius: 4px 4px 7px 7px; background: var(--swatch); position: relative; border: 2px solid #fff7; box-shadow: 0 3px 7px #7152431c; }
.syrup-swatch > span:before { content: ""; position: absolute; width: 13px; height: 7px; top: -7px; left: 3.5px; border-radius: 2px 2px 0 0; background: #826d69; }
.syrup-swatch > span:after { content: ""; position: absolute; width: 12px; height: 10px; top: 10px; left: 4px; border-radius: 2px; background: #fff8eaa8; }
.pump-control { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 21px 0 8px; margin-top: 9px; }
.pump-control > div:first-child { display: flex; flex-direction: column; gap: 6px; }
.pump-control strong { font-size: 12px; font-weight: 500; color: #766178; }
.pump-control span { font-size: 9px; color: #a18b7d; }
.stepper-control { display: flex; align-items: center; gap: 15px; background: #fffaf6; border: 1px solid var(--line); padding: 5px; border-radius: 11px; }
.stepper-control output { font: 22px Georgia, serif; min-width: 18px; text-align: center; color: var(--accent); }
.milk-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.milk-options .choice-card { padding: 25px 9px 18px; }
.milk-options .choice-card.selected { padding: 24.5px 8.5px 17.5px; }
.milk-options .choice-detail { font-size: 9px; }
.milk-illustration { width: 58px; height: 83px; background: #f7ebd5; clip-path: polygon(15% 0, 85% 0, 100% 19%, 100% 100%, 0 100%, 0 19%); border-radius: 4px; margin: 7px 0 15px; display: flex; flex-direction: column; align-items: center; justify-content: end; padding-bottom: 10px; gap: 8px; color: #ad9268; position: relative; }
.milk-illustration:before { content: ""; position: absolute; top: 16px; left: 0; right: 0; height: 2px; background: #fff8; }
.milk-illustration span { font-size: 8px; }
.milk-illustration.oat { background: #ead9b9; color: #a3875a; }
.milk-illustration.soy { background: #dfe7d2; color: #8d9e74; }
.allergy-note { display: flex; align-items: center; gap: 10px; border: 1px solid #e5e8dc; background: #f0f2e9; color: #8b937c; border-radius: 10px; padding: 13px 14px; margin-top: 25px; font-size: 9px; line-height: 1.7; }
.allergy-note svg { flex-shrink: 0; }

.center-page { max-width: 970px; margin: 35px auto 0; }
.center-page .page-heading { margin-bottom: 40px; }
.center-page .page-heading p { max-width: none; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 710px; }
.role-grid .choice-card { min-height: 240px; padding: 32px 25px; }
.role-grid .choice-card > strong { font: 23px Georgia, serif; margin: 20px 0 12px; }
.role-grid .choice-detail { font-size: 11px; max-width: 200px; }
.role-grid .choice-check { display: none; }
.role-visual { width: 80px; height: 80px; border-radius: 26px; display: grid; place-items: center; transform: rotate(-5deg); }
.role-visual svg { transform: rotate(5deg); }
.center-page > .helper-note { margin-top: 25px; }
.demo-note { display: flex; align-items: center; justify-content: space-between; padding: 20px; gap: 16px; border: 1px dashed #d9cbdc; border-radius: 12px; margin-top: 35px; font-size: 10px; color: #9b8a9d; }
.demo-note > span { display: flex; gap: 9px; align-items: center; }
.demo-note .text-button { flex-shrink: 0; }
.queue-page { max-width: 1100px; margin: 0 auto; }
.queue-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-top: 35px; margin-bottom: 23px; }
.queue-tabs { display: flex; gap: 7px; }
.pill-tab { border: 1px solid transparent; background: none; padding: 9px 12px; border-radius: 30px; color: #9c8a86; font-size: 11px; display: flex; gap: 10px; align-items: center; }
.pill-tab.active { background: var(--accent-soft); border-color: #e7b9cb; color: var(--accent); }
.pill-tab span, .count-bubble { display: inline-grid; place-items: center; background: #fffbf8a1; min-width: 21px; height: 21px; border-radius: 7px; font: 10px "Avenir Next", Avenir, sans-serif; color: #93799d; }
.queue-title { font-size: 14px; color: #79697b; }
.queue-title .count-bubble { margin-left: 8px; background: var(--accent-soft); }
.ticket-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.ticket { background: #fffdf9; border: 1px solid #e4dbd2; border-radius: 15px; padding: 17px 18px 0; overflow: hidden; min-width: 0; transition: border-color .2s, background .2s; }
.ticket.is-selected { border-color: #ce91aa; background: #fce7ef; box-shadow: 0 0 0 1px #ce91aa; }
.ticket.is-ready { background: #f3f6ed; border-color: #dde5d4; }
.ticket[data-swipe] { touch-action: pan-y; user-select: none; }
.ticket-top { display: flex; align-items: center; justify-content: space-between; }
.ticket-number { font-size: 11px; color: #a59388; letter-spacing: 1px; }
.ticket-select { width: 28px; height: 28px; display: grid; place-items: center; cursor: pointer; }
.ticket-select input { accent-color: var(--accent); width: 17px; height: 17px; cursor: pointer; }
.ticket h3 { font: 23px Georgia, serif; margin: 17px 0 14px; color: #6a576a; overflow-wrap: anywhere; }
.ticket h3 span { font-size: 15px; color: #a08a95; }
.ticket-drink { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #8c756c; }
.ticket-tags { display: flex; flex-wrap: wrap; gap: 5px; min-height: 58px; align-content: start; padding: 15px 0; }
.ticket-tags > span { font-size: 9px; padding: 5px 8px; border-radius: 5px; }
.ticket-tags > span:not(.peach):not(.mint) { background: #fae3ec; color: #a36b80; }
.ticket-bottom { display: flex; align-items: center; gap: 5px; border-top: 1px dashed #e1d7cf; padding: 13px 0; color: #a18d83; font-size: 8px; min-height: 43px; }
.ticket-bottom .text-button { padding: 0; font-size: 9px; margin-left: auto; }
.ticket-bottom svg { flex-shrink: 0; }
.queue-action-bar { position: sticky; bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: #fce6eef5; border: 1px solid #ecc2d3; border-radius: 13px; padding: 14px 18px; margin-top: 27px; box-shadow: 0 4px 22px #a855720a; z-index: 3; backdrop-filter: blur(10px); }
.queue-action-bar > span { font-size: 11px; color: #9c819f; }
.queue-action-bar strong { color: var(--accent); margin-right: 4px; }
.queue-action-bar .button { min-height: 40px; padding: 11px 18px; font-size: 11px; }
.milk-group { margin-bottom: 26px; }
.milk-group h2, .ready-heading h2 { display: flex; align-items: center; gap: 10px; font: 21px Georgia, serif; color: #82718a; margin: 22px 0 15px; }
.milk-group h2 .count-bubble { background: var(--accent-soft); }
.ready-heading { margin: 35px 0 20px; }
.ready-heading h2 { color: #809573; }
.status-pill { background: #e6eddc; padding: 5px 8px; font-size: 8px; color: #7c916c; border-radius: 6px; }
.empty-state { border: 1px dashed #e0d6cc; border-radius: 18px; padding: 39px 20px; text-align: center; }
.empty-flower { display: block; width: 62px; color: #efb9cd; margin: 0 auto 17px; }
.empty-state h3 { font: 26px Georgia, serif; color: #8f7495; margin: 0 0 12px; }
.empty-state p { font-size: 11px; line-height: 1.8; color: #a19085; margin: 0; }
.local-note { margin-top: 25px; }
.status-page { max-width: 660px; margin: 7px auto 0; text-align: center; }
.status-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: var(--accent-soft); border: 1px solid #edbed0; padding: 8px 13px; color: #ad6e88; border-radius: 25px; font-size: 9px; letter-spacing: 1px; }
.status-page h1 { font-size: 45px; margin: 21px 0 14px; }
.status-page > p { font-size: 12px; color: #a28c80; line-height: 1.8; }
.status-art { position: relative; isolation: isolate; height: 238px; display: grid; place-items: center; }
.status-art .art-halo { width: 220px; height: 220px; top: 10px; background: #f8dce8; }
.status-art .cup-art { height: 240px; width: 270px; margin-top: -7px; }
.status-flower { position: absolute; color: #dec994; width: 65px; top: 35px; right: calc(50% - 130px); transform: rotate(17deg); }
.preparing-dots { display: flex; position: absolute; bottom: 17px; gap: 5px; }
.preparing-dots i { width: 5px; height: 5px; border-radius: 50%; background: #d394ae; animation: dot 1.8s ease-in-out infinite; }
.preparing-dots i:nth-child(2) { animation-delay: .2s; }
.preparing-dots i:nth-child(3) { animation-delay: .4s; }
.status-recipe { background: #fffaf6; border: 1px solid #e6dcd3; border-radius: 14px; padding: 20px; text-align: left; max-width: 495px; margin: 9px auto 20px; }
.status-recipe > strong { display: flex; justify-content: space-between; font-size: 13px; color: #7c667c; gap: 15px; }
.status-recipe > strong span { font-size: 11px; color: #b19c8d; }
.status-recipe > p { font-size: 11px; color: #a18b7d; line-height: 1.8; }
.journey { display: flex; justify-content: space-between; gap: 8px; padding-top: 16px; margin-top: 17px; border-top: 1px dashed #ded1c7; }
.journey > span { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #c1b5ae; }
.journey > span.done { color: #819972; }
.journey > span.current { color: #b77791; }
.status-actions { display: flex; align-items: center; justify-content: center; gap: 19px; flex-wrap: wrap; }
.status-actions .button { min-height: 40px; padding: 10px 17px; font-size: 10px; }
.status-actions .text-button { font-size: 9px; }
.demo-tag { font-size: 7px; padding: 3px 4px; background: #f9e0ea; border-radius: 4px; color: #b47b92; }
.status-page > .helper-note { justify-content: center; font-size: 9px; margin-top: 20px; }
.track-button { margin-top: 8px; }
.section-action { margin-top: 25px; }
.toast { position: fixed; bottom: 24px; left: calc(50% + 80px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: min(560px, 85vw); padding: 15px 22px; border-radius: 12px; background: #98516e; color: #fffafc; box-shadow: 0 8px 35px #68334921; font-size: 12px; line-height: 1.6; transition: transform .25s, opacity .25s; z-index: 10; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #8d4d56; }
.error-banner { background: #f8e1df; color: #8c4951; padding: 15px 30px; font-size: 12px; line-height: 1.7; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }

.cup-body { transform-origin: 50% 85%; }
.steam { animation: steam 4s ease-in-out infinite; }
.jumping .cup-body, .celebrate .cup-body { animation: jump .7s cubic-bezier(.3,.1,.3,1) both; }
.liquid { transition: y .3s ease, height .3s ease; }
.milk-fill { transition-duration: 1.55s; }
.reset-fill .liquid { transition: none !important; }
.syrup-dispenser, .milk-dispenser { opacity: 0; pointer-events: none; }
.syrup-pour-stream { stroke-dasharray: 290; stroke-dashoffset: 290; }
.milk-pour-stream { stroke-dasharray: 300; stroke-dashoffset: 300; }
.pumping .syrup-dispenser { opacity: 1; }
.pumping .syrup-pump { animation: pump .65s ease-in-out var(--pumps); }
.pumping .syrup-pour-stream { animation: syrup-flow .65s ease-in-out var(--pumps); }
.pouring .milk-dispenser { animation: milk-appear 2s ease both; }
.pouring .milk-pour-stream { animation: milk-flow 2s ease both; }
@keyframes jump { 0%,100% { transform: translateY(0) scale(1); } 18% { transform: translateY(5px) scale(1.05,.95); } 48% { transform: translateY(-28px) rotate(-7deg) scale(.98,1.03); } 74% { transform: translateY(0) scale(1.04,.96); } 87% { transform: translateY(-6px) rotate(3deg); } }
@keyframes steam { 0%,100% { transform: translateY(0); opacity: .6; } 50% { transform: translateY(-6px); opacity: .3; } }
@keyframes dot { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pump { 0%,100% { transform: translateY(0); } 25%,45% { transform: translateY(6px); } }
@keyframes syrup-flow { 0%,12% { stroke-dashoffset: 290; opacity: 0; } 35%,65% { stroke-dashoffset: 0; opacity: .95; } 90%,100% { stroke-dashoffset: -290; opacity: 0; } }
@keyframes milk-appear { 0%,100% { opacity: 0; } 15%,85% { opacity: 1; } }
@keyframes milk-flow { 0%,15% { stroke-dashoffset: 300; opacity: 0; } 30%,85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -300; opacity: 0; } }

@media (min-width: 1500px) {
  main { padding-top: 60px; }
  .welcome-grid { min-height: 600px; }
  .welcome-art { min-height: 550px; }
}
@media (max-width: 1150px) {
  .sidebar { width: 200px; padding-left: 15px; padding-right: 15px; }
  .topbar { padding-left: 30px; padding-right: 30px; }
  main { padding: 35px 30px 25px; }
  footer { padding-left: 30px; padding-right: 30px; }
  .order-layout { gap: 25px; grid-template-columns: minmax(0, 1fr) minmax(260px, .85fr); }
  .preview-panel { padding-left: 17px; padding-right: 17px; }
  .preview-foot { margin-left: -17px; margin-right: -17px; }
  .stepper small { display: none; }
  .stepper li:not(:last-child):after { margin: 0 13px; }
  .welcome-grid { gap: 22px; }
  .welcome-art { min-height: 440px; }
  .welcome-copy { padding-left: 0; }
  .hero-flower { width: 65px; }
  .welcome-bottom small { font-size: 9px; margin-left: 0; }
  .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milk-options { gap: 7px; }
  .milk-options .choice-card > strong { font-size: 11px; }
  .temperature-art .cup-art { max-width: 145%; width: 145px; }
  .temperature-art { height: 120px; }
  .temperature-art .cup-art { height: 145px; }
  .role-grid { gap: 12px; }
  .role-grid .choice-card { padding: 27px 15px; }
}
@media (max-width: 900px) {
  .sidebar { width: 175px; padding-left: 11px; padding-right: 11px; }
  .brand { font-size: 25px; padding-left: 7px; gap: 8px; }
  .brand-second { font-size: 28px; }
  .brand-icon { width: 38px; height: 47px; }
  .nav-item { font-size: 10px; gap: 8px; padding-left: 9px; }
  .nav-caption { font-size: 8px; padding-left: 9px; letter-spacing: 1px; }
  .profile small { font-size: 8px; }
  .demo-badge { display: none; }
  .order-layout { grid-template-columns: minmax(0, 1fr); max-width: 600px; }
  .preview-panel { position: static; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 18px; }
  .preview-panel:has(.ingredient-cup) { order: -1; position: sticky; top: 8px; z-index: 4; box-shadow: 0 6px 20px #70587912; }
  .preview-top { grid-column: 1 / -1; }
  .preview-top .handwritten, .preview-foot { display: none; }
  .cup-stage { height: 210px; margin: 0; }
  .cup-stage > .cup-art { width: 225px; height: 230px; }
  .cup-stage .art-halo { width: 155px; height: 155px; }
  .recipe { margin: 0 0 0 8px; padding: 17px 10px; }
  .animation-caption { grid-column: 1 / -1; grid-row: 3; min-height: 15px; padding: 0; }
  .stepper small { display: inline; }
  .temperature-art { height: 150px; }
  .temperature-art .cup-art { height: 185px; width: 190px; }
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-copy h1 { font-size: 65px; }
  .welcome-copy h1 br { display: none; }
  .welcome-art { min-height: 300px; border-radius: 150px 150px 25px 25px; max-width: 430px; width: 100%; margin: 15px auto 0; }
  .welcome-art > .cup-art { height: 290px; margin: 5px 0 0; }
  .welcome-art:before { width: 230px; height: 230px; top: 35px; }
  .art-label { top: 20px; font-size: 11px; }
  .hero-flower { top: 80px; right: 45px; }
  .hero-sparkle { top: 80px; left: 42px; }
  .hero-sticker { bottom: 50px; font-size: 10px; padding: 8px 12px; }
  .art-caption { bottom: 17px; font-size: 9px; }
  .welcome-bottom { margin-top: 27px; }
  .welcome-bottom > span { padding: 0; font-size: 15px; }
  .welcome-bottom strong { font-size: 10px; margin-left: 3px; }
  .welcome-bottom small { display: none; }
  .welcome-copy > p { margin-bottom: 0; }
  .welcome-actions { max-width: 100%; }
  .welcome-divider, .welcome-promise { display: none; }
  .center-page { margin-top: 12px; }
  .role-grid { grid-template-columns: 1fr; }
  .role-grid .choice-card { min-height: 0; display: grid; grid-template-columns: 67px 1fr; gap: 0 20px; padding: 20px; text-align: left; }
  .role-visual { grid-row: span 2; height: 60px; width: 60px; border-radius: 20px; }
  .role-visual svg { width: 30px; }
  .role-grid .choice-card > strong { margin: 0 0 6px; font-size: 21px; align-self: end; }
  .role-grid .choice-detail { max-width: none; font-size: 10px; align-self: start; }
  .role-grid.two { grid-template-columns: 1fr; }
  .demo-note { align-items: start; flex-direction: column; gap: 7px; }
  .builder-actions { margin-top: 25px; }
  .builder .page-heading h1 { font-size: 37px; }
  footer > span:last-child { display: none; }
}
@media (max-width: 600px) {
  .app-shell { display: block; }
  .sidebar { width: 100%; height: auto; padding: 18px 22px 13px; position: static; border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .brand { padding: 0; font-size: 21px; gap: 9px; }
  .brand-second { display: inline; font-size: 21px; padding-top: 0; margin-left: 4px; }
  .brand-icon { height: 36px; width: 34px; border-radius: 13px; }
  .brand-icon svg { width: 22px; }
  .sidebar-bottom, .sidebar-note, .nav-caption { display: none; }
  .sidebar nav { order: 3; margin-top: 15px; width: 100%; display: flex; gap: 4px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .nav-item { width: auto; flex-shrink: 0; font-size: 10px; padding: 8px 10px; margin: 0; border-radius: 8px; gap: 6px; }
  .nav-item svg { width: 15px; height: 15px; }
  .profile { padding: 0; border: 0; gap: 8px; }
  .profile .avatar { display: none; }
  .profile strong { font-size: 10px; }
  .profile small { display: none; }
  .profile .icon-button { width: 23px; }
  .topbar { min-height: 56px; padding: 12px 22px; border-bottom: 0; }
  .breadcrumb { font-size: 9px; }
  .breadcrumb span { margin: 0 7px; }
  .open-badge { font-size: 8px; padding: 6px 8px; gap: 5px; }
  main { padding: 17px 22px 27px; }
  footer { padding: 12px 22px 22px; justify-content: center; font-size: 8px; }
  .welcome-copy { padding-top: 4px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.7px; }
  .welcome-copy h1 { font-size: 57px; margin: 17px 0; letter-spacing: -2.8px; max-width: 350px; }
  .welcome-copy h1 br { display: block; }
  .welcome-copy > p { font-size: 12px; }
  .welcome-actions { margin-top: 24px; }
  .welcome-grid { gap: 10px; }
  .welcome-art { margin-top: 15px; min-height: 295px; }
  .welcome-bottom { gap: 9px; margin-top: 24px; padding-top: 20px; }
  .welcome-bottom strong { display: block; margin: 5px 0 0; font-size: 9px; line-height: 1.5; }
  .welcome-bottom > span { text-align: center; font-size: 16px; }
  .fine-print { font-size: 9px !important; }
  h1, .builder .page-heading h1 { font-size: 33px; letter-spacing: -1.1px; }
  .page-heading p { font-size: 11px; }
  .stepper { margin-bottom: 29px; }
  .stepper li > span { width: 21px; height: 21px; font-size: 8px; }
  .stepper li { gap: 4px; }
  .stepper small { font-size: 7px; }
  .stepper li:not(:last-child):after { margin: 0 6px; }
  .page-heading { margin-bottom: 23px; }
  .temperature-grid { gap: 12px; }
  .temperature-art { height: 123px; }
  .temperature-art .cup-art { width: 150px; height: 160px; }
  .choice-card { padding: 19px 10px; border-radius: 13px; }
  .choice-card.selected { padding: 18.5px 9.5px; }
  .choice-card > strong { font-size: 12px; }
  .choice-detail { font-size: 9px; }
  .builder-actions .button { font-size: 10px; min-height: 44px; padding: 12px 17px; gap: 12px; }
  .customer-note { margin-top: 17px; font-size: 9px; }
  .preview-panel { border-radius: 17px; padding: 17px 12px 15px; gap: 0; }
  .cup-stage { height: 195px; }
  .cup-stage > .cup-art { width: 200px; height: 215px; max-width: 130%; }
  .recipe h3 { font-size: 21px; }
  .recipe .eyebrow { font-size: 7px; letter-spacing: 1px; }
  .recipe { padding: 13px 8px; margin-left: 8px; }
  .recipe-tags > span { font-size: 8px; padding: 5px; }
  .animation-caption { font-size: 9px; }
  .name-fields { gap: 12px; margin-top: 29px; }
  .name-fields input { font-size: 16px; padding: 14px 10px; }
  #name-form > .button { width: 100%; }
  .builder > .back-link { margin-bottom: 20px; }
  .syrup-options .choice-detail { font-size: 7px; }
  .milk-options .choice-detail { font-size: 8px; }
  .milk-options .choice-card > strong { font-size: 10px; }
  .allergy-note { font-size: 8px; }
  .ticket-grid { grid-template-columns: 1fr; gap: 14px; }
  .ticket { padding: 17px 20px 0; }
  .ticket h3 { margin-top: 12px; }
  .ticket-tags { min-height: 0; }
  .ticket-bottom { font-size: 9px; }
  .queue-toolbar { margin-top: 20px; margin-bottom: 20px; gap: 5px; }
  .pill-tab { font-size: 10px; padding: 7px 8px; gap: 6px; }
  .queue-tabs { gap: 1px; }
  .queue-toolbar > .text-button { font-size: 10px; }
  .queue-action-bar { padding: 12px; bottom: 10px; }
  .queue-action-bar .button { font-size: 10px; padding: 10px 13px; }
  .queue-action-bar > span { font-size: 10px; }
  .status-page { margin-top: 4px; }
  .status-page h1 { font-size: 38px; }
  .status-page > p { font-size: 11px; }
  .status-recipe { padding: 17px; }
  .journey > span { font-size: 7px; gap: 3px; }
  .journey { gap: 4px; }
  .status-actions { gap: 10px; }
  .toast { left: 50%; bottom: 15px; width: max-content; font-size: 11px; }
  .error-banner { font-size: 11px; padding: 12px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 360px) {
  .stepper small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .milk-options { grid-template-columns: 1fr; }
  .milk-options .choice-card, .milk-options .choice-card.selected { display: grid; grid-template-columns: 52px minmax(0,1fr); gap: 5px 14px; text-align: left; padding: 16px; }
  .milk-options .milk-illustration { grid-row: span 2; width: 48px; height: 70px; margin: 0; }
  .milk-options .choice-card > strong { align-self: end; margin: 0; font-size: 12px; padding-right: 15px; }
  .milk-options .choice-detail { align-self: start; font-size: 10px; }
  .preview-panel { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
  .cup-stage { min-width: 0; }
  .cup-stage > .cup-art { width: 100%; max-width: 100%; height: 180px; }
  .recipe { min-width: 0; }
  .recipe h3 { font-size: 18px; }
}

#print-area { display: none; }
@media print {
  @page { margin: 12mm; }
  body { background: white; color: black; }
  #app, #toast { display: none !important; }
  #print-area { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
  .print-label { border: 1px dashed #777; padding: 6mm; break-inside: avoid; min-height: 42mm; font: 12pt sans-serif; }
  .print-label header { font-size: 8pt; display: flex; justify-content: space-between; }
  .print-label h2 { font-size: 17pt; margin: 5mm 0 3mm; }
  .print-label p { font-size: 11pt; line-height: 1.6; }
  .print-label small { font-size: 8pt; }
}
