/* Portal DG: cartão compacto, entrada por key e dados de cada app. */
.client-page .topbar,.client-page footer{display:none}.client-page .client-main{max-width:520px;margin:0 auto;padding:40px 20px;min-height:100vh;display:flex;align-items:center;justify-content:center}.portal-shell{width:100%;max-width:440px}.client-page:before{background:linear-gradient(#07060cbb,#07060cd9)}.portal-shell .client-card{display:block;padding:36px;background:#0d0c14f5;border:1px solid #ffffff12;border-radius:15px;box-shadow:0 24px 90px #0005;margin:0 0 18px}.portal-shell h1{font-size:23px;letter-spacing:-.9px;line-height:1.25;margin:0 0 10px;font-weight:750}.portal-shell h3{font-size:15px}.portal-subtitle{color:#a6a0b5;font-size:14px;line-height:1.6;margin:0 0 26px}.portal-mark{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;color:#b59bff;background:#7c50ee18;border-radius:12px;margin-bottom:22px}.portal-mark svg{width:28px;height:28px}.portal-shell label,.portal-field{font-size:12px!important;font-weight:600;color:#dedbe9!important;margin:20px 0 8px;display:block}.portal-shell input,.portal-shell select{height:44px;min-width:0;width:100%;padding:10px 14px;border:1px solid #ffffff1c;background:#09090f;border-radius:8px;box-shadow:none;font-size:14px;color:#e8e4f0}.portal-shell input:focus,.portal-shell select:focus{outline:2px solid #956df0;outline-offset:2px}.portal-shell input[readonly]{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.portal-shell .primary{background:#8056f7;color:#fff;border:1px solid #976fff66;box-shadow:none;min-height:44px;width:100%;display:flex;align-items:center;justify-content:center;gap:13px;border-radius:8px;font-size:14px;font-weight:650;padding:10px 16px;cursor:pointer}.portal-shell .primary:hover{background:#916cff;transform:translateY(-1px)}.portal-shell .primary:disabled{opacity:.5;cursor:default;transform:none}.portal-shell .entry-form>.primary{margin-top:22px}.key-safety{font-size:12px;color:#a29aae;text-align:center;margin:20px 0 25px;line-height:1.6}.key-safety span{margin-right:5px}.portal-shell .portal-details{border-top:1px solid #ffffff10;margin-top:18px;padding-top:15px;font-size:12px}.portal-shell summary{cursor:pointer;color:#aba0bc;font-size:12px;line-height:1.8}.portal-shell details p,.portal-shell details small{font-size:12px;color:#a59bb4;line-height:1.7}.portal-shell .secondary{min-height:38px;padding:8px 13px;width:auto}.portal-details form>button{margin-top:14px}.portal-brand{display:flex;align-items:center;gap:9px;font-size:20px;letter-spacing:-.8px;margin:0 0 23px 4px}.portal-brand .portal-mark{background:none;width:28px;height:30px;margin:0}.portal-brand b{font-weight:750}.account-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:24px}.account-heading h1{margin:0}.service-badge{color:#7ae8b2;background:#163e2c33;border:1px solid #28644775;font-size:10px;padding:3px 8px;white-space:nowrap;border-radius:5px;line-height:1.5;max-width:155px;overflow-wrap:anywhere}.portal-input{display:flex;align-items:center;gap:3px;border:1px solid #ffffff1c;background:#09090f;border-radius:8px;padding-right:8px}.portal-input input{border:0!important;background:transparent;flex:1;width:0!important;font-size:12px;height:40px;box-shadow:none!important}.field-action{border:0!important;background:none!important;color:#aaa1ba;min-width:29px;min-height:32px;padding:0!important;cursor:pointer;font-size:18px;line-height:1}.field-action:hover{color:#e2cfff}.portal-shell .code-section{margin-top:26px;border-top:1px solid #ffffff10;padding-top:20px}.quota-row{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a39bb2;font-size:12px;margin-bottom:17px}.quota-row strong{font-weight:500;color:#c7b3f9}.quota-row small{color:#a39bb2}.portal-shell .app-tile{border:0;padding:0;margin:0;display:block;background:none;border-radius:0}.portal-shell .code-help{color:#a59db2;font-size:12px;line-height:1.8;margin:17px 0 0}.quota-note{display:flex;flex-direction:column;gap:3px;font-size:11px;color:#9d92ae;margin-top:18px;padding:13px 14px;border:1px solid #8256ea33;border-radius:8px;background:#8056f70a}.quota-note strong{color:#d1bcff;font-size:12px}.quota-note small{font-size:10px;line-height:1.6}.expiry-row{border-top:1px solid #ffffff10;margin-top:25px;padding-top:19px;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px}.expiry-row strong{font-weight:600;color:#e2ddea}.expiry-row em{font-style:normal;color:#b99aff}.expiry-row>span{color:#a39aaf;font-size:10px}.portal-links{display:flex;flex-direction:column;align-items:center;gap:12px;font-size:12px;margin:25px 0 5px}.portal-links button{font-size:12px;text-decoration:underline;padding:0;color:#b0a5c3}.portal-links small{font-size:10px;color:#82758e}.portal-signature{text-align:center;color:#7e718f;font-size:9px;letter-spacing:1.6px;margin:27px 0 0}.portal-shell .notice{font-size:12px;line-height:1.7;padding:14px 16px;margin:0 0 18px;overflow-wrap:anywhere}.portal-shell .notice.error{background:#63283233}.portal-alerts:empty{display:none}.portal-shell .requests-card{padding:20px 24px}.requests-card .notice{margin-top:18px}.requests-card h3{margin-top:0}.requests-card label input{font-size:11px!important}.requests-card .secondary{margin-top:10px}.portal-shell .code-result{margin-top:20px;text-align:center;border-radius:10px;padding:19px 14px;background:#8056f710;border:1px solid #9568e84d}.portal-shell .code-result strong{font-size:30px;letter-spacing:6px;display:block;line-height:1.5;margin:12px 0;color:#eee5ff}.portal-shell .code-result small{font-size:9px;letter-spacing:1px}.portal-shell .code-result p{font-size:11px;color:#a99ab9;margin:12px 0 0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.portal-shell .waiting-card p{font-size:13px}#portal-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#25202f;border:1px solid #9f7ae777;color:#efe6ff;padding:9px 18px;border-radius:9px;font-size:12px;z-index:10;box-shadow:0 10px 30px #0008;display:none}#portal-toast:not(:empty){display:block}@media(max-width:480px){.client-page .client-main{padding:25px 16px;align-items:flex-start}.portal-shell .client-card{padding:27px 23px}.portal-shell .requests-card{padding:18px}.portal-shell h1{font-size:22px}.service-badge{font-size:9px;max-width:125px}.expiry-row{flex-wrap:wrap;gap:5px}.portal-brand{margin-top:5px}.portal-shell .primary:hover{transform:none}}@media(prefers-reduced-motion:reduce){.portal-shell *{transition:none!important}}
/* Navegação em etapas e controles para celular. */
.portal-steps,.mobile-step{display:none}
@media(max-width:600px){
 .client-page .client-main{padding:max(18px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(25px,env(safe-area-inset-bottom));align-items:flex-start;min-height:100svh}
 .portal-shell{max-width:440px;min-width:0}.portal-shell .client-card{padding:24px 20px;margin-bottom:14px;border-radius:15px}.portal-shell .requests-card{padding:18px 16px}.portal-shell .waiting-card{display:none}
 .portal-steps{display:flex;align-items:flex-start;justify-content:space-between;list-style:none;padding:0;margin:0 0 23px;width:100%;gap:0}
 .portal-steps li{position:relative;display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;text-align:center;gap:7px;color:#948aa6;font-size:11px;line-height:1.3}
 .portal-steps li:not(:last-child):after{content:'';position:absolute;left:calc(50% + 23px);right:calc(-50% + 23px);height:1px;background:#453d56;top:15px}
 .portal-steps .step-circle{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:1px solid #66517f;background:#1c142a;color:#aea2bd;font-size:12px;line-height:1;position:relative;z-index:1}
 .portal-steps .is-done{color:#c1ded2}.portal-steps .is-done .step-circle{background:#173c32;border-color:#4d8771;color:#bcf5d9}.portal-steps .is-current{color:#f4edff;font-weight:650}.portal-steps .is-current .step-circle{background:#8056f7;border-color:#be9bff;color:#fff;box-shadow:0 0 0 4px #8056f722}
 .mobile-step{display:block;font-size:12px;color:#d0b9ff;font-weight:600;margin:0 0 12px}.portal-brand{font-size:18px;margin:0 0 16px}.portal-shell .entry-card .portal-mark{margin-bottom:16px;width:40px;height:40px}
 .portal-shell h1{font-size:22px}.portal-shell .portal-subtitle{font-size:14px;line-height:1.65;margin-bottom:22px}.portal-shell label,.portal-shell .portal-field{font-size:13px!important}
 .portal-shell input,.portal-shell select,.portal-shell .requests-card label input,.portal-shell .portal-input input{font-size:16px!important;height:49px;min-height:49px;padding:12px;max-width:100%}
 .portal-shell .primary,.portal-shell .secondary{min-height:49px;width:100%;font-size:14px;justify-content:center}.portal-shell .field-action{min-width:44px;min-height:44px;font-size:20px}.portal-shell .field-action.key-copy{font-size:12px;padding:0 10px!important;min-width:72px;color:#cfb6ff;white-space:nowrap}
 .portal-shell summary{min-height:46px;display:flex;align-items:center;font-size:13px;gap:8px;padding:7px 0}.portal-shell summary:before{content:'›';font-size:18px;color:#cbb1fa}.portal-shell details[open]>summary:before{transform:rotate(90deg)}.portal-shell summary::-webkit-details-marker{display:none}
 .portal-shell .notice{padding:15px;margin-bottom:16px;font-size:13px}.portal-shell .notice>strong{font-size:13px;line-height:1.6}.portal-shell .notice>small{display:block;font-size:10px;line-height:1.6;margin:6px 0;color:#a393b4}.portal-shell .notice p{font-size:13px;line-height:1.65}
 .portal-shell .requests-card .notice{margin:12px 0 0}.portal-shell .requests-card .notice:first-of-type{margin-top:0}.portal-shell .requests-card>details[open]>summary{padding-top:0;min-height:35px}.portal-shell .requests-card .notice .primary{margin-top:18px}
 .portal-input{min-width:0;max-width:100%}.quota-row{font-size:13px}.quota-row strong{font-size:17px}.quota-row strong small{font-size:11px}.quota-note{font-size:12px}.quota-note small{font-size:11px}.portal-shell .code-help{font-size:13px}.portal-shell .code-result strong{font-size:32px;letter-spacing:5px}.portal-shell .code-result .secondary{margin-top:5px}.expiry-row{font-size:12px;line-height:1.7;flex-wrap:wrap}.expiry-row>span{font-size:11px}.portal-links .text-button{min-height:44px;font-size:13px}.portal-signature{margin-top:22px;font-size:9px}.key-safety{font-size:12px;line-height:1.7}#portal-toast{max-width:calc(100vw - 32px);bottom:max(22px,env(safe-area-inset-bottom));text-align:center;font-size:13px}
}

/* Um único quadro para todo o fluxo do cliente. */
.portal-shell .unified-card{display:block}.unified-card>.portal-mark{margin-bottom:19px}.unified-card>h1{margin-bottom:20px}.unified-card .account-card{padding:0;margin:24px 0 0;background:none;border:0;box-shadow:none}.unified-card .account-card+.account-card{border-top:1px solid #ffffff12;padding-top:25px;margin-top:25px}.unified-card .account-heading h2{font-size:18px;margin:0;line-height:1.4}.portal-shell .unified-card .requests-card{padding:0;margin:23px 0 0;background:none;border:0;box-shadow:none}.unified-card .initial-request>details>summary{display:none}.portal-shell .unified-card .requests-card .notice{background:none;border:0;padding:0;margin:15px 0 0;border-radius:0;box-shadow:none}.unified-card .requests-card .notice+.notice{border-top:1px solid #ffffff12;padding-top:22px;margin-top:22px}.unified-card .portal-links{border-top:1px solid #ffffff10;padding-top:19px;margin-top:25px}.unified-card .portal-alerts .notice{margin-top:0}.unified-card .portal-steps{margin-bottom:25px}.unified-card .requests-card input[readonly]{width:100%;min-width:0}.unified-card .requests-card .portal-input input[readonly]{width:0!important}.unified-card .requests-card .notice>strong{display:block}.unified-card .requests-card .notice>small{display:block;margin:7px 0 12px}@media(max-width:600px){.portal-shell .unified-card{padding:22px 20px}.portal-shell .unified-card .requests-card{padding:0;margin-top:14px}.unified-card .portal-subtitle{margin-bottom:16px}.unified-card .account-heading{margin-top:2px}.unified-card .account-card{margin-top:20px}.unified-card .requests-card .notice{margin-top:0}.unified-card .portal-links{gap:7px}.unified-card .portal-steps{margin-top:0}}

/* Etapas também no computador. */
 .portal-steps{display:flex;align-items:flex-start;justify-content:space-between;list-style:none;padding:0;margin:0 0 23px;width:100%;gap:0}
 .portal-steps li{position:relative;display:flex;flex:1;min-width:0;align-items:center;flex-direction:column;text-align:center;gap:7px;color:#948aa6;font-size:11px;line-height:1.3}
 .portal-steps li:not(:last-child):after{content:'';position:absolute;left:calc(50% + 23px);right:calc(-50% + 23px);height:1px;background:#453d56;top:15px}
 .portal-steps .step-circle{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:1px solid #66517f;background:#1c142a;color:#aea2bd;font-size:12px;line-height:1;position:relative;z-index:1}
 .portal-steps .is-done{color:#c1ded2}.portal-steps .is-done .step-circle{background:#173c32;border-color:#4d8771;color:#bcf5d9}.portal-steps .is-current{color:#f4edff;font-weight:650}.portal-steps .is-current .step-circle{background:#8056f7;border-color:#be9bff;color:#fff;box-shadow:0 0 0 4px #8056f722}

.portal-shell .portal-steps{margin-bottom:26px}.portal-shell .portal-steps li{font-size:12px}.portal-shell .portal-steps .step-circle{width:32px;height:32px}.portal-shell .portal-steps li:not(:last-child):after{top:16px}.portal-shell .entry-card>.portal-mark{margin-top:0}.portal-shell .unified-card .request-reference{font-size:10px;color:#8b7b9d}
@media(max-width:600px){
 .client-page .client-main{padding-top:14px;padding-bottom:18px}.portal-shell .unified-card,.portal-shell .entry-card{padding:19px 18px}.portal-shell .portal-steps{margin:0 0 17px}.portal-shell .portal-steps li{font-size:10px;gap:5px}.portal-shell .portal-steps .step-circle{width:27px;height:27px;font-size:11px}.portal-shell .portal-steps li:not(:last-child):after{top:13px;left:calc(50% + 19px);right:calc(-50% + 19px)}
 .portal-shell .unified-card>.portal-mark{width:32px;height:32px;margin-bottom:8px;border-radius:9px}.unified-card>.portal-mark svg{width:23px;height:23px}.portal-shell .unified-card>h1{font-size:20px;margin:0 0 12px}.portal-shell .unified-card .requests-card{margin-top:5px}.portal-shell .unified-card .requests-card .notice{margin:0;padding:0}.portal-shell .unified-card .requests-card .notice>strong{font-size:12px;line-height:1.5;margin-bottom:11px}.portal-shell .unified-card .request-reference{display:none}.portal-shell .unified-card .notice>small{font-size:10px;line-height:1.45;margin:5px 0 7px}
 .portal-shell .unified-card label{margin-top:11px!important;margin-bottom:6px;font-size:12px!important}.portal-shell .unified-card input,.portal-shell .unified-card select,.portal-shell .unified-card .portal-input input{height:44px;min-height:44px;padding:10px}.portal-shell .unified-card .notice p{font-size:11px;line-height:1.5;margin:8px 0}.portal-shell .unified-card .notice .primary{margin-top:12px;min-height:46px}.portal-shell .unified-card .notice .portal-details{margin-top:12px;padding-top:9px}.portal-shell .unified-card .portal-links{margin-top:14px;padding-top:8px;gap:3px}.portal-shell .unified-card .portal-links small{font-size:9px}.portal-shell .unified-card .portal-alerts .notice{font-size:11px;padding:10px 12px;margin-bottom:12px}.portal-shell .unified-card .requests-card>details>details{margin-top:10px}.portal-shell .unified-card .requests-card .portal-details{margin-top:12px;padding-top:10px}.portal-shell .unified-card .muted{font-size:10px;line-height:1.5}.portal-shell .unified-card .code-help{font-size:12px}.portal-shell .unified-card .quota-note{margin-top:12px;padding:10px 12px}.portal-signature{margin-top:16px}
}

.portal-shell .field-action.key-copy{font-size:12px;min-width:65px;padding:0 8px!important;color:#cfb6ff}

.code-result [data-login-link]{margin:15px 0 9px;text-decoration:none}.code-result [data-login-link][aria-disabled="true"]{opacity:.5;pointer-events:none}
