.nscf-wrap {
    --nscf-input-bg: #ffffff;
    --nscf-input-color: #0f172a;
    --nscf-label-color: #0f172a;
    --nscf-help-color: #64748b;
    --nscf-placeholder-color: #94a3b8;
    --nscf-border: #dbe3ef;
    --nscf-focus-border: #2563eb;
    --nscf-button-bg: #0f172a;
    --nscf-button-color: #ffffff;
    --nscf-button-hover-bg: #1e293b;
    --nscf-button-hover-color: #ffffff;
    --nscf-checkbox-accent: #2563eb;
    --nscf-success-bg: #ecfdf5;
    --nscf-success-color: #047857;
    --nscf-error-bg: #fef2f2;
    --nscf-error-color: #b91c1c;
    --nscf-radius: 12px;
    --nscf-button-radius: 12px;
    --nscf-container-radius: 0px;
    --nscf-gap: 14px;
    --nscf-label-gap: 6px;
    --nscf-padding-y: 12px;
    --nscf-padding-x: 14px;
    --nscf-input-min-height: 48px;
    --nscf-textarea-min-height: 140px;
    --nscf-button-padding-y: 13px;
    --nscf-button-padding-x: 18px;
    --nscf-container-bg: transparent;
    --nscf-container-border: transparent;
    --nscf-container-padding: 0px;
    --nscf-max-width: 100%;
    --nscf-label-align: left;
    --nscf-input-text-align: left;
    width: 100%;
    max-width: var(--nscf-max-width);
    background: var(--nscf-container-bg);
    border: 1px solid var(--nscf-container-border);
    border-radius: var(--nscf-container-radius);
    padding: var(--nscf-container-padding);
}

.nscf-align-left {
    margin-left: 0;
    margin-right: auto;
}

.nscf-align-center {
    margin-left: auto;
    margin-right: auto;
}

.nscf-align-right {
    margin-left: auto;
    margin-right: 0;
}

.nscf-wrap,
.nscf-wrap * {
    box-sizing: border-box;
}

.nscf-wrap .nscf-form {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    grid-auto-flow: row dense !important;
    gap: var(--nscf-gap) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nscf-wrap .nscf-field {
    grid-column: span 12;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: var(--nscf-label-gap) !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
}

.nscf-wrap .nscf-layout-third {
    grid-column: span 4 !important;
}

.nscf-wrap .nscf-layout-half {
    grid-column: span 6 !important;
}

.nscf-wrap .nscf-layout-full,
.nscf-wrap .nscf-submit-row {
    grid-column: span 12 !important;
}

.nscf-wrap .nscf-field > label {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    font-weight: 600;
    line-height: 1.4;
    text-align: var(--nscf-label-align);
    color: var(--nscf-label-color);
}

.nscf-wrap .nscf-required {
    color: #dc2626;
    margin-left: 4px;
}

.nscf-wrap .nscf-field input[type="text"],
.nscf-wrap .nscf-field input[type="email"],
.nscf-wrap .nscf-field input[type="tel"],
.nscf-wrap .nscf-field textarea,
.nscf-wrap .nscf-field select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: var(--nscf-input-min-height) !important;
    margin: 0 !important;
    padding: var(--nscf-padding-y) var(--nscf-padding-x) !important;
    float: none !important;
    clear: both !important;
    border: 1px solid var(--nscf-border) !important;
    background: var(--nscf-input-bg) !important;
    color: var(--nscf-input-color) !important;
    border-radius: var(--nscf-radius) !important;
    box-shadow: none;
    outline: none;
    appearance: none;
    text-align: var(--nscf-input-text-align);
    line-height: 1.4;
}

.nscf-wrap .nscf-field textarea {
    min-height: var(--nscf-textarea-min-height) !important;
    resize: vertical;
}

.nscf-wrap .nscf-field input[type="text"]::placeholder,
.nscf-wrap .nscf-field input[type="email"]::placeholder,
.nscf-wrap .nscf-field input[type="tel"]::placeholder,
.nscf-wrap .nscf-field textarea::placeholder {
    color: var(--nscf-placeholder-color);
    opacity: 1;
}

.nscf-wrap .nscf-field input[type="text"]:focus,
.nscf-wrap .nscf-field input[type="email"]:focus,
.nscf-wrap .nscf-field input[type="tel"]:focus,
.nscf-wrap .nscf-field textarea:focus,
.nscf-wrap .nscf-field select:focus {
    border-color: var(--nscf-focus-border) !important;
    box-shadow: 0 0 0 1px var(--nscf-focus-border) !important;
}

.nscf-wrap .nscf-checkbox,
.nscf-wrap .nscf-privacy-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    font-weight: 500;
    line-height: 1.5;
    color: var(--nscf-label-color);
}

.nscf-wrap .nscf-checkbox input[type="checkbox"],
.nscf-wrap .nscf-privacy-checkbox input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 3px 0 0 !important;
    padding: 0 !important;
    flex: 0 0 18px;
    accent-color: var(--nscf-checkbox-accent);
}

.nscf-wrap .nscf-privacy-checkbox a {
    color: var(--nscf-focus-border);
    text-decoration: underline;
}

.nscf-wrap .nscf-captcha-row {
    align-items: flex-start;
}

.nscf-wrap .nscf-recaptcha-widget {
    width: 100%;
    min-height: 78px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.nscf-wrap .nscf-recaptcha-placeholder {
    width: 100%;
    border: 1px dashed var(--nscf-border);
    border-radius: var(--nscf-radius);
    background: rgba(148, 163, 184, 0.08);
    color: var(--nscf-help-color);
    padding: 14px;
    line-height: 1.4;
}

.nscf-wrap .nscf-recaptcha-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--nscf-help-color);
    font-size: 0.82rem;
    line-height: 1.3;
}

.nscf-wrap .nscf-recaptcha-placeholder-error {
    border-color: #fca5a5;
    background: var(--nscf-error-bg);
    color: var(--nscf-error-color);
}

.nscf-wrap .nscf-help {
    display: block;
    margin: 0;
    color: var(--nscf-help-color);
    font-size: 0.88rem;
    line-height: 1.4;
}

.nscf-wrap .nscf-submit-row {
    display: flex !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nscf-button-align-left .nscf-submit-row {
    justify-content: flex-start;
}

.nscf-button-align-center .nscf-submit-row {
    justify-content: center;
}

.nscf-button-align-right .nscf-submit-row {
    justify-content: flex-end;
}

.nscf-wrap .nscf-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    border-radius: var(--nscf-button-radius) !important;
    background: var(--nscf-button-bg) !important;
    color: var(--nscf-button-color) !important;
    padding: var(--nscf-button-padding-y) var(--nscf-button-padding-x) !important;
    margin: 0 !important;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.nscf-button-full .nscf-submit {
    width: 100% !important;
}

.nscf-wrap .nscf-submit:hover,
.nscf-wrap .nscf-submit:focus {
    background: var(--nscf-button-hover-bg) !important;
    color: var(--nscf-button-hover-color) !important;
}

.nscf-wrap .nscf-submit.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.nscf-wrap .nscf-feedback {
    grid-column: span 12;
    display: none;
    border-radius: var(--nscf-radius);
    padding: 12px 14px;
    font-size: 0.95rem;
}

.nscf-wrap .nscf-feedback.is-visible {
    display: block;
}

.nscf-wrap .nscf-feedback.is-success {
    background: var(--nscf-success-bg);
    color: var(--nscf-success-color);
}

.nscf-wrap .nscf-feedback.is-error,
.nscf-wrap .nscf-message-error {
    background: var(--nscf-error-bg);
    color: var(--nscf-error-color);
}

.nscf-wrap .nscf-message {
    border-radius: var(--nscf-radius);
    padding: 12px 14px;
}

body.nscf-modal-open {
    overflow: hidden;
}

.nscf-wrap .nscf-download-cta {
    display: flex;
    width: 100%;
}

.nscf-button-align-left .nscf-download-cta {
    justify-content: flex-start;
}

.nscf-button-align-center .nscf-download-cta {
    justify-content: center;
}

.nscf-button-align-right .nscf-download-cta {
    justify-content: flex-end;
}

.nscf-wrap .nscf-download-trigger {
    position: relative;
}

.nscf-button-full .nscf-download-trigger {
    width: 100% !important;
}

.nscf-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.nscf-modal.is-open {
    display: flex;
}

.nscf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(6px);
}

.nscf-modal-card {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    background: #ffffff;
    color: #0f172a;
    border-radius: 26px;
    box-shadow: 0 28px 90px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.24);
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: nscf-modal-enter 0.24s ease-out;
}

.nscf-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.35rem;
    line-height: 1;
}

.nscf-modal .nscf-modal-close {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
}

.nscf-modal-header {
    flex: 0 0 auto;
    margin-bottom: 18px;
    padding-right: 40px;
}

.nscf-modal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.nscf-modal-title {
    margin: 0 0 10px;
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    line-height: 1.1;
    color: #0f172a;
}

.nscf-modal-message {
    color: #475569;
    line-height: 1.55;
    font-size: 0.98rem;
}

.nscf-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px;
    margin-right: -6px;
    overscroll-behavior: contain;
}

.nscf-modal-body .nscf-wrap {
    max-width: 100%;
}

.nscf-modal-body .nscf-form {
    margin-top: 0 !important;
}

.nscf-quickscan {
    width: 100%;
    padding: 20px 0;
}

.nscf-quickscan-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 26px;
    border-radius: 20px;
    background: linear-gradient(180deg, #051d2e 0%, #0d2c3d 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.nscf-quickscan-title {
    margin: 0;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.15;
}

.nscf-quickscan-subtitle {
    margin: 6px 0 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    line-height: 1.55;
}

.nscf-quickscan-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.nscf-quickscan-option {
    width: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    appearance: none;
}

.nscf-quickscan-option:hover,
.nscf-quickscan-option:focus {
    border-color: #6ec3bf;
    background: rgba(110, 195, 191, 0.12);
    transform: translateY(-1px);
    outline: none;
}

.nscf-quickscan-option.is-active {
    border-color: #6ec3bf;
    background: rgba(110, 195, 191, 0.18);
    box-shadow: inset 0 0 0 1px rgba(110, 195, 191, 0.4);
}

.nscf-quickscan-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.nscf-quickscan-result {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

.nscf-quickscan-btn {
    border: 0;
    background: #ffe143;
    color: #051d2e;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    box-shadow: 0 12px 26px rgba(255, 225, 67, 0.22);
}

.nscf-quickscan-btn:disabled,
.nscf-quickscan-btn[aria-disabled="true"] {
    opacity: 0.4;
    pointer-events: none;
    box-shadow: none;
}

.nscf-quickscan-btn.is-active:hover,
.nscf-quickscan-btn.is-active:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(255, 225, 67, 0.28);
    outline: none;
}

.nscf-training-highlight {
    cursor: default;
    position: relative;
    padding-left: 46px;
}

.nscf-training-date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: -4px 0 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 225, 67, 0.14);
    color: #ffe143;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
}

.nscf-training-highlight::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 19px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #6ec3bf;
    box-shadow: 0 0 0 6px rgba(110, 195, 191, 0.14);
}

.nscf-training-highlight:hover,
.nscf-training-highlight:focus {
    transform: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.nscf-training-participants {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(241, 245, 249, 0.72));
    padding: 16px;
}

.nscf-training-participants-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.nscf-training-participants-title {
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.nscf-training-participants-subtitle {
    margin-top: 4px;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.45;
}

.nscf-training-participants-count {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 700;
}

.nscf-training-participant-list {
    display: grid;
    gap: 12px;
}

.nscf-training-participant-row {
    padding: 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.26);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.nscf-training-participant-row-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}

.nscf-training-participant-row-title {
    font-size: 0.94rem;
    font-weight: 800;
    color: #0f172a;
}

.nscf-training-remove-participant {
    border: 0;
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.nscf-training-participant-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.nscf-training-participant-fields label {
    display: grid;
    gap: 6px;
    color: var(--nscf-label-color);
    font-size: 0.9rem;
    font-weight: 700;
}

.nscf-training-participant-fields input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--nscf-border);
    border-radius: var(--nscf-radius);
    background: var(--nscf-input-bg);
    color: var(--nscf-input-color);
    padding: 10px 12px;
    font: inherit;
    outline: none;
}

.nscf-training-participant-fields input:focus {
    border-color: var(--nscf-focus-border);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.nscf-training-add-participant {
    margin-top: 12px;
    width: 100%;
    min-height: 46px;
    border: 1px dashed rgba(37, 99, 235, 0.42);
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.07);
    color: #1d4ed8;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.nscf-training-add-participant:hover,
.nscf-training-add-participant:focus {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.68);
    transform: translateY(-1px);
    outline: none;
}

.nscf-training-add-participant:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nscf-wrap-floating {
    width: auto;
    max-width: none;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}

.nscf-floating {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

body.nscf-modal-open .nscf-floating {
    z-index: 2147483000 !important;
}

.nscf-floating-trigger {
    position: relative;
    overflow: hidden;
    min-height: 56px;
    min-width: 56px;
    padding-inline: 22px !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    isolation: isolate;
    will-change: box-shadow, transform;
    animation: nscf-floating-button-breathe 3.6s ease-in-out infinite;
}

.nscf-floating-trigger::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
    border: 1px solid rgba(37, 99, 235, 0.18);
    opacity: 0;
    z-index: -1;
    animation: nscf-floating-button-ring 3.6s ease-out infinite;
}

.nscf-floating-trigger::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0.18) 58%, transparent 80%);
    transform: translateX(-150%);
    opacity: 0;
    pointer-events: none;
}

.nscf-floating-trigger:hover,
.nscf-floating-trigger:focus {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.28);
}

.nscf-floating-trigger:hover::after,
.nscf-floating-trigger:focus::after {
    opacity: 1;
    animation: nscf-floating-button-shine 0.95s ease;
}

body.nscf-modal-open .nscf-floating-trigger,
body.nscf-modal-open .nscf-floating-teaser {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) scale(0.98) !important;
    transition: opacity 0.16s ease, visibility 0.16s ease, transform 0.16s ease;
}

.nscf-floating-teaser {
    position: relative;
    width: min(340px, calc(100vw - 32px));
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
    display: none;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
}

.nscf-floating-teaser.is-visible {
    display: block;
    animation: nscf-floating-teaser-enter 0.22s ease-out forwards;
}

.nscf-floating-teaser-title {
    margin: 0 34px 8px 0;
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.nscf-floating-teaser-message {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.55;
    font-size: 0.96rem;
}

.nscf-floating-teaser-action {
    width: 100%;
    justify-content: center !important;
}

.nscf-floating-teaser-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
}

.nscf-floating .nscf-modal-card {
    width: min(100%, 620px);
}

.nscf-modal-training .nscf-modal-card {
    width: min(100%, 760px);
}

@keyframes nscf-floating-teaser-enter {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes nscf-floating-button-breathe {
    0%,
    100% {
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    }
    50% {
        box-shadow: 0 24px 54px rgba(15, 23, 42, 0.28);
    }
}

@keyframes nscf-floating-button-ring {
    0% {
        opacity: 0;
        transform: scale(0.96);
    }
    16% {
        opacity: 0.38;
    }
    72%,
    100% {
        opacity: 0;
        transform: scale(1.16);
    }
}

@keyframes nscf-floating-button-shine {
    from {
        transform: translateX(-150%);
    }
    to {
        transform: translateX(150%);
    }
}

@keyframes nscf-modal-enter {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767px) {
    .nscf-wrap .nscf-form {
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
    }

    .nscf-wrap .nscf-field,
    .nscf-wrap .nscf-layout-third,
    .nscf-wrap .nscf-layout-half,
    .nscf-wrap .nscf-layout-full,
    .nscf-wrap .nscf-submit-row,
    .nscf-wrap .nscf-feedback,
    .nscf-wrap .nscf-training-participants {
        grid-column: 1 / -1 !important;
        min-width: 0 !important;
    }

    .nscf-modal {
        align-items: stretch;
        padding: 10px;
    }

    .nscf-modal-card {
        width: 100%;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 20px 14px 14px;
        border-radius: 22px;
        margin: auto 0;
    }

    .nscf-modal-header {
        padding-right: 44px;
        margin-bottom: 14px;
    }

    .nscf-modal-title {
        font-size: clamp(1.3rem, 8vw, 1.7rem);
    }

    .nscf-modal-body {
        padding-right: 2px;
        margin-right: -2px;
    }

    .nscf-modal .nscf-wrap .nscf-form {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .nscf-modal .nscf-wrap .nscf-field {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 6px !important;
        min-height: 0 !important;
    }

    .nscf-modal .nscf-wrap .nscf-field > label {
        position: static !important;
        transform: none !important;
        white-space: normal !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .nscf-modal .nscf-wrap .nscf-field input[type="text"],
    .nscf-modal .nscf-wrap .nscf-field input[type="email"],
    .nscf-modal .nscf-wrap .nscf-field input[type="tel"],
    .nscf-modal .nscf-wrap .nscf-field textarea,
    .nscf-modal .nscf-wrap .nscf-field select {
        position: static !important;
        height: auto !important;
        min-height: 46px !important;
    }

    .nscf-modal .nscf-wrap .nscf-submit {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        height: auto !important;
        padding: 13px 16px !important;
        white-space: normal !important;
        text-align: center !important;
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }

    .nscf-floating {
        right: 16px;
        left: 16px;
        bottom: 16px;
        align-items: stretch;
    }

    .nscf-quickscan-inner {
        padding: 20px;
        border-radius: 18px;
    }

    .nscf-quickscan-options {
        grid-template-columns: 1fr;
    }

    .nscf-quickscan-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .nscf-quickscan-btn {
        width: 100%;
        text-align: center;
    }

    .nscf-training-participants-header,
    .nscf-training-participant-row-head {
        flex-direction: column;
        align-items: stretch;
    }

    .nscf-training-participant-fields {
        grid-template-columns: 1fr;
    }

    .nscf-floating-trigger {
        width: 100%;
        justify-content: center !important;
    }

    .nscf-floating-teaser {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nscf-floating-trigger,
    .nscf-floating-trigger::before,
    .nscf-floating-trigger::after,
    .nscf-floating-teaser.is-visible,
    .nscf-modal-card {
        animation: none !important;
        transition: none !important;
    }

    .nscf-floating-trigger:hover,
    .nscf-floating-trigger:focus {
        transform: none;
    }
}
