.system-showcase-template-page .system-showcase-library-notice {
    align-items: center;
    background: var(--evosoft-admin-warning-soft);
    border: 1px solid #fde68a;
    border-radius: var(--evosoft-admin-radius);
    color: var(--evosoft-admin-warning);
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--evosoft-admin-page-gap);
    padding: 12px 14px;
}

.system-showcase-template-page .system-showcase-library-notice > div {
    display: grid;
    gap: 3px;
}

.system-showcase-template-page .system-showcase-library-notice span {
    font-size: 13px;
}

:is(
    .system-showcase-template-create-dialog,
    .system-showcase-template-dialog,
    .system-showcase-delete-draft-dialog,
    .system-showcase-publish-preflight-dialog
) .system-showcase-message {
    border-radius: var(--evosoft-admin-radius);
    margin-bottom: 12px;
    padding: 10px 12px;
}

:is(
    .system-showcase-template-create-dialog,
    .system-showcase-template-dialog,
    .system-showcase-delete-draft-dialog,
    .system-showcase-publish-preflight-dialog
) .system-showcase-message--error {
    background: var(--evosoft-admin-danger-soft);
    border: 1px solid #fecaca;
    color: var(--evosoft-admin-danger);
}

.system-showcase-template-dialog .system-showcase-form-grid {
    display: grid;
    gap: var(--evosoft-admin-form-gap);
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-showcase-template-dialog .system-showcase-version-workspace {
    display: grid;
    gap: var(--evosoft-admin-page-gap);
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-version-commandbar {
    align-items: flex-end;
    display: flex;
    gap: var(--evosoft-admin-form-gap);
    justify-content: space-between;
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-version-picker {
    align-items: flex-end;
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-version-picker .admin-form-field {
    max-width: 320px;
    min-width: 220px;
    width: 100%;
}

.system-showcase-template-dialog .system-showcase-version-manage-button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.system-showcase-template-dialog .system-showcase-version-editor__toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.system-showcase-template-dialog .system-showcase-version-editor__toolbar > .e-btn {
    white-space: nowrap;
}

.system-showcase-template-dialog .system-showcase-version-context {
    border-top: 1px solid var(--evosoft-admin-border);
    padding-top: var(--evosoft-admin-section-gap);
}

.system-showcase-template-dialog .system-showcase-version-context__title {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.system-showcase-version-manager-dialog .system-showcase-version-manager-empty {
    color: var(--evosoft-admin-text-secondary);
    padding: 8px 0;
}

.system-showcase-version-manager-dialog .system-showcase-version-usage {
    display: grid;
    gap: 2px;
}

.system-showcase-version-manager-dialog .system-showcase-version-usage small {
    color: var(--evosoft-admin-text-secondary);
}

.system-showcase-version-manager-dialog .system-showcase-version-row-actions {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.system-showcase-version-manager-dialog .system-showcase-version-row-actions > .e-btn {
    white-space: nowrap;
}

.system-showcase-template-dialog .system-showcase-html-field {
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-html-field__header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.system-showcase-template-dialog .system-showcase-html-field__header > label {
    margin: 0;
}

.system-showcase-template-dialog .system-showcase-html-field__actions {
    align-items: center;
    display: flex;
    gap: 8px;
}

body:has(.admin-layout) .e-dialog.system-showcase-html-editor-dialog > .e-dlg-content {
    display: flex;
    overflow: hidden;
}

.system-showcase-html-editor-dialog .system-showcase-html-editor-dialog__body {
    display: grid;
    flex: 1 1 auto;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
}

.system-showcase-html-editor-dialog .validation-message {
    padding-top: 6px;
}

.system-showcase-template-dialog .system-showcase-parameters {
    border-top: 1px solid var(--evosoft-admin-border);
    display: grid;
    gap: var(--evosoft-admin-section-gap);
    padding-top: var(--evosoft-admin-section-gap);
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-parameters__head,
.system-showcase-template-dialog .system-showcase-parameter-commands {
    align-items: center;
    display: flex;
}

.system-showcase-template-dialog .system-showcase-parameters__head {
    gap: 16px;
    justify-content: space-between;
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-parameter-tabs {
    flex: 1 1 auto;
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-parameter-commands {
    flex: 0 0 auto;
    gap: 8px;
    margin-left: auto;
}

.system-showcase-template-dialog .system-showcase-parameter-search {
    flex: 0 0 260px;
    width: 260px;
}

.system-showcase-template-dialog .system-showcase-token-list {
    border: 1px solid var(--evosoft-admin-border);
    border-radius: var(--evosoft-admin-radius);
    max-height: 320px;
    overflow: auto;
    padding: 8px;
}

.system-showcase-template-dialog .system-showcase-token-row {
    align-items: center;
    border-bottom: 1px solid var(--evosoft-admin-border);
    display: flex;
    gap: 8px;
    justify-content: space-between;
    padding: 7px 8px;
}

.system-showcase-template-dialog .system-showcase-token-row:last-child {
    border-bottom: 0;
}

.system-showcase-template-dialog .system-showcase-token-row:hover {
    background: var(--evosoft-admin-surface-muted);
}

.system-showcase-template-dialog .system-showcase-token-row code {
    color: var(--evosoft-admin-neutral);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.system-showcase-template-dialog .system-showcase-token-actions,
.system-showcase-template-dialog .system-showcase-custom-fields__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

.system-showcase-template-dialog .system-showcase-custom-fields__actions {
    flex-wrap: nowrap;
}

.system-showcase-template-dialog .system-showcase-custom-fields__table {
    overflow-x: auto;
}

.system-showcase-template-dialog .system-showcase-custom-fields__table table {
    border-collapse: collapse;
    min-width: 760px;
    width: 100%;
}

.system-showcase-template-dialog .system-showcase-custom-fields__table th,
.system-showcase-template-dialog .system-showcase-custom-fields__table td {
    border-bottom: 1px solid var(--evosoft-admin-border);
    padding: var(--evosoft-admin-grid-cell-padding-y) var(--evosoft-admin-grid-cell-padding-x);
    text-align: left;
    vertical-align: middle;
}

.system-showcase-template-dialog .system-showcase-custom-fields__table th:last-child,
.system-showcase-template-dialog .system-showcase-custom-fields__table td:last-child {
    text-align: left;
}

.system-showcase-template-dialog .system-showcase-empty-state {
    color: var(--evosoft-admin-text-secondary);
    padding: 16px 0;
}

.system-showcase-template-dialog .system-showcase-prerequisite {
    display: grid;
    gap: 4px;
}

.system-showcase-template-dialog .system-showcase-prerequisite strong {
    color: var(--evosoft-admin-text);
}

.system-showcase-template-dialog .system-showcase-readiness {
    border: 1px solid var(--evosoft-admin-border);
    border-radius: var(--evosoft-admin-radius);
    display: grid;
    gap: 8px;
    padding: 10px 12px;
}

.system-showcase-template-dialog .system-showcase-readiness > div {
    display: grid;
    gap: 3px;
}

.system-showcase-template-dialog .system-showcase-readiness span,
.system-showcase-template-dialog .system-showcase-readiness li {
    font-size: 13px;
}

.system-showcase-template-dialog .system-showcase-readiness ul,
.system-showcase-publish-preflight-dialog ul {
    margin: 0;
    padding-left: 18px;
}

.system-showcase-template-dialog .system-showcase-readiness--success {
    background: var(--evosoft-admin-success-soft);
    border-color: #bbf7d0;
    color: var(--evosoft-admin-success);
}

.system-showcase-template-dialog .system-showcase-readiness--info {
    background: var(--evosoft-admin-info-soft);
    border-color: #bfdbfe;
    color: var(--evosoft-admin-info);
}

.system-showcase-template-dialog .system-showcase-readiness--warning {
    background: var(--evosoft-admin-warning-soft);
    border-color: #fde68a;
    color: var(--evosoft-admin-warning);
}

.system-showcase-template-dialog .system-showcase-readiness--error {
    background: var(--evosoft-admin-danger-soft);
    border-color: #fecaca;
    color: var(--evosoft-admin-danger);
}

.system-showcase-readiness-text--success {
    color: var(--evosoft-admin-success);
}

.system-showcase-readiness-text--info {
    color: var(--evosoft-admin-info);
}

.system-showcase-readiness-text--warning {
    color: var(--evosoft-admin-warning);
}

.system-showcase-publish-preflight-dialog .system-showcase-publish-preflight__summary {
    display: grid;
    gap: 4px;
}

.system-showcase-publish-preflight-dialog .system-showcase-publish-preflight__summary span {
    color: var(--evosoft-admin-text-secondary);
    font-size: 13px;
}

.system-showcase-publish-preflight-dialog .system-showcase-preflight-check {
    align-items: center;
    display: flex;
    gap: 8px;
}

.system-showcase-publish-preflight-dialog .system-showcase-preflight-check.is-success {
    color: var(--evosoft-admin-success);
}

.system-showcase-publish-preflight-dialog .system-showcase-preflight-check.is-error {
    color: var(--evosoft-admin-danger);
}

.system-showcase-publish-preflight-dialog .system-showcase-message {
    margin-bottom: 0;
}

.system-showcase-publish-preflight-dialog .system-showcase-message--warning {
    background: var(--evosoft-admin-warning-soft);
    border: 1px solid #fde68a;
    color: var(--evosoft-admin-warning);
}

.system-showcase-template-dialog .system-showcase-compatibility-header {
    align-items: flex-start;
    display: flex;
    gap: var(--evosoft-admin-page-gap);
    justify-content: space-between;
}

.system-showcase-template-dialog .system-showcase-compatibility-editor {
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-compatibility-picker {
    flex: 1 1 auto;
    min-width: 0;
}

.system-showcase-template-dialog .system-showcase-compatibility-picker :is(
    .e-multiselect.e-input-group,
    .e-multiselect.e-control-wrapper
) {
    min-height: var(--evosoft-admin-control-height);
}

.system-showcase-template-dialog .system-showcase-compatibility-picker .e-multi-select-wrapper {
    align-items: center;
    display: flex;
    min-height: calc(var(--evosoft-admin-control-height) - 2px);
}

.system-showcase-template-dialog .system-showcase-compatibility-picker .e-delim-values,
.system-showcase-template-dialog .system-showcase-compatibility-picker input.e-dropdownbase {
    line-height: calc(var(--evosoft-admin-control-height) - 2px);
    padding-bottom: 0;
    padding-top: 0;
}

.system-showcase-template-dialog .system-showcase-compatibility-list {
    display: grid;
    gap: 8px;
}

.system-showcase-template-dialog .system-showcase-compatibility-list > div {
    align-items: center;
    border-bottom: 1px solid var(--evosoft-admin-border);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 10px 0;
}

.system-showcase-template-dialog .system-showcase-compatibility-list > div > div {
    display: grid;
    gap: 3px;
}

.system-showcase-template-dialog .system-showcase-compatibility-status {
    align-items: end;
    display: grid;
    gap: 4px;
    justify-items: end;
    max-width: 320px;
    text-align: right;
}

.system-showcase-template-dialog .system-showcase-compatibility-status small {
    color: var(--evosoft-admin-text-secondary);
    font-size: 12px;
    line-height: 16px;
}

.system-showcase-template-dialog .system-showcase-compatibility-list > div:last-child {
    border-bottom: 0;
}

.system-showcase-template-dialog .system-showcase-compatibility-footer {
    border-top: 1px solid var(--evosoft-admin-border);
    display: flex;
    justify-content: flex-end;
    padding-top: var(--evosoft-admin-form-gap);
}

.system-showcase-template-dialog .system-showcase-usage-cards {
    display: grid;
    gap: var(--evosoft-admin-section-gap);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: var(--evosoft-admin-form-gap);
}

.system-showcase-template-dialog .system-showcase-usage-cards > div {
    background: var(--evosoft-admin-surface-muted);
    border: 1px solid var(--evosoft-admin-border);
    border-radius: var(--evosoft-admin-radius);
    display: grid;
    gap: 6px;
    padding: var(--evosoft-admin-section-padding);
}

.system-showcase-template-dialog .system-showcase-usage-cards > div > span,
.system-showcase-template-dialog .system-showcase-usage-cards > div > small {
    color: var(--evosoft-admin-text-secondary);
}

.system-showcase-template-dialog .system-showcase-usage-cards > div > span {
    font-size: 13px;
    font-weight: 600;
}

.system-showcase-template-dialog .system-showcase-usage-cards > div > small {
    font-size: 12px;
}

.system-showcase-template-dialog .system-showcase-usage-card__value {
    align-items: baseline;
    display: flex;
    gap: 6px;
}

.system-showcase-template-dialog .system-showcase-usage-card__value strong {
    color: var(--evosoft-admin-text);
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
}

.system-showcase-template-dialog .system-showcase-usage-card__value span {
    color: var(--evosoft-admin-text);
    font-size: 14px;
}

@media (max-width: 769px) {
    .system-showcase-template-dialog .system-showcase-form-grid,
    .system-showcase-template-dialog .system-showcase-usage-cards {
        grid-template-columns: 1fr;
    }

    .system-showcase-template-dialog .system-showcase-token-list {
        max-height: 240px;
    }

    .system-showcase-template-dialog .system-showcase-version-commandbar,
    .system-showcase-template-dialog .system-showcase-version-picker,
    .system-showcase-template-dialog .system-showcase-parameters__head,
    .system-showcase-template-dialog .system-showcase-compatibility-header,
    .system-showcase-template-page .system-showcase-library-notice {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
    }

    .system-showcase-template-dialog .system-showcase-parameter-tabs {
        flex-basis: auto;
        width: 100%;
    }

    .system-showcase-template-dialog .system-showcase-parameter-commands {
        flex-wrap: wrap;
        margin-left: 0;
        width: 100%;
    }

    .system-showcase-template-dialog .system-showcase-version-editor__toolbar {
        align-self: flex-start;
        justify-content: flex-start;
    }

    .system-showcase-template-dialog .system-showcase-version-manage-button {
        align-self: flex-start;
    }

    .system-showcase-template-dialog .system-showcase-version-picker .admin-form-field {
        flex: 0 0 auto;
        max-width: none;
        min-width: 0;
        width: auto;
    }

    .system-showcase-template-dialog .system-showcase-parameter-search {
        flex: 1 1 240px;
        max-width: none;
        width: auto;
    }

    .system-showcase-template-dialog .system-showcase-add-parameter {
        align-self: center;
        flex: 0 0 auto;
    }

}

.system-showcase-template-dialog .system-showcase-source-comparison pre { max-height: 240px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; margin-top: var(--evosoft-admin-form-gap); }

/* Component authoring: shared dialog geometry, feature-owned information layout. */
.system-showcase-template-dialog .system-showcase-metadata-form {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: stretch;
}
.system-showcase-template-dialog .system-showcase-metadata-form > section { min-width: 0; }
.system-showcase-template-dialog .system-component-lifecycle {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--evosoft-admin-form-gap);
}
.system-showcase-template-dialog .system-component-lifecycle__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.system-showcase-template-dialog .system-component-identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: var(--evosoft-admin-section-padding);
    background: #fff;
    border: 1px solid var(--evosoft-admin-border);
    border-left: 3px solid var(--evosoft-admin-primary);
    border-radius: var(--evosoft-admin-radius);
    margin-bottom: var(--evosoft-admin-section-gap);
}
.system-showcase-template-dialog .system-component-identity__main { display: grid; gap: 4px; flex: 1; min-width: 0; }
.system-showcase-template-dialog .system-component-identity__main > strong { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.system-showcase-template-dialog .system-component-identity__main > span,
.system-showcase-template-dialog .system-component-locations,
:is(.system-showcase-template-create-dialog, .system-showcase-template-dialog, .system-showcase-custom-field-dialog) .system-component-helper,
:is(.system-showcase-version-manager-dialog, .system-showcase-html-editor-dialog) .system-component-dialog-context > span,
.system-showcase-html-editor-dialog .system-component-code-context > span {
    color: var(--evosoft-admin-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}
.system-showcase-template-dialog .system-component-identity code { color: inherit; overflow-wrap: anywhere; }
.system-showcase-template-dialog .system-component-locations { width: 100%; border-top: 1px solid var(--evosoft-admin-border); padding-top: 8px; }
.system-showcase-template-dialog .system-component-locations > summary { cursor: pointer; color: var(--evosoft-admin-primary); }
.system-showcase-template-dialog .system-component-locations > div { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; }
.system-showcase-template-dialog .system-component-locations small { overflow-wrap: anywhere; }
.system-showcase-template-dialog .system-component-locations p { margin: 8px 0 0; }
.system-showcase-template-dialog .system-component-save-state { margin-right: auto; font-size: 12px; color: var(--evosoft-admin-text-secondary); }
:is(.system-showcase-template-create-dialog, .system-showcase-template-dialog, .system-showcase-custom-field-dialog) .system-component-helper { margin: 0 0 var(--evosoft-admin-form-gap); }
.system-showcase-template-create-dialog form > .system-component-helper { margin: 0; }
.system-showcase-version-manager-dialog .system-component-dialog-context { display: grid; gap: 4px; margin-bottom: var(--evosoft-admin-section-gap); }
.system-showcase-html-editor-dialog .system-component-code-context { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; padding-bottom: 12px; }
.system-component-source-dialog .system-component-review-summary { margin-bottom: var(--evosoft-admin-section-gap); color: var(--evosoft-admin-text-secondary); font-size: 13px; }
.system-component-source-dialog .system-component-review-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.system-component-source-dialog .system-component-review-heading .admin-edit-section-heading { min-width: 0; overflow-wrap: anywhere; }
.system-component-source-dialog .system-showcase-source-comparison { border-top: 1px solid var(--evosoft-admin-border); margin-top: 12px; padding-top: 12px; }
.system-component-source-dialog .system-showcase-source-comparison summary { cursor: pointer; color: var(--evosoft-admin-primary); }
.system-component-source-dialog .system-showcase-source-comparison pre { background: var(--evosoft-admin-surface-muted); border: 1px solid var(--evosoft-admin-border); border-radius: var(--evosoft-admin-radius); padding: 12px; font-size: 12px; }
.system-showcase-publish-preflight-dialog .system-showcase-preflight-check { border-bottom: 1px solid var(--evosoft-admin-border); padding-bottom: 12px; }
.system-showcase-publish-preflight-dialog .system-showcase-publish-preflight__summary { border-left: 3px solid var(--evosoft-admin-primary); padding-left: 12px; }
/* Preview is a bounded canvas: only the iframe scrolls, as with article previews. */
body:has(.admin-layout) .e-dialog.system-component-preview-dialog > .e-dlg-content { display: flex; overflow: hidden; }
.system-component-preview-dialog .system-component-preview-template { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 300px; max-width: 420px; }
.system-component-preview-dialog .system-component-preview-template label { flex: 0 0 auto; font-size: 13px; color: var(--evosoft-admin-text-secondary); }
.system-component-preview-dialog .system-component-preview-caption { font-size: 12px; color: var(--evosoft-admin-text-secondary); flex: 1 1 240px; }
.system-component-preview-dialog .system-component-preview-stage { background: var(--evosoft-admin-neutral-soft); }
.system-component-preview-dialog .system-component-preview-stage--tablet .admin-preview-viewport { width: 768px; }
.system-component-preview-dialog .admin-preview-note { grid-template-columns: minmax(0, 1fr); }
.system-component-preview-dialog .admin-preview-note__detail { grid-column: auto; }
@media (max-width: 800px) {
    .system-showcase-template-dialog .system-showcase-metadata-form { grid-template-columns: minmax(0, 1fr); }
    .system-showcase-template-dialog .system-component-lifecycle { flex-direction: column; align-items: start; }
    .system-showcase-template-dialog .system-component-save-state { display: none; }
    .system-component-preview-dialog .system-component-preview-template { max-width: none; }
}
@media (max-width: 480px) {
    .system-showcase-template-dialog .system-component-identity { align-items: start; }
    .system-showcase-template-dialog .system-component-identity__main { flex-basis: 100%; }
    .system-component-source-dialog .system-component-review-heading { flex-direction: column; }
    .system-showcase-template-dialog .system-showcase-html-field__header { flex-wrap: wrap; }
    .system-showcase-template-dialog .system-showcase-compatibility-list > div { align-items: start; flex-direction: column; gap: 8px; }
    .system-showcase-template-dialog .system-showcase-compatibility-status { justify-items: start; text-align: left; }
}

body:has(.admin-layout) .e-dialog.system-showcase-template-dialog .admin-image-editor--stacked { display: grid; grid-template-columns: minmax(0, 1fr); }
body:has(.admin-layout) .e-dialog.system-showcase-template-dialog .admin-image-editor--stacked .admin-image-preview { width: 100%; height: auto; aspect-ratio: 16 / 9; }
body:has(.admin-layout) .e-dialog.system-showcase-template-dialog .admin-image-editor--stacked .admin-image-controls { width: 100%; }

/* Private, ordered website preview from the component library. */
.system-component-selection { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; }
.system-component-selection small { color: var(--evosoft-admin-text-secondary); }
.system-component-website-preview__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 28px; }
.system-component-website-preview__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; height: 100%; min-height: 0; }
.system-component-website-preview__settings { display: flex; flex-direction: column; gap: 12px; overflow: auto; min-height: 0; padding: 16px; border: 1px solid var(--evosoft-admin-border); border-radius: 4px; background: var(--evosoft-admin-surface); }
.system-component-website-preview__settings > label { font-weight: 600; margin: 0; }
.system-component-website-preview__settings small { display: block; color: var(--evosoft-admin-text-secondary); }
.system-component-website-preview__list-heading { display: flex; justify-content: space-between; gap: 12px; }
.system-component-website-preview__order { list-style: none; padding: 0; margin: 0; }
.system-component-website-preview__order li { display: grid; grid-template-columns: 22px minmax(0, 1fr) 30px; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--evosoft-admin-border); }
.system-component-website-preview__order strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.system-component-website-preview__number { color: var(--evosoft-admin-text-secondary); }
.system-component-website-preview__move { display: flex; flex-direction: column; gap: 4px; }
.system-component-website-preview .admin-preview-workspace { min-width: 0; }
@media (max-width: 991px) {
    .system-component-website-preview__layout { grid-template-columns: 1fr; height: auto; }
    .system-component-website-preview__settings { max-height: 240px; }
    .system-component-website-preview .admin-preview-stage { min-height: 480px; }
}
@media (max-width: 575px) {
    .system-component-selection { gap: 8px; }
    .system-component-selection small { width: 100%; }
    .system-component-website-preview__header { flex-wrap: wrap; gap: 8px; }
}

body:has(.admin-layout) .e-dialog.system-component-website-preview > .e-dlg-content { display: flex; overflow: hidden; }
.system-component-website-preview__layout { flex: 1; }
.system-component-website-preview .admin-preview-note { grid-template-columns: minmax(0, 1fr); }
.system-component-website-preview .admin-preview-note__detail { grid-column: auto; }
.system-component-website-preview .system-component-preview-stage--tablet .admin-preview-viewport { width: 768px; }
@media (max-width: 991px) {
    body:has(.admin-layout) .e-dialog.system-component-website-preview > .e-dlg-content { display: block; overflow: auto; }
    .system-component-website-preview .admin-preview-viewport { height: 480px; }
}
.system-component-website-preview__header > a { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 575px) {
    .system-component-website-preview__header { flex-wrap: nowrap; }
    .system-component-website-preview__open-label { display: none; }
}

.system-component-delete-summary { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.system-component-delete-summary > span { color: var(--evosoft-admin-text-secondary); }
.system-component-delete-list { list-style: none; margin: 12px 0 0; padding: 0; }
.system-component-delete-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 12px; border-top: 1px solid var(--evosoft-admin-border); padding: 14px 0; }
.system-component-delete-identity { min-width: 0; overflow-wrap: anywhere; }
.system-component-delete-identity strong { display: block; font-weight: 600; }
.system-component-delete-list small { display: block; color: var(--evosoft-admin-text-secondary); overflow-wrap: anywhere; }
.system-component-delete-list li > small { grid-column: 1 / -1; }
.system-component-delete-eligible { color: var(--evosoft-admin-success); font-size: 12px; }
.system-component-delete-blocked { color: var(--evosoft-admin-danger); font-size: 12px; }
.system-component-publication-summary { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.system-component-publication-summary > span { color: var(--evosoft-admin-text-secondary); }
.system-component-publication-summary .e-btn { margin-left: auto; }
.system-component-publication-list { list-style: none; margin: 0; padding: 0; }
.system-component-publication-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px 16px; border-top: 1px solid var(--evosoft-admin-border); padding: 14px 0; overflow-wrap: anywhere; }
.system-component-publication-identity { min-width: 0; }
.system-component-publication-identity strong { display: block; font-weight: 600; }
.system-component-publication-list small, .system-component-publication-muted { color: var(--evosoft-admin-text-secondary); }
.system-component-publication-list li > :is(small, p) { grid-column: 1 / -1; margin: 0; }
.system-component-publication-ready { color: var(--evosoft-admin-success); }
.system-component-publication-blocked { color: var(--evosoft-admin-danger); }
.system-component-publication-warning { color: var(--evosoft-admin-warning); }
@media (max-width: 575px) {
    .system-component-delete-list li { grid-template-columns: minmax(0, 1fr); }
    .system-component-publication-list li { grid-template-columns: minmax(0, 1fr); }
}
