/* Help bubble and side panel. Navy and gold; bubble bottom right on every page. */
.ka-help { position: relative; z-index: 9990; font-family: var(--wp--preset--font-family--open-sans, 'Open Sans', sans-serif); color: var(--ka-primary); }
.ka-help *, .ka-help *::before { box-sizing: border-box; }
.ka-help__bubble { position: fixed; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 0; }
.ka-help__pill { display: flex; align-items: center; gap: 2px; margin-right: -14px; padding: 6px 22px 6px 8px; border-radius: 30px 0 0 30px; background: var(--ka-primary); box-shadow: 0 8px 24px rgb(17 31 70 / 25%); }
.ka-help__pill a, .ka-help__pill button { display: grid; place-items: center; width: 42px; height: 42px; padding: 9px; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.ka-help__pill a:hover, .ka-help__pill button:hover { background: rgb(255 255 255 / 12%); color: var(--ka-secondary); }
.ka-help__pill svg, .ka-help__card > svg, .ka-help__submit svg, .ka-help__back svg { width: 100%; height: 100%; }
.ka-help__avatar { position: relative; z-index: 1; width: 64px; height: 64px; padding: 0; border: 3px solid var(--ka-secondary); border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgb(17 31 70 / 25%); cursor: pointer; }
.ka-help__avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ka-help__dot { position: absolute; top: 1px; right: 1px; width: 14px; height: 14px; border: 2px solid #fff; border-radius: 50%; background: #2fb463; }

.ka-help__avatar:focus-visible, .ka-help__pill :focus-visible { outline: 3px solid var(--ka-secondary); outline-offset: 2px; }
.ka-help__overlay { position: fixed; inset: 0; background: rgb(17 31 70 / 45%); opacity: 0; transition: opacity .25s; }
.ka-help__panel { position: fixed; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: #fff; box-shadow: -10px 0 40px rgb(17 31 70 / 20%); transform: translateX(100%); transition: transform .25s cubic-bezier(.25,0,.25,1); }
.ka-help.is-open .ka-help__panel { transform: none; }
.ka-help.is-open .ka-help__overlay { opacity: 1; }
.ka-help-lock { overflow: hidden; }
.ka-help__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 20px 20px 24px; background: var(--ka-secondary); }
.ka-help__head h2 { margin: 0 0 4px; color: var(--ka-primary); font-size: 30px; font-weight: 700; line-height: 1.1; }
.ka-help__head p { margin: 0; color: var(--ka-primary); font-size: 15px; font-style: italic; }
.ka-help__close { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; border: 0; border-radius: 50%; background: #fff; color: var(--ka-primary); cursor: pointer; }
.ka-help__body { flex: 1; overflow-y: auto; padding: 8px 20px 28px; overscroll-behavior: contain; }
.ka-help__body h3 { margin: 22px 0 12px; font-size: 20px; font-weight: 700; }
.ka-help__body > div > p, .ka-help__note { margin: 0 0 14px; color: #4a5263; font-size: 14px; line-height: 1.5; }
.ka-help__card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; align-items: center; gap: 14px; width: 100%; margin-bottom: 10px; padding: 14px 16px; border: 1px solid #e0e6f0; border-radius: 10px; background: #fff; color: var(--ka-primary); font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.ka-help__card > svg:first-child { width: 32px; height: 32px; color: var(--ka-primary); }
.ka-help__card > svg:last-child { width: 18px; height: 18px; color: #8a93a6; }
.ka-help__card small { display: block; color: #4a5263; font-size: 14px; }
.ka-help__card strong { display: block; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.ka-help__card:hover { border-color: var(--ka-primary); background: #f4f6fa; }
.ka-help__hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.ka-help__hours th, .ka-help__hours td { padding: 9px 0; border-bottom: 1px solid #eef1f5; text-align: left; font-weight: 400; }
.ka-help__hours th { font-weight: 700; }
.ka-help__hours td { color: #4a5263; text-align: right; }
.ka-help__hours tr.is-today th, .ka-help__hours tr.is-today td { color: var(--ka-primary); font-weight: 700; }
.ka-help__hours tr.is-today th { box-shadow: inset 3px 0 var(--ka-secondary); padding-left: 10px; }
.ka-help__note { margin-top: 10px !important; font-size: 13px !important; }
.ka-help__faq { margin: 0; padding: 0; list-style: none; border-top: 1px dashed #d8dde7; }
.ka-help__faq a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #eef1f5; color: #4a5263; font-size: 15px; text-decoration: none; }
.ka-help__faq a:hover { color: var(--ka-primary); }
.ka-help__faq svg { flex: none; width: 16px; height: 16px; }
.ka-help__back { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 0; border: 0; background: none; color: var(--ka-primary); font: inherit; font-weight: 600; cursor: pointer; }
.ka-help__back svg { width: 18px; height: 18px; }
.ka-help__field { display: grid; gap: 5px; margin-bottom: 12px; }
.ka-help__field span { color: #4a5263; font-size: 14px; font-weight: 600; }
.ka-help__field input, .ka-help__field select, .ka-help__field textarea { width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid #d4dae5; border-radius: 6px; color: var(--ka-primary); font: inherit; font-size: 16px; }
.ka-help__submit { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 50px; border: 0; border-radius: 6px; background: var(--ka-primary); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.ka-help__submit svg { width: 22px; height: 22px; }
.ka-help__error { margin: 0 0 12px; padding: 9px 12px; border-radius: 6px; background: #fdecea; color: #b42318; font-size: 14px; }
.ka-help__done { margin-top: 12px; padding: 18px; border-radius: 10px; background: #f4f6fa; }
.ka-help__done p { margin: 6px 0 0; color: #4a5263; }
.ka-help [hidden] { display: none !important; }
.ka-help__panel[hidden], .ka-help__overlay[hidden] { display: none !important; }
@media (max-width: 640px) {
    .ka-help__bubble { right: 12px; bottom: 12px; }
    .ka-help__pill { padding: 4px 18px 4px 6px; }
    .ka-help__pill a, .ka-help__pill button { width: 38px; height: 38px; padding: 8px; }
    .ka-help__avatar { width: 56px; height: 56px; }
    .ka-help__panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ka-help__panel, .ka-help__overlay { transition: none; } }
@media print { .ka-help { display: none; } }
.ka-help .ka-contact-hp, .ka-book .ka-contact-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Keep the bubble out of the way while the mobile menu is open. */
html.has-modal-open .ka-help__bubble { display: none; }
.ka-help [aria-invalid] { border-color: #b42318; }

/* Test-drive planner: three steps inside the panel. */
.ka-help [data-plan] fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ka-help__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 4px 0 18px; padding: 0; list-style: none; counter-reset: s; }
.ka-help__progress li { padding-top: 8px; border-top: 4px solid #e0e6f0; color: #8a93a6; font-size: 13px; font-weight: 600; counter-increment: s; }
.ka-help__progress li::before { content: counter(s) ". "; }
.ka-help__progress li.is-active, .ka-help__progress li.is-done { border-color: var(--ka-primary); color: var(--ka-primary); }
.ka-help__label { margin: 0 0 8px; color: #4a5263; font-size: 14px; font-weight: 600; }
.ka-help__muted { margin: 0; color: #4a5263; font-size: 14px; }
.ka-help__days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.ka-help__days button { display: grid; gap: 1px; padding: 8px 4px; border: 1px solid #d4dae5; border-radius: 8px; background: #fff; color: var(--ka-primary); font: inherit; line-height: 1.15; cursor: pointer; }
.ka-help__days small { color: #4a5263; font-size: 12px; }
.ka-help__days strong { font-size: 18px; }
.ka-help__times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.ka-help__times .ka-help__muted { grid-column: 1 / -1; }
.ka-help__times button { min-height: 42px; border: 1px solid #d4dae5; border-radius: 8px; background: #fff; color: var(--ka-primary); font: inherit; font-weight: 600; cursor: pointer; }
.ka-help__days button:hover, .ka-help__times button:hover { border-color: var(--ka-primary); }
.ka-help__days button[aria-pressed="true"], .ka-help__times button[aria-pressed="true"] { border-color: var(--ka-primary); background: var(--ka-primary); color: #fff; }
.ka-help__days button[aria-pressed="true"] small { color: var(--ka-secondary); }
.ka-help__nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.ka-help__ghost { min-height: 50px; padding: 0 18px; border: 1px solid var(--ka-primary); border-radius: 6px; background: #fff; color: var(--ka-primary); font: inherit; font-weight: 700; cursor: pointer; }
.ka-help__summary { margin: 0 0 14px; padding: 12px 14px; border-radius: 8px; background: #f4f6fa; color: var(--ka-primary); font-size: 15px; font-weight: 600; }

/* Workshop planner: Dutch plate field, RDW result and service checkboxes. */
.ka-help .ka-help__plate { padding-left: 46px; background: #f5c400 linear-gradient(90deg, #0b3fa8 0 34px, transparent 34px); color: #111; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ka-help__car { margin: -4px 0 14px; padding: 10px 12px; border-radius: 8px; background: #f4f6fa; color: var(--ka-primary); font-size: 14px; font-weight: 600; }
.ka-help__services { display: grid; gap: 8px; margin-bottom: 16px; }
.ka-help__services label { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border: 1px solid #d4dae5; border-radius: 8px; background: #fff; color: var(--ka-primary); font-weight: 600; cursor: pointer; }
.ka-help__services input { width: 18px; height: 18px; margin: 0; accent-color: var(--ka-primary); }
.ka-help__services small { color: #4a5263; font-size: 13px; font-weight: 400; }
.ka-help__services label:has(input:checked) { border-color: var(--ka-primary); background: #f4f6fa; }
.ka-help__services label:has(input:focus-visible) { outline: 2px solid var(--ka-primary); outline-offset: 2px; }
.ka-help__progress li { overflow-wrap: anywhere; }
