:root{--bg:#f4f5f8;--surface:#fff;--surface-2:#f1f3f6;--border:#e6e8ee;--border-2:#d3d8e0;--text:#16181d;--muted:#71757e;--accent:#4f46e5;--accent-d:#4338ca;--danger:#dc2626;--ok:#16a34a;--wa:#25d366}*{box-sizing:border-box;margin:0;padding:0;-webkit-tap-highlight-color:transparent}body,html{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);-webkit-font-smoothing:antialiased}.shell,body{background:var(--bg)}.shell{max-width:480px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column}.appbar{position:-webkit-sticky;position:sticky;top:0;z-index:5;background:var(--surface);border-bottom:1px solid var(--border);height:54px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}.appbar .brand{font-size:17px;font-weight:800;letter-spacing:-.3px}.appbar .brand span{color:var(--accent)}.appbar .link{font-size:13px;color:var(--muted);background:none;border:none;cursor:pointer}.content{flex:1 1;padding:16px 16px 90px}.viewtitle{font-size:19px;font-weight:700;margin:4px 2px 14px}.card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px;margin-bottom:14px}.card h3{font-size:14px;font-weight:700;margin-bottom:12px}.card .hint{font-size:12.5px;color:var(--muted);margin-bottom:12px;line-height:1.45}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.field:last-child{margin-bottom:0}.field label{font-size:12.5px;font-weight:600;color:var(--muted)}.input,.textarea{border:1px solid var(--border-2);border-radius:10px;padding:11px 12px;font-size:15px;background:#fff;color:var(--text);outline:none;width:100%;font-family:inherit}.input:focus,.textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(79,70,229,.12)}.textarea{min-height:64px;resize:vertical}.btn{height:50px;width:100%;border-radius:12px;font-size:15.5px;font-weight:700;border:1px solid var(--border-2);background:#fff;color:var(--text);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:active{background:var(--accent-d)}.btn:disabled{opacity:.55}.btn.sm{height:38px;width:auto;padding:0 14px;font-size:13.5px;font-weight:600}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.toggle-row:last-child{border-bottom:none}.toggle-row .tl{font-size:14.5px;font-weight:500}.toggle-row .td{font-size:12px;color:var(--muted);margin-top:2px}.switch{position:relative;width:46px;height:28px;flex:none;border-radius:999px;background:var(--border-2);border:none;cursor:pointer;transition:background .18s ease}.switch.on{background:var(--ok)}.switch:after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .18s ease}.switch.on:after{transform:translateX(18px)}.banner{border-radius:10px;padding:11px 13px;font-size:13px;margin-bottom:12px}.banner.err{background:#fee2e2;border:1px solid #fecaca;color:#991b1b}.banner.ok{background:#dcfce7;border:1px solid #bbf7d0;color:#166534}.statgrid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin-bottom:14px}.stat{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:12px;text-align:center}.stat .n{font-size:22px;font-weight:800}.stat .l{font-size:11px;color:var(--muted);margin-top:2px}.listrow{display:flex;align-items:center;justify-content:space-between;padding:11px 0;border-bottom:1px solid var(--border)}.listrow:last-child{border-bottom:none}.mono{font-family:ui-monospace,Consolas,monospace;font-size:13px}.badge{font-size:11px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--surface-2);color:var(--muted)}.badge.active{background:#dcfce7;color:#15803d}.badge.pro{background:#ede9fe;color:#6d28d9}.hero{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px;margin-bottom:14px;gap:14px}.hero,.hero .av{display:flex;align-items:center}.hero .av{width:52px;height:52px;border-radius:50%;background:var(--accent);color:#fff;justify-content:center;font-weight:700;font-size:19px;flex:none}.hero .nm{font-size:17px;font-weight:700}.hero .ph{font-size:13px;color:var(--muted)}.bottomnav{position:fixed;bottom:0;left:0;right:0;max-width:480px;margin:0 auto;background:var(--surface);border-top:1px solid var(--border);display:flex;height:64px;padding-bottom:env(safe-area-inset-bottom)}.bottomnav button{flex:1 1;background:none;border:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11px;color:var(--muted);cursor:pointer}.bottomnav button.active{color:var(--accent)}.bottomnav button i{font-size:21px;line-height:1}select.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:34px}.vrow{display:flex;align-items:center;gap:12px;width:100%;background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;margin-bottom:10px;cursor:pointer;text-align:left}.vrow .vic,.vrow:active{background:var(--surface-2)}.vrow .vic{width:40px;height:40px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--accent);flex:none}.vrow .vmain{flex:1 1;min-width:0}.vrow .vlabel{font-size:15px;font-weight:700}.vrow .vsub{font-size:12.5px;color:var(--muted);margin-top:2px}.vrow .chev{color:var(--muted);flex:none}.section-label{font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.5px;margin:18px 2px 10px}.linkbtn{color:var(--accent);font-size:13.5px;font-weight:600;padding:0}.backbtn,.linkbtn{background:none;border:none;cursor:pointer}.backbtn{color:var(--muted);font-size:14px;padding:6px 0;margin-bottom:6px}.login{flex:1 1;display:flex;flex-direction:column;justify-content:center;padding:24px}.login .logo{text-align:center;font-size:26px;font-weight:800;margin-bottom:4px}.login .logo span{color:var(--accent)}.login .tag{text-align:center;font-size:13.5px;color:var(--muted);margin-bottom:26px}