/* GM Obras 3.0 — identidade premium do acesso, preservando Neon Auth */
:root{--gm-ink:#142b40;--gm-accent:#176db7;--gm-muted:#50677a}
.gm-access-screen{min-height:100dvh;padding:28px;background:#eaf1f7;color:var(--gm-ink);align-items:stretch}
.gm-access-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);width:100%;max-width:1170px;margin:auto;min-height:min(850px,calc(100dvh - 56px));background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 20px 65px #133b5d1c;border:1px solid #d7e4ee}
.gm-access-aside{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:48px;overflow:hidden;padding:42px 44px 35px;background:radial-gradient(circle at 100% 10%,#2c89cc66,transparent 46%),linear-gradient(150deg,#071c32 5%,#0c416f 68%,#1266aa 120%);color:#fff}
.gm-access-aside:after{content:"";position:absolute;pointer-events:none;right:-140px;bottom:170px;width:300px;height:300px;border:1px solid #ffffff23;box-shadow:0 0 0 38px #ffffff0a,0 0 0 85px #ffffff08;transform:rotate(24deg);border-radius:44px}
.gm-hero-brand{display:flex;gap:13px;align-items:center;color:#fff;text-decoration:none;position:relative;z-index:1}
.gm-mark{display:grid;place-items:center;width:49px;height:49px;border-radius:14px;background:linear-gradient(135deg,#58c0fa,#1674bd);font-weight:900;letter-spacing:-3px;font-size:19px;box-shadow:0 8px 22px #061c3366}
.gm-hero-brand strong{display:block;font-size:23px;letter-spacing:-.7px;line-height:1.15}
.gm-hero-brand small{display:block;color:#b9dcef;font-size:10px;font-weight:800;letter-spacing:2px;margin-top:4px}
.gm-hero-content{position:relative;z-index:1;max-width:520px;margin:auto 0}
.gm-kicker{font-size:12px;font-weight:800;letter-spacing:1.7px;color:#a6defd;display:flex;align-items:center;gap:10px}
.gm-kicker-dot{width:9px;height:9px;background:#77e8bb;border-radius:50%;box-shadow:0 0 0 5px #77e8bb24}
.gm-hero-content h2{font-size:clamp(33px,3.6vw,51px);line-height:1.1;letter-spacing:-1.7px;margin:21px 0 20px;font-weight:800}
.gm-hero-content h2 span{color:#80ccff}
.gm-hero-content>p{font-size:16px;color:#d3e9f8;line-height:1.7;max-width:450px}
.gm-hero-preview{max-width:430px;margin-top:35px;padding:23px 24px 18px;border-radius:18px;border:1px solid #ffffff45;background:linear-gradient(135deg,#ffffff26,#ffffff14);box-shadow:0 14px 30px #051c3370;backdrop-filter:blur(8px)}
.gm-hero-preview-top,.gm-preview-foot{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}
.gm-hero-preview-top{font-size:11px;letter-spacing:1.1px;font-weight:750;color:#e3f4ff}
.gm-preview-live{font-size:9px;letter-spacing:0;background:#1f906655;border:1px solid #76e4ae77;padding:4px 6px;border-radius:30px}
.gm-preview-bars{display:grid;gap:14px;margin:25px 0}
.gm-preview-bars div{display:grid;grid-template-columns:105px 1fr;gap:12px;align-items:center;font-size:12px;color:#e5f4ff}
.gm-preview-bars i{height:8px;background:linear-gradient(90deg,#54bbf7 var(--progress),#bedcf04a var(--progress));border-radius:8px}
.gm-preview-foot{border-top:1px solid #ffffff30;padding-top:14px;font-size:12px;color:#cee9fb}
.gm-hero-footer{position:relative;z-index:1;font-size:13px;color:#aecddd}
.gm-org-steps{display:grid;gap:12px;margin-top:35px}
.gm-org-steps span{padding:15px 17px;border-radius:12px;background:#ffffff15;border:1px solid #ffffff24;font-weight:700;color:#e2f1fc;font-size:14px}
.gm-org-steps span:nth-child(2){background:#60baff2e;border-color:#80ccff70}
.gm-access-screen .ws-auth{width:100%;max-width:none;border:0;box-shadow:none;border-radius:0;padding:44px clamp(26px,4.2vw,68px);display:flex;flex-direction:column;justify-content:center;align-self:stretch;min-width:0}
.gm-auth-header{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-bottom:20px}
.gm-auth-header .ws-brand{margin:0}
.gm-access-card .ws-brand{margin-bottom:23px}
.gm-auth-header .ws-brand{margin-bottom:0}
.gm-auth-secure{white-space:nowrap;color:#23634b;background:#e9f9ef;border:1px solid #cae7d3;border-radius:30px;font-size:11px;padding:6px 10px;font-weight:800}
.gm-auth-tabs{display:flex;gap:5px;padding:5px;border-radius:13px;background:#edf3f8;margin-bottom:25px}
.gm-auth-tabs button{border:0;flex:1;min-height:46px;padding:12px;border-radius:10px;font-weight:800;cursor:pointer;color:#436078;background:transparent;font-size:15px}
.gm-auth-tabs button[aria-pressed=true]{color:#13558b;background:#fff;box-shadow:0 2px 8px #092e4c15}
.gm-auth-eyebrow{font-weight:800;color:#1265a7;font-size:11px;letter-spacing:1.3px}
.gm-access-card .ws-auth-head h1,.gm-access-card>h1{font-size:clamp(27px,3vw,36px);letter-spacing:-.9px;color:#142e47;line-height:1.17;margin:8px 0 10px}
.gm-access-card .ws-auth-head p,.gm-access-card .ws-sub{font-size:15px;color:#52687c;line-height:1.6;margin:0 0 23px}
.gm-access-card .ws-form{gap:15px}
.gm-access-card .field label{font-size:14px!important;color:#2b4357;font-weight:800}
.gm-access-card .field input:not([type=checkbox]){width:100%;background:#f9fbfd;border:1px solid #b6cbdc;border-radius:11px;min-height:52px;padding:13px 14px;font-size:16px;color:#152e44}
.gm-access-card .field input:focus{outline:2px solid #266db5;outline-offset:1px;border-color:#266db5;background:#fff}
.gm-password-box{display:flex;align-items:center;position:relative}
.gm-password-box input{padding-right:88px!important}
.gm-password-toggle{position:absolute;right:5px;top:5px;bottom:5px;border:0;border-radius:8px;background:transparent;color:#1c6299;cursor:pointer;font-size:13px;font-weight:800;min-width:72px}
.gm-password-toggle:focus-visible,.gm-access-screen :is(a,button,input):focus-visible{outline:3px solid #d99430;outline-offset:3px}
.gm-access-card .primary{width:100%;min-height:53px;padding:14px 16px;border-radius:12px;font-size:16px;font-weight:800;background:#0963af;border-color:#0963af;box-shadow:0 7px 15px #0c61b124}
.gm-access-card .primary:hover{background:#074c88}
.gm-access-card button:disabled{opacity:.55;cursor:wait}
.gm-switch-copy{text-align:center;font-size:14px;color:#546b7e;margin:4px 0 0}
.gm-switch-copy .ws-link{font-size:14px;text-decoration:underline;text-underline-offset:3px}
.gm-forgot{display:block;margin:12px auto 0;font-size:14px;font-weight:800;min-height:45px}
.gm-password-guide,.gm-caps{font-size:13px;color:#48687e;margin:0;line-height:1.5}
.gm-caps{color:#8b4c11;font-weight:750}
.gm-access-card .ws-error{border-radius:10px;padding:12px 14px;background:#fff1f2;border:1px solid #e6bbc1;color:#8e2438;font-size:14px;line-height:1.5}
.gm-auth-success{background:#e8f6ed;border:1px solid #a8d5b7;border-radius:11px;padding:12px 15px;color:#1c6443;font-weight:700;font-size:14px;line-height:1.5}
.gm-auth-secondary{display:grid;gap:8px;margin:8px 0 0}
.gm-auth-secondary h2{font-size:23px;margin:0;color:#152e45}
.gm-auth-secondary>p{font-size:15px;color:#536d7f;line-height:1.5;margin:0 0 14px}
.gm-auth-footer{border-top:1px solid #e6edf4;margin-top:23px;padding-top:17px}
.gm-auth-footer p{font-size:12px;line-height:1.55;color:#596f80;margin:0 0 11px}
.gm-auth-footer nav{display:flex;flex-wrap:wrap;gap:10px 17px}
.gm-auth-footer a{font-size:13px;color:#1768a8;font-weight:750;text-decoration:none}
.gm-auth-footer a:hover{text-decoration:underline}
.gm-current-user{display:inline-block;margin:0 0 15px;color:#3f5b72;font-size:13px;overflow-wrap:anywhere}
.gm-company-list{display:grid;gap:10px;margin:0 0 22px}
.gm-company-list .ws-org-card{margin:0;border-radius:13px;padding:16px;gap:10px}
.gm-company-list .ws-org-card b{font-size:16px}
.gm-company-list .ws-org-card small{font-size:13px}
.gm-company-list button{min-height:45px;border-radius:9px;padding:10px 16px}
.gm-org-create{border-top:1px solid #e2eaf1;padding-top:20px}
.gm-org-create h2{font-size:19px;margin:0;color:#173b56}
.gm-org-create p{font-size:14px;color:#587082;line-height:1.5;margin:0}
.gm-switch-account{margin:12px auto 0;min-height:46px;font-size:14px}
.gm-org-screen .field-invite-notice{background:#eff8ff;border-color:#bed9ed;padding:17px;border-radius:13px}
.gm-org-screen .field-invite-notice h2{font-size:19px}
.gm-org-screen .field-invite-notice button{width:100%;min-height:50px}
@media(max-width:850px){
 .gm-access-screen{padding:0;background:#f4f8fc}
 .gm-access-shell{display:block;min-height:100dvh;border:0;border-radius:0;box-shadow:none}
 .gm-access-aside{display:none}
 .gm-access-screen .ws-auth{max-width:590px;min-height:100dvh;margin:auto;padding:35px clamp(19px,6vw,44px) calc(38px + env(safe-area-inset-bottom));justify-content:center}
 .gm-auth-header{margin-bottom:22px}
}
@media(max-width:395px){
 .gm-access-screen .ws-auth{padding:23px 18px 30px}
 .gm-auth-secure{font-size:10px;padding:5px 7px}
 .gm-auth-header .ws-brand strong{font-size:19px}
 .gm-access-card .ws-auth-head h1{font-size:28px}
 .gm-company-list .ws-org-card{flex-direction:column;align-items:stretch}
 .gm-company-list .ws-org-card button{width:100%}
}
@media(prefers-reduced-motion:reduce){.gm-access-screen *{scroll-behavior:auto!important;transition:none!important}}

.gm-invite-hint{font-size:14px;line-height:1.55;background:#eaf6fc;border:1px solid #a5cedf;color:#185875;border-left:4px solid #1f80bc;border-radius:11px;padding:13px 15px;margin:0 0 18px}
.gm-invite-hint[hidden]{display:none!important}
