@font-face { font-family: Inter; src: url('/fonts/inter-latin.woff2') format('woff2'); font-style: normal; font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; --navy:#1f2374; --ink:#20223f; --muted:#66697e; --accent:#aa2f87; --lavender:#ecebfc; --border:#e1e2ed; --bg:#f7f7fc; --amber:#805300; --amber-bg:#fff2d8; --green:#08735a; --green-bg:#e3f4ed; }
* { box-sizing:border-box; }
html { min-height:100%; scroll-behavior:smooth; }
body { margin:0; background:#eaeaf1; font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif; color:var(--ink); -webkit-font-smoothing:antialiased; }
button,input,select { font:inherit; }
button,a,select { -webkit-tap-highlight-color:transparent; }
button,a { touch-action:manipulation; }
button { cursor:pointer; }
a { color:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible { outline:3px solid #aa2f87; outline-offset:3px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; top:8px; left:8px; z-index:100; padding:12px 18px; background:var(--navy); color:#fff; border-radius:10px; transform:translateY(-180%); }
.skip-link:focus { transform:translateY(0); }
.app-shell { width:min(100%,480px); min-height:100dvh; background:var(--bg); margin:auto; position:relative; display:flex; flex-direction:column; box-shadow:0 0 40px #20223f10; }
.demo-notice { background:#e9e8fa; color:var(--navy); padding:7px 20px; display:flex; justify-content:space-between; align-items:center; font-size:11px; font-weight:600; }
.demo-notice a { padding:4px; text-underline-offset:3px; }
.notice-actions { display:flex; align-items:center; gap:14px; }.notice-actions button { border:0; padding:4px; background:transparent; color:inherit; text-decoration:underline; text-underline-offset:3px; font-size:inherit; font-weight:inherit; }
.app-header { background:white; display:flex; justify-content:space-between; align-items:center; gap:8px; padding:17px 20px; min-height:80px; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; min-width:0; }
.brand-icon { flex:none; display:grid; place-items:center; width:32px; height:32px; background:var(--navy); border-radius:10px; overflow:hidden; }
.brand-icon img,.icon img,.bottom-nav img { display:block; }
.brand strong { display:block; color:var(--navy); font-size:15px; line-height:18px; letter-spacing:-.25px; white-space:nowrap; }
.brand em { color:var(--accent); font-style:normal; }
.brand small { display:block; font-size:11px; line-height:16px; color:var(--muted); }
.business-picker select { max-width:135px; min-height:44px; border:0; border-radius:12px; background:#f6e8f4; color:#91256f; padding:0 8px; font-weight:600; font-size:12px; }
main { flex:1; padding:20px 20px 112px; min-width:0; }
main:focus { outline:none; }
.page-heading { margin:0 0 5px; color:var(--ink); font-size:26px; font-weight:700; line-height:32px; letter-spacing:-.6px; }
.page-subtitle { margin:0 0 18px; color:var(--muted); font-size:12px; line-height:18px; }
.title-row { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.title-row .page-heading { margin:0; }
.back { display:inline-grid; place-items:center; min-width:38px; min-height:44px; margin-left:-10px; text-decoration:none; font-size:27px; color:var(--navy); }
.section-title { font-size:16px; line-height:22px; font-weight:650; margin:20px 0 12px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.section-head a { color:var(--navy); font-size:13px; font-weight:600; text-decoration:none; padding:10px 0; }
.panel { background:white; border:1px solid var(--border); border-radius:16px; padding:16px; }
.panel + .panel { margin-top:12px; }
.card-link { display:block; text-decoration:none; }
.card-link:hover,.receipt-button:hover { border-color:#b9b4e4; }
.alert-card { display:flex; align-items:center; gap:12px; padding:18px; color:white; background:var(--navy); border-radius:16px; text-decoration:none; margin:15px 0; min-height:104px; }
.alert-card strong,.alert-card small { display:block; }
.alert-card strong { font-size:16px; line-height:22px; }.alert-card small { margin-top:6px; font-size:13px; }
.alert-card .arrow { margin-left:auto; font-size:26px; font-weight:300; }
.icon { display:inline-grid; place-items:center; flex:none; width:40px; height:40px; border-radius:12px; background:var(--lavender); overflow:hidden; }
.icon.plain { width:24px; height:24px; background:transparent; border-radius:0; overflow:visible; }
.icon.pink { background:#f8e9f5; }.icon.green { background:#d7f1e5; }.icon.small { width:34px; height:34px; }
.metric-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.metric { display:flex; flex-direction:column; justify-content:center; min-height:76px; padding:12px; background:#fff; border-radius:16px; text-decoration:none; }
.metric strong { color:var(--navy); font-size:25px; line-height:31px; letter-spacing:-1px; white-space:nowrap; }.metric:nth-child(2) strong { color:var(--accent); }.metric span { margin-top:3px; color:var(--muted); font-size:10px; line-height:15px; }
.line { display:flex; align-items:center; gap:12px; }.line > .grow { min-width:0; flex:1; }.line strong { font-size:14px; line-height:21px; }.line small { display:block; color:var(--muted); font-size:12px; margin-top:2px; line-height:18px; }
.line-arrow { color:var(--muted); font-size:24px; margin-left:auto; line-height:1; }
.order-card { display:block; padding:16px; background:#fff; border:1px solid var(--border); border-radius:16px; text-decoration:none; margin-bottom:12px; }
.order-card:hover { border-color:#b9b4e4; }.order-top { display:flex; justify-content:space-between; gap:8px; align-items:baseline; }.order-top strong { font-size:14px; }.order-top b { color:var(--navy); font-size:14px; white-space:nowrap; }
.order-sub { color:var(--muted); font-size:12px; line-height:18px; margin-top:3px; }.order-foot { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:12px; color:var(--muted); font-size:11px; line-height:17px; }
.badge { display:inline-flex; justify-content:center; align-items:center; padding:4px 10px; min-height:24px; border-radius:8px; font-size:11px; line-height:16px; font-weight:600; background:var(--lavender); color:var(--navy); white-space:nowrap; }.badge.amber { background:var(--amber-bg); color:var(--amber); }.badge.green { background:var(--green-bg); color:var(--green); }.badge.neutral { background:#eeeef3; color:#5e6072; }
.search { display:flex; align-items:center; gap:10px; background:white; border:1px solid var(--border); border-radius:12px; padding:0 14px; min-height:52px; margin:18px 0 12px; }.search input { min-width:0; width:100%; border:0; outline:0; background:transparent; font-size:14px; color:var(--ink); }.search:focus-within { outline:3px solid #aa2f87; outline-offset:2px; }
.filters { display:flex; gap:8px; overflow-x:auto; padding:1px 1px 6px; margin-bottom:8px; }.filter { border:0; border-radius:9px; background:#fff; color:var(--navy); min-height:38px; padding:7px 12px; font-size:12px; white-space:nowrap; }.filter[aria-pressed=true] { background:var(--navy); color:#fff; }
.primary,.secondary { min-height:48px; display:inline-flex; align-items:center; justify-content:center; gap:8px; width:100%; padding:12px 16px; border-radius:12px; font-size:14px; font-weight:600; text-decoration:none; cursor:pointer; }
.primary { color:white; background:var(--navy); border:1px solid var(--navy); }.primary:hover { background:#30358d; }.primary:disabled { opacity:.5; cursor:not-allowed; }.secondary { background:#fff; border:1px solid #c6c7dd; color:var(--navy); }.secondary:hover { background:#f2f1fa; }
.actions { display:grid; gap:10px; margin:20px 0 0; }.actions a,.actions button { width:100%; }.action-spacer { margin-top:28px; }
.amount { font-size:30px; font-weight:750; letter-spacing:-1px; }.amount-card { background:var(--navy); color:#fff; border-radius:16px; padding:20px; margin:16px 0; }.amount-card .amount { display:block; margin:8px 0; }.amount-card small { font-size:12px; }
.price-row { display:flex; justify-content:space-between; gap:12px; font-size:14px; padding-top:10px; }.price-row.muted { color:var(--muted); }.price-row.total { border-top:1px solid var(--border); margin-top:12px; font-weight:700; }.price-row.total b { color:var(--navy); }
.status-row { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:12px; font-size:14px; }.status-row>span:first-child { display:flex; align-items:center; gap:10px; }
.receipt-button { display:flex; width:100%; gap:12px; text-align:left; align-items:center; color:var(--ink); cursor:pointer; }.receipt-button .grow { flex:1; }.receipt-button strong { font-size:14px; }.receipt-button small { display:block; color:var(--muted); font-size:12px; margin-top:3px; }
.hint { display:flex; align-items:center; gap:10px; padding:12px; border-radius:12px; background:var(--lavender); color:var(--navy); font-size:12px; line-height:18px; margin-top:16px; }
.check-label { display:flex; gap:10px; align-items:center; font-size:14px; font-weight:600; padding:15px 0; cursor:pointer; }.check-label input { width:21px; height:21px; accent-color:var(--navy); }
.success { display:flex; gap:10px; align-items:center; padding:14px; border-radius:14px; color:var(--green); background:var(--green-bg); font-size:14px; font-weight:650; margin:14px 0; }.success .icon { background:#c8eadb; }
.timeline { display:grid; gap:16px; }.timeline .line { align-items:flex-start; }.timeline .line strong { display:block; }.timeline .line small { display:block; }
.field { margin-bottom:16px; }.field label { display:block; margin-bottom:7px; font-size:13px; font-weight:650; }.field input,.field select { display:block; width:100%; min-height:48px; border:1px solid #c7c8d9; background:#fff; border-radius:10px; padding:10px 12px; font-size:16px; color:var(--ink); }.field small { display:block; color:var(--muted); margin-top:5px; font-size:12px; }
.space-top { margin-top:20px; }.preview-text { font-size:14px; line-height:1.6; margin:14px 0 0; }
.feedback { margin:14px 0; border-radius:10px; padding:12px; font-size:13px; background:#fff2d8; color:#654000; }.empty { background:white; border:1px solid var(--border); padding:22px; border-radius:14px; color:var(--muted); font-size:14px; text-align:center; }
.bottom-nav { position:fixed; left:50%; transform:translateX(-50%); bottom:0; z-index:10; display:grid; grid-template-columns:repeat(5,1fr); align-items:stretch; width:min(100%,480px); padding:6px 5px max(6px,env(safe-area-inset-bottom)); background:white; border-top:1px solid var(--border); }
.bottom-nav a { color:var(--muted); text-decoration:none; display:flex; align-items:center; flex-direction:column; justify-content:center; gap:3px; min-height:56px; border-radius:12px; font-size:10px; }
.bottom-nav a[aria-current=page] { background:var(--lavender); color:var(--navy); font-weight:600; }
dialog { width:min(90vw,390px); border:0; border-radius:20px; padding:22px; color:var(--ink); box-shadow:0 20px 60px #20223f3b; }
dialog::backdrop { background:#17192c88; }dialog h2 { margin:0 0 12px; font-size:20px; }dialog p { margin:0 0 16px; line-height:1.6; font-size:14px; }.dialog-actions { display:grid; gap:10px; }.dialog-actions button { width:100%; }
.chat { display:grid; gap:12px; }.chat-bubble { background:#e3f4ed; border-radius:14px 14px 4px 14px; padding:14px; font-size:14px; line-height:1.6; margin-left:28px; }
.chat-bubble.received { background:#fff; border:1px solid var(--border); margin-left:0; margin-right:28px; border-radius:14px 14px 14px 4px; }
.sim-home { margin:16px 0; }
.simulator-shell { width:min(100%,480px); }
.simulator-shell main { padding-inline:16px; }
.sim-intro { margin-bottom:20px; }
.sim-intro .page-subtitle { font-size:14px; line-height:1.55; margin:8px 0 16px; }
.sim-mode { display:inline-flex; align-items:center; gap:4px; max-width:100%; border-radius:12px; padding:4px; background:var(--lavender); }
.sim-mode button { min-height:44px; padding:6px 10px; border:1px solid transparent; border-radius:9px; color:var(--navy); background:transparent; font-size:13px; font-weight:650; }
.sim-mode button[aria-pressed=true] { background:white; border-color:var(--border); box-shadow:0 1px 3px #20223f12; }
.sim-grid { display:grid; gap:16px; align-items:start; }
.sim-chat { min-width:0; overflow:hidden; border:1px solid var(--border); border-radius:18px; background:white; }
.sim-header { display:flex; align-items:center; gap:12px; padding:14px 16px; border-bottom:1px solid #dce6df; background:#f3f8f5; }
.sim-header .icon { background:#deeee5; }
.sim-header h2,.sim-panel h2 { margin:0 0 2px; font-size:16px; letter-spacing:-.2px; }
.sim-header span:not(.icon),.sim-empty { color:var(--muted); font-size:13px; line-height:1.55; }
.sim-thread { display:flex; flex-direction:column; gap:10px; min-height:176px; max-height:clamp(176px,27dvh,280px); overflow:auto; padding:16px; background:#f3eee5 url('/demo/chat-wallpaper.webp') repeat; background-size:360px 288px; scrollbar-gutter:stable; }
.sim-thread:focus-visible { outline:3px solid var(--accent); outline-offset:-4px; }
.sim-message { width:fit-content; max-width:95%; padding:9px 12px 7px; border:1px solid #e5e6df; border-radius:14px 14px 14px 4px; background:#fff; overflow-wrap:anywhere; box-shadow:0 1px 2px #292a2710; }
.sim-message b { color:#245b48; font-size:11px; }
.sim-message p { margin:4px 0 0; line-height:1.5; font-size:14px; }
.sim-message time { display:block; margin-top:3px; color:#4d6055; text-align:right; font-size:11px; }
.sim-customer { align-self:flex-end; border-color:#cce6d1; border-radius:14px 14px 4px 14px; background:#e1f2e1; }
.sim-typing { display:flex; align-items:center; gap:5px; min-height:32px; padding:8px 12px; }
.sim-typing i { width:5px; height:5px; background:#56796a; border-radius:50%; animation:sim-typing 1.15s ease-in-out infinite; }
.sim-typing i:nth-child(2) { animation-delay:.13s; }
.sim-typing i:nth-child(3) { animation-delay:.26s; }
@keyframes sim-typing { 0%,65%,100% { transform:translateY(0); } 30% { transform:translateY(-3px); } }
.sim-summary { display:grid; gap:7px; padding:14px; margin-top:3px; border:1px solid #c6c7dd; border-radius:12px; background:white; font-size:14px; }
.sim-summary > span { color:var(--muted); font-size:13px; }
.sim-total { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-block:8px 3px; border-top:1px solid var(--border); }
.sim-total b { color:var(--navy); }
.sim-input { display:grid; gap:10px; padding:12px 16px; min-height:68px; }
.sim-input p { margin:0; font-size:13px; }
.sim-suggestions { display:flex; flex-wrap:wrap; gap:6px; }
.chat-chip { min-height:44px; padding:6px 11px; border:1px solid #ccc9ef; border-radius:9px; background:var(--lavender); color:var(--navy); font-size:12px; font-weight:650; }
.chat-chip:hover { border-color:var(--navy); }
.chat-chip:disabled,#chat-form input:disabled { opacity:.65; cursor:wait; }
#chat-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; }
#chat-form input { min-height:48px; min-width:0; width:100%; padding:8px 10px; border:1px solid #c6c7dd; border-radius:10px; color:var(--ink); font-size:16px; }
#chat-form button { width:auto; }
.sim-side { display:grid; gap:10px; }
.sim-panel > .primary,.sim-panel > .secondary { margin-top:14px; }
.sim-order-status { display:flex; flex-wrap:wrap; gap:6px; margin:16px 0 10px; }
.sim-order-title { display:grid; gap:4px; }
.sim-order-title span { font-size:13px; color:var(--muted); }
.sim-feedback { display:grid; gap:8px; padding:12px; margin-bottom:12px; border-radius:10px; background:var(--amber-bg); color:var(--amber); }
.sim-feedback p { margin:0; }
.sim-feedback > div { display:flex; flex-wrap:wrap; gap:8px; }
.sim-input .sim-feedback { margin-bottom:0; }
#chat-access { min-width:0; }
@media (max-width:759px) {
  .simulator-shell main { padding-bottom:24px; }
  .simulator-shell .bottom-nav { position:static; width:100%; transform:none; }
}
@media (min-width:760px) {
  .simulator-shell,.simulator-shell .bottom-nav { width:min(100%,1000px); }
  .simulator-shell main { padding:24px 30px 112px; }
  .simulator-shell .app-header,.simulator-shell .demo-notice { padding-inline:30px; }
  .sim-grid { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); }
  .sim-thread { min-height:260px; max-height:clamp(260px,36dvh,420px); }
  .sim-message { max-width:83%; }
}
.no-script { max-width:440px; margin:20px auto; padding:20px; background:#fff; }
@media(max-width:350px) { .app-header { padding-inline:14px; }.brand { gap:7px; }.brand strong { font-size:13px; }.business-picker select { max-width:115px; font-size:11px; }main { padding-inline:16px; }.metric { padding:9px; }.metric strong { font-size:22px; } }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .sim-typing i { animation:none; } }
