.knx-registration-shell,
.knx-ui-card,
.knx-ui-notice,
.knx-ui-upload {
    --knx-color-primary: var(--global-palette1, #1f4f8a);
    --knx-color-primary-hover: var(--global-palette2, #173b68);
    --knx-color-success: var(--global-palette-success, #2e7d32);
    --knx-color-warning: var(--global-palette-warning, #9a6700);
    --knx-color-danger: var(--global-palette-error, #b3261e);
    --knx-bg-card: var(--global-palette9, #fff);
    --knx-bg-soft: var(--global-palette8, #f7f9fc);
    --knx-border: var(--global-palette7, #d9dee7);
    --knx-radius: 0.75rem;
    --knx-shadow-card: 0 0.35rem 1rem rgba(0, 0, 0, 0.06);
    --knx-spacing-xs: 0.35rem;
    --knx-spacing-sm: 0.75rem;
    --knx-spacing-md: 1rem;
    --knx-spacing-lg: 1.5rem;
    --knx-transition-fast: 160ms ease;
}

/* MT-19.18: conservar la tipografía aprobada por Kadence por herencia. */
.knx-registration-shell,
.knx-ui-card,
.knx-ui-notice,
.knx-ui-upload,
.knx-my-account,
.knx-private-resources,
.knx-member-profile--portal,
.knx-my-account-news-modal__dialog,
.knx-my-account-member-list__dialog,
.knx-my-account button,
.knx-my-account input,
.knx-my-account select,
.knx-my-account textarea,
.knx-private-resources button,
.knx-private-resources input,
.knx-private-resources select,
.knx-private-resources textarea {
    font-family: inherit;
}

.knx-my-account button,
.knx-my-account input,
.knx-my-account select,
.knx-my-account textarea,
.knx-private-resources button,
.knx-private-resources input,
.knx-private-resources select,
.knx-private-resources textarea {
    font-size: inherit;
    line-height: inherit;
}

.knx-ui-card {
    background: var(--global-palette9, #fff);
    border: 1px solid var(--knx-border);
    border-radius: var(--knx-radius);
    box-shadow: 0 8px 24px rgba(34, 87, 122, 0.08);
    overflow: hidden;
    transition: box-shadow var(--knx-transition-fast), border-color var(--knx-transition-fast);
}

.knx-ui-card:hover { border-color: var(--knx-color-primary); box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08); }

.knx-ui-card__header {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    min-height: 5rem;
    position: relative;
}

.knx-ui-card__header::after { background: var(--knx-color-primary); bottom: 0; content: ''; height: 1px; left: 1.5rem; opacity: 0.45; position: absolute; right: 1.5rem; }

.knx-ui-card__step {
    align-items: center;
    border: 1px solid var(--knx-border);
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 2rem;
    height: 2rem;
    justify-content: center;
}

.knx-ui-card__icon { font-size: 1.25rem; line-height: 1; }
.knx-ui-card__heading { min-width: 0; }
.knx-ui-card__title { line-height: 1.2; margin: 0; }
.knx-ui-card__description { line-height: 1.45; margin: 0.25rem 0 0; }
.knx-ui-card__body { padding: 0 1.5rem 1.5rem; }

.knx-ui-notice {
    align-items: flex-start;
    border: 1px solid var(--global-palette7, #d9dee7);
    border-left: 0.35rem solid var(--global-palette7, #d9dee7);
    border-radius: 0.75rem;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    transition: border-color var(--knx-transition-fast), box-shadow var(--knx-transition-fast);
}

.knx-ui-notice--success { background: var(--global-palette8, #f2faf4); border-left-color: var(--global-palette-success, #2e7d32); }
.knx-ui-notice--error { background: var(--global-palette8, #fff7f7); border-left-color: var(--global-palette-error, #b3261e); }
.knx-ui-notice__icon { align-items: center; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; flex: 0 0 1.5rem; height: 1.5rem; justify-content: center; line-height: 1; }
.knx-ui-notice__title, .knx-ui-notice__message, .knx-ui-notice__reference { margin: 0; }
.knx-ui-notice__message, .knx-ui-notice__reference { margin-top: 0.35rem; }

.knx-ui-upload {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(11rem, 0.75fr);
    position: relative;
}

.knx-ui-upload__surface {
    align-items: center;
    border: 1px dashed var(--global-palette7, #d9dee7);
    border-radius: 0.65rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 12rem;
    padding: 1.5rem;
    text-align: center;
    transition: background-color var(--knx-transition-fast), border-color var(--knx-transition-fast), box-shadow var(--knx-transition-fast);
}

.knx-ui-upload__surface:hover,
.knx-ui-upload.is-dragging .knx-ui-upload__surface {
    background: var(--knx-bg-soft);
    border-color: var(--global-palette3, currentColor);
    box-shadow: var(--knx-shadow-card);
}

.knx-registration-card--company .knx-ui-card__step,
.knx-registration-card--company .knx-ui-card__icon { background: var(--knx-color-primary); border-color: var(--knx-color-primary); color: #fff; }
.knx-registration-card--representative .knx-ui-card__step,
.knx-registration-card--representative .knx-ui-card__icon { background: var(--knx-color-success); border-color: var(--knx-color-success); color: #fff; }
.knx-registration-card--confirmation .knx-ui-card__step,
.knx-registration-card--confirmation .knx-ui-card__icon { background: var(--knx-color-success); border-color: var(--knx-color-success); color: #fff; }
.knx-registration-card--company .knx-ui-card__header::after { background: var(--knx-color-primary); }
.knx-registration-card--representative .knx-ui-card__header::after { background: var(--knx-color-success); }
.knx-registration-card--confirmation .knx-ui-card__header::after { background: var(--knx-color-success); }
.knx-registration-upload .knx-ui-upload__surface { border-color: var(--knx-color-primary); }
.knx-registration-upload .knx-ui-upload__icon { color: var(--knx-color-primary); }

.knx-ui-upload__input { height: 1px; opacity: 0; overflow: hidden; position: absolute; width: 1px; }
.knx-ui-upload__empty, .knx-ui-upload__selected { align-items: center; display: flex; flex-direction: column; justify-content: center; }
.knx-ui-upload__icon { font-size: 1.5rem; line-height: 1; }
.knx-ui-upload__title { font-weight: 600; margin-top: 0.6rem; }
.knx-ui-upload__instruction, .knx-ui-upload__filename, .knx-ui-upload__status { margin-top: 0.35rem; }
.knx-ui-upload__preview { height: 8rem; margin-bottom: 0.5rem; object-fit: contain; width: 9rem; }
.knx-ui-upload__status { font-weight: 600; }
.knx-ui-upload__requirements { display: flex; flex-direction: column; gap: 0.35rem; justify-content: center; }
.knx-ui-upload__requirements { padding: 0.5rem 0; }
.knx-ui-upload__error { color: var(--global-palette-error, #b3261e); grid-column: 1 / -1; margin: 0; }
.knx-ui-upload__surface:focus-within { outline: 2px solid currentColor; outline-offset: 2px; }

@media (max-width: 767px) {
    .knx-ui-upload { grid-template-columns: 1fr; }
}

.knx-private-resources { --knx-color-primary: var(--global-palette1, #1f4f8a); --knx-border: var(--global-palette7, #d9dee7); --knx-radius: 0.75rem; }
.knx-private-resources__section { margin: 1.5rem 0; }
.knx-private-resources__section .knx-ui-card__body { padding-top: 1.25rem; }
.knx-private-resources__upload form { display: grid; gap: 1rem; }
.knx-private-resources__upload-fields { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.knx-private-resources__upload label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.knx-private-resources__upload input[type='file'], .knx-private-resources__upload input[name='title'] { border: 1px solid var(--knx-border); border-radius: 0.35rem; box-sizing: border-box; padding: 0.65rem; width: 100%; }
.knx-private-resources__helper { color: var(--global-palette4, #5f6b7a); display: block; font-size: 0.875rem; line-height: 1.45; margin-top: 0.35rem; }
.knx-private-resources__upload-action { text-align: center; }
.knx-private-resources__table-wrap { overflow-x: auto; }
.knx-private-resources__table { border-collapse: separate; border-spacing: 0; width: 100%; }
.knx-private-resources__table th:nth-child(6), .knx-private-resources__table th:nth-child(7), .knx-private-resources__table td:nth-child(6), .knx-private-resources__table td:nth-child(7) { text-align: center; vertical-align: middle; white-space: nowrap; width: 9rem; }
.knx-private-resources__table td form { display: inline; margin: 0; }
.knx-private-resources__table td button { cursor: pointer; }
@media (max-width: 767px) { .knx-private-resources__upload-fields { grid-template-columns: 1fr; } }

.knx-my-account__shell { display: grid; gap: 1.5rem; grid-template-columns: minmax(13rem, 0.28fr) minmax(0, 1fr); }
.knx-my-account__sidebar, .knx-my-account__content { background: var(--global-palette9, #fff); border: 1px solid var(--global-palette7, #d9dee7); border-radius: 0.75rem; box-shadow: 0 8px 24px rgba(34,87,122,.08); padding: 1.5rem; }
.knx-my-account__sidebar h1, .knx-my-account__content h2 { margin: .15rem 0 0; }
.knx-my-account__eyebrow { color: var(--global-palette4, #5f6b7a); display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.knx-my-account__nav-group { border-top: 1px solid var(--global-palette7, #d9dee7); margin-top: 1.25rem; padding-top: 1rem; }
.knx-my-account__nav-group h2 { color: var(--global-palette4, #5f6b7a); font-size: .75rem; letter-spacing: .06em; margin: 0 0 .5rem; text-transform: uppercase; }
.knx-my-account__sidebar ul { list-style: none; margin: 0; padding: 0; }
.knx-my-account__sidebar li + li { margin-top: .35rem; }
.knx-my-account__sidebar a { border-radius: .35rem; display: block; padding: .65rem .75rem; text-decoration: none; }
.knx-my-account__sidebar a[aria-current="page"], .knx-my-account__sidebar a:hover { background: var(--global-palette8, #f7f9fc); color: var(--global-palette1, #1f4f8a); }
.knx-my-account__badge { color: var(--global-palette4, #5f6b7a); font-size: .7rem; white-space: nowrap; }
.knx-my-account__content-header { border-bottom: 1px solid var(--global-palette7, #d9dee7); margin-bottom: 1.5rem; padding-bottom: 1rem; }
.knx-my-account__placeholder { background: var(--global-palette8, #f7f9fc); border: 1px dashed var(--global-palette7, #d9dee7); border-radius: .5rem; padding: 1.5rem; }
@media (max-width: 767px) { .knx-my-account__shell { grid-template-columns: 1fr; } }
.knx-member-profile--portal { display: grid; gap: 1.25rem; }
.knx-member-profile__portal-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.knx-member-profile--portal label { display: block; font-weight: 600; margin-bottom: .35rem; }
.knx-member-profile--portal input, .knx-member-profile--portal select { border: 1px solid var(--global-palette7, #d9dee7); border-radius: .35rem; box-sizing: border-box; padding: .65rem; width: 100%; }
.knx-member-profile__readonly { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1rem 0; }
.knx-member-profile__readonly div { background: var(--global-palette8, #f7f9fc); border-radius: .35rem; padding: .65rem .75rem; }
.knx-member-profile__readonly dt { font-size: .8rem; font-weight: 700; }
.knx-member-profile__readonly dd { margin: .2rem 0 0; }
@media (max-width: 767px) { .knx-member-profile__portal-grid, .knx-member-profile__readonly { grid-template-columns: 1fr; } }
.knx-my-account__nav-list { list-style: none; margin: 0; padding: 0; }
.knx-my-account__sidebar a { align-items: center; display: flex; gap: .65rem; justify-content: flex-start; }
.knx-my-account__nav-icon { align-items: center; display: inline-flex; flex: 0 0 1.35rem; justify-content: center; }
.knx-my-account__nav-item--admin { border-top: 1px solid var(--global-palette7, #d9dee7); margin-top: .5rem; padding-top: .5rem; }
.knx-my-account__sidebar a[aria-current="page"] { border-left: .25rem solid var(--global-palette1, #1f4f8a); padding-left: .5rem; }
.knx-communications-template-library-table .knx-communications-table thead { border-bottom: 1px solid var(--global-palette7, #d9dee7); }
.knx-communications-template-library-table .knx-communications-table tbody tr { border-bottom: 1px solid var(--global-palette8, #edf0f4); }
.knx-communications-template-library-table .knx-communications-table th:first-child, .knx-communications-template-library-table .knx-communications-table td:first-child, .knx-communications-template-library-table .knx-communications-table th:nth-child(3), .knx-communications-template-library-table .knx-communications-table td:nth-child(3) { text-align: center; }
.knx-communications-template-library-table .knx-communications-template-actions, .knx-communications-template-library-table .knx-communications-inline-action { align-items: center; display: inline-flex; gap: .4rem; margin: 0; vertical-align: middle; }
.knx-communications-template-library-table .knx-communications-template-actions { flex-wrap: nowrap; justify-content: center; white-space: nowrap; }
@media (max-width: 767px) { .knx-communications-template-library-table .knx-communications-template-actions { flex-wrap: wrap; white-space: normal; } }
.knx-communications-template-library-table .knx-communications-template-meta { display: none; }
.knx-communications-template-library-table .knx-communications-table th:first-child, .knx-communications-template-library-table .knx-communications-table td:first-child { text-align: left; width: auto; }
.knx-communications-template-library-table .knx-communications-table th:nth-child(2), .knx-communications-template-library-table .knx-communications-table td:nth-child(2) { text-align: center; white-space: nowrap; width: 1%; }
.knx-communications-template-library-table .knx-communications-template-name-trigger { background: transparent; border: 0; color: inherit; cursor: pointer; font: inherit; font-weight: 600; padding: 0; text-align: left; text-decoration: underline; text-underline-offset: .15em; }
.knx-communications-template-library-table .knx-communications-template-name-trigger:focus-visible { outline: 3px solid var(--global-palette1, #177e89); outline-offset: 3px; }
.knx-communications-template-upload form { position: relative; padding-right: 12rem; }
.knx-template-guide-link { align-items: center; background: #f7fafb; border: 1px solid #cddde2; border-radius: .55rem; display: flex; justify-content: center; margin: 0; min-height: 8rem; padding: .8rem; position: absolute; right: 0; text-align: center; top: 0; width: 10rem; }
.knx-template-guide-link a { align-items: center; color: var(--global-palette3, #177e89); display: flex; flex-direction: column; font-size: .9rem; font-weight: 600; gap: .45rem; height: 100%; justify-content: center; text-decoration: none; width: 100%; }
.knx-template-guide-link a::before { align-items: center; background: #fff; border: 2px solid #177e89; border-radius: .2rem; color: #177e89; content: 'PDF'; display: inline-flex; font-size: 1rem; font-weight: 700; height: 3.2rem; justify-content: center; letter-spacing: .04em; width: 2.5rem; }
.knx-template-guide-link:hover { background: #eef7f8; box-shadow: 0 3px 10px rgba(36, 55, 70, .12); transform: translateY(-1px); }
.knx-template-guide-link a:focus-visible { outline: 3px solid var(--global-palette1, #177e89); outline-offset: 3px; }
@media (max-width: 767px) { .knx-communications-template-upload form { padding-right: 0; } .knx-template-guide-link { margin: .25rem 0 1rem; position: static; width: auto; } .knx-template-guide-link a { flex-direction: row; gap: .7rem; } .knx-template-guide-link a::before { height: 2.5rem; width: 2rem; } }
.knx-communications-template-library-table .knx-communications-template-placeholder { align-items: center; background: #f5f8fa; border: 1px solid #cddde2; border-radius: .25rem; display: inline-flex; flex-direction: column; height: 2.5rem; justify-content: center; overflow: hidden; position: relative; text-indent: -9999px; width: 3.5rem; }
.knx-communications-template-library-table .knx-communications-template-placeholder::before { border-bottom: 2px solid #9fb5bf; border-top: 2px solid #9fb5bf; content: ''; height: .35rem; width: 2.2rem; }
.knx-communications-template-library-table .knx-communications-template-placeholder::after { background: #9fb5bf; box-shadow: 0 .35rem 0 #c3d1d6; content: ''; height: 2px; margin-top: .25rem; width: 2.2rem; }
.knx-communications-template-preview-dialog { border: 0; border-radius: .5rem; height: min(85vh, 760px); max-width: min(90vw, 900px); padding: 1.25rem; width: min(90vw, 900px); }
.knx-communications-template-preview-dialog::backdrop { background: rgba(15, 30, 40, .62); }
.knx-communications-template-preview-frame { border: 1px solid #d9e4e8; display: block; height: calc(100% - 5rem); margin: 0 0 1rem; width: 100%; }
.knx-communications-template-meta { display: none !important; }
.knx-communications-template-actions { align-items: center; display: flex !important; flex-direction: row !important; flex-wrap: nowrap; gap: .4rem; justify-content: center; white-space: nowrap; }
.knx-communications-template-actions .knx-communications-inline-action { display: inline-flex !important; flex: 0 0 auto; margin: 0; }
.knx-communications-template-preview-dialog[open] { align-items: stretch; display: flex; flex-direction: column; inset: 5vh 5vw; margin: auto; position: fixed; z-index: 100000; }
.knx-communications-template-preview-dialog[open]::backdrop { background: rgba(15, 30, 40, .68); }
.knx-communications-template-preview-dialog[open] { background: #e5e7eb; padding: 1rem; }
.knx-communications-template-preview-header { align-items: center; display: flex; justify-content: space-between; margin-bottom: .75rem; }
.knx-communications-template-preview-header h2 { margin: 0; }
.knx-communications-template-preview-close { align-items: center; background: #f3f4f6; border: 1px solid #c5cbd3; border-radius: .35rem; color: #243746; cursor: pointer; display: inline-flex; font-size: 26px; font-weight: 700; height: 42px; justify-content: center; line-height: 1; width: 42px; }
.knx-communications-template-preview-close:hover { background: #fff; box-shadow: 0 1px 3px rgba(36, 55, 70, .16); }
.knx-communications-template-preview-close:focus-visible { background: #fff; outline: 3px solid #177e89; outline-offset: 2px; }
.knx-communications-template-preview-header form, .knx-communications-template-preview-footer form { margin: 0; }
.knx-communications-template-preview-footer { align-items: center; display: flex; justify-content: space-between; gap: .75rem; }
.knx-communications-template-preview-edit, .knx-communications-template-preview-send { border: 0; border-radius: .35rem; cursor: pointer; font-weight: 700; min-height: 42px; padding: .65rem 1.25rem; }
.knx-communications-template-preview-edit { background: #1769aa; color: #fff; }
.knx-communications-template-preview-edit:hover, .knx-communications-template-preview-edit:focus-visible { background: #0f4f82; color: #fff; }
.knx-communications-template-preview-send { background: #177e89; color: #fff; cursor: pointer; }
.knx-communications-template-preview-send:hover, .knx-communications-template-preview-send:focus-visible { background: #11616a; color: #fff; }
.knx-communications-history-table-wrap { max-width: 100%; overflow-x: auto; }
.knx-communications-history-table-wrap .knx-communications-table { min-width: 720px; }
.knx-communications-history-table { table-layout: fixed; }
.knx-communications-history-table { table-layout: auto; }
.knx-communications-history-table th, .knx-communications-history-table td { padding-left: .75rem; padding-right: .75rem; }
.knx-communications-history-table th:first-child, .knx-communications-history-table td:first-child { min-width: 112px; }
.knx-communications-history-table th:nth-child(2), .knx-communications-history-table td:nth-child(2) { min-width: 180px; padding-left: 1rem; }
.knx-communications-history-table thead th { border-bottom: 1px solid #cbd5dc; }
.knx-communications-history-table th:nth-child(1), .knx-communications-history-table td:nth-child(1) { width: 10%; white-space: nowrap; }
.knx-communications-history-table th:nth-child(2), .knx-communications-history-table td:nth-child(2) { width: 29%; }
.knx-communications-history-table th:nth-child(3), .knx-communications-history-table td:nth-child(3) { width: 25%; }
.knx-communications-history-table th:nth-child(4), .knx-communications-history-table td:nth-child(4) { width: 14%; white-space: nowrap; }
.knx-communications-history-table th:nth-child(5), .knx-communications-history-table td:nth-child(5) { width: 17%; white-space: nowrap; }
.knx-communications-history-table th:nth-child(6), .knx-communications-history-table td:nth-child(6) { width: 5%; }
.knx-communications-history-status { white-space: nowrap; }
.knx-communications-history-view { background: #eef2f5; border: 1px solid #9aaab6; border-radius: .35rem; color: #243746; cursor: pointer; padding: .35rem .65rem; }
.knx-communications-history-view:hover, .knx-communications-history-view:focus-visible { background: #dce8ef; }
.knx-communications-history-delete-form { display: inline; margin-left: .35rem; }
.knx-communications-history-actions { align-items: center; display: flex; gap: 6px; white-space: nowrap; }
.knx-communications-history-actions form { margin: 0; }
.knx-communications-history-actions .knx-communications-history-delete-form { margin-left: 0; }
.knx-communications-history-delete { background: #fff1f0; border: 1px solid #c94b45; border-radius: .35rem; color: #a12622; cursor: pointer; padding: .35rem .65rem; }
.knx-communications-history-delete:hover, .knx-communications-history-delete:focus-visible { background: #fbd8d5; }
.knx-communications-history-detail { background: #f7fafb; border: 1px solid #dce5e9; border-radius: .5rem; display: grid; gap: .55rem 1rem; grid-template-columns: minmax(8rem, auto) 1fr; margin: 0 0 1.15rem; padding: .85rem 1rem; }
.knx-communications-history-detail dt { color: #61727d; font-size: .78rem; font-weight: 700; }
.knx-communications-history-detail dd { margin: 0; }
.knx-communications-history-detail .knx-communications-history-status { background: #eef2f5; border: 1px solid #c5d0d6; border-radius: 999px; display: inline-block; font-size: .82rem; padding: .18rem .55rem; }
.knx-communications-history-view, .knx-communications-history-delete { align-items: center; display: inline-flex; font-size: 1.05rem; height: 34px; justify-content: center; line-height: 1; padding: .35rem; width: 34px; }
.knx-communications-history-delete { font-size: 1.28rem; }
@media (max-width: 600px) { .knx-communications-history-detail { grid-template-columns: 1fr; gap: .2rem; } .knx-communications-history-detail dd { margin-bottom: .45rem; } }
.knx-communications-signature-control { align-items: center; display: flex; gap: .5rem; }
.knx-communications-signature-control input { flex: 1 1 auto; min-width: 0; }
.knx-communications-signature-toggle { background: #eef2f5; border: 1px solid #9aaab6; border-radius: .35rem; color: #243746; cursor: pointer; font-weight: 600; padding: .5rem .8rem; }
.knx-communications-signature-toggle:hover, .knx-communications-signature-toggle:focus-visible { background: #dce8ef; }
.knx-communications-signature-toggle.is-saving { background: #177e89; border-color: #177e89; color: #fff; }
.knx-communications-signature-error { color: #a12622; display: block; margin-top: .25rem; }
@media (max-width: 767px) { .knx-communications-signature-control { align-items: stretch; flex-wrap: wrap; } .knx-communications-signature-control input { flex-basis: 100%; } }
.knx-communications-template-preview-frame { background: #fff; box-shadow: 0 1px 4px rgba(36, 55, 70, .12); }
@media (max-width: 767px) { .knx-communications-template-actions { flex-wrap: wrap; white-space: normal; } .knx-communications-template-preview-dialog[open] { inset: 3vh 3vw; } }
.knx-communications-system-emails__table-wrap{overflow-x:auto}.knx-communications-system-emails__table{min-width:640px}.knx-communications-system-email-edit{border:0;background:transparent;color:inherit;cursor:pointer;font-size:1.1rem;line-height:1;padding:.25rem}.knx-communications-system-email-edit:focus{outline:2px solid currentColor;outline-offset:2px}
.knx-communications-system-emails__table thead{border-bottom:1px solid rgba(0,0,0,.16)}.knx-communications-system-email-edit{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid currentColor;border-radius:4px}.knx-communications-system-email-edit:hover{background:rgba(0,0,0,.06)}.knx-communications-system-email-dialog{box-sizing:border-box;width:720px;height:620px;max-width:min(960px,calc(100vw - 2rem));max-height:calc(100vh - 2rem);min-width:320px;min-height:240px;overflow:auto;resize:both}.knx-communications-system-email-dialog[open]{background:#f7fafb;border:1px solid #cbd5dc;border-radius:.65rem;box-shadow:0 12px 32px rgba(36,55,70,.18);padding:1.25rem}.knx-communications-system-email-editor{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.knx-communications-system-email-editor__group{background:#fff;border:1px solid #dce5e9;border-radius:.45rem;margin:0 0 .9rem;padding:.85rem 1rem}.knx-communications-system-email-editor__field{display:flex;gap:.65rem;align-items:center;min-width:0}.knx-communications-system-email-editor__field input,.knx-communications-system-email-editor__field textarea{box-sizing:border-box;flex:1 1 auto;min-width:0;max-width:100%}.knx-communications-system-email-editor__field button{flex:0 0 auto;min-width:5.5rem;white-space:nowrap}.knx-communications-system-email-editor label{color:#435866;display:block;font-size:.86rem;font-weight:700;margin-bottom:.45rem}.knx-communications-system-email-editor textarea{box-sizing:border-box;width:100%;max-width:100%;min-width:0;resize:vertical}.knx-communications-system-email-editor select{box-sizing:border-box;width:100%;max-width:100%;min-width:0}.knx-communications-system-email-dialog .knx-communications-template-preview-close:hover,.knx-communications-system-email-dialog .knx-communications-template-preview-close:focus-visible{background:#dce8ef;box-shadow:0 1px 3px rgba(36,55,70,.16)}
.knx-lead-export .button { background: var(--global-palette1, #1f4f8a); border: 0; border-radius: .35rem; color: #fff; cursor: pointer; display: inline-block; font-weight: 700; padding: .65rem 1rem; text-decoration: none; }
.knx-lead-export .button:hover, .knx-lead-export .button:focus { background: var(--global-palette2, #163b68); color: #fff; }
.knx-lead-detail-form__grid { display: grid; gap: .4rem .8rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.knx-lead-detail-form__grid p { margin: .35rem 0; }
@media (max-width: 767px) { .knx-lead-detail-form__grid { grid-template-columns: 1fr; } }
.knx-lead-detail { background: #fff; border-radius: 12px; box-shadow: 0 1rem 3rem rgba(25,45,75,.18); max-height: 90vh; max-width: 70rem; overflow-y: auto; padding: 1.75rem; position: relative; width: 100%; }
.knx-lead-detail__title { color: #24344d; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0; }
.knx-lead-detail__accent { background: linear-gradient(90deg,#20a83a 0 50%,#165dcc 50%); height: 3px; margin: .75rem 0 1rem; width: 125px; }
.knx-lead-detail__meta { color: #53627a; font-size: .9rem; margin-bottom: 1rem; }
.knx-lead-detail__notice { margin-bottom: 1rem; }
.knx-lead-detail__grid { column-gap: 20px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 14px; }
.knx-lead-detail__field { min-width: 0; }
.knx-lead-detail__label { align-items: center; color: #1658b9; display: flex; font-size: .86rem; font-weight: 600; gap: .45rem; margin-bottom: 5px; }
.knx-lead-detail__label-icon { color: #20a83a; flex: 0 0 18px; height: 18px; width: 18px; }
.knx-lead-detail__control { background: #fff; border: 1px solid #d5dce6; border-radius: 6px; box-sizing: border-box; color: #334155; display: block; min-height: 38px; padding: .5rem .7rem; width: 100%; }
.knx-lead-detail__control:focus { border-color: #165dcc; box-shadow: 0 0 0 2px rgba(22,93,204,.15); outline: 0; }
.knx-lead-detail__readonly .knx-lead-detail__control { background: #f8fafc; }
.knx-lead-detail__footer { border-top: 1px solid #dfe5ed; display: flex; justify-content: flex-end; margin-top: 1.25rem; padding-top: 1rem; }
.knx-lead-detail__save { align-items: center; background: linear-gradient(90deg,#20a83a,#165dcc); border: 0; border-radius: 6px; color: #fff; display: inline-flex; gap: .5rem; justify-content: center; min-height: 42px; min-width: min(100%,32rem); padding: .65rem 1.5rem; }
.knx-lead-detail__save .knx-lead-detail__label-icon { color: #fff; }
@media (max-width: 767px) { .knx-lead-detail { padding: 1.25rem; } .knx-lead-detail__grid { grid-template-columns: 1fr; } .knx-lead-detail__footer { justify-content: stretch; } .knx-lead-detail__save { width: 100%; } }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-my-account-member-list__dialog { border-radius: 12px; max-width: 70rem; padding: 1.75rem; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-my-account-member-list__dialog h3 { color: #24344d; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; margin: 0 0 1.25rem; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-my-account-member-list__dialog h3::after { background: linear-gradient(90deg, #20a83a 0 50%, #165dcc 50% 100%); content: ''; display: block; height: 3px; margin-top: .75rem; width: 125px; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form { display: block; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form__grid { gap: .7rem 1.25rem; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form__grid p { margin: 0; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form label { color: #1658b9; font-size: .86rem; font-weight: 600; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form input, .knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form select { background: #fff; border: 1px solid #d5dce6; border-radius: 6px; box-shadow: 0 1px 3px rgba(36,52,77,.08); min-height: 2.35rem; padding: .5rem .7rem; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form button.knx-registration-submit { background: linear-gradient(90deg, #20a83a, #165dcc); border: 0; border-radius: 6px; color: #fff; display: block; font-weight: 700; margin: 1.25rem 0 0 auto; min-height: 2.75rem; padding: .65rem 2rem; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-readonly-date { color: #53627a; font-size: .9rem; margin: 0 0 .75rem; }
.knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-readonly-date strong { margin-right: .5rem; }
@media (max-width: 767px) { .knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-my-account-member-list__dialog { padding: 1.25rem; } .knx-my-account-member-list__modal[id^="knx-lead-detail-"] .knx-lead-detail-form button.knx-registration-submit { width: 100%; } }
.knx-my-account-member-list__dialog form { display: grid; gap: .65rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.knx-my-account-member-list__dialog .knx-member-profile__readonly { display: grid; gap: .65rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.knx-my-account-member-list__dialog .knx-member-profile__readonly > div:last-child { grid-column: 1 / -1; }
.knx-my-account-member-list__dialog form p { margin: 0; }
.knx-my-account-member-list__dialog form p:nth-of-type(9) { grid-column: 1 / -1; }
.knx-my-account-member-list__dialog form input[type="hidden"], .knx-my-account-member-list__dialog form ._wpnonce { display: none; }
@media (max-width: 767px) { .knx-my-account-member-list__dialog form, .knx-my-account-member-list__dialog .knx-member-profile__readonly { grid-template-columns: 1fr; } .knx-my-account-member-list__dialog .knx-member-profile__readonly > div:last-child { grid-column: auto; } }
