.ncd {
    --ncd-blue: #0059b3;
    --ncd-blue-dark: #003f80;
    --ncd-ink: #17324d;
    --ncd-muted: #526779;
    --ncd-line: #ccd7e2;
    --ncd-light: #f1f6fa;
    --ncd-error: #a52823;
    width: 100%;
    margin-block: 2rem 3rem;
    color: var(--ncd-ink);
    text-align: left;
}
.ncd [hidden] { display: none !important; }
.ncd .ncd-title { max-width: 66rem; margin: 0 auto 1.5rem; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; }
.ncd a:not(.btn), .ncd .ncd-link { color: var(--ncd-blue); text-decoration: underline; text-underline-offset: .15em; }
.ncd :where(a, button, input, select, textarea):focus-visible { outline: 3px solid #aa4c00; outline-offset: 3px; }
.ncd .ncd-frame {
    max-width: 76rem; margin-inline: auto; padding: clamp(.75rem, 2.5vw, 2rem);
    background: #e9edef; border-radius: 4px; box-shadow: 0 2px 7px rgb(23 50 77 / 15%);
}
.ncd .ncd-sheet { background: #fff; padding: clamp(1rem, 2.25vw, 2rem); }
.ncd .ncd-stepper { margin: .6rem 0 clamp(2rem, 4vw, 4rem); }
.ncd .ncd-stepper-inner { display: flex; align-items: center; gap: .75rem; }
.ncd .ncd-step-list { flex: 1; display: flex; list-style: none; gap: 0; margin: 0; padding: 0; }
.ncd .ncd-step-list li {
    position: relative; flex: 1; min-width: 0; margin: 0; padding: 0 .35rem 1.35rem;
    color: var(--ncd-muted); text-align: center; line-height: 1.25; font-size: .95rem;
}
.ncd .ncd-step-list li::after {
    content: ""; position: absolute; inset: auto 0 0; height: .7rem;
    background: #e9edf1; border-inline-end: 1px solid #fff;
}
.ncd .ncd-step-list li:first-child::after { border-start-start-radius: 1rem; border-end-start-radius: 1rem; }
.ncd .ncd-step-list li:last-child::after { border-start-end-radius: 1rem; border-end-end-radius: 1rem; border-inline-end: 0; }
.ncd .ncd-step-list li[aria-current="step"] { color: var(--ncd-blue-dark); font-weight: 700; }
.ncd .ncd-step-list li[aria-current="step"]::after { background: var(--ncd-blue); }
.ncd .ncd-step-list li.is-complete::after { background: #6d9ed0; }
.ncd .ncd-step-index { display: none; font-weight: 700; color: var(--ncd-blue-dark); }
.ncd .ncd-layout { margin-inline: auto; }
.ncd .ncd-layout-centered { max-width: 47rem; }
.ncd .ncd-content { min-width: 0; }
.ncd .ncd-content p { margin-block: 0 .95rem; }
.ncd .ncd-heading, .ncd .ncd-card-head h3, .ncd .ncd-review-subheading {
    margin: 0 0 .7rem; font-size: clamp(1.2rem, 2.5vw, 1.5rem); line-height: 1.25;
}
.ncd .ncd-section { margin-bottom: clamp(1.7rem, 3vw, 3rem); }
.ncd .ncd-card {
    padding: clamp(1rem, 2.4vw, 1.8rem); margin: 0 0 1.25rem; background: #fff;
    border: 1px solid var(--ncd-line);
}
.ncd .ncd-locality { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; margin: 0 0 1rem; }
.ncd .ncd-locality div { padding: .55rem .75rem; background: #f6f7f8; border-bottom: 1px solid var(--ncd-line); }
.ncd .ncd-locality dt { font-size: .85rem; color: var(--ncd-muted); }
.ncd .ncd-locality dd { margin: 0; }
.ncd .ncd-map { margin-top: 1rem; }
.ncd .ncd-map-canvas {
    width: 100%; height: clamp(16rem, 28vw, 22rem); margin-top: .65rem;
    border: 1px solid var(--ncd-line); border-radius: 3px; isolation: isolate;
}
.ncd .ncd-map-canvas .leaflet-control-attribution { max-width: 100%; white-space: normal; }
.ncd .ncd-map-canvas .leaflet-control a { text-decoration: none; }
.ncd .ncd-map-canvas .leaflet-control-attribution a { text-decoration: underline; }
.ncd .ncd-field { display: flex; flex-direction: column; align-items: stretch; min-width: 0; margin-bottom: 1.1rem; gap: .3rem; }
.ncd .ncd-field > label, .ncd .ncd-field-title { position: static; transform: none; font-weight: 600; color: var(--ncd-ink); }
.ncd .ncd-field :is(input, select, textarea):not(.ncd-file-input) {
    width: 100%; min-height: 2.85rem; margin: 0; padding: .55rem .7rem; color: var(--ncd-ink);
    background-color: #f7f8f9; border: 0; border-bottom: 1px solid #76899b; border-radius: 0; font: inherit; box-shadow: none;
}
.ncd .ncd-field select { padding-right: 2.2rem; }
.ncd .ncd-field textarea { resize: vertical; }
.ncd .ncd-field small { color: var(--ncd-muted); display: block; font-size: .92rem; }
.ncd label.ncd-check {
    display: flex; align-items: flex-start; gap: .7rem; margin: 1.35rem 0 .4rem;
    width: fit-content; max-width: 100%; min-height: 2.75rem; padding-block: .55rem;
    position: static; color: var(--ncd-ink); font-weight: 600; line-height: 1.35; cursor: pointer;
}
.ncd .ncd-check::before, .ncd .ncd-check::after { content: none !important; }
.ncd .ncd-check-control { position: relative; display: inline-flex; flex: none; width: 22px; height: 22px; }
.ncd .ncd-check input.ncd-check-input {
    display: block !important; visibility: visible !important; position: absolute !important;
    inset: 0 !important; width: 100% !important; height: 100% !important; margin: 0;
    padding: 0; opacity: 0 !important; clip: auto !important; clip-path: none !important;
    z-index: 1; cursor: pointer; transform: none !important;
}
.ncd .ncd-check-icon { display: block; color: #526779; pointer-events: none; }
.ncd .ncd-check-icon rect { fill: white; stroke: currentColor; stroke-width: 2; }
.ncd .ncd-check-icon path { fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; visibility: hidden; }
.ncd .ncd-check-input:checked + .ncd-check-icon { color: var(--ncd-blue); }
.ncd .ncd-check-input:checked + .ncd-check-icon rect { fill: currentColor; }
.ncd .ncd-check-input:checked + .ncd-check-icon path { visibility: visible; }
.ncd .ncd-check-input[aria-invalid="true"] + .ncd-check-icon { color: var(--ncd-error); }
.ncd .ncd-check-input:focus-visible + .ncd-check-icon { outline: 3px solid #aa4c00; outline-offset: 3px; border-radius: 3px; }
@media (forced-colors: active) {
    .ncd .ncd-check-icon { forced-color-adjust: none; color: CanvasText; }
    .ncd .ncd-check-icon rect { fill: Canvas; }
    .ncd .ncd-check-input:checked + .ncd-check-icon { color: Highlight; }
    .ncd .ncd-check-input:checked + .ncd-check-icon path { stroke: HighlightText; }
    .ncd .ncd-check-input:focus-visible + .ncd-check-icon { outline-color: Highlight; }
}
.ncd .ncd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ncd .ncd-address { position: relative; }
.ncd .ncd-address input::-webkit-search-cancel-button { display: none; }
.ncd .ncd-address input::-ms-clear { display: none; }
.ncd .ncd-field .clean-input { display: none !important; }
.ncd .ncd-suggestions {
    position: absolute; inset: 4.6rem 0 auto; z-index: 5; list-style: none; padding: .25rem; margin: 0;
    background: white; border: 1px solid var(--ncd-line); box-shadow: 0 4px 12px #17324d32; border-radius: 4px;
}
.ncd .ncd-suggestions li { display: block; padding: .5rem .6rem; margin: 0; cursor: pointer; overflow-wrap: anywhere; }
.ncd .ncd-suggestions [aria-selected="true"], .ncd .ncd-suggestions li:hover { background: var(--ncd-light); color: var(--ncd-blue-dark); }
.ncd .ncd-live { margin: .5rem 0 0; font-size: .95rem; }
.ncd .ncd-live:empty { margin: 0; }
.ncd .ncd-upload .ncd-file-trigger {
    flex-direction: column; align-self: start; width: min(100%, 27rem); min-height: 6rem;
    color: var(--ncd-blue); border-style: dashed; cursor: pointer; text-align: center;
}
.ncd .ncd-file-trigger small { font-weight: 400; }
.ncd .ncd-review-subheading { margin-top: 1rem; }
.ncd .ncd-upload .ncd-file-input:focus-visible + .ncd-file-trigger { outline: 3px solid #aa4c00; outline-offset: 3px; }
.ncd .ncd-upload .ncd-file-input[aria-invalid] + .ncd-file-trigger { border-color: var(--ncd-error); }
.ncd .ncd-files { display: grid; gap: .5rem; list-style: none; margin: .45rem 0 0; padding: 0; overflow-wrap: anywhere; }
.ncd .ncd-files li { display: flex; align-items: center; gap: .65rem; padding: .45rem; border: 1px solid var(--ncd-line); }
.ncd .ncd-files img { flex: none; width: 4rem; height: 4rem; object-fit: cover; border-radius: 3px; }
.ncd .ncd-files span { min-width: 0; }
.ncd .ncd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-block: 1.5rem .7rem; }
.ncd .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    min-height: 2.8rem; margin: 0; padding: .65rem 1.2rem; border: 1px solid var(--ncd-blue);
    border-radius: 4px; font: inherit; font-weight: 700; text-decoration: none; line-height: 1.2;
}
.ncd .btn-primary { background: var(--ncd-blue); color: #fff; }
.ncd .btn-primary:hover { background: var(--ncd-blue-dark); color: #fff; }
.ncd .btn-outline-primary { color: var(--ncd-blue); background: white; box-shadow: none; }
.ncd .btn-outline-primary:hover { background: var(--ncd-light); color: var(--ncd-blue-dark); }
.ncd button:disabled { cursor: wait; opacity: .65; }
.ncd .ncd-link { border: 0; background: transparent; padding: .25rem 0; font: inherit; cursor: pointer; }
.ncd .ncd-card-head { display: flex; gap: .6rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.ncd .ncd-review dl { margin: .3rem 0 0; display: grid; grid-template-columns: minmax(8rem, 30%) minmax(0, 1fr); }
.ncd .ncd-review dt, .ncd .ncd-review dd { border-top: 1px solid var(--ncd-line); padding: .55rem 0; margin: 0; }
.ncd .ncd-review dd { overflow-wrap: anywhere; white-space: pre-line; }
.ncd .ncd-confirm-title { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.ncd .ncd-confirm-title svg { color: #14704d; flex: none; }
.ncd [aria-invalid="true"] { border-color: var(--ncd-error) !important; }
.ncd .ncd-error { color: var(--ncd-error); font-weight: 600; font-size: .92rem; }
.ncd .ncd-alert { max-width: 47rem; margin: 0 auto 1.2rem; padding: .8rem 1rem; border-left: 4px solid var(--ncd-blue); background: var(--ncd-light); }
.ncd .ncd-alert-error { color: var(--ncd-error); border-color: var(--ncd-error); background: #fff2f1; }
.ncd .ncd-trap, .ncd .ncd-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 767px) {
    .ncd { margin-block: 1.3rem 2rem; }
    .ncd .ncd-stepper-inner { margin-inline: 0; }
    .ncd .ncd-step-list li { text-align: left; padding-inline: 0; }
    .ncd .ncd-step-list li:not([aria-current]) { display: none; }
    .ncd .ncd-step-list li::after { border: 0; border-radius: 1rem; }
    .ncd .ncd-step-index { display: block; align-self: flex-start; font-size: .95rem; }
}
@media (max-width: 480px) {
    .ncd .ncd-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ncd .ncd-actions { flex-direction: column; align-items: stretch; }
    .ncd .ncd-review dl { grid-template-columns: minmax(0, 1fr); }
    .ncd .ncd-locality { gap: .35rem; }
    .ncd .ncd-locality div { padding-inline: .35rem; }
    .ncd .ncd-review dt { padding-bottom: .05rem; }
    .ncd .ncd-review dd { border: 0; padding-top: .1rem; }
}
.ncd .ncd-dialog {
    inset: 0; margin: auto; width: min(calc(100% - 2rem), 33rem); padding: 1.4rem;
    color: var(--ncd-ink); background: #fff; border: 1px solid var(--ncd-line); border-radius: 6px;
}
.ncd .ncd-dialog::backdrop { background: rgb(23 50 77 / 68%); }
.ncd .ncd-dialog .ncd-actions { justify-content: flex-end; margin-bottom: 0; }
.ncd .ncd-related { border-top: 1px solid var(--ncd-line); margin-top: 2rem; padding-top: 1.2rem; }
.ncd .ncd-related h3 { font-size: 1.4rem; margin: 0 0 .55rem; }
