/* Layout adapters for the official GOV.UK Frontend components. */
:root {
  --ink: #0b0c0c;
  --muted: #484949;
  --blue: #1d70b8;
  --link: #1a65a6;
  --line: #cecece;
  --paper: #ffffff;
  --mint: #f4f8fb;
  --green: #0f7a52;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: #f4f8fb;
  font-size: 19px;
  line-height: 1.5;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: white; }
button, input, select { font: inherit; color: inherit; }
button, a, input, select { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; letter-spacing: normal; }
h1 { font-size: 48px; line-height: 1.05; margin-bottom: 30px; }
h2 { font-size: 36px; line-height: 1.15; margin-bottom: 20px; }
h3 { font-size: 24px; line-height: 1.25; margin-bottom: 15px; }
p { margin-bottom: 20px; color: var(--ink); }
a { color: var(--link); text-decoration: underline; text-underline-offset: .15em; }
a:hover { color: #0f385c; text-decoration-thickness: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #ffdd00;
  outline-offset: 0;
  color: var(--ink);
  background-color: #ffdd00;
  box-shadow: 0 -2px #ffdd00, 0 4px var(--ink);
  text-decoration: none;
}
input:focus-visible, select:focus-visible {
  outline: 3px solid #ffdd00;
  outline-offset: 0;
  box-shadow: inset 0 0 0 2px var(--ink);
}
main { min-height: calc(100vh - 264px); }
main:focus, h1:focus { outline: none; }
.container, .header-inner, .footer-inner { width: calc(100% - 60px); max-width: 1020px; margin: 0 auto; }
.site-header { color: white; background: var(--blue); }
.header-inner { min-height: 90px; display: flex; gap: 35px; align-items: center; }
.brand { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -.5px; text-decoration: none; }
.site-header a { color: white; }
.site-header a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.site-header a:focus-visible { color: var(--ink); }
.service-name { font-size: 24px; font-weight: 700; border-left: 1px solid #ffffff80; padding-left: 35px; }
nav { display: flex; margin-left: auto; gap: 25px; font-size: 19px; }
nav a { text-decoration: none; }
.site-footer { padding: 35px 0 40px; background: #f4f8fb; border-top: 1px solid #cecece; }
.footer-links { display: flex; gap: 25px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-links a, .site-footer p { font-size: 16px; }
.site-footer p { margin: 0; color: var(--muted); }
.start-page { padding-top: 60px; padding-bottom: 75px; }
.start-layout { display: grid; grid-template-columns: minmax(0, 660px) minmax(0, 1fr); gap: 60px; }
.start-page h1 { margin-bottom: 30px; }
.start-page .govuk-body-l { margin-bottom: 30px; }
.start-page .govuk-body { margin-bottom: 30px; }
.start-page .govuk-button--start { margin-top: 5px; margin-bottom: 30px; }
.start-page .start-meta { margin-bottom: 30px; font-size: 19px; }
.start-page .govuk-details { margin-bottom: 0; }
.start-page .govuk-details__text p:last-child { margin-bottom: 0; }
.related-content { border-top: 2px solid var(--blue); padding-top: 15px; align-self: start; }
.related-content h2 { font-size: 19px; line-height: 1.3; margin-bottom: 15px; }
.related-content li { margin-bottom: 15px; }
.related-content a { font-size: 19px; }
.skip-link { position: absolute; left: -9999px; top: 0; padding: 12px 20px; z-index: 100; background: #ffdd00; color: var(--ink); }
.skip-link:focus { left: 0; }
.hidden { display: none !important; }
.eyebrow { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 10px 15px 8px; border: 2px solid transparent; border-radius: 0; background: var(--green); color: white; text-decoration: none; font-size: 19px; line-height: 1.2; font-weight: 400; box-shadow: 0 2px #063c29; }
.button:hover { color: white; background: #0a573a; }
.button-outline { background: #e6e7e7; color: var(--ink); box-shadow: 0 2px #777; }
.button-outline:hover { color: var(--ink); background: #cecece; }
.button-small { font-size: 19px; }
.button-plain { background: none; border: 0; box-shadow: none; padding: 0; color: var(--link); font-size: 19px; text-align: left; text-decoration: underline; text-underline-offset: .15em; }
.button-plain:hover { color: #0f385c; text-decoration-thickness: 3px; }
.text-link { color: var(--link); font-size: 19px; text-decoration: underline; }
.page-top { padding: 30px 0; }
.page-top h1 { max-width: 760px; margin-bottom: 30px; }
.page-top p { max-width: 760px; font-size: 19px; }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 16px; margin-bottom: 35px; }
.breadcrumb a { color: var(--ink); }
.loading { min-height: 65vh; display: grid; place-items: center; }
.wizard-layout { display: grid; grid-template-columns: 210px minmax(0, 660px); gap: 60px; max-width: 1020px; width: calc(100% - 60px); margin: 45px auto 80px; }
.wizard-aside { border-right: 1px solid var(--line); padding-right: 25px; }
.wizard-aside h2 { font-size: 19px; line-height: 1.3; margin-bottom: 20px; }
.wizard-nav { list-style: none; padding: 0; margin: 0; }
.wizard-nav li { display: flex; align-items: start; gap: 10px; padding: 8px 0; font-size: 16px; color: var(--muted); }
.wizard-nav span { min-width: 16px; }
.wizard-nav .current { color: var(--ink); font-weight: 700; }
.wizard-nav .done { color: var(--ink); }
.aside-note { font-size: 16px; margin-top: 35px; }
.wizard-main { min-width: 0; }
.progress-meta { display: flex; justify-content: space-between; gap: 15px; font-size: 16px; color: var(--muted); margin-bottom: 10px; }
.progress-track { height: 4px; background: #e6e7e7; margin-bottom: 30px; }
.progress-track div { height: 100%; background: var(--blue); }
.wizard-main h1 { font-size: 36px; line-height: 1.1; margin-bottom: 20px; }
.wizard-intro { font-size: 19px; margin-bottom: 30px; }
.field { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.field legend, .field-label { display: block; font-weight: 700; font-size: 19px; padding: 0; margin-bottom: 15px; }
.field-help { font-size: 19px; color: var(--muted); margin: 0 0 15px; }
.choices, .choices.stack { display: grid; grid-template-columns: 1fr; gap: 10px; }
.choice { display: flex; align-items: start; gap: 15px; padding: 7px 0; cursor: pointer; font-size: 19px; min-height: 54px; }
.choice strong { display: block; font-weight: 400; padding-top: 7px; }
.choice small { display: block; color: var(--muted); font-size: 16px; margin-top: 5px; }
.choice input { width: 40px; height: 40px; accent-color: var(--ink); flex-shrink: 0; margin: 0; cursor: pointer; }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.text-input { display: block; width: 100%; height: 44px; padding: 5px; border: 2px solid var(--ink); border-radius: 0; background: white; color: var(--ink); font-size: 19px; }
input[type=number].text-input { max-width: 200px; }
.money-wrap { position: relative; }
.money-wrap > span { position: absolute; top: 6px; left: 12px; }
.money-wrap input { padding-left: 35px; }
.notice { margin: 25px 0; padding: 15px 0 15px 20px; border-left: 10px solid #cecece; font-size: 19px; }
.notice strong { display: block; margin-bottom: 10px; }
.notice p { margin-bottom: 0; }
.notice.amber { border-color: #ffdd00; }
.error { border-left: 5px solid #ca3535; padding: 15px 20px; color: #ca3535; font-weight: 700; font-size: 19px; margin-bottom: 25px; }
.wizard-controls { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 35px; padding-top: 20px; }
.review-grid { border-top: 1px solid var(--line); }
.review-item { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: start; }
.review-item small { font-size: 19px; font-weight: 700; }
.review-item span { font-size: 19px; }
.review-item button { border: 0; background: none; color: var(--link); text-decoration: underline; font-size: 19px; padding: 0; }
.results-header { padding: 45px 0 30px; border-bottom: 1px solid var(--line); }
.results-top { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.results-header h1 { font-size: 48px; margin-bottom: 25px; }
.results-header p { max-width: 700px; font-size: 19px; }
.results-actions { display: flex; flex-wrap: wrap; gap: 20px; margin: 5px 0 25px; }
.profile-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.profile-pills span { font-size: 16px; padding: 5px 10px; background: #f4f8fb; }
.result-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 50px; padding-top: 30px; padding-bottom: 70px; }
.result-sidebar h3 { font-size: 19px; }
.filter-button { border: 0; border-left: 5px solid transparent; background: none; padding: 10px 5px 10px 15px; display: flex; gap: 15px; justify-content: space-between; width: 100%; text-align: left; font-size: 19px; }
.filter-button.active { border-color: var(--blue); background: #f4f8fb; font-weight: 700; }
.filter-button span { font-size: 16px; }
.small-panel { border-top: 2px solid var(--blue); padding: 20px 0 0; margin-top: 35px; }
.small-panel h3 { font-size: 19px; }
.small-panel p, .small-panel a { font-size: 16px; }
.result-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 30px 0; }
.result-toolbar p { font-size: 19px; margin: 0; }
.result-toolbar label { font-size: 16px; }
.result-toolbar select { display: block; font-size: 16px; padding: 6px; background: white; border: 2px solid var(--ink); }
.toggle-label { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.toggle-label input { width: 24px; height: 24px; accent-color: var(--ink); margin: 0; }
.benefit-card { padding: 25px 0 30px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.benefit-card-top { display: flex; align-items: start; justify-content: space-between; gap: 25px; }
.benefit-category { font-size: 16px; color: var(--muted); margin-bottom: 10px; }
.benefit-card h3 { font-size: 24px; line-height: 1.25; margin-bottom: 15px; }
.benefit-card h3 button { border: 0; background: none; color: var(--link); padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .15em; text-align: left; }
.benefit-card p { font-size: 19px; margin-bottom: 15px; }
.benefit-card .result-context { color: var(--muted); font-size: 16px; }
.benefit-meta { display: flex; gap: 15px; color: var(--muted); font-size: 16px; margin-top: 20px; }
.benefit-meta > span { display: flex; align-items: start; gap: 8px; }
.benefit-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 25px; }
.benefit-card-actions .button-plain { font-size: 19px; }
.status-badge { background: #d2e2f1; color: #0c2d4a; padding: 3px 8px; font-size: 16px; white-space: nowrap; }
.status-badge.advice { background: #fff2cc; color: #594400; }
.status-badge.legacy { background: #e6e7e7; color: #383b3b; }
.save-button { border: 0; background: #e6e7e7; color: var(--ink); box-shadow: 0 2px #777; font-size: 16px; padding: 8px 12px; white-space: nowrap; }
.save-button[aria-pressed=true] { background: #d2e2f1; }
.empty-state { padding: 35px 0; border-top: 1px solid var(--line); }
.empty-state h3 { font-size: 24px; }
.empty-state p { font-size: 19px; }
.explore-controls { display: grid; grid-template-columns: minmax(0, 1fr) 220px 240px; gap: 20px; margin: 10px 0 25px; }
.search-wrap { position: relative; }
.search-wrap > span { position: absolute; left: 10px; top: 5px; }
.search-wrap input { padding-left: 35px; }
.browse-count { font-size: 19px; margin: 30px 0 0; }
.explore-grid { display: block; }
.explore-section { padding-bottom: 70px; }
.source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0; }
.source-panel { border-top: 2px solid var(--blue); padding-top: 25px; }
.source-panel h2 { font-size: 24px; }
.source-panel h3 { font-size: 19px; margin-top: 30px; }
.source-panel p, .source-panel li, .source-panel a { font-size: 19px; }
.source-panel ul, .conditions { padding-left: 22px; }
.source-list { margin: 30px 0 40px; }
.source-list a { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 15px 0; font-size: 19px; }
.coverage-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 30px 0; }
.coverage-numbers strong { font-size: 36px; }
.coverage-numbers p { font-size: 16px; }
.editorial-note { display: flex; flex-direction: column; align-items: start; gap: 10px; padding: 25px 0 50px; }
.editorial-note p { font-size: 19px; }
.prose { max-width: 700px; padding-bottom: 60px; }
.prose h2 { font-size: 27px; margin-top: 40px; }
.prose p, .prose li { font-size: 19px; }
dialog { position: fixed; width: min(850px, calc(100vw - 40px)); max-height: 90dvh; border: 2px solid var(--ink); border-radius: 0; padding: 0; color: var(--ink); background: white; }
dialog::backdrop { background: #0b0c0c99; }
.dialog-inner { padding: 35px; }
.dialog-inner h2 { font-size: 36px; margin: 15px 25px 25px 0; }
.dialog-inner h3 { font-size: 24px; margin-top: 30px; }
.dialog-inner p, .conditions { font-size: 19px; }
.dialog-close { position: absolute; top: 12px; right: 15px; border: 0; background: none; font-size: 30px; width: 40px; height: 40px; }
.conditions li { margin-bottom: 10px; }
.claim-steps { padding-left: 25px; }
.claim-steps li { padding-left: 5px; margin-bottom: 20px; font-size: 19px; }
.source-footnote { font-size: 16px !important; overflow-wrap: anywhere; margin-top: 30px; }
.dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 30px; }
.support-banner { border-top: 5px solid var(--blue); padding: 20px; background: #f4f8fb; margin-bottom: 25px; }
.support-banner h3 { font-size: 24px; }
.support-banner p, .support-banner a { font-size: 19px; }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); padding: 15px 20px; background: var(--ink); color: white; font-size: 19px; opacity: 0; pointer-events: none; z-index: 100; }
#toast.show { opacity: 1; }
.print-report { display: none; }
@media (max-width: 900px) {
  .service-name { display: none; }
  .header-inner { gap: 20px; }
  .start-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
  .wizard-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 30px; }
  .result-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 30px; }
  .explore-controls { grid-template-columns: 1fr 1fr; }
  .search-wrap { grid-column: span 2; }
  .benefit-card-top { display: block; }
  .status-badge { display: inline-block; margin-bottom: 15px; }
}
@media (max-width: 640px) {
  :root { font-size: 16px; }
  .container, .header-inner, .footer-inner, .wizard-layout { width: calc(100% - 30px); }
  .header-inner { min-height: 76px; gap: 20px; }
  .brand { font-size: 30px; }
  nav { gap: 20px; font-size: 16px; }
  .site-footer { padding: 30px 0; }
  .footer-links { gap: 20px; }
  .start-page { padding-top: 35px; padding-bottom: 50px; }
  .start-layout { display: block; }
  .start-page h1 { font-size: 36px; line-height: 1.1; margin-bottom: 25px; }
  .start-page .govuk-body-l { font-size: 20px; margin-bottom: 25px; }
  .start-page .govuk-body { font-size: 18px; margin-bottom: 25px; }
  .related-content { margin-top: 40px; }
  .related-content h2, .related-content a { font-size: 18px; }
  .page-top { padding: 25px 0; }
  .page-top h1, .results-header h1 { font-size: 36px; }
  .page-top p { font-size: 18px; }
  .breadcrumb { font-size: 16px; margin-bottom: 30px; }
  .wizard-layout { display: block; margin-top: 30px; margin-bottom: 50px; }
  .wizard-aside { display: none; }
  .wizard-main h1 { font-size: 30px; }
  .wizard-intro { font-size: 18px; }
  .progress-meta { font-size: 16px; }
  .field legend, .field-label { font-size: 19px; }
  .field-help, .choice { font-size: 18px; }
  .choice { gap: 12px; }
  .input-row { display: block; }
  .text-input { font-size: 19px; }
  .wizard-controls { gap: 20px; }
  .button { font-size: 19px; }
  .notice { font-size: 18px; padding-left: 15px; }
  .review-item { grid-template-columns: 1fr auto; gap: 10px; }
  .review-item small { grid-column: span 2; font-size: 18px; }
  .review-item span, .review-item button { font-size: 18px; }
  .result-layout { display: block; padding-top: 25px; }
  .result-sidebar { margin-bottom: 25px; }
  .result-sidebar h3, .result-sidebar .small-panel { display: none; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .filter-button { width: auto; border: 1px solid var(--line); border-bottom: 3px solid transparent; font-size: 16px; padding: 8px 10px; gap: 8px; }
  .filter-button.active { border-bottom-color: var(--blue); }
  .result-toolbar { flex-wrap: wrap; }
  .result-toolbar p { font-size: 18px; }
  .results-header { padding-top: 35px; }
  .results-header p { font-size: 18px; }
  .profile-pills span { font-size: 16px; }
  .benefit-card h3 { font-size: 24px; }
  .benefit-card p { font-size: 18px; }
  .benefit-card-top { display: block; }
  .benefit-card-actions { gap: 20px; }
  .benefit-card-actions .button-plain { font-size: 18px; }
  .benefit-meta, .benefit-category, .result-context { font-size: 16px; }
  .explore-controls { gap: 15px; }
  .explore-controls select { font-size: 16px; }
  .source-grid { grid-template-columns: 1fr; gap: 30px; }
  .source-panel p, .source-panel li, .source-panel a { font-size: 18px; }
  .source-list a { font-size: 18px; }
  .coverage-numbers { grid-template-columns: 1fr 1fr; gap: 20px; }
  .prose p, .prose li { font-size: 18px; }
  .dialog-inner { padding: 25px 20px; }
  .dialog-inner h2 { font-size: 30px; margin-top: 25px; }
  .dialog-inner h3 { font-size: 22px; }
  .dialog-inner p, .conditions, .claim-steps li { font-size: 18px; }
  .dialog-actions { align-items: start; flex-direction: column; }
  .dialog-inner .source-footnote { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
@media print {
  @page { margin: 18mm; }
  body { background: white; color: black; font-size: 10pt; }
  .site-header, .site-footer, main, #toast, dialog { display: none !important; }
  .print-report { display: block !important; }
  .print-report h1 { font-size: 28pt; }
  .print-report h2 { font-size: 18pt; margin: 20px 0 10px; }
  .print-report h3 { font-size: 13pt; margin-top: 18px; }
  .print-report p, .print-report li { font-size: 10pt; line-height: 1.5; color: #222; }
  .print-benefit { break-inside: avoid; border-top: 1px solid #ccc; padding-top: 12px; margin-top: 15px; }
  .print-report a { overflow-wrap: anywhere; font-size: 9pt; }
  .print-report .print-label { font-size: 9pt; color: #555; }
  .print-report ul, .print-report ol { padding-left: 20px; }
  .print-report .print-warning { border: 1px solid #999; padding: 10px; }
}

/* The language preference is a URL parameter; answers remain in memory. */
.language-bar { background: #f4f8fb; border-bottom: 1px solid var(--line); }
.language-inner { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding-block:12px; font-size:16px; }
.language-inner label { font-weight:700; }
.language-inner select { border:2px solid var(--ink); border-radius:0; background:white; max-width:100%; padding:5px 30px 5px 8px; min-height:40px; }
.language-inner a { margin-inline-start:auto; }
#language-status:empty { display:none; }
[data-number] { max-width:200px; }
[dir=rtl] { --font: Tahoma, Arial, sans-serif; }
[dir=rtl] .service-name { border-left:0; border-inline-start:1px solid #ffffff80; padding-left:0; padding-inline-start:35px; }
[dir=rtl] nav { margin-left:0; margin-inline-start:auto; }
[dir=rtl] .wizard-aside { border-right:0; border-inline-end:1px solid var(--line); padding-right:0; padding-inline-end:25px; }
[dir=rtl] .notice { border-left:0; border-inline-start:10px solid #cecece; padding-left:0; padding-inline-start:20px; }
[dir=rtl] .notice.amber { border-inline-start-color:#ffdd00; }
[dir=rtl] .button-plain,[dir=rtl] .filter-button,[dir=rtl] .benefit-card h3 button { text-align:start; }
[dir=rtl] .filter-button { border-left:0; border-inline-start:5px solid transparent; }
[dir=rtl] .filter-button.active { border-inline-start-color:var(--blue); }
[dir=rtl] .govuk-radios__item,[dir=rtl] .govuk-checkboxes__item { padding-left:0; padding-right:40px; }
[dir=rtl] .govuk-radios__input,[dir=rtl] .govuk-checkboxes__input { left:auto; right:0; }
[dir=rtl] .govuk-radios__label::before,[dir=rtl] .govuk-checkboxes__label::before { left:auto; right:0; }
[dir=rtl] .govuk-radios__label::after { left:auto; right:10px; }
[dir=rtl] .govuk-checkboxes__label::after { left:auto; right:10px; }
[dir=rtl] .govuk-radios__hint,[dir=rtl] .govuk-checkboxes__hint { padding-right:15px; padding-left:0; }
[dir=rtl] .dialog-close { right:auto; left:15px; }
[dir=rtl] .dialog-inner h2 { margin-right:0; margin-left:25px; }
[dir=rtl] .money-wrap { direction:ltr; }
[dir=rtl] .search-wrap > span { left:auto; right:10px; }
[dir=rtl] .search-wrap input { padding-left:5px; padding-right:35px; }
[dir=rtl] .govuk-button__start-icon { transform:rotate(180deg); margin-left:0; margin-inline-start:5px; }
[dir=rtl] .language-inner select { padding-right:8px; padding-left:30px; }
@media(max-width:640px){.language-inner{gap:8px}.language-inner a{font-size:14px}[dir=rtl] .filter-button{border:1px solid var(--line);border-bottom:3px solid transparent}[dir=rtl] .filter-button.active{border-bottom-color:var(--blue)}}
@media print{.language-bar{display:none}}
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3 { line-height:1.45; }
[dir=rtl] .conditions,[dir=rtl] .claim-steps { padding-left:0; padding-inline-start:25px; }
.original-guidance { margin-top:30px; }
.original-guidance [data-no-i18n] { text-align:left; }
[dir=rtl] .skip-link { left:auto; right:-9999px; }
[dir=rtl] .skip-link:focus { right:0; }
[dir=rtl] .govuk-details__summary { padding-left:0; padding-right:25px; }
[dir=rtl] .govuk-details__summary::before { left:auto; right:0; }
[dir=rtl] .govuk-details:not([open]) > .govuk-details__summary::before { transform:scaleX(-1); }
[dir=rtl] .govuk-details__text:not([data-no-i18n]) { border-left:0; border-inline-start:5px solid var(--line); }
[dir=rtl] .error { border-left:0; border-inline-start:5px solid #ca3535; }
[lang^=pa] h1,[lang^=pa] h2,[lang^=pa] h3,[lang^=hi] h1,[lang^=hi] h2,[lang^=hi] h3 { line-height:1.4; }

.language-inner label { unicode-bidi:isolate; }

/* One visible question, with its accessible label kept intact. */
.field legend.primary-question { width:100%; margin-bottom:25px; }
.field-label.primary-question { font:inherit; margin:0; }
.fast-track-link { margin-top:25px; }
.arrival-page { max-width:760px; padding-bottom:60px; }
.arrival-page h1 { margin-bottom:35px; }
.arrival-page .field { margin-bottom:35px; }
.arrival-card { border-top:1px solid var(--line); margin-top:30px; padding-top:25px; }
.arrival-card h2 { font-size:27px; line-height:1.3; }
.arrival-card li { margin-block:10px; }
.arrival-actions { display:flex; flex-wrap:wrap; align-items:center; gap:25px; margin-top:35px; }
.arrival-actions .button { margin:0; }
.arrival-card ol,[dir=rtl] .arrival-card ol { padding-inline-start:25px; padding-inline-end:0; }

html[lang^=en] .arrival-original { display:none; }

/* A small, familiar cart for a user's chosen benefits. */
.cart-nav { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.cart-count { display:inline-flex; align-items:center; justify-content:center; min-width:25px; height:25px; padding-inline:6px; border-radius:20px; background:#fff; color:var(--blue); font-size:14px; font-weight:700; }
.cart-icon { flex:none; vertical-align:middle; }
.cart-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:9px 14px; border:2px solid var(--blue); background:var(--blue); color:white; font-size:16px; font-weight:700; border-radius:0; }
.cart-button:hover { background:#154f82; border-color:#154f82; }
.cart-button.is-added { color:#145f39; background:#eff7f1; border-color:#b6d2bf; opacity:1; cursor:default; }
.cart-heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:20px; margin-bottom:30px; }
.cart-heading h1 { margin:0; }
.cart-item-count { color:var(--muted); }
.cart-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:40px; align-items:start; padding-bottom:50px; }
.cart-list { border-top:1px solid var(--line); }
.cart-row { display:flex; gap:18px; padding-block:25px; border-bottom:1px solid var(--line); }
.cart-row-icon { display:flex; align-items:center; justify-content:center; width:44px; height:44px; flex:none; background:#edf4fa; color:var(--blue); }
.cart-row-content { min-width:0; flex:1; }
.cart-row h2 { margin:0 0 12px; font-size:23px; line-height:1.25; }
.cart-row h2 button { font:inherit; text-align:start; }
.cart-row p { margin-bottom:12px; }
.cart-row .benefit-category { font-size:14px; }
.cart-row .cart-timing { color:var(--muted); font-size:16px; }
.cart-remove { background:none; border:0; padding:0; color:var(--link); text-decoration:underline; align-self:start; font-size:16px; }
.cart-summary { position:sticky; top:25px; border:1px solid var(--line); border-top:4px solid var(--blue); padding:24px; background:#f7f9fb; }
.cart-summary h2 { font-size:24px; }
.cart-summary p { font-size:17px; }
.cart-print { width:100%; margin:5px 0 18px; background:var(--blue); }
.cart-continue { display:block; text-align:center; }
.cart-summary .cart-note { margin:24px 0 0; border-top:1px solid var(--line); padding-top:18px; font-size:15px; color:var(--muted); }
.cart-empty { text-align:center; padding:50px 20px 80px; }
.cart-empty > .cart-icon { width:50px; height:50px; color:var(--blue); margin-bottom:25px; }
.cart-empty h2 { font-size:28px; }
.cart-warning { border-inline-start:4px solid #ffdd00; padding-inline-start:12px; font-size:16px; }
@media(max-width:850px){.cart-layout{grid-template-columns:1fr;gap:25px}.cart-summary{position:static}.cart-row h2{font-size:21px}}
@media(max-width:640px){.cart-heading{gap:12px}.cart-row{gap:12px;flex-wrap:wrap}.cart-row-icon{display:none}.cart-remove{margin-inline-start:auto}.cart-nav{margin-inline-start:auto}.cart-summary{padding:20px}.cart-page{padding-top:25px}}
@media print{.print-report h2,.print-report h3{break-after:avoid}.print-report ul,.print-report ol{padding-inline-start:20px;padding-inline-end:0}}
@media print{html{background:white}}
.header-inner { flex-wrap:wrap; padding-block:18px; row-gap:12px; }
.header-inner nav { flex-wrap:wrap; align-items:center; max-width:100%; }
@media(max-width:900px){.header-inner nav{width:100%;margin-inline-start:0;gap:12px 20px}.header-inner{padding-block:18px}}
@media print{:root{background:white}}
