:root{color-scheme:light;font-family:Garet,Avenir Next,Montserrat,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#171715;background:#fffefa;--page:#fffefa;--surface:#ffffff;--warm:#f4f1e8;--warm-strong:#ebe6d9;--ink:#171715;--ink-soft:#46453f;--muted:#747169;--line:#e3dfd4;--line-strong:#c9c3b5;--accent:#262520;--focus:#9c813b}*{box-sizing:border-box}html{min-height:100%;-webkit-text-size-adjust:100%}body{margin:0;min-height:100vh;min-height:100dvh;color:var(--ink);background:var(--page)}button,input{font:inherit}[role=button],button{touch-action:manipulation}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.shell{max-width:680px;margin:auto;min-height:100vh;min-height:100dvh;padding:0 20px calc(94px + env(safe-area-inset-bottom))}.shell>section:not(.voice-center){padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}.top{height:94px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);margin:0 -20px 28px;padding:0 20px}.brand{font-size:clamp(22px,6vw,30px);font-weight:800;letter-spacing:-.035em}.page-title{font-size:34px;font-weight:800;letter-spacing:-.04em;margin:0 0 3px}.muted{color:var(--muted)}.search{margin:22px 0 14px}.customer-row{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;padding:20px 14px;cursor:pointer;transition:background-color .15s ease}.customer-row:hover{background:var(--warm)}.customer-row strong{font-size:19px}.customer-row small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.amount{font-weight:800;white-space:nowrap}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);border-top:1px solid var(--line);background:var(--page);z-index:10;padding-bottom:env(safe-area-inset-bottom)}.nav .MuiBottomNavigationAction-root{min-width:0;min-height:56px}.orb{width:min(46vw,188px);height:min(46vw,188px);border:0;border-radius:50%;color:#fff;background:var(--accent);box-shadow:0 12px 35px #17171524;cursor:pointer;margin:20px auto 30px;display:grid;place-items:center;transition:transform .18s ease,box-shadow .18s ease}.orb svg{width:64px;height:64px}.orb:hover{transform:translateY(-2px);box-shadow:0 16px 38px #17171530}.orb.listening{animation:pulse 1.4s ease-in-out infinite;box-shadow:0 0 0 9px #17171512,0 0 0 18px #17171508}@keyframes pulse{50%{transform:scale(1.04);box-shadow:0 0 0 14px #17171514,0 0 0 28px #17171508}}.voice-center{text-align:center;padding:clamp(16px,7vh,56px) 0 18px}.voice-shell{height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:env(safe-area-inset-top) 14px calc(68px + env(safe-area-inset-bottom));--voice-cream:#f7f5ec;--voice-sage:#788b72;--voice-sage-dark:#53684f;background:var(--voice-cream)}.voice-shell .top{flex:0 0 58px;height:58px;margin:0 -14px 10px;padding:0 14px}.voice-shell .brand{font-size:20px}.voice-shell .voice-center{flex:1 1;min-height:0;display:flex;padding:0 0 70px;text-align:left}.voice-shell .conversation-panel{flex:1 1;min-height:0;display:flex;flex-direction:column;gap:8px;overflow:hidden;padding:12px;border:1px solid #788b7245;border-radius:24px;background:#fbfaf5;box-shadow:0 8px 28px #4e594110}.voice-status-inline{flex:0 0 28px;display:flex;align-items:center;gap:8px;padding:0 4px;color:var(--ink-soft);font-size:12px;font-weight:700}.voice-status-inline .voice-state-icon{width:22px;height:22px;flex-basis:22px;border-radius:50%}.voice-status-inline .voice-state-icon svg{font-size:15px}.voice-shell .voice-status-inline .voice-state-icon{color:var(--voice-sage-dark);background:#e8ede4}.voice-shell .voice-state-listening .voice-state-icon{color:#fff;background:var(--voice-sage)}.voice-shell .voice-welcome{width:min(100%,420px);margin:auto;padding:12px 4px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}.voice-shell .voice-welcome-mark{color:var(--voice-sage);font-size:22px;line-height:1}.voice-shell .voice-welcome-label{color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.16em}.voice-shell .voice-welcome h1{margin:0;color:var(--ink);font-size:clamp(25px,7vw,34px);line-height:1.12;letter-spacing:-.045em}.voice-shell .voice-welcome-greeting{margin:0;color:var(--ink-soft);font-size:15px}.voice-shell .voice-examples{width:100%;margin-top:3px;display:grid;grid-gap:6px;gap:6px}.voice-shell .voice-examples span{padding:8px 10px;border:1px solid #788b7230;border-radius:12px;color:var(--ink-soft);background:#fffefa;font-size:12px;line-height:1.35}.voice-shell .voice-welcome-hint{margin:4px 0 0;color:var(--muted);font-size:11px}.chat-attachment{flex:0 0 auto;width:min(94%,520px);margin:4px 0 4px auto;border-radius:18px!important;background:var(--surface)}.chat-attachment .MuiCardContent-root{padding:12px 14px}.chat-attachment .MuiCardContent-root:last-child{padding-bottom:12px}.chat-review{border-color:var(--line-strong);background:#fffdf6}.voice-shell .orb{position:fixed;z-index:12;left:50%;bottom:calc(68px + env(safe-area-inset-bottom));transform:translateX(-50%);width:58px;height:58px;margin:0;display:grid;place-items:center;border:1px solid var(--voice-sage-dark);color:#fff;background:var(--voice-sage);box-shadow:0 8px 24px #53684f38}.voice-shell .orb svg{width:26px;height:26px}.voice-shell .orb:hover{transform:translateX(-50%) translateY(-2px)}.voice-shell .orb.listening{animation:voice-mic-pulse 1.4s ease-in-out infinite}@keyframes voice-mic-pulse{50%{transform:translateX(-50%) scale(1.05);box-shadow:0 0 0 9px #788b7225,0 0 0 18px #788b7212}}.voice-center h1{font-size:clamp(27px,7vw,36px);margin:0}.voice-center p{font-size:20px;color:var(--muted);margin:8px 0 20px}.voice-state{width:min(100%,440px);min-height:72px;margin:0 auto 18px;padding:13px 16px;display:flex;align-items:center;gap:13px;text-align:left;border:1px solid var(--line);border-radius:18px;background:var(--surface);transition:border-color .2s ease,transform .2s ease}.voice-state-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:14px;color:var(--ink);background:var(--warm)}.voice-state-icon svg{font-size:24px}.voice-state>span:last-child{display:grid;grid-gap:2px;gap:2px}.voice-state strong{font-size:14px;color:var(--ink)}.voice-state small{font-size:12px;line-height:1.4;color:var(--muted)}.voice-state-listening .voice-state-icon{color:#554719;background:var(--warm-strong)}.voice-state-speaking .voice-state-icon{color:#35342e;background:#e9e6dc}.voice-state-connecting .voice-state-icon,.voice-state-saving .voice-state-icon,.voice-state-understanding .voice-state-icon{color:#46453f;background:#e8e6df;animation:status-pulse 1s ease-in-out infinite alternate}.voice-state-reviewing .voice-state-icon{color:#5a4b24;background:var(--warm-strong)}.voice-state-synced .voice-state-icon{color:#3d4437;background:#e8e9e1}.voice-state-error .voice-state-icon{color:#5a3934;background:#eee8e5}@keyframes status-pulse{to{transform:scale(.92);opacity:.7}}.chat-thread{width:min(100%,560px);max-height:min(38dvh,360px);min-height:92px;margin:10px auto 18px;padding:6px 2px 12px;display:flex;flex-direction:column;gap:10px;overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;text-align:left}.voice-shell .chat-thread{flex:1 1;width:100%;min-height:0;max-height:none;margin:0;padding:2px 2px 8px;gap:9px;scroll-behavior:auto;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent}.chat-row{width:100%;display:flex}.chat-row.shopkeeper{justify-content:flex-end}.chat-bubble{max-width:min(84%,440px);padding:12px 16px;border-radius:19px;line-height:1.5;overflow-wrap:anywhere;animation:message-in .18s ease-out both}.chat-bubble.assistant{display:grid;grid-gap:4px;gap:4px;color:var(--ink);background:#fffefa;border:1px solid var(--line);border-bottom-left-radius:6px}.chat-bubble.shopkeeper{color:#fffefa;background:var(--accent);border-bottom-right-radius:6px}.chat-bubble strong{font-size:14px}@keyframes message-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.action-busy{position:fixed;z-index:30;top:calc(8px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);min-height:42px;padding:8px 16px;display:flex;align-items:center;gap:10px;border:1px solid var(--line-strong);border-radius:999px;color:var(--ink);background:var(--page);box-shadow:0 8px 30px #17171518;font-size:13px;font-weight:700;white-space:nowrap}main[aria-busy=true] button{pointer-events:none;opacity:.58;cursor:wait}.busy-spinner{width:17px;height:17px;border:2px solid var(--line-strong);border-top-color:var(--ink);border-radius:50%;animation:busy-spin .7s linear infinite}@keyframes busy-spin{to{transform:rotate(1turn)}}.voice-action{display:flex;justify-content:center;align-items:center;gap:12px;margin:4vh auto}.section{margin:25px 0 10px;font-size:15px;color:#59636f;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.ledger-line{border-bottom:1px solid #e8ebef;padding:14px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.pill{display:inline-block;border-radius:100px;padding:5px 9px;font-size:12px;font-weight:700}.summary{border:1px solid var(--line);border-radius:20px;background:var(--warm);padding:22px;margin:20px 0}.product-catalog{margin:0 0 28px;padding:18px;border:1px solid var(--line-strong);border-radius:20px;background:var(--warm)}.product-catalog .section{color:var(--ink);font-size:19px;letter-spacing:-.02em;text-transform:none}.product-catalog .ledger-line{border-color:var(--line-strong)}.product-catalog .ledger-line:last-of-type{border-bottom:0}.product-catalog .ledger-line>span{display:grid;grid-gap:3px;gap:3px;min-width:0}.product-catalog .ledger-line small{line-height:1.4;overflow-wrap:anywhere}.product-catalog .MuiButton-contained{white-space:nowrap}.empty{text-align:center;padding:58px 12px;color:#68717c}.empty strong{display:block;color:#222;font-size:19px;margin-bottom:8px}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-grid{display:grid;grid-gap:15px;gap:15px;padding-top:8px}.small-action{color:var(--ink-soft);background:none;border:0;cursor:pointer;font-weight:700;padding:4px 0;text-decoration:underline;text-underline-offset:3px}.MuiInputBase-input{font-size:16px!important}.MuiButton-root,.MuiIconButton-root{min-height:44px}.MuiDialog-paper{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.MuiButton-contained{color:#fffefa!important;background:var(--accent)!important;box-shadow:none!important;border-radius:12px!important}.MuiButton-contained:hover{background:#45443f!important}.MuiButton-outlined{color:var(--ink)!important;border-color:var(--line-strong)!important;border-radius:12px!important;background:#fffefa!important}.MuiButton-outlined:hover{border-color:var(--ink-soft)!important;background:var(--warm)!important}.MuiButton-text{color:var(--ink)!important;border-radius:12px!important}.MuiButton-root{transition:transform .12s ease,background-color .15s ease,opacity .15s ease}.MuiButton-root:active:not(.Mui-disabled){transform:scale(.97)}.Mui-disabled{cursor:wait!important}.MuiCard-root{border-color:var(--line);border-radius:18px!important;box-shadow:none!important}.MuiPaper-root{color:var(--ink)}.MuiDialog-paper{border:1px solid var(--line);border-radius:22px!important;background:var(--page)!important;box-shadow:0 24px 80px #17171524!important}.MuiDialogTitle-root{font-weight:750!important;letter-spacing:-.02em}.MuiInputBase-root{border-radius:12px!important;background:var(--surface)}.MuiOutlinedInput-notchedOutline{border-color:var(--line-strong)!important}.MuiInputBase-root:hover .MuiOutlinedInput-notchedOutline{border-color:var(--ink-soft)!important}.MuiInputLabel-root{color:var(--muted)!important}.MuiFormLabel-root.Mui-focused{color:var(--ink-soft)!important}.MuiCheckbox-root,.MuiRadio-root,.MuiSwitch-switchBase.Mui-checked{color:var(--ink)!important}.MuiTabs-indicator{background:var(--focus)!important}.Mui-selected:not(.MuiBottomNavigationAction-root){color:var(--ink)!important}.MuiChip-root{border-radius:10px!important}.MuiChip-colorSuccess,.MuiChip-colorWarning{color:var(--ink-soft)!important;background:var(--warm-strong)!important}.pill{background:var(--warm-strong);color:var(--ink-soft)}.empty{color:var(--muted)}.empty strong{color:var(--ink)}.section{color:var(--muted)}.ledger-line{border-color:var(--line)}.nav .MuiBottomNavigationAction-root{color:var(--muted)}.nav .MuiBottomNavigationAction-root.Mui-selected{color:var(--ink)}.nav .Mui-selected:after{background:var(--focus);content:"";position:absolute;top:4px;left:calc(50% - 13px);width:26px;height:3px;border-radius:99px;background:#101114}@media (max-width:520px){.shell{padding-left:14px;padding-right:14px}.shell>section:not(.voice-center){padding:16px;border-radius:18px}.top{margin-left:-14px;margin-right:-14px;padding-left:14px;padding-right:14px}.page-title{font-size:29px}.customer-row{padding:16px 8px}.customer-row strong{font-size:17px}}@media (max-height:720px){.voice-shell .top{flex-basis:52px;height:52px}.voice-shell .conversation-panel{padding:9px}.voice-shell .voice-center{padding-bottom:66px}.voice-shell .orb{width:54px;height:54px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}