.einv-scoreboard-embed,
.einv-scoreboard-embed .elementor-shortcode {
    width: 100%;
}

.einv-sb-member-wrap,
.einv-sb-app,
.einv-sb-sections,
.einv-sb-section-card,
.einv-sb-table-scroll {
    min-width: 0;
    max-width: 100%;
}

.einv-sb-gate,
.einv-sb-member-wrap,
.einv-sb-admin-template {
    --sb-outer-background: #fffdfc;
    --sb-panel-background: #fffdfc;
    --sb-elevated-background: #ffffff;
    --sb-alternate-background: #f8f3f1;
    --sb-question-background: #fcf9f7;
    --sb-choice-background: #fcfaf9;
    --sb-mobile-canvas-background: #f5efed;
    --sb-swipe-hint-background: #fffaf8;
    --sb-border: #d8ccce;
    --sb-input-border: #cfc2c4;
    --sb-provider-input-border: #bfaeb1;
    --sb-choice-border: #e2d9da;
    --sb-accent-border: #b99098;
    --sb-notice-border: #c9bdbe;
    --sb-scrollbar-thumb: #b8989e;
    --sb-scrollbar-track: #f0e8e6;
    --sb-heading-text: #211a1c;
    --sb-body-text: #211a1c;
    --sb-muted-text: #6d5b5f;
    --sb-label-text: #6d5b5f;
    --sb-subtle-text: #927d81;
    --sb-accent: #8a0b1f;
    --sb-eyebrow-text: #c9828e;
    --sb-score-text: #6e1726;
    --sb-link-text: #6e1726;
    --sb-link-hover-text: #6e1726;
    --sb-focus-color: #8a0b1f;
    --sb-icon-text: #8b777b;
    --sb-intro-start: #211719;
    --sb-intro-end: #481520;
    --sb-dark-heading-text: #fff8f6;
    --sb-dark-body-text: #c9b6ba;
    --sb-dark-list-text: #f5e9e7;
    --sb-dark-link-text: #d7c4c7;
    --sb-decorative-border: #e8c4ca;
    --sb-bullet-border: #d79aa5;
    --sb-table-header-background: #211a1c;
    --sb-table-header-sticky-background: #171315;
    --sb-table-header-text: #ffffff;
    --sb-table-header-meta-text: #cda8ae;
    --sb-footer-background: #211a1c;
    --sb-footer-text: #c9b6ba;
    --sb-input-background: #ffffff;
    --sb-input-text: #211a1c;
    --sb-primary-button-background: #7a2031;
    --sb-primary-button-border: #a45361;
    --sb-primary-button-text: #ffffff;
    --sb-primary-button-hover-background: #ffffff;
    --sb-primary-button-hover-border: #ffffff;
    --sb-primary-button-hover-text: #6e1726;
    --sb-outline-button-border: #89666d;
    --sb-outline-button-text: #f7ebe9;
    --sb-outline-button-hover-background: #ffffff;
    --sb-outline-button-hover-border: #ffffff;
    --sb-outline-button-hover-text: #6e1726;
    --sb-auth-button-background: #6e1726;
    --sb-auth-button-border: #6e1726;
    --sb-auth-button-text: #ffffff;
    --sb-auth-button-hover-background: #211a1c;
    --sb-auth-button-hover-border: #211a1c;
    --sb-progress-track: #e8dfe0;
    --sb-progress-start: #6e1726;
    --sb-progress-end: #c9828e;
    --sb-status-neutral-background: #f6f1ef;
    --sb-status-neutral-text: #6d5b5f;
    --sb-status-dirty-background: #fff8ee;
    --sb-status-dirty-text: #7b4d11;
    --sb-success-background: #f1faf5;
    --sb-success-text: #195f41;
    --sb-success-border: #8db8a3;
    --sb-notice-error-background: #fff5f6;
    --sb-notice-error-text: #701627;
    --sb-error-border: #be6e7c;
    --sb-status-error-background: #fff3f4;
    --sb-status-error-text: #7d192a;
    --sb-mobile-savebar-background: #211719;
    --sb-mobile-savebar-border: #5f3038;
    --sb-mobile-savebar-text: #ffffff;
    --sb-mobile-status-text: #d8c8cb;
    --sb-mobile-dirty-text: #f1c37b;
    --sb-mobile-saved-text: #9bd3b8;
    --sb-mobile-error-text: #f2a3af;
    --sb-shadow-tint: #411820;
    --sb-mobile-shadow-tint: #16080c;
    --sb-print-background: #ffffff;
    --sb-print-text: #000000;
    --sb-band-low-background: #fff3f4;
    --sb-band-low-text: #7d192a;
    --sb-band-low-border: #be6e7c;
    --sb-band-middle-background: #fff8ee;
    --sb-band-middle-text: #7b4d11;
    --sb-band-middle-border: #d8b16b;
    --sb-band-high-background: #f1faf5;
    --sb-band-high-text: #195f41;
    --sb-band-high-border: #8db8a3;
    --sb-focus-soft: rgba(138, 11, 31, .08);
    --sb-focus-faint: rgba(138, 11, 31, .07);
    --sb-focus-strong: rgba(138, 11, 31, .24);
    --sb-decorative-border-alpha: rgba(232, 196, 202, .16);
    --sb-shadow-strong: rgba(65, 24, 32, .07);
    --sb-shadow-soft: rgba(65, 24, 32, .035);
    --sb-mobile-savebar-background-alpha: rgba(33, 23, 25, .97);
    --sb-mobile-shadow: rgba(22, 8, 12, .28);
    /* Backward-compatible aliases used by older embedded markup/CSS add-ons. */
    --sb-ink: var(--sb-body-text);
    --sb-oxblood: var(--sb-score-text);
    --sb-red: var(--sb-accent);
    --sb-paper: var(--sb-panel-background);
    --sb-porcelain: var(--sb-alternate-background);
    --sb-blush: var(--sb-accent-border);
    --sb-line: var(--sb-border);
    --sb-muted: var(--sb-muted-text);
    --sb-soft-red: var(--sb-progress-end);
    color: var(--sb-body-text);
    font-family: Inter, Arial, sans-serif;
}

.einv-sb-sr-only {
    position: absolute !important;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.einv-sb-eyebrow {
    display: block;
    color: var(--sb-eyebrow-text);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .17em;
}

.einv-sb-notice {
    grid-column: 1 / -1;
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid var(--sb-notice-border);
    background: var(--sb-elevated-background);
    color: var(--sb-body-text);
    font-size: 13px;
    line-height: 1.5;
}

.einv-sb-notice--error {
    border-color: var(--sb-error-border);
    background: var(--sb-notice-error-background);
    color: var(--sb-notice-error-text);
}

.einv-sb-notice--success {
    border-color: var(--sb-success-border);
    background: var(--sb-success-background);
    color: var(--sb-success-text);
}

.einv-sb-gate {
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    border: 1px solid var(--sb-border);
    background: var(--sb-outer-background);
    box-shadow: 0 24px 60px var(--sb-shadow-strong);
}

.einv-sb-gate__intro {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 5vw, 70px);
    background: linear-gradient(145deg, var(--sb-intro-start), var(--sb-intro-end));
    color: var(--sb-dark-heading-text);
}

.einv-sb-gate__intro::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border: 1px solid var(--sb-decorative-border-alpha);
    transform: rotate(45deg);
}

.einv-sb-gate__intro h3 {
    max-width: 520px;
    margin: 20px 0 18px;
    color: var(--sb-dark-heading-text);
    font: 500 clamp(34px, 4vw, 58px) / .98 Georgia, serif;
    letter-spacing: -.045em;
}

.einv-sb-gate__intro p {
    max-width: 520px;
    margin: 0;
    color: var(--sb-dark-body-text);
    font-size: 15px;
    line-height: 1.75;
}

.einv-sb-gate__intro ul {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.einv-sb-gate__intro li {
    position: relative;
    padding-left: 25px;
    color: var(--sb-dark-list-text);
    font-size: 13px;
}

.einv-sb-gate__intro li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border: 1px solid var(--sb-bullet-border);
    transform: rotate(45deg);
}

.einv-sb-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.einv-sb-auth-card {
    position: relative;
    padding: clamp(32px, 4vw, 54px);
    background: var(--sb-panel-background);
}

.einv-sb-auth-card + .einv-sb-auth-card {
    border-left: 1px solid var(--sb-border);
}

.einv-sb-auth-card--dark {
    background: var(--sb-alternate-background);
}

.einv-sb-auth-card__num {
    color: var(--sb-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
}

.einv-sb-auth-card h4 {
    margin: 14px 0 26px;
    color: var(--sb-heading-text);
    font: 500 31px / 1 Georgia, serif;
    letter-spacing: -.03em;
}

.einv-sb-auth-card p {
    margin: 0 0 15px;
}

.einv-sb-auth-card label {
    display: block;
    color: var(--sb-body-text);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.3;
}

.einv-sb-auth-card input[type="text"],
.einv-sb-auth-card input[type="email"],
.einv-sb-auth-card input[type="password"] {
    display: block;
    width: 100%;
    min-height: 49px;
    margin-top: 7px;
    padding: 11px 13px;
    border: 1px solid var(--sb-input-border);
    border-radius: 0;
    background: var(--sb-input-background);
    color: var(--sb-input-text);
    font: 400 14px/1.4 Inter, Arial, sans-serif;
    box-shadow: none;
}

.einv-sb-auth-card input:focus {
    border-color: var(--sb-focus-color);
    outline: 3px solid var(--sb-focus-soft);
}

.einv-sb-auth-card button {
    width: 100%;
    min-height: 50px;
    margin-top: 5px;
    border: 1px solid var(--sb-auth-button-border);
    border-radius: 0;
    background: var(--sb-auth-button-background);
    color: var(--sb-auth-button-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    cursor: pointer;
}

.einv-sb-auth-card button:hover {
    border-color: var(--sb-auth-button-hover-border);
    background: var(--sb-auth-button-hover-background);
}

.einv-sb-auth-card small,
.einv-sb-reset-link {
    display: block;
    margin-top: 13px;
    color: var(--sb-muted-text);
    font-size: 11px;
    line-height: 1.5;
}

.einv-sb-reset-link {
    color: var(--sb-link-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.einv-sb-reset-link:hover,
.einv-sb-reset-link:focus {
    color: var(--sb-link-hover-text);
}

.einv-sb-remember label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.einv-sb-honeypot {
    position: absolute !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
}

.einv-sb-loading {
    padding: 34px;
    border: 1px solid var(--sb-border);
    background: var(--sb-panel-background);
    color: var(--sb-muted-text);
}

.einv-sb-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(28px, 4vw, 48px);
    background: linear-gradient(135deg, var(--sb-intro-start), var(--sb-intro-end));
    color: var(--sb-dark-heading-text);
}

.einv-sb-toolbar h3 {
    margin: 12px 0 8px;
    color: var(--sb-dark-heading-text);
    font: 500 clamp(30px, 4vw, 48px) / 1 Georgia, serif;
    letter-spacing: -.04em;
}

.einv-sb-toolbar p {
    margin: 0;
    color: var(--sb-dark-body-text);
    font-size: 13px;
}

.einv-sb-toolbar .einv-sb-framework-status {
    margin-top: 11px;
    color: var(--sb-dark-list-text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .025em;
}

.einv-sb-toolbar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.einv-sb-button {
    min-height: 43px;
    padding: 0 16px;
    border: 1px solid var(--sb-primary-button-border);
    border-radius: 0;
    background: var(--sb-primary-button-background);
    color: var(--sb-primary-button-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.einv-sb-button:hover {
    border-color: var(--sb-primary-button-hover-border);
    background: var(--sb-primary-button-hover-background);
    color: var(--sb-primary-button-hover-text);
    transform: translateY(-2px);
}

.einv-sb-button--outline {
    border-color: var(--sb-outline-button-border);
    background: transparent;
    color: var(--sb-outline-button-text);
}

.einv-sb-button--outline:hover {
    border-color: var(--sb-outline-button-hover-border);
    background: var(--sb-outline-button-hover-background);
    color: var(--sb-outline-button-hover-text);
}

.einv-sb-button:disabled {
    opacity: .55;
    cursor: wait;
    transform: none;
}

.einv-sb-logout {
    display: inline-flex;
    align-items: center;
    min-height: 43px;
    padding: 0 8px;
    color: var(--sb-dark-link-text);
    font-size: 10px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.einv-sb-status {
    padding: 11px 16px;
    border: 1px solid var(--sb-border);
    border-top: 0;
    background: var(--sb-status-neutral-background);
    color: var(--sb-status-neutral-text);
    font-size: 11px;
    text-align: right;
}

.einv-sb-status--dirty {
    background: var(--sb-status-dirty-background);
    color: var(--sb-status-dirty-text);
}

.einv-sb-status--saved {
    background: var(--sb-success-background);
    color: var(--sb-success-text);
}

.einv-sb-status--error {
    background: var(--sb-status-error-background);
    color: var(--sb-status-error-text);
}

.einv-sb-band {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .025em;
}

.einv-sb-band--low {
    border-color: var(--sb-band-low-border);
    background: var(--sb-band-low-background);
    color: var(--sb-band-low-text);
}

.einv-sb-band--middle {
    border-color: var(--sb-band-middle-border);
    background: var(--sb-band-middle-background);
    color: var(--sb-band-middle-text);
}

.einv-sb-band--high {
    border-color: var(--sb-band-high-border);
    background: var(--sb-band-high-background);
    color: var(--sb-band-high-text);
}

.einv-sb-summary-card > .einv-sb-band {
    margin-top: 13px;
}

.einv-sb-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    border-left: 1px solid var(--sb-line);
    background: var(--sb-paper);
}

.einv-sb-summary-card {
    min-width: 0;
    padding: 25px;
    border-right: 1px solid var(--sb-line);
    border-bottom: 1px solid var(--sb-line);
    background: var(--sb-paper);
}

.einv-sb-summary-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.einv-sb-summary-card__index {
    color: var(--sb-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.einv-sb-icon-button {
    width: 29px;
    height: 29px;
    padding: 0;
    border: 1px solid var(--sb-line);
    border-radius: 50%;
    background: transparent;
    color: var(--sb-icon-text);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.einv-sb-icon-button:hover {
    border-color: var(--sb-red);
    color: var(--sb-red);
}

.einv-sb-provider-label {
    display: block;
    margin-top: 15px;
}

.einv-sb-provider-label > span {
    display: block;
    color: var(--sb-label-text);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.einv-sb-provider-label input {
    width: 100%;
    margin-top: 6px;
    padding: 4px 0 7px;
    border: 0;
    border-bottom: 1px solid var(--sb-provider-input-border);
    border-radius: 0;
    background: transparent;
    color: var(--sb-input-text);
    font: 500 21px/1.15 Georgia, serif;
    letter-spacing: -.02em;
    box-shadow: none;
}

.einv-sb-provider-label input:focus {
    border-color: var(--sb-focus-color);
    outline: 0;
}

.einv-sb-button:focus-visible,
.einv-sb-logout:focus-visible,
.einv-sb-icon-button:focus-visible,
.einv-sb-section-nav a:focus-visible,
.einv-sb-choice:focus-within,
.einv-sb-provider-label input:focus-visible {
    outline: 3px solid var(--sb-focus-strong);
    outline-offset: 3px;
}

.einv-sb-score-line {
    display: flex;
    align-items: baseline;
    margin-top: 21px;
}

.einv-sb-score-line > strong {
    color: var(--sb-score-text);
    font: 500 44px/1 Georgia, serif;
    letter-spacing: -.04em;
}

.einv-sb-score-line > span {
    margin-left: 7px;
    color: var(--sb-muted);
    font-size: 11px;
}

.einv-sb-progress {
    overflow: hidden;
    height: 5px;
    margin-top: 15px;
    background: var(--sb-progress-track);
}

.einv-sb-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--sb-progress-start), var(--sb-progress-end));
    transition: width .35s ease;
}

.einv-sb-summary-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 11px;
    color: var(--sb-muted);
    font-size: 9px;
}

.einv-sb-summary-card__meta--answers-only {
    justify-content: flex-end;
}

.einv-sb-summary-card__meta b {
    color: var(--sb-ink);
}

.einv-sb-section-nav {
    display: flex;
    overflow-x: auto;
    border-right: 1px solid var(--sb-line);
    border-bottom: 1px solid var(--sb-line);
    border-left: 1px solid var(--sb-line);
    background: var(--sb-porcelain);
    scrollbar-width: thin;
}

.einv-sb-section-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
    padding: 13px 15px;
    border-right: 1px solid var(--sb-line);
    color: var(--sb-muted);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.einv-sb-section-nav a:hover {
    background: var(--sb-elevated-background);
    color: var(--sb-red);
}

.einv-sb-section-nav a span {
    color: var(--sb-red);
    font-weight: 900;
}

.einv-sb-sections {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.einv-sb-section-card {
    border: 1px solid var(--sb-line);
    background: var(--sb-paper);
    box-shadow: 0 14px 34px var(--sb-shadow-soft);
    scroll-margin-top: 110px;
}

.einv-sb-section-card__header {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 17px;
    align-items: center;
    padding: 22px 25px;
    border-bottom: 1px solid var(--sb-line);
    background: var(--sb-porcelain);
}

.einv-sb-section-card__header > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--sb-accent-border);
    color: var(--sb-red);
    font: 700 15px/1 Georgia, serif;
}

.einv-sb-section-card__header h3 {
    margin: 0;
    color: var(--sb-ink);
    font: 500 27px/1.05 Georgia, serif;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}

.einv-sb-section-card__header p {
    margin: 7px 0 0;
    color: var(--sb-muted);
    font-size: 12px;
}

.einv-sb-table-scroll {
    overflow-x: auto;
    scrollbar-color: var(--sb-scrollbar-thumb) var(--sb-scrollbar-track);
    scrollbar-width: thin;
}

.einv-sb-table {
    width: 100%;
    min-width: 920px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}

.einv-sb-table th,
.einv-sb-table td {
    border-right: 1px solid var(--sb-line);
    border-bottom: 1px solid var(--sb-line);
    vertical-align: top;
}

.einv-sb-table tr:last-child th,
.einv-sb-table tr:last-child td {
    border-bottom: 0;
}

.einv-sb-table th:last-child,
.einv-sb-table td:last-child {
    border-right: 0;
}

.einv-sb-table thead th {
    min-width: 230px;
    padding: 15px 18px;
    background: var(--sb-table-header-background);
    color: var(--sb-table-header-text);
    font-size: 11px;
    text-align: left;
}

.einv-sb-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    min-width: 330px;
    width: 330px;
    background: var(--sb-table-header-sticky-background);
}

.einv-sb-table-provider {
    display: block;
    overflow: hidden;
    color: var(--sb-table-header-text);
    font: 500 16px/1.15 Georgia, serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.einv-sb-table thead small {
    display: block;
    margin-top: 5px;
    color: var(--sb-table-header-meta-text);
    font-size: 9px;
    font-weight: 600;
}

.einv-sb-question {
    position: sticky;
    left: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 11px;
    min-width: 330px;
    width: 330px;
    padding: 20px;
    background: var(--sb-question-background);
    text-align: left;
}

.einv-sb-question__number {
    padding-top: 2px;
    color: var(--sb-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.einv-sb-question strong {
    display: block;
    color: var(--sb-ink);
    font: 600 14px/1.35 Inter, Arial, sans-serif;
    overflow-wrap: anywhere;
}

.einv-sb-question strong i {
    margin-left: 4px;
    color: var(--sb-red);
    font-style: normal;
}

.einv-sb-question p {
    margin: 7px 0 0;
    color: var(--sb-muted);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}

.einv-sb-question small {
    display: block;
    margin-top: 9px;
    color: var(--sb-subtle-text);
    font-size: 9px;
    font-weight: 600;
}

.einv-sb-answer-cell {
    position: relative;
    min-width: 230px;
    padding: 17px 17px 38px;
    background: var(--sb-elevated-background);
}

.einv-sb-answer-cell__meta {
    min-height: 0;
}

.einv-sb-answer-provider {
    display: none;
}

.einv-sb-mobile-swipe-hint,
.einv-sb-mobile-savebar {
    display: none;
}

.einv-sb-select {
    width: 100%;
    min-height: 43px;
    padding: 8px 35px 8px 11px;
    border: 1px solid var(--sb-input-border);
    border-radius: 0;
    background: var(--sb-input-background);
    color: var(--sb-input-text);
    font: 500 12px/1.35 Inter, Arial, sans-serif;
}

.einv-sb-select:focus {
    border-color: var(--sb-focus-color);
    outline: 3px solid var(--sb-focus-faint);
}

.einv-sb-multi {
    display: grid;
    gap: 7px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.einv-sb-choice {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    padding: 7px 8px;
    border: 1px solid var(--sb-choice-border);
    background: var(--sb-choice-background);
    color: var(--sb-ink);
    font-size: 11px;
    line-height: 1.35;
    cursor: pointer;
}

.einv-sb-choice:hover {
    border-color: var(--sb-accent-border);
    background: var(--sb-elevated-background);
}

.einv-sb-choice input {
    margin: 1px 0 0;
    accent-color: var(--sb-score-text);
}

.einv-sb-choice em {
    color: var(--sb-red);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
}

.einv-sb-cell-score {
    position: absolute;
    right: 17px;
    bottom: 14px;
    color: var(--sb-red);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .04em;
}

.einv-sb-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid var(--sb-line);
    background: var(--sb-footer-background);
    color: var(--sb-footer-text);
    font-size: 11px;
}

.einv-sb-footer-actions .einv-sb-button {
    min-width: 160px;
}

@media (max-width: 1050px) {
    .einv-sb-gate {
        grid-template-columns: 1fr;
    }

    .einv-sb-toolbar {
        display: grid;
        align-items: start;
    }

    .einv-sb-toolbar__actions {
        justify-content: flex-start;
    }
}

@media screen and (max-width: 900px) {
    .einv-sb-table-scroll {
        overflow: visible;
    }

    .einv-sb-table {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .einv-sb-table thead {
        display: none;
    }

    .einv-sb-table tbody {
        display: grid;
        box-sizing: border-box;
        gap: 14px;
        width: 100%;
        max-width: 100%;
        padding: 14px;
        background: var(--sb-mobile-canvas-background);
    }

    .einv-sb-table tr {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border: 1px solid var(--sb-line);
        background: var(--sb-elevated-background);
        box-shadow: 0 8px 22px var(--sb-shadow-soft);
    }

    .einv-sb-table th,
    .einv-sb-table td,
    .einv-sb-table thead th:first-child,
    .einv-sb-question,
    .einv-sb-answer-cell {
        display: block;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        border-right: 0;
    }

    .einv-sb-question {
        position: static;
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 18px;
        border-bottom: 1px solid var(--sb-line);
        background: var(--sb-question-background);
    }

    .einv-sb-answer-cell {
        padding: 15px 17px 17px;
        border-bottom: 1px solid var(--sb-line);
    }

    .einv-sb-table tr:last-child th,
    .einv-sb-table tr:last-child td {
        border-bottom: 1px solid var(--sb-line);
    }

    .einv-sb-table tr .einv-sb-answer-cell:last-child {
        border-bottom: 0;
    }

    .einv-sb-answer-cell__meta {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 10px;
    }

    .einv-sb-answer-provider {
        display: block;
        overflow: hidden;
        color: var(--sb-ink);
        font: 600 16px/1.2 Georgia, serif;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .einv-sb-member-wrap {
        padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    }

    .einv-sb-mobile-savebar {
        position: fixed;
        z-index: 999;
        right: calc(92px + env(safe-area-inset-right, 0px));
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        left: 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 60px;
        padding: 8px 8px 8px 12px;
        border: 1px solid var(--sb-mobile-savebar-border);
        background: var(--sb-mobile-savebar-background-alpha);
        color: var(--sb-mobile-savebar-text);
        box-shadow: 0 14px 38px var(--sb-mobile-shadow);
        backdrop-filter: blur(12px);
    }

    .einv-sb-mobile-savebar__status {
        overflow: hidden;
        color: var(--sb-mobile-status-text);
        font-size: 12px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .einv-sb-mobile-savebar__status--dirty {
        color: var(--sb-mobile-dirty-text);
    }

    .einv-sb-mobile-savebar__status--saved {
        color: var(--sb-mobile-saved-text);
    }

    .einv-sb-mobile-savebar__status--error {
        color: var(--sb-mobile-error-text);
    }

    .einv-sb-mobile-savebar .einv-sb-button {
        flex: 0 0 auto;
        min-width: 92px;
        min-height: 44px;
    }

    .einv-sb-cell-score {
        position: static;
        flex: 0 0 auto;
        color: var(--sb-red);
        font-size: 10px;
    }

    .einv-sb-select {
        min-height: 48px;
        font-size: 16px;
    }

    .einv-sb-choice {
        grid-template-columns: 18px minmax(0, 1fr) auto;
        min-height: 44px;
        align-items: center;
        padding: 9px 10px;
        font-size: 13px;
    }

    .einv-sb-choice input {
        width: 18px;
        height: 18px;
        margin: 0;
    }
}

@media (max-width: 720px) {
    .einv-sb-auth-grid {
        grid-template-columns: 1fr;
    }

    .einv-sb-auth-card + .einv-sb-auth-card {
        border-top: 1px solid var(--sb-line);
        border-left: 0;
    }

    .einv-sb-auth-card--dark {
        order: -1;
        border-top: 0 !important;
    }

    .einv-sb-auth-card:not(.einv-sb-auth-card--dark) {
        border-top: 1px solid var(--sb-line);
    }

    .einv-sb-toolbar,
    .einv-sb-gate__intro,
    .einv-sb-auth-card {
        padding: 28px 22px;
    }

    .einv-sb-toolbar__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .einv-sb-toolbar__actions .einv-sb-button,
    .einv-sb-toolbar__actions .einv-sb-logout {
        justify-content: center;
        width: 100%;
        min-height: 48px;
    }

    .einv-sb-toolbar .einv-sb-framework-status {
        line-height: 1.5;
    }

    .einv-sb-toolbar__actions [data-save] {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .einv-sb-toolbar__actions .einv-sb-logout {
        grid-column: 1 / -1;
    }

    .einv-sb-summary-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
    }

    .einv-sb-summary-card {
        flex: 0 0 calc(100% - 28px);
        scroll-snap-align: start;
    }

    .einv-sb-mobile-swipe-hint {
        display: block;
        margin: 0;
        padding: 10px 16px;
        border-right: 1px solid var(--sb-line);
        border-left: 1px solid var(--sb-line);
        background: var(--sb-swipe-hint-background);
        color: var(--sb-muted);
        font-size: 12px;
    }

    .einv-sb-section-nav {
        scroll-snap-type: x proximity;
        overscroll-behavior-x: contain;
    }

    .einv-sb-section-nav a {
        min-height: 48px;
        padding: 12px 15px;
        font-size: 11px;
        scroll-snap-align: start;
    }

    .einv-sb-auth-card input[type="text"],
    .einv-sb-auth-card input[type="email"],
    .einv-sb-auth-card input[type="password"],
    .einv-sb-provider-label input {
        min-height: 48px;
        font-size: 16px;
    }

    .einv-sb-icon-button {
        width: 44px;
        height: 44px;
    }

    .einv-sb-status {
        font-size: 12px;
        text-align: left;
    }

    .einv-sb-summary-card__meta {
        font-size: 11px;
    }

    .einv-sb-section-card__header {
        grid-template-columns: 42px 1fr;
        padding: 19px;
    }

    .einv-sb-section-card__header h3 {
        font-size: 23px;
    }

    .einv-sb-footer-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .einv-sb-footer-actions .einv-sb-button {
        width: 100%;
        min-height: 48px;
    }
}

@media print {
    .einv-sb-toolbar__actions,
    .einv-sb-status,
    .einv-sb-section-nav,
    .einv-sb-icon-button,
    .einv-sb-footer-actions {
        display: none !important;
    }

    .einv-scoreboard-section,
    .einv-sb-app {
        padding: 0 !important;
    }

    .einv-sb-toolbar {
        padding: 20px !important;
        background: var(--sb-print-background) !important;
        color: var(--sb-print-text) !important;
    }

    .einv-sb-toolbar h3 {
        color: var(--sb-print-text) !important;
    }

    .einv-sb-summary-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .einv-sb-section-card {
        break-inside: avoid;
        box-shadow: none;
    }

    .einv-sb-table-scroll {
        overflow: visible;
    }

    .einv-sb-table {
        min-width: 0;
        font-size: 8px;
    }

    .einv-sb-table thead th:first-child,
    .einv-sb-question {
        position: static;
        min-width: 180px;
        width: 180px;
    }

    .einv-sb-table thead th,
    .einv-sb-answer-cell {
        min-width: 120px;
    }
}
