:root {
    --navy-950: #062f52;
    --navy-900: #0b416f;
    --navy-800: #0f5689;
    --navy-700: #176b9e;
    --blue-100: #e8f2f8;
    --blue-50: #f4f8fb;
    --green-500: #72b53e;
    --green-100: #edf7e8;
    --ink-900: #142534;
    --ink-700: #405364;
    --ink-500: #6c7b87;
    --line: #dce5eb;
    --line-strong: #c7d5de;
    --paper: #ffffff;
    --canvas: #f3f7f9;
    --warning: #a46812;
    --warning-bg: #fff7e7;
    --shadow: 0 18px 48px rgba(7, 50, 82, .08);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 22px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--canvas);
    color: var(--ink-900);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

.shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.utility-bar {
    min-height: 36px;
    background: var(--navy-950);
    color: rgba(255, 255, 255, .82);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.utility-content {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.utility-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.utility-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--green-500);
}

.site-header {
    position: relative;
    z-index: 5;
    background: var(--paper);
    box-shadow: 0 1px 0 rgba(12, 65, 111, .12);
}

.brand-row {
    min-height: 88px;
    display: flex;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 242px;
    min-width: 242px;
    height: 52px;
    overflow: hidden;
    color: var(--navy-900);
    text-decoration: none;
}

.brand-logo {
    display: block;
    width: 250px;
    max-width: none;
    height: auto;
    margin: -10px 0 -10px -8px;
}

.brand-mark {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border-radius: 4px 4px 18px 4px;
    background:
        radial-gradient(circle at 64% 60%, #fff 0 10%, transparent 11%),
        conic-gradient(from 205deg at 62% 58%, var(--navy-800) 0 28%, #fff 29% 39%, var(--green-500) 40% 67%, var(--navy-900) 68% 100%);
    box-shadow: inset 0 0 0 1px rgba(6, 47, 82, .08);
}

.brand-mark::after {
    content: "";
    position: absolute;
    inset: 30px -8px -8px 9px;
    transform: rotate(-8deg);
    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
}

.brand-mark i {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-copy strong {
    font-size: 21px;
    letter-spacing: -.04em;
}

.brand-copy strong em {
    display: block;
    color: var(--green-500);
    font-style: normal;
}

.brand-copy small {
    margin-top: 5px;
    color: var(--ink-500);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.header-divider {
    align-self: stretch;
    width: 1px;
    height: 34px;
    margin: auto 24px;
    background: var(--line);
}

.portal-name {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.portal-name span {
    color: var(--ink-500);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.portal-name strong {
    color: var(--navy-900);
    font-size: 16px;
    font-weight: 700;
}

.header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.secure-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-500);
    font-size: 12px;
    font-weight: 700;
}

.secure-pill i,
.lock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 4px rgba(114, 181, 62, .13);
}

.ghost-button,
.secondary-action,
.primary-action {
    border: 0;
    border-radius: 7px;
    font-weight: 750;
}

.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--navy-800);
    font-size: 13px;
    text-decoration: none;
}

button:disabled {
    cursor: default;
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 10%, rgba(255, 212, 142, .28), transparent 25%),
        linear-gradient(118deg, #07385f 0%, #0e5687 52%, #3287a9 100%);
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green-500) 0 31%, #f2c548 31% 34%, transparent 34%);
}

.hero-water {
    position: absolute;
    inset: 0;
    opacity: .82;
    overflow: hidden;
}

.hero-water::before {
    content: "";
    position: absolute;
    inset: 48% -5% -20%;
    transform: rotate(-2deg);
    background:
        repeating-linear-gradient(176deg, transparent 0 16px, rgba(255,255,255,.06) 17px, transparent 18px 32px),
        linear-gradient(180deg, rgba(51, 153, 180, .48), rgba(4, 42, 70, .72));
}

.sun-glow {
    position: absolute;
    top: 48px;
    right: 23%;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 231, 170, .38), transparent 68%);
}

.mountain {
    position: absolute;
    top: 117px;
    right: -7%;
    width: 57%;
    height: 132px;
    opacity: .7;
    clip-path: polygon(0 88%, 11% 57%, 20% 74%, 34% 22%, 43% 55%, 57% 13%, 69% 53%, 82% 22%, 100% 70%, 100% 100%, 0 100%);
    background: #234f55;
}

.mountain-two {
    top: 155px;
    right: -14%;
    width: 72%;
    opacity: .62;
    background: #173c45;
}

.dock {
    position: absolute;
    right: 0;
    bottom: 46px;
    width: 47%;
    height: 10px;
    transform: rotate(-3deg);
    background: rgba(3, 32, 53, .8);
}

.container-stack {
    position: absolute;
    right: 18%;
    bottom: 61px;
    width: 112px;
    height: 35px;
    transform: skewY(-3deg);
    background:
        linear-gradient(90deg, #c6a13b 0 31%, transparent 31% 34%, #9f4c35 34% 66%, transparent 66% 69%, #5d8b8c 69% 100%);
    box-shadow: 0 -12px 0 -2px rgba(176, 104, 54, .72);
}

.stack-two {
    right: 5%;
    bottom: 74px;
    transform: scale(.72) skewY(-3deg);
}

.crane {
    position: absolute;
    right: 31%;
    bottom: 76px;
    width: 4px;
    height: 87px;
    transform: rotate(4deg);
    background: rgba(10, 32, 46, .85);
}

.crane::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 84px;
    height: 4px;
    transform-origin: right;
    transform: rotate(-16deg);
    background: inherit;
}

.crane-two {
    right: 25%;
    height: 70px;
    transform: scale(.8);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 42px;
    padding-bottom: 58px;
}

.breadcrumb {
    margin-bottom: 54px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
}

.breadcrumb span {
    color: #fff;
}

.breadcrumb b {
    margin: 0 9px;
    color: var(--green-500);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: end;
    gap: 64px;
}

.eyebrow,
.section-kicker,
.mini-label {
    display: block;
    margin-bottom: 10px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.eyebrow {
    color: #bce59c;
}

.hero h1 {
    max-width: 710px;
    margin: 0;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 730;
    letter-spacing: -.045em;
    line-height: .98;
}

.hero-content > .hero-grid > div:first-child > p {
    max-width: 710px;
    margin: 24px 0 28px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    line-height: 1.6;
}

.hero-meta {
    display: flex;
    gap: 34px;
}

.hero-meta span {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

.hero-meta b {
    color: #fff;
    font-size: 10px;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-md);
    background: rgba(4, 35, 59, .43);
    backdrop-filter: blur(10px);
}

.status-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--green-500);
    color: #fff;
    font-size: 16px;
    font-weight: 850;
}

.hero-status div {
    display: flex;
    flex-direction: column;
}

.hero-status small {
    color: rgba(255, 255, 255, .6);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hero-status strong {
    margin: 2px 0;
    font-size: 16px;
}

.hero-status div > span {
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
}

.notice-strip {
    background: var(--blue-100);
    border-bottom: 1px solid #d7e6ee;
}

.notice-content {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notice-content p {
    margin: 0;
    color: var(--ink-700);
    font-size: 12px;
}

.notice-icon {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    flex: 0 0 22px;
    border-radius: 50%;
    background: var(--navy-800);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 700;
}

.page-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    padding-top: 44px;
    padding-bottom: 80px;
}

.form-nav {
    position: sticky;
    top: 20px;
}

.nav-progress,
.form-nav ol,
.help-card {
    border: 1px solid var(--line);
    background: var(--paper);
}

.nav-progress {
    padding: 18px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom: 0;
}

.nav-progress-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 10px;
}

.nav-progress-copy span {
    color: var(--ink-500);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.nav-progress-copy strong {
    color: var(--navy-800);
    font-size: 12px;
}

.progress-track {
    height: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--line);
}

.progress-track span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--green-500);
    transition: width .22s ease;
}

.form-nav ol {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.form-nav li a {
    position: relative;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 18px;
    color: var(--ink-700);
    text-decoration: none;
}

.form-nav li a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 3px;
    background: transparent;
}

.form-nav li.active a {
    background: var(--blue-50);
    color: var(--navy-900);
}

.form-nav li.active a::before {
    background: var(--green-500);
}

.form-nav li a > span {
    width: 25px;
    color: #9ba9b3;
    font-size: 10px;
    font-weight: 850;
}

.form-nav li.active a > span {
    color: var(--green-500);
}

.form-nav li a div {
    display: flex;
    flex-direction: column;
}

.form-nav li strong {
    font-size: 12px;
    font-weight: 750;
}

.form-nav li small {
    color: var(--ink-500);
    font-size: 10px;
}

.help-card {
    position: relative;
    margin-top: 16px;
    padding: 18px;
    overflow: hidden;
    border-color: #cfe0e9;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, #f2f8fb, #fff);
}

.help-card::after {
    content: "";
    position: absolute;
    top: -35px;
    right: -35px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(114, 181, 62, .11);
}

.help-badge {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--navy-800);
    color: #fff;
    font-weight: 800;
}

.help-card strong {
    display: block;
    color: var(--navy-900);
    font-size: 13px;
}

.help-card p {
    margin: 4px 0 10px;
    color: var(--ink-500);
    font-size: 11px;
}

.help-card a {
    color: var(--navy-800);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-section {
    padding: 34px;
    scroll-margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.section-kicker {
    margin-bottom: 14px;
    color: var(--green-500);
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.section-number {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    box-shadow: 0 0 0 6px var(--blue-100);
}

.section-heading h2 {
    margin: -3px 0 3px;
    color: var(--navy-950);
    font-size: 25px;
    font-weight: 760;
    letter-spacing: -.025em;
}

.section-heading p {
    margin: 0;
    color: var(--ink-500);
    font-size: 13px;
}

.ethics-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border: 1px solid #cfe1ea;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #f3f9fc, #fff);
}

.ethics-symbol {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--navy-800);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
}

.mini-label {
    margin-bottom: 3px;
    color: var(--green-500);
}

.ethics-card h3 {
    margin: 0;
    color: var(--navy-950);
    font-size: 15px;
}

.ethics-card p {
    max-width: 570px;
    margin: 5px 0 8px;
    color: var(--ink-500);
    font-size: 11px;
}

.document-link {
    color: var(--navy-800);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.document-link span {
    color: var(--green-500);
}

.acceptance-check,
.final-acceptance,
.not-applicable {
    cursor: pointer;
}

.acceptance-check {
    min-width: 164px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--navy-900);
    font-size: 11px;
    font-weight: 800;
}

.acceptance-check input,
.final-acceptance input {
    position: absolute;
    opacity: 0;
}

.acceptance-check > span,
.final-acceptance > span {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 1.5px solid #9aadb9;
    border-radius: 5px;
    background: #fff;
}

.acceptance-check input:checked + span,
.final-acceptance input:checked + span {
    border-color: var(--green-500);
    background: var(--green-500);
    box-shadow: inset 0 0 0 4px #fff;
}

.info-callout,
.risk-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
}

.language-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: -7px 0 24px;
    padding: 13px 15px;
    border: 1px solid #c9dfec;
    border-radius: var(--radius-sm);
    background: var(--blue-50);
}

.language-notice > span {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-800);
    color: #fff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .05em;
}

.language-notice p {
    margin: 0;
    color: var(--ink-700);
    font-size: 10px;
}

.info-callout {
    background: var(--blue-50);
    color: var(--ink-700);
}

.info-callout > span,
.risk-note > span {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 800;
}

.info-callout > span {
    background: var(--navy-800);
}

.info-callout p,
.risk-note p {
    margin: 0;
    font-size: 11px;
}

.info-callout b {
    color: #bd3e3e;
}

.subsection-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 32px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 800;
}

.section-heading + .subsection-title {
    margin-top: 0;
}

.subsection-title span {
    color: var(--green-500);
    font-size: 10px;
    letter-spacing: .06em;
}

.subsection-copy {
    margin: -9px 0 18px;
    color: var(--ink-500);
    font-size: 12px;
}

.fields-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px 16px;
}

.field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field-wide {
    grid-column: span 2;
}

.field-full {
    grid-column: 1 / -1;
}

.field > span,
.field legend {
    color: var(--ink-700);
    font-size: 11px;
    font-weight: 750;
}

.field b {
    color: #c94848;
}

.field small {
    color: var(--ink-500);
    font-size: 9px;
}

.field small.field-error {
    color: #a93232;
    font-weight: 650;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: var(--ink-900);
    font-size: 12px;
    transition: border-color .18s ease, box-shadow .18s ease;
}

input,
select {
    height: 43px;
    padding: 0 12px;
}

textarea {
    padding: 11px 12px;
    resize: vertical;
}

select {
    padding-right: 34px;
    appearance: auto;
}

input::placeholder,
textarea::placeholder {
    color: #9ba8b1;
}

input[readonly] {
    border-color: #d8e4ea;
    background: #f4f8fa;
    color: var(--navy-800);
    font-weight: 700;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(23, 107, 158, .1);
}

.segmented-field {
    margin: 0;
    padding: 0;
    border: 0;
}

.segmented-field legend {
    margin-bottom: 6px;
}

.segmented-control {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    min-height: 43px;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
}

.segmented-control.two {
    grid-template-columns: repeat(2, 1fr);
}

.segmented-control label {
    margin: 0;
    border-right: 1px solid var(--line);
}

.segmented-control label:last-child {
    border-right: 0;
}

.segmented-control input {
    position: absolute;
    opacity: 0;
}

.segmented-control span {
    height: 100%;
    display: grid;
    place-items: center;
    padding: 0 8px;
    color: var(--ink-700);
    font-size: 11px;
    font-weight: 700;
}

.segmented-control input:checked + span {
    background: var(--blue-100);
    color: var(--navy-900);
    box-shadow: inset 0 -2px var(--green-500);
}

.contact-band {
    display: grid;
    grid-template-columns: 210px 1fr 1fr;
    align-items: end;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.contact-band:last-child {
    border-bottom: 0;
}

.contact-band-title {
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-band-title > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--navy-800);
    font-size: 10px;
    font-weight: 850;
}

.contact-band-title div {
    display: flex;
    flex-direction: column;
}

.contact-band-title strong {
    color: var(--navy-900);
    font-size: 12px;
}

.contact-band-title small {
    color: var(--ink-500);
    font-size: 9px;
}

.question-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.question-row {
    min-height: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 175px;
    align-items: center;
    gap: 20px;
    padding: 8px 12px 8px 18px;
    border-bottom: 1px solid var(--line);
}

.question-row:last-child {
    border-bottom: 0;
}

.question-row:nth-child(even) {
    background: var(--blue-50);
}

.question-row span {
    color: var(--ink-700);
    font-size: 12px;
    font-weight: 650;
}

.question-row select {
    height: 38px;
}

.risk-note {
    border: 1px solid #f2dcae;
    background: var(--warning-bg);
    color: #805516;
}

.risk-note > span {
    background: #d9962b;
    font-family: inherit;
}

.reference-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reference-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.reference-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 15px;
    background: var(--blue-50);
}

.reference-head span {
    color: var(--navy-900);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.reference-head small {
    color: var(--ink-500);
    font-size: 9px;
}

.reference-fields {
    display: grid;
    grid-template-columns: 1.25fr 1.25fr .8fr .8fr;
    gap: 12px;
    padding: 16px;
}

.table-card {
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.table-scroll {
    overflow-x: auto;
}

.table-card table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}

.table-card th {
    padding: 11px 12px;
    border-right: 1px solid rgba(255,255,255,.12);
    background: var(--navy-900);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-align: left;
    text-transform: uppercase;
}

.table-card td {
    padding: 12px 6px;
    border-right: 1px solid var(--line);
    background: #fff;
}

.table-card td:first-child {
    padding-left: 12px;
}

.table-card td:last-child {
    padding-right: 12px;
    border-right: 0;
}

.table-card input,
.table-card select {
    height: 39px;
}

.percent-input {
    position: relative;
}

.percent-input input {
    padding-right: 30px;
}

.percent-input span {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    color: var(--ink-500);
    font-size: 11px;
}

.table-actions {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px;
    border-top: 1px solid var(--line);
    background: var(--blue-50);
}

.not-applicable {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink-700);
    font-size: 10px;
}

.not-applicable input {
    width: 15px;
    height: 15px;
}

.table-actions button,
.certificate-row button,
.upload-row button {
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #fff;
    color: var(--navy-800);
    font-size: 10px;
    font-weight: 800;
}

.table-actions button {
    padding: 8px 11px;
}

.check-group {
    display: flex;
    gap: 14px;
}

.certificate-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.certificate-row {
    min-height: 68px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 118px;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
}

.certificate-row:last-child {
    border-bottom: 0;
}

.certificate-row:nth-child(even) {
    background: var(--blue-50);
}

.certificate-row > div {
    display: flex;
    flex-direction: column;
}

.certificate-row strong {
    color: var(--navy-900);
    font-size: 12px;
}

.certificate-row span {
    color: var(--ink-500);
    font-size: 9px;
}

.certificate-row select,
.certificate-row input {
    height: 38px;
}

.certificate-row button {
    height: 38px;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.environment-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 120px;
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--blue-50);
}

.environment-card > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--green-500);
    font-size: 10px;
    font-weight: 850;
}

.environment-card p {
    margin: 0;
    color: var(--ink-700);
    font-size: 11px;
    font-weight: 700;
}

.environment-card select,
.environment-card input {
    height: 38px;
}

.environment-wide {
    grid-column: 1 / -1;
    grid-template-columns: 34px minmax(0, 1fr) 120px 230px;
}

.upload-list {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.upload-row {
    min-height: 74px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 38px 135px;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
}

.upload-row:last-child {
    border-bottom: 0;
}

.upload-row:hover {
    background: var(--blue-50);
}

.upload-index {
    color: var(--green-500);
    font-size: 10px;
    font-weight: 850;
}

.upload-row > div {
    display: flex;
    flex-direction: column;
}

.upload-row strong {
    color: var(--ink-700);
    font-size: 11px;
}

.upload-row small {
    color: var(--ink-500);
    font-size: 9px;
}

.upload-template-link {
    width: fit-content;
    margin-top: 6px;
    color: var(--blue-700);
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
}

.upload-template-link:hover,
.upload-template-link:focus-visible {
    color: var(--green-700);
    text-decoration: underline;
}

.file-type {
    padding: 4px 5px;
    border-radius: 4px;
    background: #f5e8e8;
    color: #a84949;
    font-size: 8px;
    font-weight: 850;
    text-align: center;
}

.upload-row button {
    height: 36px;
}

.file-picker {
    position: relative;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 10px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #fff;
    color: var(--navy-800);
    cursor: pointer;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
}

.file-picker:hover {
    border-color: var(--green-500);
    color: var(--green-700);
}

.file-picker input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.file-picker.is-disabled {
    cursor: wait;
    opacity: .55;
    pointer-events: none;
}

.certificate-row .file-picker span {
    color: inherit;
    font-size: 10px;
}

.upload-row.uploaded {
    background: #f5fbf1;
}

.upload-row.uploaded .file-type {
    background: #e3f2d9;
    color: #3d7623;
}

.privacy-panel {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.privacy-document-card {
    min-height: 76px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 22px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.privacy-document-icon {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #f5e8e8;
    color: #a84949;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
}

.privacy-document-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.privacy-document-copy strong {
    color: var(--ink-700);
    font-size: 11px;
}

.privacy-document-copy small {
    color: var(--ink-500);
    font-size: 9px;
}

.privacy-document-action {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    background: #fff;
    color: var(--navy-800);
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.privacy-document-card:hover {
    background: var(--blue-50);
}

.privacy-document-action:hover,
.privacy-document-action:focus-visible {
    border-color: var(--green-500);
    color: var(--green-700);
}

.privacy-panel summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    cursor: pointer;
    background: var(--blue-50);
    color: var(--navy-900);
    font-size: 12px;
    font-weight: 800;
    list-style: none;
}

.privacy-panel summary::-webkit-details-marker {
    display: none;
}

.privacy-panel summary::after {
    content: "+";
    color: var(--green-500);
    font-size: 18px;
}

.privacy-panel[open] summary::after {
    content: "−";
}

.privacy-panel summary small {
    margin-left: auto;
    color: var(--ink-500);
    font-size: 9px;
    font-weight: 650;
}

.privacy-copy {
    padding: 16px;
    color: var(--ink-500);
    font-size: 11px;
}

.privacy-copy p:first-child {
    margin-top: 0;
}

.privacy-copy p:last-child {
    margin-bottom: 0;
}

.final-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 17px;
    border: 1px solid #cfe1c3;
    border-radius: var(--radius-md);
    background: var(--green-100);
}

.final-acceptance > span {
    margin-top: 2px;
    border-color: #82ad65;
}

.final-acceptance div {
    display: flex;
    flex-direction: column;
}

.final-acceptance strong {
    color: #315325;
    font-size: 11px;
}

.final-acceptance small {
    color: #6a8060;
    font-size: 9px;
}

.form-footer-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.form-footer-actions > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.form-footer-actions p {
    margin: 0;
    color: var(--ink-500);
    font-size: 10px;
}

.backend-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid;
    border-radius: 7px;
    font-size: 11px;
}

.backend-message p {
    margin: 0;
}

.backend-message.success {
    border-color: #b9daa5;
    background: #f3faef;
    color: #315f1f;
}

.backend-message.error {
    border-color: #e3b7b7;
    background: #fff3f3;
    color: #922f2f;
}

.secondary-action:disabled,
.primary-action:disabled {
    cursor: wait;
    opacity: .6;
}

.secondary-action,
.primary-action {
    min-height: 44px;
    padding: 0 18px;
    font-size: 11px;
}

.secondary-action {
    border: 1px solid var(--line-strong);
    background: #fff;
    color: var(--navy-800);
}

.primary-action {
    background: var(--green-500);
    color: #fff;
    box-shadow: 0 8px 18px rgba(80, 144, 40, .2);
}

.primary-action span {
    margin-left: 12px;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--navy-950);
    color: #fff;
}

.footer-pattern {
    height: 18px;
    background:
        radial-gradient(circle at 4px -1px, var(--canvas) 3px, transparent 3.5px) 0 0 / 13px 9px repeat-x,
        var(--navy-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr repeat(3, 1fr);
    gap: 45px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
}

.footer-grid span {
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.footer-grid strong {
    margin: 5px 0 2px;
    font-size: 11px;
}

.footer-grid small {
    color: rgba(255,255,255,.55);
    font-size: 9px;
}

.footer-brand {
    display: flex;
    align-items: center;
    width: min(100%, 242px);
    height: 42px;
    min-height: 42px;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
}

.footer-logo {
    display: block;
    width: 250px;
    max-width: none;
    height: auto;
    margin: -15px 0 -15px -8px;
}

.brand-mark.small {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}

.footer-brand div {
    display: flex;
    flex-direction: column;
}

.footer-brand strong {
    margin: 0;
    font-size: 15px;
}

.footer-brand small {
    color: rgba(255,255,255,.55);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-bottom {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.1);
    color: rgba(255,255,255,.53);
    font-size: 9px;
}

.footer-bottom .shell {
    display: flex;
    justify-content: space-between;
}

#blazor-error-ui {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: none;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff0d8;
    color: #684514;
    box-shadow: 0 12px 30px rgba(0,0,0,.18);
    font-size: 12px;
}

#blazor-error-ui a {
    margin-left: 12px;
}

.intake-page {
    min-height: calc(100vh - 124px);
    background:
        linear-gradient(180deg, transparent 0 315px, var(--canvas) 315px),
        var(--canvas);
}

.intake-hero {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    background:
        radial-gradient(circle at 72% 8%, rgba(255, 218, 147, .28), transparent 26%),
        linear-gradient(118deg, #07385f 0%, #0e5687 54%, #3287a9 100%);
    color: #fff;
}

.intake-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(90deg, var(--green-500) 0 31%, #f2c548 31% 34%, transparent 34%);
}

.intake-water {
    opacity: .68;
}

.intake-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 38px;
    padding-bottom: 84px;
}

.intake-hero-content .breadcrumb {
    margin-bottom: 46px;
}

.intake-hero h1 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(42px, 5vw, 62px);
    font-weight: 730;
    letter-spacing: -.045em;
    line-height: 1;
}

.intake-hero-content > p {
    max-width: 650px;
    margin: 20px 0 20px;
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
}

.intake-security {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 700;
}

.intake-security .lock-dot {
    flex: 0 0 8px;
}

.intake-shell {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    align-items: start;
    gap: 28px;
    margin-top: -42px;
    padding-bottom: 76px;
}

.intake-aside,
.intake-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.intake-aside {
    padding: 26px 24px;
}

.intake-aside .section-kicker {
    margin-bottom: 8px;
}

.intake-aside h2 {
    margin: 0;
    color: var(--navy-950);
    font-size: 22px;
    letter-spacing: -.03em;
}

.intake-aside > p {
    margin: 8px 0 24px;
    color: var(--ink-500);
    font-size: 11px;
}

.intake-steps {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.intake-steps::before {
    content: "";
    position: absolute;
    top: 23px;
    bottom: 23px;
    left: 18px;
    width: 1px;
    background: var(--line);
}

.intake-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
}

.intake-steps li > span {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    color: #9ba9b3;
    font-size: 10px;
    font-weight: 850;
}

.intake-steps li.current > span {
    border-color: var(--navy-900);
    background: var(--navy-900);
    color: #fff;
    box-shadow: 0 0 0 5px var(--blue-100);
}

.intake-steps li div {
    display: flex;
    flex-direction: column;
}

.intake-steps strong {
    color: var(--ink-700);
    font-size: 11px;
}

.intake-steps li.current strong {
    color: var(--navy-900);
}

.intake-steps small {
    color: var(--ink-500);
    font-size: 9px;
}

.intake-help {
    display: flex;
    gap: 11px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.intake-help > span {
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-100);
    color: var(--navy-800);
    font-size: 12px;
    font-weight: 850;
}

.intake-help div {
    display: flex;
    flex-direction: column;
}

.intake-help strong {
    color: var(--navy-900);
    font-size: 10px;
}

.intake-help small {
    color: var(--ink-500);
    font-size: 9px;
}

.intake-interest-document {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
    padding: 14px 12px;
    border: 1px solid #cfe1ea;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--blue-50), #fff);
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.intake-interest-document:hover,
.intake-interest-document:focus-visible {
    border-color: var(--navy-800);
    box-shadow: 0 8px 20px rgba(11, 65, 102, .11);
    transform: translateY(-1px);
}

.intake-interest-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--navy-800);
    color: #fff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .04em;
}

.intake-interest-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.intake-interest-copy small {
    color: var(--green-500);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.intake-interest-copy strong {
    margin-top: 2px;
    color: var(--navy-950);
    font-size: 10px;
}

.intake-interest-copy > span {
    margin-top: 2px;
    color: var(--ink-500);
    font-size: 8px;
}

.intake-interest-arrow {
    color: var(--green-500);
    font-size: 15px;
    font-weight: 850;
}

.intake-card {
    padding: 34px;
}

.intake-card-head {
    margin-bottom: 24px;
}

.step-label {
    color: var(--green-500);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.intake-card-head h2 {
    margin: 5px 0 3px;
    color: var(--navy-950);
    font-size: 26px;
    letter-spacing: -.03em;
}

.intake-card-head p {
    margin: 0;
    color: var(--ink-500);
    font-size: 12px;
}

.person-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.person-type-card {
    position: relative;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    outline: none;
    background: #fff;
    color: var(--ink-700);
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.person-type-card:hover {
    transform: translateY(-2px);
    border-color: #a9c4d5;
    box-shadow: 0 10px 24px rgba(7, 50, 82, .08);
}

.person-type-card:focus-visible {
    box-shadow: 0 0 0 3px rgba(23, 107, 158, .17);
}

.person-type-card.selected {
    border-color: var(--navy-700);
    background: linear-gradient(145deg, #f3f9fc, #fff);
    box-shadow: inset 0 -3px var(--green-500), 0 10px 24px rgba(7, 50, 82, .08);
}

.person-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 12px;
    background: var(--blue-100);
    color: var(--navy-800);
    font-size: 12px;
    font-weight: 850;
}

.person-type-card.selected .person-icon {
    background: var(--navy-800);
    color: #fff;
}

.selection-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    color: transparent;
    font-size: 10px;
    font-weight: 850;
}

.person-type-card.selected .selection-check {
    border-color: var(--green-500);
    background: var(--green-500);
    color: #fff;
}

.person-type-card strong {
    color: var(--navy-950);
    font-size: 14px;
}

.person-type-card small {
    margin-top: 4px;
    color: var(--ink-500);
    font-size: 10px;
    line-height: 1.45;
}

.document-panel {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #d4e3eb;
    border-radius: var(--radius-md);
    background: var(--blue-50);
}

.document-panel-copy {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.document-step {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
}

.document-panel-copy div {
    display: flex;
    flex-direction: column;
}

.document-panel-copy strong {
    color: var(--navy-950);
    font-size: 13px;
}

.document-panel-copy small {
    color: var(--ink-500);
    font-size: 10px;
}

.intake-document-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.intake-document-field > span {
    color: var(--ink-700);
    font-size: 11px;
    font-weight: 750;
}

.intake-document-field b {
    color: #c94848;
}

.intake-document-field > small {
    color: var(--ink-500);
    font-size: 9px;
}

.document-input-wrap {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.document-input-wrap:focus-within {
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px rgba(23, 107, 158, .1);
}

.document-input-wrap.has-error {
    border-color: #cf6767;
    box-shadow: 0 0 0 3px rgba(191, 60, 60, .08);
}

.document-input-wrap > span {
    display: grid;
    place-items: center;
    border-right: 1px solid var(--line);
    background: #f7fafb;
    color: var(--navy-800);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .06em;
}

.document-input-wrap input {
    height: 48px;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 650;
}

.document-input-wrap input:focus {
    box-shadow: none;
}

.document-message {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
}

.document-message span {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 9px;
    font-weight: 850;
}

.document-message.error {
    background: #fff0f0;
    color: #9b3939;
}

.document-message.error span {
    background: #c95555;
}

.document-message.success {
    background: var(--green-100);
    color: #3f6c2d;
}

.document-message.success span {
    background: var(--green-500);
}

.intake-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.intake-privacy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.intake-privacy p {
    margin: 0;
    color: var(--ink-500);
    font-size: 9px;
}

.intake-continue {
    min-width: 205px;
    cursor: pointer;
}

.intake-footer {
    margin-top: 0;
}

.status-query-page {
    min-height: calc(100vh - 300px);
    background: var(--canvas);
}

.status-query-hero {
    min-height: 245px;
    padding: 48px 0 76px;
    background:
        radial-gradient(circle at 78% 28%, rgba(74, 159, 193, .32), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: #fff;
}

.status-query-hero .breadcrumb {
    margin-bottom: 34px;
}

.status-query-hero h1 {
    margin: 8px 0 10px;
    font-size: clamp(34px, 5vw, 48px);
    letter-spacing: -.04em;
}

.status-query-hero p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
}

.status-query-shell {
    position: relative;
    z-index: 1;
    width: min(100% - 32px, 560px);
    margin: -42px auto 64px;
}

.status-query-card {
    display: grid;
    gap: 18px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: 0 22px 55px rgba(13, 58, 91, .13);
}

.status-query-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.status-query-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--navy-800);
    font-size: 18px;
    font-weight: 850;
}

.status-query-heading h2 {
    margin: 0 0 3px;
    color: var(--navy-900);
    font-size: 21px;
}

.status-query-heading p {
    margin: 0;
    color: var(--ink-500);
    font-size: 11px;
}

.status-query-button {
    min-height: 46px;
    margin-top: 2px;
}

.status-query-message {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 12px 14px;
    border: 1px solid #e3b7b7;
    border-radius: 7px;
    background: #fff3f3;
    color: #922f2f;
    font-size: 11px;
}

.status-query-message p {
    margin: 0;
}

.status-query-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 24px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--blue-50);
    text-align: center;
}

.status-query-result small {
    color: var(--ink-500);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.status-query-result strong {
    color: var(--navy-900);
    font-size: 26px;
}

.status-query-result.submitted,
.status-query-result.under-review {
    border-color: #b7d5e3;
    background: #eef8fc;
}

.status-query-result.approved {
    border-color: #b9daa5;
    background: #f3faef;
}

.status-query-result.approved strong {
    color: #315f1f;
}

.status-query-result.rejected {
    border-color: #e3b7b7;
    background: #fff3f3;
}

.status-query-result.rejected strong {
    color: #922f2f;
}

.status-query-footer {
    margin-top: 0;
}

@media (max-width: 1040px) {
    .page-grid {
        grid-template-columns: 1fr;
    }

    .form-nav {
        position: static;
    }

    .form-nav ol {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }

    .form-nav li a {
        min-height: 66px;
        padding-inline: 13px;
    }

    .help-card {
        display: none;
    }

    .reference-fields {
        grid-template-columns: repeat(2, 1fr);
    }

    .environment-card {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .environment-card select {
        grid-column: 2;
    }

    .environment-wide {
        grid-template-columns: 34px minmax(0, 1fr) 120px;
    }

    .environment-wide select {
        grid-column: auto;
    }

    .environment-wide input {
        grid-column: 2 / -1;
    }

    .intake-shell {
        grid-template-columns: 230px minmax(0, 1fr);
    }
}

@media (max-width: 820px) {
    .header-divider,
    .portal-name,
    .secure-pill {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-status {
        max-width: 380px;
    }

    .fields-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .field-wide {
        grid-column: span 1;
    }

    .field-full {
        grid-column: 1 / -1;
    }

    .contact-band {
        grid-template-columns: 1fr 1fr;
    }

    .contact-band-title {
        grid-column: 1 / -1;
    }

    .certificate-row {
        grid-template-columns: minmax(0, 1fr) 135px 105px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .intake-shell {
        grid-template-columns: 1fr;
        margin-top: -30px;
    }

    .intake-aside {
        display: none;
    }
}

@media (max-width: 640px) {
    .shell {
        width: min(100% - 28px, 1180px);
    }

    .utility-content > span:first-child,
    .utility-links span:last-child,
    .utility-dot {
        display: none;
    }

    .utility-content {
        justify-content: flex-end;
    }

    .brand-row {
        min-height: 76px;
    }

    .brand {
        width: 215px;
        min-width: 215px;
        height: 44px;
    }

    .brand-logo {
        width: 222px;
        margin: -10px 0 -10px -7px;
    }

    .status-query-hero {
        min-height: 220px;
        padding: 34px 0 66px;
    }

    .status-query-shell {
        margin-top: -34px;
    }

    .status-query-card {
        padding: 22px 18px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .brand-copy strong {
        font-size: 17px;
    }

    .ghost-button {
        display: none;
    }

    .hero {
        min-height: 440px;
    }

    .hero-content {
        padding-top: 28px;
        padding-bottom: 42px;
    }

    .breadcrumb {
        margin-bottom: 42px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-content > .hero-grid > div:first-child > p {
        margin: 18px 0 22px;
        font-size: 14px;
    }

    .hero-meta {
        gap: 20px;
    }

    .hero-status {
        padding: 15px;
    }

    .hero-water {
        opacity: .55;
    }

    .intake-hero {
        min-height: 410px;
    }

    .intake-hero-content {
        padding-top: 28px;
        padding-bottom: 70px;
    }

    .intake-hero-content .breadcrumb {
        margin-bottom: 40px;
    }

    .intake-hero h1 {
        font-size: 42px;
    }

    .intake-hero-content > p {
        font-size: 14px;
    }

    .intake-card {
        padding: 24px 18px;
    }

    .person-type-grid {
        grid-template-columns: 1fr;
    }

    .person-type-card {
        min-height: 112px;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-content: center;
        column-gap: 12px;
    }

    .person-icon {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .person-type-card strong,
    .person-type-card small {
        grid-column: 2;
    }

    .document-panel {
        padding: 18px;
    }

    .document-panel-copy {
        align-items: flex-start;
    }

    .intake-actions {
        grid-template-columns: 1fr;
    }

    .intake-continue {
        width: 100%;
    }

    .notice-content {
        align-items: flex-start;
        padding-top: 11px;
        padding-bottom: 11px;
    }

    .page-grid {
        gap: 16px;
        padding-top: 22px;
        padding-bottom: 46px;
    }

    .form-nav ol {
        display: flex;
        overflow-x: auto;
        padding: 5px;
        scrollbar-width: none;
    }

    .form-nav ol::-webkit-scrollbar {
        display: none;
    }

    .form-nav li {
        min-width: 175px;
    }

    .form-nav li a {
        min-height: 58px;
    }

    .form-section {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .section-heading {
        gap: 14px;
        margin-bottom: 24px;
    }

    .section-heading h2 {
        font-size: 21px;
        line-height: 1.2;
    }

    .ethics-card {
        grid-template-columns: 44px minmax(0, 1fr);
        padding: 18px;
    }

    .ethics-symbol {
        width: 42px;
        height: 42px;
    }

    .acceptance-check {
        grid-column: 1 / -1;
        width: 100%;
    }

    .fields-grid,
    .contact-band,
    .reference-fields,
    .environment-grid {
        grid-template-columns: 1fr;
    }

    .field-wide,
    .field-full,
    .contact-band-title,
    .environment-wide {
        grid-column: 1;
    }

    .question-row {
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 12px;
    }

    .segmented-control {
        grid-template-columns: 1fr;
    }

    .segmented-control label {
        min-height: 41px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .segmented-control label:last-child {
        border-bottom: 0;
    }

    .environment-card,
    .environment-wide {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .environment-card select,
    .environment-wide select,
    .environment-wide input {
        grid-column: 1 / -1;
    }

    .certificate-row {
        grid-template-columns: 1fr 1fr;
        padding: 14px;
    }

    .certificate-row > div {
        grid-column: 1 / -1;
    }

    .upload-row {
        grid-template-columns: 26px minmax(0, 1fr) 35px;
        padding: 13px 12px;
    }

    .upload-row button,
    .upload-row .file-picker {
        grid-column: 2 / -1;
    }

    .privacy-document-card {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 13px 12px;
    }

    .privacy-document-action {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .table-actions,
    .table-actions-wrap,
    .check-group {
        align-items: flex-start;
        flex-direction: column;
    }

    .privacy-panel summary small {
        display: none;
    }

    .form-footer-actions {
        grid-template-columns: 1fr 1fr;
    }

    .form-footer-actions > div {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom .shell {
        flex-direction: column;
        justify-content: center;
        gap: 2px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

/* Módulo interno de revisión */
.review-auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(420px, 560px);
    background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 48%, var(--canvas) 48%);
    padding: clamp(28px, 6vw, 80px);
    gap: clamp(32px, 8vw, 120px);
    align-items: center;
}

.review-auth-brand { color: #fff; align-self: start; display: flex; flex-direction: column; gap: 28px; }
.review-auth-brand img { width: min(390px, 80vw); height: 86px; object-fit: contain; object-position: left center; }
.review-auth-brand div { display: flex; flex-direction: column; gap: 4px; }
.review-auth-brand span { color: #b8d8e8; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; }
.review-auth-brand strong { font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1.1; }

.review-auth-card { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 28px 70px rgba(5, 39, 65, .16); padding: clamp(28px, 5vw, 52px); }
.review-auth-card h1 { color: var(--navy-950); font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.05; margin: 10px 0 12px; }
.review-auth-card > p { color: var(--ink-500); margin: 0 0 28px; }
.eyebrow { display: block; color: var(--green-500); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.review-form { display: grid; gap: 18px; }
.review-form label, .review-action-card label { display: grid; gap: 7px; color: var(--navy-950); font-weight: 700; font-size: .86rem; }
.review-form input, .review-form select, .review-form textarea, .review-action-card select, .review-action-card textarea, .review-filters input, .review-filters select { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: 9px; background: #fff; color: var(--ink-900); padding: 10px 12px; outline: none; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus, .review-filters input:focus, .review-filters select:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(23,107,158,.12); }
.review-form small { color: var(--ink-500); margin-top: -10px; }
.review-primary, .review-secondary, .review-danger { border: 0; border-radius: 9px; min-height: 44px; padding: 10px 18px; font-weight: 800; cursor: pointer; text-align: center; }
.review-primary { background: var(--navy-800); color: #fff; }
.review-primary:hover { background: var(--navy-900); }
.review-secondary { background: var(--blue-100); color: var(--navy-900); border: 1px solid #c7dce9; }
.review-danger { background: #fff0ec; color: #a33a23; border: 1px solid #efc0b4; }
.review-primary:disabled, .review-secondary:disabled, .review-danger:disabled { opacity: .55; cursor: not-allowed; }
.button-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.review-auth-links { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 20px; }
.review-auth-links a { color: var(--navy-800); font-size: .84rem; font-weight: 700; text-decoration: none; }
.review-alert { border-radius: 10px; padding: 13px 16px; margin: 16px 0; font-size: .9rem; }
.review-alert.error { background: #fff0ec; color: #8f321e; border: 1px solid #efc0b4; }
.review-alert.success { background: var(--green-100); color: #35691d; border: 1px solid #bfdfa9; }

.review-header { background: var(--navy-950); color: #fff; border-bottom: 4px solid var(--green-500); }
.review-header-row { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.review-brand { display: flex; align-items: center; gap: 22px; text-decoration: none; font-weight: 750; }
.review-brand img { width: 250px; height: 56px; object-fit: contain; object-position: left center; }
.review-brand span { border-left: 1px solid rgba(255,255,255,.25); padding-left: 22px; }
.review-header nav { display: flex; align-items: center; gap: 24px; }
.review-header nav a, .review-link-button { color: inherit; background: none; border: 0; text-decoration: none; font-weight: 700; font-size: .86rem; cursor: pointer; padding: 0; }
.review-header nav form { margin: 0; }
.review-main { padding-top: 44px; padding-bottom: 80px; }
.review-title-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.review-title-row h1, .review-detail-heading h1 { margin: 6px 0; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
.review-title-row p, .review-detail-heading p { margin: 0; color: var(--ink-500); }
.review-user { display: grid; text-align: right; }
.review-user span { font-weight: 800; color: var(--navy-950); }
.review-user small { color: var(--ink-500); }
.review-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.review-stats article { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: var(--shadow); display: grid; gap: 6px; }
.review-stats span { color: var(--ink-500); font-size: .8rem; font-weight: 700; }
.review-stats strong { color: var(--navy-900); font-size: 1.9rem; }
.review-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.review-panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.review-panel-heading h2, .review-action-card h2, .review-meta h2 { margin: 0; color: var(--navy-950); font-size: 1.15rem; }
.review-panel-heading p { margin: 2px 0 0; color: var(--ink-500); font-size: .82rem; }
.review-filters { display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.5fr auto; align-items: end; gap: 12px; background: var(--blue-50); border: 1px solid var(--line); border-radius: 11px; padding: 14px; margin-bottom: 20px; }
.review-filters label { display: grid; gap: 4px; color: var(--ink-700); font-size: .75rem; font-weight: 750; }
.review-table-wrap { overflow-x: auto; }
.review-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.review-table th { text-align: left; padding: 12px; color: var(--ink-500); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; border-bottom: 1px solid var(--line); }
.review-table td { padding: 15px 12px; border-bottom: 1px solid #edf2f5; color: var(--ink-700); font-size: .86rem; }
.review-table td strong, .review-table td small { display: block; }
.review-table td strong { color: var(--navy-950); }
.review-table td small { color: var(--ink-500); margin-top: 2px; }
.review-table-empty { text-align: center; padding: 40px !important; }
.review-row-link { color: var(--navy-800); font-weight: 800; text-decoration: none; white-space: nowrap; }
.status-pill { display: inline-flex; border-radius: 99px; padding: 5px 10px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.status-pill.submitted { background: #e9f4fb; color: #12618f; }
.status-pill.under-review { background: #fff5da; color: #8b6511; }
.status-pill.changes-requested { background: #fff0ec; color: #9b3b25; }
.status-pill.approved { background: var(--green-100); color: #3e7623; }
.review-empty { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 48px; text-align: center; box-shadow: var(--shadow); }

.review-detail-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
.review-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.review-detail-content { display: grid; gap: 22px; }
.review-sidebar { display: grid; gap: 18px; position: sticky; top: 20px; }
.review-data-grid { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.review-data-grid div { background: #fff; padding: 13px 15px; min-width: 0; }
.review-data-grid dt { color: var(--ink-500); font-size: .72rem; font-weight: 750; margin-bottom: 3px; }
.review-data-grid dd { margin: 0; color: var(--ink-900); overflow-wrap: anywhere; }
.review-documents { display: grid; gap: 10px; }
.review-documents article { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.review-documents article div { display: grid; }
.review-documents article span { color: var(--ink-500); font-size: .76rem; }
.review-documents article a { color: var(--navy-800); font-weight: 800; font-size: .82rem; }
.review-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.review-history li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; }
.review-history li > span { width: 10px; height: 10px; margin-top: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px var(--green-100); }
.review-history li div { display: grid; }
.review-history small { color: var(--ink-500); }
.review-history p { margin: 7px 0 0; padding: 10px; background: var(--blue-50); border-radius: 8px; }
.review-action-card { display: grid; gap: 14px; }
.review-assignment { display: grid; padding: 12px; border-radius: 9px; background: var(--blue-50); }
.review-assignment span, .review-meta dt { color: var(--ink-500); font-size: .73rem; }
.review-comment { display: grid; gap: 6px; }
.review-action-card hr { border: 0; border-top: 1px solid var(--line); width: 100%; }
.review-hint { color: var(--ink-500); font-size: .82rem; }
.review-meta dl { margin: 14px 0 0; display: grid; gap: 12px; }
.review-meta dl div { display: grid; }
.review-meta dd { margin: 1px 0 0; }

.review-admin-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 22px; align-items: start; }
.review-admin-grid > section:nth-child(2) { grid-row: span 2; }
.review-admin-form fieldset { border: 1px solid var(--line); border-radius: 9px; padding: 12px; display: grid; gap: 8px; }
.review-admin-form legend { color: var(--navy-950); font-weight: 750; font-size: .82rem; }
.review-admin-form .check-label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.review-admin-form .check-label input { width: 18px; min-height: 18px; }
.review-user-list { display: grid; }
.review-user-list article { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-user-list article.is-disabled { opacity: .6; }
.review-user-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-800); color: #fff; font-weight: 800; }
.review-user-info { display: grid; min-width: 0; }
.review-user-info > span { color: var(--ink-500); font-size: .78rem; overflow-wrap: anywhere; }
.review-role-buttons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.review-role-buttons button { border: 1px solid var(--line-strong); background: #fff; color: var(--ink-500); border-radius: 99px; padding: 3px 8px; font-size: .67rem; cursor: pointer; }
.review-role-buttons button.active { border-color: #a7cd8b; background: var(--green-100); color: #3e7623; }
.review-user-actions { display: grid; justify-items: end; gap: 8px; }
.correction-banner { margin-top: 22px; margin-bottom: -4px; border: 1px solid #eac87b; border-left: 5px solid #d59a1b; border-radius: 12px; background: #fff9e9; padding: 16px 20px; }
.correction-banner strong { color: #78540c; }
.correction-banner p { margin: 4px 0; }
.correction-banner small { color: var(--ink-500); }

@media (max-width: 1000px) {
    .review-auth-page { grid-template-columns: 1fr; background: linear-gradient(180deg, var(--navy-950) 0 260px, var(--canvas) 260px); }
    .review-auth-brand { align-self: auto; }
    .review-detail-grid, .review-admin-grid { grid-template-columns: 1fr; }
    .review-sidebar { position: static; }
    .review-stats { grid-template-columns: repeat(2, 1fr); }
    .review-filters { grid-template-columns: repeat(2, 1fr); }
    .review-brand span { display: none; }
}

@media (max-width: 650px) {
    .review-auth-page { padding: 24px 16px; }
    .review-auth-brand img { height: 64px; }
    .review-header-row, .review-title-row, .review-detail-heading { align-items: flex-start; flex-direction: column; }
    .review-header-row { padding-top: 15px; padding-bottom: 15px; }
    .review-brand img { width: 220px; }
    .review-header nav { width: 100%; justify-content: space-between; }
    .review-user { text-align: left; }
    .review-stats, .review-filters, .review-data-grid { grid-template-columns: 1fr; }
    .review-documents article { align-items: flex-start; flex-direction: column; }
    .review-user-list article { grid-template-columns: 42px 1fr; }
    .review-user-actions { grid-column: 2; justify-items: start; }
}
