/* Leave room for the sticky header when following in-page links. */
#main-content, section[id^="privacy-"], section[id^="terms-"], section[id^="accessibility-"] { scroll-margin-top: 10rem; }
#main-content:focus { outline: none; }

:root {
    --brand: #283891;
    --brand-dark: #142052;
    --brand-soft: #eef0fa;
    --ink: #171b2e;
    --muted: #5d6378;
    --line: #dfe2eb;
    --paper: #ffffff;
    --surface: #f6f6f3;
    --warm: #c8913e;
    --warm-light: #f0d7ac;
    --radius-sm: .55rem;
    --radius-md: 1rem;
    --radius-lg: 1.6rem;
    --shadow: 0 1.1rem 3rem rgba(20, 32, 82, .12);
    font-family: "Segoe UI", Aptos, Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    font-synthesis: none;
}

.admin-workspace {
    align-items: start;
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(15rem, .7fr) minmax(0, 2fr);
}

.admin-list {
    background: var(--surface, #fff);
    border: 1px solid var(--border, #dce1ea);
    border-radius: 1rem;
    max-height: 48rem;
    overflow: auto;
    padding: 1rem;
}

.admin-list-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-list-heading h2 {
    font-size: 1.35rem;
    margin: 0;
}

.admin-list-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e8ebf1;
    color: #172033;
    cursor: pointer;
    display: grid;
    gap: .2rem;
    padding: .8rem;
    text-align: left;
    width: 100%;
}

.admin-list-item span,
.resource-row small {
    color: #596273;
    display: block;
    font-size: .82rem;
}

.admin-list-item:hover,
.admin-list-item.active {
    background: #f1f3fb;
}

.admin-editor .form-field {
    display: grid;
    gap: .4rem;
    margin-bottom: 1.1rem;
}

.admin-editor input:not([type="checkbox"]),
.admin-editor textarea,
.admin-editor select {
    border: 1px solid #bfc6d2;
    border-radius: .5rem;
    font: inherit;
    padding: .7rem .8rem;
    width: 100%;
}

.check-field {
    align-items: center;
    display: flex;
    gap: .55rem;
    margin: 1rem 0;
}

.preserve-lines {
    white-space: pre-line;
}

.resource-group + .resource-group {
    margin-top: 2.5rem;
}

.resource-list {
    border-top: 1px solid #dce1ea;
}

.resource-row {
    align-items: center;
    border-bottom: 1px solid #dce1ea;
    color: #172033;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem .25rem;
    text-decoration: none;
}

.resource-row:hover {
    background: #f6f7fa;
}

@media (max-width: 800px) {
    .admin-workspace {
        grid-template-columns: 1fr;
    }

    .admin-list {
        max-height: 20rem;
    }

    .resource-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.admin-users-section {
    background: #f7f8fc;
}

.admin-status {
    background: #eaf5ee;
    border: 1px solid #b9dcc5;
    border-radius: .7rem;
    color: #215b36;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding: .9rem 1rem;
}

.admin-status-error {
    background: #fff0f0;
    border-color: #e7bebe;
    color: #8c2929;
}

.producer-admin-context {
    align-items: center;
    background: #fff;
    border: 1px solid #d9deed;
    border-left: .35rem solid var(--brand);
    border-radius: .9rem;
    box-shadow: 0 .7rem 2rem rgba(20, 32, 82, .07);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
    margin-bottom: 1.5rem;
    padding: clamp(1.2rem, 3vw, 1.65rem);
}

.producer-admin-context-heading {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr);
}

.producer-admin-context-icon {
    align-items: center;
    background: var(--brand-soft);
    border-radius: .8rem;
    color: var(--brand);
    display: flex;
    height: 3.25rem;
    justify-content: center;
    width: 3.25rem;
}

.producer-admin-context-icon svg {
    fill: none;
    height: 1.55rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
    width: 1.55rem;
}

.producer-admin-context-heading h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    margin: .25rem 0;
}

.producer-admin-context-heading p {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.5;
    margin: 0;
}

.producer-admin-select {
    display: grid;
    gap: .4rem;
}

.producer-admin-select label {
    color: var(--brand-dark);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.producer-admin-select select {
    background: #fff;
    border: 2px solid #bfc6dc;
    border-radius: .6rem;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    min-height: 3.25rem;
    padding: .7rem .8rem;
    width: 100%;
}

.producer-admin-select select:focus {
    border-color: var(--brand);
    outline: .2rem solid rgba(40, 56, 145, .14);
}

.producer-admin-selection-summary {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
    min-width: 0;
}

.producer-admin-selection-summary strong {
    color: var(--brand-dark);
    font-size: .78rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.producer-admin-selection-summary small {
    color: var(--muted);
    font-size: .75rem;
    white-space: nowrap;
}

.producer-admin-empty {
    margin-inline: auto;
    max-width: 48rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
}

.producer-admin-empty h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin: .45rem 0;
}

.producer-admin-empty p {
    color: var(--muted);
    line-height: 1.65;
    margin: 0 auto;
    max-width: 39rem;
}

.user-admin-toolbar {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.user-search {
    display: grid;
    gap: .4rem;
    max-width: 34rem;
    width: 100%;
}

.user-search label,
.user-editor label {
    color: var(--brand-dark);
    font-size: .83rem;
    font-weight: 800;
}

.user-search input,
.user-editor input:not([type="checkbox"]):not([type="radio"]),
.user-editor select {
    background: #fff;
    border: 1px solid #bcc3d3;
    border-radius: .55rem;
    color: var(--ink);
    font: inherit;
    min-height: 3rem;
    padding: .7rem .8rem;
    width: 100%;
}

.user-admin-workspace {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(17rem, .75fr) minmax(0, 2fr);
}

.user-directory {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    max-height: 52rem;
    overflow: auto;
    padding: .7rem;
}

.user-directory-heading {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: .65rem .7rem 1rem;
}

.user-directory-heading h2 {
    font-size: 1.3rem;
    margin: 0;
}

.user-directory-heading span {
    color: var(--muted);
    font-size: .8rem;
}

.user-directory-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-top: 1px solid #eceef3;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: .7rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: .85rem .7rem;
    text-align: left;
    width: 100%;
}

.user-directory-item:hover,
.user-directory-item.active {
    background: var(--brand-soft);
}

.user-directory-avatar {
    align-items: center;
    background: var(--brand);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: .72rem;
    font-weight: 800;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.user-directory-copy {
    display: grid;
    gap: .15rem;
    min-width: 0;
}

.user-directory-copy strong,
.user-directory-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-directory-copy small,
.user-directory-copy span {
    color: var(--muted);
    font-size: .76rem;
}

.user-directory-copy .user-producer-list {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .25rem;
}

.user-directory-copy .user-producer-tag {
    background: #edf0fb;
    border: 1px solid #d7dcef;
    border-radius: 999px;
    color: var(--brand-dark);
    display: inline-block;
    font-size: .65rem;
    font-weight: 750;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    padding: .2rem .4rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-directory-copy .user-producer-empty {
    color: #8c6420;
    font-size: .7rem;
    font-weight: 700;
    margin-top: .2rem;
}

.user-security-dot,
.inherited-badge {
    background: #fff4d4;
    border-radius: 999px;
    color: #755717;
    font-size: .64rem;
    font-weight: 900;
    padding: .25rem .45rem;
    text-transform: uppercase;
}

.user-editor {
    padding: clamp(1.3rem, 3vw, 2.25rem);
}

.user-editor-heading {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
}

.user-editor-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin: .35rem 0;
}

.user-editor-heading p {
    color: var(--muted);
    margin: 0;
}

.user-security-summary {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: flex-end;
}

.user-editor-heading-actions {
    display: grid;
    gap: .75rem;
    justify-items: end;
}

.view-as-user-form {
    display: grid;
    gap: .3rem;
    justify-items: end;
}

.view-as-user-form small {
    color: var(--muted);
    font-size: .7rem;
}

.user-security-summary span {
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    padding: .35rem .55rem;
    white-space: nowrap;
}

.user-security-summary .complete {
    background: #e4f4e9;
    color: #26663b;
}

.user-security-summary .pending {
    background: #fff1d1;
    color: #755717;
}

.user-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.user-editor .form-field {
    display: grid;
    gap: .4rem;
    margin-bottom: 1.25rem;
}

.user-status-field {
    max-width: 18rem;
}

.assignment-fieldset {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 1.25rem 0 0;
    padding: 1.5rem 0 0;
}

.assignment-fieldset legend {
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 700;
    padding: 0;
}

.assignment-fieldset > p {
    color: var(--muted);
    font-size: .9rem;
    margin: .35rem 0 1rem;
}

.producer-assignment-list {
    border: 1px solid var(--line);
    border-radius: .7rem;
    max-height: 25rem;
    overflow: auto;
}

.producer-assignment-list:empty {
    display: none;
}

.assigned-producers {
    background: #f7f8fc;
    border: 2px solid #d7dcef;
    border-radius: .85rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.assigned-producers-heading {
    align-items: center;
    background: #eef0fa;
    border-bottom: 1px solid #d7dcef;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .9rem 1rem;
}

.assigned-producers-heading h3 {
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    margin: 0;
}

.assigned-producers-heading p {
    color: var(--muted);
    font-size: .82rem;
    margin: .2rem 0 0;
}

.assigned-producers-heading > span {
    background: var(--brand);
    border-radius: 999px;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
    padding: .35rem .65rem;
    white-space: nowrap;
}

.assigned-producers-empty {
    color: var(--muted);
    padding: 1.15rem 1rem;
}

.assigned-producer-list {
    display: grid;
}

.assigned-producer-card {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .9rem 1rem;
}

.assigned-producer-card:last-child {
    border-bottom: 0;
}

.assigned-producer-card.primary {
    border-left: .3rem solid var(--brand);
    padding-left: .7rem;
}

.assigned-producer-details {
    display: grid;
    gap: .2rem;
    min-width: 0;
}

.assigned-producer-details > strong {
    color: var(--brand-dark);
}

.assigned-producer-details > small {
    color: var(--muted);
}

.assigned-producer-badges,
.assigned-producer-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.assigned-producer-badges {
    margin-top: .25rem;
}

.primary-badge {
    background: var(--brand);
    border-radius: 999px;
    color: #fff;
    font-size: .64rem;
    font-weight: 900;
    padding: .25rem .45rem;
    text-transform: uppercase;
}

.text-action {
    background: transparent;
    border: 0;
    color: var(--brand);
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    padding: .35rem;
}

.text-action:hover {
    text-decoration: underline;
}

.text-action-danger {
    color: #9b2f2f;
}

.managed-access {
    color: var(--muted);
    font-size: .72rem;
    max-width: 8rem;
    text-align: right;
}

.producer-search-hint {
    color: var(--muted);
    font-size: .82rem;
    margin: -.2rem 0 .75rem;
}

.producer-picker-toolbar {
    align-items: end;
    display: grid;
    gap: .4rem .75rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: .75rem;
}

.producer-picker-toolbar label {
    grid-column: 1 / -1;
}

.producer-picker-toolbar input {
    background: #fff;
    border: 1px solid #bcc3d3;
    border-radius: .55rem;
    color: var(--ink);
    font: inherit;
    min-height: 3rem;
    padding: .7rem .8rem;
    width: 100%;
}

.producer-picker-toolbar span {
    background: var(--brand-soft);
    border-radius: 999px;
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800;
    margin-bottom: .55rem;
    padding: .3rem .6rem;
    white-space: nowrap;
}

.producer-assignment {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: .8rem;
    grid-template-columns: minmax(0, 1fr) auto auto;
    padding: .8rem .9rem;
}

.producer-assignment:last-child {
    border-bottom: 0;
}

.producer-assignment.selected {
    background: #f5f6fc;
}

.producer-choice,
.primary-choice,
.role-choice {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: .65rem;
}

.producer-choice span,
.role-choice span {
    display: grid;
    gap: .15rem;
}

.producer-choice small,
.role-choice small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 400;
}

.primary-choice {
    font-size: .76rem !important;
}

.role-grid {
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.role-choice {
    align-items: start;
    border: 1px solid var(--line);
    border-radius: .65rem;
    padding: .85rem;
}

.producer-choice input,
.primary-choice input,
.role-choice input {
    accent-color: var(--brand);
    flex: 0 0 auto;
    height: 1.05rem;
    margin: .15rem 0 0;
    width: 1.05rem;
}

.optional {
    color: var(--muted);
    font-weight: 400;
}

.user-mfa-admin {
    align-items: center;
    background: #f7f8fc;
    border: 1px solid var(--line);
    border-radius: .8rem;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
}

.user-mfa-admin h3 {
    font-size: 1.15rem;
    margin: .15rem 0 .25rem;
}

.user-mfa-admin p {
    color: var(--muted);
    margin: 0;
    max-width: 50rem;
}

.user-mfa-confirmation {
    background: #fff8f7;
    border: 1px solid #c94343;
    border-radius: .7rem;
    flex: 0 1 34rem;
    padding: .85rem;
}

.user-mfa-confirmation > p {
    color: #6e2929;
    font-size: .9rem;
    margin: .3rem 0 .75rem;
}

.user-mfa-confirmation > div {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.button-danger {
    background: #9d2424;
    border-color: #9d2424;
    color: #fff;
}

.button-danger:hover {
    background: #7f1c1c;
    border-color: #7f1c1c;
}

.user-editor-actions {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.button-link {
    background: transparent;
    color: var(--brand);
    margin-left: auto;
}

.empty-state {
    color: var(--muted);
    padding: 1rem;
}

@media (max-width: 900px) {
    .producer-admin-context {
        grid-template-columns: 1fr;
    }

    .user-admin-workspace {
        grid-template-columns: 1fr;
    }

    .user-directory {
        max-height: 22rem;
    }
}

@media (max-width: 640px) {
    .producer-admin-context-heading {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .user-admin-toolbar,
    .user-editor-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .user-editor-heading-actions,
    .view-as-user-form {
        justify-items: stretch;
    }

    .user-admin-toolbar .button,
    .user-editor-actions .button {
        width: 100%;
    }

    .user-form-grid,
    .role-grid {
        grid-template-columns: 1fr;
    }

    .user-mfa-admin {
        align-items: stretch;
        flex-direction: column;
    }

    .producer-assignment {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .assigned-producer-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .assigned-producer-actions {
        justify-content: flex-start;
    }

    .managed-access {
        max-width: none;
        text-align: left;
    }

    .producer-assignment .inherited-badge {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .user-security-summary {
        justify-content: flex-start;
    }

    .button-link {
        margin-left: 0;
    }
}

* {
    box-sizing: border-box;
}

.report-section {
    background: #f7f8fc;
}

.report-message {
    margin-inline: auto;
    max-width: 48rem;
    text-align: center;
}

.report-message h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin: .5rem 0;
}

.report-message p {
    color: var(--muted);
}

.report-message-error {
    border-color: #e4bebe;
}

.report-selection-heading {
    margin-bottom: 1.5rem;
    max-width: 48rem;
}

.report-selection-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    margin: .4rem 0;
}

.report-selection-heading p {
    color: var(--muted);
    margin: 0;
}

.statement-producer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.statement-producer-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: var(--ink);
    cursor: pointer;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 1.2rem;
    text-align: left;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.statement-producer-card:hover {
    border-color: var(--brand);
    box-shadow: 0 .8rem 2rem rgba(40, 56, 145, .1);
    transform: translateY(-2px);
}

.statement-producer-icon {
    align-items: center;
    background: var(--brand);
    border-radius: .7rem;
    color: #fff;
    display: flex;
    font-weight: 900;
    height: 3rem;
    justify-content: center;
    width: 3rem;
}

.statement-producer-card > span:nth-child(2) {
    display: grid;
    gap: .2rem;
}

.statement-producer-card strong {
    color: var(--brand-dark);
    font-size: 1.05rem;
}

.statement-producer-card small {
    color: var(--muted);
}

.statement-producer-card em {
    color: var(--brand);
    font-size: .7rem;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
}

.statement-card-action {
    color: var(--brand);
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
}

.statement-toolbar {
    align-items: end;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.statement-toolbar h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin: .35rem 0;
}

.statement-toolbar p {
    color: var(--muted);
    margin: 0;
}

.statement-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.statement-summary {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.statement-summary > div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .75rem;
    display: grid;
    gap: .25rem;
    padding: .9rem 1rem;
}

.statement-summary span {
    color: var(--muted);
    font-size: .75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.statement-summary strong {
    color: var(--brand-dark);
    font-size: 1.35rem;
}

.statement-summary .statement-total-card {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
}

.statement-summary .statement-total-card span,
.statement-summary .statement-total-card strong {
    color: #fff;
}

.statement-table-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .85rem;
    overflow: hidden;
}

.statement-table {
    border-collapse: collapse;
    font-size: .76rem;
    table-layout: fixed;
    width: 100%;
}

.statement-table th:nth-child(1) { width: 24%; }
.statement-table th:nth-child(2) { width: 7.5%; }
.statement-table th:nth-child(3) { width: 9%; }
.statement-table th:nth-child(4) { width: 9%; }
.statement-table th:nth-child(5) { width: 5.5%; }
.statement-table th:nth-child(6) { width: 11%; }
.statement-table th:nth-child(7) { width: 8%; }
.statement-table th:nth-child(8) { width: 12.5%; }
.statement-table th:nth-child(9) { width: 13.5%; }

.statement-table th,
.statement-table td {
    border-bottom: 1px solid #e6e8ef;
    overflow-wrap: anywhere;
    padding: .7rem .45rem;
    text-align: left;
    vertical-align: top;
}

.statement-table thead th {
    background: var(--brand-dark);
    color: #fff;
    font-size: .65rem;
    letter-spacing: .025em;
    line-height: 1.25;
    text-transform: uppercase;
}

.statement-table td:first-child {
    display: grid;
    gap: .15rem;
}

.statement-table td:first-child span {
    color: var(--muted);
}

.statement-table .money {
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.statement-net {
    font-weight: 800;
}

.statement-table .policy-subtotal td {
    background: #f1f3fa;
    color: var(--brand-dark);
    font-weight: 800;
}

.statement-table .policy-subtotal td:first-child {
    display: table-cell;
    text-align: right;
}

.statement-table tfoot th {
    background: var(--brand);
    border: 0;
    color: #fff;
    font-size: .9rem;
    padding: .9rem .65rem;
    text-align: right;
}

.statement-clear {
    align-items: center;
    display: flex;
    gap: 1rem;
    text-align: left;
}

.statement-clear-mark {
    align-items: center;
    background: #e5f5e9;
    border-radius: 50%;
    color: #23643a;
    display: flex;
    flex: 0 0 auto;
    font-size: 1.5rem;
    height: 3.5rem;
    justify-content: center;
    width: 3.5rem;
}

.expiration-controls {
    align-items: end;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .85rem;
    display: grid;
    gap: 1rem 1.5rem;
    grid-template-columns: minmax(18rem, 1fr) auto;
    margin-bottom: 1rem;
    padding: 1rem;
}

.expiration-control,
.expiration-list-tools label {
    display: grid;
    gap: .4rem;
}

.expiration-control > span,
.expiration-list-tools label > span,
.expiration-range-control legend {
    color: var(--brand-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.expiration-control select,
.expiration-list-tools input,
.expiration-list-tools select {
    background: #fff;
    border: 1px solid #bfc5d5;
    border-radius: .5rem;
    color: var(--ink);
    font: inherit;
    min-height: 2.75rem;
    padding: .65rem .75rem;
    width: 100%;
}

.expiration-range-control {
    border: 0;
    margin: 0;
    padding: 0;
}

.expiration-range-control > div {
    display: flex;
    gap: .4rem;
    margin-top: .4rem;
}

.expiration-range-button {
    background: #f2f3f8;
    border: 1px solid #d4d8e5;
    border-radius: .5rem;
    color: var(--brand-dark);
    cursor: pointer;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    min-height: 2.75rem;
    padding: .55rem .85rem;
}

.expiration-range-button:hover,
.expiration-range-button.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.expiration-loading,
.expiration-no-filter-results {
    margin-top: 1rem;
}

.expiration-list-tools {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(16rem, 1fr) minmax(12rem, .35fr);
    margin: 1rem 0;
}

.expiration-table-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .85rem;
    overflow: hidden;
}

.expiration-table {
    border-collapse: collapse;
    font-size: .78rem;
    table-layout: fixed;
    width: 100%;
}

.expiration-table th:nth-child(1) { width: 19%; }
.expiration-table th:nth-child(2) { width: 24%; }
.expiration-table th:nth-child(3) { width: 21%; }
.expiration-table th:nth-child(4) { width: 10%; }
.expiration-table th:nth-child(5) { width: 11%; }
.expiration-table th:nth-child(6) { width: 15%; }

.expiration-table th,
.expiration-table td {
    border-bottom: 1px solid #e6e8ef;
    line-height: 1.35;
    overflow-wrap: break-word;
    padding: .75rem .6rem;
    text-align: left;
    vertical-align: top;
    word-break: normal;
}

.expiration-table thead th {
    background: var(--brand-dark);
    color: #fff;
    font-size: .67rem;
    letter-spacing: .025em;
    line-height: 1.25;
    text-transform: uppercase;
}

.expiration-table tbody tr:last-child td {
    border-bottom: 0;
}

.expiration-table td > strong,
.expiration-table td > span {
    display: block;
}

.expiration-table td > strong + span {
    margin-top: .15rem;
}

.expiration-table td span {
    color: var(--muted);
}

.expiration-table .money {
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

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

.epay-section {
    background: #f7f8fc;
}

.epay-alert {
    background: #fff4e5;
    border: 1px solid #e6c791;
    border-radius: .7rem;
    color: #704b0b;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding: .9rem 1rem;
}

.epay-heading {
    align-items: end;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, .45fr);
    margin-bottom: 1.5rem;
}

.epay-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin: .35rem 0;
}

.epay-heading > div:first-child p {
    color: var(--muted);
    margin: 0;
}

.epay-security-note {
    align-items: flex-start;
    background: #eef0fa;
    border: 1px solid #d5d9eb;
    border-radius: .75rem;
    display: flex;
    gap: .7rem;
    padding: .9rem 1rem;
}

.epay-security-note > span {
    align-items: center;
    background: var(--brand);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 auto;
    font-size: .75rem;
    font-weight: 900;
    height: 1.65rem;
    justify-content: center;
    width: 1.65rem;
}

.epay-security-note p {
    color: #343c66;
    font-size: .82rem;
    line-height: 1.45;
    margin: 0;
}

.epay-agency-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.epay-agency-grid-single {
    grid-template-columns: minmax(0, 42rem);
}

.epay-agency-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .9rem;
    box-shadow: 0 .5rem 1.5rem rgba(20, 32, 82, .05);
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
}

.epay-agency-card-heading {
    align-items: center;
    display: grid;
    gap: .85rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
}

.epay-agency-card-heading h3 {
    font-size: 1.22rem;
    margin: 0;
    overflow-wrap: break-word;
}

.epay-agency-card-heading p {
    color: var(--muted);
    font-size: .8rem;
    margin: .2rem 0 0;
}

.epay-agency-icon {
    align-items: center;
    background: var(--brand-dark);
    border-radius: .65rem;
    color: #fff;
    display: flex;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.3rem;
    font-weight: 800;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.epay-primary-badge {
    background: #eef0fa;
    border-radius: 999px;
    color: var(--brand);
    font-size: .63rem;
    font-weight: 900;
    letter-spacing: .035em;
    padding: .35rem .55rem;
    text-transform: uppercase;
}

.epay-prefill-list {
    border-block: 1px solid #e5e7ef;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding-block: .8rem;
}

.epay-prefill-list > div + div {
    border-left: 1px solid #e5e7ef;
    padding-left: 1rem;
}

.epay-prefill-list dt {
    color: var(--muted);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.epay-prefill-list dd {
    color: var(--brand-dark);
    font-size: .95rem;
    font-weight: 800;
    margin: .25rem 0 0;
}

.epay-continue-button {
    justify-content: center;
    text-align: center;
}

.epay-unavailable {
    background: #fff2f2;
    border-radius: .55rem;
    color: #842c2c;
    font-size: .82rem;
    font-weight: 700;
    margin: 0;
    padding: .75rem;
}

.epay-help {
    color: var(--muted);
    font-size: .85rem;
    margin: 1.25rem 0 0;
    text-align: center;
}

@media (max-width: 760px) {
    .statement-producer-grid,
    .statement-summary {
        grid-template-columns: 1fr;
    }

    .statement-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .statement-toolbar-actions .button {
        flex: 1 1 auto;
    }

    .statement-table-shell {
        background: transparent;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .statement-table,
    .statement-table tbody,
    .statement-table tfoot {
        display: block;
        width: 100%;
    }

    .statement-table {
        font-size: .82rem;
    }

    .statement-table thead {
        display: none;
    }

    .statement-table tbody {
        display: grid;
        gap: .8rem;
    }

    .statement-table tbody tr:not(.policy-subtotal) {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: .75rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
        padding: .35rem 0;
    }

    .statement-table tbody tr:not(.policy-subtotal) td {
        border: 0;
        display: block;
        min-width: 0;
        padding: .45rem .75rem;
        text-align: left;
        white-space: normal;
    }

    .statement-table tbody tr:not(.policy-subtotal) td:first-child {
        border-bottom: 1px solid #e6e8ef;
        grid-column: 1 / -1;
        margin-bottom: .15rem;
        padding-bottom: .65rem;
    }

    .statement-table tbody tr:not(.policy-subtotal) td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: .62rem;
        font-weight: 800;
        letter-spacing: .025em;
        margin-bottom: .15rem;
        text-transform: uppercase;
    }

    .statement-table .policy-subtotal {
        background: #e9ecf7;
        border-radius: .6rem;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        margin-top: -.45rem;
        overflow: hidden;
    }

    .statement-table .policy-subtotal td,
    .statement-table .policy-subtotal td:first-child {
        border: 0;
        display: block;
        padding: .65rem .75rem;
        text-align: left;
    }

    .statement-table .policy-subtotal .money {
        text-align: right;
    }

    .statement-table tfoot {
        margin-top: .8rem;
    }

    .statement-table tfoot tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .statement-table tfoot th {
        display: block;
        padding: .8rem .75rem;
    }

    .statement-table tfoot th:first-child {
        text-align: left;
    }

    .expiration-controls,
    .expiration-list-tools {
        grid-template-columns: 1fr;
    }

    .expiration-controls {
        align-items: stretch;
    }

    .expiration-range-control > div {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .expiration-range-button {
        padding-inline: .35rem;
    }

    .expiration-table-shell {
        background: transparent;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .expiration-table,
    .expiration-table tbody {
        display: block;
        width: 100%;
    }

    .expiration-table thead {
        display: none;
    }

    .expiration-table tbody {
        display: grid;
        gap: .8rem;
    }

    .expiration-table tbody tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: .75rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
        padding: .35rem 0;
    }

    .expiration-table tbody td,
    .expiration-table tbody td:first-child,
    .expiration-table tbody td:nth-child(2) {
        border: 0;
        display: block;
        min-width: 0;
        padding: .45rem .75rem;
        text-align: left;
        white-space: normal;
    }

    .expiration-table tbody td:nth-child(2),
    .expiration-table tbody td:nth-child(3) {
        grid-column: 1 / -1;
    }

    .expiration-table tbody td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: .62rem;
        font-weight: 800;
        letter-spacing: .025em;
        margin-bottom: .15rem;
        text-transform: uppercase;
    }

    .expiration-table tbody td:nth-child(2) {
        border-top: 1px solid #e6e8ef;
        margin-top: .15rem;
        padding-top: .65rem;
    }

    .epay-heading,
    .epay-agency-grid,
    .epay-agency-grid-single {
        grid-template-columns: 1fr;
    }

    .epay-heading {
        align-items: stretch;
    }

    .epay-agency-card-heading {
        align-items: start;
    }

    .epay-primary-badge {
        grid-column: 2;
        justify-self: start;
    }
}

@media print {
    .skip-link,
    .site-header,
    .site-footer,
    .report-page-hero,
    .statement-toolbar-actions,
    .expiration-controls,
    .expiration-list-tools,
    .blazor-error-boundary {
        display: none !important;
    }

    .report-section,
    body {
        background: #fff !important;
    }

    .section {
        padding: 0;
    }

    .site-container {
        max-width: none;
        padding: 0;
    }

    .expiration-heading {
        margin-bottom: .18in;
    }

    .expiration-heading h2 {
        font-size: 18pt;
        margin-block: .04in;
    }

    .expiration-heading p {
        font-size: 8pt;
    }

    .expiration-summary {
        display: grid !important;
        gap: .1in;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        margin-bottom: .16in;
    }

    .expiration-summary > div {
        border-radius: .06in;
        break-inside: avoid;
        min-height: 0;
        padding: .09in .12in;
    }

    .expiration-summary span {
        font-size: 6.5pt;
    }

    .expiration-summary strong {
        font-size: 11pt;
    }

    .expiration-summary .statement-total-card {
        background: #eef0fa !important;
        border-color: #c9cee3 !important;
        print-color-adjust: exact;
    }

    .expiration-summary .statement-total-card span,
    .expiration-summary .statement-total-card strong {
        color: #142052 !important;
    }

    .statement-toolbar:not(.expiration-heading) {
        margin-bottom: .18in;
    }

    .statement-toolbar:not(.expiration-heading) h2 {
        font-size: 18pt;
        margin-block: .04in;
    }

    .statement-toolbar:not(.expiration-heading) p {
        font-size: 8pt;
    }

    .statement-toolbar + .statement-summary {
        display: grid !important;
        gap: .1in;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        margin-bottom: .16in;
    }

    .statement-toolbar + .statement-summary > div {
        border-radius: .06in;
        break-inside: avoid;
        min-height: 0;
        padding: .09in .12in;
    }

    .statement-toolbar + .statement-summary span {
        font-size: 6.5pt;
    }

    .statement-toolbar + .statement-summary strong {
        font-size: 11pt;
    }

    .statement-toolbar + .statement-summary .statement-total-card {
        background: #eef0fa !important;
        border-color: #c9cee3 !important;
        print-color-adjust: exact;
    }

    .statement-toolbar + .statement-summary .statement-total-card span,
    .statement-toolbar + .statement-summary .statement-total-card strong {
        color: #142052 !important;
    }

    .statement-table-shell {
        border: 1px solid #cfd3df;
        border-radius: 0;
        overflow: visible;
    }

    .statement-table {
        border-collapse: collapse;
        display: table !important;
        font-size: 6.5pt;
        min-width: 0;
        table-layout: fixed;
        width: 100%;
    }

    .statement-table th:nth-child(1) { width: 22%; }
    .statement-table th:nth-child(2) { width: 7%; }
    .statement-table th:nth-child(3) { width: 9%; }
    .statement-table th:nth-child(4) { width: 9%; }
    .statement-table th:nth-child(5) { width: 5%; }
    .statement-table th:nth-child(6) { width: 11%; }
    .statement-table th:nth-child(7) { width: 8%; }
    .statement-table th:nth-child(8) { width: 14%; }
    .statement-table th:nth-child(9) { width: 15%; }

    .statement-table thead {
        display: table-header-group !important;
    }

    .statement-table tbody {
        display: table-row-group !important;
    }

    .statement-table tfoot {
        display: table-footer-group !important;
        margin: 0;
    }

    .statement-table tbody tr:not(.policy-subtotal),
    .statement-table .policy-subtotal,
    .statement-table tfoot tr {
        background: #fff !important;
        border: 0;
        border-radius: 0;
        break-inside: avoid;
        display: table-row !important;
        page-break-inside: avoid;
        padding: 0;
    }

    .statement-table tbody td,
    .statement-table tbody tr:not(.policy-subtotal) td,
    .statement-table tbody tr:not(.policy-subtotal) td:first-child,
    .statement-table .policy-subtotal td,
    .statement-table .policy-subtotal td:first-child {
        border-bottom: 1px solid #dfe2eb;
        display: table-cell !important;
        font-size: 6.5pt;
        grid-column: auto;
        line-height: 1.2;
        margin: 0;
        padding: .055in .045in;
        vertical-align: top;
        white-space: normal;
    }

    .statement-table tbody td::before {
        content: none !important;
        display: none !important;
    }

    .statement-table tbody td:first-child strong,
    .statement-table tbody td:first-child span {
        display: block;
    }

    .statement-table thead th {
        background: #283891 !important;
        color: #fff !important;
        display: table-cell !important;
        font-size: 5.8pt;
        line-height: 1.15;
        padding: .06in .04in;
        print-color-adjust: exact;
    }

    .statement-table .policy-subtotal td {
        background: #eef0fa !important;
        color: #142052 !important;
        font-weight: 800;
        print-color-adjust: exact;
    }

    .statement-table .policy-subtotal td:first-child {
        text-align: right;
    }

    .statement-table tfoot th,
    .statement-table tfoot th:first-child {
        background: #283891 !important;
        color: #fff !important;
        display: table-cell !important;
        font-size: 7pt;
        padding: .07in .045in;
        text-align: right;
        print-color-adjust: exact;
    }

    .statement-table .money {
        text-align: right !important;
        white-space: nowrap !important;
    }

    .expiration-table-shell {
        border: 1px solid #cfd3df;
        border-radius: 0;
        overflow: visible;
    }

    .expiration-table {
        border-collapse: collapse;
        display: table !important;
        font-size: 7.5pt;
        table-layout: fixed;
        width: 100%;
    }

    .expiration-table thead {
        display: table-header-group !important;
    }

    .expiration-table tbody {
        display: table-row-group !important;
    }

    .expiration-table tbody tr {
        background: #fff !important;
        border: 0;
        border-radius: 0;
        break-inside: avoid;
        display: table-row !important;
        page-break-inside: avoid;
        padding: 0;
    }

    .expiration-table tbody td,
    .expiration-table tbody td:first-child,
    .expiration-table tbody td:nth-child(2) {
        border-bottom: 1px solid #dfe2eb;
        display: table-cell !important;
        font-size: 7.5pt;
        grid-column: auto;
        line-height: 1.25;
        margin: 0;
        padding: .07in .06in;
        text-align: left;
        vertical-align: top;
        white-space: normal;
    }

    .expiration-table tbody td::before {
        content: none !important;
        display: none !important;
    }

    .expiration-table thead th {
        background: #283891 !important;
        color: #fff !important;
        display: table-cell !important;
        font-size: 6.5pt;
        line-height: 1.15;
        padding: .07in .06in;
        print-color-adjust: exact;
    }

    .expiration-table .money {
        text-align: right !important;
        white-space: nowrap !important;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
}

body,
button,
input,
select,
textarea {
    color: var(--ink);
    font: inherit;
}

a {
    color: var(--brand);
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3 {
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.08;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.35rem, 4.5vw, 3.8rem);
    letter-spacing: -.04em;
    margin: 0;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.8rem);
    letter-spacing: -.035em;
    margin: 0;
}

h3 {
    font-size: 1.35rem;
    margin: 0;
}

p {
    line-height: 1.7;
}

h1:focus {
    outline: none;
}

:focus-visible {
    outline: 3px solid var(--warm);
    outline-offset: 3px;
}

.site-container {
    margin-inline: auto;
    max-width: 1240px;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
    width: 100%;
}

.section {
    padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-soft {
    background: var(--surface);
}

.eyebrow {
    color: var(--brand);
    display: block;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .16em;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 1.25rem 0 0;
    max-width: 660px;
}

.button {
    align-items: center;
    border: 1px solid transparent;
    border-radius: .45rem;
    cursor: pointer;
    display: inline-flex;
    font-size: .92rem;
    font-weight: 800;
    justify-content: center;
    min-height: 3rem;
    padding: .8rem 1.25rem;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--brand);
    box-shadow: 0 .55rem 1.3rem rgba(40, 56, 145, .2);
    color: #fff;
}

.button-primary:hover {
    background: #1f2d79;
    color: #fff;
}

.button-secondary {
    background: #fff;
    border-color: rgba(40, 56, 145, .25);
    color: var(--brand);
}

.button-secondary:hover {
    border-color: var(--brand);
}

.button-light {
    background: #fff;
    color: var(--brand-dark);
}

.button-small {
    min-height: 2.6rem;
    padding: .65rem 1rem;
}

.text-link {
    align-items: center;
    display: inline-flex;
    font-weight: 800;
    gap: .45rem;
    text-decoration: none;
}

.text-link::after {
    content: "→";
    transition: transform .15s ease;
}

.text-link:hover::after {
    transform: translateX(.2rem);
}

.hero {
    background: linear-gradient(115deg, rgba(12, 20, 63, .98) 8%, rgba(25, 43, 112, .92) 48%, rgba(25, 43, 112, .32)), url('/images/coverage-energy.jpg') center/cover;
    color: #fff;
    min-height: min(720px, calc(100vh - 8rem));
    overflow: hidden;
    position: relative;
}

.hero::after {
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
    inset: 0;
    mask-image: linear-gradient(to right, black, transparent 80%);
    pointer-events: none;
    position: absolute;
}

.hero-inner {
    align-items: center;
    display: grid;
    min-height: inherit;
    padding-block: 5rem;
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 820px;
}

.hero .eyebrow,
.hero h1 {
    color: #fff;
}

.hero h1 {
    font-size: clamp(2.75rem, 5vw, 4.75rem);
    max-width: 820px;
}

.hero-lead {
    color: rgba(255,255,255,.84);
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    margin: 1.6rem 0 2.2rem;
    max-width: 670px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero-proof {
    border-left: 3px solid var(--warm);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3.5rem;
    padding-left: 1.25rem;
}

.hero-proof div {
    display: grid;
    gap: .2rem;
}

.hero-proof strong {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
}

.hero-proof span {
    color: rgba(255,255,255,.72);
    font-size: .82rem;
}

.product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 3rem;
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    color: inherit;
    display: grid;
    min-height: 17rem;
    padding: 1.8rem;
    position: relative;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-card:hover {
    border-color: rgba(40, 56, 145, .45);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-card-number {
    color: var(--warm);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.product-card h3 {
    align-self: end;
    margin-top: 2rem;
}

.product-card p {
    color: var(--muted);
    margin: .7rem 0 0;
}

.split {
    align-items: center;
    display: grid;
    gap: clamp(2.5rem, 7vw, 6rem);
    grid-template-columns: 1fr 1fr;
}

.split-visual,
.coverage-gallery {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
}

.coverage-gallery {
    background: var(--brand-dark);
    display: grid;
    gap: .55rem;
    grid-template-columns: 1fr;
    overflow: hidden;
    padding: .55rem;
}

.coverage-gallery figure {
    margin: 0;
    min-height: 220px;
    overflow: hidden;
    position: relative;
}

.coverage-gallery img {
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.coverage-gallery figcaption {
    background: linear-gradient(transparent, rgba(12, 20, 63, .86));
    bottom: 0;
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
    left: 0;
    letter-spacing: .04em;
    padding: 2.5rem 1rem .85rem;
    position: absolute;
    right: 0;
}

.feature-list {
    display: grid;
    gap: 1.2rem;
    margin-top: 2rem;
}

.feature-item {
    border-top: 1px solid var(--line);
    display: grid;
    gap: .45rem;
    grid-template-columns: 2rem 1fr;
    padding-top: 1.2rem;
}

.feature-item strong:first-child {
    color: var(--warm);
}

.feature-item p {
    color: var(--muted);
    margin: 0;
}

.cta-band {
    background: var(--brand);
    border-radius: var(--radius-lg);
    color: #fff;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: clamp(2rem, 5vw, 4rem);
}

.cta-band h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.cta-band p {
    color: rgba(255,255,255,.8);
    margin-bottom: 0;
    max-width: 620px;
}

.cta-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
}

.page-hero {
    background: linear-gradient(135deg, #f5f6fb, #fff);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(3.5rem, 7vw, 5.75rem);
}

.page-hero h1 {
    font-size: clamp(2.35rem, 4vw, 3.8rem);
    max-width: 900px;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 700px;
}

.page-hero-compact {
    padding-block: clamp(2.75rem, 5vw, 4.25rem);
}

.content-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 2.5rem;
}

.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.6rem;
}

.content-card p {
    color: var(--muted);
}

.resource-library {
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.resource-section + .resource-section,
.producer-resource + .resource-section {
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.resource-section-heading {
    align-items: end;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.resource-section-heading .eyebrow {
    margin-bottom: .65rem;
}

.resource-section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.resource-section-heading > p {
    color: var(--muted);
    margin: 0;
    max-width: 430px;
}

.claim-form-grid {
    display: grid;
    gap: .85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-feature-card {
    border: 1px solid var(--line);
    border-radius: .8rem;
    display: grid;
    gap: .75rem;
    padding: 1.25rem;
}

.resource-feature-card h3 {
    font-size: 1.2rem;
}

.resource-type {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .04em;
    order: -1;
    text-transform: uppercase;
}

.resource-feature-card .text-link {
    font-size: .88rem;
    margin-top: .25rem;
}

.producer-resource {
    align-items: center;
    background: var(--brand-soft);
    border: 1px solid rgba(40, 56, 145, .14);
    border-radius: var(--radius-md);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.producer-resource .eyebrow {
    margin-bottom: .6rem;
}

.producer-resource h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    max-width: 680px;
}

.producer-resource p {
    color: var(--muted);
    margin-bottom: 0;
    max-width: 680px;
}

.producer-resource .button {
    flex: 0 0 auto;
}

.resource-category-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-panel {
    border: 1px solid var(--line);
    border-radius: .8rem;
    overflow: hidden;
}

.resource-panel-wide {
    grid-column: 1 / -1;
}

.resource-panel-heading {
    align-items: baseline;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.15rem;
}

.resource-panel-heading h3 {
    font-size: 1.2rem;
}

.resource-panel-heading span {
    color: var(--muted);
    font-size: .75rem;
}

.compact-resource-list {
    list-style: none;
    margin: 0;
    padding: 0 1.15rem;
}

.resource-panel-wide .compact-resource-list {
    column-gap: 2rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-resource-list li {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 4.5rem;
    padding: .85rem 0;
}

.compact-resource-list li:last-child,
.resource-panel-wide .compact-resource-list li:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.compact-resource-list li > div {
    display: grid;
    gap: .2rem;
}

.compact-resource-list strong {
    color: var(--brand-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.2;
}

.compact-resource-list small {
    color: var(--muted);
    font-size: .73rem;
}

.compact-resource-list a {
    color: var(--brand);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
}

.compact-resource-list a:hover {
    text-decoration: underline;
}

.agent-resource-callout {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-top: clamp(3.5rem, 7vw, 5.5rem);
    padding-top: 2rem;
}

.agent-resource-callout .eyebrow {
    margin-bottom: .5rem;
}

.agent-resource-callout h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.agent-resource-callout p {
    color: var(--muted);
    margin-bottom: 0;
}

.agent-resource-callout .button {
    flex: 0 0 auto;
}

.carrier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 0;
}

.carrier-card {
    min-height: 10rem;
    padding: 1.45rem;
}

.carrier-card h2 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: -.025em;
    line-height: 1.15;
}

.carrier-card p {
    font-size: .92rem;
    margin-bottom: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 0;
}

.tag-list li {
    background: var(--brand-soft);
    border-radius: 999px;
    color: var(--brand-dark);
    font-size: .78rem;
    font-weight: 750;
    padding: .45rem .7rem;
}

.portal-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2.5rem;
}

.portal-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    display: grid;
    min-height: 13rem;
    padding: 1.5rem;
}

.portal-card .status {
    align-self: start;
    color: var(--brand);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portal-card h3 {
    align-self: end;
}

.portal-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.portal-card-disabled {
    background: #f7f7f9;
    border-style: dashed;
    box-shadow: none;
}

.portal-card-disabled .status {
    color: #73798a;
}

.portal-admin-callout {
    align-items: center;
    background: var(--brand-soft);
    border: 1px solid rgba(40, 56, 145, .14);
    border-radius: var(--radius-md);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: clamp(1.35rem, 3vw, 2rem);
}

.portal-admin-callout h2 {
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    margin: .35rem 0;
}

.portal-admin-callout p {
    color: var(--muted);
    margin: 0;
}

.portal-admin-callout .button {
    flex: 0 0 auto;
}

.notice {
    background: #fff8e9;
    border-left: 4px solid var(--warm);
    border-radius: var(--radius-sm);
    color: #634b1f;
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
}

.form-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    margin-block: 2rem;
    max-width: 720px;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.form-grid {
    display: grid;
    gap: 1.1rem;
    grid-template-columns: repeat(2, 1fr);
}

.form-field {
    display: grid;
    gap: .4rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label,
.form-label {
    color: var(--brand-dark);
    font-size: .85rem;
    font-weight: 800;
}

.form-control,
.form-select {
    background: #fff;
    border: 1px solid #bfc4d3;
    border-radius: .45rem;
    min-height: 3rem;
    padding: .7rem .8rem;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(40, 56, 145, .13);
    outline: none;
}

.account-page {
    background: linear-gradient(145deg, var(--brand-soft), #fff 58%);
    padding-block: clamp(2.75rem, 6vw, 5rem);
}

.account-container {
    margin-inline: auto;
    max-width: 1100px;
    padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.account-heading {
    margin-bottom: 2rem;
    max-width: 650px;
}

.account-heading h1 {
    font-size: clamp(2.35rem, 5vw, 3.6rem);
}

.account-heading p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.account-grid {
    align-items: stretch;
    display: grid;
    gap: clamp(1.25rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1.2fr) minmax(17rem, .8fr);
}

.account-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.account-card h2 {
    font-size: 1.55rem;
    margin-bottom: 1.5rem;
}

.account-field {
    margin-bottom: 1.1rem;
}

.account-field .form-control {
    font-size: 1rem;
    min-height: 3.25rem;
}

.account-checkbox {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: .9rem;
    gap: .65rem;
    margin: .25rem 0 1.25rem;
}

.account-checkbox input {
    accent-color: var(--brand);
    height: 1.1rem;
    width: 1.1rem;
}

.account-submit {
    width: 100%;
}

.account-card-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .88rem;
    margin: 1.5rem 0 0;
    padding-top: 1.15rem;
    text-align: center;
}

.account-card-footer a {
    font-weight: 800;
}

.manage-page {
    min-height: 46rem;
}

.manage-grid {
    align-items: start;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(14rem, .65fr) minmax(0, 2fr);
}

.manage-navigation {
    background: linear-gradient(165deg, #17245c 0%, #101942 100%);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 1rem;
    box-shadow: 0 1.2rem 2.8rem rgba(20, 32, 82, .18);
    color: #fff;
    overflow: hidden;
    padding: .8rem;
}

.manage-nav-heading {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    display: grid;
    gap: .75rem;
    grid-template-columns: auto minmax(0, 1fr);
    margin: 0 .2rem .85rem;
    padding: .35rem .35rem 1rem;
}

.manage-nav-mark {
    align-items: center;
    background: rgba(255, 255, 255, .11);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .65rem;
    display: flex;
    height: 2.65rem;
    justify-content: center;
    width: 2.65rem;
}

.manage-nav-mark svg,
.manage-nav-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.manage-nav-mark svg { height: 1.35rem; width: 1.35rem; }
.manage-nav-heading > span:last-child { display: grid; gap: .1rem; min-width: 0; }
.manage-nav-heading strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; }
.manage-nav-heading small { color: rgba(255, 255, 255, .6); font-size: .72rem; }

.manage-nav-groups { display: grid; gap: .8rem; }
.manage-nav-groups section { min-width: 0; }
.manage-nav-groups h2 {
    color: rgba(255, 255, 255, .48);
    font-family: inherit;
    font-size: .63rem;
    font-weight: 850;
    letter-spacing: .11em;
    margin: 0;
    padding: .15rem .7rem .35rem;
    text-transform: uppercase;
}

.manage-navigation ul {
    display: grid;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.manage-navigation .manage-nav-link {
    align-items: center;
    border: 1px solid transparent;
    border-radius: .65rem;
    color: rgba(255, 255, 255, .8);
    display: grid;
    gap: .65rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 3.7rem;
    padding: .55rem .6rem;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.manage-navigation .manage-nav-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transform: translateX(2px);
}

.manage-navigation .manage-nav-link.active {
    background: #fff;
    border-color: rgba(255, 255, 255, .75);
    box-shadow: 0 .45rem 1.1rem rgba(0, 0, 0, .14);
    color: var(--brand-dark);
}

.manage-nav-icon {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border-radius: .5rem;
    display: flex;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.manage-nav-icon svg { height: 1.15rem; width: 1.15rem; }
.manage-nav-link.active .manage-nav-icon { background: var(--brand-soft); color: var(--brand); }
.manage-nav-copy { display: grid; gap: .08rem; min-width: 0; }
.manage-nav-copy strong { color: inherit; font-size: .82rem; line-height: 1.2; }
.manage-nav-copy small { color: rgba(255, 255, 255, .52); font-size: .66rem; line-height: 1.3; }
.manage-nav-link.active .manage-nav-copy small { color: var(--muted); }
.manage-nav-arrow { color: rgba(255, 255, 255, .42); font-size: 1.2rem; line-height: 1; }
.manage-nav-link.active .manage-nav-arrow { color: var(--brand); }

@media (prefers-reduced-motion: reduce) {
    .manage-navigation .manage-nav-link { transition: none; }
}

.manage-content {
    min-width: 0;
}

.manage-content-heading {
    margin-bottom: 1.5rem;
}

.manage-content-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    margin: .35rem 0 .65rem;
}

.manage-content-heading p {
    color: var(--muted);
    margin: 0;
}

.security-status {
    align-items: center;
    background: #fff8e9;
    border: 1px solid #ead6a8;
    border-radius: .85rem;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: 1.4rem;
}

.security-status-enabled {
    background: #edf7f0;
    border-color: #b9dcc4;
}

.security-status-badge {
    color: #7b560e;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.security-status-enabled .security-status-badge {
    color: #237a43;
}

.security-status h3 {
    font-size: 1.35rem;
    margin: .35rem 0;
}

.security-status p {
    color: var(--muted);
    margin: 0;
}

.security-action-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.25rem;
}

.security-action-grid section {
    border: 1px solid var(--line);
    border-radius: .8rem;
    padding: 1.25rem;
}

.security-action-grid h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.security-action-grid p {
    color: var(--muted);
    font-size: .9rem;
}

.security-secondary-actions {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.text-link-danger {
    color: #8c1d24;
    font-size: .86rem;
    font-weight: 750;
}

.authenticator-setup {
    display: grid;
    gap: 0;
}

.authenticator-step {
    border-top: 1px solid var(--line);
    display: grid;
    gap: 1rem;
    grid-template-columns: 2.4rem 1fr;
    padding: 1.4rem 0;
}

.step-number {
    align-items: center;
    background: var(--brand-soft);
    border-radius: 50%;
    color: var(--brand);
    display: flex;
    font-size: .8rem;
    font-weight: 850;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.authenticator-step h3 {
    font-size: 1.25rem;
    margin: .35rem 0 .5rem;
}

.authenticator-step p {
    color: var(--muted);
    margin: 0;
}

.authenticator-scan-content {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
}

.authenticator-qr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .75rem;
    padding: .65rem;
}

.authenticator-qr img {
    display: block;
    height: auto;
    max-width: 220px;
    width: 100%;
}

.recovery-notice {
    margin: 1.5rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid #dec77a;
    border-radius: .8rem;
    background: #fff9e8;
    color: #3f361c;
}

.recovery-notice p {
    margin: .35rem 0 0;
}

.recovery-code-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    max-width: 34rem;
}

.recovery-code-grid .recovery-code {
    display: block;
    padding: .75rem 1rem;
    border: 1px solid var(--line);
    border-radius: .55rem;
    background: #f7f7fb;
    color: var(--navy);
    font-size: 1rem;
    letter-spacing: .08em;
    text-align: center;
}

.recovery-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.5rem;
}

.manual-key {
    margin-top: 1rem;
}

.manual-key summary {
    color: var(--brand);
    cursor: pointer;
    font-size: .86rem;
    font-weight: 800;
}

.manual-key p {
    font-size: .8rem;
    margin-top: .75rem;
}

.manual-key kbd {
    background: #f1f3fb;
    border: 1px solid #d7dbea;
    border-radius: .4rem;
    color: #172052;
    display: block;
    font-family: Consolas, monospace;
    margin: .45rem 0;
    overflow-wrap: anywhere;
    padding: .65rem;
}

.manual-key small {
    color: var(--muted);
}

.authenticator-verification form {
    margin-top: 1rem;
    max-width: 26rem;
}

.verification-code {
    font-family: Consolas, monospace;
    font-size: 1.2rem !important;
    letter-spacing: .18em;
}

.account-divider {
    align-items: center;
    color: var(--muted);
    display: flex;
    font-size: .78rem;
    gap: .75rem;
    margin: 1rem 0;
    text-transform: uppercase;
}

.passkey-help {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
    margin: -.35rem 0 1rem;
    text-align: center;
}

.passkey-list {
    border: 1px solid var(--line);
    border-radius: .75rem;
    margin: 1rem 0 1.5rem;
}

.passkey-item {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem;
}

.passkey-item > div:first-child {
    display: grid;
    gap: .2rem;
}

.passkey-item small {
    color: var(--muted);
}

.passkey-actions {
    align-items: center;
    display: flex;
    gap: .55rem;
}

.account-divider::before,
.account-divider::after {
    background: var(--line);
    content: "";
    flex: 1;
    height: 1px;
}

.account-links {
    display: flex;
    flex-wrap: wrap;
    font-size: .88rem;
    gap: .65rem 1.1rem;
    margin-top: 1.5rem;
}

.account-aside {
    background: var(--brand-dark);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, .78);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.account-aside .eyebrow {
    color: var(--warm-light);
}

.account-aside h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.account-aside ul {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.account-aside li {
    border-top: 1px solid rgba(255, 255, 255, .16);
    display: grid;
    gap: .3rem;
    padding: 1.15rem 0;
}

.account-aside li strong {
    color: #fff;
}

.account-aside li span {
    font-size: .9rem;
    line-height: 1.55;
}

.account-status-page {
    min-height: 38rem;
}

.account-centered {
    max-width: 760px;
}

.account-recovery-grid {
    align-items: start;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, .95fr);
}

.account-status-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .85fr);
}

.account-status-card {
    align-content: start;
    display: grid;
    gap: 1.35rem;
}

.account-status-icon {
    align-items: center;
    background: var(--brand-soft);
    border-radius: 50%;
    color: var(--brand);
    display: flex;
    height: 3.75rem;
    justify-content: center;
    width: 3.75rem;
}

.account-status-icon svg {
    fill: none;
    height: 1.8rem;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    width: 1.8rem;
}

.account-status-icon-success {
    background: #edf7f0;
    color: #237a43;
}

.account-status-label {
    color: var(--brand);
    display: block;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: .55rem;
    text-transform: uppercase;
}

.account-status-card h2 {
    margin-bottom: .65rem;
}

.account-status-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.account-status-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.account-help {
    border-top: 1px solid var(--line);
    font-size: .88rem;
    padding-top: 1.15rem;
}

.account-help a {
    font-weight: 800;
}

.account-status-aside ol {
    display: grid;
    gap: 0;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.account-status-aside li {
    align-items: start;
    border-top: 1px solid rgba(255, 255, 255, .16);
    display: grid;
    gap: .9rem;
    grid-template-columns: 2rem 1fr;
    padding: 1.15rem 0;
}

.account-status-aside li > span {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    color: #fff;
    display: flex;
    font-size: .78rem;
    font-weight: 800;
    height: 2rem;
    justify-content: center;
    width: 2rem;
}

.account-status-aside li strong {
    color: #fff;
    display: block;
    margin-bottom: .25rem;
}

.account-status-aside li p {
    font-size: .88rem;
    line-height: 1.5;
    margin: 0;
}

.error-page {
    align-items: center;
    background:
        radial-gradient(circle at 80% 18%, rgba(40, 56, 145, .1), transparent 28rem),
        linear-gradient(145deg, var(--brand-soft), #fff 62%);
    display: flex;
    min-height: 36rem;
    padding-block: clamp(4rem, 9vw, 7rem);
}

.error-page-inner {
    max-width: 760px;
}

.error-code {
    color: rgba(40, 56, 145, .13);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(5rem, 14vw, 9rem);
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: .75;
    margin-bottom: 1.4rem;
}

.error-page h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.error-page p {
    color: var(--muted);
    font-size: 1.08rem;
    max-width: 650px;
}

.error-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

.validation-summary ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.alert {
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    padding: .85rem 1rem;
}

.alert-danger {
    background: #fff0f0;
    border: 1px solid #e9b7b7;
    color: #8c1d24;
}

.alert-success {
    background: #eef8f1;
    border: 1px solid #b8ddc2;
    color: #246339;
}

.btn {
    align-items: center;
    border: 0;
    border-radius: .45rem;
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 3rem;
    padding: .75rem 1.2rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
}

.btn-secondary {
    background: #e8eaf2;
    color: var(--brand-dark);
}

.btn-danger {
    background: #a72127;
    color: #fff;
}

.w-100 {
    width: 100%;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-2 {
    margin-top: .5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.text-danger,
.validation-message {
    color: #a72127;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #267b45;
}

.invalid {
    outline: 1px solid #a72127;
}

.blazor-error-boundary {
    background: #a72127;
    color: white;
    padding: 1rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

@media (max-width: 900px) {
    .product-grid,
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }

    .carrier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-grid {
        grid-template-columns: 1fr;
    }

    .claim-form-grid {
        grid-template-columns: 1fr;
    }

    .resource-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: .5rem;
    }
}

@media (max-width: 620px) {
    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding-block: 5rem;
    }

    .product-grid,
    .content-grid,
    .portal-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .carrier-grid {
        grid-template-columns: 1fr;
    }

    .account-page {
        padding-block: 2.25rem;
    }

    .manage-grid,
    .security-action-grid,
    .authenticator-scan-content {
        grid-template-columns: 1fr;
    }

    .manage-navigation {
        padding: .7rem;
    }

    .manage-nav-groups { display: block; }

    .manage-navigation .manage-nav-link:hover {
        transform: none;
    }

    .security-status,
    .security-secondary-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .security-status .button,
    .security-secondary-actions form,
    .security-secondary-actions button {
        width: 100%;
    }

    .authenticator-qr {
        justify-self: start;
    }

    .account-card,
    .account-aside {
        border-radius: .8rem;
        padding: 1.25rem;
    }

    .account-status-actions {
        display: grid;
    }

    .error-page-actions {
        display: grid;
    }

    .producer-resource,
    .agent-resource-callout,
    .portal-admin-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .producer-resource .button,
    .agent-resource-callout .button,
    .portal-admin-callout .button {
        width: 100%;
    }

    .resource-category-grid,
    .resource-panel-wide .compact-resource-list {
        grid-template-columns: 1fr;
    }

    .resource-panel-wide {
        grid-column: auto;
    }

    .resource-panel-wide .compact-resource-list li:nth-last-child(2) {
        border-bottom: 1px solid var(--line);
    }

    .form-field-full {
        grid-column: auto;
    }

    .hero-actions .button,
    .cta-actions,
    .cta-actions .button {
        width: 100%;
    }
}

.electronic-policy-notice {
    align-items: baseline;
    background: #f5f6fc;
    border-left: 4px solid var(--brand);
    color: var(--muted);
    display: grid;
    gap: .35rem 1.25rem;
    grid-template-columns: max-content 1fr;
    margin: 1.25rem 0;
    padding: 1rem 1.2rem;
}

.electronic-policy-notice strong { color: var(--ink); }
.electronic-policy-notice p { margin: 0; }
.electronic-policy-agency-code { margin: .35rem 0 0; }

.electronic-policy-table-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
}

.electronic-policy-table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.electronic-policy-table th:nth-child(1) { width: 18%; }
.electronic-policy-table th:nth-child(2) { width: 22%; }
.electronic-policy-table th:nth-child(3) { width: 17%; }
.electronic-policy-table th:nth-child(4) { width: 16%; }
.electronic-policy-table th:nth-child(5) { width: 27%; }

.electronic-policy-table th,
.electronic-policy-table td {
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
    padding: 1rem .8rem;
    text-align: left;
    vertical-align: top;
}

.electronic-policy-table thead th {
    background: var(--brand-dark);
    color: #fff;
    font-size: .75rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.electronic-policy-table tbody tr:last-child td { border-bottom: 0; }
.electronic-policy-table td > strong,
.electronic-policy-table td > span { display: block; }
.electronic-policy-table td > strong + span,
.electronic-policy-table td > span + strong { margin-top: .28rem; }
.electronic-policy-table td span { color: var(--muted); }

.electronic-policy-actions {
    display: grid;
    gap: .55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.electronic-policy-actions > a {
    background: #fff;
    border: 1px solid #cbd1e6;
    border-radius: .55rem;
    color: var(--brand);
    display: flex;
    flex-direction: column;
    font-weight: 700;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.75rem;
    padding: .55rem .7rem;
    text-decoration: none;
}

.electronic-policy-actions > a:hover {
    background: #f5f3ff;
    border-color: var(--brand);
}

.electronic-policy-actions > .privacy-notice-link {
    border-style: dashed;
    grid-column: 1 / -1;
    min-height: auto;
}

.downloaded-badge {
    color: #397057 !important;
    font-size: .68rem;
    font-weight: 700;
    margin-top: .25rem;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    .electronic-policy-notice { grid-template-columns: 1fr; }
    .electronic-policy-table-shell {
        background: transparent;
        border: 0;
        overflow: visible;
    }
    .electronic-policy-table,
    .electronic-policy-table tbody { display: block; }
    .electronic-policy-table thead { display: none; }
    .electronic-policy-table tbody {
        display: grid;
        gap: .8rem;
    }
    .electronic-policy-table tbody tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: .85rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
    }
    .electronic-policy-table tbody td {
        border-bottom: 1px solid var(--line);
        display: block;
        min-width: 0;
        padding: .75rem;
        width: auto;
    }
    .electronic-policy-table tbody td:nth-child(2),
    .electronic-policy-table tbody td:last-child { grid-column: 1 / -1; }
    .electronic-policy-table tbody td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: .66rem;
        font-weight: 800;
        letter-spacing: .05em;
        margin-bottom: .32rem;
        text-transform: uppercase;
    }
}

@media (max-width: 460px) {
    .electronic-policy-table tbody tr { grid-template-columns: 1fr; }
    .electronic-policy-table tbody td,
    .electronic-policy-table tbody td:nth-child(2),
    .electronic-policy-table tbody td:last-child { grid-column: 1; }
    .electronic-policy-actions { grid-template-columns: 1fr; }
    .electronic-policy-actions > .privacy-notice-link { grid-column: 1; }
}

.production-heading {
    margin-bottom: 1rem;
}

.production-controls {
    align-items: end;
    background: #f7f8fc;
    border: 1px solid var(--line);
    border-radius: .9rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(14rem, 1.6fr) repeat(2, minmax(10rem, .8fr)) max-content;
    margin-bottom: 1.25rem;
    padding: 1rem;
}

.production-controls label {
    display: grid;
    gap: .4rem;
    min-width: 0;
}

.production-controls label > span {
    color: var(--brand-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.production-controls select,
.production-controls input {
    background: #fff;
    border: 1px solid #cbd1e6;
    border-radius: .62rem;
    color: var(--ink);
    font: inherit;
    min-height: 3rem;
    min-width: 0;
    padding: .65rem .75rem;
    width: 100%;
}

.production-controls select:focus,
.production-controls input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(40, 56, 145, .12);
    outline: 0;
}

.production-loading {
    margin-top: 1rem;
}

.production-agency-summary {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    margin: 1rem 0;
}

.production-agency-summary article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .8rem;
    display: grid;
    gap: .18rem;
    min-width: 0;
    padding: .9rem 1rem;
}

.production-agency-summary article > span,
.production-agency-summary article > small {
    color: var(--muted);
}

.production-agency-summary article > span {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.production-agency-summary h3 {
    font-size: 1rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.production-agency-summary strong {
    color: var(--brand-dark);
    font-size: 1.12rem;
}

.production-table-shell {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: .9rem;
    margin-top: 1rem;
    overflow: hidden;
}

.production-table {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.production-table th:nth-child(1) { width: 36%; }
.production-table th:nth-child(2) { width: 28%; }
.production-table th:nth-child(3) { width: 16%; }
.production-table th:nth-child(4) { width: 20%; }

.production-table th,
.production-table td {
    border-bottom: 1px solid var(--line);
    overflow-wrap: anywhere;
    padding: .9rem 1rem;
    text-align: left;
    vertical-align: top;
}

.production-table thead th {
    background: var(--brand-dark);
    color: #fff;
    font-size: .72rem;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.production-table td > strong,
.production-table td > span {
    display: block;
}

.production-table td > span {
    color: var(--muted);
    font-size: .86rem;
    margin-top: .2rem;
}

.production-table .number,
.production-table .money {
    text-align: right;
    white-space: nowrap;
}

.production-table tfoot th {
    background: #eef1f9;
    border-bottom: 0;
    color: var(--brand-dark);
    font-weight: 800;
}

@media (max-width: 900px) {
    .production-controls {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .production-controls > button {
        justify-self: start;
    }
}

@media (max-width: 620px) {
    .production-controls {
        grid-template-columns: 1fr;
    }

    .production-controls > button {
        width: 100%;
    }

    .production-table-shell {
        background: transparent;
        border: 0;
        overflow: visible;
    }

    .production-table,
    .production-table tbody {
        display: block;
    }

    .production-table thead,
    .production-table tfoot {
        display: none;
    }

    .production-table tbody {
        display: grid;
        gap: .8rem;
    }

    .production-table tbody tr {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: .85rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: hidden;
    }

    .production-table tbody td {
        border-bottom: 1px solid var(--line);
        display: block;
        min-width: 0;
        padding: .75rem;
        width: auto;
    }

    .production-table tbody td:first-child,
    .production-table tbody td:nth-child(2) {
        grid-column: 1 / -1;
    }

    .production-table tbody td::before {
        color: var(--muted);
        content: attr(data-label);
        display: block;
        font-size: .66rem;
        font-weight: 800;
        letter-spacing: .05em;
        margin-bottom: .32rem;
        text-transform: uppercase;
    }

    .production-table .number,
    .production-table .money {
        text-align: left;
    }
}

@media print {
    .production-report-section {
        padding: 0 !important;
    }

    .production-heading {
        margin: 0 0 .12in !important;
    }

    .production-heading h2 {
        font-size: 16pt !important;
        margin: 0 0 .03in !important;
    }

    .production-heading p {
        font-size: 9pt !important;
        margin: 0 !important;
    }

    .production-controls,
    .production-loading,
    .production-heading .statement-toolbar-actions {
        display: none !important;
    }

    .production-summary {
        display: grid !important;
        gap: .08in !important;
        grid-template-columns: repeat(3, 1fr) !important;
        margin: 0 0 .12in !important;
    }

    .production-summary > div {
        border: .5pt solid #aeb5ca !important;
        min-height: 0 !important;
        padding: .07in .09in !important;
    }

    .production-summary span {
        font-size: 6.5pt !important;
    }

    .production-summary strong {
        font-size: 11pt !important;
    }

    .production-agency-summary {
        display: grid !important;
        gap: .06in !important;
        grid-template-columns: repeat(3, 1fr) !important;
        margin: 0 0 .1in !important;
    }

    .production-agency-summary article {
        border: .5pt solid #bbc0d0 !important;
        break-inside: avoid;
        gap: 0 !important;
        padding: .05in .07in !important;
    }

    .production-agency-summary h3 {
        font-size: 8pt !important;
    }

    .production-agency-summary article > span,
    .production-agency-summary article > small {
        font-size: 6.5pt !important;
    }

    .production-agency-summary strong {
        font-size: 8pt !important;
    }

    .production-table-shell {
        border: .5pt solid #aeb5ca !important;
        border-radius: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    .production-table {
        border-collapse: collapse !important;
        display: table !important;
        font-size: 8pt !important;
        table-layout: fixed !important;
        width: 100% !important;
    }

    .production-table thead { display: table-header-group !important; }
    .production-table tbody { display: table-row-group !important; }
    .production-table tfoot { display: table-footer-group !important; }
    .production-table tr { display: table-row !important; break-inside: avoid; }

    .production-table th,
    .production-table td,
    .production-table tbody td {
        border-bottom: .5pt solid #c8ccda !important;
        display: table-cell !important;
        padding: .045in .06in !important;
        width: auto !important;
    }

    .production-table td::before {
        display: none !important;
    }

    .production-table thead th {
        background: #18265f !important;
        color: #fff !important;
        font-size: 7pt !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .production-table .number,
    .production-table .money {
        text-align: right !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
.agent-notice-region {
    padding: .75rem 0;
    background: #f6f7fb;
    border-bottom: 1px solid #dce1ef;
}

.agent-notice-region .site-container {
    display: grid;
    gap: .65rem;
}

.agent-notice {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: .8rem;
    align-items: start;
    padding: .9rem 1.1rem;
    border: 1px solid #e5c37a;
    border-left: 5px solid #c98a2e;
    border-radius: .7rem;
    background: #fff8e8;
    color: #53370c;
}

.agent-notice-important { background: #fff1ee; border-color: #e8aaa0; border-left-color: #ad3e32; color: #6e2119; }
.agent-notice-information { background: #eef3ff; border-color: #b8c6ee; border-left-color: #283891; color: #18245d; }
.agent-notice-icon {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #c98a2e;
    color: white;
    font-weight: 800;
}
.agent-notice-important .agent-notice-icon { background: #ad3e32; }
.agent-notice-information .agent-notice-icon { background: #283891; }
.agent-notice strong { display: block; font: 700 1.05rem/1.25 Georgia, "Times New Roman", serif; }
.agent-notice p { margin: .2rem 0 0; line-height: 1.45; }

.notice-admin-preview { margin: 1.25rem 0; }

.logo-library { margin-top: 3rem; }
.logo-library-workspace {
    display: grid;
    grid-template-columns: minmax(16rem, .75fr) minmax(0, 1.6fr);
    gap: 1.25rem;
    align-items: start;
}
.logo-upload-card { display: grid; gap: 1rem; position: sticky; top: 1rem; }
.logo-library-list { display: grid; gap: .8rem; }
.logo-library-item {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}
.logo-library-item h3, .logo-library-item p { margin: 0; }
.logo-library-item p { overflow-wrap: anywhere; color: #5f667c; }
.logo-library-preview {
    display: grid;
    place-items: center;
    min-height: 4.5rem;
    padding: .6rem;
    border-radius: .6rem;
    background: #f5f6fa;
}
.logo-library-preview img { display: block; max-width: 100%; max-height: 4.5rem; object-fit: contain; }
.logo-uploaded img { max-width: 100%; max-height: 6.5rem; object-fit: contain; }

@media (max-width: 760px) {
    .logo-library-workspace { grid-template-columns: 1fr; }
    .logo-upload-card { position: static; }
    .logo-library-item { grid-template-columns: 5rem minmax(0, 1fr); }
    .logo-library-item .button { grid-column: 1 / -1; }
}
.turnstile-shell {
    min-height: 4.2rem;
    margin: .25rem 0 .75rem;
}

.form-trap {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
