:root,[data-theme=light]{--bg: #f3f6f4;--surface: #ffffff;--surface-2: #eef3f0;--text: #13201b;--muted: #5c6b65;--border: #dde5e0;--primary: #0e7a4c;--primary-text: #ffffff;--green: #12935a;--yellow: #c98a00;--red: #c8372d;--blue: #2f6fd6;--green-bg: #e3f5ec;--yellow-bg: #fdf3dc;--red-bg: #fbe7e5;--blue-bg: #e6eefc;--shadow: 0 1px 2px rgba(16, 32, 26, .06), 0 4px 16px rgba(16, 32, 26, .05)}[data-theme=dark]{--bg: #0d1412;--surface: #16201d;--surface-2: #1d2925;--text: #e8efec;--muted: #93a39c;--border: #26342f;--primary: #22b673;--primary-text: #062015;--green: #35c682;--yellow: #e8b13a;--red: #ff6b5e;--blue: #6b9cf0;--green-bg: #12301f;--yellow-bg: #33290f;--red-bg: #3a1714;--blue-bg: #14233d;--shadow: none}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.45;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}h1{font-size:1.6rem;margin:0;letter-spacing:-.01em}h2{font-size:1.1rem;margin:0 0 .5rem}h3{font-size:.95rem;margin:1rem 0 .4rem}p{margin:0 0 .6rem}code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.muted{color:var(--muted)}.small{font-size:.85rem}.center{text-align:center}.app-shell{min-height:100%;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.screen{max-width:640px;margin:0 auto;padding:calc(16px + env(safe-area-inset-top)) 16px 24px;display:flex;flex-direction:column;gap:14px}.screen-header{padding:8px 4px 4px}.screen-header p{margin:0 0 2px}.card{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:var(--shadow)}.card-info{background:var(--blue-bg);border-color:transparent}.bottom-nav{position:fixed;left:0;right:0;bottom:0;display:flex;justify-content:space-around;background:var(--surface);border-top:1px solid var(--border);padding:6px 8px calc(6px + env(safe-area-inset-bottom));z-index:10}.bottom-nav button{flex:1;max-width:160px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:none;border:0;color:var(--muted);font-size:.75rem;font-weight:600;border-radius:12px;cursor:pointer}.bottom-nav svg{width:26px;height:26px;fill:currentColor}.bottom-nav button.active{color:var(--primary);background:var(--surface-2)}.checks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.check{display:flex;gap:12px;align-items:flex-start}.check div{display:flex;flex-direction:column}.check .muted{font-size:.88rem}.dot{width:12px;height:12px;border-radius:50%;margin-top:6px;flex-shrink:0;background:var(--muted)}.check-ok .dot{background:var(--green)}.check-warn .dot{background:var(--yellow)}.check-error .dot{background:var(--red)}.check-pending .dot{background:var(--blue);animation:pulse 1.2s infinite ease-in-out}@keyframes pulse{50%{opacity:.35}}.auth-screen{min-height:100%;max-width:420px;margin:0 auto;padding:calc(32px + env(safe-area-inset-top)) 18px 32px;display:flex;flex-direction:column;gap:18px}.brand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.brand img{border-radius:18px}.center-screen{min-height:100%;display:grid;place-items:center}.form{display:flex;flex-direction:column;gap:14px}.form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.92rem}input{font:inherit;font-size:1.05rem;color:var(--text);background:var(--surface-2);border:1px solid var(--border);border-radius:12px;padding:14px;min-height:52px;width:100%}input:focus{outline:2px solid var(--primary);outline-offset:1px}.code-input{text-align:center;font-size:1.8rem;letter-spacing:.4em;font-variant-numeric:tabular-nums}.steps{margin:0;padding-left:1.2rem}.qr{width:200px;height:200px;align-self:center;background:#fff;padding:8px;border-radius:12px}.secret{display:block;word-break:break-all;padding:10px;background:var(--surface-2);border-radius:10px;margin-top:8px}details summary{cursor:pointer;color:var(--primary);font-size:.9rem}.btn{font:inherit;font-weight:700;border:0;border-radius:14px;min-height:52px;padding:0 18px;cursor:pointer;width:100%}.btn:disabled{opacity:.5;cursor:default}.btn-primary{background:var(--primary);color:var(--primary-text)}.btn-danger{background:var(--red-bg);color:var(--red);margin-bottom:10px}.btn-link{background:none;color:var(--primary);min-height:44px;font-weight:600}.segmented{display:flex;background:var(--surface-2);border-radius:12px;padding:4px;gap:4px}.segmented button{flex:1;min-height:44px;border:0;border-radius:9px;background:none;color:var(--muted);font:inherit;font-weight:600;cursor:pointer}.segmented button.active{background:var(--surface);color:var(--text);box-shadow:var(--shadow)}.alert{border-radius:12px;padding:12px 14px;font-size:.92rem}.alert-red{background:var(--red-bg);color:var(--red)}.alert-blue{background:var(--blue-bg);color:var(--blue)}.plain{list-style:none;padding:0;margin:0 0 8px}.spinner{width:36px;height:36px;border-radius:50%;border:3px solid var(--border);border-top-color:var(--primary);animation:spin .8s linear infinite;align-self:center}@keyframes spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion: reduce){*{animation:none!important}}
