:root {
    color-scheme: light;
    --partner-ink: #163b4a;
    --partner-muted: #607983;
    --partner-blue: #08648b;
    --partner-green: #168663;
    --partner-line: #d8e5e8;
    --partner-paper: #fff;
    --partner-canvas: #f2f7f7;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--partner-canvas); color: var(--partner-ink); font-family: Inter, "Segoe UI", sans-serif; font-size: 14px; }
button, input, select, textarea { font: inherit; }
.page-shell { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 24px 0 44px; }
.page-header { margin-bottom: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--partner-blue); text-decoration: none; font-weight: 700; margin-bottom: 16px; }
.benefit-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: #075f84; color: #fff; border-radius: 7px; overflow: hidden; margin-bottom: 22px; }
.benefit-strip > div { min-width: 0; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-right: 1px solid rgba(255,255,255,.18); }
.benefit-strip > div:last-child { border: 0; }
.benefit-strip i { flex: 0 0 28px; font-size: 21px; text-align: center; }
.benefit-strip strong, .benefit-strip small { display: block; }
.benefit-strip strong { font-size: 12px; text-transform: uppercase; }
.benefit-strip small { margin-top: 4px; font-size: 10px; line-height: 1.35; color: #d4e9ef; }
.title-row { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.eyebrow { margin: 0 0 6px; color: var(--partner-green); font-size: 10px; font-weight: 800; letter-spacing: 1px; }
h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.subtitle { margin: 7px 0 0; color: var(--partner-muted); }
.review-note { display: inline-flex; align-items: center; gap: 8px; color: var(--partner-muted); font-size: 12px; white-space: nowrap; }
.partner-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 14px; }
.form-section { min-width: 0; padding: 17px; background: var(--partner-paper); border: 1px solid var(--partner-line); border-radius: 7px; }
.organization-section, .form-section:nth-of-type(4), .form-section:nth-of-type(6), .form-footer { grid-column: 1 / -1; }
.section-heading { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 16px; }
.section-number { flex: 0 0 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--partner-green); color: white; font-weight: 800; font-size: 12px; }
.section-heading h2 { margin: 1px 0 4px; font-size: 16px; line-height: 1.3; }
.section-heading p { margin: 0; color: var(--partner-muted); font-size: 11px; line-height: 1.45; }
.type-picker, .choice-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.type-picker { margin: 0 0 15px; }
.type-picker legend, .choice-field legend { margin: 0 0 9px; padding: 0; color: #355764; font-size: 11px; font-weight: 800; }
.required, .field b { color: #d44e4e; }
.type-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.type-option { position: relative; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; inset: 0; }
.type-option span { min-height: 46px; display: flex; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid var(--partner-line); border-radius: 5px; color: #355764; font-size: 12px; font-weight: 700; }
.type-option i { color: var(--partner-blue); }
.type-option input:checked + span { border-color: var(--partner-blue); background: #edf7fa; box-shadow: inset 0 0 0 1px var(--partner-blue); }
.type-option input:focus-visible + span, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid rgba(8,100,139,.2); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.field > span { color: #355764; font-size: 11px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 38px; padding: 9px 10px; border: 1px solid #cbdadd; border-radius: 4px; background: #fff; color: var(--partner-ink); }
.field textarea { resize: vertical; }
.field input::placeholder { color: #94a7ad; }
.span-2 { grid-column: span 2; }
.choice-field { display: flex; flex-wrap: wrap; align-content: start; align-items: center; gap: 8px 13px; padding: 10px; border: 1px solid #e1eaec; border-radius: 5px; }
.choice-field legend { width: 100%; }
.choice { display: inline-flex; align-items: flex-start; gap: 6px; color: #49636c; font-size: 11px; line-height: 1.4; cursor: pointer; }
.choice input { flex: 0 0 auto; width: 14px; height: 14px; margin: 0; accent-color: var(--partner-green); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-group { align-content: start; }
.document-checklist { margin-bottom: 13px; }
.upload-field { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 13px; border: 1px dashed #9bb9c0; border-radius: 5px; color: #355764; font-size: 12px; font-weight: 700; }
.upload-field > span { display: flex; align-items: center; gap: 8px; }
.upload-field > span i { color: var(--partner-blue); font-size: 17px; }
.upload-field input { max-width: 100%; font-size: 11px; }
.upload-field small { color: var(--partner-muted); font-size: 10px; font-weight: 400; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 4px 2px; }
.form-footer p { margin: 0; color: var(--partner-muted); font-size: 11px; }
.form-footer p i { margin-right: 5px; color: var(--partner-green); }
.form-footer button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 5px; background: var(--partner-green); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.form-footer button:hover { background: #0d7252; }
.notice { display: flex; gap: 12px; margin: 0 0 16px; padding: 13px 15px; border: 1px solid; border-radius: 5px; }
.notice > i { margin-top: 2px; }
.notice strong, .notice span { display: block; }
.notice span, .notice li { margin-top: 3px; font-size: 12px; line-height: 1.5; }
.notice ul { margin: 4px 0 0; padding-left: 17px; }
.success { border-color: #a7d8c7; background: #edf9f3; color: #176b4d; }
.error { border-color: #efc0bd; background: #fff4f2; color: #9f3e39; }
@media (max-width: 760px) {
    .page-shell { width: min(100% - 24px, 620px); padding-top: 14px; }
    .benefit-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .benefit-strip > div:nth-child(2) { border-right: 0; }
    .benefit-strip > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
    .title-row { align-items: flex-start; flex-direction: column; gap: 10px; }
    h1 { font-size: 24px; }
    .partner-form { grid-template-columns: 1fr; }
    .organization-section, .form-section:nth-of-type(4), .form-section:nth-of-type(6), .form-footer { grid-column: auto; }
}
@media (max-width: 480px) {
    .field-grid, .service-grid { grid-template-columns: 1fr; }
    .span-2 { grid-column: auto; }
    .type-options { grid-template-columns: 1fr; }
    .type-option span { min-height: 40px; }
    .form-section { padding: 13px; }
    .form-footer { align-items: stretch; flex-direction: column; }
    .form-footer button { width: 100%; }
}