.dynamic-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* Mailcow email workspace */
.email-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.email-status-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px;
}

.email-status-card > span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    color: var(--accent, #9b76ff);
    border: 1px solid rgba(139, 92, 246, .28);
    border-radius: 11px;
    background: rgba(139, 92, 246, .12);
}

.email-status-card > div {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.email-status-card small,
.email-status-card em {
    overflow: hidden;
    color: var(--muted, #8293aa);
    font-size: 11px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.email-status-card strong {
    font-size: 18px;
}

.email-connection-strip {
    margin-bottom: 14px;
}

.email-connection-strip a {
    color: #bda8ff;
}

.email-tabs .tab b {
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .12);
    font-size: 10px;
}

.table-subline {
    display: block;
    margin-top: 3px;
    color: var(--muted, #8293aa);
}

.mail-protection-card p,
.migration-card p,
.email-external-card p,
.webmail-portal-card p {
    color: var(--muted, #8293aa);
    line-height: 1.55;
}

.email-external-card,
.webmail-portal-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
}

.email-external-card h2,
.webmail-portal-card h2 {
    margin: 5px 0 8px;
}

.webmail-portal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 14px;
}

@media (max-width: 1100px) {
    .email-status-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .email-status-grid,
    .webmail-portal-grid {
        grid-template-columns: 1fr;
    }

    .email-external-card,
    .webmail-portal-card {
        padding: 18px;
    }
}

/* Security management: real firewall, Fail2ban and allow/block lists. */
body[data-page="security"] .page-actions {
    align-items: center;
    flex-wrap: wrap;
}

.security-last-check {
    display: grid;
    gap: 2px;
    text-align: right;
}

.security-last-check span,
.security-last-check strong {
    display: block;
}

.security-last-check span {
    color: var(--muted);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.security-last-check strong {
    color: var(--text-soft);
    font-size: 9px;
    font-weight: 600;
}

.security-config-warning {
    margin-bottom: 12px;
}

body[data-page="security"] .security-feature-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

body[data-page="security"] .security-feature-card {
    min-height: 148px;
}

.security-feature-value {
    display: block;
    margin: 14px 0 2px;
    color: var(--text);
    font-size: 25px;
    line-height: 1;
}

.security-feature-state {
    font-size: 20px;
}

.security-lists-grid,
.security-detail-grid {
    display: grid;
    gap: 12px;
}

.security-lists-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, 1fr);
    align-items: start;
}

.security-detail-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .8fr);
}

.security-list-card,
.security-events-card,
.security-jails-card {
    min-width: 0;
    overflow: hidden;
}

.security-list-header {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-soft);
}

.security-list-header h2,
.security-list-header p {
    margin: 0;
}

.security-list-header h2 {
    font-size: 12px;
}

.security-list-header p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 8.5px;
}

.security-list-header > .button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.security-list-toolbar {
    display: grid;
    grid-template-columns: minmax(200px, 1fr) 140px;
    gap: 8px;
    padding: 9px 10px;
    border-bottom: 1px solid var(--border-soft);
}

.security-table-search,
.security-source-select {
    width: 100%;
    min-width: 0;
}

.security-source-select select {
    width: 100%;
}

body[data-page="security"] .security-ip-table {
    overflow-x: auto;
}

body[data-page="security"] .security-blacklist-card table {
    min-width: 690px;
}

body[data-page="security"] .security-whitelist-card table {
    min-width: 540px;
}

body[data-page="security"] .security-ip-table th,
body[data-page="security"] .security-ip-table td {
    padding: 9px 10px;
    vertical-align: middle;
}

body[data-page="security"] .security-ip-table td:last-child,
body[data-page="security"] .security-ip-table th:last-child {
    width: 1%;
    white-space: nowrap;
}

.security-cell-main,
.security-cell-sub {
    display: block;
}

.security-cell-main {
    font-size: 8.5px;
    font-weight: 600;
}

.security-cell-sub {
    margin-top: 2px;
    color: var(--muted);
    font-size: 7.5px;
}

.security-empty-state {
    min-height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: var(--muted);
    text-align: center;
}

.security-empty-state .icon {
    width: 20px;
    height: 20px;
    margin-bottom: 2px;
    color: var(--green);
}

.security-empty-state strong,
.security-empty-state span {
    display: block;
}

.security-empty-state strong {
    color: var(--text-soft);
    font-size: 9px;
}

.security-empty-state span {
    font-size: 8px;
}

.security-empty-state.compact {
    min-height: 88px;
    padding: 12px;
}

.security-jail-list {
    padding: 0 14px;
}

.security-jail-list > div:not(.security-empty-state) {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border-soft);
}

.security-jail-list > div:last-child {
    border-bottom: 0;
}

.security-jail-list strong,
.security-jail-list small {
    display: block;
}

.security-jail-list strong {
    font-size: 9px;
}

.security-jail-list small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 7.5px;
}

.security-jail-list b {
    color: var(--text-soft);
    font-size: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.security-filter-hidden {
    display: none !important;
}

body[data-page="security"] .security-tabs {
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(8, 20, 33, .58);
}

body[data-page="security"] .security-tabs .tab {
    min-width: 145px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
    font-size: 9.5px;
    font-weight: 600;
    transition: color .16s ease, border-color .16s ease, background .16s ease;
}

body[data-page="security"] .security-tabs .tab::after {
    display: none;
}

body[data-page="security"] .security-tabs .tab:hover {
    color: var(--text-soft);
    background: rgba(139, 92, 246, .07);
}

body[data-page="security"] .security-tabs .tab.active {
    color: #f5f3ff;
    border-color: rgba(139, 92, 246, .38);
    background: linear-gradient(135deg, rgba(124, 58, 237, .24), rgba(109, 40, 217, .11));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 7px 20px rgba(76, 29, 149, .12);
}

body[data-page="security"] .security-tabs .tab .icon {
    width: 14px;
    height: 14px;
}

body[data-page="security"] .security-tabs .tab b {
    min-width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 999px;
    color: var(--text-soft);
    background: rgba(15, 30, 45, .72);
    font-size: 7.5px;
    font-weight: 700;
}

body[data-page="security"] .security-tabs .tab.active b {
    color: #ddd6fe;
    border-color: rgba(167, 139, 250, .25);
    background: rgba(139, 92, 246, .18);
}

.security-tab-panel.active {
    animation: security-tab-in .16s ease-out;
}

@keyframes security-tab-in {
    from { opacity: .45; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}

.security-service-list {
    padding: 0 14px;
}

.security-service-list > div {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border-soft);
}

.security-service-list > div:last-child {
    border-bottom: 0;
}

.security-service-list > div > span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.security-service-list .icon {
    width: 14px;
    height: 14px;
    color: #a78bfa;
}

.security-service-list strong {
    font-size: 9px;
}

body[data-page="security"] #security-panel-events .security-events-card {
    min-height: 320px;
}

body[data-page="security"] #security-panel-events .security-event-row {
    min-height: 49px;
}

.security-crowdsec-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.security-crowdsec-metrics > .card {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px;
}

.security-crowdsec-metrics span,
.security-crowdsec-metrics strong,
.security-crowdsec-metrics small {
    display: block;
}

.security-crowdsec-metrics span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.security-crowdsec-metrics strong {
    margin: 9px 0 5px;
    font-size: 22px;
    line-height: 1;
}

.security-crowdsec-metrics small {
    color: var(--muted);
    font-size: 7.5px;
}

.security-crowdsec-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
}

.security-crowdsec-grid > .card {
    min-width: 0;
    overflow: hidden;
}

.security-crowdsec-list {
    max-height: 330px;
    padding: 0 14px;
    overflow-y: auto;
}

.security-crowdsec-list > div:not(.security-empty-state) {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--border-soft);
}

.security-crowdsec-list > div:last-child {
    border-bottom: 0;
}

.security-crowdsec-list strong,
.security-crowdsec-list small {
    display: block;
}

.security-crowdsec-list strong {
    font-size: 8.5px;
    overflow-wrap: anywhere;
}

.security-crowdsec-list small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 7px;
    line-height: 1.35;
}

.security-crowdsec-list b {
    color: var(--text-soft);
    font-size: 7.5px;
    font-weight: 600;
    white-space: nowrap;
}

.security-crowdsec-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-top: 1px solid var(--border-soft);
    color: var(--muted);
    font-size: 7.5px;
}

.security-malware-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .85fr);
}

.security-malware-title {
    align-items: center;
    gap: 14px;
}

.security-malware-title > div:first-child span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 7.5px;
}

.security-malware-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.security-malware-list b {
    max-width: 260px;
    overflow-wrap: anywhere;
    text-align: right;
    white-space: normal;
}

.security-malware-list .text-danger {
    color: #fb7185;
}

@media (max-width: 1220px) {
    body[data-page="security"] .security-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .security-lists-grid,
    .security-detail-grid,
    .security-crowdsec-grid,
    .security-malware-grid {
        grid-template-columns: 1fr;
    }
    .security-crowdsec-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .security-malware-title {
        align-items: stretch;
        flex-direction: column;
    }
    .security-malware-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 700px) {
    body[data-page="security"] .security-feature-grid {
        grid-template-columns: 1fr;
    }
    .security-crowdsec-metrics {
        grid-template-columns: 1fr;
    }
    .security-last-check {
        width: 100%;
        text-align: left;
    }
    .security-list-header {
        align-items: stretch;
        flex-direction: column;
    }
    .security-list-header > .button {
        width: 100%;
    }
    .security-list-toolbar {
        grid-template-columns: 1fr;
    }
    body[data-page="security"] .security-tabs {
        justify-content: flex-start;
    }
    body[data-page="security"] .security-tabs .tab {
        min-width: 126px;
    }
}
.dynamic-form-fields .field:has(textarea),
.dynamic-form-fields .field:only-child { grid-column: 1 / -1; }
.dynamic-hidden { display: none; }
td.actions-cell,
.mail-nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
td.actions-cell form,
.mail-nav-actions form { display: inline-flex; }
.email-mailbox-table {
    min-width: 1320px;
}
.email-mailbox-table th:last-child,
.email-mailbox-table td.actions-cell {
    min-width: 450px;
}
.email-mailbox-table td.actions-cell {
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.email-mailbox-table .mail-services {
    min-width: 260px;
}
.activesync-mailbox-table {
    min-width: 780px;
}
.activesync-mailbox-table th:last-child,
.activesync-mailbox-table td.actions-cell {
    min-width: 230px;
}
.activesync-mailbox-table td.actions-cell {
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.dns-table th.actions-cell,
.dns-table td.actions-cell {
    min-width: 172px;
}
.dns-table td.actions-cell {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
    gap: 7px;
}
.dns-table td.actions-cell .icon-button,
.dns-table td.actions-cell .inline-form {
    margin-left: 0;
}
.dns-table .icon-action-form .icon-button {
    overflow: hidden;
    white-space: nowrap;
    text-indent: 0;
}
.dns-sync-button:disabled {
    cursor: not-allowed;
    opacity: .55;
    transform: none;
}
.dns-status-copy {
    display: grid;
    gap: 4px;
}
.dns-last-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
}
.dns-last-check .icon {
    width: 12px;
    height: 12px;
}
.dns-last-check.is-success { color: #6ee7b7; }
.dns-last-check.is-error { color: #fda4af; }
.domain-ssl-summary > div {
    display: grid;
    gap: 3px;
}
.domain-ssl-summary small {
    color: var(--muted);
}
.badge-danger {
    color: #fda4af;
    background: rgba(244,63,94,.1);
    border-color: rgba(244,63,94,.2);
}
.domain-toolbar .toolbar-note {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
.domain-toolbar .toolbar-note .icon {
    width: 13px;
    height: 13px;
}
.domain-table {
    min-width: 1120px;
}
.domain-table th:nth-child(1) { width: 22%; }
.domain-table th:nth-child(2) { width: 11%; }
.domain-table th:nth-child(3) { width: 22%; }
.domain-table th:nth-child(4) { width: 10%; }
.domain-table th:nth-child(5) { width: 23%; }
.domain-table th.actions-cell,
.domain-table td.actions-cell {
    min-width: 205px;
}
.domain-table td.actions-cell {
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.domain-table td.actions-cell .icon-button,
.domain-table td.actions-cell .inline-form {
    margin-left: 0;
}
.domain-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 230px;
}
.domain-identity a {
    color: var(--text);
    font-weight: 700;
    text-decoration: none;
}
.domain-identity a:hover {
    color: #c4b5fd;
}
.domain-identity small,
.domain-tls small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}
.domain-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6ee7b7;
    font-weight: 600;
}
.domain-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 9px rgba(52,211,153,.55);
}
.domain-status.is-locked {
    color: #fda4af;
}
.domain-status.is-locked i {
    background: var(--red);
    box-shadow: 0 0 9px rgba(251,113,133,.5);
}
.domain-webspace {
    display: grid;
    gap: 4px;
    min-width: 190px;
}
.domain-webspace strong {
    color: var(--text);
    font-size: 10px;
}
.domain-webspace code {
    overflow: hidden;
    max-width: 290px;
    color: var(--muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.icon-button.warning,
.icon-button.small.warning {
    color: #fcd34d;
    border-color: rgba(245,158,11,.2);
    background: rgba(245,158,11,.06);
}
.domain-tls {
    min-width: 245px;
}
.domain-tls > div {
    display: flex;
    align-items: center;
    gap: 8px;
}
.domain-tls > div strong {
    overflow: hidden;
    max-width: 210px;
    color: var(--text-soft);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.domain-tls-message {
    max-width: 360px;
    color: #fda4af !important;
    line-height: 1.45;
}
.domain-action-disabled {
    cursor: not-allowed;
    opacity: .45;
}
.domain-filter-hidden {
    display: none !important;
}
.domain-card .table-footer strong {
    color: var(--text);
}
.sftp-metrics .metric-value-text {
    font-size: 22px;
    letter-spacing: .03em;
}
.sftp-status-summary > div {
    display: grid;
    gap: 3px;
}
.sftp-status-summary small {
    color: var(--muted);
}
.sftp-overview {
    align-items: stretch;
}
.sftp-overview > .card {
    min-height: 300px;
}
.sftp-main-card .detail-list code {
    color: #c4b5fd;
}
.sftp-connect-card .terminal-box {
    position: relative;
}
.sftp-terminal-copy {
    position: absolute;
    right: 10px;
    bottom: 11px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--muted);
    border: 1px solid var(--border-soft);
    border-radius: 7px;
    background: rgba(15, 26, 37, .9);
}
.sftp-terminal-copy:hover {
    color: #fff;
    border-color: rgba(139, 92, 246, .5);
}
.sftp-terminal-copy .icon,
.sftp-connection-list button .icon {
    width: 14px;
    height: 14px;
}
.sftp-connection-list {
    display: grid;
    gap: 8px;
    padding: 8px 19px 19px;
}
.sftp-connection-list > div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-soft);
    border-radius: 9px;
    background: rgba(15, 27, 41, .45);
}
.sftp-connection-list span {
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
}
.sftp-connection-list code {
    overflow: hidden;
    color: #c4b5fd;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sftp-connection-list button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: var(--muted);
    border: 0;
    background: transparent;
}
.sftp-toolbar .toolbar-note {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}
.sftp-toolbar .toolbar-note .icon {
    width: 13px;
    height: 13px;
}
.sftp-table {
    min-width: 1120px;
}
.sftp-table th:nth-child(1) { width: 17%; }
.sftp-table th:nth-child(2) { width: 9%; }
.sftp-table th:nth-child(3) { width: 29%; }
.sftp-table th:nth-child(4) { width: 17%; }
.sftp-table th:nth-child(5) { width: 10%; }
.sftp-table th.actions-cell,
.sftp-table td.actions-cell {
    min-width: 205px;
}
.sftp-table td.actions-cell {
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.sftp-table td.actions-cell .icon-button,
.sftp-table td.actions-cell .inline-form {
    margin-left: 0;
}
.sftp-user {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 155px;
}
.sftp-user strong,
.sftp-user small {
    display: block;
}
.sftp-user small {
    margin-top: 3px;
    color: var(--muted);
}
.sftp-directory {
    display: block;
    overflow: hidden;
    max-width: 330px;
    color: var(--text-soft);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sftp-filter-hidden {
    display: none !important;
}
.compact-empty {
    min-height: 145px;
    gap: 8px;
    padding: 25px;
    color: var(--muted);
}
.compact-empty > .icon {
    width: 28px;
    height: 28px;
    color: #8b5cf6;
}
.compact-empty strong {
    color: var(--text);
}
.compact-empty span {
    font-size: 10px;
}
.sftp-card .table-footer strong {
    color: var(--text);
}
.webspace-metrics .metric-value-text {
    font-size: 21px;
    letter-spacing: .01em;
}
.webspace-status-summary > div {
    display: grid;
    gap: 3px;
}
.webspace-status-summary small {
    color: var(--muted);
}
.webspace-status-summary code {
    color: #c4b5fd;
}
.webspace-overview {
    align-items: stretch;
}
.webspace-overview > .card {
    min-height: 320px;
}
.webspace-storage-card .resource-list code {
    color: #c4b5fd;
}
.webspace-service-list {
    display: grid;
    gap: 10px;
    padding: 0 19px 19px;
}
.webspace-service-list > div {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 67px;
    padding: 11px 13px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: rgba(15, 27, 41, .45);
}
.webspace-service-list .setting-icon {
    width: 38px;
    height: 38px;
}
.webspace-service-list strong,
.webspace-service-list small {
    display: block;
}
.webspace-service-list small {
    margin-top: 4px;
    color: var(--muted);
}
.webspace-toolbar .toolbar-note {
    max-width: 430px;
}
.webspace-domain-table {
    min-width: 1170px;
}
.webspace-domain-table th:nth-child(1) { width: 18%; }
.webspace-domain-table th:nth-child(2) { width: 31%; }
.webspace-domain-table th:nth-child(3) { width: 9%; }
.webspace-domain-table th:nth-child(4) { width: 10%; }
.webspace-domain-table th:nth-child(5) { width: 15%; }
.webspace-domain-table th:nth-child(6) { width: 8%; }
.webspace-domain-table th.actions-cell,
.webspace-domain-table td.actions-cell {
    min-width: 92px;
}
.webspace-domain-table td.actions-cell {
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.webspace-domain-name {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}
.webspace-domain-name strong,
.webspace-domain-name small,
.webspace-domain-root strong,
.webspace-domain-root code {
    display: block;
}
.webspace-domain-name small {
    margin-top: 3px;
    color: var(--muted);
}
.webspace-domain-root {
    display: grid;
    gap: 4px;
    min-width: 270px;
}
.webspace-domain-root code {
    overflow: hidden;
    max-width: 390px;
    color: var(--muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.webspace-modified {
    color: var(--text-soft);
    font-size: 10px;
    white-space: nowrap;
}
.webspace-domain-card .table-footer strong {
    color: var(--text);
}
.webspace-php-card {
    overflow: hidden;
}
.webspace-runtime-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 19px 19px;
}
.webspace-runtime-grid > div {
    display: grid;
    gap: 5px;
    min-height: 94px;
    padding: 13px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    background: rgba(15, 27, 41, .45);
}
.webspace-runtime-grid span {
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 9px;
}
.webspace-runtime-grid strong {
    color: #c4b5fd;
    font-size: 18px;
}
.webspace-runtime-grid small {
    color: var(--muted);
}
.webspace-runtime-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 19px;
    color: var(--muted);
    border-top: 1px solid var(--border-soft);
    font-size: 10px;
}
.webspace-runtime-note .icon {
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    color: #8b5cf6;
}
.webspace-runtime-note code {
    color: #c4b5fd;
}
.filemanager-metrics .metric-value-text {
    overflow: hidden;
    font-size: 19px;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.filemanager-status-strip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
}
.filemanager-status-strip > div {
    display: grid;
    gap: 3px;
}
.filemanager-status-strip small {
    color: var(--muted);
}
.filemanager-status-strip code {
    color: #c4b5fd;
}
.filemanager-toolbar {
    grid-template-columns: minmax(430px, 1fr) minmax(260px, 390px);
}
.filemanager-domain-picker {
    display: flex;
    align-items: flex-end;
    gap: 9px;
    min-width: 0;
}
.filemanager-domain-picker label {
    display: grid;
    flex: 1 1 360px;
    gap: 5px;
    min-width: 0;
}
.filemanager-domain-picker label > span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}
.filemanager-domain-picker select {
    height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
    font-size: 10px;
}
.filemanager-dropzone {
    margin: 12px 14px 0;
    overflow: hidden;
    border: 1px dashed rgba(139, 92, 246, .58);
    border-radius: 11px;
    background: rgba(139, 92, 246, .045);
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.filemanager-dropzone.is-dragover {
    border-color: #a78bfa;
    background: rgba(139, 92, 246, .13);
    box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .22), 0 0 22px rgba(139, 92, 246, .08);
}
.filemanager-dropzone.has-error {
    border-color: rgba(248, 113, 113, .7);
    background: rgba(239, 68, 68, .06);
}
.filemanager-dropzone.is-disabled {
    cursor: not-allowed;
    opacity: .58;
}
.filemanager-drop-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
.filemanager-drop-target {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 15px;
    cursor: pointer;
}
.filemanager-dropzone.is-disabled .filemanager-drop-target {
    cursor: not-allowed;
    pointer-events: none;
}
.filemanager-drop-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, .32);
    border-radius: 10px;
    background: rgba(139, 92, 246, .12);
}
.filemanager-drop-icon .icon {
    width: 19px;
    height: 19px;
}
.filemanager-drop-copy {
    display: grid;
    gap: 4px;
}
.filemanager-drop-copy strong {
    color: var(--text);
    font-size: 11px;
}
.filemanager-drop-copy small,
.filemanager-drop-footer {
    color: var(--muted);
    font-size: 9px;
}
.filemanager-drop-footer {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 10px 7px 15px;
    border-top: 1px solid var(--border-soft);
    background: rgba(2, 8, 23, .12);
}
.filemanager-dropzone.has-error .filemanager-drop-footer > span {
    color: #fca5a5;
}
.filemanager-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 47px;
    padding: 9px 14px;
    color: var(--muted);
    border-bottom: 1px solid var(--border-soft);
    font-size: 10px;
}
.filemanager-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-soft);
    text-decoration: none;
}
.filemanager-breadcrumb a:hover,
.filemanager-breadcrumb strong {
    color: #c4b5fd;
}
.filemanager-breadcrumb .icon {
    width: 13px;
    height: 13px;
}
.filemanager-breadcrumb .icon-button {
    margin-left: auto;
}
.filemanager-table {
    min-width: 1020px;
}
.filemanager-table th:nth-child(1) { width: 30%; }
.filemanager-table th:nth-child(2) { width: 10%; }
.filemanager-table th:nth-child(3) { width: 13%; }
.filemanager-table th:nth-child(4) { width: 17%; }
.filemanager-table th:nth-child(5) { width: 9%; }
.filemanager-table th.actions-cell,
.filemanager-table td.actions-cell {
    min-width: 172px;
}
.filemanager-table td.actions-cell {
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.filemanager-table td.actions-cell .inline-form,
.filemanager-table td.actions-cell .icon-button {
    margin-left: 0;
}
.filemanager-table .file-name {
    min-width: 245px;
}
.filemanager-table .file-name > a,
.filemanager-table .file-name > span:not(.file-icon) {
    display: grid;
    gap: 3px;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.filemanager-table .file-name strong {
    overflow: hidden;
    max-width: 330px;
    color: var(--text);
    text-overflow: ellipsis;
    white-space: nowrap;
}
.filemanager-table .file-name small {
    color: var(--muted);
}
.filemanager-table .file-name > a:hover strong {
    color: #c4b5fd;
}
.filemanager-modified {
    color: var(--text-soft);
    white-space: nowrap;
}
.filemanager-parent-row td {
    padding-top: 8px;
    padding-bottom: 8px;
    background: rgba(139, 92, 246, .025);
}
.filemanager-parent-row a {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    align-items: center;
    gap: 1px 8px;
    color: var(--text);
    text-decoration: none;
}
.filemanager-parent-row .icon {
    grid-row: 1 / 3;
    width: 15px;
    height: 15px;
    color: #8b5cf6;
    transform: rotate(180deg);
}
.filemanager-parent-row small {
    color: var(--muted);
}
.filemanager-empty {
    min-height: 185px;
    gap: 8px;
    color: var(--muted);
    border-bottom: 1px solid var(--border-soft);
}
.filemanager-empty > .icon {
    width: 34px;
    height: 34px;
    color: #8b5cf6;
}
.filemanager-empty strong {
    color: var(--text);
}
.filemanager-empty span {
    font-size: 10px;
}
.filemanager-card .file-footer strong {
    color: var(--text);
}
@media (max-width: 820px) {
    .domain-toolbar .toolbar-note {
        justify-content: flex-start;
        text-align: left;
    }
    .sftp-toolbar .toolbar-note {
        justify-content: flex-start;
        text-align: left;
    }
    .sftp-connection-list > div {
        grid-template-columns: 1fr 30px;
    }
    .sftp-connection-list span {
        grid-column: 1 / -1;
    }
    .webspace-runtime-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .webspace-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .webspace-toolbar .toolbar-note {
        max-width: none;
        text-align: left;
    }
    .filemanager-toolbar {
        grid-template-columns: 1fr;
    }
    .filemanager-status-strip {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .filemanager-status-strip .badge {
        grid-column: 2;
        justify-self: start;
    }
    .filemanager-drop-target {
        grid-template-columns: 42px minmax(0, 1fr);
    }
    .filemanager-drop-target > .button {
        grid-column: 2;
        justify-self: start;
    }
}
.functional-block-button { width: 100%; margin-top: 14px; }
.settings-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.settings-summary-card {
    min-width: 0;
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
}
.settings-summary-card .v11-icon-box { flex: 0 0 auto; }
.settings-summary-card > div { min-width: 0; }
.settings-summary-card small,
.settings-summary-card strong,
.settings-summary-card em { display: block; }
.settings-summary-card small {
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.settings-summary-card strong {
    overflow: hidden;
    color: var(--text-soft);
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.settings-summary-card em {
    margin-top: 4px;
    overflow: hidden;
    color: var(--muted);
    font-size: 7.5px;
    font-style: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.settings-workspace { min-width: 0; }
body[data-page="settings"] .settings-tabs {
    align-items: center;
    gap: 6px;
    margin: 0 0 14px;
    padding: 5px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(8, 20, 33, .58);
    scrollbar-width: thin;
}
body[data-page="settings"] .settings-tabs .tab {
    min-width: 150px;
    min-height: 38px;
    display: inline-flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}
body[data-page="settings"] .settings-tabs .tab::after { display: none; }
body[data-page="settings"] .settings-tabs .tab:hover {
    color: var(--text-soft);
    background: rgba(139, 92, 246, .07);
}
body[data-page="settings"] .settings-tabs .tab.active {
    color: #f5f3ff;
    border-color: rgba(139, 92, 246, .38);
    background: linear-gradient(135deg, rgba(124, 58, 237, .24), rgba(109, 40, 217, .11));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 7px 20px rgba(76, 29, 149, .12);
}
body[data-page="settings"] .settings-tabs .tab .icon { width: 14px; height: 14px; }
body[data-page="settings"] .settings-tabs .tab b {
    min-width: 19px;
    height: 19px;
    display: inline-grid;
    place-items: center;
    padding: 0 5px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-radius: 999px;
    background: rgba(15, 30, 45, .72);
    font-size: 7.5px;
}
.settings-tab-panel.active { animation: settings-tab-in .16s ease-out; }
@keyframes settings-tab-in {
    from { opacity: .45; transform: translateY(3px); }
    to { opacity: 1; transform: translateY(0); }
}
body[data-page="settings"] .settings-panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}
body[data-page="settings"] .settings-v11-card { min-width: 0; min-height: 270px; }
body[data-page="settings"] .settings-card-span-2 { grid-column: span 2; }
.settings-switch-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
}
.settings-switch-grid .settings-inline-switch {
    padding: 8px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 7px;
    background: rgba(8, 20, 33, .35);
}
.settings-security-switches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}
.settings-security-switches label {
    padding: 8px 10px;
    border: 1px solid var(--border-soft);
    border-radius: 7px;
    background: rgba(8, 20, 33, .35);
}
.settings-security-switches .v11-card-button { grid-column: 1 / -1; }
.settings-runtime-list { display: grid; gap: 0; flex: 1; }
.settings-runtime-list > div {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border-soft);
}
.settings-runtime-list > div:last-child { border-bottom: 0; }
.settings-runtime-list span { color: var(--muted); font-size: 8px; }
.settings-runtime-list strong {
    overflow-wrap: anywhere;
    color: var(--text-soft);
    font-size: 8px;
    text-align: right;
}
.settings-security-note,
.settings-integration-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(139, 92, 246, .2);
    border-radius: 8px;
    background: rgba(139, 92, 246, .07);
}
.settings-security-note > .icon,
.settings-integration-status > span .icon { width: 18px; color: #a78bfa; }
.settings-security-note strong,
.settings-security-note small,
.settings-integration-status strong,
.settings-integration-status small { display: block; }
.settings-security-note strong,
.settings-integration-status strong { font-size: 8.5px; }
.settings-security-note small,
.settings-integration-status small { margin-top: 3px; color: var(--muted); font-size: 7.5px; }
.settings-empty-state {
    min-height: 82px;
    justify-content: center !important;
    padding: 16px !important;
    border: 1px dashed var(--border) !important;
    border-radius: 7px;
    text-align: center;
}
.settings-empty-state strong,
.settings-empty-state small { display: block; }
.settings-cloudflare-card .info-strip { margin-bottom: 10px; }
.settings-danger-card { border-color: rgba(244, 63, 94, .2); }
.settings-item-list { display: grid; gap: 10px; margin-bottom: 14px; }
.settings-item-list > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-soft);
}
.settings-item-list span,
.settings-item-list small,
.table-subline { display: block; }
.settings-item-list small,
.table-subline { margin-top: 4px; color: var(--muted); }
@media (max-width: 1250px) {
    .settings-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body[data-page="settings"] .settings-panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body[data-page="settings"] .settings-card-span-2 { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
    .settings-summary-grid,
    body[data-page="settings"] .settings-panel-grid,
    .settings-security-switches,
    .settings-switch-grid { grid-template-columns: 1fr; }
    body[data-page="settings"] .settings-card-span-2 { grid-column: auto; }
    .settings-security-switches .v11-card-button { grid-column: auto; }
    body[data-page="settings"] .settings-tabs .tab { min-width: 138px; }
}
@media (max-width: 520px) {
    .settings-summary-grid { grid-template-columns: 1fr; }
}
.functional-range { width: max-content; }
.functional-range a { padding: 8px 14px; color: var(--muted); text-decoration: none; border-radius: 8px; }
.functional-range a.active { color: #fff; background: var(--purple); }
.functional-chart { min-height: 330px; }
.functional-chart canvas { width: 100%; height: 330px; }
.functional-legal-tabs a { text-decoration: none; }
.legal-copy { min-height: 280px; line-height: 1.7; }
.topbar-profile { color: inherit; text-decoration: none; }
.setup-card { text-decoration: none; color: inherit; }

/* Panel login */
.login-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: #06111d;
}
.login-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(440px, 1.08fr) minmax(430px, .92fr);
}
.login-intro {
    position: relative;
    display: flex;
    overflow: hidden;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(34px, 5vw, 70px) clamp(42px, 7vw, 100px);
    border-right: 1px solid rgba(119, 91, 193, .18);
    background:
        radial-gradient(circle at 16% 16%, rgba(139, 92, 246, .22), transparent 28%),
        radial-gradient(circle at 85% 72%, rgba(34, 211, 238, .08), transparent 30%),
        linear-gradient(145deg, #071625 0%, #08121e 58%, #0b1626 100%);
}
.login-intro::before,
.login-intro::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.login-intro::before {
    top: -150px;
    right: -170px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(167, 139, 250, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(139, 92, 246, .025), 0 0 0 116px rgba(139, 92, 246, .018);
}
.login-intro::after {
    right: 8%;
    bottom: 15%;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(34, 211, 238, .08);
    transform: rotate(35deg);
}
.login-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.login-brand .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
}
.login-brand .brand-copy strong {
    font-size: 19px;
    letter-spacing: .055em;
}
.login-brand .brand-copy small {
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
}
.login-intro-copy {
    position: relative;
    z-index: 1;
    max-width: 640px;
}
.login-kicker {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 6px 10px;
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, .28);
    border-radius: 999px;
    background: rgba(139, 92, 246, .08);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.login-intro-copy h1 {
    margin: 0;
    color: #f5f7fb;
    font-size: clamp(38px, 4.4vw, 67px);
    line-height: 1.04;
    letter-spacing: -.045em;
}
.login-intro-copy h1 em {
    color: #9b7bff;
    font-style: normal;
}
.login-intro-copy p {
    max-width: 560px;
    margin: 24px 0 0;
    color: #91a2b6;
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.75;
}
.login-trust-list {
    position: relative;
    z-index: 1;
    display: grid;
    max-width: 620px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 11px;
}
.login-trust-list > span {
    display: grid;
    min-width: 0;
    grid-template-columns: 31px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(125, 150, 180, .13);
    border-radius: 10px;
    background: rgba(11, 29, 45, .56);
    backdrop-filter: blur(8px);
}
.login-trust-list > span > .icon {
    width: 17px;
    color: #a78bfa;
}
.login-trust-list strong,
.login-trust-list small {
    display: block;
}
.login-trust-list strong {
    color: #dfe7f1;
    font-size: 9px;
}
.login-trust-list small {
    overflow: hidden;
    margin-top: 3px;
    color: #718297;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.login-version {
    position: absolute;
    right: 24px;
    bottom: 14px;
    z-index: 1;
    color: #54667b;
    font-size: 8px;
}
.login-form-panel {
    position: relative;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 50px clamp(32px, 6vw, 92px);
    background:
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, .065), transparent 30%),
        #08131f;
}
.login-form-wrap {
    width: 100%;
    max-width: 430px;
    min-width: 0;
}
.login-form-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}
.login-lock-mark {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, .3);
    border-radius: 12px;
    background: rgba(139, 92, 246, .1);
}
.login-lock-mark .icon {
    width: 21px;
    height: 21px;
}
.login-form-heading span:not(.login-lock-mark) {
    color: #8b9bb0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.login-form-heading h2 {
    margin: 3px 0 0;
    color: #f2f5fa;
    font-size: 25px;
    letter-spacing: -.025em;
}
.login-form-lead {
    margin: 16px 0 28px 61px;
    color: #7d8da1;
    font-size: 11px;
}
.login-form {
    display: grid;
    gap: 18px;
}
.login-field {
    display: grid;
    gap: 7px;
}
.login-field > span:first-child {
    color: #a9b6c7;
    font-size: 10px;
    font-weight: 650;
}
.login-input-wrap {
    position: relative;
    display: block;
}
.login-input-wrap > .icon {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    width: 16px;
    height: 16px;
    color: #687a90;
    transform: translateY(-50%);
    pointer-events: none;
}
.login-input-wrap input {
    height: 48px;
    padding: 11px 44px 11px 42px;
    border-color: #203348;
    border-radius: 10px;
    background: #0b1a29;
    font-size: 12px;
}
.login-input-wrap input:focus + .login-password-toggle,
.login-input-wrap:focus-within > .icon {
    color: #a78bfa;
}
.login-password-toggle {
    position: absolute;
    top: 50%;
    right: 7px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    color: #718297;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}
.login-password-toggle:hover {
    color: #c4b5fd;
    background: rgba(139, 92, 246, .1);
}
.login-password-toggle .icon {
    width: 16px;
    height: 16px;
}
.login-submit {
    width: 100%;
    min-height: 48px;
    margin-top: 5px;
    font-size: 11px;
}
.login-submit .icon {
    margin-left: auto;
}
.login-messages {
    display: grid;
    gap: 8px;
    margin: 0 0 20px;
}
.login-message,
.login-config-warning,
.login-support {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}
.login-message {
    padding: 10px 12px;
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, .25);
    border-radius: 9px;
    background: rgba(244, 63, 94, .07);
    font-size: 10px;
}
.login-message.success {
    color: #6ee7b7;
    border-color: rgba(52, 211, 153, .25);
    background: rgba(52, 211, 153, .07);
}
.login-message .icon,
.login-config-warning .icon,
.login-support .icon {
    width: 16px;
    height: 16px;
}
.login-config-warning {
    margin-top: 18px;
    padding: 11px 12px;
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, .24);
    border-radius: 9px;
    background: rgba(251, 191, 36, .06);
}
.login-config-warning strong,
.login-config-warning small,
.login-support strong,
.login-support small {
    display: block;
}
.login-config-warning strong,
.login-support strong {
    font-size: 9px;
}
.login-config-warning small,
.login-support small {
    margin-top: 2px;
    color: #718297;
    font-size: 8px;
}
.login-support {
    margin-top: 30px;
    padding-top: 20px;
    color: #8b9bb0;
    border-top: 1px solid rgba(125, 150, 180, .12);
}
.login-footer {
    position: absolute;
    right: 0;
    bottom: 20px;
    left: 0;
    color: #53657a;
    font-size: 8px;
    text-align: center;
}
.topbar-logout {
    margin-left: -4px;
}
.topbar-logout .icon-button {
    color: #8fa0b4;
}
.topbar-logout .icon-button:hover {
    color: #fda4af;
    border-color: rgba(244, 63, 94, .24);
    background: rgba(244, 63, 94, .08);
}
@media (max-width: 980px) {
    .login-shell {
        grid-template-columns: minmax(330px, .8fr) minmax(430px, 1.2fr);
    }
    .login-intro {
        padding: 38px;
    }
    .login-intro-copy h1 {
        font-size: 39px;
    }
    .login-trust-list {
        grid-template-columns: 1fr;
    }
    .login-trust-list > span:nth-child(n+3) {
        display: none;
    }
}
@media (max-width: 760px) {
    .login-shell {
        display: block;
    }
    .login-intro {
        min-height: auto;
        padding: 24px;
        border-right: 0;
        border-bottom: 1px solid rgba(119, 91, 193, .18);
    }
    .login-intro-copy,
    .login-trust-list,
    .login-version {
        display: none;
    }
    .login-form-panel {
        min-height: calc(100vh - 91px);
        padding: 42px 24px 70px;
    }
}
@media (max-width: 440px) {
    .login-intro {
        padding: 18px 20px;
    }
    .login-brand .brand-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .login-form-panel {
        padding: 34px 18px 64px;
    }
    .login-form-lead {
        margin-left: 0;
    }
}
@media (max-width: 680px) {
    .dynamic-form-fields { grid-template-columns: 1fr; }
    .webspace-runtime-grid { grid-template-columns: 1fr; }
    .webspace-service-list > div {
        grid-template-columns: 40px minmax(0, 1fr);
    }
    .webspace-service-list .badge {
        grid-column: 2;
        justify-self: start;
    }
    .filemanager-domain-picker {
        align-items: stretch;
        flex-direction: column;
    }
    .filemanager-domain-picker label {
        flex-basis: auto;
    }
    .filemanager-breadcrumb {
        overflow-x: auto;
    }
    .filemanager-drop-target {
        padding: 12px;
    }
    .filemanager-drop-footer {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Mail-DNS and standalone spam settings */
.mail-dns-value {
    min-width: 210px;
    max-width: 420px;
}
.mail-dns-value code {
    display: block;
    overflow-wrap: anywhere;
    white-space: normal;
}
.mail-dns-value small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
}
.info-strip.warning {
    border-color: rgba(245, 158, 11, .24);
    color: #fcd34d;
    background: rgba(245, 158, 11, .07);
}
.info-strip.warning .icon { color: #f59e0b; }
.spam-settings-form { padding-top: 4px; }
.spam-settings-form .check-row {
    align-self: center;
    min-height: 40px;
}
.spam-engine-list { margin-top: 3px; }
body[data-page="maildns"] .page-actions,
body[data-page="spam"] .page-actions {
    flex-wrap: wrap;
}
@media (max-width: 760px) {
    .mail-dns-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .spam-settings-layout { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .mail-dns-summary { grid-template-columns: 1fr; }
}
