@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local("Roboto Light"), local("Roboto-Light"), url("../fonts/roboto-v15-light.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local("Roboto"), local("Roboto-Regular"), url("../fonts/roboto-v15-regular.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local("Roboto Medium"), local("Roboto-Medium"), url("../fonts/roboto-v15-medium.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local("Roboto Bold"), local("Roboto-Bold"), url("../fonts/roboto-v15-bold.ttf") format("truetype");
}

:root {
    --login-accent: #5a5fee;
    --login-accent-hover: #494ed5;
    --login-border: #d7dae3;
    --login-ink: #1d2031;
    --login-muted: #66697a;
    --login-danger: #c43d4b;
    --content-line: #dce2ed;
    --content-surface: #fff;
    --content-canvas: #f3f6fb;
    --portal-bg: #f7f8fa;
    --portal-surface: #fff;
    --portal-surface-muted: #eef4f8;
    --portal-hero: #eaf1f7;
    --portal-heading: #1f2937;
    --portal-text: #344054;
    --portal-muted: #667085;
    --portal-border: #dfe5eb;
    --portal-link: #176eaa;
    --portal-link-hover: #105683;
    --portal-focus: #176eaa;
    --portal-disabled: #98a2b3;
    --portal-no-access: #956100;
    --portal-shadow: 0 12px 34px rgb(31 41 55 / 10%);
}

html[data-theme="dark"] {
    --portal-bg: #111827;
    --portal-surface: #1f2937;
    --portal-surface-muted: #172033;
    --portal-hero: #1b2638;
    --portal-heading: #f3f4f6;
    --portal-text: #e5e7eb;
    --portal-muted: #b8c0cc;
    --portal-border: #344054;
    --portal-link: #70b7ff;
    --portal-link-hover: #9acbff;
    --portal-focus: #70b7ff;
    --portal-disabled: #7b8493;
    --portal-no-access: #f2c46d;
    --portal-shadow: 0 18px 42px rgb(3 7 18 / 30%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    font-size: 16px;
}

body {
    min-height: 100%;
}

button,
a,
input,
select {
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    width: 1px !important;
    height: 1px !important;
    position: absolute !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
}

.platform-login-page {
    min-height: 100vh;
    margin: 0;
    color: var(--login-ink);
    background-color: #cfd2d6;
    background-image:
        linear-gradient(90deg, rgb(255 255 255 / 34%), rgb(255 255 255 / 50%)),
        url("../img/login/identity-background.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.platform-login-shell {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 24px;
}

.platform-login-card {
    width: min(980px, 100%);
    min-height: 560px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(350px, 2fr);
    overflow: hidden;
    border: 1px solid var(--login-border);
    border-radius: 14px;
    background: #f8f6f9;
    box-shadow: 0 22px 54px rgb(20 33 50 / 18%);
}

.platform-login-hero {
    min-width: 0;
    min-height: 560px;
    position: relative;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    overflow: hidden;
    color: #fff;
    border-top: 5px solid #2ed7d2;
    background: #1f224d;
}

.platform-hero-content {
    position: relative;
    z-index: 2;
    padding: 34px 36px 26px;
}

.platform-login-logo {
    width: min(286px, 62%);
    height: auto;
    display: block;
}

.platform-hero-copy {
    max-width: none;
    margin-top: 27px;
}

.platform-hero-copy h1 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(30px, 3vw, 38px);
    font-weight: 300;
    letter-spacing: .01em;
    line-height: 1.08;
}

.platform-hero-copy p {
    max-width: none;
    margin: 0;
    color: #d7d9e9;
    font-size: 15px;
    line-height: 1.55;
    white-space: nowrap;
}

.platform-accent-lines {
    width: 98px;
    position: absolute;
    top: 128px;
    right: 26px;
    display: grid;
    justify-items: end;
    gap: 10px;
}

.platform-accent-lines span {
    height: 4px;
    display: block;
}

.platform-accent-lines span:nth-child(1) { width: 42px; background: #f4cc45; }
.platform-accent-lines span:nth-child(2) { width: 86px; background: #6f6cf5; }
.platform-accent-lines span:nth-child(3) { width: 58px; background: #65d8a8; }
.platform-accent-lines span:nth-child(4) { width: 98px; background: #2ed7d2; }

.platform-showcase {
    min-height: 178px;
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    padding: 25px 36px;
    background: #212650;
}

.platform-showcase::after {
    position: absolute;
    inset: 58% 0 0;
    z-index: -1;
    content: "";
    background: #242957;
}

.platform-console {
    width: min(480px, 86%);
    box-shadow: 0 15px 34px rgb(8 11 31 / 30%);
}

.platform-console-header {
    height: 39px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 16px;
    color: #cfd2e4;
    background: #131827;
    font-size: 12px;
    letter-spacing: .03em;
}

.platform-console-dots {
    display: flex;
    gap: 6px;
}

.platform-console-dots i {
    width: 8px;
    height: 8px;
    display: block;
}

.platform-console-dots i:nth-child(1) { background: #f15b70; }
.platform-console-dots i:nth-child(2) { background: #f4cc45; }
.platform-console-dots i:nth-child(3) { background: #65d8a8; }

.platform-console-body {
    min-height: 104px;
    padding: 20px 44px;
    background: #171c2c;
}

.platform-code-row {
    height: 7px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 10px;
}

.platform-code-row i {
    width: 20px;
    height: 4px;
    background: #5fa0ef;
}

.platform-code-row span {
    width: 72%;
    height: 4px;
    background: #d9ddf4;
}

.platform-code-row.is-teal span { width: 43%; background: #2ed7d2; }
.platform-code-row.is-green span { width: 78%; background: #65d8a8; }
.platform-code-row.is-wide span { width: 66%; background: #2ed7d2; }
.platform-code-row.is-muted span { width: 54%; background: #6c7294; }

.platform-hero-footer {
    min-height: 58px;
    display: flex;
    align-items: center;
    padding: 15px 36px;
    color: #e2e3f1;
    background: #27295c;
    font-size: 10px;
    letter-spacing: .02em;
}

.platform-login-form-panel {
    min-width: 0;
    min-height: 560px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid #c5c7d1;
    background: #f8f6f9;
}

.platform-login-form-wrap {
    width: min(340px, calc(100% - 54px));
    margin: 34px auto;
}

.platform-login-kicker {
    margin: 0 0 11px;
    color: var(--login-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .035em;
}

.platform-login-form-wrap h2 {
    margin: 0 0 7px;
    color: #171827;
    font-size: 27px;
    font-weight: 400;
    line-height: 1.15;
}

.platform-login-intro {
    margin: 0 0 26px;
    color: var(--login-muted);
    font-size: 13px;
    line-height: 1.5;
}

.platform-login-progress-message {
    min-height: 40px;
    margin: 0;
    color: var(--login-muted);
    font-size: 13px;
    line-height: 1.5;
}

.platform-login-loading-dots {
    width: 180px;
    min-height: 42px;
    position: relative;
    overflow: hidden;
    margin: 30px auto 14px;
}

.platform-login-loading-dots span {
    width: 8px;
    height: 8px;
    position: absolute;
    top: 17px;
    left: -10px;
    border-radius: 50%;
    opacity: 0;
    background: var(--login-accent);
    animation: platform-login-dot-travel 4.8s cubic-bezier(.42, 0, .2, 1) infinite;
}

.platform-login-loading-dots span:nth-child(2) { animation-delay: .38s; }
.platform-login-loading-dots span:nth-child(3) { animation-delay: .76s; }
.platform-login-loading-dots span:nth-child(4) { animation-delay: 1.14s; }
.platform-login-loading-dots span:nth-child(5) { animation-delay: 1.52s; }

.platform-login-progress-note {
    margin: 0;
    color: #4e5160;
    font-size: 12px;
    text-align: center;
}

@keyframes platform-login-dot-travel {
    0% { opacity: 0; transform: translateX(0); }
    8% { opacity: 1; }
    92% { opacity: 1; }
    100% { opacity: 0; transform: translateX(200px); }
}

.platform-login-form {
    margin: 0;
}

.platform-field {
    margin-bottom: 18px;
}

.platform-field .form-label {
    display: block;
    margin: 0 0 6px;
    color: #2b2d3c;
    font-size: 12px;
    font-weight: 500;
}

.platform-field .form-control {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    color: #171827;
    border: 1px solid #777a89;
    border-radius: 0;
    background: #fff;
    font-size: 14px;
}

.platform-field .form-control:focus {
    border-color: var(--login-accent);
    outline: 0;
    box-shadow: 0 0 0 3px rgb(90 95 238 / 16%);
}

.platform-field .field-validation-error {
    display: block;
    margin-top: 5px;
    color: var(--login-danger);
    font-size: 12px;
}

.platform-token-input {
    position: relative;
}

.platform-token-input .form-control {
    padding-right: 42px;
}

.platform-token-toggle {
    width: 40px;
    position: absolute;
    inset: 1px 1px 1px auto;
    display: grid;
    place-items: center;
    color: #4e5160;
    border: 0;
    background: transparent;
}

.platform-token-toggle:hover,
.platform-token-toggle:focus-visible {
    color: var(--login-accent);
}

.platform-login-error:not(:has(*)),
.platform-login-error:has(.validation-summary-valid),
.platform-login-error .validation-summary-valid {
    display: none;
}

.platform-login-error {
    margin: 13px 0 0;
    padding: 0;
    color: #e21d2f;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
}

.platform-login-error ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.platform-login-options {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin: 2px 0 20px;
    color: var(--login-muted);
    font-size: 11px;
}

.platform-login-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #3f4250;
    cursor: pointer;
}

.platform-login-remember input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--login-accent);
    cursor: pointer;
}

.platform-login-reset-link {
    color: var(--login-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.platform-login-reset-link.is-disabled {
    color: #8d8f9c;
    cursor: not-allowed;
    text-decoration: none;
}

.platform-login-submit {
    width: 100%;
    min-height: 46px;
    color: #fff;
    border: 1px solid var(--login-accent);
    border-radius: 0;
    background: var(--login-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}

.platform-login-submit:hover {
    color: #fff;
    border-color: var(--login-accent-hover);
    background: var(--login-accent-hover);
}

.platform-login-submit:active {
    transform: translateY(1px);
}

.platform-login-submit:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgb(90 95 238 / 22%);
}

.platform-form-footer {
    margin-top: auto;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    color: var(--login-muted);
    font-size: 11px;
    text-align: center;
}

.platform-form-brand {
    display: none;
}

.platform-home-wrap {
    margin-bottom: 24px;
}

.platform-home-intro {
    margin-bottom: 20px;
}

.platform-home-action {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.platform-home-note {
    margin: 14px 0 0;
    color: #777a89;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
}

.platform-login-language {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 10px 0 0;
    color: var(--login-muted);
    font-size: 11px;
    line-height: 1.4;
}

.platform-login-language button {
    min-height: 28px;
    padding: 4px;
    border: 0;
    border-radius: 3px;
    color: inherit;
    background: transparent;
    font: inherit;
    cursor: pointer;
}

.platform-login-language button[aria-pressed="true"] {
    color: var(--login-accent-hover);
    font-weight: 600;
}

.platform-login-language button:hover {
    color: var(--login-accent-hover);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.platform-login-language button:focus-visible {
    outline: 2px solid var(--login-accent);
    outline-offset: 2px;
}

html:not([lang="es-MX"]) .platform-hero-copy p {
    white-space: normal;
}

.portal-content-page {
    min-height: 100vh;
    margin: 0;
    color: var(--portal-text);
    background: var(--portal-bg);
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.portal-header {
    position: relative;
    z-index: 30;
    min-height: 142px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--portal-border);
    background: var(--portal-surface);
    box-shadow: 0 1px 0 rgb(31 41 55 / 3%);
}

.portal-header-inner,
.access-container {
    width: min(100% - 36px, 1170px);
    margin-inline: auto;
}

.portal-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.portal-brand {
    width: 282px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.portal-brand-logo {
    width: 100%;
    height: auto;
    display: block;
}

.portal-brand-logo-dark {
    display: none;
}

html[data-theme="dark"] .portal-brand-logo-light {
    display: none;
}

html[data-theme="dark"] .portal-brand-logo-dark {
    display: block;
}

.portal-header-actions {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.portal-action-button,
.portal-account-trigger {
    min-height: 44px;
    display: inline-flex;
    position: relative;
    align-items: center;
    justify-content: center;
    color: var(--portal-muted);
    border: 0;
    background: transparent;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

.portal-action-button {
    width: 44px;
    border-radius: 50%;
}

.portal-action-button:hover,
.portal-action-button:focus-visible,
.portal-account-trigger:hover,
.portal-account-trigger:focus-visible,
.portal-account-menu[open] .portal-account-trigger {
    color: var(--portal-link);
    background: color-mix(in srgb, var(--portal-link) 9%, transparent);
}

.portal-action-button:focus-visible,
.portal-account-trigger:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.portal-action-icon {
    width: 21px;
    height: 21px;
    display: block;
    fill: color-mix(in srgb, currentColor 26%, transparent);
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.3;
}

.portal-theme-icon-light {
    display: none;
}

html[data-theme="dark"] .portal-theme-icon-light {
    display: block;
}

html[data-theme="dark"] .portal-theme-icon-dark {
    display: none;
}

.portal-account-menu {
    position: relative;
}

.portal-account-trigger {
    gap: 8px;
    min-width: 46px;
    max-width: 320px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    list-style: none;
    white-space: nowrap;
}

.portal-account-trigger::-webkit-details-marker {
    display: none;
}

.portal-account-trigger > span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.portal-account-chevron {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transition: transform .18s ease;
}

.portal-account-menu[open] .portal-account-chevron {
    transform: rotate(180deg);
}

.portal-account-popover {
    width: min(310px, calc(100vw - 32px));
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    gap: 5px;
    padding: 18px;
    border: 1px solid var(--portal-border);
    border-radius: 14px;
    color: var(--portal-text);
    background: var(--portal-surface);
    box-shadow: var(--portal-shadow);
}

.portal-account-caption {
    color: var(--portal-link);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portal-account-popover strong {
    margin-top: 3px;
    color: var(--portal-heading);
    font-size: 14px;
    line-height: 1.35;
}

.portal-account-email {
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-account-popover > a {
    margin-top: 8px;
}

.portal-account-popover form {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--portal-border);
}

.portal-account-popover > a,
.portal-account-popover button {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 8px;
    color: var(--portal-text);
    border: 0;
    border-radius: 8px;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.portal-account-popover > a:hover,
.portal-account-popover > a:focus-visible,
.portal-account-popover button:hover,
.portal-account-popover button:focus-visible {
    color: var(--portal-link);
    background: var(--portal-surface-muted);
}

.portal-account-popover > a svg,
.portal-account-popover button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.portal-page-shell {
    min-height: calc(100vh - 142px);
    background: var(--portal-bg);
}

.access-hero {
    padding: 25px 0 37px;
    color: var(--portal-text);
    background: var(--portal-hero);
}

.access-hero .access-container {
    max-width: 1170px;
}

.access-eyebrow,
.module-kicker {
    margin: 0 0 7px;
    color: var(--portal-link);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.35;
    text-transform: uppercase;
}

.access-hero h1 {
    margin: 0;
    color: var(--portal-heading);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 300;
    line-height: 1.12;
}

.access-hero > .access-container > h1 + p {
    max-width: 800px;
    margin: 14px 0 0;
    color: var(--portal-muted);
    font-size: 14px;
    line-height: 1.6;
}

.module-search {
    width: min(100%, 520px);
    min-height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 17px;
    color: var(--portal-muted);
}

.module-search-icon {
    width: 45px;
    height: 100%;
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 1;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.module-search-icon svg,
.module-search-clear svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.module-search input {
    width: 100%;
    min-height: 44px;
    padding: 9px 46px 9px 44px;
    color: var(--portal-heading);
    border: 1px solid var(--portal-border);
    border-radius: 10px;
    outline: none;
    background: var(--portal-surface);
    box-shadow: 0 4px 14px rgb(31 41 55 / 5%);
    font: inherit;
    font-size: 13px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.module-search input::placeholder {
    color: var(--portal-muted);
    opacity: .9;
}

.module-search input::-webkit-search-cancel-button {
    display: none;
}

.module-search:focus-within {
    color: var(--portal-link);
}

.module-search:focus-within input {
    border-color: var(--portal-focus);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--portal-focus) 16%, transparent);
}

.module-search-clear {
    width: 36px;
    height: 36px;
    position: absolute;
    inset: 4px 5px 4px auto;
    z-index: 2;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--portal-muted);
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.module-search-clear:hover,
.module-search-clear:focus-visible {
    color: var(--portal-link);
    background: var(--portal-surface-muted);
}

.module-search-clear:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 1px;
}

.module-directory {
    padding: 48px 0 74px;
    color: var(--portal-text);
    background: var(--portal-bg);
}

.module-picker {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--portal-border);
}

.module-picker-heading {
    max-width: 980px;
    margin: 0 auto 30px;
    text-align: center;
}

.module-picker-heading h2,
.module-panel-intro h2 {
    margin: 0;
    color: var(--portal-heading);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.24;
}

.module-picker-heading > p:last-child,
.module-description {
    margin: 9px 0 0;
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.55;
}

.module-tabs {
    max-width: 940px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin: 0 auto;
}

.module-tab {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 0 4px 5px;
    color: var(--portal-muted);
    border: 0;
    background: transparent;
    font: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.module-hexagon {
    width: 150px;
    height: 140px;
    position: relative;
    display: grid;
    place-items: center;
    color: var(--portal-link);
    transition: filter .2s ease, transform .2s ease;
}

.module-hexagon-outline {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: block;
    fill: transparent;
    stroke: color-mix(in srgb, var(--portal-link) 38%, var(--portal-border));
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: .35;
    transition: stroke .2s ease, stroke-width .2s ease;
}

.module-mark {
    width: 54px;
    height: 54px;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.module-mark > svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.55;
}

.module-mark-brand {
    width: 68px;
    height: 68px;
}

.module-mark-brand img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.module-status-badge {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 25px;
    bottom: 25px;
    z-index: 2;
    display: grid;
    place-items: center;
    border: 1px solid var(--portal-border);
    border-radius: 50%;
    color: var(--portal-muted);
    background: var(--portal-surface);
}

.module-status-badge svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.module-status-badge.is-no-access {
    color: var(--portal-no-access);
    border-color: color-mix(in srgb, var(--portal-no-access) 35%, var(--portal-border));
}

.module-status-badge.is-coming-soon,
.module-status-badge.is-unavailable {
    color: var(--portal-disabled);
}

.module-name {
    margin-top: 2px;
    color: var(--portal-heading);
    font-size: 13px;
    line-height: 1.3;
}

.module-name strong {
    font-weight: 700;
}

.module-availability {
    margin-top: 3px;
    color: var(--portal-muted);
    font-size: 10px;
    line-height: 1.35;
}

.module-availability {
    color: var(--portal-disabled);
    font-weight: 500;
}

.module-availability.is-active {
    color: var(--portal-link);
    font-weight: 700;
}

.module-availability.is-no-access {
    color: var(--portal-no-access);
    font-weight: 700;
}

.module-availability.is-coming-soon,
.module-availability.is-unavailable {
    color: var(--portal-disabled);
    font-weight: 500;
}

.module-search-empty {
    margin: 28px auto 0;
    color: var(--portal-muted);
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.module-tab:hover .module-hexagon,
.module-tab:focus-visible .module-hexagon {
    filter: drop-shadow(0 8px 12px rgb(23 110 170 / 13%));
    transform: translateY(-4px);
}

.module-tab:focus-visible {
    outline: none;
}

.module-tab:focus-visible .module-hexagon {
    border-radius: 26px;
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.module-tab.is-no-access {
    opacity: .62;
}

.module-tab.is-coming-soon,
.module-tab.is-unavailable {
    opacity: .46;
}

.module-tab.is-coming-soon .module-hexagon-outline,
.module-tab.is-unavailable .module-hexagon-outline {
    stroke-dasharray: .7 .65;
}

.module-tab.is-no-access:hover,
.module-tab.is-no-access:focus-visible {
    opacity: .84;
}

.module-tab.is-coming-soon:hover,
.module-tab.is-coming-soon:focus-visible,
.module-tab.is-unavailable:hover,
.module-tab.is-unavailable:focus-visible {
    opacity: .7;
}

.module-tab.is-no-access:hover .module-hexagon,
.module-tab.is-no-access:focus-visible .module-hexagon,
.module-tab.is-coming-soon:hover .module-hexagon,
.module-tab.is-coming-soon:focus-visible .module-hexagon,
.module-tab.is-unavailable:hover .module-hexagon,
.module-tab.is-unavailable:focus-visible .module-hexagon {
    filter: drop-shadow(0 8px 12px rgb(23 110 170 / 10%));
    transform: translateY(-4px);
}

.module-results {
    max-width: 1020px;
    margin: 0 auto;
}

.module-panel {
    padding-top: 36px;
}

.portal-enhanced .module-panel:not(.is-selected) {
    display: none !important;
}

.module-panel-intro {
    max-width: 800px;
    margin-bottom: 20px;
}

.module-access-note {
    margin: 13px 0 0;
    padding: 10px 12px;
    border-left: 3px solid var(--portal-disabled);
    border-radius: 0 8px 8px 0;
    color: var(--portal-muted);
    background: color-mix(in srgb, var(--portal-surface-muted) 72%, transparent);
    font-size: 12px;
    line-height: 1.5;
}

.module-access-note.is-no-access {
    border-left-color: var(--portal-no-access);
}

.module-option-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.module-option-card {
    min-height: 94px;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 14px 15px;
    border: 1px solid var(--portal-border);
    border-radius: 16px;
    color: var(--portal-text);
    background: var(--portal-surface);
    box-shadow: 0 5px 18px rgb(18 42 66 / 4%);
}

.module-option-link {
    color: inherit;
    text-decoration: none;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.module-option-link:hover,
.module-option-link:focus-visible {
    border-color: color-mix(in srgb, var(--portal-accent) 42%, var(--portal-border));
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 28px rgb(18 42 66 / 10%);
    transform: translateY(-2px);
}

.module-option-card.is-disabled {
    color: var(--portal-muted);
    background: color-mix(in srgb, var(--portal-surface-muted) 65%, var(--portal-surface));
    box-shadow: none;
}

.module-option-card.is-no-access {
    border-color: color-mix(in srgb, var(--portal-no-access) 28%, var(--portal-border));
}

.module-option-card.is-coming-soon,
.module-option-card.is-unavailable {
    border-style: dashed;
}

.module-option-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: color-mix(in srgb, var(--portal-link) 9%, var(--portal-surface));
}

.module-option-icon img {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
}

.module-option-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.module-option-title {
    color: var(--portal-heading);
    font-size: 14px;
    line-height: 1.35;
}

.module-option-title strong {
    font-weight: 700;
}

.module-option-title > span {
    font-weight: 400;
}

.module-option-detail {
    color: var(--portal-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.module-option-copy small {
    color: var(--portal-muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.4;
    text-transform: uppercase;
}

.module-option-status {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 13px;
    border-radius: 999px;
    color: #fff;
    background: var(--portal-link);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.module-option-status svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.module-option-status.is-no-access {
    color: var(--portal-no-access);
    background: color-mix(in srgb, var(--portal-no-access) 13%, var(--portal-surface));
}

.module-option-status.is-coming-soon,
.module-option-status.is-unavailable {
    color: var(--portal-muted);
    background: color-mix(in srgb, var(--portal-disabled) 18%, var(--portal-surface));
}

.auth-card,
.content-card {
    width: min(100%, 820px);
    margin: clamp(2rem, 7vw, 5rem) auto;
    padding: clamp(1.5rem, 5vw, 3.5rem);
    border: 1px solid var(--portal-border);
    border-top: 4px solid var(--portal-link);
    border-radius: 14px;
    color: var(--portal-text);
    background: var(--portal-surface);
    box-shadow: var(--portal-shadow);
}

.auth-card h1,
.content-card h1 {
    margin: 0 0 1rem;
    color: var(--portal-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.08;
}

.auth-card form,
.content-card form {
    display: grid;
    gap: .65rem;
    margin-top: 1.5rem;
}

.auth-card button,
.content-card button,
.content-card .button {
    display: inline-flex;
    justify-content: center;
    margin-top: 1rem;
    padding: .85rem 1.2rem;
    color: #fff;
    border: 0;
    border-radius: 0;
    background: var(--login-accent);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.auth-card button:hover,
.content-card button:hover,
.content-card .button:hover {
    background: var(--login-accent-hover);
}

@keyframes portal-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes module-heading-enter {
    from {
        opacity: 0;
        transform: translate3d(0, -18px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes module-wave-enter {
    0% {
        opacity: 0;
        transform: translate3d(-16px, -12px, 0) scale(.94);
    }

    68% {
        opacity: 1;
        transform: translate3d(0, 4px, 0) scale(1.015);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .portal-enhanced .access-hero .access-container > *,
    .portal-enhanced .module-panel.is-selected .module-panel-intro,
    .portal-enhanced .module-panel.is-selected .module-option-card {
        animation: portal-enter .48s cubic-bezier(.22, 1, .36, 1) backwards;
    }

    .portal-enhanced .module-picker-heading > * {
        animation: module-heading-enter .5s cubic-bezier(.22, 1, .36, 1) backwards;
    }

    .portal-enhanced .module-tab {
        animation: module-wave-enter .58s cubic-bezier(.22, 1, .36, 1) backwards;
        animation-delay: var(--module-wave-delay, 520ms);
    }

    .portal-enhanced .access-hero h1 { animation-delay: .05s; }
    .portal-enhanced .access-hero .access-container > h1 + p { animation-delay: .1s; }
    .portal-enhanced .module-search { animation-delay: .14s; }
    .portal-enhanced .module-picker-heading > :nth-child(1) { animation-delay: .14s; }
    .portal-enhanced .module-picker-heading > :nth-child(2) { animation-delay: .23s; }
    .portal-enhanced .module-picker-heading > :nth-child(3) { animation-delay: .32s; }
    .portal-enhanced .module-panel.is-selected .module-panel-intro { animation-delay: .1s; }
    .portal-enhanced .module-panel.is-selected .module-option-card { animation-delay: .15s; }
}

@media (prefers-reduced-motion: reduce) {
    .platform-login-loading-dots span {
        display: none;
        animation: none;
    }

    .platform-login-loading-dots span:first-child {
        left: 50%;
        display: block;
        opacity: 1;
        background: var(--login-accent);
        transform: translateX(-50%);
    }

    .module-hexagon,
    .module-hexagon-outline,
    .portal-account-chevron {
        transition: none;
    }

    .module-tab:not(.is-selected):hover .module-hexagon,
    .module-tab:focus-visible .module-hexagon {
        transform: none;
    }
}

@media (max-width: 991px) {
    .portal-header {
        min-height: 120px;
    }

    .portal-page-shell {
        min-height: calc(100vh - 120px);
    }

    .portal-brand {
        width: 250px;
    }

    .module-tabs {
        max-width: 620px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .module-tab:last-child:nth-child(odd) {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .platform-login-card {
        grid-template-columns: minmax(0, 56%) minmax(330px, 44%);
    }

    .platform-hero-content,
    .platform-showcase,
    .platform-hero-footer {
        padding-inline: 28px;
    }

    .platform-accent-lines {
        display: none;
    }
}

@media (max-width: 760px) {
    .platform-login-shell {
        align-items: flex-start;
        padding: 24px 16px;
    }

    .platform-login-card {
        max-width: 520px;
        min-height: 0;
        display: block;
    }

    .platform-login-hero {
        min-height: 0;
        display: block;
    }

    .platform-hero-content {
        min-height: 270px;
        padding: 30px 28px 40px;
    }

    .platform-login-logo {
        width: min(260px, 72%);
    }

    .platform-hero-copy {
        margin-top: 34px;
    }

    .platform-hero-copy p {
        white-space: normal;
    }

    .platform-showcase {
        display: none;
    }

    .platform-form-brand {
        display: inline;
    }

    .platform-hero-footer {
        min-height: 54px;
        padding: 14px 28px;
    }

    .platform-login-form-panel {
        min-height: 500px;
        border-top: 1px solid #c5c7d1;
        border-left: 0;
    }

    .platform-login-form-wrap {
        width: min(390px, calc(100% - 48px));
        margin: 40px auto 50px;
    }

    .platform-home-panel {
        min-height: 0;
    }

    .portal-header {
        min-height: 92px;
    }

    .portal-header-inner,
    .access-container {
        width: min(100% - 32px, 1170px);
    }

    .portal-brand {
        width: min(220px, 58vw);
    }

    .portal-page-shell {
        min-height: calc(100vh - 92px);
    }

    .portal-account-trigger > span,
    .portal-account-chevron {
        display: none;
    }

    .portal-account-trigger {
        width: 44px;
        padding: 0;
        border-radius: 50%;
    }

    .access-hero {
        padding: 24px 0 32px;
    }

    .access-hero h1 {
        font-size: 32px;
    }

    .access-hero > .access-container > h1 + p {
        font-size: 13px;
    }

    .module-search {
        margin-top: 15px;
    }

    .module-directory {
        padding: 38px 0 56px;
    }

    .module-picker {
        padding-bottom: 32px;
    }

    .module-picker-heading {
        margin-bottom: 24px;
    }

    .module-picker-heading h2,
    .module-panel-intro h2 {
        font-size: 22px;
    }

    .module-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 8px;
    }

    .module-tab:last-child:nth-child(odd) {
        width: min(100%, 170px);
        grid-column: 1 / -1;
        justify-self: center;
    }

    .module-hexagon {
        width: 126px;
        height: 116px;
    }

    .module-status-badge {
        right: 19px;
        bottom: 20px;
    }

    .module-panel {
        padding-top: 30px;
    }

    .module-option-card {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 11px;
        border-radius: 14px;
        padding: 13px;
    }

    .module-option-status {
        width: max-content;
        min-height: 32px;
        grid-column: 2;
        padding: 0 12px;
    }
}

@media (max-width: 600px) {
    .platform-hero-footer {
        display: none;
    }

    .platform-login-form-panel {
        min-height: 0;
    }

    .platform-login-form-wrap {
        margin-bottom: 12px;
    }

    .platform-form-footer {
        padding-top: 12px;
        padding-bottom: 16px;
    }
}

@media (max-width: 420px) {
    .platform-login-shell {
        padding: 14px;
    }

    .platform-hero-content {
        min-height: 245px;
        padding: 26px 22px 34px;
    }

    .platform-login-logo {
        width: min(235px, 76%);
    }

    .platform-hero-copy {
        margin-top: 30px;
    }

    .platform-hero-copy h1 {
        font-size: 29px;
    }

    .platform-hero-footer {
        padding-inline: 22px;
    }

    .platform-login-form-wrap {
        width: calc(100% - 36px);
        margin-top: 34px;
    }

    .portal-header-inner,
    .access-container {
        width: min(100% - 28px, 1170px);
    }

    .portal-brand {
        width: min(190px, 55vw);
    }

    .portal-header-actions {
        gap: 0;
    }

    .portal-action-button,
    .portal-account-trigger {
        width: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .portal-account-popover {
        right: -2px;
    }

    .module-hexagon {
        width: 116px;
        height: 106px;
    }

    .module-mark-brand {
        width: 60px;
        height: 60px;
    }

    .module-status-badge {
        right: 16px;
        bottom: 16px;
    }
}
