html, body {
    margin: 0;
    height: 100%;
    min-height: 100%;
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(0, 120, 212, 0.16), transparent 28%),
        linear-gradient(180deg, #f4f8fc 0%, #edf3fa 45%, #e7eef7 100%);
    color: #16324f;
}

body {
    min-height: 100vh;
    overflow: hidden;
}

a {
    color: #0f6cbd;
}

.portal-shell {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

.portal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100vh;
    min-height: 0;
    padding: 2rem 1.25rem 1.5rem;
    background: linear-gradient(180deg, #0f172f 0%, #132448 100%);
    color: #f3f6fb;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.portal-sidebar-topbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.portal-sidebar-toggle-state {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.portal-sidebar-body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    gap: 1.5rem;
}

.portal-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #f3f6fb;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.portal-sidebar-toggle-icon-open,
.portal-sidebar-toggle-text-open {
    display: none;
}

.portal-sidebar-toggle-state:checked ~ .portal-sidebar-topbar .portal-sidebar-toggle-icon-closed,
.portal-sidebar-toggle-state:checked ~ .portal-sidebar-topbar .portal-sidebar-toggle-text-closed {
    display: none;
}

.portal-sidebar-toggle-state:checked ~ .portal-sidebar-topbar .portal-sidebar-toggle-icon-open,
.portal-sidebar-toggle-state:checked ~ .portal-sidebar-topbar .portal-sidebar-toggle-text-open {
    display: inline-flex;
}

.portal-sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(125, 211, 252, 0.34);
    transform: translateY(-1px);
}

.portal-sidebar-toggle:focus-visible {
    outline: 3px solid rgba(125, 211, 252, 0.28);
    outline-offset: 2px;
}

.portal-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portal-brand h1 {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
}

.portal-brand p {
    margin: 0;
    color: rgba(243, 246, 251, 0.78);
    line-height: 1.6;
}

.portal-brand-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.portal-nav-card {
    display: grid;
    flex: 1 1 auto;
    gap: 0.55rem;
    min-height: 0;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 35px rgba(5, 10, 26, 0.24);
    overflow-y: auto;
}

.portal-nav-card::-webkit-scrollbar,
.portal-page-container::-webkit-scrollbar {
    width: 10px;
}

.portal-nav-card::-webkit-scrollbar-track,
.portal-page-container::-webkit-scrollbar-track {
    border-radius: 999px;
    background: transparent;
}

.portal-nav-card::-webkit-scrollbar-thumb,
.portal-page-container::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
    transition: background-color 0.2s ease;
}

.portal-nav-card::-webkit-scrollbar-thumb {
    background-color: rgba(125, 211, 252, 0.3);
}

.portal-page-container::-webkit-scrollbar-thumb {
    background-color: rgba(15, 108, 189, 0.24);
}

.portal-nav-card:hover::-webkit-scrollbar-thumb,
.portal-nav-card:focus-within::-webkit-scrollbar-thumb {
    background-color: rgba(125, 211, 252, 0.45);
}

.portal-page-container:hover::-webkit-scrollbar-thumb,
.portal-page-container:focus-within::-webkit-scrollbar-thumb {
    background-color: rgba(15, 108, 189, 0.36);
}

.portal-nav-link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0 0.95rem;
    border-radius: 14px;
    color: #e7eef9;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portal-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

.portal-nav-link.active {
    background: linear-gradient(135deg, rgba(71, 178, 255, 0.24), rgba(15, 108, 189, 0.3));
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.18), inset 3px 0 0 #7dd3fc;
}

.portal-nav-form {
    margin: 0;
}

.portal-nav-button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0 0.95rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #e7eef9;
    font-weight: 600;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.portal-nav-button:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transform: translateX(2px);
}

.portal-nav-button:focus-visible {
    outline: 2px solid rgba(125, 211, 252, 0.9);
    outline-offset: 2px;
}

.portal-nav-link-secondary {
    color: #b8c8de;
}

.portal-sidebar-footer {
    margin-top: auto;
    padding: 1rem 0.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-sidebar-footer-label {
    display: inline-block;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7dd3fc;
}

.portal-sidebar-footer p {
    margin: 0;
    color: rgba(243, 246, 251, 0.7);
    line-height: 1.6;
}

.portal-sidebar-version {
    margin-top: 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(243, 246, 251, 0.82);
}

.portal-main {
    display: flex;
    justify-content: center;
    height: 100vh;
    min-height: 0;
    padding: 2.25rem clamp(1.25rem, 3vw, 2.75rem);
    overflow: hidden;
}

.portal-page-container {
    width: min(100%, 1320px);
    height: 100%;
    min-height: 0;
    padding: 0.5rem;
    overflow-y: auto;
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(380px, 460px);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    min-height: calc(100vh - 5.5rem);
}

.login-hero {
    max-width: 760px;
    padding: 1rem 0 1rem 0.75rem;
}

.login-hero-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 108, 189, 0.12);
    color: #0f6cbd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-hero h1 {
    margin: 1rem 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
}

.login-hero p {
    margin: 0;
    max-width: 40rem;
    color: #35506e;
    font-size: 1.1rem;
    line-height: 1.75;
}

.login-hero-points {
    margin: 1.5rem 0 0;
    padding-left: 1.25rem;
    color: #35506e;
    line-height: 1.8;
}

.login-hero-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(15, 108, 189, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: 0 18px 48px rgba(23, 56, 97, 0.08);
}

.login-hero-panel strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #173a61;
}

.login-hero-panel p {
    margin: 0;
    font-size: 0.98rem;
}

.login-hero-panel-stat {
    min-width: 210px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 108, 189, 0.12), rgba(125, 211, 252, 0.18));
}

.login-hero-panel-stat span {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #32597d;
}

.login-hero-panel-stat strong {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.login-card {
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 1.85rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    box-shadow: 0 28px 90px rgba(15, 23, 47, 0.14);
    background: rgba(255, 255, 255, 0.93);
}

.login-form {
    display: grid;
    gap: 1.15rem;
}

.login-card-header h2 {
    margin: 0.5rem 0 0;
    font-size: 1.8rem;
    line-height: 1.15;
    color: #143454;
}

.login-card-kicker {
    display: inline-flex;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(15, 108, 189, 0.1);
    color: #0f6cbd;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-card-subtitle {
    margin: 0.5rem 0 0;
    color: #5d748d;
}

.login-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.login-field-label-row a,
.login-field-label-row span {
    font-size: 0.88rem;
    color: #57708c;
}

.login-field-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #26415e;
}

.login-field-group input {
    width: 100%;
    box-sizing: border-box;
    min-height: 3.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid #c2d3e6;
    border-radius: 14px;
    background: #fff;
    font: inherit;
    color: #16324f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field-group select,
.login-field-group textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 3.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid #c2d3e6;
    border-radius: 14px;
    background: #fff;
    font: inherit;
    color: #16324f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field-group textarea {
    min-height: 6rem;
    resize: vertical;
}

.login-field-group input::placeholder {
    color: #87a0ba;
}

.login-field-group input:focus {
    outline: none;
    border-color: #0f6cbd;
    box-shadow: 0 0 0 4px rgba(15, 108, 189, 0.16);
}

.login-field-group select:focus,
.login-field-group textarea:focus {
    outline: none;
    border-color: #0f6cbd;
    box-shadow: 0 0 0 4px rgba(15, 108, 189, 0.16);
}

.login-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.85rem;
}

.login-choice-card {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.9rem 1rem;
    border: 1px solid #c7d8e8;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.94));
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.login-choice-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 47, 0.08);
}

.login-choice-card.is-selected {
    border-color: rgba(15, 108, 189, 0.42);
    box-shadow: 0 0 0 4px rgba(15, 108, 189, 0.08);
}

.login-choice-card input[type="radio"] {
    margin-top: 0.18rem;
    accent-color: #0f6cbd;
}

.login-choice-card strong {
    display: block;
    color: #153554;
    font-size: 0.96rem;
}

.login-choice-card span {
    display: block;
    margin-top: 0.18rem;
    color: #5b728b;
    font-size: 0.88rem;
    line-height: 1.5;
}

.login-inline-toggle {
    margin-top: -0.1rem;
    color: #57708c;
}

.login-submit-button {
    min-height: 3.25rem;
    padding: 0.85rem 1.2rem;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f6cbd, #115ea3);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 16px 28px rgba(15, 108, 189, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(15, 108, 189, 0.24);
}

.login-submit-button:focus-visible {
    outline: 3px solid rgba(15, 108, 189, 0.24);
    outline-offset: 2px;
}

.login-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.25rem 0;
    color: #6d839b;
    font-size: 0.85rem;
}

.login-divider::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 50%;
    height: 1px;
    background: #d8e3f0;
}

.login-divider span {
    position: relative;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.93);
}

@media (max-width: 1100px) {
    body {
        overflow: auto;
    }

    .portal-shell {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .portal-sidebar {
        gap: 1rem;
        height: auto;
        padding: 1rem;
        overflow: visible;
    }

    .portal-sidebar-topbar {
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
        gap: 1rem;
    }

    .portal-sidebar-topbar .portal-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .portal-sidebar-toggle {
        display: inline-flex;
        flex: 0 0 auto;
    }

    .portal-sidebar-body {
        display: none;
        flex: initial;
        max-height: min(70vh, calc(100dvh - 8rem));
        overflow: hidden;
    }

    .portal-sidebar-toggle-state:checked ~ .portal-sidebar-body {
        display: flex;
    }

    .portal-sidebar-footer {
        margin-top: 0;
    }

    .portal-nav-card {
        flex: 1 1 auto;
        max-height: none;
        overflow-y: auto;
    }

    .portal-main {
        height: auto;
        min-height: 0;
        overflow: visible;
    }

    .portal-page-container {
        height: auto;
        overflow: visible;
    }

    .login-shell {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .login-hero {
        max-width: none;
        padding-left: 0;
    }

    .login-hero-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .portal-sidebar {
        padding: 0.9rem;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    .portal-sidebar-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-sidebar-toggle {
        width: 100%;
    }

    .portal-nav-card {
        padding: 0.7rem;
    }

    .portal-main {
        padding: 1rem;
    }

    .portal-page-container {
        padding: 0.25rem;
    }

    .login-card {
        padding: 1.25rem;
    }

    .login-field-label-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Auth page shell — reset-password, forgot-password
   ═══════════════════════════════════════════════════════════════════════════ */

.auth-shell {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(320px, 420px);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
    min-height: calc(100vh - 5.5rem);
}

.auth-hero {
    max-width: 500px;
    padding: 1rem 0 1rem 0.25rem;
}

.auth-hero h2 {
    margin: 1rem 0 0.75rem;
    font-size: clamp(1.65rem, 3.2vw, 2.25rem);
    line-height: 1.1;
    color: #143454;
}

.auth-hero p {
    margin: 0 0 1.75rem;
    color: #35506e;
    font-size: 1.05rem;
    line-height: 1.75;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.94rem;
    font-weight: 600;
    color: #0f6cbd;
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-back-link:hover {
    color: #0a4d8f;
}

.auth-card {
    width: 100%;
    box-sizing: border-box;
    padding: 2rem 1.85rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    box-shadow: 0 28px 90px rgba(15, 23, 47, 0.14);
    background: rgba(255, 255, 255, 0.93);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Page headers and section titles
   ═══════════════════════════════════════════════════════════════════════════ */

.pane-header {
    margin: 0 0 0.15rem;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.15;
    color: #143454;
    letter-spacing: -0.02em;
}

.portal-page-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid rgba(15, 23, 47, 0.08);
    margin-bottom: 0.25rem;
}

.portal-page-subtitle {
    margin: 0;
    color: #4a6278;
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 70ch;
}

.portal-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 0.9rem;
}

.portal-toolbar-search {
    max-width: 440px;
}

.portal-toolbar-search-wide {
    max-width: 100%;
}

.portal-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: end;
}

.portal-toolbar-meta {
    font-size: 0.88rem;
    color: #6b8299;
}

.portal-management-section {
    gap: 1rem !important;
}

.portal-control-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.portal-control-stack .form-label {
    margin-bottom: 0.35rem;
}

.portal-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.portal-filter-groups {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portal-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.portal-filter-group-label {
    min-width: 5.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #617991;
}

.portal-segmented-control {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.portal-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(15, 23, 47, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #35506e;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.portal-filter-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 108, 189, 0.22);
    box-shadow: 0 10px 24px rgba(15, 23, 47, 0.08);
}

.portal-filter-chip.is-active {
    border-color: rgba(15, 108, 189, 0.28);
    background: linear-gradient(135deg, rgba(15, 108, 189, 0.12), rgba(125, 211, 252, 0.18));
    color: #0f5fa8;
}

.portal-copy-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.portal-copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid rgba(15, 23, 47, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #4d6883;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.portal-copy-button:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 108, 189, 0.22);
    background: rgba(15, 108, 189, 0.08);
    color: #0f5fa8;
    box-shadow: 0 8px 18px rgba(15, 23, 47, 0.08);
}

.portal-copy-button:focus-visible,
.portal-filter-chip:focus-visible {
    outline: 3px solid rgba(15, 108, 189, 0.18);
    outline-offset: 2px;
}

.portal-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 11px;
    line-height: 1;
}

.portal-icon-button i {
    font-size: 0.95rem;
}

.portal-inline-note {
    margin: 0;
    color: #5c748c;
    font-size: 0.92rem;
    line-height: 1.6;
}

.portal-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2.5rem 1.25rem;
    border: 1px dashed rgba(15, 23, 47, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 248, 252, 0.9));
    text-align: center;
}

.portal-empty-state i {
    font-size: 1.85rem;
    color: #7b92aa;
}

.portal-empty-state h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #183654;
}

.portal-empty-state p {
    margin: 0;
    max-width: 46ch;
    color: #617991;
    line-height: 1.7;
}

.issue-modal-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.issue-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 47, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.94));
    color: #173753;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.issue-summary-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #657d95;
}

.issue-markdown-helper-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.issue-markdown-helper-bar .portal-filter-chip {
    font-size: 0.8rem;
    padding: 0.45rem 0.75rem;
}

.issue-markdown-preview {
    min-height: 11rem;
}

.issue-discussion-reference-card {
    border-color: rgba(15, 108, 189, 0.1) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
}

.markdown-discussion-body {
    line-height: 1.7;
    color: #1d3852;
}

.markdown-discussion-body > :last-child {
    margin-bottom: 0;
}

.markdown-discussion-body pre {
    margin: 0.85rem 0;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: auto;
}

.markdown-discussion-body pre code {
    padding: 0;
    background: transparent;
    color: inherit;
}

.markdown-discussion-body blockquote {
    margin: 0.9rem 0;
    padding: 0.15rem 0 0.15rem 0.9rem;
    border-left: 4px solid rgba(15, 108, 189, 0.28);
    color: #4f6983;
}

.markdown-discussion-body ul,
.markdown-discussion-body ol {
    padding-left: 1.2rem;
}

.markdown-discussion-body a {
    word-break: break-word;
}

.portal-kpi-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.portal-kpi-stack .badge {
    font-weight: 600;
}

.portal-meta-stack {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.portal-table-code {
    font-size: 0.84rem;
    word-break: break-word;
}

.section-title {
    margin: 0;
    padding-bottom: 0.65rem;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1a3a56;
    letter-spacing: -0.01em;
    border-bottom: 1px solid rgba(15, 23, 47, 0.07);
}

.section-desc {
    margin: 0;
    font-size: 0.88rem;
    color: #6b8299;
    line-height: 1.6;
}

code {
    font-family: 'Consolas', 'Cascadia Code', 'Courier New', monospace;
    font-size: 0.9em;
    padding: 0.15em 0.4em;
    background: rgba(15, 108, 189, 0.09);
    border-radius: 4px;
    color: #0f5fa8;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Inner page cards and grids
   ═══════════════════════════════════════════════════════════════════════════ */

.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
}

.section-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.stat-card {
    padding: 1.15rem 1.35rem 1.1rem !important;
    border-radius: 16px !important;
    border-top: 3px solid var(--card-accent, #0f6cbd) !important;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    display: flex;
    flex-direction: column;
}

.stat-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 47, 0.11) !important;
    transform: translateY(-1px);
}

.stat-card--blue   { --card-accent: #0f6cbd; }
.stat-card--green  { --card-accent: #107c41; }
.stat-card--amber  { --card-accent: #b87c00; }
.stat-card--purple { --card-accent: #7719aa; }
.stat-card--teal   { --card-accent: #008484; }

.stat-card-label {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #546e85;
}

.stat-card-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--card-accent, #143454);
    margin: 0.35rem 0 0.3rem;
    letter-spacing: -0.03em;
}

.stat-card-value-total {
    font-size: 1.05rem;
    font-weight: 500;
    color: #899eb6;
    letter-spacing: 0;
}

.stat-card-desc {
    font-size: 0.82rem;
    color: #6b8299;
    line-height: 1.5;
    margin-top: auto;
    padding-top: 0.2rem;
}

.section-card {
    padding: 1.25rem 1.5rem !important;
    border-radius: 14px !important;
    border: 1px solid rgba(15, 23, 47, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 14px 34px rgba(15, 23, 47, 0.06);
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(15, 23, 47, 0.04);
    font-size: 0.93rem;
}

.breakdown-row:last-child {
    border-bottom: none;
}

.breakdown-row strong {
    font-weight: 700;
    color: #143454;
}

.portal-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(15, 108, 189, 0.03);
    --bs-table-hover-bg: rgba(15, 108, 189, 0.06);
    margin-bottom: 0;
}

.portal-table thead th {
    border-bottom-width: 1px;
    color: #284563;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(15, 108, 189, 0.03);
    position: sticky;
    top: 0;
    z-index: 2;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 -1px 0 rgba(15, 23, 47, 0.08);
}

.portal-table td {
    vertical-align: middle;
}

.portal-entry-table thead {
    display: none;
}

.portal-entry-row td {
    padding-bottom: 0.2rem;
    border-bottom: 0;
}

.portal-entry-actions-row td {
    padding-top: 0;
    padding-bottom: 0.85rem;
}

.portal-entry-content {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.portal-entry-trail {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.1rem;
}

.portal-entry-token {
    color: #1d3852;
    font-size: 0.87rem;
    line-height: 1.2;
    flex: 0 0 auto;
}

.portal-entry-separator {
    color: #8aa0b7;
    font-size: 0.8rem;
    flex: 0 0 auto;
}

.portal-entry-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    align-items: center;
}

.portal-entry-summary-text {
    color: #58718a;
    font-size: 0.83rem;
    line-height: 1.35;
}

.portal-entry-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.2rem 0 0.1rem;
}

.portal-entry-actions-primary,
.portal-entry-actions-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.portal-entry-actions-secondary {
    justify-content: flex-end;
}

.portal-table-compact thead th {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    padding: 0.7rem 0.5rem;
}

.portal-table-compact td {
    padding: 0.65rem 0.5rem;
    font-size: 0.9rem;
}

.portal-table-compact .badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.45rem;
}

.telemetry-table .portal-meta-stack {
    gap: 0.08rem;
}

.telemetry-table .portal-meta-stack .muted-text {
    font-size: 0.82rem;
    line-height: 1.35;
}

.telemetry-table details {
    margin-top: 0.2rem !important;
}

.telemetry-table details summary {
    font-size: 0.8rem;
}

.telemetry-table pre.small {
    margin-top: 0.3rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.76rem;
    line-height: 1.35;
    max-width: 26rem;
}

.telemetry-cell-nowrap {
    white-space: nowrap;
    font-size: 0.84rem;
}

.telemetry-entry-row td {
    padding-top: 0.55rem;
    padding-bottom: 0.7rem;
}

.telemetry-entry-content {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.telemetry-entry-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: start;
}

.telemetry-entry-trail {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.1rem;
}

.telemetry-entry-token {
    color: #1d3852;
    font-size: 0.87rem;
    line-height: 1.2;
}

.telemetry-link-button {
    padding: 0;
    border: 0;
    background: none;
    color: #0f6cbd;
    text-align: left;
}

.telemetry-link-button:hover {
    color: #0a4d8f;
    text-decoration: underline;
}

.telemetry-entry-link {
    color: #0f6cbd;
}

.telemetry-entry-separator {
    color: #8aa0b7;
    font-size: 0.8rem;
    flex: 0 0 auto;
}

.telemetry-entry-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.55rem;
    align-items: center;
}

.telemetry-entry-summary-text {
    color: #58718a;
    font-size: 0.83rem;
    line-height: 1.35;
}

.telemetry-entry-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.telemetry-actions-inline {
    flex-wrap: nowrap;
    gap: 0.32rem;
    padding: 0.28rem;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(242, 247, 252, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.telemetry-actions-inline > * {
    flex: 0 0 auto;
}

.telemetry-modal {
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 22px;
    overflow: hidden;
}

.telemetry-modal-summary-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.telemetry-modal-payload {
    white-space: pre-wrap;
    max-height: 48rem;
    overflow: auto;
}

.telemetry-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.telemetry-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.6rem;
    height: 2.2rem;
    padding: 0 0.85rem;
    border-radius: 10px;
    line-height: 1;
    font-weight: 600;
}

.telemetry-icon-button {
    width: 2.25rem;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 11px;
}

.telemetry-icon-button i {
    font-size: 0.92rem;
    line-height: 1;
}

.telemetry-priority-select {
    width: 6.75rem;
    min-width: 6.75rem;
    height: 2.25rem;
    min-height: 2.25rem;
    padding: 0 2rem 0 0.8rem;
    border-radius: 11px;
    font-size: 0.84rem;
    line-height: 1;
    background-position: right 0.7rem center;
}

.telemetry-priority-select-compact {
    width: 4.95rem;
    min-width: 4.95rem;
    padding-left: 0.8rem;
    padding-right: 1.7rem;
    font-weight: 600;
    text-align: left;
}

.telemetry-actions-bar .form-select-sm {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 991.98px) {
    .portal-table-compact td,
    .portal-table-compact thead th {
        padding-left: 0.4rem;
        padding-right: 0.4rem;
    }

    .telemetry-table pre.small {
        max-width: 18rem;
    }

    .portal-entry-actions-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .portal-entry-actions-secondary {
        justify-content: flex-start;
    }

    .telemetry-entry-layout {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .telemetry-entry-toolbar {
        justify-content: flex-start;
    }

    .telemetry-actions-inline {
        flex-wrap: wrap;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   User cards
   ═══════════════════════════════════════════════════════════════════════════ */

.user-card {
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.6);
    transition: box-shadow 0.18s ease;
}

.user-card:hover {
    box-shadow: 0 4px 18px rgba(15, 23, 47, 0.08);
}

.user-card-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.user-card-name  { font-weight: 700; color: #143454; }
.user-card-email { color: #475b6d; }
.user-card-meta  { font-size: 0.9rem; color: #7a8fa3; margin-top: 0.15rem; }

.user-card-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.user-card-roles {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.user-card-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Checkbox groups and form helpers
   ═══════════════════════════════════════════════════════════════════════════ */

.checkbox-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.94rem;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0f6cbd;
    cursor: pointer;
}

.radio-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(15, 23, 47, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    cursor: pointer;
    font-size: 0.93rem;
    color: #26415e;
}

.radio-pill input[type="radio"] {
    margin: 0;
    accent-color: #0f6cbd;
}

.form-control,
.form-select {
    border-color: #c9d8e8;
    min-height: 44px;
}

.form-control:focus,
.form-select:focus {
    border-color: #6aa8da;
    box-shadow: 0 0 0 0.18rem rgba(15, 108, 189, 0.16);
}

.badge.bg-light {
    color: #31506d !important;
    border: 1px solid rgba(49, 80, 109, 0.12);
}

.form-label-bold {
    font-weight: 600;
    color: #26415e;
    font-size: 0.95rem;
}

.muted-text {
    color: #7a8fa3;
    font-size: 0.92rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Code / readonly output fields
   ═══════════════════════════════════════════════════════════════════════════ */

.code-field {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.85rem;
    border: 1px solid #c2d3e6;
    border-radius: 10px;
    background: #f4f8fc;
    font-family: 'Consolas', 'Cascadia Code', 'Courier New', monospace;
    font-size: 0.86rem;
    color: #223140;
    resize: vertical;
}

.api-docs-page,
.api-docs-card {
    min-height: 0;
}

.api-docs-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(244, 248, 252, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.api-docs-summary-kicker {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: #0f6cbd;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.api-docs-summary-title {
    margin: 0 0 0.35rem;
    color: #16324f;
    font-size: 1.05rem;
}

.api-docs-viewer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 16px;
    background: rgba(244, 248, 252, 0.72);
}

.api-docs-viewer-label {
    display: block;
    margin-bottom: 0.2rem;
    color: #617991;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.api-docs-viewer-meta strong {
    color: #143454;
}

.api-docs-viewer-meta p {
    max-width: 56ch;
    color: #556d84;
}

.api-docs-frame {
    width: 100%;
    min-height: min(72vh, 980px);
    height: calc(100vh - 21rem);
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 16px;
    background: #ffffff;
}

@media (max-width: 900px) {
    .auth-shell {
        grid-template-columns: 1fr;
        min-height: unset;
    }

    .auth-hero {
        max-width: none;
        padding-left: 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Account management pages
   ═══════════════════════════════════════════════════════════════════════════ */

.account-nav-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.92));
    box-shadow: 0 16px 32px rgba(15, 23, 47, 0.06);
}

.account-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.account-nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1rem;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #284563;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.account-nav-link:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 108, 189, 0.22);
    color: #0f5fa8;
    box-shadow: 0 10px 24px rgba(15, 23, 47, 0.08);
}

.account-nav-link.active {
    border-color: rgba(15, 108, 189, 0.3);
    background: linear-gradient(135deg, rgba(15, 108, 189, 0.12), rgba(125, 211, 252, 0.18));
    color: #0f5fa8;
}

.account-nav-link-danger {
    color: #9f1239;
}

.account-nav-link-danger:hover {
    border-color: rgba(190, 24, 93, 0.24);
    color: #9f1239;
}

.account-nav-link-danger.active {
    border-color: rgba(190, 24, 93, 0.28);
    background: linear-gradient(135deg, rgba(190, 24, 93, 0.1), rgba(251, 207, 232, 0.28));
    color: #9f1239;
}

.account-nav-link:focus-visible {
    outline: 3px solid rgba(15, 108, 189, 0.18);
    outline-offset: 2px;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.account-detail-list {
    display: grid;
    gap: 0.85rem;
}

.account-detail-list div {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 47, 0.06);
}

.account-detail-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.account-detail-list dt {
    margin: 0;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #657d95;
}

.account-detail-list dd {
    margin: 0;
    color: #173753;
    line-height: 1.55;
}

.account-security-overview-card {
    border: 1px solid rgba(15, 108, 189, 0.08);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.99));
}

.account-security-overview-list {
    display: grid;
    gap: 0.85rem;
}

.account-security-overview-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(15, 23, 47, 0.06);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
}

.account-security-overview-item strong {
    display: block;
    margin-bottom: 0.2rem;
    color: #173753;
}

.account-security-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.account-security-badge.is-good {
    background: rgba(16, 124, 65, 0.12);
    color: #0f6a38;
}

.account-security-badge.is-warning {
    background: rgba(184, 124, 0, 0.14);
    color: #8b5f00;
}

.account-security-badge.is-muted {
    background: rgba(74, 98, 120, 0.12);
    color: #4a6278;
}

.account-qr-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 47, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(244, 248, 252, 0.94));
}

.account-qr-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 190px;
    height: 190px;
    padding: 0.85rem;
    border: 1px solid rgba(15, 23, 47, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.account-qr-image {
    display: block;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
}

.account-qr-copy {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.account-qr-copy strong {
    color: #173753;
}

.account-copy-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: start;
}

.account-copy-field .code-field {
    min-width: 0;
}

.account-copy-field .portal-copy-button {
    margin-top: 0.15rem;
}

.account-copy-field--textarea .portal-copy-button {
    margin-top: 0.45rem;
}

.account-security-list {
    margin: 0;
    padding-left: 1.15rem;
    color: #35506e;
    line-height: 1.75;
}

.account-recovery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.65rem;
}

.account-recovery-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.7rem 0.9rem;
    border: 1px dashed rgba(15, 108, 189, 0.25);
    border-radius: 12px;
    background: rgba(15, 108, 189, 0.04);
    color: #0f5fa8;
    font-size: 0.92rem;
    word-break: break-word;
}

@media (max-width: 720px) {
    .account-security-overview-item {
        grid-template-columns: 1fr;
    }

    .account-security-badge {
        justify-self: start;
    }

    .account-qr-panel {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .account-copy-field {
        grid-template-columns: 1fr;
    }

    .account-copy-field .portal-copy-button {
        justify-self: end;
        margin-top: 0;
    }

    .account-qr-frame {
        width: min(100%, 220px);
        height: auto;
        aspect-ratio: 1;
    }
}
