/* TATNERA — Supabase authentication & studio onboarding */
body.tatnera-auth-locked{overflow:hidden}
body.tatnera-auth-locked .app-shell{visibility:hidden}
body:not(.tatnera-auth-locked) .tatnera-auth-boot{display:none!important}
.tatnera-auth-shell{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 15% 10%,rgba(122,83,255,.16),transparent 34%),radial-gradient(circle at 90% 90%,rgba(94,203,175,.10),transparent 32%),#111115;color:#f7f7f8;font-family:inherit}
.tatnera-auth-shell[hidden]{display:none}
.tatnera-auth-card{width:min(100%,470px);border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:28px;background:rgba(25,25,31,.96);box-shadow:0 28px 80px rgba(0,0,0,.4)}
.tatnera-auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:24px}.tatnera-auth-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#f4f1ff;color:#17131f;font-weight:900;font-size:20px}.tatnera-auth-brand strong,.tatnera-auth-brand span{display:block}.tatnera-auth-brand strong{letter-spacing:.08em}.tatnera-auth-brand span{font-size:11px;color:#9c9ca8;margin-top:2px}
.tatnera-auth-head{margin-bottom:18px}.tatnera-auth-head h1{margin:0 0 6px;font-size:25px}.tatnera-auth-head p{margin:0;color:#aaaab5;font-size:13px;line-height:1.5}
.tatnera-auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;margin-bottom:18px;border-radius:12px;background:#0e0e12}.tatnera-auth-tab{border:0;border-radius:9px;padding:9px 10px;background:transparent;color:#8f8f9b;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.tatnera-auth-tab.active{background:#2a2930;color:#fff}
.tatnera-auth-form{display:flex;flex-direction:column;gap:12px}.tatnera-auth-form[hidden]{display:none}.tatnera-auth-form label{display:flex;flex-direction:column;gap:6px;color:#b8b8c1;font-size:11px;font-weight:700}.tatnera-auth-form input{width:100%;min-height:44px;border:1px solid #383841;border-radius:11px;padding:10px 12px;background:#16161b;color:#fff;font:inherit;outline:none}.tatnera-auth-form input:focus{border-color:#7165a5;box-shadow:0 0 0 3px rgba(113,101,165,.14)}
.tatnera-auth-submit{min-height:44px;margin-top:3px;border:0;border-radius:11px;padding:10px 14px;background:#f3f0ff;color:#17131f;font:inherit;font-weight:900;cursor:pointer}.tatnera-auth-submit:disabled{opacity:.55;cursor:wait}.tatnera-auth-secondary{border:0;background:transparent;color:#b9aedf;font:inherit;font-size:11px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tatnera-auth-message{margin-top:14px;padding:10px 12px;border:1px solid #3d3b49;border-radius:10px;background:#18171d;color:#b8b8c1;font-size:11px;line-height:1.5}.tatnera-auth-message:empty{display:none}.tatnera-auth-message.error{border-color:#6f3838;background:#251717;color:#efb2b2}.tatnera-auth-message.success{border-color:#365847;background:#16241d;color:#b7dfc8}
.tatnera-auth-user{margin:0 0 18px;padding:10px 12px;border:1px solid #35353e;border-radius:11px;background:#15151a;color:#aaaab4;font-size:11px}.tatnera-auth-user strong{color:#fff}
.tatnera-auth-foot{margin-top:18px;color:#777782;font-size:10px;line-height:1.5;text-align:center}
.tatnera-logout-btn{width:100%;margin-top:7px;border:1px solid var(--line);border-radius:10px;padding:8px 10px;background:transparent;color:var(--muted);font:inherit;font-size:10px;font-weight:700;cursor:pointer}.tatnera-logout-btn:hover{color:var(--text);background:var(--panel-2)}
@media(max-width:560px){.tatnera-auth-shell{padding:14px;align-items:center}.tatnera-auth-card{padding:22px;border-radius:18px}}
