:root {
    --navy: #052a70;
    --pink: #fa0a62;
    --pink-dark: #de0756;
    --green: #11b77a;
    --ink: #031f55;
    --muted: #30476b;
    --line: #d6dfeb;
    --soft: #f5f8fc;
    --white: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #f8f9fc; }
button, input, select, textarea { font: inherit; }

.profile-shell { max-width: 1080px; min-height: 100vh; margin: 0 auto; background: var(--white); }
.profile-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #edf0f5; }
.brand { display: flex; align-items: center; gap: 5px; color: var(--navy); font-size: 24px; font-weight: 800; text-decoration: none; letter-spacing: -1px; }
.brand span span { color: var(--pink); }
.brand-heart { color: var(--pink); font-size: 42px; line-height: 1; font-weight: 400; transform: rotate(-7deg); }
.avatar { display: block; width: 40px; height: 40px; object-fit: cover; border: 2px solid #f3a1bc; border-radius: 50%; background: #ffe5ec; }
.avatar-link { position: relative; display:block; border-radius:50%; }
.photo-verification-badge { position:absolute; left:-5px; bottom:-4px; display:grid; place-items:center; width:22px; height:22px; color:#fff; border:2px solid #fff; border-radius:50%; font-size:11px; font-weight:900; box-shadow:0 2px 6px rgba(0,35,80,.25); }
.photo-verification-badge.live-photo { background:#2477c8; }
.photo-verification-badge.live-video { background:var(--green); }
.photo-verification-badge.unverified { color:#fff; background:#71819a; }
.photo-verification-badge.live-photo span { width:8px; height:8px; background:#fff; border:2px solid rgba(255,255,255,.45); border-radius:50%; font-size:0; }
.photo-verification-badge.live-video span { margin-left:1px; font-size:9px; }
.avatar-link:focus-visible { outline:3px solid rgba(5,91,190,.28); outline-offset:3px; }

.desktop-tabs { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.desktop-tabs > * { padding: 17px 8px 14px; color: var(--muted); text-align: center; text-decoration: none; border-bottom: 3px solid transparent; font-weight: 650; }
.desktop-tabs .active { color: var(--pink); border-bottom-color: var(--pink); background: #fff7fa; }

.profile-card { max-width: 720px; margin: 0 auto; padding: 42px 36px 48px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 6px; font-size: 30px; letter-spacing: -.6px; }
.intro > p, .section-heading p { color: var(--muted); }
.progress-copy { display: flex; justify-content: space-between; margin-top: 28px; font-size: 13px; color: var(--muted); }
.progress-copy strong { color: var(--ink); }
.progress-track { height: 10px; overflow: hidden; margin: 7px 0 30px; border-radius: 99px; background: #dfe6ef; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--pink); }
.section-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 26px; }
.step-number { display: grid; place-items: center; width: 33px; height: 33px; flex: 0 0 33px; border-radius: 50%; color: #fff !important; background: var(--pink) !important; border: 2px solid var(--pink) !important; font-weight: 800; }
.section-heading h2 { margin: 1px 0 3px; font-size: 24px; }
.section-heading p { margin-bottom: 0; }
.nz-only-notice { margin: 0 0 25px; padding: 17px 18px; color: #6f2500; background: #fff3df; border: 2px solid #e99932; border-radius: 10px; }
.nz-only-notice strong { display: block; color: #8a1f13; font-size: 18px; line-height: 1.35; }
.nz-only-notice p { margin: 6px 0 0; color: #60320d; font-weight: 650; line-height: 1.5; }

.basics-form { display: grid; gap: 23px; }
.form-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-field > label, .form-field > legend { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 750; }
.segmented-control { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.segmented-control label { position: relative; }
.segmented-control label + label { border-left: 1px solid var(--line); }
.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-control span { display: block; padding: 13px 8px; text-align: center; cursor: pointer; }
.segmented-control input:checked + span { color: #087a50; background: #fff; border: 3px solid #087a50; font-weight: 850; }
.segmented-control input:focus-visible + span { outline: 3px solid #7db8ff; outline-offset: -3px; }

input[type="date"], input[type="text"], select { width: 100%; min-height: 49px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid #bdcadb; border-radius: 9px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(5, 91, 190, .16); border-color: #2376c8; }
input:disabled, select:disabled { color: #6e7f99; background: #f0f3f7; cursor: not-allowed; }
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.label-row label { color: var(--ink); font-weight: 750; }
.character-count { color: var(--muted); font-size: 14px; font-weight: 650; }
textarea { width: 100%; resize: vertical; min-height: 132px; padding: 13px 14px; color: var(--ink); line-height: 1.5; background: #fff; border: 1px solid #bdcadb; border-radius: 9px; }
textarea::placeholder { color: #667a98; opacity: 1; }
.measurement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.unit-field { position: relative; }
.unit-field input { width: 100%; min-height: 49px; padding: 0 52px 0 14px; color: var(--ink); background: #fff; border: 1px solid #bdcadb; border-radius: 9px; }
.unit-field span { position: absolute; top: 50%; right: 15px; color: var(--muted); font-weight: 750; transform: translateY(-50%); pointer-events: none; }
.privacy-choice { display: flex !important; align-items: center; gap: 9px; margin-top: 10px !important; color: var(--ink); font-size: 14px; font-weight: 650 !important; cursor: pointer; }
.privacy-choice input { width: 19px; height: 19px; accent-color: var(--pink); }
.form-actions { display: grid; grid-template-columns: minmax(120px, .42fr) 1fr; gap: 14px; }
.secondary-button { display:grid; place-items:center; min-height:52px; padding:0 20px; color:#000; background:#fff; border:2px solid #222; border-radius:8px; font-weight:800; text-decoration:none; transition:background-color .15s,border-color .15s,color .15s; }
.secondary-button:hover { color:#000; background:#f3f3f3; border-color:#000; }
.secondary-button:focus-visible { outline:3px solid #000; outline-offset:3px; }
.interests-card { max-width: 820px; }
.interest-tabs { display: flex; overflow-x: auto; margin-bottom: 14px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.interest-tabs button { flex: 1 0 auto; min-height: 45px; padding: 0 15px; color: var(--muted); background: #f7f9fc; border: 0; border-bottom: 3px solid transparent; font-weight: 750; cursor: pointer; }
.interest-tabs button.active { color: var(--pink); background: #fff5f8; border-bottom-color: var(--pink); }
.interest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.interest-panel[hidden], .interest-detail[hidden] { display: none; }
.interest-option { position: relative; min-width: 0; }
.interest-option input { position: absolute; opacity: 0; pointer-events: none; }
.interest-tile { position: relative; display: grid; place-items: center; align-content: center; gap: 7px; min-height: 116px; padding: 13px 8px; color: var(--ink); text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.interest-icon { font-size: 30px; line-height: 1; }
.interest-tile > span:nth-child(2) { font-size: 14px; font-weight: 700; line-height: 1.25; }
.interest-tile b { position: absolute; top: 7px; right: 7px; display: none; place-items: center; width: 22px; height: 22px; color: #fff; background: #087a50; border: 2px solid #087a50; border-radius: 50%; font-size: 13px; }
.interest-option input:checked + .interest-tile { color: var(--ink); background: #fff; border: 3px solid #087a50; padding: 11px 6px; }
.interest-option input:checked + .interest-tile b { display: grid; }
.interest-option input:focus-visible + .interest-tile { outline: 3px solid rgba(5, 91, 190, .24); outline-offset: 2px; }
.other-interests input { width: 100%; min-height: 49px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid #bdcadb; border-radius: 9px; }
.selection-footer { display: grid; gap: 12px; }
.selection-footer > span { color: var(--pink-dark); font-size: 14px; font-weight: 800; }
.interest-detail { min-width: 0; margin: 20px 0 0; padding: 17px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; }
.interest-detail legend { padding: 0 5px; color: var(--ink); font-size: 16px; font-weight: 800; }
.choice-pills { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.choice-pills label { position: relative; }
.choice-pills label + label { border-left: 1px solid var(--line); }
.choice-pills input { position: absolute; opacity: 0; }
.choice-pills span { display: grid; place-items: center; min-height: 48px; padding: 7px; text-align: center; cursor: pointer; }
.choice-pills input:checked + span { color: #087a50; background: #fff; border: 3px solid #087a50; font-weight: 850; }
.detail-checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.detail-checks label { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.detail-checks input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #087a50; }
.interest-detail > input { width: 100%; min-height: 49px; padding: 0 14px; color: var(--ink); background: #fff; border: 1px solid #bdcadb; border-radius: 9px; }
.movie-rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.movie-rank-option { display: grid; grid-template-columns: auto 1fr 82px; align-items: center; gap: 8px; min-height: 48px; padding: 6px 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.movie-rank-option > input { width: 18px; height: 18px; accent-color: #087a50; }
.movie-rank-option select { min-height: 36px; padding: 0 6px; }
.interest-dialog { max-width: 450px; padding: 25px; color: var(--ink); border: 0; border-radius: 14px; box-shadow: 0 18px 60px rgba(0, 20, 60, .25); }
.interest-dialog::backdrop { background: rgba(0, 20, 55, .55); }
.interest-dialog h2 { margin-bottom: 8px; }
.interest-dialog p { color: var(--muted); line-height: 1.55; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lifestyle-card { max-width: 760px; }
.lifestyle-list { display: grid; gap: 10px; }
.lifestyle-row { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 15px; min-height: 58px; padding: 8px 10px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.lifestyle-row > label { display: flex; align-items: center; gap: 11px; color: var(--ink); font-weight: 800; }
.lifestyle-icon { display: grid; place-items: center; width: 28px; height: 28px; color: var(--navy); font-size: 22px; }
.lifestyle-row select { min-height: 42px; border-color: transparent; background-color: #f7f9fc; font-weight: 650; }
.children-section { margin: 4px 0 0; padding: 20px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 11px; }
.children-section > legend { padding: 0 6px; color: var(--ink); font-size: 20px; font-weight: 850; }
.children-section > p, .child-age-ranges > p { color: var(--muted); line-height: 1.5; }
.children-options { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.children-options label { position: relative; }
.children-options input { position: absolute; opacity: 0; }
.children-options span { display: flex; align-items: center; min-height: 56px; padding: 10px 13px 10px 43px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.children-options span::before { content: ''; position: absolute; left: 14px; width: 17px; height: 17px; background: #fff; border: 2px solid #8699b4; border-radius: 50%; }
.children-options input:checked + span { color: #087a50; background: #fff; border: 3px solid #087a50; font-weight: 850; }
.children-options input:checked + span::before { border: 5px solid #087a50; }
.children-options input:focus-visible + span { outline: 3px solid rgba(5, 91, 190, .24); }
.child-age-ranges { margin: 20px 0 0; padding: 17px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.child-age-ranges[hidden] { display: none; }
.child-age-ranges legend { padding: 0 5px; color: var(--ink); font-weight: 800; }
.favourite-food-section { margin: 0 0 4px; padding: 17px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 10px; }
.favourite-food-section > legend { padding: 0 5px; color: var(--ink); font-size: 16px; font-weight: 800; }
.favourite-food-section > p { color: var(--muted); font-size: 14px; }
.personality-card { max-width: 780px; }
.personality-intro { margin-bottom: 25px; padding: 15px 17px; color: var(--ink); background: #eff7ff; border-left: 4px solid #2477c8; border-radius: 8px; }
.personality-intro p { margin: 4px 0 0; color: var(--muted); line-height: 1.5; }
.personality-form { display: grid; gap: 24px; }
.personality-group { display: grid; gap: 12px; }
.personality-group > h2 { margin: 0; padding-bottom: 8px; color: var(--navy); font-size: 20px; border-bottom: 1px solid var(--line); }
.personality-question { margin: 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.personality-question legend { width: 100%; padding: 0 0 12px; color: var(--ink); font-size: 16px; font-weight: 750; line-height: 1.45; }
.personality-question.unanswered { background: #fff5f8; border-color: var(--pink); }
.likert-endpoints { display: flex; justify-content: space-between; margin-bottom: 7px; color: var(--muted); font-size: 12px; font-weight: 650; }
.likert-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.likert-scale label { position: relative; }
.likert-scale input { position: absolute; opacity: 0; }
.likert-scale span { display: grid; place-items: center; min-height: 44px; color: var(--ink); background: #f5f7fb; border: 1px solid #c7d2e1; border-radius: 8px; font-weight: 800; cursor: pointer; }
.likert-scale input:checked + span { color: #087a50; background: #fff; border: 3px solid #087a50; font-weight: 850; box-shadow: none; }
.likert-scale input:focus-visible + span { outline: 3px solid rgba(5, 91, 190, .28); outline-offset: 2px; }
.deep-personality-card { display: grid; grid-template-columns: auto 1fr; gap: 15px; padding: 19px; background: linear-gradient(135deg, #f0f7ff, #fff7fb); border: 1px solid #cfdced; border-radius: 12px; }
.deep-icon { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--navy); border-radius: 50%; font-size: 25px; }
.deep-personality-card h2 { margin: 0 0 5px; font-size: 19px; }
.deep-personality-card p { margin-bottom: 10px; color: var(--muted); line-height: 1.5; }
.coming-later { color: var(--pink-dark); font-size: 13px; font-weight: 800; }
.personality-footer { display: grid; gap: 10px; }
.personality-footer > div:first-child > span { color: var(--pink-dark); font-size: 14px; font-weight: 800; }
.personality-footer > div:first-child p { margin: 4px 0 0; color: #9a0c3d; font-size: 14px; font-weight: 700; }
.looking-card { max-width: 800px; }
.looking-genders { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.looking-genders label { position: relative; }
.looking-genders label + label { border-left: 1px solid var(--line); }
.looking-genders input { position: absolute; opacity: 0; }
.looking-genders span { display: grid; place-items: center; min-height: 48px; padding: 7px; color: var(--ink); text-align: center; cursor: pointer; }
.looking-genders input:checked + span { color: #087a50; background: #fff; border: 3px solid #087a50; font-weight: 850; }
.looking-genders input:focus-visible + span { outline: 3px solid rgba(5, 91, 190, .28); outline-offset: -3px; }
.age-range-fields { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 12px; }
.age-range-fields label { display: grid; gap: 5px; color: var(--muted); font-size: 13px; font-weight: 700; }
.age-range-fields > span { padding-bottom: 14px; color: var(--muted); }
.match-priorities { margin: 0; padding: 19px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 11px; }
.match-priorities > legend { padding: 0 5px; color: var(--ink); font-size: 19px; font-weight: 850; }
.match-priorities > p { color: var(--muted); line-height: 1.5; }
.priority-list { display: grid; gap: 8px; }
.priority-row { display: grid; grid-template-columns: minmax(240px, 1fr) 180px; align-items: center; gap: 12px; padding: 8px 9px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.priority-row label { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.priority-row label span { display: grid; place-items: center; width: 25px; height: 25px; color: var(--navy); font-size: 21px; }
.priority-row select { min-height: 40px; }
.personality-preferences { background: #fff; border: 1px solid var(--line); border-radius: 11px; }
.personality-preferences summary { padding: 17px; color: var(--ink); font-size: 17px; font-weight: 850; cursor: pointer; }
.personality-preferences summary span { margin-left: 7px; padding: 3px 7px; color: var(--muted); background: #edf1f6; border-radius: 99px; font-size: 12px; }
.personality-preferences > p { margin: 0; padding: 0 17px 15px; color: var(--muted); line-height: 1.5; }
.personality-preference-row { display: grid; grid-template-columns: minmax(180px, 1fr) 210px 160px; align-items: center; gap: 10px; padding: 11px 17px; border-top: 1px solid var(--line); }
.personality-preference-row > div { display: grid; gap: 3px; }
.personality-preference-row small { color: var(--muted); line-height: 1.35; }
.personality-preference-row select { min-height: 42px; }
.finish-button { line-height: 1.2; }
.language-section { margin: 0; padding: 19px; background: #f7f9fc; border: 1px solid var(--line); border-radius: 11px; }
.language-section > legend { padding: 0 5px; color: var(--ink); font-size: 19px; font-weight: 850; }
.language-section > p { color: var(--muted); line-height: 1.5; }
.language-select-label { display: block; margin-bottom: 7px; color: var(--ink); font-weight: 750; }
.language-add-row { display: grid; grid-template-columns: 1fr 100px; gap: 10px; }
.language-add-button { min-height: 49px; }
.selected-language-list { display: grid; gap: 8px; margin-top: 13px; }
.selected-language-row { display: grid; grid-template-columns: minmax(150px, 1fr) 220px 38px; align-items: center; gap: 10px; padding: 9px 10px; background: #fff; border: 1px solid var(--line); border-radius: 9px; }
.selected-language-row > strong { color: var(--ink); }
.language-levels { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid #b9c6d8; border-radius: 7px; }
.language-levels label { position: relative; }
.language-levels label + label { border-left: 1px solid #b9c6d8; }
.language-levels input { position: absolute; opacity: 0; }
.language-levels span { display: grid; place-items: center; min-height: 38px; color: var(--ink); cursor: pointer; }
.language-levels input:checked + span { color: #087a50; background: #fff; border: 3px solid #087a50; font-weight: 850; }
.language-levels input:focus-visible + span { outline: 3px solid rgba(5, 91, 190, .28); outline-offset: -3px; }
.language-remove { width: 34px; height: 34px; color: #8d123d; background: #fff0f5; border: 0; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-help, .privacy-note { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.profile-name-help { margin: 5px 0 8px; }
.field-error { margin: 7px 0 0; color: #a20c41; font-size: 14px; font-weight: 750; }
.field-status { margin: 7px 0 0; font-size: 14px; font-weight: 750; }
.field-status.is-checking { color: var(--muted); }
.field-status.is-available { color: #176b3a; }
.field-status.is-unavailable {
    padding: 11px 13px;
    color: #8f0734;
    background: #fff0f5;
    border: 2px solid #d81b60;
    border-left-width: 5px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}
.dob-verification-notice { margin: 13px 0 0; padding: 15px 16px; color: #55203a; background: #fff3f7; border: 2px solid #f57da8; border-left: 5px solid var(--pink); border-radius: 9px; }
.dob-verification-notice strong { display: block; color: #9d0b43; font-size: 17px; line-height: 1.35; }
.dob-verification-notice p { margin: 7px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.dob-verification-notice b { color: var(--ink); }
.privacy-note { margin-top: -4px; }
.primary-button { min-height:52px; padding:0 24px; color:#fff; background:#fa0a62; border:3px solid #fa0a62; border-radius:8px; font-weight:800; cursor:pointer; box-shadow:none; transition:background-color .15s,border-color .15s,color .15s; }
.primary-button:hover { color:#fff; background:#d60853; border-color:#d60853; }
.primary-button:focus-visible { outline:3px solid #000; outline-offset:3px; }
.primary-button:disabled, .primary-button[aria-disabled="true"] { color:#666; background:#f2f2f2; border-color:#aaa; cursor:not-allowed; opacity:1; }
.primary-button span { margin-left: 7px; font-size: 24px; vertical-align: -2px; }
.error-summary { margin-bottom: 22px; padding: 14px 17px; color: #8d133e; background: #fff1f5; border-left: 4px solid var(--pink); border-radius: 7px; }
.error-summary ul { margin: 7px 0 0; padding-left: 20px; }
.mobile-steps { display: none; }
.section-top-action { display:flex; justify-content:flex-end; margin:-10px 0 18px; }
.section-top-action .skip-section-link { margin:0; }
.skip-section-link { display: block; margin: 12px auto 0; width: fit-content; color: #173b70; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.match-dealbreakers { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: 10px; }
.match-dealbreakers > legend { color: var(--ink); font-weight: 800; }
.match-dealbreakers > p { margin: 2px 0 16px; color: var(--muted); }
.preference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 700px) {
    body { background: #fff; }
    .profile-shell { padding-bottom: 86px; }
    .profile-header { height: 68px; padding: 0 18px; }
    .brand { font-size: 21px; }
    .brand-heart { font-size: 36px; }
    .avatar { width: 36px; height: 36px; font-size: 14px; }
    .desktop-tabs { display: none; }
    .profile-card { max-width: none; padding: 27px 18px 35px; }
    h1 { font-size: 26px; }
    .intro > p { color: #263f65; font-size: 16px; line-height: 1.5; }
    .progress-copy { margin-top: 21px; }
    .progress-track { margin-bottom: 25px; }
    .section-heading { margin-bottom: 22px; }
    .section-heading h2 { font-size: 22px; }
    .section-heading p { color: #263f65; font-size: 15px; line-height: 1.45; }
    .form-field > label, .form-field > legend { font-size: 16px; }
    input[type="date"], input[type="number"], select, textarea { color: #021b49; font-size: 16px; font-weight: 600; }
    .measurement-grid { grid-template-columns: 1fr; gap: 20px; }
    .interest-tabs { margin-inline: -18px; padding-inline: 18px; }
    .interest-tabs button { padding-inline: 13px; }
    .interest-grid { gap: 8px; }
    .interest-tile { min-height: 106px; padding-inline: 5px; }
    .interest-option input:checked + .interest-tile { padding-inline: 4px; }
    .interest-icon { font-size: 27px; }
    .interest-tile > span:nth-child(2) { font-size: 13px; }
    .detail-checks { grid-template-columns: 1fr 1fr; }
    .movie-rank-grid { grid-template-columns: 1fr; }
    .choice-pills span { font-size: 13px; }
    .interest-detail { padding: 14px; }
    .dialog-actions { grid-template-columns: 1fr; }
    .lifestyle-row { grid-template-columns: 1fr; gap: 4px; padding: 11px 12px; }
    .lifestyle-row select { min-height: 46px; color: #021742; background: #f3f6fa; border-color: #b8c5d6; }
    .children-options { grid-template-columns: 1fr; }
    .children-section { padding: 16px 13px; }
    .children-section > p, .child-age-ranges > p, .field-help, .privacy-note { color: #203a61; }
    .dob-verification-notice { padding: 15px; }
    .dob-verification-notice strong { font-size: 18px; }
    .dob-verification-notice p { font-size: 16px; }
    .favourite-food-section > p { color: #203a61; }
    .cuisine-checks { grid-template-columns: 1fr 1fr; }
    .personality-intro p, .deep-personality-card p, .likert-endpoints { color: #203a61; }
    .personality-question { padding: 14px 12px; }
    .personality-question legend { font-size: 16px; }
    .likert-scale { gap: 6px; }
    .likert-scale span { min-height: 46px; background: #eef2f7; border-color: #9fb0c6; }
    .likert-endpoints { font-size: 13px; font-weight: 750; }
    .deep-personality-card { grid-template-columns: 1fr; }
    .looking-genders { grid-template-columns: 1fr; }
    .looking-genders label + label { border-top: 1px solid var(--line); border-left: 0; }
    .age-range-fields { gap: 8px; }
    .priority-row { grid-template-columns: 1fr; gap: 6px; }
    .preference-grid { grid-template-columns: 1fr; }
    .match-dealbreakers { padding: 16px 13px; }
    .match-dealbreakers > p { color: #203a61; }
    .priority-row select { color: #021742; }
    .match-priorities > p, .personality-preferences > p, .personality-preference-row small { color: #203a61; }
    .personality-preference-row { grid-template-columns: 1fr; }
    .language-section { padding: 16px 13px; }
    .language-section > p { color: #203a61; }
    .language-add-row { grid-template-columns: 1fr; }
    .selected-language-row { grid-template-columns: 1fr 38px; }
    .selected-language-row > strong { grid-column: 1 / 2; }
    .language-levels { grid-column: 1 / -1; grid-row: 2; }
    .language-remove { grid-column: 2; grid-row: 1; }
    textarea::placeholder, input::placeholder { color: #3e5576; opacity: 1; }
    .mobile-steps span, .mobile-steps a { color: #314a6e; }
    .mobile-steps b { background: #667b99; }
    .progress-copy { color: #263f65; }
    .location-grid { grid-template-columns: 1fr; gap: 20px; }
    .segmented-control span { padding: 12px 4px; font-size: 14px; }
    .primary-button { width: 100%; }
    .mobile-steps { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; max-width: 700px; margin: auto; padding: 10px 5px max(9px, env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); backdrop-filter: blur(8px); }
    .mobile-steps span, .mobile-steps a { display: grid; justify-items: center; gap: 4px; min-width: 0; color: #314a6e; text-decoration: none; }
    .mobile-steps b { display: grid; place-items: center; width: 21px; height: 21px; color: #fff !important; background: var(--pink) !important; border: 2px solid var(--pink) !important; border-radius: 50%; font-size: 11px; }
    .mobile-steps small { max-width: 100%; overflow: hidden; color: #30496c; font-size: 10px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }
    .mobile-steps .active { color: var(--pink); }
    .mobile-steps .active b { background: var(--pink); }
}

@media (max-width: 370px) {
    .profile-card { padding-inline: 14px; }
    .brand { font-size: 19px; }
    .segmented-control span { font-size: 13px; }
}

.segmented-control-two { grid-template-columns: repeat(2, 1fr); }
.nz-only-notice[hidden] { display: none; }
.form-field > .nz-only-notice { margin: 13px 0 0; }

/* Direct high-contrast source rules. */
.profile-card,.field,.field-row,.nz-only-notice,.dob-verification-notice,.error-summary,.field-status,.personality-intro,.personality-question,.deep-personality-card,.match-priorities,.priority-row,.personality-preferences,.language-section,.selected-language-row{background:#fff!important;color:#000!important;border-color:#777!important;box-shadow:none!important}.profile-card p,.profile-card span,.profile-card small,.profile-card label,.profile-card legend,.profile-card strong,.profile-card h1,.profile-card h2,.profile-card h3,.profile-card a{color:#000!important}.primary-button,.secondary-button,.skip-link{background:#fff!important;color:#000!important;border:2px solid #000!important;box-shadow:none!important}

/* Direct black/white controls and navigation. */
.photo-verification-badge,.photo-verification-badge.live-photo,.photo-verification-badge.live-video,.photo-verification-badge.unverified{background:#fff!important;color:#000!important;border:2px solid #000!important;box-shadow:none!important}.mobile-steps b,.mobile-steps .active b{background:var(--pink)!important;color:#fff!important;border:2px solid var(--pink)!important;box-shadow:none!important}
.mobile-steps,.desktop-steps{background:#fff!important;color:#000!important}.mobile-steps a,.desktop-steps a,.mobile-steps span,.desktop-steps span{color:#000!important}
