.ema-taf-page-shell,
.ema-taf-root,
.ema-taf-root * {
    box-sizing: border-box;
}

.ema-taf-page-shell {
    background: #fff;
}

.ema-taf-root [hidden] {
    display: none !important;
}

.ema-taf-root {
    width: 100%;
    background: var(--ema-taf-page, #fff);
    color: var(--ema-taf-text, #172238);
    font-family: var(--ema-taf-font, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    line-height: 1.45;
    padding: 24px 22px 34px;
}

.ema-taf-icon {
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 auto;
    display: inline-block;
    vertical-align: middle;
}

.ema-taf-heading-grid,
.ema-taf-layout {
    width: min(100%, var(--ema-taf-max, 1500px));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 225px minmax(0, 1fr) 285px;
    column-gap: 30px;
}

.ema-taf-page-heading {
    margin: 0 0 15px;
}

.ema-taf-page-heading h1 {
    margin: 0 0 5px;
    color: var(--ema-taf-heading, #174d2d);
    font-family: inherit;
    font-size: clamp(28px, 2.1vw, 35px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.ema-taf-page-heading p {
    margin: 0;
    color: var(--ema-taf-muted, #657083);
    font-size: 15px;
    font-weight: 500;
}

.ema-taf-form {
    margin: 0;
}

.ema-taf-main-column,
.ema-taf-step-column,
.ema-taf-info-column {
    min-width: 0;
}

.ema-taf-step-column,
.ema-taf-info-column {
    align-self: start;
    position: sticky;
    top: 92px;
}

.ema-taf-steps {
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0 0 40px;
}

.ema-taf-steps::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 31px;
    bottom: 31px;
    width: 1px;
    background: #cbd4dc;
}

.ema-taf-step {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--ema-taf-text);
    width: 100%;
    min-height: 75px;
    padding: 9px 10px;
    border-radius: var(--ema-taf-card-radius, 10px);
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 13px;
    align-items: center;
    text-align: left;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: background-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.ema-taf-step:hover,
.ema-taf-step:focus-visible {
    background: #f7faf8;
}

.ema-taf-step:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ema-taf-primary) 30%, transparent);
    outline-offset: 2px;
}

.ema-taf-step.is-active {
    background: linear-gradient(90deg, var(--ema-taf-soft), rgba(255,255,255,.45));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ema-taf-primary) 8%, transparent);
}

.ema-taf-step-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #aeb9c4;
    background: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    color: #445064;
    transition: .22s ease;
    position: relative;
}

.ema-taf-step.is-active .ema-taf-step-number {
    color: #fff;
    background: var(--ema-taf-primary);
    border-color: var(--ema-taf-primary);
    box-shadow: 0 6px 15px color-mix(in srgb, var(--ema-taf-primary) 24%, transparent);
}

.ema-taf-step-check {
    display: none;
}

.ema-taf-step.is-complete:not(.is-active) .ema-taf-step-index {
    display: none;
}

.ema-taf-step.is-complete:not(.is-active) .ema-taf-step-check {
    display: inline-flex;
    color: var(--ema-taf-primary);
}

.ema-taf-step-copy {
    display: block;
    min-width: 0;
}

.ema-taf-step-copy strong,
.ema-taf-step-copy small {
    display: block;
}

.ema-taf-step-copy strong {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    color: #253044;
    margin-bottom: 4px;
}

.ema-taf-step.is-active .ema-taf-step-copy strong {
    color: var(--ema-taf-primary);
}

.ema-taf-step-copy small {
    color: var(--ema-taf-muted);
    font-size: 11.5px;
    line-height: 1.35;
}

.ema-taf-security-note {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 12px;
    padding: 18px 16px;
    background: linear-gradient(135deg, var(--ema-taf-soft), #fff);
    border: 1px solid color-mix(in srgb, var(--ema-taf-primary) 9%, var(--ema-taf-border));
    border-radius: var(--ema-taf-card-radius);
}

.ema-taf-side-icon {
    color: var(--ema-taf-primary);
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
}

.ema-taf-security-note strong {
    display: block;
    color: var(--ema-taf-primary-hover);
    font-size: 13px;
    margin-bottom: 6px;
}

.ema-taf-security-note p {
    margin: 0;
    font-size: 11.5px;
    color: #4d596a;
    line-height: 1.65;
}

.ema-taf-main-column {
    border-left: 1px solid #eef1f3;
    border-right: 1px solid #eef1f3;
    padding: 0 20px 5px;
}

.ema-taf-section {
    padding: 0 0 25px;
    scroll-margin-top: 110px;
}

.ema-taf-section-divided {
    border-top: 1px solid #e2e7ea;
    padding-top: 22px;
}

.ema-taf-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: var(--ema-taf-heading);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 750;
}

.ema-taf-title-icon {
    color: #263548;
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
}

.ema-taf-title-icon .ema-taf-icon {
    width: 22px;
    height: 22px;
}

.ema-taf-section-copy {
    margin: -7px 0 17px;
    color: var(--ema-taf-muted);
    font-size: 13px;
}

.ema-taf-grid {
    display: grid;
    gap: 14px 18px;
}

.ema-taf-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ema-taf-professional-row {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(190px, .72fr) minmax(0, 2.28fr);
    gap: 18px;
    align-items: start;
}

.ema-taf-field,
.ema-taf-upload-field,
.ema-taf-confirm-field {
    min-width: 0;
}

.ema-taf-field label,
.ema-taf-field legend,
.ema-taf-upload-label,
.ema-taf-area-details legend {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    color: #293347;
    font-size: 11.5px;
    line-height: 1.35;
    font-weight: 700;
}

.ema-taf-field fieldset,
.ema-taf-weekday-field,
.ema-taf-area-details fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.ema-taf-required {
    color: #e23a3a;
}

.ema-taf-help-inline {
    color: var(--ema-taf-muted);
    font-weight: 500;
}

.ema-taf-field input[type="text"],
.ema-taf-field input[type="email"],
.ema-taf-field input[type="tel"],
.ema-taf-field select,
.ema-taf-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    height: var(--ema-taf-input-height, 44px);
    margin: 0;
    padding: 0 13px;
    border: 1px solid var(--ema-taf-border);
    border-radius: var(--ema-taf-radius);
    background: #fff;
    color: var(--ema-taf-text);
    font: inherit;
    font-size: 12.5px;
    line-height: 1.2;
    text-align: left;
    box-shadow: none;
    outline: none;
    transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.ema-taf-field textarea {
    min-height: 110px;
    padding-top: 11px;
    padding-bottom: 11px;
    resize: vertical;
}

.ema-taf-field input::placeholder,
.ema-taf-field textarea::placeholder {
    color: #8a93a1;
    opacity: 1;
    text-align: left;
}

.ema-taf-field input:hover,
.ema-taf-field select:hover,
.ema-taf-field textarea:hover {
    border-color: #bcc7cf;
}

.ema-taf-field input:focus,
.ema-taf-field select:focus,
.ema-taf-field textarea:focus,
.ema-taf-dropzone:focus-visible {
    border-color: var(--ema-taf-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ema-taf-primary) 16%, transparent);
}

.ema-taf-select-wrap,
.ema-taf-input-icon-wrap {
    position: relative;
}

.ema-taf-select-wrap select {
    appearance: none;
    padding-right: 36px;
}

.ema-taf-select-wrap > .ema-taf-icon,
.ema-taf-input-icon-wrap > .ema-taf-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #4b596b;
    width: 17px;
    height: 17px;
}

.ema-taf-date-field input {
    text-align: left !important;
    padding-right: 38px !important;
}

.ema-taf-weekday-field {
    padding-top: 0;
}

.ema-taf-check-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(80px, 1fr));
    gap: 10px 12px;
}

.ema-taf-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    color: #334055;
    font-size: 11.5px;
    line-height: 1.45;
    cursor: pointer;
    min-width: 0;
}

.ema-taf-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ema-taf-checkbox-box {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin-top: 0;
    border: 1px solid #b9c3cc;
    border-radius: 3px;
    background: #fff;
    color: transparent;
    display: grid;
    place-items: center;
    transition: .2s ease;
}

.ema-taf-checkbox-box .ema-taf-icon {
    width: 12px;
    height: 12px;
    stroke-width: 2.4;
}

.ema-taf-checkbox input:checked + .ema-taf-checkbox-box {
    border-color: var(--ema-taf-primary);
    background: var(--ema-taf-primary);
    color: #fff;
}

.ema-taf-checkbox input:focus-visible + .ema-taf-checkbox-box {
    outline: 3px solid color-mix(in srgb, var(--ema-taf-primary) 22%, transparent);
    outline-offset: 2px;
}

.ema-taf-error {
    min-height: 0;
    margin: 4px 0 0;
    color: var(--ema-taf-error);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 600;
}

.ema-taf-field.is-invalid input,
.ema-taf-field.is-invalid select,
.ema-taf-field.is-invalid textarea,
.ema-taf-upload-field.is-invalid .ema-taf-dropzone,
.ema-taf-area-details.is-invalid .ema-taf-area-detail-inner,
.ema-taf-confirm-field.is-invalid .ema-taf-checkbox-box,
.ema-taf-weekday-field.is-invalid .ema-taf-checkbox-box {
    border-color: var(--ema-taf-error) !important;
}

.ema-taf-area-card {
    border: 1px solid var(--ema-taf-border);
    border-radius: var(--ema-taf-card-radius);
    padding: 14px;
    background: #fff;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(23, 34, 56, .025);
}

.ema-taf-area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ema-taf-area-badge {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--ema-taf-soft);
    color: var(--ema-taf-primary-hover);
    font-weight: 700;
    font-size: 11px;
}

.ema-taf-remove-area {
    appearance: none;
    border: 0;
    background: transparent;
    color: #c63a3a;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
}

.ema-taf-remove-area:hover,
.ema-taf-remove-area:focus-visible {
    background: #fff2f2;
}

.ema-taf-area-details {
    margin-top: 13px;
}

.ema-taf-area-detail-inner {
    background: #fafcfb;
    border: 1px solid #edf1ee;
    border-radius: 8px;
    padding: 13px;
}

.ema-taf-area-category-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ema-taf-primary-hover);
    margin-bottom: 12px;
    font-size: 12px;
}

.ema-taf-area-detail-inner fieldset + fieldset {
    margin-top: 13px;
}

.ema-taf-detail-checks {
    grid-template-columns: repeat(4, minmax(95px, 1fr));
}

.ema-taf-radio-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ema-taf-radio-card {
    min-height: 42px;
    border: 1px solid var(--ema-taf-border);
    border-radius: 7px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    font-size: 11.5px;
    cursor: pointer;
    transition: .2s ease;
}

.ema-taf-radio-card:hover {
    border-color: color-mix(in srgb, var(--ema-taf-primary) 50%, var(--ema-taf-border));
}

.ema-taf-radio-card input {
    position: absolute;
    opacity: 0;
}

.ema-taf-radio-dot {
    width: 16px;
    height: 16px;
    border: 1px solid #b7c1ca;
    border-radius: 50%;
    position: relative;
    flex: 0 0 16px;
}

.ema-taf-radio-card input:checked + .ema-taf-radio-dot {
    border-color: var(--ema-taf-primary);
}

.ema-taf-radio-card input:checked + .ema-taf-radio-dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--ema-taf-primary);
    border-radius: 50%;
}

.ema-taf-radio-card:has(input:checked) {
    border-color: var(--ema-taf-primary);
    background: var(--ema-taf-soft);
}

.ema-taf-radio-card input:focus-visible + .ema-taf-radio-dot {
    outline: 3px solid color-mix(in srgb, var(--ema-taf-primary) 22%, transparent);
    outline-offset: 2px;
}

.ema-taf-add-area {
    width: 100%;
    min-height: 43px;
    border: 1px dashed #91ac99;
    border-radius: 8px;
    background: #fbfdfb;
    color: var(--ema-taf-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    transition: .22s ease;
}

.ema-taf-add-area:hover,
.ema-taf-add-area:focus-visible {
    border-color: var(--ema-taf-primary);
    background: var(--ema-taf-soft);
    box-shadow: 0 3px 12px rgba(23, 107, 58, .07);
}

.ema-taf-mini-note,
.ema-taf-review-hint {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 8px 0 0;
    color: var(--ema-taf-muted);
    font-size: 11px;
}

.ema-taf-review-section {
    padding-bottom: 20px;
}

.ema-taf-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ema-taf-upload-label {
    min-height: 30px;
}

.ema-taf-upload-meta {
    margin: -4px 0 7px;
    color: var(--ema-taf-muted);
    font-size: 10.5px;
}

.ema-taf-dropzone {
    min-height: 103px;
    border: 1px dashed #c8d0d6;
    border-radius: 7px;
    background: #fff;
    padding: 13px 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: border-color .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.ema-taf-dropzone:hover,
.ema-taf-dropzone.is-dragging {
    border-color: var(--ema-taf-primary);
    background: var(--ema-taf-soft);
    box-shadow: 0 5px 16px rgba(23, 107, 58, .07);
}

.ema-taf-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.ema-taf-upload-icon {
    color: var(--ema-taf-primary);
    margin-bottom: 5px;
}

.ema-taf-dropzone strong {
    color: var(--ema-taf-primary-hover);
    font-size: 11px;
}

.ema-taf-dropzone small {
    color: var(--ema-taf-muted);
    font-size: 10px;
    margin-top: 3px;
}

.ema-taf-file-state {
    position: absolute;
    inset: 0;
    padding: 12px;
    background: #f7fbf8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.ema-taf-file-name {
    max-width: 100%;
    color: var(--ema-taf-primary-hover);
    font-weight: 700;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ema-taf-file-actions {
    display: flex;
    gap: 8px;
}

.ema-taf-file-actions button {
    border: 0;
    background: transparent;
    color: var(--ema-taf-primary);
    cursor: pointer;
    padding: 3px 5px;
    font-size: 10.5px;
    text-decoration: underline;
}

.ema-taf-status {
    border-radius: 8px;
    padding: 13px 15px;
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 650;
    outline: none;
}

.ema-taf-success {
    background: #edf8f0;
    border: 1px solid #a7d7b5;
    color: #15582e;
}

.ema-taf-failure {
    background: var(--ema-taf-error-soft);
    border: 1px solid color-mix(in srgb, var(--ema-taf-error) 40%, white);
    color: var(--ema-taf-error);
}

.ema-taf-error-summary {
    min-height: 55px;
    border: 1px solid #efb0b0;
    border-radius: 8px;
    background: var(--ema-taf-error-soft);
    padding: 9px 12px;
    display: grid;
    grid-template-columns: 27px 1fr auto;
    gap: 11px;
    align-items: center;
    margin: 0 0 8px;
}

.ema-taf-error-summary-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--ema-taf-error);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ema-taf-error);
    font-weight: 800;
}

.ema-taf-error-summary strong {
    display: block;
    color: #8e2222;
    font-size: 12px;
}

.ema-taf-error-summary p {
    margin: 2px 0 0;
    color: #7b4040;
    font-size: 11px;
}

.ema-taf-error-summary button {
    border: 1px solid #e79b9b;
    border-radius: 6px;
    background: #fff;
    color: #7e2929;
    padding: 8px 10px;
    font-size: 10.5px;
    cursor: pointer;
}

.ema-taf-info-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ema-taf-side-card,
.ema-taf-accordion-group,
.ema-taf-submit-card {
    border: 1px solid var(--ema-taf-border);
    border-radius: var(--ema-taf-card-radius);
    background: var(--ema-taf-card);
    box-shadow: 0 4px 18px rgba(20, 37, 54, .025);
}

.ema-taf-benefits-card {
    padding: 16px;
    background: linear-gradient(145deg, var(--ema-taf-soft), #fff);
}

.ema-taf-benefits-card h2,
.ema-taf-support-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 13px;
    color: var(--ema-taf-primary-hover);
    font-size: 13px;
    line-height: 1.25;
}

.ema-taf-benefits-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.ema-taf-benefits-card li {
    display: grid;
    grid-template-columns: 17px 1fr;
    gap: 8px;
    align-items: start;
    color: #354154;
    font-size: 11px;
}

.ema-taf-benefits-card li > span {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--ema-taf-primary);
    color: #fff;
    display: grid;
    place-items: center;
}

.ema-taf-benefits-card li .ema-taf-icon {
    width: 11px;
    height: 11px;
    stroke-width: 2.5;
}

.ema-taf-support-card {
    padding: 16px;
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 11px;
}

.ema-taf-support-card h2 {
    margin-bottom: 6px;
}

.ema-taf-support-card p {
    margin: 0 0 5px;
    color: #495568;
    font-size: 10.8px;
    line-height: 1.55;
}

.ema-taf-support-card a {
    color: var(--ema-taf-primary);
    font-size: 11px;
    font-weight: 700;
    word-break: break-word;
}

.ema-taf-accordion-group {
    overflow: hidden;
}

.ema-taf-accordion + .ema-taf-accordion {
    border-top: 1px solid var(--ema-taf-border);
}

.ema-taf-accordion-toggle {
    width: 100%;
    min-height: 57px;
    border: 0;
    background: #fff;
    color: #263348;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
}

.ema-taf-accordion-toggle > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.ema-taf-accordion-toggle:hover,
.ema-taf-accordion-toggle:focus-visible {
    background: #f8faf9;
}

.ema-taf-accordion-toggle:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ema-taf-primary) 18%, transparent);
    outline-offset: -3px;
}

.ema-taf-accordion-toggle > .ema-taf-icon {
    transition: transform .22s ease;
}

.ema-taf-accordion.is-open .ema-taf-accordion-toggle > .ema-taf-icon {
    transform: rotate(180deg);
}

.ema-taf-accordion-panel {
    padding: 0 14px 14px;
    color: #4b586b;
    font-size: 10.8px;
}

.ema-taf-accordion-panel > p {
    margin: 0 0 11px;
    line-height: 1.55;
}

.ema-taf-confirm-field + .ema-taf-confirm-field {
    margin-top: 9px;
}

.ema-taf-confirm {
    font-size: 10.7px;
    line-height: 1.45;
}

.ema-taf-confirm a {
    color: var(--ema-taf-primary);
    text-decoration: underline;
}

.ema-taf-submit-card {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-top: 3px;
}

.ema-taf-submit {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 7px;
    background: var(--ema-taf-disabled);
    color: #7c838b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: not-allowed;
    transition: background-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.ema-taf-submit.is-ready:not(:disabled) {
    background: var(--ema-taf-primary);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 7px 18px color-mix(in srgb, var(--ema-taf-primary) 20%, transparent);
}

.ema-taf-submit.is-ready:not(:disabled):hover,
.ema-taf-submit.is-ready:not(:disabled):focus-visible {
    background: var(--ema-taf-primary-hover);
}

.ema-taf-submit:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--ema-taf-primary) 26%, transparent);
    outline-offset: 2px;
}

.ema-taf-submit.is-loading .ema-taf-submit-icon {
    animation: ema-taf-pulse 1s ease-in-out infinite;
}

.ema-taf-submit-help {
    margin: 9px 0 0;
    text-align: center;
    color: var(--ema-taf-muted);
    font-size: 10.5px;
}

@keyframes ema-taf-pulse {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(-2px); opacity: .65; }
}

.ema-taf-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.ema-taf-plugin-header {
    width: 100%;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #edf0f2;
    z-index: 999;
}

.ema-taf-plugin-header.is-sticky {
    position: sticky;
    top: 0;
}

.ema-taf-plugin-header-inner {
    max-width: 1420px;
    min-height: 68px;
    margin: auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.ema-taf-logo {
    color: #0c3760;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    white-space: nowrap;
}

.ema-taf-logo img {
    display: block;
    max-width: 215px;
    max-height: 48px;
    width: auto;
    height: auto;
}

.ema-taf-plugin-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2vw, 32px);
    min-width: 0;
}

.ema-taf-plugin-nav a,
.ema-taf-language,
.ema-taf-login {
    color: #29364a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

.ema-taf-plugin-nav a:hover,
.ema-taf-language:hover {
    color: var(--ema-taf-primary);
}

.ema-taf-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ema-taf-login {
    border: 1px solid var(--ema-taf-primary);
    border-radius: 7px;
    color: var(--ema-taf-primary);
    padding: 8px 14px;
}

.ema-taf-login:hover {
    background: var(--ema-taf-primary);
    color: #fff;
}

.ema-taf-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid #d9e0e5;
    border-radius: 7px;
    background: #fff;
    padding: 9px;
}

.ema-taf-menu-toggle span {
    display: block;
    height: 2px;
    background: #27364a;
    margin: 4px 0;
}

.ema-taf-plugin-footer {
    border-top: 1px solid #e7ebee;
    background: #f9fbfa;
    color: #5d6877;
}

.ema-taf-plugin-footer-inner {
    max-width: 1420px;
    margin: auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12px;
}

.ema-taf-footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ema-taf-plugin-footer a {
    color: #445164;
    text-decoration: none;
}

.ema-taf-plugin-footer a:hover {
    color: var(--ema-taf-primary);
}

.ema-taf-plugin-footer p {
    margin: 0;
}

body.ema-taf-hide-theme-chrome .site-header,
body.ema-taf-hide-theme-chrome #masthead,
body.ema-taf-hide-theme-chrome .top_site_main,
body.ema-taf-hide-theme-chrome .page-title-wrapper,
body.ema-taf-hide-theme-chrome .site-footer,
body.ema-taf-hide-theme-chrome #colophon,
body.ema-taf-hide-theme-chrome .footer-bottom,
body.ema-taf-hide-theme-chrome .breadcrumbs-wrapper {
    display: none !important;
}

body.ema-taf-hide-theme-chrome .site-content,
body.ema-taf-hide-theme-chrome #main-content,
body.ema-taf-hide-theme-chrome .content-area,
body.ema-taf-hide-theme-chrome .container_site {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 1260px) {
    .ema-taf-heading-grid,
    .ema-taf-layout {
        grid-template-columns: 195px minmax(0, 1fr) 260px;
        column-gap: 20px;
    }

    .ema-taf-root {
        padding-inline: 16px;
    }

    .ema-taf-main-column {
        padding-inline: 16px;
    }

    .ema-taf-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ema-taf-check-grid {
        grid-template-columns: repeat(4, minmax(75px, 1fr));
    }

    .ema-taf-upload-grid {
        gap: 10px;
    }

    .ema-taf-step-copy small {
        font-size: 10.5px;
    }
}

@media (max-width: 1050px) {
    .ema-taf-heading-grid {
        grid-template-columns: 1fr;
    }

    .ema-taf-heading-grid > div {
        display: none;
    }

    .ema-taf-page-heading {
        max-width: 760px;
        margin-inline: auto;
        width: 100%;
    }

    .ema-taf-layout {
        grid-template-columns: 1fr;
        max-width: 900px;
        row-gap: 20px;
    }

    .ema-taf-step-column,
    .ema-taf-info-column {
        position: static;
    }

    .ema-taf-step-column {
        order: 1;
    }

    .ema-taf-main-column {
        order: 2;
        border: 1px solid #edf0f2;
        border-radius: var(--ema-taf-card-radius);
        padding: 20px;
    }

    .ema-taf-info-column {
        order: 3;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .ema-taf-accordion-group,
    .ema-taf-submit-card {
        grid-column: 1 / -1;
    }

    .ema-taf-steps {
        margin-bottom: 15px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }

    .ema-taf-steps::before {
        display: none;
    }

    .ema-taf-step {
        min-height: 74px;
        grid-template-columns: 34px 1fr;
        gap: 8px;
        padding: 8px;
        border: 1px solid #edf0f2;
        background: #fff;
    }

    .ema-taf-step-number {
        width: 30px;
        height: 30px;
    }

    .ema-taf-security-note {
        display: none;
    }

    .ema-taf-plugin-header-inner {
        gap: 18px;
    }

    .ema-taf-plugin-nav {
        gap: 14px;
    }
}

@media (max-width: 820px) {
    .ema-taf-grid-3,
    .ema-taf-upload-grid,
    .ema-taf-professional-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ema-taf-weekday-field {
        grid-column: 1 / -1;
    }

    .ema-taf-check-grid,
    .ema-taf-detail-checks {
        grid-template-columns: repeat(3, minmax(90px, 1fr));
    }

    .ema-taf-upload-field:last-child {
        grid-column: 1 / -1;
    }

    .ema-taf-plugin-header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .ema-taf-menu-toggle {
        display: block;
        order: 3;
        justify-self: end;
    }

    .ema-taf-plugin-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #e3e8eb;
        padding: 14px 20px;
        flex-direction: column;
        align-items: flex-start;
        z-index: 20;
    }

    .ema-taf-plugin-nav.is-open {
        display: flex;
    }

    .ema-taf-header-actions {
        order: 2;
        justify-self: end;
    }
}

@media (max-width: 680px) {
    .ema-taf-root {
        padding: 20px 12px 28px;
    }

    .ema-taf-page-heading h1 {
        font-size: 30px;
    }

    .ema-taf-main-column {
        padding: 16px 13px;
    }

    .ema-taf-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ema-taf-grid-3,
    .ema-taf-upload-grid,
    .ema-taf-professional-row,
    .ema-taf-radio-grid,
    .ema-taf-info-column {
        grid-template-columns: 1fr;
    }

    .ema-taf-upload-field:last-child {
        grid-column: auto;
    }

    .ema-taf-check-grid,
    .ema-taf-detail-checks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ema-taf-error-summary {
        grid-template-columns: 27px 1fr;
    }

    .ema-taf-error-summary button {
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    .ema-taf-plugin-header-inner {
        min-height: 62px;
        padding-inline: 14px;
        grid-template-columns: 1fr auto;
    }

    .ema-taf-header-actions {
        display: none;
    }

    .ema-taf-menu-toggle {
        order: initial;
    }

    .ema-taf-logo img {
        max-width: 170px;
    }

    .ema-taf-plugin-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ema-taf-root *,
    .ema-taf-root *::before,
    .ema-taf-root *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
