*{box-sizing:border-box}:root{--mobile-width: min(560px, calc(100vw - 28px) );--app-bg: #fff7ed;--ink: #111111;--text: #18181b;--muted: #68605b;--line: rgba(226, 216, 208, .74);--paper: rgba(255, 255, 255, .72);--paper-strong: rgba(255, 255, 255, .9);--warm: #fff6ee;--action: #ff5a00;--action-dark: #f05a00;--mint: #edf7ef;--sky: #eff7ff;--blush: #fff1f2;color:#18181b;background:#f7f0eb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}html{height:100%;background:var(--app-bg)}body{min-width:320px;min-height:100vh;min-height:100dvh;height:100vh;height:100dvh;margin:0;overflow:hidden;background-color:var(--app-bg);background:radial-gradient(circle at 20% 8%,rgba(255,255,255,.96) 0 18%,transparent 40%),radial-gradient(circle at 90% 22%,rgba(255,112,20,.12) 0 13%,transparent 35%),linear-gradient(152deg,#fffaf4,#f7eee8 46%,#fbf7f3),var(--app-bg)}#root{min-height:100vh;min-height:100dvh}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus{outline:none}button:focus-visible{box-shadow:0 0 0 4px #ff5a0029}button:disabled{cursor:not-allowed}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.loading-shell,.login-shell{display:flex;min-height:100svh;align-items:center;justify-content:center;padding:24px}.loading-shell{flex-direction:column;gap:14px;color:#78716c}.login-card{width:min(100%,430px);padding:30px 22px 24px;border:1px solid rgba(255,255,255,.8);border-radius:34px;background:var(--paper-strong);box-shadow:0 26px 90px #44403c24,inset 0 1px #ffffffdb;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.brand-mark{display:inline-flex;width:54px;height:54px;align-items:center;justify-content:center;border-radius:20px;background:var(--ink);color:var(--action);font-size:30px;font-weight:850;line-height:1}.brand-mark.small{width:42px;height:42px;border-radius:14px;font-size:23px}.brand-logo{display:inline-flex;align-items:center;gap:11px;min-width:0}.brand-icon{display:inline-flex;width:46px;height:46px;align-items:center;justify-content:center;border:1px solid rgba(255,90,0,.18);border-radius:18px;background:#ffffffa3;color:var(--action);box-shadow:0 14px 34px #6c4e3714,inset 0 1px #fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-icon svg{width:29px;height:29px}.brand-wordmark{display:block;width:112px;height:auto;flex:0 0 auto}.eyebrow{margin:18px 0 7px;color:var(--action-dark);font-size:11px;font-weight:800;letter-spacing:0;text-transform:uppercase}.login-card h1{margin:0;color:var(--ink);font-size:30px;line-height:1.04;letter-spacing:0}.muted,.login-card p{color:var(--muted);line-height:1.5}.login-form{display:grid;gap:12px;margin-top:22px}.login-form label,.field{display:grid;gap:7px;color:#78716c;font-size:12px;font-weight:700}.login-form input,.field input,.field select,.composer textarea,.order-line input{width:100%;border:1px solid #e7e5e4;border-radius:18px;outline:none;background:#ffffffd6;color:var(--text);transition:border-color .18s ease,box-shadow .18s ease}.login-form input,.field input,.field select{min-height:48px;padding:0 15px}.login-form input:focus,.field input:focus,.field select:focus,.composer textarea:focus,.order-line input:focus{border-color:var(--action);box-shadow:0 0 0 4px #fb923c24}.form-error{margin:0;color:#dc2626;font-size:13px}.primary-action,.danger-action,.sticky-actions button,.quick-actions button,.camera-button{min-height:48px;border:0;border-radius:20px;font-weight:800}.primary-action{width:100%;background:var(--ink);color:#fff7ed;box-shadow:0 13px 30px #1c19172e}.primary-action:disabled,.sticky-actions button:disabled{opacity:.48}.danger-action,.install-action{width:100%;border:1px solid #fecaca;background:#fff1f2;color:#be123c}.install-action{display:inline-flex;min-height:48px;align-items:center;justify-content:center;border-radius:18px;border-color:#ea580c38;background:#fff7eddb;color:#c2410c;font-size:14px;font-weight:850}.app-shell{height:100svh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;padding:calc(28px + env(safe-area-inset-top)) 0 calc(124px + env(safe-area-inset-bottom));scrollbar-width:none}.app-shell-chat{padding-top:calc(18px + env(safe-area-inset-top));padding-bottom:calc(112px + env(safe-area-inset-bottom))}.app-shell::-webkit-scrollbar{display:none}.app-header{position:relative;z-index:8;display:flex;align-items:center;justify-content:space-between;width:var(--mobile-width);margin:0 auto;padding:0 5px 22px}.app-header .eyebrow{margin:0 0 3px}.app-header h1{max-width:280px;margin:0;overflow:hidden;color:var(--ink);font-size:22px;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.avatar{display:inline-flex;width:46px;height:46px;align-items:center;justify-content:center;border:1px solid rgba(255,90,0,.16);border-radius:999px;background:#fff8f1b8;color:var(--action-dark);font-weight:850;box-shadow:0 14px 34px #6c4e3714,inset 0 1px #fffffff5;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.avatar.large{width:72px;height:72px;border-radius:24px;font-size:28px}.screen-host,.screen,.chat-screen{width:100%;max-width:none;margin:0 auto}.screen-host{width:var(--mobile-width)}.screen{display:grid;gap:14px;padding-bottom:28px}.hero-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:14px}.summary-band,.scan-card{min-height:194px;border-radius:34px}.summary-band{position:relative;display:grid;align-content:end;overflow:hidden;padding:24px 24px 27px;border:1px solid rgba(255,90,0,.14);background:radial-gradient(circle at 92% 72%,rgba(255,111,20,.24) 0 17%,transparent 40%),radial-gradient(circle at 28% 10%,rgba(255,255,255,.98) 0 23%,transparent 46%),linear-gradient(142deg,#ffffffe6,#fff8f0b3);color:var(--ink);box-shadow:0 24px 70px #54402e1c,inset 0 1px #fffffffa;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.summary-band:before,.summary-band:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.74);border-radius:48% 52% 56% 44%;pointer-events:none}.summary-band:before{right:-46px;bottom:-60px;width:200px;height:150px;transform:rotate(-16deg)}.summary-band:after{right:-26px;bottom:22px;width:166px;height:112px;transform:rotate(-20deg)}.summary-number{position:relative;z-index:1;color:var(--action);font-size:69px;font-weight:900;line-height:.84;letter-spacing:0}.summary-label{position:relative;z-index:1;max-width:160px;margin-top:20px;color:#151515;font-size:20px;font-weight:850;line-height:1.16}.alert-button{position:absolute;top:18px;right:17px;z-index:2;display:inline-flex;width:53px;height:53px;align-items:center;justify-content:center;border:1px solid rgba(255,90,0,.16);border-radius:999px;background:#fff9f2bd;color:var(--action);box-shadow:0 16px 36px #8054361a,inset 0 1px #fffffff5;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.alert-button svg{width:25px;height:25px}.alert-button span{position:absolute;top:0;right:6px;width:10px;height:10px;border-radius:99px;background:var(--action)}.scan-card{position:relative;display:grid;align-content:center;justify-items:center;gap:13px;overflow:hidden;padding:21px 17px 19px;border:1px solid rgba(0,0,0,.62);background:radial-gradient(circle at 52% 36%,rgba(255,104,11,.46) 0 13%,rgba(255,104,11,.16) 25%,transparent 47%),radial-gradient(circle at 80% 18%,rgba(255,255,255,.13),transparent 31%),linear-gradient(145deg,#29231e,#101010 67%,#1c1b1a);color:#fff9f1;box-shadow:0 24px 62px #1010103d,inset 0 1px 1px #ffffff24}.scan-glow{display:inline-flex;width:72px;height:72px;align-items:center;justify-content:center;color:#ff8a35;filter:drop-shadow(0 0 22px rgba(255,93,0,.78))}.scan-glow svg{width:72px;height:72px}.scan-card strong{max-width:140px;font-size:19px;font-weight:850;line-height:1.22}.scan-arrow{display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;border:1px solid rgba(255,90,0,.64);border-radius:999px;background:#ff5a001f;color:var(--action)}.scan-arrow svg{width:24px;height:24px}.metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;min-height:74px;padding:12px 15px;border:1px solid rgba(255,255,255,.76);border-radius:28px;background:#ffffffb8;box-shadow:0 20px 56px #54402e14,inset 0 1px #fffffff0;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.metric{display:grid;gap:8px;min-height:48px;align-content:center;padding:0 14px;border-right:1px solid rgba(226,216,208,.72);background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.metric:last-child{border-right:0}.metric strong{overflow-wrap:anywhere;color:#111;font-size:29px;font-weight:800;line-height:1}.metric span{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12px;font-weight:700;line-height:1.18}.metric i{display:inline-flex;width:8px;height:8px;flex:0 0 auto;border-radius:999px;background:#43c55e}.metric-warn i{background:#f3c400}.metric-live i{background:#0ea5e9}.quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px;border:1px solid rgba(255,255,255,.82);border-radius:32px;background:#ffffff85;box-shadow:0 18px 50px #54402e14,inset 0 1px #ffffffeb;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.quick-actions button{display:flex;min-height:50px;align-items:center;justify-content:center;gap:9px;padding:8px 10px;border:1px solid rgba(255,255,255,.72);border-radius:23px;background:#ffffffc2;color:var(--text);font-size:13px;line-height:1.12;text-align:center;box-shadow:0 12px 30px #44403c12,inset 0 1px #ffffffdb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.quick-actions span{display:inline-flex;width:29px;height:29px;flex:0 0 auto;align-items:center;justify-content:center;border-radius:999px;background:transparent;color:var(--action-dark)}.quick-actions svg{width:27px;height:27px}.panel,.next-order,.profile-card{border:1px solid rgba(255,255,255,.72);border-radius:29px;background:#ffffffc2;box-shadow:0 20px 56px #54402e14,inset 0 1px #ffffffeb;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.panel{display:grid;gap:8px;padding:14px 17px 12px}.compact-panel{gap:8px;margin-top:14px}.panel-head{display:flex;min-height:31px;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{margin:0;color:var(--ink);font-size:19px;font-weight:850;letter-spacing:0}.panel-head button,.panel-head span{min-width:34px;border:1px solid rgba(226,216,208,.62);border-radius:999px;background:#ffffff8a;color:var(--muted);font-size:12px;font-weight:800;padding:7px 10px}.list-row{display:flex;align-items:center;gap:11px;min-height:50px;padding:6px 0;border-top:1px solid rgba(226,216,208,.56)}.document-row{width:100%;border-right:0;border-bottom:0;border-left:0;background:transparent;color:inherit;text-align:left}.document-row:active{transform:translateY(1px)}.list-row:first-of-type{border-top:0}.status-dot{width:12px;height:12px;flex:0 0 auto;border-radius:99px;background:#a8a29e}.status-dot.good{background:#22c55e}.status-dot.warn{background:#eab308}.status-dot.bad{background:#ef4444}.status-dot.live{background:#0ea5e9;box-shadow:0 0 0 4px #0ea5e91a}.row-main{min-width:0;flex:1}.row-main strong,.row-main span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-main strong{color:var(--text);font-size:13px;font-weight:850;letter-spacing:0}.row-main span,.row-side{color:var(--muted);font-size:13px}.row-side{flex:0 0 auto;text-align:right}.row-side strong{color:#6f6863;font-size:17px;font-weight:650}.row-repeat{flex:0 0 auto;border:1px solid rgba(234,88,12,.22);border-radius:999px;background:#fff7edb8;color:#c2410c;font-size:12px;font-weight:850;padding:7px 10px}.row-arrow{flex:0 0 auto;color:#68605b61;font-size:31px;font-weight:300;line-height:1}.empty-state{display:grid;gap:4px;padding:22px 14px;border:1px dashed rgba(168,162,158,.5);border-radius:24px;color:var(--muted);text-align:center}.empty-state strong{color:#44403c}.skeleton-list{display:grid;gap:8px}.skeleton-list span{height:48px;border-radius:14px;background:linear-gradient(90deg,#f5f5f4,#fff 48%,#f5f5f4);background-size:240% 100%;animation:shimmer 1.4s ease infinite}.ideas-list{display:grid;gap:8px}.idea{display:grid;gap:3px;padding:12px;border-radius:20px;background:#fafaf99e}.idea strong{color:#292524;font-size:13px}.idea span{color:#78716c;font-size:12px;line-height:1.35}.next-order{display:grid;gap:4px;padding:14px}.next-order span{color:#78716c;font-size:12px;font-weight:700}.next-order strong{color:#1c1917}.chat-screen{display:flex;flex-direction:column;gap:13px;min-height:calc(100svh - 126px - env(safe-area-inset-bottom));padding-bottom:calc(98px + env(safe-area-inset-bottom))}.chat-active{min-height:calc(100svh - 126px - env(safe-area-inset-bottom));padding-bottom:calc(98px + env(safe-area-inset-bottom))}.chat-topbar{display:flex;align-items:center;gap:12px;min-height:56px;padding:7px 9px 8px;border:1px solid rgba(255,255,255,.74);border-radius:26px;background:#ffffffa8;box-shadow:0 16px 44px #54402e14,inset 0 1px #ffffffe6;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.chat-topbar button{display:inline-flex;width:42px;height:42px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:18px;background:#fff7ede6;color:var(--action-dark);box-shadow:inset 0 1px #fffffff0}.chat-topbar button svg{width:24px;height:24px}.chat-topbar div{display:grid;gap:2px;min-width:0}.chat-topbar .chat-status{margin-bottom:0;font-size:11px}.chat-topbar strong{overflow:hidden;color:var(--ink);font-size:17px;font-weight:850;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.chat-messages{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:visible;padding:4px 0 0}.chat-thread{flex:1;justify-content:flex-start;min-height:0;max-height:calc(100svh - 186px - env(safe-area-inset-bottom));overflow-y:auto;padding:10px 0 calc(104px + env(safe-area-inset-bottom));scrollbar-width:none}.chat-thread::-webkit-scrollbar{display:none}.chat-empty{display:grid;gap:14px;align-content:start;min-height:0;padding:22px;border:1px solid rgba(255,255,255,.72);border-radius:32px;background:radial-gradient(circle at 87% 8%,rgba(255,90,0,.12),transparent 34%),linear-gradient(145deg,#ffffffd1,#fff9f3ad);box-shadow:0 18px 48px #44403c17,inset 0 1px #ffffffdb;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.chat-intro{display:flex;align-items:center;gap:14px}.chat-brand{width:54px;height:54px;flex:0 0 auto;border-radius:20px}.chat-brand svg{width:34px;height:34px}.chat-status{display:inline-flex;align-items:center;gap:7px;margin-bottom:6px;color:#78716c;font-size:12px;font-weight:800}.chat-status i{width:8px;height:8px;border-radius:999px;background:#22c55e;box-shadow:0 0 0 4px #22c55e1a}.chat-empty h2{margin:0;color:var(--ink);font-size:28px;line-height:1.08}.chat-lead{margin:0;color:#78716c;font-size:16px;line-height:1.45}.chat-context-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.chat-context-grid button{display:grid;gap:7px;min-height:104px;align-content:space-between;border:1px solid rgba(255,255,255,.76);border-radius:24px;background:#ffffffa3;color:var(--text);padding:12px;text-align:left;box-shadow:0 14px 34px #54402e12,inset 0 1px #ffffffeb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.chat-context-grid span,.chat-context-grid small{color:#78716c;font-size:11px;font-weight:800;line-height:1.15}.chat-context-grid strong{overflow-wrap:anywhere;color:#111;font-size:26px;line-height:1}.prompt-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.prompt-stack button{min-width:0;min-height:58px;border:1px solid rgba(234,88,12,.14);border-radius:20px;background:#fff7edb8;color:#9a3412;font-size:12px;font-weight:800;text-align:left;line-height:1.18;padding:10px 12px;box-shadow:inset 0 1px #ffffffd1}.bubble{max-width:88%;padding:12px 14px;border-radius:23px;font-size:14px;line-height:1.42;white-space:pre-wrap}.bubble p{margin:0 0 8px}.bubble p:last-child,.bubble ul:last-child{margin-bottom:0}.bubble ul{display:grid;gap:7px;margin:8px 0;padding-left:18px;white-space:normal}.bubble li{padding-left:2px}.bubble a{color:#c2410c;font-weight:800;text-decoration:none}.bubble code{border-radius:7px;background:#f5f5f4;padding:1px 5px;color:#57534e;font-size:12px}.bubble-user{align-self:flex-end;border-bottom-right-radius:9px;background:var(--ink);color:#fff7ed;box-shadow:0 10px 26px #1c191724}.bubble-assistant{align-self:flex-start;border:1px solid rgba(255,255,255,.72);border-bottom-left-radius:9px;background:#ffffffdb;color:#292524;box-shadow:0 12px 34px #44403c14;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.chat-active .bubble{max-width:min(86%,430px);padding:11px 13px;border-radius:21px;font-size:13px;line-height:1.36}.chat-active .bubble-user{max-width:min(72%,360px);padding:10px 13px;border-radius:21px 21px 8px}.chat-active .bubble-assistant{border-radius:25px 25px 25px 8px;background:radial-gradient(circle at 92% 0%,rgba(255,90,0,.06),transparent 32%),#ffffffc7;box-shadow:0 14px 38px #44403c14,inset 0 1px #ffffffe0}.chat-active .bubble p{margin-bottom:6px}.chat-active .bubble ul{gap:5px;margin:6px 0;padding-left:17px}.chat-active .bubble li{padding-left:0}.typing{align-self:flex-start;padding:10px 13px;border:1px solid rgba(255,255,255,.72);border-radius:18px;background:#ffffffad;color:#78716c;font-size:12px;font-weight:700;box-shadow:0 12px 28px #44403c12,inset 0 1px #ffffffdb;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.composer{position:fixed;right:auto;bottom:calc(15px + env(safe-area-inset-bottom));left:50%;z-index:18;display:grid;width:var(--mobile-width);grid-template-columns:40px minmax(0,1fr) 40px 42px;gap:7px;align-items:center;margin-top:0;padding:8px;border:1px solid rgba(255,255,255,.74);border-radius:28px;background:#ffffffb3;box-shadow:0 18px 50px #54402e29,inset 0 1px #ffffffeb;-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);transform:translate(-50%)}.composer:after{display:none}.composer button{display:inline-flex;width:40px;height:40px;align-items:center;justify-content:center;border:0;border-radius:16px;background:#ffffffa8;color:#44403c;font-size:0;font-weight:900;box-shadow:inset 0 1px #ffffffd9}.composer button[type=submit]{width:42px;height:42px;border-radius:18px;background:var(--action);color:#fff7ed;box-shadow:0 10px 24px #ff5a003d,inset 0 1px #ffffff40}.composer button:disabled{opacity:.42}.composer-icon.voice-active{background:#ff5a0024;color:var(--action)}.composer svg{width:22px;height:22px}.composer-field{display:grid;min-width:0;gap:4px;padding:0 2px;border:1px solid rgba(231,229,228,.82);border-radius:19px;background:#ffffffb8;box-shadow:inset 0 1px #ffffffe6}.composer textarea{min-height:40px;max-height:110px;border:0;border-radius:18px;padding:10px 11px;background:transparent;overflow:hidden;line-height:20px;resize:none}.composer textarea:focus{box-shadow:none}.attachment-strip{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 0 10px;color:var(--action-dark);font-size:11px;font-weight:850}.attachment-strip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-strip button{width:20px;height:20px;flex:0 0 auto;border-radius:999px;background:#ff5a001a;color:var(--action-dark);font-size:15px;line-height:1}.scan-hero{display:grid;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.76);border-radius:32px;background:radial-gradient(circle at 80% 12%,rgba(255,90,0,.16),transparent 38%),linear-gradient(145deg,#ffffffe0,#fff8f1bd);color:var(--ink);box-shadow:0 20px 56px #54402e14,inset 0 1px #fffffff0;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.scan-hero,.order-panel,.profile-card{overflow:hidden}.scan-hero p{margin:0;color:var(--muted);font-size:13px;line-height:1.4}.camera-button{display:flex;align-items:center;justify-content:center;gap:10px;background:radial-gradient(circle at 48% 0%,rgba(255,90,0,.35),transparent 42%),linear-gradient(145deg,#29231e,#101010 72%);color:#fff7ed;font-size:16px;box-shadow:0 18px 44px #1c19172e,inset 0 1px #ffffff1f}.camera-button span,.camera-button svg{width:24px;height:24px}.file-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}.file-pill{display:grid;min-width:148px;gap:6px;padding:10px;border:1px solid rgba(255,255,255,.72);border-radius:20px;background:#ffffffc2}.file-pill span{color:#ea580c;font-size:11px;font-weight:900}.file-pill strong{overflow:hidden;color:#44403c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.upload-progress{display:grid;gap:8px;width:100%;padding:10px;border:0;border-radius:16px;background:#fafaf9;color:inherit;text-align:left}.upload-progress strong,.upload-progress span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-progress span{color:#78716c;font-size:12px}.progress-track{height:8px;overflow:hidden;border-radius:99px;background:#e7e5e4}.progress-track span{display:block;height:100%;border-radius:inherit;background:#fb923c;transition:width .28s ease}.review-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:flex-end;justify-content:center;padding:16px 14px calc(14px + env(safe-area-inset-bottom));background:#1c191757;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.review-sheet{display:grid;width:var(--mobile-width);max-height:calc(100svh - 38px - env(safe-area-inset-top) - env(safe-area-inset-bottom));gap:12px;overflow-y:auto;padding:9px 15px 15px;border:1px solid rgba(255,255,255,.74);border-radius:30px;background:#fffdf9f0;box-shadow:0 28px 80px #1c191747,inset 0 1px #fffffff0;scrollbar-width:none}.review-sheet::-webkit-scrollbar{display:none}.review-handle{width:44px;height:5px;justify-self:center;border-radius:99px;background:#d6d3d1}.review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.review-head span{color:var(--action-dark);font-size:11px;font-weight:900;text-transform:uppercase}.review-head h2{margin:3px 0 0;color:var(--ink);font-size:22px;line-height:1.08}.review-head button{display:inline-flex;width:38px;height:38px;flex:0 0 auto;align-items:center;justify-content:center;border:0;border-radius:15px;background:#f5f5f4;color:#57534e;font-size:24px;line-height:1}.review-summary{display:grid;grid-template-columns:1.15fr 1fr .7fr;gap:8px}.review-summary div,.review-callout,.review-handoff{border:1px solid rgba(231,229,228,.72);background:#fafaf9b8}.review-summary div{display:grid;gap:5px;min-width:0;padding:11px;border-radius:19px}.review-summary span,.review-handoff span{color:#78716c;font-size:11px;font-weight:750}.review-summary strong,.review-handoff strong{overflow:hidden;color:#292524;text-overflow:ellipsis;white-space:nowrap}.review-callout{display:grid;gap:3px;padding:12px;border-color:#fde68a;border-radius:21px;background:#fffbeb}.review-callout strong{color:#92400e;font-size:13px}.review-callout span{color:#78350f;font-size:12px;line-height:1.35}.review-callout-good{border-color:#bbf7d0;background:#f0fdf4}.review-callout-good strong,.review-callout-good span{color:#166534}.review-handoff{display:grid;gap:8px;padding:12px;border-radius:22px}.review-handoff p{margin:0;color:#57534e;font-size:12px;font-weight:720;line-height:1.45}.review-handoff div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}.review-error{margin:0;padding:10px 12px;border:1px solid #fecaca;border-radius:18px;background:#fff1f2;color:#be123c;font-size:12px;font-weight:750;line-height:1.35}.review-actions{display:grid;grid-template-columns:.72fr 1.28fr;gap:8px}.review-actions a,.review-actions button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;border-radius:18px;font-size:13px;font-weight:850;text-decoration:none}.review-actions a,.review-actions .secondary-action{border:1px solid rgba(231,229,228,.88);background:#fafaf9;color:#44403c}.review-actions a.primary-action{border:0;background:var(--ink);color:#fff7ed;box-shadow:0 13px 30px #1c19172e}.order-panel{gap:12px}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.template-grid button{display:grid;gap:5px;min-height:76px;border:1px solid rgba(255,255,255,.72);border-radius:22px;background:#fafaf9b8;padding:12px;text-align:left}.template-grid strong{display:-webkit-box;overflow:hidden;color:#292524;font-size:13px;line-height:1.18;-webkit-box-orient:vertical;-webkit-line-clamp:2}.template-grid span{color:#78716c;font-size:11px}.order-lines{display:grid;gap:9px}.order-line{display:grid;gap:7px;padding:10px;border:1px solid rgba(255,255,255,.72);border-radius:22px;background:#fafaf9b8}.order-line input{min-height:40px;padding:0 11px}.line-name{font-weight:800}.line-grid{display:grid;grid-template-columns:.8fr .8fr 1fr 40px;gap:6px}.line-grid button{width:40px;height:40px;border:0;border-radius:13px;background:#fee2e2;color:#be123c;font-size:20px;font-weight:800}.sticky-actions{position:sticky;bottom:calc(78px + env(safe-area-inset-bottom));z-index:7;display:grid;grid-template-columns:.85fr 1.4fr;gap:8px;padding:8px;border:1px solid rgba(255,255,255,.72);border-radius:27px;background:#ffffffd1;box-shadow:0 18px 50px #44403c24,inset 0 1px #ffffffe0;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.sticky-actions button:first-child{border:1px solid rgba(231,229,228,.88);background:#fafaf9c7;color:#44403c}.order-preview{max-height:190px;overflow:auto;margin:0;padding:12px;border-radius:16px;background:#1c1917;color:#fafaf9;font-size:12px;line-height:1.45;white-space:pre-wrap}.send-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.send-row a{display:inline-flex;min-height:44px;align-items:center;justify-content:center;border-radius:15px;background:#f0fdf4;color:#166534;font-size:13px;font-weight:850;text-decoration:none}.profile-card{display:grid;justify-items:center;gap:7px;padding:30px 14px;text-align:center}.profile-card h2{margin:8px 0 0;color:#1c1917}.profile-card span{color:#78716c;font-size:13px}.profile-card strong{color:#ea580c;font-size:13px}.settings-list{display:grid;gap:0}.settings-list div{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #f5f5f4;color:#78716c;font-size:13px}.settings-toggle{display:flex;width:100%;justify-content:space-between;gap:12px;padding:12px 0;border:0;border-top:1px solid #f5f5f4;background:transparent;color:#78716c;font:inherit;font-size:13px;text-align:left}.settings-list div:first-child{border-top:0}.settings-list strong,.settings-toggle strong{color:#292524;text-align:right}.bottom-nav{position:fixed;right:auto;bottom:calc(9px + env(safe-area-inset-bottom));left:50%;z-index:10;display:grid;width:var(--mobile-width);min-height:76px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 76px minmax(0,1fr) minmax(0,1fr);gap:2px;margin:0 auto;padding:8px 10px;border:1px solid rgba(255,255,255,.72);border-radius:28px;background:#ffffffb8;box-shadow:0 20px 56px #54402e26,inset 0 1px #ffffffeb;-webkit-backdrop-filter:blur(28px);backdrop-filter:blur(28px);transform:translate(-50%);transition:transform .34s cubic-bezier(.16,1,.3,1),opacity .22s ease,filter .22s ease,background .22s ease,box-shadow .22s ease;will-change:transform,opacity}.bottom-nav-hidden{opacity:0;pointer-events:none;filter:blur(4px);transform:translate(-50%,calc(115% + env(safe-area-inset-bottom))) scale(.98)}.bottom-nav button{position:relative;z-index:1;display:grid;min-width:0;height:60px;place-items:center;align-content:center;gap:4px;border:0;border-radius:22px;background:transparent;color:#67615d;font-size:12px;font-weight:760;line-height:1;outline:none}.bottom-nav span{display:inline-flex;width:27px;height:27px;align-items:center;justify-content:center;line-height:1}.bottom-nav svg{width:25px;height:25px}.bottom-nav button.active{background:#ffffffb8;color:var(--action);box-shadow:0 15px 36px #54402e1a,inset 0 1px #ffffffeb}.bottom-nav button:focus-visible{box-shadow:none}.bottom-nav button.active:focus-visible{box-shadow:0 15px 36px #54402e1a,inset 0 1px #ffffffeb}.bottom-nav button.active span{color:var(--action)}.bottom-nav .nav-chat{width:76px;height:60px;justify-self:center;align-self:center;margin-top:0;border:0;border-radius:24px;background:transparent;color:#4b4642;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}.bottom-nav .nav-chat span{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(255,90,0,.16);background:linear-gradient(180deg,#fffffff5,#fff7eddb);color:var(--action);box-shadow:0 12px 28px #54402e1c,inset 0 1px #fffffff5;transition:transform .2s cubic-bezier(.16,1,.3,1),box-shadow .2s ease}.bottom-nav .nav-chat.active{background:transparent;color:#4b4642}.bottom-nav .nav-chat.active span{color:var(--action)}.bottom-nav .nav-chat svg{width:31px;height:31px}.bottom-nav .nav-chat:active span{transform:scale(.95)}.toast{position:fixed;right:16px;bottom:calc(94px + env(safe-area-inset-bottom));left:16px;z-index:20;max-width:520px;min-height:48px;margin:0 auto;border:1px solid transparent;border-radius:16px;color:#1c1917;font-size:13px;font-weight:800;box-shadow:0 18px 48px #44403c2e}.toast-success{border-color:#bbf7d0;background:#f0fdf4}.toast-error{border-color:#fecaca;background:#fff1f2}.toast-info{border-color:#fed7aa;background:#fff7ed}@keyframes shimmer{0%{background-position:180% 0}to{background-position:-180% 0}}@media(min-width:720px){.app-shell{padding-top:calc(22px + env(safe-area-inset-top))}.app-header h1{max-width:430px}.login-card h1{font-size:34px}}@media(max-width:370px){.app-shell{padding-right:8px;padding-left:8px}.metric-grid,.quick-actions{gap:6px}.metric{padding:10px 8px}.metric strong{font-size:17px}.bottom-nav button{font-size:10px}.sticky-actions button{font-size:12px}}
