:root{--navy:#0f172a;--ink:#0f172a;--muted:#64748b;--line:#e2e8f0;--bg:#f1f5f9;--card:#fff;--green:#16a34a;--green-soft:#dcfce7;--red:#b91c1c;--red-soft:#fee2e2;--blue-soft:#e0f2fe;--radius:16px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);color:var(--ink);background:var(--bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Inter,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{background:var(--bg);overscroll-behavior-y:none}h1,h2,p{margin:0}button{font:inherit;color:inherit;cursor:pointer}button:disabled{opacity:.55;cursor:default}.splash{min-height:100dvh;color:var(--muted);place-items:center;display:grid}.login{min-height:100dvh;padding:calc(var(--safe-top) + 48px) 20px calc(var(--safe-bottom) + 24px);flex-direction:column;gap:20px;max-width:440px;margin:0 auto;display:flex}.login-brand{text-align:center;justify-items:center;gap:8px;display:grid}.login-brand h1{font-size:28px}.login-brand p{color:var(--muted)}.logo{background:var(--navy);color:#fff;border-radius:20px;place-items:center;width:72px;height:72px;font-size:40px;font-weight:900;display:grid;position:relative}.logo-dot{background:#22c55e;border-radius:50%;width:10px;height:10px;position:absolute;bottom:18px;right:14px}.segmented{background:#e2e8f0;border-radius:12px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:10px;font-weight:600}.segmented button.on{color:var(--ink);background:#fff;box-shadow:0 1px 3px #00000014}.form{gap:14px;display:grid}.form label{gap:6px;font-size:14px;font-weight:600;display:grid}.form input{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:12px;padding:14px;font-size:16px}.form input:focus{outline-offset:1px;outline:2px solid #94a3b8}.fineprint{text-align:center;color:var(--muted);font-size:13px}.card{background:var(--card);border-radius:var(--radius);gap:12px;padding:18px;display:grid;box-shadow:0 1px 2px #0f172a0d}.card h2{font-size:17px}.card-head{justify-content:space-between;align-items:baseline;display:flex}.muted{color:var(--muted);font-size:14px;line-height:1.4}.big{letter-spacing:-.5px;font-size:32px;font-weight:800}.btn{border:0;border-radius:12px;width:100%;padding:14px 16px;font-size:16px;font-weight:700}.btn.primary{background:var(--navy);color:#fff}.btn.secondary{color:var(--ink);background:#e2e8f0}.link{color:#2563eb;text-align:left;background:0 0;border:0;padding:4px 0;font-size:14px;font-weight:600}.msg{border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.4}.msg.error{background:var(--red-soft);color:var(--red)}.msg.info{background:var(--blue-soft);color:#075985}.banner{gap:4px;margin-bottom:12px;display:grid}.app{min-height:100dvh}.screen{padding:calc(var(--safe-top) + 16px) 16px calc(var(--safe-bottom) + 96px);max-width:560px;margin:0 auto}.home,.settings{gap:14px;display:grid}.hello{padding:4px 2px;font-size:26px;font-weight:800}.tabbar{-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:6px 8px calc(var(--safe-bottom) + 6px);background:#fffffff0;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.tabbar button{color:var(--muted);background:0 0;border:0;justify-items:center;gap:2px;padding:6px;font-size:12px;display:grid;position:relative}.tabbar button span[aria-hidden]{filter:grayscale();opacity:.7;font-size:22px}.tabbar button.on{color:var(--ink);font-weight:700}.tabbar button.on span[aria-hidden]{filter:none;opacity:1}.badge{color:#fff;background:#ef4444;border-radius:9px;place-items:center;min-width:18px;height:18px;padding:0 5px;font-size:11px;font-weight:700;display:grid;position:absolute;top:2px;left:calc(50% + 8px)}.install{background:#fef9c3}.install p{font-size:14px;line-height:1.4}.progress{background:#e2e8f0;border-radius:4px;height:8px;overflow:hidden}.progress div{background:var(--green);border-radius:4px;height:100%;transition:width .3s}.steps{gap:10px;margin:0;padding:0;list-style:none;display:grid}.steps li{grid-template-columns:24px 1fr auto;align-items:center;gap:10px;font-size:15px;display:grid}.steps .check{color:#fff;border:2px solid #cbd5e1;border-radius:50%;place-items:center;width:22px;height:22px;font-size:13px;display:grid}.steps li.done .check{background:var(--green);border-color:var(--green)}.steps li.done .step-title{color:var(--muted);text-decoration:line-through}.steps li.soon{color:var(--muted)}.step-detail{color:var(--muted);font-size:13px}.cats{gap:8px;margin:0;padding:0;list-style:none;display:grid}.cats li{justify-content:space-between;font-size:15px;display:flex}.status ul{gap:8px;margin:0;padding:0;font-size:15px;list-style:none;display:grid}.dot{border-radius:50%;width:10px;height:10px;margin-right:6px;display:inline-block}.dot.ok{background:#22c55e}.dot.bad{background:#ef4444}.dot.off{background:#cbd5e1}.chat{flex-direction:column;gap:10px;display:flex}.thread{flex-direction:column;gap:8px;display:flex}.bubble{border-radius:18px;gap:6px;max-width:86%;padding:12px 14px;font-size:15px;line-height:1.4;display:grid}.bubble.bot{background:#fff;border-bottom-left-radius:6px;align-self:flex-start;box-shadow:0 1px 2px #0f172a0d}.bubble.me{background:var(--navy);color:#fff;border-bottom-right-radius:6px;align-self:flex-end;font-weight:600}.bubble .meta{color:var(--muted);font-size:13px}.tag{text-transform:uppercase;letter-spacing:.4px;color:#92400e;background:#fef3c7;border-radius:6px;justify-self:start;padding:2px 6px;font-size:11px;font-weight:700}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:#fff;border-radius:999px;min-height:44px;padding:10px 14px;font-size:15px;font-weight:600}.chip:active:not(:disabled){background:var(--green-soft);border-color:var(--green)}.typing{color:var(--muted);font-size:14px}.chat-actions{gap:8px;margin-top:8px;display:grid}.password-field{position:relative}.password-field input{width:100%;padding-right:92px}.password-field .reveal{color:var(--ink);background:#e2e8f0;border:0;border-radius:9px;min-width:76px;padding:8px 12px;font-size:14px;font-weight:700;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.address-row{gap:8px;display:grid}.address{overflow-wrap:break-word;text-align:center;background:#f1f5f9;border-radius:10px;flex:1;min-width:0;padding:12px;font-size:15px;font-weight:600}.btn.small{padding:12px 14px;font-size:15px}.inbound h3{margin:4px 0 8px;font-size:15px}.inbound ul{gap:10px;margin:0;padding:0;list-style:none;display:grid}.inbound li{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.inbound-main{gap:2px;min-width:0;display:grid}.inbound-subject{overflow-wrap:anywhere;font-size:15px;font-weight:600}.muted.small,.small{font-size:13px}.pill{white-space:nowrap;background:#e2e8f0;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:700}
