.hmrc-panel{margin:20px 0;padding:18px;border:1px solid #dfd6dd;border-radius:8px;background:#fff;text-align:left;clear:both}
#hmrc-booking-hint[hidden]{display:none!important}
.hmrc-panel legend{float:none;width:auto;padding:0 5px;font-size:18px;line-height:1.4;font-weight:600;color:#202020}
.hmrc-panel p{margin:5px 0 12px!important;font-size:14px;line-height:1.55;color:#52606b}
.hmrc-panel .hmrc-option{display:flex!important;align-items:flex-start;gap:10px;border:1px solid #dfd6dd;border-radius:6px;padding:12px;margin:9px 0!important;font-size:15px;font-weight:400;line-height:1.45;color:#202020;cursor:pointer}
.hmrc-option:has(input:checked){border-color:#a46b96;background:#faf5f9}
.hmrc-option input[type=radio]{appearance:auto!important;-webkit-appearance:radio!important;position:static!important;opacity:1!important;display:block!important;width:18px!important;height:18px!important;min-width:18px;max-width:18px;margin:3px 0 0!important;accent-color:#a46b96}
.hmrc-option strong{display:block;font-size:15px}.hmrc-option small{display:block;margin-top:3px;color:#52606b;font-size:13px;line-height:1.45}
.hmrc-included{background:#f5f9f5;border-color:#d9e4d9}.hmrc-included .hmrc-resource-name{font-weight:600;font-size:15px;margin:8px 0 3px;color:#273d2b}.hmrc-included .hmrc-resource-name:before{content:'✓ ';color:#397c48}.hmrc-resource-description{font-size:14px;line-height:1.55;color:#52606b;margin-bottom:9px}.hmrc-resource-description p{margin:4px 0!important}
.hmrc-original-hidden{display:none!important}.hmrc-status{font-size:14px;line-height:1.5;margin:10px 0;color:#52606b}.hmrc-status[data-state=error],.hmrc-error{color:#9b2424}.hmrc-status[data-state=checking]{color:#375c7b}.hmrc-status[data-state=available]{color:#2d703e}
.hmrc-option:has(input:disabled){opacity:.55;cursor:not-allowed}.hmrc-error{margin:10px 0;font-size:14px;line-height:1.5}.hmrc-notice{font-size:14px;color:#52606b;margin:8px 0}.hmrc-loading-dot{display:inline-block;width:12px;height:12px;border:2px solid #b9c5d0;border-top-color:#375c7b;border-radius:50%;animation:hmrc-spin .8s linear infinite;margin-right:6px}@keyframes hmrc-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.hmrc-loading-dot{animation:none}}
@media(max-width:600px){.hmrc-panel{padding:13px;margin:15px 0}.hmrc-panel legend{font-size:17px}.hmrc-panel .hmrc-option{padding:10px}}

/* The alternative transport remains fully selectable, with a quieter visual weight. */
.hmrc-panel .hmrc-option-secondary{background:#f4f4f5;border-color:#dedee2;color:#555b62}
.hmrc-panel .hmrc-option-secondary small{color:#5e646c}
.hmrc-panel .hmrc-option-secondary:has(input:checked){background:#faf5f9;border-color:#a46b96;color:#202020}
.hmrc-panel .hmrc-option:focus-within{outline:2px solid #805173;outline-offset:2px}

/* Indicate every unanswered section after an attempted booking. */
.hmrc-panel.hmrc-invalid{border:2px solid #b02a45;background:#fff9fa;scroll-margin-top:110px}
.hmrc-panel.hmrc-invalid legend{color:#9c233b}
.hmrc-panel .hmrc-field-error{color:#9c233b!important;font-weight:600;margin:4px 0 12px!important}
.hmrc-field-error[hidden]{display:none!important}
input.hmrc-invalid-field{border:2px solid #b02a45!important;scroll-margin-top:110px}
.hmrc-validation-summary{padding:12px 14px;border:1px solid #b02a45;border-radius:6px;background:#fff9fa;color:#9c233b;text-align:left;clear:both}
.hmrc-validation-summary ul{margin:6px 0 0;padding-left:20px;color:inherit;font-size:14px;line-height:1.5}
.hmrc-validation-summary li{margin:4px 0}
