/* v3.4.0 — Login protegido e gestão master. */
body.otg-auth-locked .app-shell{visibility:hidden!important}
.otg-auth-gate{position:fixed;inset:0;z-index:100000;background:radial-gradient(ellipse at 80% -10%,#293866,#0b1731 45%,#060e23);display:grid;place-items:center;padding:20px;color:#13244b;font-family:Inter,system-ui,Arial,sans-serif}
.otg-auth-panel{width:min(100%,450px);max-height:calc(100vh - 24px);overflow:auto;background:#fff;border:1px solid #e5e9f2;border-radius:23px;padding:38px;box-shadow:0 35px 100px #0005}
.otg-auth-mark{display:flex;align-items:baseline;gap:12px;font-size:20px;font-weight:800;color:#102247;margin-bottom:24px}
.otg-auth-mark span{display:inline-flex;background:#0b1a3a;color:#e8c659;border-radius:12px;padding:8px 10px;letter-spacing:.03em}
.otg-auth-eyebrow{font-size:10px;color:#6a809c;letter-spacing:.12em;font-weight:800}
.otg-auth-panel h1{font-size:28px;letter-spacing:-.04em;line-height:1.2;margin:12px 0}
.otg-auth-panel p{font-size:13px;color:#66758d;line-height:1.7;margin:0 0 23px}
.otg-auth-panel form,.otg-users-content form{display:flex;flex-direction:column;gap:16px}
.otg-auth-panel label,.otg-users-content label{display:flex;flex-direction:column;gap:8px;color:#40516b;font-size:12px;font-weight:700}
.otg-auth-panel input,.otg-users-content input{width:100%;border:1px solid #cbd5e2;border-radius:11px;background:#fff;color:#102247;font:inherit;font-size:14px;padding:13px 14px;min-height:44px;box-sizing:border-box}
.otg-auth-panel input:focus,.otg-users-content input:focus{border-color:#255dba;outline:2px solid #d6e7fa}
.otg-auth-primary{border:0;border-radius:11px;background:#102247;color:white!important;font:inherit;font-size:13px;font-weight:750;min-height:45px;cursor:pointer;padding:12px 18px}
.otg-auth-primary:disabled{opacity:.6;cursor:wait}
.otg-auth-message{font-size:12px;line-height:1.5;min-height:19px;margin-top:15px;color:#1e8a69}
.otg-auth-message[data-error="true"]{color:#bf3746}
.otg-auth-note{margin-top:25px;border-top:1px solid #e9ecf2;padding-top:16px;color:#8995a9;font-size:11px}
.otg-account-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.otg-signed-in{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;color:var(--muted,#718096)}
.otg-account-button{padding:7px 10px;border:1px solid var(--line,#dfe4ed);border-radius:8px;background:var(--surface,#fff);color:var(--ink,#152944);font-weight:650;font-size:10px;cursor:pointer}
.otg-account-button:hover{border-color:#8fb2de}
.otg-users-dialog{border:0;border-radius:21px;padding:0;width:min(690px,calc(100vw - 22px));max-height:min(90vh,860px);background:#fff;color:#142443;box-shadow:0 30px 100px #0006}
.otg-users-dialog::backdrop{background:rgba(4,13,35,.72);backdrop-filter:blur(8px)}
.otg-users-content{padding:27px;max-height:88vh;overflow:auto}
.otg-users-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #e8edf4;padding-bottom:16px;margin-bottom:22px}
.otg-users-header small{font-weight:900;font-size:9px;letter-spacing:.13em;color:#4c80ad}
.otg-users-header h2{font-size:26px;letter-spacing:-.045em;margin:6px 0}
.otg-users-header p{font-size:12px;color:#7e8fa4;margin:0;line-height:1.6}
#otg-close-users{border:1px solid #e5e8ed;background:#f9fafc;border-radius:10px;width:34px;height:34px;cursor:pointer;font-size:21px;color:#586477;flex:none}
.otg-users-content form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px}
#otg-users-feedback{font-size:12px;color:#6c7c91;margin:10px 0 18px}
.otg-users-content h3{font-size:13px;margin:26px 0 13px}
.otg-user-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #eef0f4}
.otg-user-row strong{display:block;font-size:12px;color:#1e304b;overflow-wrap:anywhere}
.otg-user-row small{display:block;font-size:11px;color:#8b97a9;margin-top:3px}
.otg-user-actions{display:flex;gap:6px;flex:none}
.otg-user-actions button{border:1px solid #dce3ef;background:#f7f9fc;color:#283f62;border-radius:8px;padding:8px;font-size:10px;font-weight:700;cursor:pointer}
#otg-invite:not([hidden]){display:grid;gap:11px;background:#f0f6ff;border:1px solid #c9dbf7;border-radius:13px;padding:15px;margin-bottom:18px}
.otg-invite-head strong{display:block;font-size:13px;color:#193a6a}
.otg-invite-head small{font-size:11px;color:#6685a9}
.otg-secret-email,.otg-secret-password{font:700 12px ui-monospace,Menlo,monospace;color:#12315d;background:white;border-radius:7px;padding:10px;overflow-wrap:anywhere}
@media(max-width:1100px){.otg-signed-in{display:none}.otg-account-tools{gap:4px}.otg-account-button{padding:6px}}
@media(max-width:720px){.otg-account-tools{width:100%;justify-content:flex-end;order:3}.otg-auth-panel{padding:27px 22px}.otg-users-content{padding:17px}.otg-users-content form{grid-template-columns:1fr}.otg-user-row{align-items:flex-start;flex-direction:column}.otg-user-actions{width:100%}}
