:root {
    --bg-soft: #edf5fd;
    --bg-wash: #d6e7f9;
    --surface: rgba(255, 255, 255, 0.92);
    --surface-strong: #ffffff;
    --surface-muted: #f4f8fc;
    --ink: #19324d;
    --ink-soft: #5d7793;
    --ink-faint: #8ca4bb;
    --line: rgba(89, 128, 167, 0.16);
    --line-strong: rgba(59, 112, 171, 0.28);
    --shadow-soft: 0 24px 60px rgba(49, 84, 128, 0.10);
    --shadow-panel: 0 14px 32px rgba(43, 78, 117, 0.08);
    --navy: #0f2741;
    --navy-strong: #0b1e33;
    --navy-muted: rgba(215, 230, 246, 0.16);
    --teal: #16948d;
    --teal-strong: #0c7f79;
    --teal-soft: rgba(22, 148, 141, 0.14);
    --blue: #2f86d4;
    --blue-soft: rgba(47, 134, 212, 0.14);
    --amber-soft: rgba(207, 146, 47, 0.16);
    --danger-soft: rgba(204, 88, 88, 0.14);
    --radius-xl: 1.75rem;
    --radius-lg: 1.1rem;
    --radius-md: 0.9rem;
    --radius-sm: 0.7rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Poppins", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top right, rgba(102, 173, 234, 0.28), transparent 24%),
        radial-gradient(circle at bottom left, rgba(112, 185, 217, 0.18), transparent 20%),
        linear-gradient(180deg, #f2f8ff 0%, #e8f1fb 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

input,
select,
textarea,
button {
    font: inherit;
}

.app-body {
    min-height: 100vh;
}

.figma-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
}

.figma-login-card {
    width: min(100%, 23.5rem);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(127, 176, 220, 0.20);
    box-shadow: 0 30px 80px rgba(72, 111, 156, 0.15);
    border-radius: 1.3rem;
    padding: 1.8rem 1.55rem 1.35rem;
    position: relative;
}

.figma-login-card::before,
.figma-login-card::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

.figma-login-card::before {
    width: 18rem;
    height: 18rem;
    right: -4rem;
    top: -4rem;
    background: rgba(97, 172, 236, 0.32);
    filter: blur(12px);
}

.figma-login-card::after {
    width: 14rem;
    height: 14rem;
    left: -5rem;
    bottom: -5rem;
    background: rgba(105, 181, 232, 0.26);
    filter: blur(18px);
}

.figma-login-badge {
    width: 2.85rem;
    height: 2.85rem;
    margin: 0 auto 0.85rem;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #54a9eb 0%, #247fd2 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.figma-login-brand {
    text-align: center;
    margin: 0;
    color: var(--blue);
    font-size: 1.9rem;
    line-height: 1.05;
}

.figma-login-copy {
    margin: 0.55rem auto 1.15rem;
    max-width: 18rem;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.93rem;
    line-height: 1.6;
}

.figma-login-heading {
    margin: 0 0 1rem;
    text-align: center;
    font-size: 1.55rem;
    color: var(--blue);
}

.figma-login-form {
    display: grid;
    gap: 0.9rem;
}

.figma-login-field label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.input-field,
.figma-login-field input,
.figma-login-field select,
.figma-login-field textarea,
.checkbox-field {
    width: 100%;
    border: 1px solid rgba(132, 170, 209, 0.32);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    border-radius: 0.95rem;
    padding: 0.95rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

textarea.input-field {
    min-height: 7rem;
    resize: vertical;
}

.input-field:focus,
.figma-login-field input:focus,
.figma-login-field select:focus,
.figma-login-field textarea:focus {
    outline: none;
    border-color: rgba(47, 134, 212, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(47, 134, 212, 0.12);
}

.checkbox-field {
    width: auto;
    min-width: 1.2rem;
    min-height: 1.2rem;
    padding: 0;
    border-radius: 0.35rem;
    accent-color: var(--teal);
}

.figma-login-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: stretch;
}

.figma-login-submit,
.eh-btn-primary,
.eh-btn-accent,
.button-primary {
    border: none;
    color: #fff;
    background: linear-gradient(180deg, #43a2e8 0%, #2b7fce 100%);
    box-shadow: 0 12px 28px rgba(44, 129, 205, 0.24);
}

.eh-btn-accent {
    background: linear-gradient(180deg, #1aa79b 0%, #14847c 100%);
    box-shadow: 0 12px 28px rgba(20, 132, 124, 0.24);
}

.figma-login-submit,
.eh-btn,
.button,
.button-secondary,
.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.9rem;
    border-radius: 0.95rem;
    padding: 0.8rem 1.15rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.eh-btn,
.button-secondary,
.button {
    border: 1px solid rgba(118, 155, 194, 0.18);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(60, 96, 137, 0.08);
}

.figma-login-submit:hover,
.eh-btn:hover,
.eh-btn-primary:hover,
.eh-btn-accent:hover,
.button:hover,
.button-secondary:hover,
.button-primary:hover {
    transform: translateY(-1px);
}

.figma-login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.figma-inline-link,
.figma-login-link,
.back-link,
.eh-link {
    color: var(--blue);
    font-weight: 600;
}

.figma-login-footnote {
    margin: 0.15rem 0 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.figma-login-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.figma-login-divider::before,
.figma-login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(124, 159, 195, 0.28);
}

.error-banner {
    padding: 0.9rem 1rem;
    border-radius: 0.9rem;
    background: rgba(204, 88, 88, 0.10);
    border: 1px solid rgba(204, 88, 88, 0.14);
    color: #9b3838;
}

.eh-flash-stack {
    width: min(100% - 2rem, 72rem);
    margin: 1rem auto 0;
    display: grid;
    gap: 0.75rem;
}

.eh-flash {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(32, 141, 214, 0.16);
    background: rgba(32, 141, 214, 0.08);
    color: var(--navy);
    box-shadow: 0 12px 28px rgba(27, 52, 84, 0.08);
}

.eh-flash-success {
    border-color: rgba(39, 135, 90, 0.18);
    background: rgba(39, 135, 90, 0.08);
    color: #17653f;
}

.eh-flash-warning {
    border-color: rgba(188, 135, 42, 0.2);
    background: rgba(188, 135, 42, 0.10);
    color: #7d5a14;
}

.error-list {
    margin: 0.35rem 0 0;
    padding-left: 1rem;
    color: #9b3838;
    font-size: 0.84rem;
}

.inline-note,
.bio-muted,
.eh-muted,
.eh-panel-note,
.eh-microcopy {
    margin: 0.3rem 0 0;
    color: var(--ink-soft);
    font-size: 0.84rem;
    line-height: 1.55;
}

.eh-shell {
    width: min(100%, 92rem);
    margin: 0 auto;
    padding: 1rem 1rem 2rem;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.eh-workflow-strip {
    display: grid;
    gap: 1rem;
    padding: 1.05rem 1.1rem;
    border-radius: 1rem;
    border: 1px solid rgba(67, 131, 190, 0.16);
    background:
        radial-gradient(circle at top right, rgba(91, 162, 219, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(244, 249, 255, 0.96) 0%, rgba(235, 244, 252, 0.96) 100%);
}

.eh-workflow-copy h3,
.eh-workflow-copy p,
.eh-step-body p {
    margin: 0;
}

.eh-workflow-copy {
    display: grid;
    gap: 0.35rem;
}

.eh-workflow-copy h3 {
    color: var(--navy);
    font-size: 1.1rem;
}

.eh-workflow-copy p,
.eh-step-body p,
.eh-step-meta {
    color: var(--ink-soft);
    line-height: 1.55;
}

.eh-stepper {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.eh-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    align-items: start;
    padding: 0.9rem 0.95rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(121, 159, 198, 0.16);
}

.eh-step-index {
    width: 2.2rem;
    height: 2.2rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(51, 105, 151, 0.12);
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.eh-step.is-current {
    border-color: rgba(32, 141, 214, 0.32);
    box-shadow: 0 12px 24px rgba(32, 141, 214, 0.10);
}

.eh-step.is-current .eh-step-index,
.eh-step.is-complete .eh-step-index {
    background: #0f4c82;
    color: #fff;
}

.eh-step.is-locked {
    background: rgba(248, 250, 253, 0.9);
}

.eh-step-topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    align-items: center;
    justify-content: space-between;
}

.eh-step-topline strong {
    color: var(--navy);
    font-size: 0.96rem;
}

.eh-step-topline span,
.eh-step-meta {
    font-size: 0.82rem;
    font-weight: 600;
}

.eh-step-body {
    display: grid;
    gap: 0.45rem;
}

@media (min-width: 900px) {
    .eh-stepper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eh-step {
        min-height: 100%;
    }
}

.eh-rail {
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    padding: 1.05rem;
    display: grid;
    gap: 0.8rem;
    border: 1px solid rgba(129, 166, 205, 0.16);
    border-radius: 1.35rem;
    box-shadow: var(--shadow-panel);
    backdrop-filter: blur(16px);
}

.eh-rail-group {
    display: grid;
    gap: 0.55rem;
}

.eh-rail-group-secondary {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(89, 128, 167, 0.16);
}

.eh-nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    min-height: 2.9rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.95rem;
    color: var(--ink);
    background: rgba(244, 250, 255, 0.7);
    border: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.eh-nav-link:hover,
.eh-nav-link.is-active {
    background: #edf6fe;
    border-color: rgba(67, 131, 190, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transform: translateX(1px);
}

.eh-rail-group form {
    margin: 0;
}

.eh-rail-group form .eh-nav-link {
    width: 100%;
}

.eh-main {
    padding: 0;
}

.eh-workspace {
    width: 100%;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.eh-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.05rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(129, 166, 205, 0.16);
    box-shadow: 0 16px 34px rgba(49, 84, 128, 0.08);
    backdrop-filter: blur(12px);
}

.eh-header-top {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.eh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    min-height: 1.8rem;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(113, 151, 190, 0.16);
    color: var(--ink-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eh-header-copy h1,
.eh-header-copy h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1;
    color: var(--navy);
}

.eh-header-copy p {
    margin: 0.55rem 0 0;
    max-width: 48rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.eh-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.eh-stat-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.eh-stat {
    padding: 1.05rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.92) 100%);
    border: 1px solid rgba(120, 156, 194, 0.14);
    box-shadow: var(--shadow-panel);
}

.eh-stat-label {
    display: inline-flex;
    align-items: center;
    min-height: 1.65rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-strong);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eh-stat strong {
    display: block;
    margin-top: 0.85rem;
    font-size: 1.55rem;
    line-height: 1.1;
    color: var(--navy);
}

.eh-stat p,
.eh-stat ul {
    margin: 0.55rem 0 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.eh-stat ul {
    padding-left: 1rem;
}

.eh-stat-accent {
    background: linear-gradient(180deg, rgba(27, 158, 150, 0.98) 0%, rgba(14, 126, 118, 0.98) 100%);
    color: #fff;
}

.eh-stat-accent .eh-stat-label {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
}

.eh-stat-accent strong,
.eh-stat-accent p,
.eh-stat-accent ul {
    color: rgba(255, 255, 255, 0.92);
}

.eh-grid,
.eh-stack {
    display: grid;
    gap: 1rem;
}

.eh-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-panel {
    padding: 1.1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(127, 164, 203, 0.14);
    box-shadow: 0 12px 26px rgba(43, 78, 117, 0.06);
}

.eh-panel-header {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.eh-panel-header h3,
.eh-panel-header h4,
.eh-panel-title {
    margin: 0;
    font-size: 1.15rem;
    color: var(--navy);
}

.eh-panel-header p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.eh-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eh-search {
    display: grid;
    gap: 0.75rem;
}

.eh-search-bar {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.eh-table-wrap {
    overflow-x: auto;
}

.eh-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 46rem;
}

.eh-table thead th {
    padding: 0 0 0.95rem;
    text-align: left;
    color: var(--ink-faint);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(129, 166, 205, 0.16);
}

.eh-table tbody td {
    padding: 1rem 0;
    vertical-align: top;
    border-bottom: 1px solid rgba(129, 166, 205, 0.12);
}

.eh-table tbody tr:last-child td {
    border-bottom: none;
}

.eh-row-title {
    margin: 0;
    font-size: 1rem;
    color: var(--navy);
}

.eh-row-subtitle {
    margin: 0.25rem 0 0;
    color: var(--ink-soft);
    font-size: 0.88rem;
}

.eh-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    background: var(--surface-muted);
    border: 1px solid rgba(121, 159, 198, 0.14);
    color: var(--ink-soft);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    background: var(--teal-soft);
    color: var(--teal-strong);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eh-actions,
.page-actions,
.action-row,
.bio-footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.eh-actions .eh-btn,
.eh-actions .eh-btn-primary,
.eh-actions .eh-btn-accent,
.page-actions .button,
.page-actions .button-secondary,
.action-row .button,
.action-row .button-secondary,
.bio-footer-row .button,
.bio-footer-row .button-secondary,
.bio-footer-row .button-primary {
    min-height: 2.6rem;
    padding-inline: 0.95rem;
    font-size: 0.88rem;
}

.eh-metadata {
    display: grid;
    gap: 0.75rem;
}

.eh-meta-block {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid rgba(128, 164, 201, 0.12);
}

.eh-meta-label {
    display: block;
    color: var(--ink-faint);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eh-meta-value {
    display: block;
    margin-top: 0.38rem;
    color: var(--navy);
    font-size: 1rem;
    line-height: 1.5;
}

.eh-summary-band {
    display: grid;
    gap: 0.75rem;
}

.eh-highlight {
    padding: 1rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(236, 246, 255, 0.92) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(125, 163, 201, 0.18);
}

.eh-highlight strong {
    display: block;
    margin-top: 0.55rem;
    font-size: 1.35rem;
    line-height: 1.1;
}

.eh-inspector-list {
    display: grid;
    gap: 0.75rem;
}

.eh-inspector-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid rgba(128, 165, 202, 0.12);
}

.eh-inspector-item span {
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.eh-inspector-item strong,
.eh-inspector-item p {
    margin: 0;
    color: var(--navy);
    text-align: right;
}

.eh-inspector-item p {
    max-width: 16rem;
    line-height: 1.5;
}

.eh-capture-grid {
    display: grid;
    gap: 1rem;
}

.eh-capture-card {
    display: grid;
    grid-template-columns: 5.75rem 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(124, 161, 198, 0.15);
}

.eh-capture-thumb {
    aspect-ratio: 1;
    border-radius: 1rem;
    background: linear-gradient(180deg, #dfeffc 0%, #c9dff3 100%);
    overflow: hidden;
    border: 1px solid rgba(124, 161, 198, 0.16);
}

.eh-capture-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eh-capture-copy h4 {
    margin: 0;
    font-size: 1rem;
}

.eh-capture-copy p {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.eh-app-topline {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.eh-app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.eh-workgrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-calc-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-calc-sidebar,
.eh-calc-main {
    display: grid;
    gap: 1rem;
}

.eh-metric-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.eh-metric {
    padding: 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(122, 160, 198, 0.16);
    box-shadow: var(--shadow-panel);
}

.eh-metric span {
    display: block;
    color: var(--ink-faint);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eh-metric strong {
    display: block;
    margin-top: 0.6rem;
    font-size: 1.85rem;
    line-height: 1;
    color: var(--navy);
}

.eh-metric p {
    margin: 0.45rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.eh-calc-section {
    padding: 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(122, 160, 198, 0.16);
    box-shadow: var(--shadow-panel);
}

.eh-calc-section h4 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
    color: var(--navy);
}

.eh-score-list {
    display: grid;
    gap: 0.7rem;
}

.eh-score-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(125, 163, 201, 0.12);
}

.eh-score-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.eh-score-row span {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.eh-score-row strong {
    color: var(--navy);
    font-size: 0.95rem;
}

.eh-finger-board {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-finger-group {
    padding: 1rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(245, 249, 255, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
    border: 1px solid rgba(123, 161, 198, 0.16);
}

.eh-finger-group h4 {
    margin: 0 0 0.8rem;
    font-size: 1rem;
    color: var(--navy);
}

.eh-field-grid,
.field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.eh-field-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.form-row,
.eh-form-row {
    display: grid;
    gap: 0.35rem;
}

.form-row label,
.eh-form-row label {
    color: var(--ink-soft);
    font-size: 0.84rem;
    font-weight: 600;
}

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

.eh-bio-shell {
    display: grid;
    gap: 1rem;
}

.eh-bio-stage {
    position: relative;
    overflow: hidden;
    padding: 1.15rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(241, 248, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
    color: var(--ink);
    border: 1px solid rgba(123, 162, 200, 0.16);
    box-shadow: 0 18px 36px rgba(43, 78, 117, 0.08);
}

.eh-bio-stage::before {
    content: "";
    position: absolute;
    inset: auto -7rem -7rem auto;
    width: 14rem;
    height: 14rem;
    border-radius: 999px;
    background: rgba(57, 169, 210, 0.12);
    filter: blur(20px);
}

.eh-bio-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(transparent 95%, rgba(163, 194, 223, 0.06) 95%),
        linear-gradient(90deg, transparent 95%, rgba(163, 194, 223, 0.06) 95%);
    background-size: 2.4rem 2.4rem;
    opacity: 0.22;
    pointer-events: none;
}

.eh-bio-stage > * {
    position: relative;
    z-index: 1;
}

.eh-bio-head {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.eh-bio-head h2,
.eh-bio-head h3 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.55rem, 4vw, 2.45rem);
    line-height: 1.05;
}

.eh-bio-head p {
    margin: 0;
    max-width: 40rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.eh-bio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-scan-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.35rem;
    background: rgba(247, 252, 255, 0.96);
    color: var(--ink);
    border: 1px solid rgba(121, 160, 198, 0.16);
    box-shadow: 0 10px 22px rgba(43, 78, 117, 0.06);
}

.eh-scan-visual {
    min-height: 17rem;
    border-radius: 1.1rem;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(101, 174, 235, 0.20), transparent 56%),
        linear-gradient(180deg, #eef7ff 0%, #dbeaf7 100%);
    border: 1px solid rgba(118, 158, 197, 0.18);
    display: grid;
    place-items: center;
}

.eh-scan-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eh-scan-placeholder {
    width: min(14rem, 68%);
    aspect-ratio: 1;
    border-radius: 1.25rem;
    border: 1px dashed rgba(90, 136, 181, 0.36);
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    text-align: center;
    line-height: 1.6;
    padding: 1rem;
}

.eh-scan-meta {
    display: grid;
    gap: 0.7rem;
}

.eh-scan-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(123, 161, 198, 0.14);
}

.eh-scan-meta-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.eh-scan-meta-row span {
    color: var(--ink-soft);
    font-size: 0.84rem;
}

.eh-scan-meta-row strong {
    text-align: right;
    color: var(--navy);
    font-size: 0.9rem;
}

.eh-bio-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.eh-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(183, 210, 236, 0.12);
    color: rgba(231, 241, 251, 0.82);
    font-size: 0.84rem;
    font-weight: 600;
}

.eh-shell .bio-screen,
.eh-shell .bio-sheet,
.eh-shell .bio-topbar,
.eh-shell .bio-sheet-header,
.eh-shell .bio-analysis-grid,
.eh-shell .bio-analysis-card,
.eh-shell .bio-form-grid,
.eh-shell .bio-form-panel,
.eh-shell .panel-card,
.eh-shell .summary-grid,
.eh-shell .detail-grid,
.eh-shell .detail-list,
.eh-shell .detail-item,
.eh-shell .capture-grid,
.eh-shell .capture-card {
    all: unset;
}

.empty-state,
.bio-placeholder {
    color: var(--ink-soft);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .figma-login-card {
        padding: 2rem 1.7rem 1.45rem;
    }

    .eh-main {
        padding: 1.35rem;
    }

    .eh-header {
        padding: 1.25rem;
    }

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

    .eh-grid-2,
    .eh-workgrid,
    .eh-bio-grid,
    .eh-finger-board,
    .eh-capture-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eh-search-bar {
        flex-direction: row;
        align-items: center;
    }

    .eh-search-bar .input-field {
        flex: 1;
    }

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

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

@media (min-width: 1024px) {
    .eh-shell {
        grid-template-columns: 18.5rem minmax(0, 1fr);
    }

    .eh-rail {
        min-height: 100vh;
        position: sticky;
        top: 0;
        padding: 1.4rem;
        align-content: start;
    }

    .eh-main {
        padding: 1.4rem;
    }

    .eh-stat-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .eh-grid-3 {
        grid-template-columns: 1.2fr 0.95fr 0.95fr;
    }

    .eh-workgrid {
        grid-template-columns: 1.25fr 0.75fr;
    }

    .eh-calc-shell {
        grid-template-columns: 0.92fr 1.18fr;
        align-items: start;
    }

    .eh-bio-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    }

    .eh-scan-card {
        grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.75fr);
        align-items: stretch;
    }

    .eh-metric-hero {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .eh-main {
        padding: 1.65rem;
    }
}

.eh-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: stretch;
}

.eh-spotlight {
    padding: 1.15rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(12, 39, 66, 0.98) 0%, rgba(11, 30, 50, 0.98) 100%);
    color: rgba(240, 247, 253, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eh-spotlight h3 {
    margin: 0.8rem 0 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.eh-spotlight p {
    margin: 0.6rem 0 0;
    color: rgba(214, 229, 243, 0.72);
    line-height: 1.6;
}

.eh-spotlight-list {
    margin: 1rem 0 0;
    padding-left: 1rem;
    color: rgba(228, 240, 251, 0.84);
    display: grid;
    gap: 0.5rem;
}

.eh-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.eh-mini-card {
    padding: 0.95rem 1rem;
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(122, 160, 198, 0.14);
    box-shadow: var(--shadow-panel);
}

.eh-mini-card strong {
    display: block;
    margin-top: 0.5rem;
    font-size: 1.15rem;
    line-height: 1.15;
    color: var(--navy);
}

.eh-mini-card p {
    margin: 0.4rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.eh-guide-list {
    display: grid;
    gap: 0.85rem;
}

.eh-guide-item {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid rgba(123, 162, 200, 0.14);
}

.eh-guide-item h4 {
    margin: 0.55rem 0 0;
    font-size: 1rem;
    color: var(--navy);
}

.eh-guide-item p {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.eh-dossier-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-intake-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.eh-form-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.eh-form-sidebar {
    display: grid;
    gap: 1rem;
}

.eh-form-sheet {
    padding: 1.15rem;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(124, 161, 198, 0.14);
    box-shadow: var(--shadow-panel);
}

.eh-form-sheet-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.eh-form-sheet-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--navy);
}

.eh-form-sheet-header p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.6;
}

.eh-form-row--checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid rgba(125, 162, 200, 0.14);
}

.eh-form-row--checkbox label {
    margin: 0;
    font-weight: 600;
}

.eh-form-row--checkbox .checkbox-field {
    flex-shrink: 0;
}

.eh-form-row--checkbox .inline-note {
    margin: 0.2rem 0 0;
}

@media (min-width: 768px) {
    .eh-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 1024px) {
    .eh-hero-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(20rem, 0.7fr);
    }

    .eh-dossier-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(21rem, 0.8fr);
    }

    .eh-form-shell {
        grid-template-columns: minmax(16rem, 0.52fr) minmax(0, 1.18fr);
        align-items: start;
    }
}

.eh-kicker-inverse {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(244, 248, 252, 0.92);
}

.eh-stage-hero,
.eh-record-hero {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1.45rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(246, 250, 255, 0.95) 100%);
    border: 1px solid rgba(123, 161, 200, 0.16);
    box-shadow: var(--shadow-soft);
}

.eh-stage-copy {
    display: grid;
    gap: 1rem;
}

.eh-stage-copy h1,
.eh-record-hero h1 {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 0.95;
    color: var(--navy);
}

.eh-stage-copy p,
.eh-record-hero p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.7;
}

.eh-stage-band,
.eh-record-metrics,
.eh-data-grid,
.eh-form-section-grid {
    display: grid;
    gap: 0.85rem;
}

.eh-stage-metric {
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    background: rgba(239, 246, 253, 0.96);
    border: 1px solid rgba(123, 161, 199, 0.16);
}

.eh-stage-metric strong {
    display: block;
    margin-top: 0.55rem;
    font-size: 1.15rem;
    line-height: 1.15;
    color: var(--navy);
}

.eh-stage-metric p {
    margin: 0.45rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.eh-stage-side {
    padding: 1.15rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(12, 39, 66, 0.98) 0%, rgba(11, 30, 50, 0.98) 100%);
    color: rgba(239, 246, 253, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.eh-stage-side h3 {
    margin: 0.85rem 0 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.eh-stage-side p {
    margin: 0.55rem 0 0;
    color: rgba(214, 229, 243, 0.74);
    line-height: 1.6;
}

.eh-route-list {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    counter-reset: route;
    display: grid;
    gap: 0.85rem;
}

.eh-route-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.eh-route-list li::before {
    counter-increment: route;
    content: counter(route);
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(245, 249, 253, 0.96);
    font-size: 0.76rem;
    font-weight: 700;
}

.eh-route-list strong {
    display: block;
    color: rgba(245, 249, 253, 0.96);
    font-size: 0.95rem;
}

.eh-route-list li p {
    margin-top: 0.25rem;
    font-size: 0.88rem;
}

.eh-dashboard-grid,
.eh-record-grid,
.eh-intake-layout,
.eh-lane-list,
.eh-surface-list,
.eh-checklist,
.eh-note-stack,
.eh-record-main,
.eh-record-side,
.eh-intake-sidebar {
    display: grid;
    gap: 1rem;
}

.eh-lane-card,
.eh-checklist-item,
.eh-note-card,
.eh-surface-item,
.eh-record-hero-aside {
    padding: 1rem;
    border-radius: 1.05rem;
    background: var(--surface-muted);
    border: 1px solid rgba(123, 162, 200, 0.14);
}

.eh-record-hero-aside {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.eh-lane-card-top,
.eh-detail-bands {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.eh-lane-card h4,
.eh-surface-copy h4 {
    margin: 0.55rem 0 0;
    font-size: 1rem;
    color: var(--navy);
}

.eh-lane-card p,
.eh-surface-copy p,
.eh-checklist-item p,
.eh-note-card p {
    margin: 0.4rem 0 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.eh-surface-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.eh-checklist-item strong {
    display: block;
    color: var(--navy);
}

.eh-meta-block-wide,
.field-full {
    grid-column: 1 / -1;
}

.eh-note-card span {
    display: block;
    color: var(--ink-faint);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eh-intake-form {
    display: grid;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(123, 161, 200, 0.16);
    box-shadow: var(--shadow-panel);
}

.eh-form-section {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.15rem;
    background: rgba(244, 248, 252, 0.88);
    border: 1px solid rgba(123, 161, 199, 0.14);
}

.eh-form-section-header {
    display: grid;
    gap: 0.55rem;
}

.eh-form-section-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--navy);
}

.eh-form-section-header p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.55;
}

.eh-field-card {
    display: grid;
    gap: 0.45rem;
}

.eh-field-card label,
.eh-agreement-card label {
    color: var(--ink-soft);
    font-size: 0.82rem;
    font-weight: 600;
}

.eh-agreement-card {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(122, 160, 199, 0.16);
}

.eh-agreement-card .checkbox-field {
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.eh-form-submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.eh-inline-note-block strong {
    display: block;
    color: var(--navy);
}

@media (min-width: 768px) {
    .eh-stage-band,
    .eh-data-grid,
    .eh-form-section-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (min-width: 1024px) {
    .eh-stage-hero,
    .eh-record-hero {
        grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
        align-items: start;
    }

    .eh-dashboard-grid,
    .eh-record-grid,
    .eh-intake-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
        align-items: start;
    }

    .eh-record-metrics {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .eh-intake-layout {
        grid-template-columns: minmax(14rem, 0.42fr) minmax(0, 1.58fr);
    }
}

.eh-main {
    padding: 0.8rem;
}

.eh-workspace {
    gap: 0.75rem;
}

.eh-rail {
    padding: 1rem 0.85rem;
    gap: 0.9rem;
}

.eh-rail-group {
    gap: 0.4rem;
}

.eh-header,
.eh-stage-hero,
.eh-record-hero,
.eh-panel,
.eh-intake-form,
.eh-form-section,
.eh-form-sheet,
.eh-stage-metric,
.eh-lane-card,
.eh-note-card,
.eh-surface-item,
.eh-checklist-item,
.eh-focus-card,
.eh-priority-item {
    border-radius: 1rem;
}

.eh-header,
.eh-panel,
.eh-intake-form {
    padding: 0.9rem;
}

.eh-form-section,
.eh-stage-metric,
.eh-lane-card,
.eh-note-card,
.eh-surface-item,
.eh-checklist-item,
.eh-focus-card,
.eh-priority-item,
.eh-meta-block {
    padding: 0.75rem 0.8rem;
}

.eh-panel-header {
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}

.eh-panel-header h3,
.eh-panel-header h4,
.eh-panel-title {
    font-size: 1rem;
}

.eh-header-copy h1,
.eh-header-copy h2,
.eh-stage-copy h1,
.eh-record-hero h1 {
    font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.eh-eyebrow,
.eh-kicker,
.eh-stat-label,
.eh-meta-label,
.eh-note-card span {
    letter-spacing: 0.05em;
}

.eh-eyebrow,
.eh-kicker {
    min-height: 1.45rem;
    padding: 0.1rem 0.5rem;
    font-size: 0.64rem;
}

.eh-btn,
.eh-btn-primary,
.eh-btn-accent,
.button,
.button-secondary,
.button-primary {
    min-height: 2.35rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.8rem;
    font-size: 0.84rem;
}

.input-field,
.figma-login-field input,
.figma-login-field select,
.figma-login-field textarea,
.eh-form-row input,
.eh-form-row select,
.eh-form-row textarea {
    padding: 0.7rem 0.8rem;
    border-radius: 0.75rem;
}

.eh-row-title,
.eh-surface-copy h4,
.eh-lane-card h4 {
    font-size: 0.95rem;
}

.eh-row-subtitle,
.eh-panel-header p,
.eh-focus-card p,
.eh-priority-item p,
.eh-note-card p,
.eh-lane-card p,
.eh-surface-copy p,
.eh-checklist-item p,
.inline-note,
.eh-muted,
.eh-panel-note,
.eh-microcopy {
    font-size: 0.78rem;
    line-height: 1.45;
}

.eh-table thead th {
    padding-bottom: 0.65rem;
    font-size: 0.68rem;
}

.eh-table tbody td {
    padding: 0.75rem 0;
}

.eh-actions,
.eh-header-actions,
.eh-detail-bands,
.eh-tag-row {
    gap: 0.45rem;
}

.eh-record-metrics,
.eh-grid-2,
.eh-record-grid,
.eh-calc-shell,
.eh-bio-grid,
.eh-capture-grid,
.eh-data-grid,
.eh-form-section-grid,
.eh-field-grid,
.eh-field-grid-2,
.eh-focus-strip,
.eh-lane-list,
.eh-surface-list,
.eh-note-stack,
.eh-checklist,
.eh-score-list {
    gap: 0.65rem;
}

.eh-stage-hero-tight {
    align-items: start;
}

.eh-stage-side-compact {
    gap: 0.9rem;
}

.eh-stage-side-compact h3 {
    margin-top: 0.6rem;
}

.eh-focus-strip,
.eh-priority-list,
.eh-dashboard-grid-tight,
.eh-queue-top {
    display: grid;
    gap: 0.85rem;
}

.eh-focus-card,
.eh-priority-item {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(123, 161, 199, 0.16);
}

.eh-focus-card {
    background: rgba(239, 246, 253, 0.96);
}

.eh-focus-card strong,
.eh-priority-item strong {
    display: block;
    margin-top: 0.45rem;
    color: var(--navy);
    font-size: 1rem;
}

.eh-focus-card p,
.eh-priority-item p {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    line-height: 1.5;
}

.eh-priority-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.08);
}

.eh-priority-item strong,
.eh-priority-item p {
    color: rgba(239, 246, 253, 0.92);
}

.eh-priority-item p {
    color: rgba(214, 229, 243, 0.76);
}

.eh-checklist-tight {
    gap: 0.75rem;
}

.eh-search-panel-tight {
    padding-bottom: 1.2rem;
}

.eh-search-inline {
    display: grid;
    gap: 0.75rem;
}

.eh-table-wrap-tight {
    border-radius: 1rem;
}

.eh-table-tight thead th {
    padding-bottom: 0.8rem;
}

.eh-table-tight tbody td {
    padding: 0.95rem 0;
}

.eh-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.55rem;
}

.eh-actions-tight {
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .eh-focus-strip,
    .eh-queue-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .eh-focus-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .eh-dashboard-grid-tight,
    .eh-queue-top {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
        align-items: start;
    }

    .eh-search-inline {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }
}

body.figma-login-page {
    background: #ffffff;
    overflow: hidden;
}

.login-figma-stage {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1.25rem 1.25rem 3rem;
    overflow: hidden;
    isolation: isolate;
}

.login-figma-corner {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    user-select: none;
    height: auto;
    max-width: none;
}

.login-figma-corner-top {
    width: clamp(34rem, 37vw, 46rem);
    top: 0;
    right: 0;
    transform: translate(27%, -28%);
}

.login-figma-corner-bottom {
    width: clamp(30rem, 34vw, 42rem);
    left: 0;
    bottom: 0;
    transform: translate(-30%, 28%);
}

.login-figma-wrap {
    position: relative;
    width: min(100%, 33.5rem);
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    margin-top: 0;
}

.login-figma-logo {
    width: 14.9375rem;
    height: 7.0625rem;
    margin-bottom: 5.9rem;
}

.login-figma-title {
    margin: 0 0 3.15rem;
    color: #3f90be;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.login-figma-form {
    width: 100%;
    display: grid;
    gap: 1.35rem;
}

.figma-login-page .figma-login-field label {
    display: block;
    margin-bottom: 0.9rem;
    color: #bab6b6;
    font-size: 1.5625rem;
    font-weight: 600;
    line-height: 1;
}

.figma-login-page .figma-login-field input {
    min-height: 5.5rem;
    border: 1px solid #e6e6e6;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem 1.4rem;
    box-shadow: none;
    color: #2b4863;
    font-size: 1.1875rem;
}

.figma-login-page .figma-login-field input:focus {
    border-color: rgba(63, 144, 190, 0.5);
    box-shadow: 0 0 0 0.22rem rgba(63, 144, 190, 0.12);
}

.login-figma-password-wrap {
    position: relative;
}

.figma-login-page .login-figma-password-input {
    padding-right: 4.1rem;
}

.login-figma-password-toggle {
    position: absolute;
    top: 50%;
    right: 1.2rem;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: #8e9bab;
    cursor: pointer;
    transform: translateY(-50%);
}

.login-figma-password-toggle:hover {
    color: #3f90be;
}

.login-figma-password-toggle svg {
    width: 1.6rem;
    height: 1.6rem;
}

.figma-login-page .figma-login-submit {
    width: 10.5625rem;
    min-height: 3.8125rem;
    margin: 0.6rem auto 0;
    border-radius: 1.25rem;
    background: #3f90be;
    box-shadow: none;
    font-size: 1.5rem;
    font-weight: 600;
}

.figma-login-page .error-banner {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: rgba(206, 83, 83, 0.08);
    border: 1px solid rgba(206, 83, 83, 0.12);
    font-size: 0.92rem;
}

.figma-login-page .error-list {
    margin: 0.55rem 0 0;
    padding-left: 1.15rem;
    font-size: 0.82rem;
}

.eh-diagnostic-stats {
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.eh-diagnostics-layout {
    align-items: start;
}

.eh-diagnostic-copy ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--ink-soft);
    line-height: 1.7;
}

.eh-diagnostic-config {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.eh-diagnostic-row {
    display: grid;
    gap: 0.35rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid rgba(124, 161, 198, 0.14);
}

.eh-diagnostic-row span {
    color: var(--ink-soft);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.eh-diagnostic-row strong {
    color: var(--navy);
    font-size: 0.95rem;
    line-height: 1.5;
    word-break: break-word;
}

.eh-diagnostic-preview {
    min-height: 20rem;
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
    padding: 1.2rem;
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(244, 249, 255, 0.94) 0%, rgba(233, 242, 252, 0.92) 100%);
    border: 1px solid rgba(116, 153, 191, 0.16);
}

.eh-diagnostic-preview img {
    max-height: 22rem;
    width: auto;
    object-fit: contain;
}

.eh-diagnostic-console {
    min-height: 16rem;
    max-height: 24rem;
    overflow: auto;
    margin: 0;
    padding: 1rem;
    border-radius: 1rem;
    background: #0f2741;
    color: #dceaf8;
    font-size: 0.84rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 640px) {
    .login-figma-stage {
        padding: 1rem 1rem 2rem;
    }

    .login-figma-corner-top {
        width: 19rem;
        transform: translate(28%, -24%);
    }

    .login-figma-corner-bottom {
        width: 18rem;
        transform: translate(-34%, 30%);
    }

    .login-figma-logo {
        width: 11.5rem;
        height: 5.4375rem;
        margin-bottom: 3.1rem;
    }

    .login-figma-title {
        margin-bottom: 2rem;
        font-size: 2.1rem;
    }

    .figma-login-page .figma-login-field label {
        margin-bottom: 0.65rem;
        font-size: 1.1rem;
    }

    .figma-login-page .figma-login-field input {
        min-height: 4rem;
        padding: 0.95rem 1rem;
        border-radius: 1rem;
        font-size: 1rem;
    }

    .login-figma-password-toggle {
        right: 0.85rem;
        width: 2.2rem;
        height: 2.2rem;
    }

    .figma-login-page .figma-login-submit {
        width: 100%;
        min-height: 3.3rem;
        margin-top: 0.25rem;
        font-size: 1.05rem;
    }

    .eh-diagnostic-preview {
        min-height: 14rem;
    }
}

.eh-evaluatee-page-body {
    background:
        radial-gradient(circle at top left, rgba(91, 162, 219, 0.18), transparent 22%),
        radial-gradient(circle at bottom right, rgba(71, 127, 182, 0.14), transparent 22%),
        linear-gradient(180deg, #eef4fb 0%, #e7eef7 100%);
}

.eh-evaluatee-page {
    padding: 1rem;
}

.eh-shell .eh-evaluatee-page {
    padding: 0;
}

.eh-evaluatee-toolbar {
    width: min(100%, 90rem);
    margin: 0 auto 0.75rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
}

.eh-evaluatee-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.eh-evaluatee-toolbar-actions form {
    margin: 0;
}

.eh-shell .eh-evaluatee-toolbar,
.eh-shell .eh-evaluatee-layout {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.eh-evaluatee-layout {
    width: min(100%, 90rem);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(121, 159, 197, 0.18);
    box-shadow: 0 24px 60px rgba(33, 63, 100, 0.10);
    backdrop-filter: blur(16px);
}

.eh-evaluatee-panel {
    display: grid;
    gap: 1.7rem;
    align-content: start;
    justify-items: center;
    padding: 2.5rem 0 1.6rem;
    border-radius: 0.75rem;
    background: #336997;
    color: #fff;
    font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.eh-evaluatee-panel-brand {
    width: min(100%, 13.75rem);
    min-height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.eh-evaluatee-hero-card {
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 1.55rem;
}

.eh-evaluatee-avatar-frame {
    width: min(100%, 11.875rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 0.75rem;
    background: #fff;
}

.eh-evaluatee-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    border-radius: inherit;
    background: transparent;
}

.eh-evaluatee-avatar-head,
.eh-evaluatee-avatar-body,
.eh-evaluator-badge-head,
.eh-evaluator-badge-body {
    background: #d9d9d9;
}

.eh-evaluatee-avatar-head {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 999px;
}

.eh-evaluatee-avatar-body {
    width: 9rem;
    height: 3.9rem;
    border-radius: 999px 999px 1rem 1rem;
}

.eh-atd-card p,
.eh-atd-card p,
.eh-evaluatee-consent p {
    margin: 0.35rem 0 0;
    color: rgba(219, 232, 245, 0.78);
    line-height: 1.6;
}

.eh-evaluatee-credits-card {
    display: grid;
    align-content: start;
    width: min(100%, 11.875rem);
    min-height: 6.75rem;
    padding: 0.95rem 1rem 0.8rem;
    border-radius: 0.75rem;
    background: #a4d4fe;
    color: #0f4c82;
    gap: 0.35rem;
}

.eh-evaluatee-credits-label {
    display: block;
    color: #0f4c82;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

.eh-evaluatee-credits-card strong {
    display: block;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1;
}

.eh-evaluatee-panel-divider {
    height: 1px;
    width: min(100%, 9.125rem);
    background: rgba(255, 255, 255, 0.9);
}

.eh-evaluator-meta {
    display: grid;
    width: 100%;
    gap: 0.8rem;
}

.eh-evaluator-card {
    width: min(100%, 18.8125rem);
    display: grid;
    justify-items: center;
    gap: 0.95rem;
    padding: 2rem 1.2rem 1.35rem;
    border-radius: 0.8125rem;
    background: #0f4c82;
}

.eh-evaluator-card-brand {
    width: min(100%, 11.875rem);
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.4);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.eh-evaluator-badge-frame {
    width: min(100%, 11.875rem);
}

.eh-evaluator-badge {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    border-radius: 0.75rem;
    background: #fff;
}

.eh-evaluator-field {
    display: grid;
    gap: 0.25rem;
}

.eh-evaluator-field span {
    display: block;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
}

.eh-evaluator-value {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    word-break: break-word;
}

.eh-evaluator-badge-head {
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 999px;
}

.eh-evaluator-badge-body {
    width: 9rem;
    height: 3.9rem;
    border-radius: 999px 999px 1rem 1rem;
}

.eh-evaluatee-form-card {
    display: grid;
    gap: 1.35rem;
    padding: 1.1rem 1.25rem 1.25rem;
    border-radius: 1rem;
    background: #fff;
    font-family: "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.eh-evaluatee-content-grid {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

.eh-evaluatee-top-grid,
.eh-evaluatee-bottom-grid,
.eh-evaluatee-bottom-main,
.eh-evaluatee-bottom-row {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.eh-evaluatee-field,
.eh-evaluatee-side-stack {
    display: grid;
    gap: 0.55rem;
}

.eh-evaluatee-field > label,
.eh-evaluatee-inline-labels label,
.eh-evaluatee-subfield > label,
.eh-evaluatee-subfield > span,
.eh-evaluatee-workflow-card h3 {
    color: #5f7182;
    font-size: 1.25rem;
    font-weight: 600;
}

.eh-evaluatee-inline-labels {
    display: grid;
    gap: 1rem;
}

.eh-evaluatee-name-grid .eh-evaluatee-subfield {
    gap: 0.55rem;
}

.eh-evaluatee-name-grid .eh-evaluatee-subfield > label {
    display: block;
}

.eh-evaluatee-subfield {
    display: grid;
    gap: 0.4rem;
}

.eh-evaluatee-subfield > span {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eh-evaluatee-name-grid,
.eh-evaluatee-dob-grid,
.eh-evaluatee-workflow-grid {
    display: grid;
    gap: 1rem;
}

.eh-evaluatee-form-card .input-field,
.eh-evaluatee-form-card .checkbox-field {
    border: 1px solid #c7c9d7;
    border-radius: 0.75rem;
    background: #fff;
    min-height: 3.75rem;
    padding: 1rem 1.1rem;
    box-shadow: none;
}

.eh-evaluatee-form-card textarea.input-field {
    min-height: 7.5rem;
}

.eh-evaluatee-form-card select.input-field {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #336997 50%),
        linear-gradient(135deg, #336997 50%, transparent 50%);
    background-position:
        calc(100% - 1.15rem) calc(50% - 0.18rem),
        calc(100% - 0.8rem) calc(50% - 0.18rem);
    background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
    background-repeat: no-repeat;
    padding-right: 2.4rem;
}

.eh-evaluatee-form-card .input-field:focus,
.eh-evaluatee-form-card .checkbox-field:focus {
    border-color: rgba(51, 105, 151, 0.38);
    box-shadow: 0 0 0 0.24rem rgba(51, 105, 151, 0.12);
}

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

.eh-atd-card,
.eh-evaluatee-workflow-card {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(237, 237, 237, 0.42);
    border: 1px solid #c7c9d7;
}

.eh-atd-card span {
    color: #5f7182;
    font-size: 1rem;
    font-weight: 700;
}

.eh-atd-card strong {
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1;
}

.eh-atd-card p {
    color: var(--ink-soft);
}

.eh-evaluatee-workflow-card h3 {
    margin: 0;
}

.eh-evaluatee-workflow-card p,
.eh-evaluatee-consent p {
    color: var(--ink-soft);
}

.eh-evaluatee-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding-top: 0.2rem;
}

.eh-evaluatee-consent label {
    display: block;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 600;
}

.eh-evaluatee-consent .checkbox-field {
    width: 1.2rem;
    min-width: 1.2rem;
    min-height: 1.2rem;
    margin-top: 0.15rem;
    padding: 0;
}

.eh-evaluatee-divider {
    height: 1px;
    background: rgba(123, 161, 199, 0.22);
}

.eh-evaluatee-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.eh-evaluatee-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.9rem 1.3rem;
    border: none;
    border-radius: 0.75rem;
    background: #336997;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
    box-shadow: 0 14px 28px rgba(51, 105, 151, 0.18);
}

.eh-evaluatee-action:hover {
    transform: translateY(-1px);
}

.eh-evaluatee-action-primary {
    background: #0f4c82;
}

.eh-evaluatee-action-disabled {
    background: rgba(51, 105, 151, 0.18);
    color: rgba(15, 39, 65, 0.42);
    box-shadow: none;
    cursor: not-allowed;
}

.eh-evaluatee-link {
    color: #9b3838;
    font-size: 0.88rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .eh-evaluatee-toolbar {
        align-items: center;
    }

    .eh-evaluatee-inline-labels,
    .eh-evaluatee-name-grid,
    .eh-evaluatee-dob-grid,
    .eh-evaluatee-workflow-grid,
    .eh-evaluatee-top-grid,
    .eh-evaluatee-bottom-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eh-evaluatee-top-grid,
    .eh-evaluatee-bottom-row {
        gap: 1.55rem 2.75rem;
    }

    .eh-evaluatee-name-grid {
        gap: 1rem 1.8rem;
    }

    .eh-evaluatee-bottom-grid {
        gap: 1rem 2.75rem;
    }

    .eh-evaluatee-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .eh-evaluatee-panel {
        padding: 1.9rem 0.75rem 1.3rem;
    }

    .eh-evaluatee-toolbar-actions > * {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .eh-evaluatee-toolbar-actions .eh-btn,
    .eh-evaluatee-toolbar-actions form,
    .eh-evaluatee-toolbar-actions form .eh-btn {
        width: 100%;
    }

    .eh-evaluatee-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .eh-evaluatee-action,
    .eh-evaluatee-link {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .eh-evaluatee-layout {
        grid-template-columns: 21.5rem minmax(0, 1fr);
        align-items: start;
        gap: 2.5rem;
    }

    .eh-evaluatee-content-grid {
        gap: 1.75rem;
    }

    .eh-evaluatee-bottom-grid {
        grid-template-columns: minmax(0, 1.18fr) minmax(18rem, 0.82fr);
    }

    .eh-evaluatee-panel {
        min-height: 61.625rem;
    }
}

.eh-biometric-page-body {
    background:
        radial-gradient(circle at top, rgba(82, 155, 208, 0.18), transparent 24%),
        linear-gradient(180deg, #eef7fd 0%, #e5f1fb 100%);
}

.eh-biometric-page {
    padding: 1rem 1rem 2rem;
}

.eh-shell .eh-biometric-page {
    padding: 0;
}

.eh-biometric-toolbar {
    width: min(100%, 72rem);
    margin: 0 auto 1rem;
    display: flex;
    justify-content: flex-end;
}

.eh-biometric-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.eh-biometric-toolbar-actions form {
    margin: 0;
}

.eh-biometric-form {
    margin: 0;
}

.eh-shell .eh-biometric-toolbar,
.eh-shell .eh-biometric-frame {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.eh-biometric-frame {
    width: min(100%, 68.75rem);
    margin: 0 auto;
    display: grid;
    gap: 1.35rem;
    padding: 1.25rem 1rem 1.5rem;
    border-radius: 0.875rem;
    background: #fff;
    box-shadow: 0 22px 55px rgba(42, 87, 128, 0.12);
}

.eh-biometric-brand {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
}

.eh-biometric-brand img {
    width: min(100%, 20rem);
    height: auto;
}

.eh-biometric-context {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
}

.eh-biometric-context-block {
    min-width: 12rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.95rem;
    border-radius: 0.75rem;
    background: #f4fbff;
    border: 1px solid rgba(32, 141, 214, 0.25);
    text-align: center;
}

.eh-biometric-context-block span,
.eh-biometric-context-note {
    color: #5f7182;
    font-size: 0.92rem;
}

.eh-biometric-context-block strong {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 700;
}

.eh-biometric-context-note {
    margin: 0;
    max-width: 42rem;
    line-height: 1.55;
    text-align: center;
}

.eh-biometric-map-note {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(241, 248, 255, 0.98) 0%, rgba(252, 254, 255, 0.98) 100%);
    border: 1px solid rgba(32, 141, 214, 0.16);
}

.eh-biometric-map-note p {
    margin: 0;
    color: #5f7182;
    line-height: 1.55;
}

.eh-biometric-panel {
    padding: 1rem;
    border-radius: 1.25rem;
    border: 1px solid #208dd6;
    background: #f4fbff;
}

.eh-biometric-panel-grid {
    display: grid;
    gap: 1.1rem;
    align-items: center;
}

.eh-biometric-hand-column {
    display: grid;
    justify-items: center;
    gap: 1rem;
}

.eh-biometric-hand-figure {
    width: 10rem;
    height: 11.5rem;
}

.eh-biometric-hand-art {
    display: block;
    width: 100%;
    height: 100%;
}

.eh-biometric-hand-label {
    min-width: 9.45rem;
    padding: 0.65rem 0.95rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(32, 141, 214, 0.7);
    background: #f4fbff;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.eh-biometric-finger-column {
    display: grid;
    gap: 0.75rem;
    align-content: start;
}

.eh-biometric-finger-stack {
    display: grid;
    gap: 0.5rem;
}

.eh-biometric-finger-note {
    margin: 0;
    color: #5f7182;
    font-size: 0.92rem;
    line-height: 1.55;
}

.eh-biometric-finger-button,
.eh-biometric-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 1.25rem;
    border: 1px solid #0f5c95;
    border-radius: 0.75rem;
    background: #336997;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    box-shadow: 0 10px 20px rgba(51, 105, 151, 0.08);
}

.eh-biometric-finger-button:hover,
.eh-biometric-action:hover {
    transform: translateY(-1px);
}

.eh-biometric-finger-button.is-active {
    background: #0f4c82;
    box-shadow: 0 14px 28px rgba(15, 76, 130, 0.22);
}

.eh-biometric-finger-button:disabled,
.eh-biometric-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.eh-biometric-slot-board {
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.eh-biometric-slot-matrix {
    display: grid;
    width: 100%;
    min-width: 29rem;
    grid-template-columns: 4.4rem repeat(5, minmax(4rem, 1fr));
    gap: 0.5rem;
}

.eh-biometric-slot-corner,
.eh-biometric-slot-heading,
.eh-biometric-slot-row-label {
    display: grid;
    place-items: center;
    min-height: 3.25rem;
    padding: 0.65rem 0.55rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(32, 141, 214, 0.16);
    text-align: center;
}

.eh-biometric-slot-corner span,
.eh-biometric-slot-row-label {
    color: #5f7182;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.eh-biometric-slot-corner strong,
.eh-biometric-slot-heading {
    color: var(--navy);
    font-size: 0.96rem;
    font-weight: 600;
    text-align: center;
}

.eh-biometric-slot {
    appearance: none;
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    padding: 0.4rem;
    border-radius: 0.35rem;
    border: 1px solid #336997;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.eh-biometric-slot::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(32, 141, 214, 0.03)),
        linear-gradient(90deg, rgba(51, 105, 151, 0.05), rgba(51, 105, 151, 0));
    pointer-events: none;
}

.eh-biometric-slot:hover {
    transform: translateY(-1px);
}

.eh-biometric-slot.is-finger-active {
    border-color: rgba(20, 127, 188, 0.52);
    background: linear-gradient(180deg, rgba(242, 249, 255, 0.98) 0%, rgba(255, 255, 255, 1) 100%);
}

.eh-biometric-slot.is-active {
    border-color: #147fbc;
    box-shadow: 0 0 0 3px rgba(32, 141, 214, 0.18);
}

.eh-biometric-slot.has-capture {
    background: linear-gradient(180deg, rgba(239, 249, 255, 1) 0%, rgba(255, 255, 255, 1) 100%);
}

.eh-biometric-slot-marker {
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 2px solid rgba(20, 127, 188, 0.34);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 0 rgba(20, 127, 188, 0.85);
    transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
    z-index: 1;
}

.eh-biometric-slot.is-active .eh-biometric-slot-marker {
    border-color: rgba(20, 127, 188, 0.85);
    background: rgba(20, 127, 188, 0.12);
    box-shadow: inset 0 0 0 0.28rem rgba(20, 127, 188, 0.78);
}

.eh-biometric-slot-caption {
    position: absolute;
    left: 0.35rem;
    bottom: 0.35rem;
    padding: 0.16rem 0.38rem;
    border-radius: 999px;
    background: rgba(20, 127, 188, 0.12);
    color: #0f5c95;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 1;
}

.eh-biometric-slot-badge {
    position: absolute;
    top: 0.35rem;
    right: 0.35rem;
    padding: 0.18rem 0.38rem;
    border-radius: 999px;
    background: rgba(20, 127, 188, 0.12);
    color: #0f5c95;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 1;
}

.eh-biometric-slot-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100%;
    padding: 0.45rem;
    color: #336997;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    z-index: 1;
}

.eh-biometric-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.3rem;
    z-index: 1;
}

.eh-biometric-preview-dialog {
    width: min(100% - 2rem, 38rem);
    padding: 0;
    border: 0;
    background: transparent;
}

.eh-biometric-preview-dialog[hidden] {
    display: none;
}

.eh-biometric-preview-dialog::backdrop {
    background: rgba(13, 31, 52, 0.52);
    backdrop-filter: blur(4px);
}

.eh-biometric-preview-sheet {
    display: grid;
    gap: 0.9rem;
    padding: 1.1rem;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 30px 60px rgba(24, 58, 93, 0.22);
}

.eh-biometric-preview-close {
    justify-self: end;
    min-height: 2.75rem;
    padding: 0.65rem 0.95rem;
    border: 1px solid rgba(15, 92, 149, 0.22);
    border-radius: 0.75rem;
    background: #f4fbff;
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
}

.eh-biometric-preview-media {
    min-height: 20rem;
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(244, 249, 255, 0.94) 0%, rgba(233, 242, 252, 0.92) 100%);
    border: 1px solid rgba(116, 153, 191, 0.16);
}

.eh-biometric-preview-media img {
    width: auto;
    max-width: 100%;
    max-height: 28rem;
    object-fit: contain;
    border-radius: 0.75rem;
}

.eh-biometric-preview-label {
    margin: 0;
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.eh-biometric-details {
    border-radius: 1rem;
    border: 1px solid rgba(32, 141, 214, 0.18);
    background: #fbfdff;
    overflow: hidden;
}

.eh-biometric-details summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.15rem;
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
}

.eh-biometric-details summary::-webkit-details-marker {
    display: none;
}

.eh-biometric-details[open] summary {
    border-bottom: 1px solid rgba(32, 141, 214, 0.12);
}

.eh-biometric-details-grid {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.15rem 1.15rem;
}

.eh-biometric-detail-field {
    display: grid;
    gap: 0.45rem;
}

.eh-biometric-detail-field label {
    color: #5f7182;
    font-size: 0.95rem;
    font-weight: 700;
}

.eh-biometric-detail-field .input-field {
    min-height: 3.35rem;
    border-radius: 0.75rem;
    border: 1px solid #c7d7e6;
    background: #fff;
    box-shadow: none;
}

.eh-biometric-detail-field textarea.input-field {
    min-height: 7rem;
}

.eh-biometric-actions {
    display: grid;
    gap: 0.8rem;
    padding-top: 0.2rem;
}

.eh-biometric-action {
    min-height: 4.55rem;
    border-color: #0f5c95;
    background: #336997;
    color: #fff;
    box-shadow: 0 12px 24px rgba(51, 105, 151, 0.14);
    font-size: 1.25rem;
    font-weight: 700;
}

@media (min-width: 768px) {
    .eh-biometric-frame {
        padding: 1.5rem 1.5rem 1.75rem;
    }

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

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

    .eh-biometric-detail-field-full {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1024px) {
    .eh-biometric-panel {
        padding: 1.3rem 1.45rem;
    }

    .eh-biometric-panel-grid {
        grid-template-columns: 11rem 15.125rem minmax(0, 1fr);
        gap: 1.6rem;
    }

    .eh-biometric-slot-matrix {
        min-width: 0;
        grid-template-columns: 4.5rem repeat(5, minmax(3.65rem, 1fr));
    }

    .eh-biometric-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .eh-biometric-page {
        padding: 0.85rem 0.75rem 1.5rem;
    }

    .eh-biometric-toolbar-actions > * {
        flex: 1 1 calc(50% - 0.35rem);
    }

    .eh-biometric-toolbar-actions .eh-btn,
    .eh-biometric-toolbar-actions form,
    .eh-biometric-toolbar-actions form .eh-btn {
        width: 100%;
    }

    .eh-biometric-context-block {
        min-width: 100%;
    }

    .eh-biometric-action {
        font-size: 1.05rem;
    }

    .eh-biometric-slot-matrix {
        min-width: 29rem;
        grid-template-columns: 4.4rem repeat(5, minmax(4rem, 1fr));
        gap: 0.4rem;
    }

    .eh-biometric-slot-corner,
    .eh-biometric-slot-heading,
    .eh-biometric-slot-row-label,
    .eh-biometric-slot {
        min-height: 4.25rem;
        padding: 0.7rem 0.45rem;
    }

    .eh-biometric-slot-heading,
    .eh-biometric-slot-row-label {
        font-size: 0.84rem;
    }
}

.eh-dashboard-main,
.eh-dashboard-side,
.eh-dashboard-pipeline,
.eh-dashboard-status-list,
.eh-dashboard-focus-list,
.eh-dashboard-rank-list,
.eh-dashboard-feed {
    display: grid;
    gap: 0.85rem;
}

.eh-dashboard-metric-accent {
    background: linear-gradient(180deg, rgba(47, 134, 212, 0.96) 0%, rgba(34, 105, 182, 0.96) 100%);
    border-color: rgba(34, 105, 182, 0.2);
    box-shadow: 0 16px 32px rgba(41, 113, 190, 0.22);
}

.eh-dashboard-metric-accent .eh-kicker {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.eh-dashboard-metric-accent strong,
.eh-dashboard-metric-accent p {
    color: rgba(255, 255, 255, 0.94);
}

.eh-dashboard-pipeline-row,
.eh-dashboard-status-row,
.eh-dashboard-rank-row {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: var(--surface-muted);
    border: 1px solid rgba(123, 162, 200, 0.14);
}

.eh-dashboard-pipeline-copy strong,
.eh-dashboard-status-copy strong,
.eh-dashboard-focus-copy strong,
.eh-dashboard-rank-copy strong,
.eh-dashboard-feed-copy strong {
    display: block;
    color: var(--navy);
}

.eh-dashboard-pipeline-copy p,
.eh-dashboard-status-copy p,
.eh-dashboard-focus-copy p,
.eh-dashboard-rank-copy p,
.eh-dashboard-feed-copy p {
    margin: 0.35rem 0 0;
    color: var(--ink-soft);
    line-height: 1.5;
}

.eh-dashboard-pipeline-metric {
    display: grid;
    gap: 0.55rem;
}

.eh-dashboard-pipeline-track {
    position: relative;
    overflow: hidden;
    height: 0.72rem;
    border-radius: 999px;
    background: rgba(47, 134, 212, 0.12);
}

.eh-dashboard-pipeline-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--fill-size, 0%);
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(24, 166, 157, 0.96) 0%, rgba(47, 134, 212, 0.96) 100%);
}

.eh-dashboard-pipeline-values,
.eh-dashboard-status-value,
.eh-dashboard-rank-value,
.eh-dashboard-feed-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.eh-dashboard-pipeline-values strong,
.eh-dashboard-status-value strong,
.eh-dashboard-rank-value strong {
    color: var(--navy);
    font-size: 1rem;
}

.eh-dashboard-pipeline-values span,
.eh-dashboard-rank-value span,
.eh-dashboard-feed-meta span,
.eh-dashboard-surface-count {
    color: var(--ink-soft);
    font-size: 0.78rem;
    font-weight: 600;
}

.eh-dashboard-activity-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 0.2rem;
    color: var(--ink-soft);
    font-size: 0.8rem;
}

.eh-dashboard-activity-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.eh-dashboard-legend-swatch {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: rgba(47, 134, 212, 0.16);
}

.eh-dashboard-legend-swatch.is-registration,
.eh-dashboard-activity-bar.is-registration {
    background: linear-gradient(180deg, rgba(47, 134, 212, 0.98) 0%, rgba(41, 109, 194, 0.86) 100%);
}

.eh-dashboard-legend-swatch.is-capture,
.eh-dashboard-activity-bar.is-capture {
    background: linear-gradient(180deg, rgba(22, 148, 141, 0.98) 0%, rgba(12, 127, 121, 0.84) 100%);
}

.eh-dashboard-activity-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.55rem;
    align-items: end;
}

.eh-dashboard-activity-day {
    display: grid;
    gap: 0.55rem;
}

.eh-dashboard-activity-bars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.28rem;
    align-items: end;
    min-height: 9rem;
    padding: 0.6rem 0.4rem 0.4rem;
    border-radius: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(236, 244, 252, 0.82) 100%),
        repeating-linear-gradient(
            to top,
            rgba(120, 156, 194, 0.12) 0,
            rgba(120, 156, 194, 0.12) 1px,
            transparent 1px,
            transparent 2rem
        );
    border: 1px solid rgba(123, 162, 200, 0.14);
}

.eh-dashboard-activity-bar {
    display: block;
    width: 100%;
    height: var(--bar-size, 0%);
    min-height: 0;
    border-radius: 999px 999px 0.5rem 0.5rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.eh-dashboard-activity-axis {
    display: grid;
    gap: 0.12rem;
    text-align: center;
}

.eh-dashboard-activity-axis strong {
    color: var(--navy);
    font-size: 0.82rem;
}

.eh-dashboard-activity-axis span {
    color: var(--ink-faint);
    font-size: 0.72rem;
}

.eh-dashboard-status-meter {
    display: flex;
    overflow: hidden;
    min-height: 0.9rem;
    margin-bottom: 0.95rem;
    border-radius: 999px;
    background: rgba(120, 156, 194, 0.12);
}

.eh-dashboard-status-segment {
    width: var(--segment-size, 0%);
}

.eh-dashboard-status-segment.is-draft {
    background: rgba(140, 164, 187, 0.9);
}

.eh-dashboard-status-segment.is-submitted {
    background: rgba(47, 134, 212, 0.82);
}

.eh-dashboard-status-segment.is-reviewed {
    background: rgba(22, 148, 141, 0.92);
}

.eh-dashboard-status-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.eh-dashboard-focus-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(239, 246, 253, 0.96);
    border: 1px solid rgba(123, 162, 200, 0.14);
}

.eh-dashboard-feed-item {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(123, 162, 200, 0.14);
    background: rgba(255, 255, 255, 0.76);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.eh-dashboard-feed-item:hover {
    transform: translateY(-1px);
    border-color: rgba(47, 134, 212, 0.24);
    box-shadow: 0 14px 26px rgba(43, 78, 117, 0.08);
}

.eh-dashboard-feed-meta {
    color: var(--ink-faint);
    font-size: 0.74rem;
    font-weight: 600;
}

.eh-dashboard-rank-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.eh-dashboard-rank-value {
    text-align: right;
}

@media (min-width: 768px) {
    .eh-dashboard-pipeline-row,
    .eh-dashboard-feed-item {
        grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.9fr);
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .eh-dashboard-side {
        position: sticky;
        top: 0.8rem;
    }
}
