/*
 * Notaring booking form. Everything is scoped under .ntg-bk so the theme (Avada) and the form leave each other alone.
 * Narrow layout (phones) switches on the form's own width, not the screen's, so it also works in narrow columns.
 */

@font-face { font-family: 'NtgPoppins'; font-weight: 400; font-style: normal; font-display: swap; src: url('../fonts/poppins-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'NtgPoppins'; font-weight: 500; font-style: normal; font-display: swap; src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'NtgPoppins'; font-weight: 600; font-style: normal; font-display: swap; src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2'); }

.ntg-bk {
    --ntg-green: #15c39a;
    --ntg-green-text: #0f8f70;
    --ntg-green-soft: #f2fbf8;
    --ntg-blue: #4a6ee0;
    --ntg-blue-dark: #3456c4;
    --ntg-blue-soft: #eef2fc;
    --ntg-ink: #23292e;
    --ntg-grey: #5f6e7d;
    --ntg-faint: #b3bbc3;
    --ntg-line: rgba(35, 41, 46, .16);
    --ntg-line-soft: rgba(35, 41, 46, .08);
    --ntg-red: #c4282d;
    container-type: inline-size;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    font-family: 'NtgPoppins', Poppins, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--ntg-ink);
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
.ntg-bk *, .ntg-bk *::before, .ntg-bk *::after { box-sizing: border-box; }
body p.ntg-bk-testnote { max-width: 640px; margin: 0 auto 16px; padding: 10px 14px; border-radius: 10px; background: #fff7e6; font: 13px/19px 'NtgPoppins', Poppins, Arial, sans-serif; color: #23292e; }

/* Neutralise theme styles on the form's own controls. */
.ntg-bk button, .ntg-bk input, .ntg-bk select {
    font-family: inherit; font-size: inherit; line-height: normal; letter-spacing: normal; text-transform: none;
    margin: 0; min-height: 0; height: auto; box-shadow: none; text-shadow: none; transition: background-color .15s, border-color .15s, color .15s;
}
.ntg-bk button { cursor: pointer; -webkit-appearance: none; appearance: none; }
.ntg-bk button:disabled { cursor: default; }
.ntg-bk h2, .ntg-bk h3, .ntg-bk p { margin: 0; padding: 0; letter-spacing: normal; text-transform: none; }
.ntg-bk .ntg-bk-title, .ntg-bk .ntg-bk-group { font-family: inherit; }
.ntg-bk a { color: var(--ntg-blue); font-weight: 500; text-decoration: none; }
.ntg-bk a:hover { color: var(--ntg-blue-dark); text-decoration: underline; }
.ntg-bk :focus-visible { outline: 3px solid rgba(74, 110, 224, .45); outline-offset: 2px; }
.ntg-bk .ntg-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------------------------------------------------------------- card */

.ntg-bk .ntg-bk-card {
    background: #fff;
    border: 1px solid rgba(35, 41, 46, .10);
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(35, 41, 46, .10);
    overflow: hidden;
}
.ntg-bk .ntg-bk-head { padding: 28px 32px 0; }
.ntg-bk .ntg-bk-bar { display: grid; gap: 6px; }
.ntg-bk .ntg-bk-bar span { height: 4px; border-radius: 2px; background: #e6eaef; }
.ntg-bk .ntg-bk-bar span.on { background: var(--ntg-blue); }
/* Steps already done are buttons: a taller invisible target around the same thin bar. */
.ntg-bk .ntg-bk-bar .ntg-bk-seg { position: relative; display: block; height: 4px; margin: 0; padding: 0; border: 0; border-radius: 2px; background: var(--ntg-blue); cursor: pointer; transition: background .15s, box-shadow .15s; }
.ntg-bk .ntg-bk-bar .ntg-bk-seg.was { background: #b9c8f3; }
.ntg-bk .ntg-bk-bar .ntg-bk-seg::after { content: ''; position: absolute; left: 0; right: 0; top: -10px; bottom: -10px; }
.ntg-bk .ntg-bk-bar .ntg-bk-seg:hover { background: #2f55c9; box-shadow: 0 0 0 2px rgba(74, 110, 224, .18); }
.ntg-bk .ntg-bk-bar .ntg-bk-seg.was:hover { background: #8fa6ea; }
.ntg-bk .ntg-bk-bar .ntg-bk-seg:focus-visible { outline: 3px solid rgba(74, 110, 224, .45); outline-offset: 3px; }
.ntg-bk .ntg-bk-step { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-back-sm { display: none; }
.ntg-bk .ntg-bk-title { margin-top: 4px; font-size: 22px; line-height: 30px; font-weight: 600; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-title:focus { outline: none; }
.ntg-bk .ntg-bk-sub { margin-top: 2px; font-size: 14px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-body { padding: 0 32px; }
.ntg-bk .ntg-bk-note { margin: 18px 32px 0; padding: 12px 14px; border-radius: 10px; background: var(--ntg-blue-soft); font-size: 13px; line-height: 19px; }
.ntg-bk .ntg-bk-note.err { background: #fdecec; color: #8a1c20; }
.ntg-bk .ntg-bk-hint { margin: 0 0 0 4px; font-size: 12px; line-height: 18px; color: var(--ntg-grey); }

/* Footer: back, total, continue. */
.ntg-bk .ntg-bk-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 28px; padding: 18px 32px;
    border-top: 1px solid var(--ntg-line-soft); background: #fafbfc;
}
.ntg-bk .ntg-bk-foot-next { font-size: 13px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-foot-right { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.ntg-bk .ntg-bk-total { display: flex; flex-direction: column; align-items: flex-end; }
.ntg-bk .ntg-bk-total small { font-size: 12px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-total b { font-size: 18px; font-weight: 600; }
.ntg-bk .ntg-bk-when { display: none; }
.ntg-bk .ntg-bk-back {
    display: flex; align-items: center; gap: 6px; padding: 10px 4px; border: 0; background: none;
    color: var(--ntg-grey); font-size: 14px; font-weight: 500;
}
.ntg-bk .ntg-bk-back:hover { color: var(--ntg-ink); }
.ntg-bk .ntg-bk-go {
    padding: 13px 34px; border: 0; border-radius: 30px; background: var(--ntg-green); color: #fff;
    font-size: 14px; font-weight: 600;
}
.ntg-bk .ntg-bk-go:hover { background: #12ad89; }
.ntg-bk .ntg-bk-go:disabled { background: #b9e9db; }

/* ---------------------------------------------------------------- step 1: service */

.ntg-bk .ntg-bk-services { margin: 20px 0 0; padding: 0 32px; border: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ntg-bk .ntg-bk-opt {
    display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin: 1px;
    border-radius: 14px; border: 1px solid var(--ntg-line); background: #fff; cursor: pointer;
}
.ntg-bk .ntg-bk-opt:hover { border-color: rgba(35, 41, 46, .32); }
.ntg-bk .ntg-bk-opt.on { margin: 0; padding: 18px 20px; border: 2px solid var(--ntg-green); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-opt input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; }
.ntg-bk .ntg-bk-opt-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ntg-bk .ntg-bk-opt-name { font-size: 16px; line-height: 22px; font-weight: 600; }
.ntg-bk .ntg-bk-opt-text { font-size: 13px; line-height: 19px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-opt-price { display: flex; flex-direction: column; text-align: right; }
.ntg-bk .ntg-bk-opt-price small { font-size: 12px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-opt-price b { font-size: 18px; font-weight: 500; }

/* ---------------------------------------------------------------- step 2: extras */

.ntg-bk .ntg-bk-group { margin: 24px 0 10px; font-size: 13px; font-weight: 600; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-extras { display: flex; flex-direction: column; gap: 10px; }
.ntg-bk .ntg-bk-extra {
    display: flex; align-items: center; gap: 16px; padding: 16px 18px; margin: 1px;
    border-radius: 14px; border: 1px solid rgba(35, 41, 46, .14);
}
.ntg-bk .ntg-bk-extra.on { margin: 0; padding: 16px 18px; border: 2px solid var(--ntg-green); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-extra-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ntg-bk .ntg-bk-extra-name { font-size: 15px; line-height: 21px; font-weight: 600; }
.ntg-bk .ntg-bk-extra-text { font-size: 13px; line-height: 19px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-nw { white-space: nowrap; }
.ntg-bk .ntg-bk-extra-cost { margin-left: 6px; font-size: 14px; font-weight: 500; color: var(--ntg-grey); white-space: nowrap; }
.ntg-bk .ntg-bk-extra-short { display: none; font-size: 13px; line-height: 19px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-stepper { display: flex; align-items: center; gap: 10px; }
.ntg-bk .ntg-bk-stepper button {
    width: 36px; height: 36px; padding: 0; border-radius: 50%; border: 1px solid rgba(35, 41, 46, .2); background: #fff;
    display: flex; align-items: center; justify-content: center; color: var(--ntg-ink);
}
.ntg-bk .ntg-bk-stepper button:hover:not(:disabled) { border-color: var(--ntg-ink); }
.ntg-bk .ntg-bk-stepper button:disabled { opacity: .45; border-color: rgba(35, 41, 46, .12); }
.ntg-bk .ntg-bk-qty { width: 2.6em; min-width: 40px; flex: 0 0 auto; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ntg-ink); font: inherit; font-size: 16px; font-weight: 500; text-align: center; -moz-appearance: textfield; }
.ntg-bk .ntg-bk-qty::selection { background: rgba(21, 195, 154, .25); color: var(--ntg-ink); }
.ntg-bk .ntg-bk-qty:hover { border-color: var(--ntg-line); }
.ntg-bk .ntg-bk-qty:focus { border-color: var(--ntg-green); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(21, 195, 154, .15); }
.ntg-bk .ntg-bk-stepper button { touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ntg-bk .ntg-bk-extra.on .ntg-bk-qty { font-weight: 600; }
.ntg-bk .ntg-bk-toggle {
    min-width: 98px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 18px;
    border-radius: 30px; border: 1px solid var(--ntg-green); background: #fff; color: var(--ntg-green-text);
    font-size: 13px; font-weight: 600;
}
.ntg-bk .ntg-bk-toggle[aria-pressed="true"] { border: 1.5px solid var(--ntg-green); background: #fff; color: var(--ntg-green-text); }
.ntg-bk .ntg-bk-limit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -2px 1px 2px; padding: 12px 14px; border-radius: 12px; background: var(--ntg-blue-soft); font-size: 13px; line-height: 19px; }
.ntg-bk .ntg-bk-limit p { flex: 1 1 260px; }
.ntg-bk .ntg-bk-limit button { padding: 8px 16px; border-radius: 30px; border: 1px solid var(--ntg-blue); background: #fff; color: var(--ntg-blue-dark); font-size: 13px; font-weight: 600; }

/* Paper copies: how they get them (extras), and which documents (details). */
.ntg-bk .ntg-bk-way { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.ntg-bk .ntg-bk-way legend { padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.ntg-bk .ntg-bk-way-opt {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: 1px; cursor: pointer;
    border-radius: 12px; border: 1px solid var(--ntg-line); background: #fff;
}
.ntg-bk .ntg-bk-way-opt.on { margin: 0; padding: 12px 14px; border: 2px solid var(--ntg-green); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-way-opt input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }
.ntg-bk .ntg-bk-way-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.ntg-bk .ntg-bk-way-t b { font-size: 14px; font-weight: 600; }
.ntg-bk .ntg-bk-way-t small { font-size: 12px; line-height: 17px; color: var(--ntg-grey); overflow-wrap: anywhere; }
.ntg-bk .ntg-bk-way-opt em { font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ntg-bk .ntg-bk-way + .ntg-bk-hint { margin: 2px 0 0 4px; }
.ntg-bk .ntg-bk-copybar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 8px; font-size: 13px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-copybar b { color: var(--ntg-ink); font-weight: 600; }
.ntg-bk .ntg-bk-copysum { margin-left: auto; color: var(--ntg-ink); font-weight: 500; }
.ntg-bk .ntg-bk-copylist { display: flex; flex-direction: column; border: 1px solid var(--ntg-line); border-radius: 14px; overflow: hidden; }
.ntg-bk .ntg-bk-copy { display: flex; align-items: center; gap: 12px; padding: 10px 14px; }
.ntg-bk .ntg-bk-copy + .ntg-bk-copy { border-top: 1px solid var(--ntg-line-soft); }
.ntg-bk .ntg-bk-copy.on { background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-copy-name { flex: 1; display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.ntg-bk .ntg-bk-copy-name b { font-weight: 600; }
.ntg-bk .ntg-bk-copy-name span { font-size: 12px; color: var(--ntg-grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntg-bk .ntg-bk-copy .ntg-bk-stepper button { width: 32px; height: 32px; }
.ntg-bk .ntg-bk-copies .ntg-bk-small { margin-top: 10px; }

/* ---------------------------------------------------------------- step 3: people */

.ntg-bk .ntg-bk-people { margin: 24px 0 0; padding: 0 32px; border: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; min-width: 0; }
.ntg-bk .ntg-bk-person {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 20px 8px 18px; margin: 1px;
    border-radius: 14px; border: 1px solid var(--ntg-line); background: #fff; cursor: pointer; text-align: center;
}
.ntg-bk .ntg-bk-person:hover { border-color: rgba(35, 41, 46, .32); }
.ntg-bk .ntg-bk-person.on { margin: 0; padding: 20px 8px 18px; border: 2px solid var(--ntg-green); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-person input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ntg-bk .ntg-bk-person:focus-within { outline: 3px solid rgba(74, 110, 224, .45); outline-offset: 2px; }
.ntg-bk .ntg-bk-person-n { font-size: 30px; line-height: 36px; font-weight: 500; }
.ntg-bk .ntg-bk-person-l { font-size: 13px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-person-p { margin-top: 10px; font-size: 15px; font-weight: 600; }
.ntg-bk .ntg-bk-check { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--ntg-green); display: none; align-items: center; justify-content: center; }
.ntg-bk .ntg-bk-person.on .ntg-bk-check { display: flex; }
.ntg-bk .ntg-bk-check { background: #fff; color: var(--ntg-green-text); box-shadow: inset 0 0 0 1.5px var(--ntg-green); }

/* ---------------------------------------------------------------- step 4: time */

.ntg-bk .ntg-bk-tzlink { padding: 0; border: 0; background: none; color: var(--ntg-blue); font-weight: 500; font-size: inherit; }
.ntg-bk .ntg-bk-tzlink:hover { text-decoration: underline; }
.ntg-bk .ntg-bk-tz { padding: 16px 32px 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ntg-bk .ntg-bk-tz select { max-width: 100%; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--ntg-line); background: #fff; color: var(--ntg-ink); font-size: 14px; }
.ntg-bk .ntg-bk-time { display: grid; grid-template-columns: 296px minmax(0, 1fr); gap: 28px; padding: 24px 32px 0; }
.ntg-bk .ntg-bk-month { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ntg-bk .ntg-bk-month p { font-size: 15px; font-weight: 600; }
.ntg-bk .ntg-bk-month div { display: flex; gap: 6px; }
.ntg-bk .ntg-bk-month button {
    width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(35, 41, 46, .2); background: #fff;
    display: flex; align-items: center; justify-content: center; color: var(--ntg-ink);
}
.ntg-bk .ntg-bk-month button:disabled { opacity: .45; border-color: rgba(35, 41, 46, .12); }
.ntg-bk .ntg-bk-dow, .ntg-bk .ntg-bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.ntg-bk .ntg-bk-dow { margin-bottom: 6px; text-align: center; font-size: 12px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-days > span, .ntg-bk .ntg-bk-days button {
    height: 38px; display: flex; align-items: center; justify-content: center; font-size: 14px; border-radius: 50%;
}
.ntg-bk .ntg-bk-days > span { color: var(--ntg-faint); }
.ntg-bk .ntg-bk-days > span.today { box-shadow: inset 0 0 0 1px rgba(35, 41, 46, .2); }
.ntg-bk .ntg-bk-days button { width: 100%; padding: 0; border: 0; background: var(--ntg-blue-soft); color: var(--ntg-ink); font-weight: 500; }
.ntg-bk .ntg-bk-days button:hover { background: #dfe6fa; }
.ntg-bk .ntg-bk-days button.today { box-shadow: inset 0 0 0 1px rgba(35, 41, 46, .25); }
.ntg-bk .ntg-bk-days button[aria-pressed="true"] { background: var(--ntg-blue); color: #fff; font-weight: 600; }
.ntg-bk .ntg-bk-legend { margin-top: 12px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--ntg-blue-soft); border: 1px solid #c9d4f5; }
.ntg-bk .ntg-bk-strip { display: none; }
.ntg-bk .ntg-bk-dayname { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.ntg-bk .ntg-bk-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ntg-bk .ntg-bk-times button {
    height: 42px; padding: 0; border-radius: 10px; border: 1px solid var(--ntg-line); background: #fff; color: var(--ntg-ink);
    font-size: 13.5px; font-weight: 500; white-space: nowrap;
}
/* Morning · Afternoon · Evening: the same pill switch as everywhere else. */
.ntg-bk .ntg-bk-parts-w { container-type: inline-size; }
.ntg-bk .ntg-bk-parts { display: flex; gap: 3px; margin: 0 0 12px; padding: 3px; border-radius: 999px; background: #e9ecf1; }
@container (max-width: 300px) { .ntg-bk .ntg-bk-parts button small { display: none; } }
.ntg-bk .ntg-bk-parts button { flex: 1; min-width: 0; padding: 7px 6px; border: 0; border-radius: 999px; background: transparent; color: #5f6e7d; font-size: 13px; font-weight: 500; white-space: nowrap; }
.ntg-bk .ntg-bk-parts button small { font-size: 11.5px; color: #8a96a3; font-weight: 500; }
.ntg-bk .ntg-bk-parts button:hover { color: var(--ntg-ink); }
.ntg-bk .ntg-bk-parts button[aria-pressed="true"] { background: #fff; color: var(--ntg-ink); font-weight: 600; box-shadow: 0 2px 6px rgba(35, 41, 46, .08); }
.ntg-bk .ntg-bk-parts button[aria-pressed="true"] small { color: #0f6f57; }
.ntg-bk .ntg-bk-times button:hover { border-color: var(--ntg-green); }
.ntg-bk .ntg-bk-times button[aria-pressed="true"] { border-color: var(--ntg-green); background: var(--ntg-green); color: #fff; font-weight: 600; }
.ntg-bk .ntg-bk-times button.busy { opacity: .6; }
.ntg-bk .ntg-bk-empty { padding: 18px; border-radius: 12px; background: #f7f8fa; font-size: 13px; line-height: 19px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-loading { color: var(--ntg-grey); font-size: 13px; }


/* ---------------------------------------------------------------- step 5: details and documents */

.ntg-bk .ntg-bk-sec { margin-top: 26px; }
.ntg-bk .ntg-bk-sec:first-child { margin-top: 24px; }
.ntg-bk .ntg-bk-h { margin: 0 0 12px; font-family: inherit; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-subh { margin: -10px 0 12px; font-size: 13px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-small { margin-top: 8px; font-size: 12px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ntg-bk .ntg-bk-field { display: flex; flex-direction: column; gap: 6px; margin: 0; min-width: 0; }
.ntg-bk .ntg-bk-field.wide { grid-column: 1 / -1; }
.ntg-bk .ntg-bk-label { font-size: 13px; font-weight: 500; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-label i { font-style: normal; font-weight: 400; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-field input, .ntg-bk .ntg-bk-field select, .ntg-bk .ntg-bk-field textarea {
    width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(35, 41, 46, .2); background: #fff;
    color: var(--ntg-ink); font-size: 14px; font-weight: 400; outline: none;
}
.ntg-bk .ntg-bk-field textarea { height: auto; min-height: 90px; padding: 12px 14px; line-height: 1.5; resize: vertical; font-family: inherit; }
.ntg-bk .ntg-bk-field input:focus, .ntg-bk .ntg-bk-field select:focus, .ntg-bk .ntg-bk-field textarea:focus { border-color: var(--ntg-blue); box-shadow: 0 0 0 3px rgba(74, 110, 224, .18); }
.ntg-bk .ntg-bk-field input:disabled { background: #f4f6f8; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-field input::placeholder, .ntg-bk .ntg-bk-field textarea::placeholder { color: #8a96a3; opacity: 1; }
.ntg-bk .ntg-bk-field [aria-invalid="true"] { border-color: var(--ntg-red); }
.ntg-bk .ntg-bk-prefix { display: flex; height: 46px; border-radius: 10px; border: 1px solid rgba(35, 41, 46, .2); background: #fff; overflow: hidden; }
.ntg-bk .ntg-bk-prefix:focus-within { border-color: var(--ntg-blue); box-shadow: 0 0 0 3px rgba(74, 110, 224, .18); }
.ntg-bk .ntg-bk-prefix.bad { border-color: var(--ntg-red); }
.ntg-bk .ntg-bk-prefix > span { display: flex; align-items: center; padding: 0 10px; border-right: 1px solid rgba(35, 41, 46, .12); font-size: 14px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-field .ntg-bk-prefix input { flex: 1; min-width: 0; height: 100%; border: 0; border-radius: 0; padding: 0 12px; box-shadow: none; }
.ntg-bk .ntg-bk-ferr { font-size: 12px; line-height: 17px; color: var(--ntg-red); }
.ntg-bk .ntg-bk-ferr.row { margin: 6px 0 0 2px; }

.ntg-bk .ntg-bk-files { display: flex; flex-direction: column; gap: 8px; }
.ntg-bk .ntg-bk-file { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--ntg-line); background: #fff; }
.ntg-bk .ntg-bk-file.on { border-color: rgba(21, 195, 154, .5); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-file.bad { border-color: var(--ntg-red); background: #fff; }
.ntg-bk .ntg-bk-badge { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: var(--ntg-blue-soft); color: var(--ntg-blue); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.ntg-bk .ntg-bk-badge.ok { background: #fff; color: var(--ntg-green-text); box-shadow: inset 0 0 0 1.5px var(--ntg-green); }
.ntg-bk .ntg-bk-file-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ntg-bk .ntg-bk-file-main b { font-size: 14px; line-height: 20px; font-weight: 600; }
.ntg-bk .ntg-bk-file-main > span { font-size: 12px; line-height: 18px; color: var(--ntg-grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntg-bk .ntg-bk-progress { display: block; height: 4px; margin-top: 6px; border-radius: 2px; background: #e6eaef; overflow: hidden; }
.ntg-bk .ntg-bk-progress i { display: block; height: 100%; background: var(--ntg-green); transition: width .2s; }
.ntg-bk .ntg-bk-link { padding: 8px 4px; border: 0; background: none; color: var(--ntg-blue); font-size: 13px; font-weight: 600; }
.ntg-bk .ntg-bk-link:hover { color: var(--ntg-blue-dark); text-decoration: underline; }
.ntg-bk .ntg-bk-file .ntg-bk-link { padding: 8px 10px; }
.ntg-bk .ntg-bk-pill { padding: 8px 16px; border: 0; border-radius: 999px; background: var(--ntg-green); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ntg-bk .ntg-bk-pill:hover { background: #12ad89; }
.ntg-bk .ntg-bk-x { width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 1px solid rgba(35, 41, 46, .16); background: #fff; color: var(--ntg-grey); display: flex; align-items: center; justify-content: center; }
.ntg-bk .ntg-bk-x:hover { color: var(--ntg-ink); border-color: var(--ntg-ink); }
/* Remove a document: a quiet icon on every row, always there (phones can't hover). */
.ntg-bk .ntg-bk-file .ntg-bk-x { flex: none; width: 34px; height: 34px; border-color: transparent; background: transparent; }
.ntg-bk .ntg-bk-file .ntg-bk-x:hover { border-color: transparent; background: rgba(35, 41, 46, .06); color: #b42318; }
.ntg-bk .ntg-bk-file .ntg-bk-x:focus-visible { outline: 2px solid #4a6ee0; outline-offset: 1px; }
.ntg-bk .ntg-bk-undo { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 0; box-sizing: border-box; padding: 10px 14px; border: 1px solid #bfeadb; border-radius: 10px; background: #f3fbf8; color: #23292e; font-size: 13px; animation: ntg-undo-in .2s ease-out; transition: opacity .2s; }
.ntg-bk .ntg-bk-undo span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ntg-bk .ntg-bk-undo .ntg-bk-link { flex: none; padding: 4px 6px; color: #0f6f57; font-weight: 600; }
.ntg-bk .ntg-bk-undo.out { opacity: 0; }
@keyframes ntg-undo-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ntg-bk .ntg-bk-undo { animation: none; transition: none; } }
.ntg-bk .ntg-bk-more-docs { margin-top: 8px; font-size: 13px; }
.ntg-bk .ntg-bk-more-docs .ntg-bk-link { padding: 4px 0; font-weight: 500; }
.ntg-bk .ntg-bk-rule { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--ntg-blue-soft); font-size: 13px; line-height: 19px; }
.ntg-bk .ntg-bk-signer { padding: 0 0 4px; border-radius: 10px; border: 1px solid var(--ntg-line); }
.ntg-bk .ntg-bk-signer .ntg-bk-file { border: 0; background: none; }
.ntg-bk .ntg-bk-signer .ntg-bk-file.on .ntg-bk-badge { background: #fff; color: var(--ntg-green-text); box-shadow: inset 0 0 0 1.5px var(--ntg-green); }
.ntg-bk .ntg-bk-signer-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 2px 12px 0 54px; }
.ntg-bk .ntg-bk-signer-fields input { height: 42px; padding: 0 12px; font-size: 13px; }
.ntg-bk .ntg-bk-signer > .ntg-bk-ferr.row { margin-left: 54px; }
.ntg-bk .ntg-bk-same { display: flex; align-items: center; gap: 8px; margin: 10px 12px 8px 54px; font-size: 13px; cursor: pointer; }
.ntg-bk .ntg-bk-same input { width: 16px; height: 16px; margin: 0; }
.ntg-bk .ntg-bk-agree { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; margin: 0; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--ntg-line); font-size: 14px; line-height: 20px; cursor: pointer; }
.ntg-bk .ntg-bk-agree.on { border-color: rgba(21, 195, 154, .5); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-agree.bad { border-color: var(--ntg-red); }
.ntg-bk .ntg-bk-docs .ntg-bk-note { margin: 22px 0 0; }
.ntg-bk .ntg-bk-docs .ntg-bk-note:first-child { margin: 20px 0 0; }
.ntg-bk .ntg-bk-agree input { width: 18px; height: 18px; margin: 1px 0 0; }


/* ---------------------------------------------------------------- step 6: review and pay */

.ntg-bk .ntg-bk-sum { margin-top: 20px; padding: 18px 20px; border-radius: 14px; background: #f7f8fa; }
.ntg-bk .ntg-bk-sum-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ntg-bk .ntg-bk-sum-top > div { display: flex; flex-direction: column; gap: 2px; }
.ntg-bk .ntg-bk-sum-top b { font-size: 15px; font-weight: 600; }
.ntg-bk .ntg-bk-sum-top span { font-size: 13px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-sum-top .ntg-bk-link { padding: 4px 0; font-weight: 500; }
.ntg-bk .ntg-bk-sum-lines { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ntg-line-soft); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ntg-bk .ntg-bk-sum-lines > div { display: flex; justify-content: space-between; gap: 16px; }
.ntg-bk .ntg-bk-sum-lines .muted { color: var(--ntg-grey); }
.ntg-bk .ntg-bk-sum-lines .ok { display: flex; align-items: center; gap: 6px; color: var(--ntg-green-text); }
.ntg-bk .ntg-bk-sum-total { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ntg-line-soft); display: flex; justify-content: space-between; align-items: baseline; }
.ntg-bk .ntg-bk-sum-total span { font-size: 15px; font-weight: 600; }
.ntg-bk .ntg-bk-sum-total b { font-size: 22px; font-weight: 600; }
.ntg-bk .ntg-bk-sum-total small { font-size: 12px; font-weight: 400; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-pay-h { margin-top: 26px; }
.ntg-bk .ntg-bk-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ntg-bk .ntg-bk-method { display: flex; align-items: center; gap: 10px; margin: 1px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--ntg-line); font-size: 14px; font-weight: 600; cursor: pointer; }
.ntg-bk .ntg-bk-method.on { margin: 0; padding: 14px 16px; border: 2px solid var(--ntg-green); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-method input { width: 18px; height: 18px; margin: 0; }
.ntg-bk .ntg-bk-paybox { margin-top: 16px; }
.ntg-bk .ntg-bk-paybox[hidden] { display: none; }
.ntg-bk .ntg-bk-card-el { min-height: 120px; }
.ntg-bk .ntg-bk-secure { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-pp-sub { margin: 0 0 12px; }
.ntg-bk .ntg-bk-pay .ntg-bk-note { margin: 18px 0 0; }
.ntg-bk .ntg-bk-pay .ntg-bk-note[hidden] { display: none; }
.ntg-bk .ntg-bk-payfoot { flex-direction: column; align-items: stretch; gap: 12px; padding: 20px 32px 24px; }
.ntg-bk .ntg-bk-payfoot .ntg-bk-paybtn { width: 100%; padding: 15px 0; font-size: 15px; }
.ntg-bk .ntg-bk-payfoot .ntg-bk-paybtn[hidden] { display: none; }
.ntg-bk .ntg-bk-payfoot-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ntg-bk .ntg-bk-payfoot .ntg-bk-back { padding: 6px 4px; font-size: 13px; }
.ntg-bk .ntg-bk-terms { font-size: 12px; color: var(--ntg-grey); text-align: right; }


/* ---------------------------------------------------------------- booked */

.ntg-bk .ntg-bk-done-top { padding: 40px 40px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ntg-bk .ntg-bk-done-icon { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 2px var(--ntg-green), 0 10px 24px rgba(21, 195, 154, .14); color: var(--ntg-green-text); font-size: 30px; font-weight: 600; }
.ntg-bk .ntg-bk-done-icon.warn { background: #fff; box-shadow: inset 0 0 0 2px #c98419, 0 10px 24px rgba(35, 41, 46, .08); color: #8a5a0f; }
.ntg-bk .ntg-bk-done-title { margin-top: 22px; font-family: 'Open Sans', Arial, sans-serif; font-size: 36px; line-height: 1.2; font-weight: 300; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-done-title:focus { outline: none; }
.ntg-bk .ntg-bk-done-when { margin-top: 10px; font-size: 17px; font-weight: 600; }
.ntg-bk .ntg-bk-done-sub { margin-top: 2px; font-size: 14px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.ntg-bk .ntg-bk-ghost { display: flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 30px; border: 1px solid rgba(35, 41, 46, .2); color: var(--ntg-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.ntg-bk .ntg-bk-ghost:hover { border-color: var(--ntg-ink); color: var(--ntg-ink); text-decoration: none; }
.ntg-bk a.ntg-bk-golink { display: flex; align-items: center; padding: 11px 22px; color: #fff; text-decoration: none; }
.ntg-bk a.ntg-bk-golink:hover { color: #fff; text-decoration: none; }
.ntg-bk .ntg-bk-done-next { padding: 24px 40px 32px; border-top: 1px solid var(--ntg-line-soft); background: #fafbfc; }
.ntg-bk .ntg-bk-done-next .ntg-bk-h { margin: 0 0 14px; }
.ntg-bk .ntg-bk-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.ntg-bk .ntg-bk-steps li { display: flex; gap: 14px; margin: 0; }
.ntg-bk .ntg-bk-steps li > span:last-child { display: flex; flex-direction: column; }
.ntg-bk .ntg-bk-steps b { font-size: 14px; line-height: 20px; font-weight: 600; }
.ntg-bk .ntg-bk-steps li > span:last-child > span { font-size: 13px; line-height: 19px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-num { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--ntg-blue-soft); color: var(--ntg-blue); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.ntg-bk .ntg-bk-done-foot { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--ntg-line-soft); display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; font-size: 13px; color: var(--ntg-grey); }


/* ---------------------------------------------------------------- the held time's clock */

.ntg-bk .ntg-bk-timer { font-size: 12px; color: var(--ntg-grey); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ntg-bk .ntg-bk-timer[hidden] { display: none; }
.ntg-bk .ntg-bk-timer.low { color: #b42318; font-weight: 600; }
.ntg-bk .ntg-bk-foot > .ntg-bk-timer { margin-left: auto; }
.ntg-bk .ntg-bk-payfoot > .ntg-bk-timer { margin: 0; text-align: center; }
.ntg-bk-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(35, 41, 46, .45); font-family: 'NtgPoppins', Poppins, Arial, sans-serif; }
.ntg-bk-dialog { width: 100%; max-width: 420px; box-sizing: border-box; padding: 26px 26px 22px; border-radius: 20px; background: #fff; box-shadow: 0 24px 64px rgba(0, 0, 0, .25); color: #23292e; text-align: left; }
.ntg-bk-dialog h2 { margin: 0; font-family: inherit; font-size: 20px; line-height: 28px; font-weight: 600; color: #23292e; letter-spacing: normal; text-transform: none; }
.ntg-bk-dialog p { margin: 8px 0 0; font-size: 14px; line-height: 21px; color: #3c4043; }
.ntg-bk-dialog p b { font-variant-numeric: tabular-nums; }
.ntg-bk-dialog .ntg-bk-dlg-err { color: #8a1c20; }
.ntg-bk-dialog .ntg-bk-dlg-err[hidden] { display: none; }
.ntg-bk-dlg-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.ntg-bk-dialog button { font-family: inherit; font-size: 14px; font-weight: 600; line-height: normal; letter-spacing: normal; text-transform: none; margin: 0; cursor: pointer; }
.ntg-bk-dialog .ntg-bk-go { padding: 12px 24px; border: 0; border-radius: 30px; background: #15c39a; color: #fff; }
.ntg-bk-dialog .ntg-bk-go:hover { background: #12ad89; }
.ntg-bk-dialog .ntg-bk-go:disabled { background: #b9e9db; }
.ntg-bk-dialog .ntg-bk-ghostbtn { padding: 12px 20px; border: 1px solid rgba(35, 41, 46, .2); border-radius: 30px; background: #fff; color: #23292e; }
.ntg-bk-dialog .ntg-bk-ghostbtn:hover { border-color: #23292e; }
.ntg-bk-dialog :focus-visible { outline: 3px solid rgba(74, 110, 224, .45); outline-offset: 2px; }
/* "Take a photo" or "Choose a file": two choices in the form's own pop-up */
.ntg-bk-dialog .ntg-bk-dlg-opts { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.ntg-bk-dialog .ntg-bk-dlg-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 1px solid rgba(35, 41, 46, .16); border-radius: 14px; background: #fff; color: #23292e; text-align: left; }
.ntg-bk-dialog .ntg-bk-dlg-opt:hover { border-color: rgba(35, 41, 46, .32); }
.ntg-bk-dialog .ntg-bk-dlg-opt > span:first-child { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #eef2fc; color: #4a6ee0; display: flex; align-items: center; justify-content: center; }
.ntg-bk-dialog .ntg-bk-dlg-opt b { display: block; font-size: 16px; line-height: 22px; font-weight: 600; }
.ntg-bk-dialog .ntg-bk-dlg-opt small { display: block; font-size: 13px; line-height: 19px; font-weight: 400; color: #5f6e7d; }
@media (max-width: 480px) {
    .ntg-bk .ntg-bk-copysum { margin-left: 0; flex-basis: 100%; }
    .ntg-bk-dlg-actions { flex-direction: column-reverse; align-items: stretch; }
}

/* ---------------------------------------------------------------- narrow: phones */

@container (max-width: 560px) {
    .ntg-bk .ntg-bk-card { border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
    .ntg-bk .ntg-bk-head { padding: 4px 0 0; }
    .ntg-bk .ntg-bk-bar { gap: 5px; }
    .ntg-bk .ntg-bk-step { margin-top: 16px; }
    .ntg-bk .ntg-bk-back-sm {
        display: flex; width: 32px; height: 32px; margin-left: -8px; padding: 0; border: 0; border-radius: 16px; background: none;
        align-items: center; justify-content: center; color: var(--ntg-ink);
    }
    .ntg-bk .ntg-bk-title { margin-top: 2px; } /* a step title, small and bold like on computers, under the page's own headline */
    .ntg-bk .ntg-bk-sub { margin-top: 4px; font-size: 13px; }
    .ntg-bk .ntg-bk-body, .ntg-bk .ntg-bk-services, .ntg-bk .ntg-bk-people { padding-left: 0; padding-right: 0; }
    .ntg-bk .ntg-bk-note { margin-left: 0; margin-right: 0; }
    .ntg-bk .ntg-bk-tz { padding: 14px 0 0; }
    .ntg-bk .ntg-bk-opt, .ntg-bk .ntg-bk-opt.on { padding: 18px; }
    .ntg-bk .ntg-bk-extra, .ntg-bk .ntg-bk-extra.on { gap: 12px; padding: 13px 14px; }
    .ntg-bk .ntg-bk-extra.on { padding: 12px 13px; }
    .ntg-bk .has-short .ntg-bk-extra-text { display: none; }
    .ntg-bk .has-short .ntg-bk-extra-short { display: block; }
    .ntg-bk .ntg-bk-stepper { gap: 8px; }
    .ntg-bk .ntg-bk-toggle { min-width: 92px; padding: 9px 14px; }
    .ntg-bk .ntg-bk-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntg-bk .ntg-bk-time { display: block; padding: 20px 0 0; }
    .ntg-bk .ntg-bk-cal { display: none; margin-bottom: 18px; }
    .ntg-bk .ntg-bk-time.full .ntg-bk-cal { display: block; }
    .ntg-bk .ntg-bk-time.full .ntg-bk-strip { display: none; }
    .ntg-bk .ntg-bk-strip { display: block; margin-bottom: 22px; }
    .ntg-bk .ntg-bk-strip-head { display: flex; align-items: center; justify-content: space-between; }
    .ntg-bk .ntg-bk-strip-head p { font-size: 14px; font-weight: 600; }
    .ntg-bk .ntg-bk-strip-days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
    .ntg-bk .ntg-bk-strip-days button {
        display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; border-radius: 12px;
        border: 1px solid var(--ntg-line); background: #fff; color: var(--ntg-ink);
    }
    .ntg-bk .ntg-bk-strip-days small { font-size: 11px; color: var(--ntg-grey); }
    .ntg-bk .ntg-bk-strip-days b { font-size: 17px; font-weight: 500; }
    .ntg-bk .ntg-bk-strip-days button[aria-pressed="true"] { border-color: var(--ntg-blue); background: var(--ntg-blue); color: #fff; }
    .ntg-bk .ntg-bk-strip-days button[aria-pressed="true"] small { color: rgba(255, 255, 255, .85); }
    .ntg-bk .ntg-bk-strip-days button[aria-pressed="true"] b { font-weight: 600; }
    .ntg-bk .ntg-bk-dayname { font-size: 14px; margin-bottom: 10px; }
    .ntg-bk .ntg-bk-times { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ntg-bk .ntg-bk-times button { height: 44px; font-size: 14px; }
    .ntg-bk .ntg-bk-legend { display: none; }
    .ntg-bk .ntg-bk-grid, .ntg-bk .ntg-bk-signer-fields { grid-template-columns: minmax(0, 1fr); }
    .ntg-bk .ntg-bk-signer-fields, .ntg-bk .ntg-bk-same, .ntg-bk .ntg-bk-signer > .ntg-bk-ferr.row { margin-left: 12px; }
    .ntg-bk .ntg-bk-field input, .ntg-bk .ntg-bk-field select { font-size: 16px; } /* no zoom-in on iPhone */

    /* The footer sticks to the bottom of the screen while the step scrolls. */
    .ntg-bk .ntg-bk-foot {
        position: sticky; bottom: 0; z-index: 5; flex-wrap: wrap; gap: 10px 16px;
        margin: 24px -16px 0; padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid var(--ntg-line); box-shadow: none;
    }
    .ntg-bk .ntg-bk-foot .ntg-bk-back { display: none; }
    .ntg-bk .ntg-bk-when { display: block; flex: 1 0 100%; font-size: 12px; color: var(--ntg-grey); }
    .ntg-bk .ntg-bk-foot > .ntg-bk-timer { flex: 1 0 100%; margin: -4px 0 0; }
    .ntg-bk .ntg-bk-when:empty { display: none; }
    .ntg-bk .ntg-bk-foot-right { flex: 1; justify-content: space-between; margin-left: 0; }
    .ntg-bk .ntg-bk-total { align-items: flex-start; }
    .ntg-bk .ntg-bk-go { flex: 0 0 auto; min-width: 160px; padding: 14px 22px; font-size: 15px; }
    .ntg-bk .ntg-bk-payfoot { position: static; margin: 24px 0 0; padding: 0 0 8px; background: none; border: 0; box-shadow: none; }
    .ntg-bk .ntg-bk-payfoot .ntg-bk-back { display: flex; }
    .ntg-bk .ntg-bk-payfoot-row { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
    .ntg-bk .ntg-bk-terms { text-align: left; }
    .ntg-bk .ntg-bk-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntg-bk .ntg-bk-done-top { padding: 24px 0 24px; }
    .ntg-bk .ntg-bk-done-title { font-size: 30px; }
    .ntg-bk .ntg-bk-done-next { margin: 0 -16px; padding: 22px 16px 26px; }
    .ntg-bk .ntg-bk-done-actions { flex-direction: column; align-items: stretch; width: 100%; }
    .ntg-bk .ntg-bk-ghost, .ntg-bk a.ntg-bk-golink { justify-content: center; }
    .ntg-bk .ntg-bk-done-foot { flex-direction: column; }
    .ntg-bk .ntg-bk-foot.first { position: static; margin: 24px 0 0; padding: 0 0 8px; flex-direction: column-reverse; align-items: stretch; background: none; border: 0; box-shadow: none; }
    .ntg-bk .ntg-bk-foot.first .ntg-bk-foot-right { flex-direction: column; align-items: stretch; }
    .ntg-bk .ntg-bk-foot.first .ntg-bk-go { width: 100%; }
    .ntg-bk .ntg-bk-foot.first .ntg-bk-foot-next { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ntg-bk * { transition: none !important; }
}

/* Coupon on the payment step. */
.ntg-bk .ntg-bk-sum-lines .disc { color: var(--ntg-green-text); font-weight: 500; }
.ntg-bk .ntg-bk-coupon-ask { margin: 12px 0 0; }
.ntg-bk .ntg-bk-coupon-ask .ntg-bk-link { padding: 4px 0; font-weight: 500; }
.ntg-bk .ntg-bk-coupon { display: flex; gap: 8px; margin-top: 14px; max-width: 360px; }
.ntg-bk .ntg-bk-coupon input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(35, 41, 46, .2); background: #fff; color: var(--ntg-ink); font-size: 14px; text-transform: uppercase; outline: none; }
.ntg-bk .ntg-bk-coupon input:focus { border-color: var(--ntg-blue); box-shadow: 0 0 0 3px rgba(74, 110, 224, .18); }
.ntg-bk .ntg-bk-coupon input[aria-invalid="true"] { border-color: var(--ntg-red); }
.ntg-bk .ntg-bk-coupon .ntg-bk-pill { height: 42px; padding: 0 18px; }
.ntg-bk .ntg-bk-coupon-on { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--ntg-green-text); }
.ntg-bk .ntg-bk-coupon-on span { color: var(--ntg-ink); }
.ntg-bk .ntg-bk-coupon-on .ntg-bk-link { padding: 0; font-weight: 500; }
@container (max-width: 560px) { .ntg-bk .ntg-bk-coupon input { font-size: 16px; } }

/* Business accounts: who the appointment is for (BizWho design) */
.ntg-bk .ntg-bk-chip { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 5px 12px 5px 6px; border-radius: 999px; background: #f0f2f5; font-size: 12px; line-height: 18px; font-weight: 600; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-chip span { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 5px; background: var(--ntg-ink); color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .02em; }
.ntg-bk .ntg-bk-chip + .ntg-bk-title { margin-top: 10px; }
.ntg-bk .ntg-bk-who { padding-bottom: 6px; }
.ntg-bk .ntg-bk-for { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 0; padding: 0; border: 0; min-width: 0; }
.ntg-bk .ntg-bk-forcard { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 1px; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(35, 41, 46, .2); cursor: pointer; }
.ntg-bk .ntg-bk-forcard:hover { border-color: rgba(35, 41, 46, .32); }
.ntg-bk .ntg-bk-forcard.on { margin: 0; padding: 18px 20px; border: 2px solid var(--ntg-green); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-forcard input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ntg-bk .ntg-bk-forcard:has(input:focus-visible) { outline: 3px solid rgba(74, 110, 224, .35); outline-offset: 2px; }
.ntg-bk .ntg-bk-forcard b { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-forcard span { font-size: 13px; line-height: 19px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-for.bad .ntg-bk-forcard { border-color: var(--ntg-red); }
.ntg-bk .ntg-bk-who .ntg-bk-grid { margin-top: 22px; align-items: end; }
.ntg-bk .ntg-bk-filehint { margin: 0 0 14px; font-size: 12px; line-height: 18px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-ups { margin: 26px 0 0; padding: 0; border: 0; min-width: 0; }
.ntg-bk .ntg-bk-ups legend { padding: 0; }
.ntg-bk .ntg-bk-upgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ntg-bk .ntg-bk-upgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ntg-bk .ntg-bk-upopt { display: flex; align-items: center; gap: 12px; margin: 1px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(35, 41, 46, .2); font-size: 14px; line-height: 20px; color: var(--ntg-ink); cursor: pointer; }
.ntg-bk .ntg-bk-upopt.on { margin: 0; border: 2px solid var(--ntg-green); background: var(--ntg-green-soft); }
.ntg-bk .ntg-bk-upopt input { width: 18px; height: 18px; flex: 0 0 18px; margin: 0; }
.ntg-bk .ntg-bk-copyme { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--ntg-ink); cursor: pointer; }
.ntg-bk .ntg-bk-copyme input { width: 18px; height: 18px; margin: 0; }
.ntg-bk .ntg-bk-info { margin: 18px 0 0; padding: 13px 14px; border-radius: 10px; background: var(--ntg-blue-soft); font-size: 13px; line-height: 20px; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-sec > .ntg-bk-info { margin-top: 0; }
.ntg-bk .ntg-bk-client { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: #f6f7f9; font-size: 13px; line-height: 19px; color: var(--ntg-grey); }
.ntg-bk .ntg-bk-client b { display: block; font-size: 14px; font-weight: 600; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-signer-t { margin: 4px 0 8px; font-size: 13px; font-weight: 600; color: var(--ntg-ink); }
.ntg-bk .ntg-bk-paybox .ntg-bk-info { margin-top: 14px; }
@container (max-width: 560px) {
    .ntg-bk .ntg-bk-for, .ntg-bk .ntg-bk-upgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .ntg-bk .ntg-bk-filehint { margin-top: -6px; }
}

/* The owner's own questions (Settings → Booking form) */
.ntg-bk fieldset.ntg-bk-q { border: 0; padding: 0; margin: 0; min-width: 0; }
.ntg-bk .ntg-bk-q legend { padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 2px; }
.ntg-bk .ntg-bk-help { display: block; font-size: 12.5px; line-height: 1.45; color: var(--ntg-grey); font-weight: 400; margin-top: -2px; }
.ntg-bk .ntg-bk-qopts { display: flex; flex-wrap: wrap; gap: 8px; }
.ntg-bk .ntg-bk-qopt { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--ntg-line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--ntg-ink); cursor: pointer; }
.ntg-bk .ntg-bk-qopt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.ntg-bk .ntg-bk-qopt:hover { border-color: rgba(35, 41, 46, .35); }
.ntg-bk .ntg-bk-qopt.on { border-color: var(--ntg-green); background: var(--ntg-green-soft); font-weight: 600; }
.ntg-bk .ntg-bk-qopt:focus-within { box-shadow: 0 0 0 3px rgba(74, 110, 224, .25); }
.ntg-bk .ntg-bk-q.bad .ntg-bk-qopt { border-color: var(--ntg-red); }
.ntg-bk .ntg-bk-q .ntg-bk-ferr { display: block; margin-top: 6px; }
.ntg-bk .ntg-bk-thanks { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--ntg-green-soft); font-size: 14px; color: var(--ntg-ink); }

/* ---------------------------------------------------------------- checkboxes and radios
   White throughout: a white box or circle with a grey edge; chosen, the edge and the mark turn green. Never filled.
   Size and position stay with each component's own rules (zero specificity here); the look is set firmly so the
   browser's or WordPress's own styles don't come through. */
:where(.ntg-bk input[type="checkbox"], .ntg-bk input[type="radio"]) { width: 18px; height: 18px; margin: 0; flex: none; vertical-align: middle; cursor: pointer; }
.ntg-bk input[type="checkbox"], .ntg-bk input[type="radio"] {
    -webkit-appearance: none; appearance: none; display: inline-grid; place-content: center; box-sizing: border-box;
    width: 18px; min-width: 18px; max-width: 18px; height: 18px; min-height: 0; padding: 0; flex: none;
    border: 1.5px solid #b3bbc3; border-radius: 5px; background: #fff; box-shadow: none; color: #0f9f7d; accent-color: auto;
}
.ntg-bk input[type="radio"] { border-radius: 50%; }
.ntg-bk input[type="checkbox"]::before, .ntg-bk input[type="radio"]::before { content: ""; margin: 0; float: none; opacity: 0; transition: opacity .12s; }
.ntg-bk input[type="checkbox"]::before { width: 9px; height: 5px; border: solid #0f9f7d; border-width: 0 0 2px 2px; border-radius: 0; background: none; transform: translate(0, -1px) rotate(-45deg); }
.ntg-bk input[type="radio"]::before { display: none; content: none; }
/* The dot is drawn in the circle's own background, so it's centred exactly at any zoom (a separate dot rounded off-centre). */
.ntg-bk input[type="radio"]:checked { background: radial-gradient(circle at 50% 50%, #15c39a 0, #15c39a 3.75px, #fff 4.5px); }
.ntg-bk input[type="checkbox"]:checked, .ntg-bk input[type="radio"]:checked { border-color: #15c39a; background-color: #fff; }
.ntg-bk input[type="checkbox"]:checked::before, .ntg-bk input[type="radio"]:checked::before { opacity: 1; content: ""; }
.ntg-bk input[type="checkbox"]:hover:not(:disabled), .ntg-bk input[type="radio"]:hover:not(:disabled) { border-color: #5f6e7d; }
.ntg-bk input[type="checkbox"]:checked:hover:not(:disabled), .ntg-bk input[type="radio"]:checked:hover:not(:disabled) { border-color: #15c39a; }
.ntg-bk input[type="checkbox"]:focus-visible, .ntg-bk input[type="radio"]:focus-visible { outline: 2px solid #4a6ee0; outline-offset: 2px; box-shadow: none; }
.ntg-bk input[type="checkbox"]:disabled, .ntg-bk input[type="radio"]:disabled { background: #f1f3f5; border-color: #d5dbe0; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { .ntg-bk input[type="checkbox"]::before, .ntg-bk input[type="radio"]::before { transition: none; } }

/* On a phone the bar runs edge to edge of the screen, whatever padding the theme puts around the form; its contents
   line up with the form's. */
@media (max-width: 600px) {
    @container (max-width: 560px) {
        .ntg-bk .ntg-bk-foot:not(.first):not(.ntg-bk-payfoot) {
            margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
            padding-left: max(16px, calc(50vw - 50%)); padding-right: max(16px, calc(50vw - 50%));
        }
    }
}

/* Phones: a slightly narrower counter, so add-on names keep their room (buttons stay thumb-sized). */
@container (max-width: 560px) {
    .ntg-bk .ntg-bk-extra, .ntg-bk .ntg-bk-extra.on { gap: 10px; padding-left: 14px; padding-right: 12px; }
    .ntg-bk .ntg-bk-extra .ntg-bk-stepper { gap: 2px; }
    .ntg-bk .ntg-bk-extra .ntg-bk-stepper button { width: 34px; height: 34px; }
    .ntg-bk .ntg-bk-extra .ntg-bk-qty { width: 2.2em; min-width: 32px; }
}

/* Dropdowns in the form: our own arrow, with room on the right */
.ntg-bk .ntg-bk-field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%235f6e7d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px; cursor: pointer; }
.ntg-bk .ntg-bk-field select::-ms-expand { display: none; }
/* The reader's note under an uploaded file (blank or cut off): a heads-up, never a stop */
.ntg-bk .ntg-bk-fnote { margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; background: #fff1d6; color: #7a5209; font-size: 13px; line-height: 19px; }
.ntg-bk .ntg-bk-undo.seen { animation: none; }
