/* Portal Auth — tipografia alinhada ao Portal (Open Sans) */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --gp-primary: #0761ff;
    --gp-primary-hover: #0052e0;
    --gp-primary-soft: #e8f0ff;
    --gp-text: #1a1a1a;
    --gp-text-muted: #4a5568;
    --gp-border: #cccccc;
    --gp-bg: #ffffff;
    --gp-radius-input: 7px;
    --gp-radius-btn: 4px;
    --gp-font: "Open Sans", Arial, Helvetica, sans-serif;
    --gp-font-brand: "Open Sans", Arial, Helvetica, sans-serif;
    --gp-font-weight: 400;
    --gp-fs: 1;
    --gp-focus: #0761ff;
    --gp-header-bg: #1a1f2a;
    --gp-header-h: 48px;
    --gp-header-pad-x: 20px;
    --gp-header-brand-icon: 18px;
    --gp-header-brand-gap: 6px;
    --gp-header-brand-fs: 0.9rem;
    --gp-header-brand-opacity: 0.85;
}

html.gp-auth-html,
html:has(body.gp-auth-body),
body.gp-auth-body,
.gp-auth-body.page-body,
.gp-auth-body.login-page,
body.gp-perfil-body,
.gp-perfil-body.page-body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    max-height: 100vh !important;
    min-height: 0 !important;
    background: var(--gp-bg) !important;
    font-family: var(--gp-font) !important;
    font-size: calc(16px * var(--gp-fs)) !important;
    font-weight: var(--gp-font-weight) !important;
    color: var(--gp-text) !important;
    line-height: 1.5 !important;
    /* auto (não hidden): bolha nativa "Preencha este campo." precisa aparecer */
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.gp-auth-body *:focus-visible,
.gp-perfil-body *:focus-visible,
.ga-body *:focus-visible {
    outline: 3px solid var(--gp-focus, #0761ff) !important;
    outline-offset: 2px !important;
}

.gp-auth-body .gp-perfil__card:focus,
.gp-auth-body .gp-perfil__card:focus-visible,
.gp-perfil-body .gp-perfil__card:focus,
.gp-perfil-body .gp-perfil__card:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
}

.gp-auth-body input:focus,
.gp-auth-body input:focus-visible,
.gp-auth-body select:focus,
.gp-auth-body select:focus-visible,
.gp-auth-body textarea:focus,
.gp-auth-body textarea:focus-visible,
.gp-perfil-body input:focus,
.gp-perfil-body input:focus-visible,
.gp-perfil-body select:focus,
.gp-perfil-body select:focus-visible,
.gp-perfil-body textarea:focus,
.gp-perfil-body textarea:focus-visible,
.ga-body input:focus,
.ga-body input:focus-visible,
.ga-body select:focus,
.ga-body select:focus-visible,
.ga-body textarea:focus,
.ga-body textarea:focus-visible {
    outline: none !important;
    border-color: var(--gp-primary, #0761ff) !important;
    box-shadow: 0 0 0 3px rgba(7, 97, 255, 0.28) !important;
}

.gp-auth-body strong,
.gp-auth-body b,
.gp-auth-body .btn,
.gp-auth-body button,
.gp-auth-body label,
.gp-auth-body input,
.gp-auth-body select,
.gp-auth-body textarea,
.gp-perfil-body strong,
.gp-perfil-body b,
.gp-perfil-body .btn,
.gp-perfil-body button,
.gp-perfil-body label,
.gp-perfil-body input,
.gp-perfil-body select,
.gp-perfil-body textarea,
.gp-perfil,
.gp-perfil input,
.gp-perfil button,
.gp-perfil select,
.gp-perfil textarea,
.gp-perfil label,
.gp-perfil a,
.gp-conta__input,
.gp-conta__btn,
.gp-conta__label,
.gp-conta__hint,
.gp-conta__file,
.gp-user-menu__trigger,
.gp-user-menu__name,
.gp-user-menu__item,
.gp-user-menu__email {
    font-family: var(--gp-font) !important;
    font-weight: var(--gp-font-weight) !important;
}

.gp-auth-body .fa,
.gp-auth-body .fas,
.gp-auth-body .fab,
.gp-perfil-body .fa,
.gp-perfil-body .fas,
.gp-perfil-body .fab {
    font-weight: 900 !important;
}

/* Durante reportValidity a bolha nativa precisa escapar do overflow:hidden */
html.gp-auth-html.gp-auth-showing-validity,
html.gp-auth-html.gp-auth-showing-validity body.gp-auth-body,
html.gp-auth-html.gp-auth-showing-validity main,
body.gp-auth-body.gp-auth-showing-validity,
body.gp-auth-body.gp-auth-showing-validity main {
    overflow: visible !important;
    max-height: none !important;
}

/* Toasts do Notiflix precisam ficar acima do layout auth (overflow:hidden) */
html.gp-auth-html #NotiflixNotifyWrap,
body.gp-auth-body #NotiflixNotifyWrap,
main #NotiflixNotifyWrap,
#NotiflixNotifyWrap {
    position: fixed !important;
    top: 16px !important;
    right: 16px !important;
    left: auto !important;
    bottom: auto !important;
    z-index: 2147483000 !important;
    pointer-events: none;
    overflow: visible !important;
}

html.gp-auth-html #NotiflixNotifyWrap > div,
body.gp-auth-body #NotiflixNotifyWrap > div,
main #NotiflixNotifyWrap > div,
#NotiflixNotifyWrap > div {
    pointer-events: auto;
}

/* Centraliza só o card de login (páginas com .gp-auth) — não afeta TipoAcesso */
body.gp-auth-body:has(.gp-auth) > main,
html.gp-auth-html:has(.gp-auth) main,
main:has(.gp-auth),
body.gp-auth-body:has(.gp-auth) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100vh !important;
    max-height: 100vh !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    width: 100% !important;
}

/* Modelo 3PREV: tela cheia */
body.gp-auth-body:has(.gp-auth--split) > main,
html.gp-auth-html:has(.gp-auth--split) main,
main:has(.gp-auth--split),
body.gp-auth-body:has(.gp-auth--split) {
    align-items: stretch !important;
    justify-content: stretch !important;
    padding: 0 !important;
    background: #f3f4f6 !important;
}

.gp-auth-body .login-container,
.gp-auth-body .login-form,
.gp-auth-body .login-content {
    all: unset;
    display: block;
}

/* Neutraliza leftovers do Neon Theme na área de autenticação */
.gp-auth-body.login-page .login-progressbar,
.gp-auth-body.login-page .login-progressbar-indicator {
    display: none !important;
}

.gp-auth-body.login-page {
    padding-top: 0 !important;
}

/* Card centralizado (form + painel), no padrão Betha */
.gp-auth {
    display: grid;
    grid-template-columns: minmax(300px, 440px) minmax(320px, 520px);
    width: min(960px, 100%);
    height: min(680px, calc(100vh - 48px));
    max-height: calc(100vh - 48px);
    background: #fff;
    border-radius: 28px;
    overflow: visible;
    box-sizing: border-box;
    box-shadow: 0 8px 40px rgba(15, 40, 100, 0.08);
    flex-shrink: 0;
}

/* —— Split full-screen (modelo 3PREV) —— */
.gp-auth.gp-auth--split {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.85fr);
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    background: #f3f4f6;
}

.gp-auth--split .gp-auth__visual {
    grid-column: 1;
    grid-row: 1;
    border-radius: 0;
    height: 100%;
}

.gp-auth--split .gp-auth__form-brand {
    margin: 0 0 28px;
    font-family: var(--gp-font);
    font-style: normal;
    font-weight: 700 !important;
    font-size: clamp(1.85rem, 4vh, 2.5rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    color: #0a2f86;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.gp-auth--split .gp-auth__form-pane {
    grid-column: 2;
    grid-row: 1;
    border-radius: 0;
    background: #f3f4f6;
    justify-content: center;
    align-items: center;
    padding: clamp(32px, 6vh, 56px) clamp(28px, 5vw, 64px) clamp(72px, 10vh, 96px);
    position: relative;
}

.gp-auth--split .gp-auth__form-inner {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding-top: 0;
}

.gp-auth__wordmark {
    margin: 0 0 10px;
    text-align: center;
    font-family: "Raleway", var(--gp-font), Arial, Helvetica, sans-serif;
    font-weight: 700;
    font-size: clamp(2.6rem, 7vh, 3.6rem);
    letter-spacing: -0.04em;
    line-height: 1;
    text-transform: uppercase;
    background: linear-gradient(90deg, #0a0a0a 0%, #1a1f2a 35%, #0761ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.gp-auth--split .gp-auth__title {
    text-align: center;
    font-weight: 700 !important;
    font-size: clamp(1.75rem, 3.2vh, 2.15rem);
    color: #1f2937;
    margin: 0 0 28px;
    letter-spacing: -0.02em;
}

.gp-auth--split .gp-auth__field {
    margin-bottom: 14px;
}

.gp-auth--split .gp-auth__input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.gp-auth--split .gp-auth__input-icon > i.fas:first-child,
.gp-auth--split .gp-auth__input-icon > i.fa:first-child {
    position: absolute;
    left: 14px;
    z-index: 1;
    color: #9ca3af;
    font-size: 0.95rem;
    pointer-events: none;
    font-weight: 900 !important;
}

.gp-auth--split .gp-auth__input-icon .gp-auth__input {
    padding-left: 42px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 0.95rem;
}

.gp-auth--split .gp-auth__input-icon.gp-auth__password-wrap .gp-auth__input {
    padding-right: 44px;
}

.gp-auth--split .gp-auth__toggle-pass {
    color: #9ca3af;
}

.gp-auth--split .gp-auth__links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 4px 0 16px;
}

.gp-auth--split .gp-auth__links-row .gp-auth__link {
    font-size: 0.82rem;
    color: #9ca3af;
    text-decoration: none;
}

.gp-auth--split .gp-auth__links-row .gp-auth__link:hover {
    color: #0a2f86;
    text-decoration: underline;
}

.gp-auth--split .gp-auth__check {
    margin-bottom: 18px;
    color: #6b7280;
    font-size: 0.85rem;
}

.gp-auth--split .gp-auth__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 48px;
    border-radius: 8px;
    background: #0a2f86;
    font-weight: 600 !important;
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.gp-auth--split .gp-auth__btn:hover {
    background: #082568;
}

.gp-auth--split .gp-auth__btn i {
    font-size: 0.95em;
}

.gp-auth--split .gp-auth__split-footer {
    display: none !important;
}

/* Formulário com mais campos (Criar conta): scroll interno */
.gp-auth--split.gp-auth--split-tall .gp-auth__form-pane {
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: clamp(28px, 5vh, 48px);
    padding-bottom: clamp(64px, 10vh, 88px);
}

.gp-auth--split.gp-auth--split-tall .gp-auth__form-inner {
    margin-top: auto;
    margin-bottom: auto;
}

.gp-auth--split.gp-auth--split-tall .gp-auth__field {
    margin-bottom: 12px;
}

.gp-auth--split.gp-auth--split-tall .gp-auth__title {
    margin-bottom: 22px;
}

.gp-auth--split.gp-auth--split-tall .gp-auth__input-icon .gp-auth__input {
    height: 46px;
}

.gp-auth--split .gp-auth__steps--split {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.gp-auth--split .gp-auth__hint--split {
    margin: 0 0 16px;
    font-size: 0.82rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.4;
}

.gp-auth--split .gp-auth__hint--split strong {
    font-weight: 600 !important;
    color: #374151;
}

/* Select2 no modelo split (Entidade) */
.gp-auth--split .gp-auth__input-icon--select {
    display: block;
}

.gp-auth--split .gp-auth__input-icon--select > i.fas:first-child {
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.gp-auth--split .gp-auth__input-icon--select .select2-container {
    width: 100% !important;
}

.gp-auth--split .gp-auth__input-icon--select .select2-container--default .select2-selection--single {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    padding-left: 36px;
    display: flex;
    align-items: center;
}

.gp-auth--split .gp-auth__input-icon--select .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 4px;
    color: #374151;
    font-size: 0.95rem;
}

.gp-auth--split .gp-auth__input-icon--select .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px;
    right: 8px;
}

.gp-auth--split .gp-auth__input-icon--select select.gp-auth__select {
    width: 100%;
    height: 48px;
    padding-left: 42px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    font-size: 0.95rem;
}

.gp-auth__form-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: clamp(28px, 4vh, 44px) clamp(28px, 4vw, 48px);
    box-sizing: border-box;
    overflow: visible;
    grid-column: 1;
    grid-row: 1;
    border-radius: 28px 0 0 28px;
    background: #fff;
}

.gp-auth__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 36px;
    flex-shrink: 0;
}

.gp-auth__brand:hover {
    text-decoration: none;
    opacity: 0.92;
}

.gp-auth__brand-icon {
    display: block;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    object-fit: contain;
}

.gp-auth__brand-fallback {
    display: inline-block;
    font-family: var(--gp-font-brand);
    font-style: italic;
    font-weight: 800;
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: var(--gp-primary);
    line-height: 1;
    text-transform: uppercase;
}

.gp-auth__logo-mark,
.gp-auth__brand-text {
    display: none !important;
}

.gp-auth__steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.gp-auth__step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gp-text-muted);
}

.gp-auth__step.is-active {
    color: var(--gp-primary);
}

.gp-auth__step.is-done {
    color: var(--gp-text);
}

.gp-auth__step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    line-height: 1;
}

.gp-auth__step.is-active .gp-auth__step-num,
.gp-auth__step.is-done .gp-auth__step-num {
    background: var(--gp-primary);
    border-color: var(--gp-primary);
    color: #fff;
}

.gp-auth__step-sep {
    width: 24px;
    height: 1px;
    background: var(--gp-border);
}

.gp-auth__title {
    margin: 0 0 8px;
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--gp-text);
    line-height: 1.25;
    flex-shrink: 0;
}

.gp-auth__subtitle {
    margin: 0 0 28px;
    font-size: 0.875rem;
    color: var(--gp-text-muted);
    line-height: 1.45;
    flex-shrink: 0;
}

.gp-auth__subtitle a {
    color: var(--gp-primary);
    text-decoration: none;
    font-weight: 400;
}

.gp-auth__subtitle a:hover {
    text-decoration: underline;
}

.gp-auth__field {
    margin-bottom: clamp(10px, 1.6vh, 16px);
    position: relative;
}

.gp-auth__label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.gp-auth__label {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gp-text);
    margin-bottom: 6px;
}

.gp-auth__required {
    color: #c53030;
    font-weight: 400;
}

.gp-auth__hint {
    margin: 0 0 14px;
    font-size: 0.875rem;
    color: var(--gp-text-muted);
    line-height: 1.4;
}

.gp-auth__alert {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
}

.gp-auth__alert[hidden] {
    display: none !important;
}

.gp-auth__input.is-invalid {
    border-color: #c53030 !important;
    box-shadow: 0 0 0 3px rgba(197, 48, 48, 0.15) !important;
}

.gp-auth__label-row .gp-auth__label {
    margin-bottom: 0;
}

.gp-auth__link {
    color: var(--gp-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
}

.gp-auth__link:hover {
    text-decoration: underline;
    color: var(--gp-primary-hover);
}

.gp-auth__input,
.gp-auth__select,
.gp-auth select.gp-auth__select,
.gp-auth .select2-container--default .select2-selection--single {
    width: 100% !important;
    min-height: 38px;
    padding: 6px 12px;
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-input);
    background: #fff;
    color: #555;
    font-size: 0.9rem;
    font-family: var(--gp-font);
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-auth__input:focus,
.gp-auth__select:focus {
    outline: none;
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 3px rgba(7, 97, 255, 0.15);
}

.gp-auth__password-wrap {
    position: relative;
}

.gp-auth__password-wrap .gp-auth__input {
    padding-right: 48px;
}

.gp-auth__toggle-pass {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--gp-text-muted);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gp-auth__toggle-pass:hover {
    color: var(--gp-primary);
    background: var(--gp-primary-soft);
}

.gp-auth__check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 clamp(10px, 1.6vh, 14px);
    font-size: 0.875rem;
    color: var(--gp-text-muted);
    cursor: pointer;
    user-select: none;
}

.gp-auth__check input {
    width: 16px;
    height: 16px;
    accent-color: var(--gp-primary);
    cursor: pointer;
}

.gp-auth__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 38px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--gp-radius-btn);
    background: var(--gp-primary);
    color: #fff !important;
    font-family: var(--gp-font);
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.1s ease;
}

.gp-auth__btn:hover {
    background: var(--gp-primary-hover);
    color: #fff !important;
}

.gp-auth__btn:active {
    transform: translateY(1px);
}

.gp-auth__btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.gp-auth__municipio-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: clamp(10px, 1.8vh, 18px);
    background: var(--gp-primary-soft);
    border: 1px solid #c9dbff;
    border-radius: var(--gp-radius-input);
    flex-shrink: 0;
}

.gp-auth__municipio-chip-info {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.gp-auth__municipio-chip-info i {
    color: var(--gp-primary);
    margin-top: 2px;
}

.gp-auth__municipio-chip strong {
    display: block;
    font-size: 0.875rem;
    color: var(--gp-text);
    word-break: break-word;
}

.gp-auth__municipio-chip span {
    font-size: 0.75rem;
    color: var(--gp-text-muted);
}

.gp-auth__org-chip .gp-auth__org-brasao {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #c9dbff;
}

.gp-auth__org-chip .gp-auth__municipio-chip-info {
    align-items: center;
}

.gp-auth__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 18px;
}

.gp-auth__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: clamp(12px, 2.5vh, 28px);
    padding-top: 16px;
    border-top: 1px solid #e8eef6;
    font-size: 0.875rem;
    color: var(--gp-text-muted);
    flex-shrink: 0;
}

.gp-auth__footer a {
    color: var(--gp-text-muted);
    text-decoration: none;
}

.gp-auth__footer a:hover {
    color: var(--gp-primary);
}

.gp-auth__version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef5ff;
    border: 1px solid #d6e6ff;
    color: #0b5cab;
    font-weight: 400;
    line-height: 1.2;
}

.gp-auth__version i {
    font-size: 0.875rem;
    opacity: 0.85;
}

.gp-auth__version strong {
    font-weight: 800;
    letter-spacing: 0.02em;
}

.gp-auth__footer-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #cbd5e1;
}

.gp-auth__footer-brand {
    font-weight: 400;
    color: #64748b;
    letter-spacing: 0.01em;
}

.gp-auth__visual {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    border-radius: 0 28px 28px 0;
    overflow: hidden;
    /* Azul do painel AtivaGov */
    background:
        radial-gradient(ellipse 55% 50% at 78% 55%, rgba(10, 47, 134, 0.45), transparent 60%),
        linear-gradient(135deg, #04133a 0%, #061a4d 40%, #0a2f86 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 4vh, 40px);
    box-sizing: border-box;
    height: 100%;
    max-height: none;
    min-height: 0;
    align-self: stretch;
}

/* Arcos decorativos removidos */
.gp-auth__visual-arcs {
    display: none !important;
}

.gp-auth__visual-glow {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    width: min(78%, 440px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.04) 55%, transparent 72%);
    z-index: 0;
    pointer-events: none;
}

/* Lockup: brasão no centro + ATIVAGOV sobreposto no meio */
.gp-auth__visual-lockup {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.gp-auth__visual-wordmark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: block;
    margin: 0;
    padding: 0;
    font-family: var(--gp-font);
    font-style: normal;
    font-weight: 700;
    font-size: clamp(2.8rem, 7vh, 4.5rem);
    letter-spacing: 0.12em;
    color: #fff;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 4px 28px rgba(0, 12, 40, 0.5);
    white-space: nowrap;
    pointer-events: none;
}

.gp-auth__visual-crest {
    position: relative;
    z-index: 1;
    display: block;
    width: min(62%, 340px);
    height: auto;
    margin: 0 auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.08;
    -webkit-mask-image: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.2) 100%);
    mask-image: linear-gradient(180deg, #fff 40%, rgba(255, 255, 255, 0.2) 100%);
}

.gp-auth--split .gp-auth__visual-wordmark {
    font-size: clamp(3rem, 7.5vh, 5rem);
}

.gp-auth--split .gp-auth__visual-crest {
    width: min(58%, 400px);
    opacity: 0.07;
}

.gp-auth--split .gp-auth__visual-crest--ag {
    width: min(82%, 560px);
    opacity: 0.08;
    filter: brightness(0) invert(1);
    -webkit-mask-image: none;
    mask-image: none;
}

/* Esconde restos do visual digital antigo */
.gp-auth__visual-media,
.gp-auth__visual-fx,
.gp-auth__visual-star,
.gp-auth__visual-content,
.gp-auth__visual-phrase {
    display: none !important;
}

.gp-auth__visual-secure {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--gp-font);
    font-style: normal;
    font-weight: 400;
    font-size: clamp(0.82rem, 1.45vh, 0.92rem);
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.78);
}

.gp-auth__visual-secure i {
    color: #9ee9ff;
    font-size: 0.9em;
    flex-shrink: 0;
}

.gp-auth__visual-benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.gp-auth__visual-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.95);
}

.gp-auth__visual-benefits i {
    color: #9ee9ff;
    width: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    text-align: center;
}

.gp-auth__access-options {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.gp-auth__access-option {
    position: relative;
}

.gp-auth__access-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gp-auth__access-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-input);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gp-auth__access-option input:checked + label {
    border-color: var(--gp-primary);
    background: var(--gp-primary-soft);
    box-shadow: 0 0 0 3px rgba(7, 97, 255, 0.12);
}

.gp-auth__access-option label i {
    color: var(--gp-primary);
    width: 22px;
    text-align: center;
}

.gp-auth__access-option strong {
    display: block;
    font-size: 0.875rem;
    color: var(--gp-text);
}

.gp-auth__access-option small {
    display: block;
    color: var(--gp-text-muted);
    font-size: 0.78rem;
}

.gp-auth .select2-container {
    width: 100% !important;
}

.gp-auth .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.gp-auth .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #555;
    line-height: 42px;
    padding-left: 4px;
}

.gp-auth .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 42px;
    right: 8px;
}

.gp-auth .select2-dropdown {
    border-color: var(--gp-border);
    border-radius: var(--gp-radius-input);
    overflow: hidden;
}

.gp-auth .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--gp-primary);
}

@keyframes gp-auth-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes gp-auth-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes gp-auth-float-media {
    0%, 100% { transform: scale(1.04) translateY(0); }
    50% { transform: scale(1.06) translateY(-8px); }
}

@keyframes gp-auth-pulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 960px) {
    body.gp-auth-body:has(.gp-auth) > main,
    html.gp-auth-html:has(.gp-auth) main,
    main:has(.gp-auth),
    body.gp-auth-body:has(.gp-auth) {
        padding: 16px !important;
        align-items: center;
    }

    body.gp-auth-body:has(.gp-auth--split) > main,
    html.gp-auth-html:has(.gp-auth--split) main,
    main:has(.gp-auth--split),
    body.gp-auth-body:has(.gp-auth--split) {
        padding: 0 !important;
    }

    .gp-auth {
        grid-template-columns: 1fr;
        width: min(440px, 100%);
        height: auto;
        max-height: calc(100vh - 32px);
        min-height: 0;
    }

    .gp-auth.gp-auth--split {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        min-height: 100vh;
        grid-template-columns: 1fr;
    }

    .gp-auth__visual,
    .gp-auth--split .gp-auth__visual {
        display: none;
    }

    .gp-auth__form-pane,
    .gp-auth--split .gp-auth__form-pane {
        grid-column: 1;
        max-width: none;
        padding: 32px 24px 72px;
        overflow-y: auto;
    }
}

@media (max-height: 720px) {
    .gp-auth__brand img,
    .gp-auth__brand-icon {
        height: 1.75rem;
        width: 1.75rem;
    }

    .gp-auth__steps {
        display: none;
    }

    .gp-auth__visual-card {
        animation: none;
    }

    .gp-auth__visual-benefits li:nth-child(n+4) {
        display: none;
    }

    .gp-auth__visual-media img {
        animation: none;
        transform: scale(1.02);
    }
}

/* Formulários densos (login / criar conta / recuperar senha) */
.gp-auth.gp-auth--dense {
    overflow: visible;
}

.gp-auth--dense .gp-auth__form-pane {
    justify-content: flex-start;
    padding-top: clamp(10px, 2vh, 24px);
    padding-bottom: clamp(10px, 2vh, 24px);
    overflow: visible;
}

/* Login / Município: poucos campos — mantém centralizado na vertical */
.gp-auth--dense:has(.gp-auth__steps) .gp-auth__form-pane {
    justify-content: center;
}

.gp-auth--dense .gp-auth__steps {
    margin-bottom: clamp(10px, 1.8vh, 16px);
}

.gp-auth--dense .gp-auth__step {
    font-size: 0.75rem;
}

.gp-auth--dense .gp-auth__step-num {
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
}

.gp-auth--dense .gp-auth__brand {
    margin-bottom: clamp(8px, 1.5vh, 16px);
}

.gp-auth--dense .gp-auth__brand img,
.gp-auth--dense .gp-auth__brand-icon {
    height: 1.5rem;
    width: 1.5rem;
    max-height: none;
    max-width: none;
}

/* Marca AtivaGov (telas auth) */
.gp-auth--brand-lg .gp-auth__brand {
    margin-bottom: clamp(10px, 1.8vh, 18px);
    gap: 10px;
}

.gp-auth--brand-lg .gp-auth__brand img,
.gp-auth--brand-lg .gp-auth__brand-icon {
    height: 2.15rem;
    width: 2.15rem;
}

.gp-auth--brand-lg .gp-auth__brand-fallback {
    font-size: 2.15rem;
}

.gp-auth--dense .gp-auth__title {
    font-size: clamp(1.1rem, 2vh, 1.3rem);
    margin-bottom: 4px;
}

.gp-auth--dense .gp-auth__subtitle {
    margin-bottom: clamp(6px, 1.2vh, 12px);
    font-size: 0.875rem;
}

.gp-auth--dense .gp-auth__field {
    margin-bottom: clamp(4px, 1vh, 10px);
}

.gp-auth--dense .gp-auth__label {
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.gp-auth--dense .gp-auth__input,
.gp-auth--dense .gp-auth__select,
.gp-auth--dense select.gp-auth__select {
    min-height: 38px;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.gp-auth--dense .gp-auth__btn {
    min-height: 38px;
    padding: 8px 16px;
    margin-top: 2px;
    font-size: 0.9rem;
    font-weight: 400;
}

.gp-auth--dense .gp-auth__check {
    margin: 2px 0 clamp(6px, 1.2vh, 10px);
    font-size: 0.875rem;
}

.gp-auth--dense .gp-auth__password-wrap .gp-auth__input {
    padding-right: 44px;
}

.gp-auth--dense .gp-auth__links {
    margin-top: 12px;
}

.gp-auth--dense .gp-auth__footer {
    margin-top: clamp(8px, 1.5vh, 16px);
}

@media (max-height: 780px) {
    .gp-auth--dense .gp-auth__footer {
        display: none;
    }
}

/* Seleção de perfil: tela cheia (não herda o card centralizado do login) */
html:has(body.gp-perfil-body),
body.gp-perfil-body,
body.gp-auth-body.gp-perfil-body,
html.gp-auth-html:has(body.gp-perfil-body),
main:has(.gp-perfil) {
    display: block !important;
    overflow: auto !important;
    max-height: none !important;
    height: auto !important;
    min-height: 100vh !important;
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    background: #fff !important;
    width: 100% !important;
}

body.gp-perfil-body > main,
main:has(.gp-perfil) {
    height: auto !important;
    max-height: none !important;
    min-height: 100vh !important;
    overflow: visible !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}

.gp-perfil-body.page-body {
    background: #fff !important;
}

.gp-perfil {
    min-height: 100vh;
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    background: #fff;
    font-family: var(--gp-font);
    color: #4a4a4a;
}

.gp-perfil__topbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: var(--gp-header-h);
    min-height: var(--gp-header-h);
    padding: 0 var(--gp-header-pad-x);
    background: var(--gp-header-bg);
    color: #fff;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    flex-shrink: 0;
    box-sizing: border-box;
    font-family: var(--gp-font);
    font-size: calc(0.875rem * var(--gp-fs));
}

/* Shell Home (padrão Cidadão / Portal) */
body.gp-app-shell {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: var(--gp-header-h) !important;
    min-height: 100vh !important;
    background: #fff !important;
    font-family: var(--gp-font) !important;
    font-size: calc(16px * var(--gp-fs)) !important;
    color: var(--gp-text) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.gp-app-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    height: var(--gp-header-h);
    background: var(--gp-header-bg);
    color: #fff;
    font-family: var(--gp-font);
    font-size: calc(0.875rem * var(--gp-fs));
    font-weight: 400;
    flex-shrink: 0;
}

body.gp-app-shell .gp-app-header {
    position: fixed;
    width: 100%;
}

.gp-app-header__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: var(--gp-header-h);
    min-height: var(--gp-header-h);
    padding: 0 var(--gp-header-pad-x);
    box-sizing: border-box;
}

.gp-app-header__left {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    flex: 1 1 auto;
}

.gp-app-header__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    flex: 0 0 auto;
    min-width: 0;
}

.gp-app-header__brand {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    height: 30px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    border: none;
    box-shadow: none;
    min-width: 0;
}

.gp-app-header__brand:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
}

button.gp-sys-switcher__trigger.gp-app-header__brand {
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
    background: transparent;
}

.gp-app-header__brand-g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    height: 30px;
    width: 30px;
    min-width: 30px;
    padding: 0;
    border-radius: 8px 0 0 8px;
    background: #263e81;
    box-sizing: border-box;
    color: #fff;
}

.gp-app-header__brand-a {
    font-family: var(--gp-font);
    font-weight: 700;
    font-size: calc(0.9rem * var(--gp-fs));
    line-height: 1;
    color: #fff;
}

.gp-app-header__brand-ag {
    display: none;
}

.gp-app-header__brand-mark {
    display: none;
}

.gp-app-header__brand-name {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 30px;
    padding: 0 14px;
    border-radius: 0 8px 8px 0;
    background: #263e81;
    color: #fff;
    font-family: var(--gp-font);
    font-style: normal;
    font-weight: 400;
    font-size: calc(0.9rem * var(--gp-fs));
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1;
    overflow: visible;
    white-space: nowrap;
    max-width: min(340px, 50vw);
    box-sizing: border-box;
}

.gp-app-header__brand-name::before,
.gp-app-header__brand-name::after {
    content: "";
    position: absolute;
    left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gp-header-bg);
    pointer-events: none;
    z-index: 1;
}

.gp-app-header__brand-name::before { top: -5px; }
.gp-app-header__brand-name::after { bottom: -5px; }

.gp-top-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}

.gp-top-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--gp-font);
    font-size: calc(0.875rem * var(--gp-fs));
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1;
}

.gp-top-nav__link:hover,
.gp-top-nav__link.is-active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.gp-portal-fs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    user-select: none;
}

.gp-portal-fs span {
    font-size: calc(0.75rem * var(--gp-fs));
    opacity: 0.9;
}

.gp-portal-fs button {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: calc(0.8rem * var(--gp-fs));
    font-weight: 600;
    padding: 2px 4px;
    line-height: 1;
}

.gp-portal-fs button:hover {
    opacity: 0.85;
}

/* Status de conexão (Wi‑Fi) */
.gp-net-status {
    position: relative;
    flex-shrink: 0;
}

.gp-net-status__trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
}

.gp-net-status__trigger:hover,
.gp-net-status__trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.22);
}

.gp-net-status__dot {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid #111;
    background: #94a3b8;
}

.gp-net-status.is-good .gp-net-status__dot,
.gp-net-status.is-good .gp-net-status__badge { background: #22c55e; }

.gp-net-status.is-fair .gp-net-status__dot,
.gp-net-status.is-fair .gp-net-status__badge { background: #eab308; }

.gp-net-status.is-bad .gp-net-status__dot,
.gp-net-status.is-bad .gp-net-status__badge { background: #ef4444; }

.gp-net-status__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 260px;
    max-width: min(340px, calc(100vw - 24px));
    padding: 12px 14px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e5eaf2;
    box-shadow: 0 10px 28px rgba(15, 39, 68, 0.14);
    color: var(--gp-text);
    box-sizing: border-box;
}

.gp-net-status__dropdown[hidden] { display: none; }

.gp-net-status__text {
    margin: 0;
    flex: 1;
    font-family: var(--gp-font);
    font-size: calc(0.85rem * var(--gp-fs));
    font-weight: 400;
    line-height: 1.35;
    color: #334155;
}

.gp-net-status__badge {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    background: #94a3b8;
}

/* Menu Utilitários */
.gp-util-menu {
    position: relative;
    flex-shrink: 0;
}

.gp-util-menu__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1;
}

.gp-util-menu__trigger:hover,
.gp-util-menu__trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.22);
}

.gp-util-menu__dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(420px, calc(100vw - 24px));
    padding: 10px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--gp-border);
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 39, 68, 0.16);
    z-index: 1200;
    box-sizing: border-box;
}

.gp-util-menu__dropdown[hidden] { display: none; }

.gp-util-menu__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}

.gp-util-menu__search { margin-bottom: 10px; }

.gp-util-menu__search-input {
    display: block;
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cfd8e3;
    border-radius: 6px;
    background: #fff;
    color: var(--gp-text);
    font-family: var(--gp-font);
    font-size: calc(0.9rem * var(--gp-fs));
    outline: none;
    box-sizing: border-box;
}

.gp-util-menu__search-input::placeholder { color: #8a97a8; }

.gp-util-menu__search-input:focus,
.gp-util-menu__search-input:focus-visible {
    border-color: var(--gp-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(7, 97, 255, 0.28) !important;
}

.gp-util-menu__grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 280px;
    overflow: auto;
}

.gp-util-menu__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 42px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #f3f5f8;
    color: var(--gp-text);
    text-decoration: none !important;
    font-family: var(--gp-font);
    font-size: calc(0.85rem * var(--gp-fs));
    font-weight: 400;
    line-height: 1.25;
    box-sizing: border-box;
    width: 100%;
}

.gp-util-menu__item i {
    width: 18px;
    font-size: 1rem;
    color: var(--gp-primary);
    text-align: center;
    flex-shrink: 0;
}

.gp-util-menu__item span {
    display: block;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gp-util-menu__item:hover {
    background: #e8eef8;
    color: var(--gp-primary-hover);
}

.gp-util-menu__item.is-hidden { display: none; }

.gp-util-menu__empty {
    margin: 8px 4px 4px;
    font-size: calc(0.85rem * var(--gp-fs));
    color: #64748b;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gp-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.gp-wrap--home {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 24px var(--gp-header-pad-x) 48px;
    box-sizing: border-box;
}

@media (max-width: 575px) {
    .gp-portal-fs span { display: none; }
    .gp-app-header__left { gap: 10px; }
    .gp-app-header__brand-name {
        max-width: min(110px, 28vw);
        padding: 0 10px;
        font-size: calc(0.8rem * var(--gp-fs));
    }
}

.gp-perfil__brand {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    height: 30px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    text-decoration: none;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
    border: none;
    box-shadow: none;
    min-width: 0;
}

.gp-perfil__brand:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
}

button.gp-sys-switcher__trigger.gp-perfil__brand {
    border: 0;
    cursor: pointer;
    font: inherit;
    padding: 0;
    background: transparent;
}

/* Switcher de sistemas (Mais soluções) — padrão Portal */
.gp-sys-switcher {
    position: relative;
    flex-shrink: 0;
}

.gp-sys-switcher__panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 1300;
    width: min(420px, calc(100vw - 24px));
    padding: 14px;
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 39, 68, 0.16);
    box-sizing: border-box;
}

.gp-sys-switcher__panel[hidden] {
    display: none !important;
}

.gp-sys-switcher__panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}

.gp-sys-switcher__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gp-sys-switcher__head-title {
    font-family: var(--gp-font);
    font-size: calc(0.75rem * var(--gp-fs));
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0.02em;
}

.gp-sys-switcher__head-link {
    font-family: var(--gp-font);
    font-size: calc(0.8rem * var(--gp-fs));
    font-weight: 400;
    color: var(--gp-primary);
    text-decoration: none;
}

.gp-sys-switcher__head-link:hover {
    text-decoration: underline;
}

.gp-sys-switcher__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gp-sys-switcher__tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 88px;
    padding: 12px;
    border-radius: 10px;
    background: #f3f5f8;
    border: 1px solid transparent;
    text-decoration: none !important;
    color: #334155 !important;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

a.gp-sys-switcher__tile:hover {
    background: #e8eef8;
    border-color: #c9dbff;
    box-shadow: 0 2px 8px rgba(7, 97, 255, 0.08);
}

.gp-sys-switcher__tile.is-current {
    background: #e8f1fb;
    border-color: #9dbcf0;
    cursor: default;
}

.gp-sys-switcher__tile-icon {
    width: 32px;
    height: 32px;
    border-radius: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #5b9dff !important;
    font-size: 1.2rem;
}

.gp-sys-switcher__tile-icon i,
.gp-sys-switcher__tile-icon svg {
    font-weight: 900 !important;
    font-style: normal;
    line-height: 1;
    color: inherit !important;
}

.gp-sys-switcher__tile-name {
    font-family: var(--gp-font);
    font-size: calc(0.8rem * var(--gp-fs));
    font-weight: 400;
    line-height: 1.25;
    color: #334155;
}

@media (max-width: 575px) {
    .gp-sys-switcher__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.gp-perfil__brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 8px 0 0 8px;
    background: #263e81;
    box-sizing: border-box;
    color: #fff;
    font-family: var(--gp-font);
    font-weight: 700;
    font-size: calc(0.9rem * var(--gp-fs));
    line-height: 1;
}

.gp-perfil__brand-icon::before {
    content: "A";
}

.gp-perfil__brand-mark {
    display: none;
}

.gp-perfil__brand-text {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 30px;
    padding: 0 14px;
    border-radius: 0 8px 8px 0;
    background: #263e81;
    color: #fff;
    opacity: 1;
    font-family: var(--gp-font);
    font-style: normal;
    font-weight: 400;
    font-size: calc(0.9rem * var(--gp-fs));
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-shadow: none;
    line-height: 1;
    overflow: visible;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(340px, 50vw);
    box-sizing: border-box;
}

.gp-perfil__brand-text::before,
.gp-perfil__brand-text::after {
    content: "";
    position: absolute;
    left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gp-header-bg);
    pointer-events: none;
    z-index: 1;
}

.gp-perfil__brand-text::before {
    top: -5px;
}

.gp-perfil__brand-text::after {
    bottom: -5px;
}

/* Menu do usuário — mesmo padrão do Portal (home) */
.gp-user-menu {
    position: relative;
}

.gp-user-menu__trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 1px 5px 1px 1px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    font-family: var(--gp-font);
    font-size: calc(0.9rem * var(--gp-fs));
    font-weight: 400;
    line-height: 1.2;
}

.gp-user-menu__trigger:hover {
    background: rgba(255, 255, 255, 0.22);
}

.gp-user-menu__avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.45);
    display: block;
    box-sizing: border-box;
}

.gp-user-menu__avatar--placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 0.65rem;
    line-height: 1;
}

.gp-user-menu__name {
    max-width: 170px;
    font-size: calc(0.9rem * var(--gp-fs));
    font-weight: 400;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-transform: uppercase;
}

.gp-user-menu__trigger .fa-chevron-down {
    font-size: calc(0.65rem * var(--gp-fs));
}

.gp-user-menu__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 260px;
    max-width: min(340px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(15, 39, 68, 0.14), 0 2px 6px rgba(15, 39, 68, 0.06);
    padding: 0;
    overflow: hidden;
    z-index: 1200;
}

.gp-user-menu__dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -8px;
    height: 8px;
}

.gp-user-menu__email {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    padding: 6px 10px;
    margin-bottom: 2px;
    font-size: 0.8rem;
    color: var(--gp-text-muted);
    border-bottom: 1px solid #eef2f7;
    word-break: break-word;
}

.gp-user-menu__identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 14px 14px 12px;
    background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
    border-bottom: 1px solid #eef2f7;
    min-width: 0;
    text-align: center;
}

.gp-user-menu__identity-avatar {
    display: none;
}

.gp-user-menu__identity-avatar--placeholder {
    display: none;
}

.gp-user-menu__identity-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
    width: 100%;
}

.gp-user-menu__identity-name {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700 !important;
    color: var(--gp-text);
    line-height: 1.25;
    word-break: break-word;
    text-align: center;
}

.gp-user-menu__identity-user {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--gp-text-muted);
    line-height: 1.3;
    word-break: break-word;
    text-align: center;
}

.gp-user-menu__identity-label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: #dcfce7;
    color: #166534;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
}

.gp-user-menu__actions {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 6px;
}

.gp-user-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--gp-text);
    text-decoration: none !important;
    font-family: var(--gp-font);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
}

.gp-user-menu__item i {
    width: 1.1em;
    text-align: center;
    color: #64748b;
}

.gp-user-menu__item:hover {
    background: #eef3ff;
    color: var(--gp-primary-hover);
}

.gp-user-menu__item:hover i {
    color: var(--gp-primary);
}

.gp-user-menu__item--danger {
    color: #9b2c2c;
}

.gp-user-menu__item--danger i {
    color: #c53030;
}

.gp-user-menu__item--danger:hover {
    background: #fff5f5;
    color: #c53030;
}

.gp-user-menu__item--danger:hover i {
    color: #c53030;
}

@media (max-width: 767px) {
    .gp-user-menu__name {
        max-width: min(140px, 40vw);
    }
}

@media (max-width: 575px) {
    .gp-user-menu__name {
        max-width: min(110px, 36vw);
    }
}

.gp-perfil__entidade {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.gp-perfil__entidade-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #555;
    font-size: 0.875rem;
    max-width: 100%;
}

.gp-perfil__entidade-link:hover {
    color: var(--gp-primary);
    text-decoration: none;
}

.gp-perfil__entidade-crest {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0c14a, #2f6fed 55%, #1e9e4a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    flex-shrink: 0;
}

.gp-perfil__entidade-label {
    font-weight: 400;
    color: #666;
}

.gp-perfil__entidade-nome {
    font-weight: 400;
    color: #444;
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gp-perfil__entidade-chevron {
    font-size: 0.7rem;
    color: #888;
    margin-left: 2px;
}

.gp-perfil__main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 24px 32px;
    box-sizing: border-box;
}

.gp-perfil__title {
    margin: 0;
    font-size: clamp(1.1rem, 2vh, 1.3rem);
    font-weight: 400;
    color: #5a5a5a;
    line-height: 1.3;
}

.gp-perfil__title--strong {
    font-weight: 700;
}

.gp-perfil__divider {
    border: 0;
    border-top: 1px solid #ececec;
    margin: 12px 0 0;
    width: 100%;
}

.gp-perfil__search {
    width: 100%;
    max-width: 480px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.gp-perfil__cards > .gp-perfil__search {
    margin-bottom: 4px;
}

.gp-perfil__card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
}

.gp-perfil__card-desc {
    display: block;
    margin: 0;
    opacity: 0.75;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.3;
}

.gp-perfil__search-input {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
}

.gp-perfil__search-input::placeholder {
    color: #8a97a8;
}

.gp-perfil__search-input:focus,
.gp-perfil__search-input:focus-visible {
    border-color: #0761ff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(7, 97, 255, 0.22) !important;
}

.gp-perfil__cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 16px 28px;
    width: 100%;
    box-sizing: border-box;
}

.gp-perfil__cards--scroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100vh - 160px);
    padding-right: 4px;
}

.gp-perfil__card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    min-height: 68px;
    padding: 14px 12px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #f5f5f5;
    color: #555;
    font-family: var(--gp-font);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.gp-perfil__card:hover {
    background: #eef3ff;
    border-color: #c9dbff;
    box-shadow: 0 2px 10px rgba(7, 97, 255, 0.08);
}

.gp-perfil__card:active {
    transform: translateY(1px);
}

.gp-perfil__card:focus,
.gp-perfil__card:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    background: #e8f0ff !important;
    border-color: #0761ff !important;
}

.gp-perfil__card--inicial,
.gp-perfil__card.is-selected {
    background: #e8f0ff !important;
    border-color: #0761ff !important;
}

.gp-perfil__card:disabled {
    opacity: 0.7;
    cursor: wait;
}

.gp-perfil__card.is-loading {
    border-color: var(--gp-primary);
    background: #e8f0ff;
}

.gp-perfil__card-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #5b9dff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.gp-perfil__card-icon svg {
    width: 36px;
    height: 36px;
}

.gp-perfil__card-label {
    font-size: 1rem;
    font-weight: 400;
    color: #555;
    line-height: 1.3;
}

.gp-perfil__footer-link {
    display: flex;
    justify-content: center;
    padding: 8px 16px 28px;
}

.gp-perfil__footer-link .gp-auth__link {
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .gp-perfil__main {
        padding: 20px 16px 32px;
    }

    .gp-perfil__entidade {
        padding: 0 16px;
    }

    .gp-perfil__title {
        font-size: 1.1rem;
    }

    .gp-perfil__card {
        max-width: 100%;
        min-height: 68px;
        padding: 12px 10px;
        gap: 10px;
    }

    .gp-perfil__card-icon {
        width: 36px;
        height: 36px;
        font-size: 1.35rem;
    }

    .gp-perfil__card-icon svg {
        width: 32px;
        height: 32px;
    }

    .gp-perfil__card-label {
        font-size: 0.95rem;
    }
}

/* ===== Minha conta ===== */
.gp-conta__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.gp-conta__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gp-text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.gp-conta__back:hover {
    color: var(--gp-primary);
    text-decoration: none;
}

.gp-conta {
    display: flex;
    justify-content: center;
    padding: 24px 16px 32px;
    width: 100%;
    box-sizing: border-box;
}

.gp-conta__card {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 39, 68, 0.06);
    padding: 24px 22px;
    box-sizing: border-box;
}

.gp-conta__field {
    margin-bottom: 16px;
}

.gp-conta__foto {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f7;
}

.gp-conta__foto-preview {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8edf5;
    border: 2px solid #d0d7e4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gp-conta__foto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.gp-conta__foto-img.is-hidden,
.gp-conta__foto-placeholder.is-hidden {
    display: none !important;
}

.gp-conta__foto-placeholder {
    color: #8a94a6;
    line-height: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.gp-conta__foto-placeholder svg {
    display: block;
}

.gp-conta__foto-actions {
    flex: 1;
    min-width: 0;
}

.gp-conta__file {
    display: block;
    width: 100%;
    margin-top: 4px;
    font-family: var(--gp-font);
    font-size: 0.85rem;
    color: var(--gp-text);
}

.gp-conta__check-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #9b2c2c;
    cursor: pointer;
}

.gp-conta__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gp-text-muted);
}

.gp-conta__required {
    color: #c53030;
    font-weight: 400;
    margin-left: 2px;
}

.gp-conta__input {
    width: 100%;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--gp-border);
    border-radius: var(--gp-radius-input);
    background: #fff;
    color: var(--gp-text);
    font-family: var(--gp-font);
    font-size: 0.9rem;
    line-height: 1.3;
    box-sizing: border-box;
}

.gp-conta__input[readonly] {
    background: #f1f3f5;
    color: #495057;
    cursor: not-allowed;
}

.gp-conta__input--editable:focus {
    outline: none;
    border-color: var(--gp-primary);
    box-shadow: 0 0 0 3px rgba(7, 97, 255, 0.12);
}

.gp-conta__hint {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: var(--gp-text-muted);
}

.gp-conta__password-wrap {
    position: relative;
}

.gp-conta__password-wrap .gp-conta__input {
    padding-right: 42px;
}

.gp-conta__toggle-pass {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.gp-conta__toggle-pass:hover {
    color: var(--gp-primary);
}

.gp-conta__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.gp-conta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: var(--gp-radius-btn);
    font-family: var(--gp-font);
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none !important;
    cursor: pointer;
    box-sizing: border-box;
}

.gp-conta__btn--primary {
    border: 1px solid var(--gp-primary);
    background: var(--gp-primary);
    color: #fff;
}

.gp-conta__btn--primary:hover {
    background: var(--gp-primary-hover);
    border-color: var(--gp-primary-hover);
    color: #fff;
}

.gp-conta__btn--secondary {
    border: 1px solid var(--gp-border);
    background: #fff;
    color: #555;
}

.gp-conta__btn--secondary:hover {
    border-color: #b0b0b0;
    color: #333;
}

.gp-conta__senha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-conta__senha-row .gp-conta__input {
    flex: 1;
    min-width: 0;
}

.gp-conta__btn--senha {
    flex-shrink: 0;
    white-space: nowrap;
}

body.gp-senha-modal-open {
    overflow: hidden;
}

.gp-senha-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.gp-senha-modal.is-open {
    display: flex;
}

.gp-senha-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.gp-senha-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(15, 39, 68, 0.22);
    overflow: hidden;
}

.gp-senha-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 18px 0;
}

.gp-senha-modal__header-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--gp-primary-soft);
    color: var(--gp-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gp-senha-modal__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--gp-text);
}

.gp-senha-modal__subtitle {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: var(--gp-text-muted);
}

.gp-senha-modal__close {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #888;
    cursor: pointer;
    padding: 4px 6px;
    line-height: 1;
}

.gp-senha-modal__close:hover {
    color: var(--gp-text);
}

.gp-senha-modal__body {
    padding: 16px 18px 8px;
}

.gp-senha-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 8px 18px 18px;
    flex-wrap: wrap;
}

@media (max-width: 575px) {
    .gp-conta__card {
        padding: 18px 14px;
    }

    .gp-conta__foto {
        flex-direction: column;
        align-items: flex-start;
    }

    .gp-conta__senha-row {
        flex-direction: column;
        align-items: stretch;
    }

    .gp-conta__actions,
    .gp-senha-modal__footer {
        flex-direction: column-reverse;
    }

    .gp-conta__btn {
        width: 100%;
    }
}


button.gp-conta__back {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

body.gp-conta-portal .gp-perfil__main {
    padding-top: 28px;
}

/* Home — cards no padrão do Portal / Cidadão */
.gp-home {
    width: 100%;
    max-width: none;
    margin: 0;
}

.gp-home__section-title {
    margin: 0 0 12px;
    font-size: calc(1rem * var(--gp-fs));
    font-weight: 700 !important;
    color: #5a5a5a;
}

.gp-home__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    max-width: none;
}

.gp-home__card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 68px;
    padding: 14px 12px;
    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    text-decoration: none !important;
    color: #555 !important;
    box-shadow: none;
    box-sizing: border-box;
    min-width: 0;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.gp-home__card:hover,
.gp-home__card:focus {
    background: #eef3ff;
    border-color: #c9dbff;
    box-shadow: 0 2px 10px rgba(7, 97, 255, 0.08);
    color: #555 !important;
}

.gp-home__card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    color: #5b9dff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.gp-home__card-icon i,
.gp-home__card-icon svg {
    font-weight: 900 !important;
    font-style: normal;
    line-height: 1;
    color: inherit;
    width: 1.2em;
    height: 1.2em;
}

.gp-home__card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.gp-home__card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.3;
    color: #555;
}

.gp-home__card-desc {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #888;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991px) {
    .gp-home__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-home__card {
        min-height: 68px;
        padding: 12px 10px;
        gap: 10px;
    }

    .gp-home__card-icon {
        width: 36px;
        height: 36px;
        font-size: 1.35rem;
    }

    .gp-home__card-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 575px) {
    .gp-home__grid {
        grid-template-columns: 1fr;
    }
}

