:root {
    --bg: #f4f6fa;
    --panel: #ffffff;
    --text: #172033;
    --muted: #647084;
    --muted-soft: #8a95a8;
    --line: #dfe5ee;
    --line-strong: #cbd5e1;
    --primary: #2457d6;
    --primary-dark: #183e9f;
    --primary-soft: #edf4ff;
    --success: #167c4a;
    --warning: #a15c00;
    --danger: #b42318;
    --shadow-sm: 0 6px 18px rgba(23, 32, 51, 0.05);
    --shadow-md: 0 14px 38px rgba(23, 32, 51, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(180deg, #f8fbff 0, var(--bg) 240px),
        var(--bg);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.brand-env {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2f8;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    min-width: 0;
    overflow-x: auto;
    padding: 2px 0;
}

.nav a {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--muted);
    font-weight: 600;
}

.nav a:hover,
.nav a.is-active {
    background: #edf2ff;
    color: var(--primary);
}

.nav a.is-active {
    box-shadow: inset 0 0 0 1px rgba(36, 87, 214, 0.12);
}

.host-sso-session {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    max-width: min(560px, 48vw);
    margin-left: auto;
    margin-right: 14px;
    padding: 8px 10px 8px 12px;
    border: 1px solid #cddbf8;
    border-radius: 8px;
    background: #f4f8ff;
    color: var(--primary-dark);
}

.host-sso-session-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.host-sso-session-text span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.host-sso-session-text strong {
    overflow: hidden;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.host-sso-session form {
    flex: 0 0 auto;
    margin: 0;
}

.page {
    width: min(1120px, calc(100% - 32px));
    margin: 28px auto;
}

.page-wide {
    width: min(1480px, calc(100% - 28px));
}

.page-auth {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 76px);
    margin-top: 0;
}

.auth-card,
.card,
.table-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.card:hover,
.table-card:hover {
    border-color: var(--line-strong);
}

.auth-card {
    width: min(420px, 100%);
    padding: 28px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.auth-title,
.section-title,
.page-title {
    margin: 0;
    letter-spacing: 0;
}

.auth-title {
    font-size: 26px;
}

.auth-subtitle,
.muted {
    color: var(--muted);
}

.auth-subtitle {
    margin: 6px 0 0;
}

.page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.page-title {
    font-size: 30px;
    line-height: 1.15;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.card {
    padding: 18px;
}

.grid .card {
    min-height: 112px;
}

.metric-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.metric-value {
    margin-top: 8px;
    font-size: 30px;
    font-weight: 800;
}

.grid .metric-value {
    letter-spacing: 0;
}

.form {
    display: grid;
    gap: 14px;
}

.field {
    display: grid;
    gap: 7px;
}

.field label {
    color: var(--muted);
    font-weight: 700;
}

.field small,
.form small {
    color: var(--muted);
    line-height: 1.45;
}

.input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.input:hover {
    border-color: var(--line-strong);
}

.input:focus {
    outline: 3px solid rgba(36, 87, 214, 0.15);
    border-color: var(--primary);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.button:hover {
    background: var(--primary-dark);
}

.button:disabled,
.button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.button:active {
    transform: translateY(1px);
}

.button-secondary {
    background: #eef2f8;
    color: var(--text);
}

.button-secondary:hover {
    background: #dde5f1;
}

.button-danger {
    background: var(--danger);
    color: #fff;
}

.button-danger:hover {
    background: #8f1d14;
}

.button-danger-soft {
    background: #fff0ee;
    color: var(--danger);
}

.button-danger-soft:hover {
    background: #ffe1de;
    color: var(--danger);
}

.button-small {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 13px;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--muted);
    cursor: pointer;
    font: inherit;
    font-size: 22px;
    line-height: 1;
}

.icon-button:hover {
    background: #f4f7fb;
    color: var(--text);
}

.table-card {
    overflow: hidden;
}

.table-card table {
    min-width: 760px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

td code,
td .mono-small {
    word-break: break-all;
}

th {
    color: var(--muted);
    background: #f8fafc;
    font-size: 13px;
    font-weight: 800;
}

tbody tr:hover td {
    background: #fbfdff;
}

tr:last-child td {
    border-bottom: 0;
}

.badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #eef2f8;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.badge-queued {
    background: #fff7df;
    color: var(--warning);
}

.badge-warning {
    background: #fff7df;
    color: var(--warning);
}

.badge-dry_run,
.badge-cleaned,
.badge-failed_cleaned {
    background: #ecfdf5;
    color: var(--success);
}

.badge-processing,
.badge-running {
    background: #e8f0ff;
    color: var(--primary);
}

.badge-downloading,
.badge-backing_up,
.badge-applying,
.badge-migrating,
.badge-verifying {
    background: #e8f0ff;
    color: var(--primary);
}

.badge-available,
.badge-verified,
.badge-info,
.badge-debug {
    background: #eef2f8;
    color: var(--muted);
}

.badge-issuing,
.badge-renewing {
    background: #e8f0ff;
    color: var(--primary);
}

.badge-completed,
.badge-success {
    background: #e8f8ef;
    color: var(--success);
}

.badge-active {
    background: #e8f8ef;
    color: var(--success);
}

.badge-ok {
    background: #e8f8ef;
    color: var(--success);
}

.badge-online {
    background: #e8f8ef;
    color: var(--success);
}

.badge-unknown,
.badge-disabled,
.badge-passive {
    background: #eef2f8;
    color: var(--muted);
}

.badge-pointing {
    background: #e8f8ef;
    color: var(--success);
}

.badge-not_pointing {
    background: #fff7df;
    color: var(--warning);
}

.badge-pending {
    background: #fff7df;
    color: var(--warning);
}

.badge-kurulmadi,
.badge-expired {
    background: #eef2f8;
    color: var(--muted);
}

.badge-provisioning {
    background: #e8f0ff;
    color: var(--primary);
}

.badge-deleting {
    background: #fff7df;
    color: var(--warning);
}

.badge-deleted {
    background: #eef2f8;
    color: var(--muted);
}

.badge-failed,
.badge-error,
.badge-cancelled,
.badge-suspended,
.badge-offline {
    background: #fff0ed;
    color: var(--danger);
}

.badge-rolled_back {
    background: #fff7df;
    color: var(--warning);
}

.alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--panel);
    line-height: 1.45;
}

.alert-success {
    border-color: #bfe8d0;
    background: #eefaf3;
    color: var(--success);
}

.alert-error {
    border-color: #ffd2cb;
    background: #fff4f2;
    color: var(--danger);
}

.alert-warning {
    border-color: #ffe1a3;
    background: #fff8e8;
    color: var(--warning);
}

.alert-info {
    border-color: #c9dcff;
    background: #f2f7ff;
    color: var(--primary-dark);
}

.impersonation-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.impersonation-bar form {
    margin: 0;
}

.dns-warning-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.dns-warning-bar > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.dns-warning-bar span {
    line-height: 1.45;
}

.dns-warning-bar form {
    margin: 0;
}

.panel-maintenance-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.panel-maintenance-bar > div {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.panel-maintenance-bar span {
    line-height: 1.45;
}

.actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.actions form {
    margin: 0;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 18px;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--line);
    background: #fbfcfe;
}

.section-title {
    font-size: 18px;
}

.text-link {
    color: var(--primary);
    font-weight: 800;
}

.form-card {
    padding: 20px;
}

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

.metric-text {
    font-size: 18px;
    overflow-wrap: anywhere;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.tool-card {
    display: grid;
    gap: 8px;
    min-height: 130px;
    padding: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.tool-card:hover {
    border-color: rgba(36, 87, 214, 0.45);
    box-shadow: var(--shadow-md);
}

.tool-title {
    font-size: 17px;
    font-weight: 800;
}

.tool-copy {
    color: var(--muted);
    line-height: 1.45;
}

.page-host,
.page-cpanel {
    width: min(1280px, calc(100% - 32px));
}

.page-host.page-wide,
.page-cpanel.page-wide {
    width: min(1280px, calc(100% - 32px));
}

.page-host .page-head,
.page-cpanel .page-head {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e4e9f2;
}

.page-host .page-head .page-title,
.page-cpanel .page-head .page-title {
    color: #0a2540;
    font-size: 28px;
    font-weight: 600;
}

.page-host .page-head .muted,
.page-cpanel .page-head .muted {
    color: #586376;
}

.page-host .card,
.page-host .table-card,
.page-cpanel .card,
.page-cpanel .table-card {
    border-color: #d9e2ef;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.07);
}

.page-host .section-head,
.page-cpanel .section-head {
    background: #fff;
    border-bottom-color: #e4e9f2;
}

.page-host .input,
.page-cpanel .input {
    border-radius: 4px;
}

.page-host .button,
.page-host .icon-button,
.page-cpanel .button,
.page-cpanel .icon-button {
    border-radius: 4px;
}

.host-page-title,
.cpanel-page-title {
    margin: 0 0 18px;
    color: #0a2540;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
}

.host-page-head,
.cpanel-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.host-page-head .host-page-title,
.cpanel-page-head .cpanel-page-title {
    margin: 0;
}

.host-layout,
.cpanel-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 18px;
    align-items: start;
}

.host-main-tools,
.cpanel-main-tools {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.host-tool-group,
.host-widget,
.cpanel-tool-group,
.cpanel-widget {
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.07);
}

.host-tool-group:hover,
.host-widget:hover,
.cpanel-tool-group:hover,
.cpanel-widget:hover {
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.18);
}

.host-group-heading,
.cpanel-group-heading {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    padding: 14px 15px;
    border: 0;
    border-bottom: 1px solid #e4e9f2;
    background: #fff;
    color: #0a2540;
    cursor: pointer;
    font: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
}

.host-group-heading span:nth-child(2),
.cpanel-group-heading span:nth-child(2) {
    min-width: 0;
    flex: 1;
}

.host-group-chevron,
.cpanel-group-chevron {
    color: #8f9bb3;
    font-size: 18px;
    font-weight: 900;
}

.host-group-icon,
.host-tool-icon,
.cpanel-group-icon,
.cpanel-tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 6px;
    color: #365aa2;
    font-weight: 900;
}

.host-group-icon,
.cpanel-group-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background: #e7ecfc;
    font-size: 13px;
}

.host-tool-list,
.cpanel-tool-list {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px 0;
    padding: 15px 15px 5px;
}

.host-tool-item,
.cpanel-tool-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 250px;
    min-height: 48px;
    padding: 0 10px 10px 0;
    color: #365aa2;
}

.host-tool-item:hover,
.cpanel-tool-item:hover {
    background: #f7f9fc;
    color: #2d5ef2;
}

.host-tool-icon,
.cpanel-tool-icon {
    width: 48px;
    height: 48px;
    background: #f2f5fb;
    border: 1px solid #e4e9f2;
    font-size: 20px;
}

.host-tool-title,
.cpanel-tool-title {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.host-dns-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    margin: 0 0 18px;
    padding: 16px;
    border: 1px solid #d7e3fb;
    border-left: 4px solid #2c7be5;
    border-radius: 6px;
    background: #f7faff;
    box-shadow: 0 3px 10px rgba(10, 37, 64, 0.06);
}

.host-dns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #d7e3fb;
    border-radius: 8px;
    background: #fff;
    color: #365aa2;
    font-weight: 900;
}

.host-dns-body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.host-dns-title {
    color: #0a2540;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
}

.host-dns-body p {
    margin: 0;
    color: #42526b;
    line-height: 1.5;
}

.host-dns-records {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.host-dns-records span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid #dbe6ff;
    border-radius: 6px;
    background: #fff;
    color: #0a2540;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.host-dns-body small {
    color: var(--muted);
    line-height: 1.4;
}

.host-dns-actions {
    margin: 0;
    white-space: nowrap;
}

.host-icon-folder::before, .cpanel-icon-folder::before { content: "F"; }
.host-icon-database::before, .cpanel-icon-database::before { content: "D"; }
.host-icon-globe::before, .cpanel-icon-globe::before { content: "W"; }
.host-icon-code::before, .cpanel-icon-code::before { content: "</>"; font-size: 11px; }
.host-icon-chart::before, .cpanel-icon-chart::before { content: "M"; }
.host-icon-file::before, .cpanel-icon-file::before { content: "F"; }
.host-icon-ftp::before, .cpanel-icon-ftp::before { content: "FTP"; font-size: 10px; }
.host-icon-disk::before, .cpanel-icon-disk::before { content: "▣"; }
.host-icon-backup::before, .cpanel-icon-backup::before { content: "↻"; }
.host-icon-pma::before, .cpanel-icon-pma::before { content: "pM"; font-size: 12px; }
.host-icon-mysql::before, .cpanel-icon-mysql::before { content: "SQL"; font-size: 11px; }
.host-icon-domain::before, .cpanel-icon-domain::before { content: "D"; }
.host-icon-lock::before, .cpanel-icon-lock::before { content: "S"; }
.host-icon-dns::before, .cpanel-icon-dns::before { content: "DNS"; font-size: 10px; }
.host-icon-mail::before, .cpanel-icon-mail::before { content: "@"; }
.host-icon-php::before, .cpanel-icon-php::before { content: "PHP"; font-size: 10px; }
.host-icon-clock::before, .cpanel-icon-clock::before { content: "◷"; }
.host-icon-log::before, .cpanel-icon-log::before { content: "☰"; }

.mail-summary-grid {
    margin-bottom: 18px;
}

.mail-layout,
.mail-two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.mail-check-grid {
    display: grid;
    gap: 10px;
    padding-top: 8px;
}

.mail-check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #eef2f7;
    color: #42526b;
    line-height: 1.45;
}

.mail-check-row:first-child {
    border-top: 0;
}

.mail-info-card .detail-list {
    margin: 12px 0 0;
}

@media (max-width: 900px) {
    .mail-layout,
    .mail-two-column {
        grid-template-columns: 1fr;
    }
}

.host-sidebar,
.cpanel-sidebar {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.host-widget h2,
.cpanel-widget h2 {
    margin: 0;
    padding: 18px 20px 8px;
    color: #0a2540;
    font-size: 14px;
    font-weight: 600;
}

.host-widget-headline,
.cpanel-widget-headline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px 0 0;
}

.host-widget-headline h2,
.cpanel-widget-headline h2 {
    padding-right: 0;
}

.host-active-job,
.cpanel-active-job {
    display: grid;
    gap: 7px;
    margin: 8px 18px 12px;
    padding: 12px;
    border: 1px solid #dbe6ff;
    border-radius: 6px;
    background: #f7faff;
    color: #0a2540;
}

.host-active-job strong,
.host-job-row strong,
.cpanel-active-job strong,
.cpanel-job-row strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.host-active-job small,
.host-job-row small,
.cpanel-active-job small,
.cpanel-job-row small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.host-job-list,
.cpanel-job-list {
    display: grid;
    padding: 0 18px 16px;
}

.host-job-row,
.cpanel-job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #edf1f7;
    color: #0a2540;
}

.host-job-row > span:first-child,
.cpanel-job-row > span:first-child {
    min-width: 0;
}

.host-jobs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    align-items: start;
}

.host-jobs-list-card table td,
.host-jobs-list-card table th {
    white-space: nowrap;
}

.host-jobs-list-card table td:nth-child(2),
.host-jobs-list-card table th:nth-child(2) {
    white-space: normal;
}

.host-jobs-list-card tr.is-selected-row td {
    background: #f7faff;
}

.host-job-detail-card {
    display: grid;
    gap: 16px;
}

.host-job-summary-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid #dbe6ff;
    border-radius: 6px;
    background: #f7faff;
}

.host-job-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #0a2540;
    font-size: 13px;
}

.host-job-progress {
    overflow: hidden;
    height: 8px;
    border-radius: 999px;
    background: #dbe6ff;
}

.host-job-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2c7be5;
}

.host-job-meta {
    grid-template-columns: 110px minmax(0, 1fr);
}

.host-job-section h3 {
    margin: 0 0 10px;
    color: #0a2540;
    font-size: 14px;
}

.host-job-timeline {
    padding: 0;
}

.host-job-timeline .timeline-message {
    display: none;
}

.host-job-payload summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.host-widget dl,
.cpanel-widget dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.host-widget dt,
.host-widget dd,
.cpanel-widget dt,
.cpanel-widget dd {
    margin: 0;
    padding: 4px 22px;
}

.host-widget dt,
.cpanel-widget dt {
    color: #586376;
    font-size: 12px;
    font-weight: 600;
}

.host-widget dd,
.cpanel-widget dd {
    padding-bottom: 12px;
    color: #0a2540;
    overflow-wrap: anywhere;
}

.host-stat-row,
.cpanel-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 22px;
}

.host-stat-row span,
.cpanel-stat-row span {
    color: #586376;
    font-size: 12px;
    font-weight: 600;
}

.host-stat-row strong,
.cpanel-stat-row strong {
    color: #0a2540;
    text-align: right;
}

.host-bandwidth-widget .host-widget-headline,
.cpanel-bandwidth-widget .cpanel-widget-headline {
    padding-right: 18px;
}

.host-usage-stat,
.cpanel-usage-stat {
    display: grid;
    gap: 9px;
    margin: 8px 18px 8px;
    padding: 12px 13px;
    border: 1px solid #dbe6ff;
    border-radius: 4px;
    background: #f7faff;
    color: #0a2540;
}

.host-usage-stat:hover,
.cpanel-usage-stat:hover {
    border-color: #b9ccf7;
    background: #f2f6ff;
    text-decoration: none;
}

.host-usage-stat-static:hover {
    border-color: #dbe6ff;
    background: #f7faff;
}

.host-usage-stat-head,
.host-usage-meta,
.cpanel-usage-stat-head,
.cpanel-usage-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.host-usage-stat-head span,
.host-usage-meta span,
.cpanel-usage-stat-head span,
.cpanel-usage-meta span {
    color: #586376;
    font-size: 12px;
    font-weight: 600;
}

.host-usage-stat-head strong,
.cpanel-usage-stat-head strong {
    color: #0a2540;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
    text-align: right;
}

.host-usage-meta strong,
.cpanel-usage-meta strong {
    color: #586376;
    font-size: 12px;
    text-align: right;
}

.host-usage-meter,
.cpanel-usage-meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbe6ff;
}

.host-usage-meter span,
.cpanel-usage-meter span {
    display: block;
    height: 100%;
    min-width: 0;
    border-radius: inherit;
    background: #2c7be5;
}

.host-stat-row-compact,
.cpanel-stat-row-compact {
    padding-top: 6px;
    padding-bottom: 4px;
}

.host-stat-note,
.cpanel-stat-note {
    padding: 8px 22px 18px;
    color: var(--muted);
    font-size: 12px;
}

.diskusage-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
}

.diskusage-single-layout {
    grid-template-columns: minmax(0, 1fr);
}

.diskusage-card {
    padding: 0;
}

.diskusage-intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px 16px;
    border-bottom: 1px solid #e4e9f2;
}

.diskusage-intro h2 {
    margin: 0 0 8px;
    color: #0a2540;
    font-size: 20px;
    font-weight: 600;
}

.diskusage-intro p {
    max-width: 760px;
    margin: 0;
    color: #586376;
    line-height: 1.5;
}

.diskusage-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 22px;
}

.diskusage-summary-card {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border: 1px solid #e4e9f2;
    border-radius: 4px;
    background: #f7f9fc;
}

.diskusage-summary-card span {
    color: #586376;
    font-size: 12px;
    font-weight: 700;
}

.diskusage-summary-card strong {
    color: #0a2540;
    font-size: 20px;
    font-weight: 600;
}

.diskusage-note {
    margin: 0 22px 16px;
    padding: 12px 14px;
    border: 1px solid #dbeafe;
    border-radius: 4px;
    background: #eff6ff;
    color: #28456e;
    line-height: 1.5;
}

.diskusage-table-wrap {
    overflow-x: auto;
    border-top: 1px solid #e4e9f2;
}

.diskusage-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    color: #0a2540;
}

.diskusage-table th,
.diskusage-table td {
    padding: 11px 14px;
    border-bottom: 1px solid #e4e9f2;
    text-align: left;
    vertical-align: middle;
}

.diskusage-table th {
    background: #f7f9fc;
    color: #586376;
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
}

.diskusage-table tbody tr:hover {
    background: #f7f9fc;
}

.diskusage-files-panel {
    margin: 16px 22px 22px;
    overflow: hidden;
    border: 1px solid #e4e9f2;
    border-radius: 4px;
    background: #fff;
}

.diskusage-files-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    color: #365aa2;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.diskusage-files-panel summary::-webkit-details-marker {
    display: none;
}

.diskusage-files-panel summary::before {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #e7ecfc;
    color: #365aa2;
    font-weight: 900;
}

.diskusage-files-panel[open] summary::before {
    content: "-";
}

.diskusage-files-panel summary span {
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
}

.diskusage-files-panel summary strong {
    color: #586376;
    font-size: 12px;
    white-space: nowrap;
}

.diskusage-files-wrap {
    max-height: 520px;
    overflow: auto;
    border-top: 1px solid #e4e9f2;
}

.diskusage-table tfoot td {
    background: #fbfcfe;
    color: #0a2540;
}

.diskusage-location {
    width: 46%;
}

.diskusage-path {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.diskusage-path.level-1 { padding-left: 18px; }
.diskusage-path.level-2 { padding-left: 36px; }
.diskusage-path.level-3 { padding-left: 54px; }
.diskusage-path.level-4 { padding-left: 72px; }

.diskusage-path a,
.diskusage-path span:last-child {
    min-width: 0;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.diskusage-path a {
    color: #365aa2;
}

.diskusage-path span:last-child {
    color: #0a2540;
}

.diskusage-path-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    border-radius: 4px;
    background: #e7ecfc;
    color: #365aa2;
    font-size: 11px;
    font-weight: 900;
}

.diskusage-path-icon::before { content: "K"; }
.diskusage-path-icon.is-file {
    background: #f3f4f6;
    color: #586376;
}

.diskusage-path-icon.is-file::before { content: "D"; }

.diskusage-usage-cell {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) 46px;
    gap: 10px;
    align-items: center;
}

.diskusage-progress {
    height: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e9f2;
}

.diskusage-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2d5ef2;
}

.diskusage-usage-cell strong {
    color: #586376;
    font-size: 12px;
    text-align: right;
}


.empty-state {
    padding: 22px;
    line-height: 1.55;
}

.secret-card {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
    padding: 18px;
    border-color: #bfe8d0;
}

.code-block {
    max-width: 100%;
    margin: 0;
    padding: 14px;
    overflow-x: auto;
    border-radius: 8px;
    background: #111827;
    color: #e5e7eb;
    font-size: 13px;
    line-height: 1.6;
}

.code-block::-webkit-scrollbar,
.nav::-webkit-scrollbar,
.fm-content::-webkit-scrollbar,
.table-card::-webkit-scrollbar {
    height: 10px;
}

.code-block::-webkit-scrollbar-thumb,
.nav::-webkit-scrollbar-thumb,
.fm-content::-webkit-scrollbar-thumb,
.table-card::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd5e1;
}

.code-block-light {
    background: #f8fafc;
    color: var(--text);
    border: 1px solid var(--line);
}

.section-head-inline {
    margin: -18px -18px 14px;
}

.detail-list {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 10px 14px;
    margin: 0;
}

.detail-list dt {
    color: var(--muted);
    font-weight: 800;
}

.detail-list dd {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.timeline-card {
    margin-top: 18px;
    padding: 0;
}

.queue-cleanup-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.queue-cleanup-card p {
    margin: 8px 0 0;
    line-height: 1.5;
}

.queue-cleanup-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 0.45fr)) minmax(220px, 1fr) auto;
    gap: 12px;
    align-items: end;
}

.queue-status-checks {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.queue-status-checks label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.queue-row-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.queue-row-actions form {
    margin: 0;
}

.health-summary-grid {
    margin-bottom: 18px;
}

.health-card {
    border-left: 4px solid var(--line);
}

.health-ok {
    border-left-color: #22c55e;
}

.health-warn {
    border-left-color: #f59e0b;
}

.health-bad {
    border-left-color: #ef4444;
}

.health-disk-card {
    margin-bottom: 18px;
}

.health-progress {
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.health-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #f59e0b);
}

.health-disk-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.mini-progress,
.cpanel-import-progress {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5eaf2;
}

.mini-progress span,
.cpanel-import-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    transition: width 0.2s ease;
}

.mini-progress {
    width: 150px;
    max-width: 100%;
    margin-bottom: 6px;
}

.cpanel-import-hero,
.cpanel-import-status-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
    gap: 22px;
    align-items: start;
    margin-bottom: 18px;
}

.cpanel-import-hero h2 {
    margin: 8px 0 8px;
    font-size: 22px;
}

.cpanel-import-form {
    padding: 0;
}

.mono-input,
.cpanel-import-path {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.truncate-line {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cpanel-import-status-card {
    grid-template-columns: minmax(0, 0.7fr) minmax(360px, 1fr);
    align-items: center;
}

.cpanel-import-status-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.cpanel-import-progress-wrap {
    display: grid;
    gap: 8px;
}

.cpanel-import-progress-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 13px;
}

.cpanel-import-progress-meta strong {
    color: var(--text);
}

.cpanel-import-progress-detail {
    margin-bottom: 18px;
}

.cpanel-import-progress-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 12px;
}

.cpanel-import-progress-detail-grid strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.cpanel-import-layout {
    margin-bottom: 18px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
}

.detail-grid div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.detail-grid span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.detail-grid strong {
    overflow-wrap: anywhere;
}

.cpanel-import-path {
    margin: 0 18px 18px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--muted);
}

.cleanup-filter-card {
    margin-bottom: 18px;
}

.cleanup-filter-form {
    display: grid;
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(150px, 0.75fr)) auto;
    gap: 14px;
    align-items: end;
}

.cleanup-filter-actions,
.cleanup-row-actions,
.cleanup-detail-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cleanup-filter-actions form,
.cleanup-row-actions form,
.cleanup-detail-actions form {
    margin: 0;
}

.cleanup-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
    align-items: start;
}

.cleanup-detail-card {
    padding: 0;
    overflow: hidden;
}

.cleanup-detail-card > .alert,
.cleanup-detail-card > .empty-state,
.cleanup-detail-card > h3,
.cleanup-detail-card > .cleanup-detail-summary,
.cleanup-detail-card > .cleanup-detail-actions,
.cleanup-detail-card > .cleanup-resource-grid,
.cleanup-detail-card > .cleanup-step-row {
    margin-left: 18px;
    margin-right: 18px;
}

.cleanup-detail-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 16px;
}

.cleanup-detail-summary div,
.cleanup-resource-card {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    min-width: 0;
}

.cleanup-detail-summary span,
.cleanup-resource-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.cleanup-detail-summary strong,
.cleanup-resource-card strong {
    overflow-wrap: anywhere;
}

.cleanup-resource-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.cleanup-resource-list {
    display: grid;
    gap: 5px;
    margin: 0;
    padding-left: 16px;
}

.cleanup-resource-list li {
    overflow-wrap: anywhere;
}

.cleanup-step-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
}

.cleanup-step-row pre {
    max-height: 220px;
    overflow: auto;
    margin: 8px 0 0;
    padding: 10px;
    border-radius: 8px;
    background: #111827;
    color: #e5e7eb;
    font-size: 12px;
}

.cleanup-dryrun-card {
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.cpanel-import-verification-card {
    margin-top: 18px;
}

.cpanel-import-help-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.cpanel-import-help-card h2 {
    margin: 8px 0 7px;
    font-size: 20px;
    line-height: 1.25;
}

.cpanel-import-help-card p {
    margin: 0;
    line-height: 1.5;
}

.cpanel-import-help-list {
    display: grid;
    gap: 10px;
}

.cpanel-import-help-list div {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.cpanel-import-help-list strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary);
}

.cpanel-import-help-list span {
    line-height: 1.45;
}

.verification-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
}

.verification-summary-grid div {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.verification-summary-grid span,
.verification-check-row span:first-child {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.verification-summary-grid strong {
    font-size: 22px;
}

.verification-warning-list {
    display: grid;
    gap: 8px;
    padding: 0 18px 14px;
}

.verification-check-list {
    display: grid;
    gap: 0;
    padding: 0 18px 18px;
}

.verification-check-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: start;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.verification-check-row > div:first-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.verification-check-row strong {
    overflow-wrap: anywhere;
}

.verification-check-detail {
    grid-column: 1 / -1;
}

.verification-check-detail summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.verification-check-detail pre {
    max-height: 240px;
    overflow: auto;
    margin: 8px 0 0;
    padding: 10px;
    border-radius: 8px;
    background: #111827;
    color: #e5e7eb;
    font-size: 12px;
}

.cpanel-import-db-card,
.cpanel-import-steps-card {
    margin-top: 18px;
}

.restore-check-list {
    display: grid;
    gap: 8px;
}

.restore-check {
    display: grid;
    grid-template-columns: 34px minmax(90px, 0.3fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    font-size: 13px;
}

.restore-check span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #e5e7eb;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

.restore-check small {
    color: var(--muted);
    font-weight: 700;
}

.restore-check.is-ok span {
    background: #dcfce7;
    color: #166534;
}

.restore-check.is-bad span {
    background: #fee2e2;
    color: #991b1b;
}

.timeline {
    display: grid;
    gap: 0;
    padding: 18px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 12px;
    padding-bottom: 18px;
}

.timeline-item:not(:last-child)::before {
    position: absolute;
    top: 18px;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: var(--line);
    content: "";
}

.timeline-dot {
    position: relative;
    z-index: 1;
    width: 16px;
    height: 16px;
    margin-top: 4px;
    border: 3px solid #dbe6ff;
    border-radius: 999px;
    background: var(--primary);
}

.timeline-body {
    display: grid;
    gap: 8px;
}

.timeline-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline-message {
    font-weight: 800;
}

.timeline-context {
    margin-top: 2px;
}

.timeline-context summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.timeline-context pre {
    max-height: 260px;
    overflow: auto;
    margin: 8px 0 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: #334155;
    font-size: 12px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.file-page-head {
    margin-bottom: 12px;
}

.file-manager-shell {
    overflow: hidden;
    border: 1px solid #cfd8e5;
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 8px 28px rgba(23, 32, 51, 0.06);
}

.fm-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 62px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.fm-account {
    display: grid;
    gap: 3px;
    min-width: 220px;
}

.fm-account strong {
    font-size: 15px;
}

.fm-account span {
    color: var(--muted);
    font-size: 13px;
}

.fm-limits {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 0;
}

.fm-limits span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 8px;
    border: 1px solid #d9e2ef;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.fm-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.fm-tool,
.fm-inline-tool {
    position: relative;
}

.fm-tool summary,
.fm-tool-link,
.fm-inline-tool summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #cad5e3;
    border-radius: 6px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

.fm-tool summary:hover,
.fm-tool-link:hover,
.fm-inline-tool summary:hover {
    border-color: rgba(36, 87, 214, 0.45);
    color: var(--primary);
}

.fm-tool summary::-webkit-details-marker,
.fm-inline-tool summary::-webkit-details-marker {
    display: none;
}

.fm-tool > .fm-menu-form {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    right: 0;
    display: grid;
    min-width: 300px;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(23, 32, 51, 0.15);
}

.fm-menu-form {
    display: grid;
    gap: 9px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.fm-pathbar {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 52px;
    padding: 9px 14px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    overflow-x: auto;
    white-space: nowrap;
}

.fm-pathbar a {
    color: var(--primary);
    font-weight: 800;
}

.fm-pathbar span {
    color: var(--muted);
}

.fm-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.fm-jump .input {
    width: 320px;
    min-height: 34px;
    padding: 7px 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
}

.fm-main {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 560px;
}

.fm-sidebar {
    padding: 12px;
    border-right: 1px solid var(--line);
    background: #f8fafc;
    overflow: auto;
}

.fm-tree-item {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    color: #344056;
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.fm-tree-item:hover,
.fm-tree-item.is-active {
    background: #e8f0ff;
    color: var(--primary);
}

.fm-content {
    min-width: 0;
    overflow-x: auto;
    overflow-y: visible;
    background: #fff;
}

.fm-table {
    min-width: 860px;
    font-size: 14px;
    table-layout: fixed;
}

.fm-bulkbar {
    position: sticky;
    top: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(220px, 0.9fr) auto;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
}

.fm-bulkbar-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.fm-bulkbar-main strong {
    white-space: nowrap;
}

.fm-bulkbar-main label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fm-bulkbar-main .input {
    width: min(360px, 42vw);
    min-height: 34px;
    padding: 7px 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    text-transform: none;
}

.fm-bulk-destinations {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    overflow-x: auto;
    padding-bottom: 1px;
}

.fm-destination-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: 140px;
    padding: 5px 9px;
    overflow: hidden;
    border: 1px solid #cad5e3;
    border-radius: 999px;
    background: #fff;
    color: #344056;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fm-destination-chip:hover {
    border-color: rgba(36, 87, 214, 0.45);
    color: var(--primary);
}

.fm-bulkbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.fm-bulkbar-actions .button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.fm-table th,
.fm-table td {
    padding: 10px 12px;
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.fm-table th {
    color: #516070;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.fm-table tbody tr:hover {
    background: #f8fbff;
}

.fm-table tbody tr.is-selected {
    background: #eef5ff;
}

.fm-check {
    width: 38px;
    text-align: center;
}

.fm-name {
    width: 38%;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.fm-name a {
    color: var(--primary);
}

.fm-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 24px;
    margin-right: 9px;
    border-radius: 5px;
    background: #eef2f8;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    vertical-align: middle;
}

.fm-glyph.is-folder {
    background: #fff4cf;
    color: #8a5b00;
}

.fm-glyph.is-file {
    background: #eaf8f0;
    color: #167c4a;
}

.fm-actions-col {
    width: 280px;
}

.fm-size-col,
.fm-size-cell {
    width: 92px;
    text-align: right;
    white-space: nowrap;
}

.fm-type-col,
.fm-type-cell {
    width: 96px;
    color: var(--muted);
    white-space: nowrap;
}

.fm-date-col,
.fm-date-cell {
    width: 138px;
    color: var(--muted);
    white-space: nowrap;
}

.fm-size-cell,
.fm-type-cell,
.fm-date-cell {
    font-size: 13px;
}

.fm-row-tools {
    display: flex;
    align-items: center;
    gap: 7px 10px;
    flex-wrap: wrap;
    max-width: 100%;
}

.fm-inline-tool {
    max-width: 100%;
}

.fm-inline-tool[open] {
    flex-basis: 100%;
}

.fm-row-tools a,
.fm-link-danger,
.fm-inline-tool summary {
    border: 0;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    padding: 0;
    white-space: nowrap;
}

.fm-link-danger {
    color: var(--danger);
}

.fm-row-form {
    position: static;
    z-index: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 8px;
    padding: 9px;
    box-shadow: none;
}

.fm-row-form .input-small {
    width: 100%;
}

.input-file-compact {
    min-height: 36px;
    padding: 7px;
}

.fm-upload-form {
    min-width: min(340px, 84vw);
}

.fm-upload-meta,
.fm-upload-status {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.fm-upload-progress {
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6edf7;
}

.fm-upload-progress > div {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    transition: width 160ms ease;
}

.fm-upload-form .button[disabled] {
    opacity: 0.6;
    cursor: wait;
}

.fm-empty-row {
    padding: 28px !important;
    text-align: center;
}

.fm-editor {
    border-bottom: 1px solid var(--line);
    background: #fbfcfe;
}

.fm-editor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.fm-editor-head div:first-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.fm-editor-head strong {
    overflow-wrap: anywhere;
}

.fm-editor-head span {
    color: var(--muted);
    font-size: 13px;
}

.fm-editor-form {
    padding: 14px;
}

.backup-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
    gap: 18px;
    margin-bottom: 18px;
}

.backup-hero-compact {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto;
}

.backup-detail-list {
    margin-top: 14px;
}

.backup-create-form {
    display: grid;
    align-content: start;
    gap: 14px;
}

.page-host-backups {
    display: block;
}

.host-backup-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    margin-bottom: 18px;
    padding: 24px;
}

.host-backup-hero h2 {
    max-width: 780px;
    margin: 6px 0 10px;
    color: #0a2540;
    font-size: 24px;
    line-height: 1.25;
}

.host-backup-hero .muted {
    max-width: 820px;
    line-height: 1.55;
}

.host-backup-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.host-backup-path {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding: 8px 10px;
    border: 1px solid #d9e2ef;
    border-radius: 4px;
    background: #f8fafc;
}

.host-backup-path span {
    color: #586376;
    font-size: 12px;
    font-weight: 800;
}

.host-backup-path code,
.host-backup-file {
    overflow-wrap: anywhere;
}

.host-backup-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.host-backup-stat {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.host-backup-stat span {
    color: #586376;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.host-backup-stat strong {
    color: #0a2540;
    font-size: 24px;
    line-height: 1.15;
}

.host-backup-stat small {
    color: #586376;
    font-size: 13px;
}

.host-backup-download-card,
.host-backup-table-card {
    margin-bottom: 18px;
}

.host-backup-section-head {
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
}

.host-backup-section-head h2 {
    margin: 0 0 6px;
    color: #0a2540;
    font-size: 20px;
    font-weight: 700;
}

.host-backup-section-head .muted {
    margin: 0;
}

.host-backup-download-form {
    display: grid;
    gap: 8px;
    padding: 20px;
}

.host-backup-download-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.host-backup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.host-backup-empty-inline,
.host-backup-empty-block {
    display: grid;
    gap: 4px;
    padding: 20px;
    color: #586376;
    line-height: 1.45;
}

.host-backup-empty-inline strong {
    color: #0a2540;
}

.danger-text {
    color: var(--danger);
}

.page-backup-cpanel {
    width: min(1180px, calc(100% - 32px));
    padding: 22px 28px 30px;
    background: #fff;
}

.cp-backup-cpanel {
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
}

.cp-backup-cpanel .page-header {
    margin: 0 0 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid #eee;
}

.cp-backup-cpanel .page-title {
    color: #333;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}

.cp-backup-cpanel .body-content {
    min-width: 0;
}

.cp-backup-cpanel .description {
    margin: 0 0 10px;
    color: #333;
    line-height: 1.42857143;
}

.cp-backup-cpanel .section {
    margin-bottom: 30px;
}

.cp-backup-cpanel h2,
.cp-backup-cpanel h3 {
    color: #333;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.1;
}

.cp-backup-cpanel h2 {
    margin: 20px 0 10px;
    font-size: 22px;
}

.cp-backup-cpanel h3 {
    margin: 20px 0 10px;
    font-size: 18px;
}

.cp-backup-cpanel a {
    color: #337ab7;
}

.cp-backup-cpanel a:hover,
.cp-backup-cpanel a:focus {
    color: #23527c;
    text-decoration: underline;
}

.cp-backup-cpanel code {
    padding: 2px 4px;
    border-radius: 4px;
    background-color: #f9f2f4;
    color: #c7254e;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 90%;
}

.cp-backup-cpanel label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    color: #333;
    font-weight: 700;
}

.cp-backup-cpanel .form-group {
    margin-bottom: 15px;
}

.cp-backup-cpanel .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.cp-backup-cpanel [class*="col-"] {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.cp-backup-cpanel .col-sm-6,
.cp-backup-cpanel .col-md-6,
.cp-backup-cpanel .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.cp-backup-cpanel .form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    background-image: none;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    color: #555;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.42857143;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.cp-backup-cpanel .form-control:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}

.cp-backup-cpanel .form-control[disabled],
.cp-backup-cpanel .form-control[readonly] {
    background-color: #eee;
    cursor: not-allowed;
    opacity: 1;
}

.cp-backup-cpanel .input-group {
    position: relative;
    display: table;
    width: 100%;
    border-collapse: separate;
}

.cp-backup-cpanel .input-group-addon,
.cp-backup-cpanel .input-group .form-control {
    display: table-cell;
}

.cp-backup-cpanel .input-group-addon {
    width: 1%;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    background-color: #eee;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.cp-backup-cpanel .input-group .form-control {
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
    border-radius: 0 4px 4px 0;
}

.cp-backup-cpanel .radio {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cp-backup-cpanel .radio label {
    min-height: 20px;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
}

.cp-backup-cpanel input[type="radio"],
.cp-backup-cpanel input[type="checkbox"] {
    margin: 4px 4px 0 0;
    line-height: normal;
}

.cp-backup-cpanel .btn {
    display: inline-block;
    margin-bottom: 0;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 4px;
    background-image: none;
    box-shadow: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    touch-action: manipulation;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

.cp-backup-cpanel .btn:hover,
.cp-backup-cpanel .btn:focus {
    text-decoration: none;
}

.cp-backup-cpanel .btn-primary {
    border-color: #357ebd;
    background-color: #428bca;
    color: #fff;
}

.cp-backup-cpanel .btn-primary:hover,
.cp-backup-cpanel .btn-primary:focus {
    border-color: #285e8e;
    background-color: #3276b1;
    color: #fff;
}

.cp-backup-cpanel .btn-default {
    border-color: #ccc;
    background-color: #fff;
    color: #333;
}

.cp-backup-cpanel .btn-default:hover,
.cp-backup-cpanel .btn-default:focus {
    border-color: #adadad;
    background-color: #e6e6e6;
    color: #333;
}

.cp-backup-cpanel .btn-xs {
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
}

.cp-backup-cpanel .table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    background-color: transparent;
}

.cp-backup-cpanel .table th,
.cp-backup-cpanel .table td {
    padding: 8px;
    border-top: 1px solid #ddd;
    line-height: 1.42857143;
    text-align: left;
    vertical-align: top;
}

.cp-backup-cpanel .table thead th {
    border-top: 0;
    border-bottom: 2px solid #ddd;
    vertical-align: bottom;
}

.cp-backup-cpanel .table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.cp-backup-cpanel .label {
    display: inline;
    padding: 0.2em 0.6em 0.3em;
    border-radius: 0.25em;
    color: #fff;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
}

.cp-backup-cpanel .label-default { background-color: #777; }
.cp-backup-cpanel .label-success { background-color: #5cb85c; }
.cp-backup-cpanel .label-info { background-color: #5bc0de; }
.cp-backup-cpanel .label-warning { background-color: #f0ad4e; }
.cp-backup-cpanel .label-danger { background-color: #d9534f; }

.cp-backup-cpanel .help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #737373;
}

.cp-backup-cpanel .text-danger {
    color: #a94442;
}

.cp-backup-cpanel .list-unstyled {
    padding-left: 0;
    list-style: none;
}

.cp-backup-submit-form {
    margin: 0 0 20px;
}

.cp-backup-home-note {
    margin-top: 6px;
}

.cp-backup-list {
    max-width: 920px;
    margin: 0 0 20px;
}

.cp-backup-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.cp-backup-list-item div {
    min-width: 0;
}

.cp-backup-list-item a {
    overflow-wrap: anywhere;
}

.cp-backup-list-item span {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 13px;
}

.cp-backup-list-item form,
.cp-backup-table form {
    margin: 0;
}

.cp-backup-table {
    margin-top: 15px;
}

.cp-backup-table td:first-child {
    overflow-wrap: anywhere;
}

.cp-backup-cpanel .return-link {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cp-backup-cpanel .return-link a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cp-backup-cpanel .glyphicon-circle-arrow-left::before {
    content: "\2190";
    font-weight: 700;
}

@media (max-width: 768px) {
    .page-backup-cpanel {
        width: min(100% - 20px, 1180px);
        padding: 18px 16px 24px;
    }

    .cp-backup-cpanel .col-sm-6,
    .cp-backup-cpanel .col-md-6,
    .cp-backup-cpanel .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cp-backup-list-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Sade web bandwidth host ekrani. */
.bandwidth-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 18px;
}

.bandwidth-chart-card {
    margin-bottom: 18px;
    overflow: hidden;
    padding-bottom: 16px;
}

.bandwidth-chart {
    display: grid;
    grid-template-columns: repeat(30, minmax(7px, 1fr));
    align-items: end;
    gap: 6px;
    height: 228px;
    margin: 20px;
    padding: 18px 16px 12px;
    border: 1px solid #d9e2ef;
    border-radius: 4px;
    background: linear-gradient(to top, #fff, #f8fbff);
}

.bandwidth-bar {
    display: flex;
    align-items: flex-end;
    min-width: 0;
    height: 100%;
    border-radius: 3px;
    background: rgba(66, 139, 202, 0.08);
}

.bandwidth-bar span {
    width: 100%;
    min-height: 4px;
    border-radius: 3px 3px 0 0;
    background: #428bca;
}

.bandwidth-chart-scale {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: -9px 20px 0;
    color: var(--muted);
    font-size: 13px;
}

.bandwidth-table-card {
    overflow-x: auto;
}

.bandwidth-table {
    min-width: 680px;
}

@media (max-width: 860px) {
    .bandwidth-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bandwidth-chart {
        gap: 3px;
        height: 190px;
        margin: 16px;
        padding-right: 10px;
        padding-left: 10px;
    }

    .bandwidth-chart-scale {
        margin-right: 16px;
        margin-left: 16px;
    }
}

@media (max-width: 560px) {
    .bandwidth-summary-grid {
        grid-template-columns: 1fr;
    }
}

.restore-history-card {
    margin-top: 18px;
}

.mono-small {
    margin-top: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.button-block {
    justify-content: center;
    width: 100%;
}

.mysql-hero {
    display: grid;
    grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(150px, 0.55fr));
    gap: 18px;
    margin-bottom: 22px;
    padding: 20px;
}

.mysql-prefix {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 800;
}

.mysql-prefix,
.mysql-prefix span {
    padding: 10px 12px;
}

.mysql-prefix span {
    margin: -10px -12px -10px 8px;
    background: #fff;
    color: var(--muted);
    font-weight: 700;
}

.mysql-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.mysql-form {
    margin-top: 18px;
    gap: 14px;
}

.mysql-prefixed-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.mysql-prefixed-input span {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 800;
}

.mysql-prefixed-input .input {
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
}

.mysql-section {
    margin-top: 18px;
}

.mysql-page-actions,
.mysql-jumpbar,
.mysql-table-head,
.mysql-user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mysql-page-actions {
    justify-content: flex-end;
}

.mysql-jumpbar {
    margin-bottom: 18px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
}

.mysql-jumpbar a {
    padding: 9px 12px;
    border-radius: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.mysql-jumpbar a:hover {
    background: #eef2f8;
    color: var(--text);
}

.mysql-cpanel-section {
    margin-bottom: 22px;
    padding: 24px;
}

.table-card.mysql-cpanel-section {
    padding: 0;
    overflow: visible;
}

.mysql-section-titlebar,
.mysql-table-head {
    justify-content: space-between;
    gap: 16px;
}

.mysql-section-titlebar p,
.mysql-table-head .muted {
    margin: 8px 0 0;
}

.mysql-action-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
    align-items: stretch;
}

.mysql-create-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(120px, auto);
    gap: 14px;
    align-items: end;
    margin-top: 22px;
}

.mysql-create-row label,
.mysql-search-form label,
.mysql-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.mysql-create-row .input,
.mysql-form .input,
.mysql-search-form .input {
    color: var(--text);
    font-weight: 600;
}

.mysql-search-panel {
    margin-bottom: 22px;
}

.mysql-search-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: end;
    margin-top: 22px;
}

.mysql-search-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.mysql-cpanel-table {
    table-layout: fixed;
}

.mysql-database-table th:nth-child(1) {
    width: 28%;
}

.mysql-database-table th:nth-child(2) {
    width: 15%;
}

.mysql-database-table th:nth-child(3) {
    width: 37%;
}

.mysql-database-table th:nth-child(4) {
    width: 20%;
}

.mysql-users-table th:nth-child(1) {
    width: 32%;
}

.mysql-users-table th:nth-child(2) {
    width: 43%;
}

.mysql-users-table th:nth-child(3) {
    width: 25%;
}

.mysql-cpanel-table td {
    vertical-align: top;
    padding: 18px 20px;
}

.mysql-object-name,
.mysql-object-meta {
    display: block;
    overflow-wrap: anywhere;
}

.mysql-object-meta {
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.mysql-priv-list,
.mysql-chip-list {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.mysql-priv-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: auto;
    max-width: 100%;
    min-height: 30px;
    padding: 5px 6px 5px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.mysql-priv-item span {
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: 800;
}

.mysql-priv-item form {
    flex: 0 0 auto;
}

.mysql-icon-danger {
    width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff0ee;
    color: var(--danger);
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
}

.mysql-icon-danger:hover {
    background: #ffe1de;
}

.mysql-empty-row {
    padding: 28px !important;
    text-align: center;
}

.mysql-user-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mysql-user-actions {
    align-items: flex-start;
}

.phpmyadmin-card,
.phpmyadmin-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 16px;
    margin-bottom: 18px;
}

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

.phpmyadmin-panel {
    padding: 0;
}

.phpmyadmin-db-grid {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.phpmyadmin-db-card {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px 16px;
}

.phpmyadmin-db-card strong {
    color: var(--text);
    display: block;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.phpmyadmin-db-card small {
    color: var(--muted);
    display: block;
    margin-top: 4px;
}

.phpmyadmin-db-card form {
    margin: 0;
}

.compact-empty-state {
    margin: 18px;
}

.inline-form {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.inline-action-form {
    display: inline-flex;
    margin: 0;
    vertical-align: top;
}

.mysql-row-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.settings-health-grid .metric-text {
    font-size: 16px;
    line-height: 1.4;
    word-break: break-word;
}

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

.settings-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.settings-overview-card {
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 150px;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.settings-overview-card:hover {
    border-color: rgba(35, 92, 160, .35);
    box-shadow: 0 12px 32px rgba(35, 92, 160, .12);
    transform: translateY(-1px);
}

.settings-overview-card strong {
    color: var(--text);
    font-size: 18px;
}

.settings-overview-card small,
.settings-overview-kicker {
    color: var(--muted);
    line-height: 1.5;
}

.settings-overview-kicker {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.settings-subnav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.settings-subnav a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 900;
    padding: 9px 12px;
    text-decoration: none;
}

.settings-subnav a.is-active,
.settings-subnav a:hover {
    background: #eef5ff;
    border-color: rgba(35, 92, 160, .28);
    color: var(--primary);
}

.settings-section-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fbfe;
    font-weight: 800;
}

.toggle-row input {
    width: 18px;
    height: 18px;
}

.settings-note {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.settings-note code {
    display: block;
    margin-top: 6px;
    white-space: normal;
    word-break: break-all;
}

.settings-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
}

.settings-result {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: grid;
    gap: 6px;
    padding: 10px 12px;
}

.settings-result span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.settings-result code {
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
    word-break: break-word;
}

.node-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.node-detail-list {
    grid-template-columns: 100px minmax(0, 1fr);
}

.node-detail-list code {
    word-break: break-all;
}

.node-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.node-field-wide {
    grid-column: 1 / -1;
}

.node-edit-actions {
    justify-content: flex-end;
    margin-top: 12px;
}

.node-detail-hero {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr) minmax(220px, 0.8fr) minmax(220px, 0.8fr);
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px;
}

.node-detail-hero > div {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.node-detail-status {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.node-ftp-panel {
    margin-bottom: 18px;
    padding: 0;
    overflow: hidden;
}

.node-ftp-alert {
    display: grid;
    gap: 4px;
    margin: 14px 18px 0;
}

.node-ftp-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
    gap: 18px;
    padding: 18px;
    align-items: start;
}

.node-ftp-checks h3 {
    margin: 0 0 10px;
    color: #0a2540;
    font-size: 14px;
}

.node-ftp-check-list {
    display: grid;
    gap: 9px;
}

.node-ftp-check-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f8fafc;
}

.node-ftp-check-row > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.node-ftp-check-row strong,
.node-ftp-check-row .muted {
    overflow-wrap: anywhere;
}

.node-list-ftp-status {
    display: grid;
    gap: 5px;
    margin-top: 8px;
}

.node-detail-metrics {
    margin-bottom: 18px;
}

.node-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}

.node-detail-main,
.node-detail-side {
    padding: 18px;
}

.node-detail-save-actions {
    justify-content: flex-end;
    margin-top: 4px;
}

.node-detail-side .detail-list {
    grid-template-columns: 110px minmax(0, 1fr);
}

.node-detail-tables {
    align-items: start;
}

.dns-card {
    margin-bottom: 20px;
}

.dns-record-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.dns-code {
    margin-top: 8px;
}

.dns-detail-list {
    margin-top: 8px;
}

.account-actions {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.account-summary-card {
    display: grid;
    gap: 6px;
    min-height: 96px;
}

.account-summary-card strong {
    font-size: 28px;
    line-height: 1;
}

.account-table-card {
    overflow-x: auto;
}

.account-table-head {
    align-items: flex-start;
}

.account-table {
    table-layout: fixed;
}

.account-table th:nth-child(1) {
    width: 28%;
}

.account-table th:nth-child(2) {
    width: 9%;
}

.account-table th:nth-child(3) {
    width: 12%;
}

.account-table th:nth-child(4) {
    width: 22%;
}

.account-table th:nth-child(5) {
    width: 14%;
}

.account-table th:nth-child(6) {
    width: 15%;
}

.account-identity {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.account-domain {
    display: block;
    font-size: 15px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.account-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12px;
}

.account-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f2f5fa;
}

.account-path {
    display: block;
    color: #334155;
    font-size: 12px;
    line-height: 1.45;
    white-space: normal;
    word-break: break-all;
}

.account-error {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff4f2;
    color: var(--danger);
    font-size: 12px;
    line-height: 1.45;
}

.account-date {
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 13px;
}

.account-action-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    flex-wrap: wrap;
}

.account-action-bar .inline-action-form {
    margin: 0;
}

body.modal-open {
    overflow: hidden;
}

.hn-modal[hidden] {
    display: none;
}

.hn-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 18px;
}

.hn-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.hn-modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.hn-modal-danger {
    border-color: #ffd2cb;
}

.hn-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.hn-modal-head h2 {
    margin: 0 0 5px;
    font-size: 21px;
    letter-spacing: 0;
}

.hn-modal-form {
    gap: 16px;
}

.hn-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 2px;
}

.delete-confirm-box {
    display: grid;
    gap: 7px;
    padding: 12px;
    border: 1px solid #ffd2cb;
    border-radius: 8px;
    background: #fff7f5;
}

.delete-confirm-box strong {
    overflow-wrap: anywhere;
}

.restore-info-box {
    border-color: #cfe0ff;
    background: #f4f8ff;
}

.cpanel-username-keep-box {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
}

.cpanel-username-override {
    margin-top: 10px;
}

.cpanel-username-warning {
    margin-top: 10px;
}

.cpanel-import-plan-card {
    margin-bottom: 18px;
}

.restore-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0 18px;
}

.restore-plan-tile {
    display: grid;
    gap: 5px;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
}

.restore-plan-tile span,
.restore-plan-tile small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.restore-plan-tile strong {
    overflow-wrap: anywhere;
}

.subsection-title {
    margin: 18px 0 10px;
    font-size: 15px;
}

.compact-table table {
    margin: 0;
}

.restore-confirm-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.restore-warning-confirm {
    align-items: flex-start;
}

.password-popover summary {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 8px;
    background: #eef2f8;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

.password-popover summary:hover {
    background: #dde5f1;
}

.danger-popover summary {
    background: #fff0ee;
    color: var(--danger);
}

.danger-popover summary:hover {
    background: #ffe1de;
}

.password-popover summary::-webkit-details-marker {
    display: none;
}

.inline-password-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: min(360px, 72vw);
    max-width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.ssl-summary-grid .metric-text {
    font-size: 16px;
    line-height: 1.35;
}

.ssl-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 16px;
    align-items: start;
}

.domain-management-layout,
.cron-layout,
.account-detail-grid,
.account-detail-tables {
    display: grid;
    gap: 18px;
    align-items: start;
}

.domain-management-layout {
    grid-template-columns: 1fr;
    margin-top: 18px;
}

.domain-create-card {
    padding: 20px;
}

.domain-create-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.domain-create-head .muted {
    margin-top: 5px;
    line-height: 1.45;
}

.domain-form {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 18px;
    align-items: start;
}

.domain-form-main {
    display: grid;
    gap: 14px;
    min-width: 0;
}

.domain-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.domain-type-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 10px;
    min-height: 82px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    align-content: start;
}

.domain-type-card:hover,
.domain-type-card.is-selected {
    border-color: rgba(36, 87, 214, 0.5);
    background: #f3f7ff;
}

.domain-type-card input {
    grid-row: 1 / span 2;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
}

.domain-type-card strong {
    font-size: 14px;
}

.domain-type-card span {
    min-width: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.domain-example-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.domain-example-strip span {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.domain-example-strip code {
    min-width: 0;
    overflow-wrap: anywhere;
}

.domain-root-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.domain-root-control .button {
    min-height: 42px;
}

.domain-preview-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid #d6e2f3;
    border-radius: 8px;
    background: #f8fbff;
    align-self: stretch;
}

.domain-preview-card strong {
    display: block;
    margin-top: 5px;
    font-size: 18px;
    overflow-wrap: anywhere;
}

.domain-preview-list {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px 12px;
    font-size: 13px;
}

.domain-submit {
    justify-self: start;
    min-width: 150px;
}

.domain-preview-list code {
    word-break: break-all;
}

.domain-table-card,
.cron-table-card {
    overflow-x: auto;
}

.domain-table {
    min-width: 960px;
    table-layout: fixed;
}

.domain-table th:nth-child(1) {
    width: 24%;
}

.domain-table th:nth-child(2) {
    width: 11%;
}

.domain-table th:nth-child(3) {
    width: 29%;
}

.domain-table th:nth-child(4) {
    width: 14%;
}

.domain-table th:nth-child(5) {
    width: 12%;
}

.domain-table th:nth-child(6) {
    width: 10%;
}

.domain-table-name {
    display: block;
    overflow-wrap: anywhere;
}

.domain-row-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    font-size: 12px;
}

.ops-summary-grid .metric-text {
    font-size: 16px;
    line-height: 1.35;
}

.ops-form-card,
.log-filter-card,
.log-view-card {
    margin-bottom: 18px;
}

.cron-layout {
    grid-template-columns: minmax(320px, 0.36fr) minmax(0, 1fr);
}

.cron-schedule-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.cron-preset-field {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px;
}

.cron-expression-preview {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 8px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 10px 12px;
}

.cron-expression-preview span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.cron-expression-preview code {
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    overflow-wrap: anywhere;
    text-align: right;
}

.cron-table {
    min-width: 880px;
}

.cron-table th:nth-child(1) {
    width: 18%;
}

.cron-table th:nth-child(2) {
    width: 18%;
}

.cron-table th:nth-child(3) {
    width: 38%;
}

.cron-table th:nth-child(4) {
    width: 14%;
}

.cron-table th:nth-child(5) {
    width: 12%;
}

.ftp-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.ftp-summary-card {
    display: grid;
    gap: 7px;
}

.ftp-summary-card span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ftp-summary-card strong {
    min-width: 0;
    color: #0a2540;
    font-size: 21px;
    overflow-wrap: anywhere;
}

.ftp-summary-card small {
    color: var(--muted);
}

.ftp-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.34fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ftp-create-card {
    display: grid;
    gap: 12px;
}

.ftp-create-card .muted {
    margin: 0 0 4px;
    line-height: 1.45;
}

.prefixed-input {
    display: flex;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f8fafc;
}

.prefixed-input span {
    display: inline-flex;
    align-items: center;
    max-width: 48%;
    min-width: 0;
    padding: 0 11px;
    color: var(--muted);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.prefixed-input .input {
    min-width: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
}

.ftp-table-card {
    overflow-x: auto;
}

.ftp-primary-setup {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
    gap: 14px;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    background: #f8fbff;
}

.ftp-primary-setup p {
    margin: 5px 0 0;
    line-height: 1.45;
}

.ftp-primary-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}

.ftp-table {
    min-width: 940px;
    table-layout: fixed;
}

.ftp-table th:nth-child(1) { width: 20%; }
.ftp-table th:nth-child(2) { width: 28%; }
.ftp-table th:nth-child(3) { width: 17%; }
.ftp-table th:nth-child(4) { width: 17%; }
.ftp-table th:nth-child(5) { width: 18%; }

.ftp-table code,
.ftp-connect-list code {
    word-break: break-all;
}

.ftp-row-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.ftp-help-card {
    margin-top: 18px;
}

.ftp-help-card .section-title {
    margin-bottom: 12px;
}

.ftp-connect-list {
    grid-template-columns: 130px minmax(0, 1fr);
}

.log-filter-card {
    padding: 16px;
}

.log-filter-form {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(120px, 0.25fr) auto;
    gap: 12px;
    align-items: end;
}

.log-view-card {
    padding: 18px;
}

.log-output {
    max-height: 620px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.account-detail-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
    margin-bottom: 18px;
    padding: 20px;
}

.account-detail-hero > div {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.account-detail-hero strong {
    min-width: 0;
    font-size: 20px;
    overflow-wrap: anywhere;
}

.account-detail-hero small {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.account-detail-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    padding: 14px;
}

.account-detail-actions form {
    margin: 0;
}

.account-package-card {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
    padding: 20px;
}

.package-usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.package-usage-item {
    display: grid;
    gap: 9px;
    padding: 13px;
    border: 1px solid #dbe6ff;
    border-radius: 5px;
    background: #f8fbff;
}

.package-usage-item.is-danger {
    border-color: #f3b2b2;
    background: #fff6f6;
}

.package-usage-item.is-warning {
    border-color: #ffd997;
    background: #fffaf0;
}

.package-usage-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.package-usage-head strong {
    color: #1f2d3d;
    font-size: 13px;
}

.package-usage-head span {
    color: #586376;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
}

.package-usage-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e3eaf7;
}

.package-usage-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2c7be5;
}

.package-usage-item.is-warning .package-usage-bar span {
    background: #c27a00;
}

.package-usage-item.is-danger .package-usage-bar span {
    background: #d64545;
}

.reseller-usage-panel {
    margin-bottom: 20px;
}

.package-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.package-stack-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
}

.package-form-card {
    padding: 0;
    overflow: hidden;
}

.package-form-card .form {
    padding: 20px;
}

.package-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package-form-section {
    display: grid;
    gap: 14px;
    padding: 16px;
    border: 1px solid #e1e8f4;
    border-radius: 6px;
    background: #fbfdff;
}

.package-form-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2f8;
}

.package-form-section-head strong {
    color: #1f2d3d;
    font-size: 15px;
}

.package-form-section-head span {
    color: var(--muted);
    font-size: 13px;
    text-align: right;
}

.package-identity-grid {
    grid-template-columns: minmax(360px, 1.4fr) minmax(320px, 1.2fr) minmax(180px, 0.5fr);
    align-items: end;
}

.package-quota-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
}

.package-form-card .prefixed-input {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    width: 100%;
}

.package-form-card .prefixed-input span {
    max-width: min(360px, 45vw);
}

.package-table-card {
    overflow-x: auto;
}

.package-badges,
.package-limit-strip {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.package-limit-strip {
    margin: 0 0 18px;
}

.package-limit-strip.compact {
    margin-bottom: 14px;
}

.package-limit-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid #dbe6ff;
    border-radius: 4px;
    background: #f8fbff;
    color: #334155;
    font-size: 12px;
}

.package-limit-pill.is-full {
    border-color: #f3b2b2;
    background: #fff6f6;
    color: #a62020;
}

.account-health-card {
    display: grid;
    gap: 16px;
    margin-bottom: 18px;
    padding: 20px;
}

.account-health-card .section-head {
    align-items: flex-start;
    gap: 14px;
}

.account-health-card .actions {
    align-items: center;
    flex-wrap: wrap;
}

.account-health-card form {
    margin: 0;
}

.account-health-summary {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) repeat(3, minmax(90px, 0.35fr));
    gap: 12px;
}

.account-health-summary > div {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft-bg);
}

.account-health-summary strong {
    font-size: 20px;
}

.account-health-list {
    display: grid;
    gap: 8px;
}

.account-health-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.account-health-row > div:first-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.account-health-row span {
    color: var(--muted);
    line-height: 1.45;
}

.account-health-row-warning {
    border-color: #f5d38a;
    background: #fffaf0;
}

.account-health-row-failed {
    border-color: #f2a5a5;
    background: #fff5f5;
}

.account-health-row-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.account-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.account-detail-grid .card {
    display: grid;
    gap: 14px;
}

.account-detail-list {
    grid-template-columns: 120px minmax(0, 1fr);
}

.account-detail-tables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.account-queue-card {
    grid-column: 1 / -1;
}

.ssl-primary-card,
.ssl-detail-card {
    padding: 20px;
}

.ssl-form {
    gap: 18px;
}

.ssl-domain-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fbfe;
}

.ssl-domain-title {
    margin-bottom: 5px;
    font-size: 20px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ssl-domain-row code {
    word-break: break-all;
}

.ssl-toggle {
    flex: 0 0 auto;
    min-width: 126px;
    margin: 0;
    background: #fff;
}

.ssl-checklist {
    display: grid;
    gap: 10px;
}

.ssl-checklist > div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.ssl-checklist span {
    color: var(--muted);
    line-height: 1.45;
}

.ssl-actions {
    justify-content: flex-end;
}

.ssl-actions .button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.ssl-detail-card {
    display: grid;
    gap: 14px;
}

.ssl-detail-list {
    grid-template-columns: 92px minmax(0, 1fr);
}

.ssl-error-box {
    margin-bottom: 0;
}

.ssl-preflight-box {
    display: grid;
    gap: 10px;
    padding-top: 4px;
}

.ssl-preflight-box h3 {
    margin: 8px 0 0;
    font-size: 14px;
}

.ssl-preflight-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 8px;
    align-items: center;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f9fbfe;
}

.ssl-preflight-row small {
    grid-column: 2;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.input-small {
    width: 100%;
    min-height: 32px;
    padding: 6px 8px;
    font-size: 13px;
}

.editor-card {
    margin-bottom: 18px;
    padding: 0;
}

.editor-form {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.code-editor {
    min-height: 440px;
    resize: vertical;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    line-height: 1.55;
}

.editor-actions {
    justify-content: flex-end;
}

.footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 24px;
    padding-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.page-wide + .footer,
.page-wide ~ .footer {
    width: min(1480px, calc(100% - 28px));
}

.page-cpanel + .footer,
.page-cpanel ~ .footer {
    width: min(1280px, calc(100% - 32px));
}

.page-cpanel.page-wide + .footer,
.page-cpanel.page-wide ~ .footer {
    width: min(1280px, calc(100% - 32px));
}

@media (max-width: 860px) {
    .topbar,
    .page-head,
    .cpanel-page-head,
    .diskusage-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .host-sso-session {
        align-self: stretch;
        justify-content: space-between;
        max-width: none;
        margin: 4px 0 0;
        width: 100%;
    }

    .host-dns-card {
        grid-template-columns: 1fr;
    }

    .host-dns-actions {
        white-space: normal;
    }

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

    .split-layout,
    .tool-grid,
    .cpanel-layout,
    .form-grid,
    .settings-layout,
    .settings-overview-grid,
    .settings-section-layout,
    .ssl-layout,
    .domain-management-layout,
    .domain-form,
    .cron-layout,
    .ftp-summary-grid,
    .ftp-layout,
    .ftp-primary-setup,
    .ftp-primary-form,
    .cron-schedule-grid,
    .domain-type-grid,
    .log-filter-form,
	    .account-detail-hero,
	    .account-health-summary,
	    .account-health-row,
	    .account-detail-grid,
        .package-layout,
        .package-form-grid,
        .package-identity-grid,
        .package-quota-grid,
        .package-usage-grid,
    .account-detail-tables,
    .dns-record-grid,
    .backup-hero,
    .host-backup-hero,
    .host-backup-stats,
    .host-backup-download-row,
    .cpanel-import-hero,
    .cpanel-import-status-card,
    .cpanel-import-progress-detail-grid,
    .cpanel-import-help-card,
    .verification-summary-grid,
    .restore-plan-grid,
    .node-detail-hero,
    .node-ftp-grid,
    .node-detail-layout,
    .account-summary-grid,
    .node-form-grid,
    .queue-cleanup-card,
    .queue-cleanup-form,
    .cleanup-filter-form,
    .cleanup-layout,
    .cleanup-detail-summary,
    .mysql-grid,
    .mysql-action-grid,
    .mysql-user-layout,
    .mysql-hero,
    .phpmyadmin-card,
    .phpmyadmin-hero,
    .phpmyadmin-db-card {
        grid-template-columns: 1fr;
    }

    .package-form-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .package-form-section-head span {
        text-align: left;
    }

    .package-form-card .prefixed-input {
        grid-template-columns: minmax(92px, max-content) minmax(0, 1fr);
    }

    .package-form-card .prefixed-input span {
        max-width: 48vw;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .diskusage-summary-grid {
        grid-template-columns: 1fr;
    }

    .mysql-create-row,
    .mysql-search-form {
        grid-template-columns: 1fr;
    }

    .cpanel-tool-list {
        padding: 0;
    }

    .cpanel-tool-item {
        width: 100%;
        padding: 8px 15px;
        border-top: 1px solid #e4e9f2;
    }

    .mysql-page-actions,
    .mysql-page-actions .button,
    .mysql-jumpbar,
    .mysql-jumpbar a {
        width: 100%;
    }

    .table-card.mysql-cpanel-section {
        overflow-x: auto;
    }

    .log-filter-form .button {
        width: 100%;
    }

    .domain-root-control {
        grid-template-columns: 1fr;
    }

    .domain-root-control .button {
        width: 100%;
    }

    .domain-create-head,
    .domain-example-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .domain-submit {
        width: 100%;
    }

	    .account-detail-actions,
	    .account-detail-actions .button,
	    .account-health-card .actions,
	    .account-health-card .actions .button,
	    .host-backup-hero-actions,
    .host-backup-hero-actions .button,
    .host-backup-download-row .button {
	        width: 100%;
	    }

	    .account-health-row-meta {
	        justify-content: flex-start;
	    }

    .host-backup-hero-actions {
        justify-content: flex-start;
    }

    .mysql-cpanel-table {
        min-width: 860px;
    }

    .mysql-cpanel-section {
        padding: 18px;
    }

    .queue-cleanup-form .button {
        width: 100%;
    }

    .fm-topbar,
    .fm-pathbar,
    .fm-editor-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .fm-toolbar,
    .fm-jump,
    .fm-jump .input {
        width: 100%;
    }

    .fm-bulkbar {
        position: static;
        grid-template-columns: 1fr;
    }

    .fm-bulkbar-main,
    .fm-bulkbar-main label,
    .fm-bulkbar-main .input,
    .fm-bulkbar-actions {
        width: 100%;
    }

    .fm-bulkbar-main {
        align-items: stretch;
        flex-direction: column;
    }

    .fm-bulkbar-main label {
        align-items: stretch;
        flex-direction: column;
    }

    .fm-bulkbar-actions {
        justify-content: stretch;
    }

    .fm-bulkbar-actions .button {
        flex: 1;
    }

    .fm-main {
        grid-template-columns: 1fr;
    }

    .fm-sidebar {
        max-height: 190px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .fm-tool > .fm-menu-form {
        left: 0;
        right: auto;
    }

    .table-card {
        overflow-x: auto;
    }

    .account-table-card {
        overflow-x: auto;
    }

    .account-table {
        min-width: 980px;
    }

    .account-action-bar {
        justify-content: flex-start;
    }

    .hn-modal-card {
        width: min(520px, calc(100vw - 28px));
    }

    .hn-modal-actions,
    .hn-modal-actions .button {
        width: 100%;
    }

    .hn-modal-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .ssl-domain-row,
    .ssl-actions,
    .ssl-actions .button {
        width: 100%;
    }

.ssl-domain-row {
    flex-direction: column;
}
}

.easyapache-node-card,
.easyapache-node-form,
.easyapache-mini-actions {
    display: flex;
    align-items: end;
    gap: 12px;
}

.easyapache-node-card {
    justify-content: space-between;
    margin-bottom: 18px;
}

.easyapache-node-form {
    flex: 1;
    max-width: 620px;
}

.easyapache-node-form .field {
    flex: 1;
}

.easyapache-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.easyapache-section {
    padding: 18px;
    margin-bottom: 18px;
}

.easyapache-install-form {
    display: grid;
    gap: 16px;
}

.easyapache-shell {
    padding: 0;
    overflow: hidden;
}

.easyapache-shell-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.easyapache-shell-status,
.easyapache-action-bar,
.easyapache-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.easyapache-shell-status {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.easyapache-tablist {
    display: flex;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #f7f9fb;
    overflow-x: auto;
}

.easyapache-tab {
    appearance: none;
    display: grid;
    gap: 3px;
    min-width: 160px;
    padding: 13px 16px 12px;
    border: 0;
    border-right: 1px solid var(--line);
    border-bottom: 3px solid transparent;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.easyapache-tab:hover,
.easyapache-tab:focus {
    background: #eef5fb;
    outline: none;
}

.easyapache-tab.is-active {
    background: #fff;
    border-bottom-color: #1f6fb2;
    color: #174f82;
}

.easyapache-tab span {
    font-weight: 700;
}

.easyapache-tab small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.easyapache-tab-panels {
    background: #fff;
}

.easyapache-tab-panel {
    padding: 20px;
}

.easyapache-tab-panel[hidden] {
    display: none;
}

.easyapache-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.easyapache-stat-card {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfdff;
}

.easyapache-panel-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.easyapache-action-bar {
    position: sticky;
    bottom: 14px;
    z-index: 5;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(20, 42, 62, 0.12);
}

.easyapache-action-bar > div:first-child {
    display: grid;
    gap: 3px;
}

.easyapache-empty-state {
    display: grid;
    justify-items: start;
    gap: 10px;
    max-width: 680px;
    padding: 22px;
    border: 1px dashed #b8cad8;
    border-radius: 8px;
    background: #f8fbfd;
}

.easyapache-empty-state span {
    color: var(--muted);
    line-height: 1.55;
}

.easyapache-version-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 12px;
}

.easyapache-version-card,
.easyapache-extension-card {
    display: grid;
    gap: 8px;
    align-items: start;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.easyapache-version-card {
    grid-template-columns: 18px minmax(0, 1fr) auto;
}

.easyapache-version-card small {
    grid-column: 2 / -1;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.easyapache-version-card em {
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
    margin-top: 2px;
}

.easyapache-version-card.is-installed {
    background: #fbfdff;
}

.easyapache-extension-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 10px;
}

.easyapache-extension-grid.version-scoped {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.easyapache-version-extension-stack {
    display: grid;
    gap: 12px;
}

.easyapache-version-extension-group {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.easyapache-version-extension-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 15px;
    background: #f8fafc;
    cursor: pointer;
    list-style: none;
}

.easyapache-version-extension-group summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: #334155;
    background: #fff;
    font-weight: 700;
}

.easyapache-version-extension-group[open] summary::after {
    content: "-";
}

.easyapache-version-extension-group summary::-webkit-details-marker {
    display: none;
}

.easyapache-version-extension-group summary span:first-child {
    display: grid;
    gap: 3px;
}

.easyapache-version-extension-group summary small {
    color: var(--muted);
    font-size: 12px;
}

.easyapache-version-extension-group > .easyapache-extension-grid,
.easyapache-version-extension-group > .settings-note {
    margin: 14px;
}

.easyapache-extension-card {
    position: relative;
    grid-template-columns: 18px minmax(0, 1fr) auto;
}

.easyapache-extension-card.is-installed {
    border-color: #73a9d8;
    background: #eef7ff;
}

.easyapache-extension-card.is-installed em {
    align-self: start;
    padding: 3px 7px;
    border-radius: 4px;
    background: #d9edff;
    color: #175b93;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.easyapache-extension-card.is-locked {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.easyapache-extension-card.is-locked input {
    cursor: not-allowed;
}

.easyapache-extension-card.is-locked em {
    background: #e2e8f0;
    color: #475569;
}

.easyapache-extension-card.is-locked:has(input[type="checkbox"]:not(:checked)) {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.easyapache-extension-card.is-locked:has(input[type="checkbox"]:not(:checked)) em::after {
    content: "";
}

.easyapache-extension-card.is-installed:not(.is-locked):has(input[type="checkbox"]:not(:checked)) {
    border-color: #f4a261;
    background: #fff7ed;
}

.easyapache-extension-card.is-installed:not(.is-locked):has(input[type="checkbox"]:not(:checked)) em {
    background: #ffedd5;
    color: #9a3412;
}

.easyapache-extension-card.is-installed:not(.is-locked):has(input[type="checkbox"]:not(:checked)) em::after {
    content: " kaldırılacak";
}

.easyapache-extension-card small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.easyapache-control-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.easyapache-filterbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.easyapache-filterbar .input {
    max-width: 360px;
}

.compact-toggle {
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.easyapache-matrix-wrap {
    overflow-x: auto;
}

.easyapache-matrix {
    min-width: 980px;
}

.easyapache-side-card {
    display: grid;
    gap: 14px;
}

.easyapache-check-list {
    display: grid;
    gap: 10px;
}

.easyapache-check-list > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.easyapache-check-list > div:last-child {
    border-bottom: 0;
}

.easyapache-os,
.easyapache-side-alert,
.easyapache-running-alert {
    overflow-wrap: anywhere;
}

.easyapache-module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 12px;
}

.easyapache-module-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.easyapache-module-card {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.easyapache-job-hero {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
}

.easyapache-job-progress-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
}

.easyapache-job-progress {
    height: 13px;
}

.easyapache-job-progress-row strong {
    min-width: 56px;
    color: #174f82;
    font-size: 22px;
    text-align: right;
}

.easyapache-job-message {
    padding: 10px 12px;
    border: 1px solid #d9e6f3;
    border-radius: 8px;
    background: #f7fbff;
    color: #32445a;
    font-size: 14px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.multiphp-filter-card {
    margin-bottom: 18px;
}

.multiphp-table-card table {
    min-width: 980px;
}

.multiphp-row-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.multiphp-row-form .input {
    min-width: 190px;
}

@media (max-width: 860px) {
    .easyapache-node-card,
    .easyapache-node-form,
    .easyapache-mini-actions,
    .easyapache-shell-head,
    .easyapache-action-bar,
    .easyapache-panel-head {
        align-items: stretch;
        flex-direction: column;
    }

    .easyapache-node-form {
        max-width: none;
        width: 100%;
    }

    .easyapache-summary-grid,
    .easyapache-version-grid,
    .easyapache-extension-grid,
    .easyapache-control-grid,
    .easyapache-module-grid,
    .easyapache-overview-grid {
        grid-template-columns: 1fr;
    }

    .easyapache-shell-status,
    .easyapache-mini-actions {
        justify-content: flex-start;
    }

    .easyapache-tab {
        min-width: 145px;
    }

    .easyapache-tab-panel {
        padding: 16px;
    }

    .easyapache-action-bar {
        position: static;
    }

    .node-bootstrap-layout {
        grid-template-columns: 1fr;
    }

    .easyapache-filterbar {
        align-items: stretch;
        flex-direction: column;
    }

    .easyapache-filterbar .input {
        max-width: none;
    }

    .easyapache-job-progress-row {
        grid-template-columns: 1fr;
    }

    .easyapache-job-progress-row strong {
        text-align: left;
    }

    .multiphp-row-form {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .nav {
        width: 100%;
        justify-content: space-between;
    }
}

.node-self-check-panel {
    grid-column: 1 / -1;
}

.node-self-check-list {
    display: grid;
    gap: 8px;
}

.node-self-check-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcff;
}

.node-self-check-row strong,
.node-self-check-row span {
    display: block;
}

.node-self-check-row .muted {
    margin-top: 2px;
}

.node-bootstrap-card {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.node-bootstrap-card .subsection-title {
    margin: 4px 0 -4px;
    font-size: 15px;
    font-weight: 800;
}

.node-bootstrap-layout {
    display: grid;
    grid-template-columns: minmax(340px, 0.95fr) minmax(420px, 1.45fr);
    gap: 18px;
    align-items: start;
}

.node-bootstrap-command-card {
    display: grid;
    gap: 14px;
}

.node-bootstrap-command-field {
    display: grid;
    gap: 7px;
}

.node-bootstrap-command-field span,
.node-bootstrap-env summary {
    font-weight: 800;
    color: var(--text);
}

.code-textarea {
    min-height: 210px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    line-height: 1.55;
    resize: vertical;
    white-space: pre;
}

.node-bootstrap-env summary {
    cursor: pointer;
    margin-bottom: 8px;
}

.node-bootstrap-progress-card {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.node-bootstrap-progress-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.node-bootstrap-progress-row strong {
    min-width: 48px;
    text-align: right;
    color: var(--text);
}

.node-bootstrap-current {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.node-bootstrap-current strong {
    overflow-wrap: anywhere;
}

.node-bootstrap-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: var(--muted);
    font-size: 13px;
}

.node-bootstrap-events {
    display: grid;
    gap: 10px;
}

.node-bootstrap-event {
    display: grid;
    gap: 7px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.node-bootstrap-event-head {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.node-bootstrap-event-head strong,
.node-bootstrap-event-message {
    overflow-wrap: anywhere;
}

.node-bootstrap-output summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.node-bootstrap-output .code-block {
    margin-top: 8px;
    max-height: 360px;
}

.node-diagnostics-card {
    display: grid;
    gap: 14px;
    margin-bottom: 20px;
}

.node-diagnostic-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    color: var(--muted);
    font-weight: 700;
}

.node-diagnostic-checks {
    display: grid;
    gap: 8px;
}

.node-diagnostic-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.node-diagnostic-check-row > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.node-diagnostic-check-row strong,
.node-diagnostic-check-row .muted {
    overflow-wrap: anywhere;
}

.node-diagnostic-output {
    max-height: 520px;
    margin: 0;
}

.create-node-card {
    display: grid;
    gap: 16px;
}

.create-node-info {
    display: grid;
    gap: 4px;
}

.create-node-ssl-preview {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}



.worker-update-stack {
    display: grid;
    gap: 22px;
}

.worker-update-status-card {
    display: grid;
    gap: 18px;
}

.worker-update-status-card .section-head-inline,
.worker-release-card .section-head-inline {
    margin-bottom: 0;
}

.worker-update-status-flow {
    display: grid;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid #d9e6f3;
    border-radius: 8px;
    background: #f7fbff;
}

.worker-update-progress-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.worker-update-progress-row .cpanel-import-progress {
    height: 13px;
}

.worker-update-progress-row strong {
    min-width: 58px;
    color: #174f82;
    font-size: 22px;
    text-align: right;
}

.worker-update-status-message {
    color: #32445a;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

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

.worker-update-metrics > div {
    display: grid;
    align-content: start;
    gap: 6px;
    min-height: 76px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.worker-update-metrics strong {
    font-size: 16px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.worker-update-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 0;
}

.worker-update-detail-card {
    display: grid;
    align-content: start;
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

.worker-update-detail-card .detail-list {
    padding: 20px;
}

.worker-update-rollback-form {
    padding: 0 20px 20px;
}

.worker-update-timeline-card {
    margin-top: 0;
}

.worker-release-card {
    display: grid;
    gap: 18px;
    margin-top: 0;
}

.worker-release-lead {
    display: grid;
    gap: 6px;
    margin-bottom: 0;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
}

.worker-release-lead strong {
    color: var(--text);
    font-size: 1.05rem;
}

.worker-release-lead p {
    margin: 0;
    color: var(--text);
}

.worker-release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 16px;
}

.worker-release-group {
    min-width: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    line-height: 1.45;
}

.worker-release-group h3 {
    margin: 0 0 8px;
    font-size: .96rem;
}

.worker-release-group ul,
.worker-release-group ol {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 20px;
    color: var(--text);
}

.panel-update-overview-card,
.panel-update-cleanup-card,
.panel-update-license-card,
.panel-update-preview-card,
.panel-update-danger-card {
    margin-top: 0;
}

.panel-update-overview-grid > div {
    min-width: 0;
}

.panel-update-overview-grid strong,
.panel-update-detail-stack .detail-list dd {
    overflow-wrap: anywhere;
}

.panel-update-overview-alert {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 16px 20px 20px;
}

.panel-update-maintenance-card {
    margin-top: 0;
}

.panel-update-maintenance-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px;
}

.panel-update-maintenance-body > div:first-child {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.panel-update-backup-card {
    margin-top: 0;
}

.panel-update-apply-card {
    margin-top: 0;
}

.panel-update-migration-card {
    margin-top: 0;
}

.panel-update-final-card {
    margin-top: 0;
}

.panel-update-backup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
}

.panel-update-backup-grid > div {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.panel-update-backup-grid strong,
.panel-update-backup-grid code {
    overflow-wrap: anywhere;
}

.panel-update-backup-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 20px 20px;
}

.panel-update-backup-actions .alert {
    width: 100%;
    margin: 0;
}

.panel-update-backup-actions form {
    margin: 0;
}

.panel-update-worker-card {
    margin-top: 0;
}

.panel-update-worker-card .section-head {
    border-bottom: 1px solid var(--line);
}

.panel-update-worker-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    padding: 20px;
}

.panel-update-worker-summary > div {
    display: grid;
    gap: 7px;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.panel-update-worker-summary strong {
    overflow-wrap: anywhere;
}

.panel-update-worker-card > .alert,
.panel-update-worker-card > .empty-state {
    margin: 0 20px 20px;
}

.panel-update-worker-table {
    margin: 0 20px 20px;
}

.panel-update-worker-table table {
    min-width: 760px;
}

.panel-update-worker-table td:last-child {
    white-space: nowrap;
}

.panel-update-worker-table .button + .button {
    margin-left: 6px;
}

.panel-update-cleanup-form {
    display: flex;
    align-items: end;
    gap: 16px;
    flex-wrap: wrap;
    padding: 20px;
}

.panel-update-cleanup-form > label {
    display: grid;
    gap: 6px;
    min-width: 210px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.panel-update-cleanup-form input[type="number"] {
    max-width: 160px;
}

.panel-update-cleanup-form small {
    color: var(--muted);
    font-weight: 600;
}

.panel-update-cleanup-statuses {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 8px;
}

.panel-update-cleanup-statuses label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
    font-size: 13px;
    font-weight: 700;
}

.panel-update-license-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 18px;
    padding: 20px;
}

.panel-update-license-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.panel-update-license-summary > div {
    min-width: 0;
    display: grid;
    gap: 7px;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.panel-update-license-summary strong {
    overflow-wrap: anywhere;
}

.panel-update-license-form {
    min-width: 0;
    display: grid;
    align-content: end;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.panel-update-license-form .field {
    margin: 0;
}

.panel-update-records-form {
    margin: 0;
}

.panel-update-select-col {
    width: 58px;
    text-align: center;
}

.panel-update-record-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.panel-update-record-actions .button {
    margin: 0;
}

.panel-update-bulk-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 20px 20px;
    border-top: 1px solid var(--line);
    background: #fbfcfe;
}

.panel-update-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 20px;
}

.panel-update-preview-grid > div {
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fbfcfe;
}

.panel-update-preview-grid h3 {
    margin: 0 0 10px;
    font-size: .98rem;
}

.panel-update-preview-grid ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 20px;
    line-height: 1.45;
}

.panel-update-preview-card .alert {
    margin: 0 20px 20px;
}

@media (max-width: 860px) {
    .worker-update-detail-grid,
    .worker-update-metrics,
    .panel-update-backup-grid,
    .panel-update-worker-summary,
    .panel-update-license-layout,
    .panel-update-license-summary,
    .panel-update-preview-grid {
        grid-template-columns: 1fr;
    }

    .panel-update-worker-table td:last-child {
        white-space: normal;
    }

    .worker-update-progress-row {
        grid-template-columns: 1fr;
    }

    .worker-update-progress-row strong {
        text-align: left;
    }
}


/* Host alan adlari: cPanel Domains ekranina yakin Jupiter gorunumu. */
.page-domain-cpanel {
    width: min(1280px, calc(100% - 32px));
    padding: 22px 28px 30px;
    background: #fff;
}

.cp-domains-cpanel {
    color: #333;
}

.cp-domains-cpanel .panel {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.cp-domains-cpanel .panel-default > .panel-heading {
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
    border-radius: 3px 3px 0 0;
    background-color: #f5f5f5;
    color: #333;
    font-size: 14px;
}

.cp-domains-cpanel .panel-body {
    padding: 15px;
}

.cp-domains-cpanel .col-xs-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.cp-domains-cpanel .col-md-4,
.cp-domains-cpanel .col-lg-4 {
    flex: 0 0 33.33333333%;
    max-width: 33.33333333%;
}

.cp-domains-cpanel .col-md-8,
.cp-domains-cpanel .col-lg-8 {
    flex: 0 0 66.66666667%;
    max-width: 66.66666667%;
}

.cp-domains-cpanel .pull-right {
    float: right;
}

.cp-domains-cpanel .btn-sm {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.5;
}

.cp-domains-cpanel .btn-link {
    border-color: transparent;
    border-radius: 0;
    background: transparent;
    color: #337ab7;
    font-weight: 400;
}

.cp-domains-cpanel .btn-link:hover,
.cp-domains-cpanel .btn-link:focus {
    border-color: transparent;
    background: transparent;
    color: #23527c;
    text-decoration: underline;
}

.cp-domains-cpanel .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cp-domain-create-section {
    max-width: 980px;
}

.cp-domain-return-row {
    align-items: center;
    margin-bottom: 10px;
}

.cp-domain-return-row .description {
    margin-bottom: 0;
}

.cp-domain-return-action {
    text-align: right;
}

.cp-domain-return-action .btn {
    padding-right: 0;
}

.cp-domain-form.layout-medium {
    max-width: 100%;
}

.cp-domain-form .form-header {
    margin: 0 0 10px;
    color: #333;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
}

.cp-domain-form .cp-domain-field-help {
    margin-top: 0;
}

.cp-domain-form .domains-type-selector-container {
    max-width: 760px;
    padding: 6px 0;
}

.cp-domain-form .cp-domain-type-option {
    margin: 0;
    padding: 8px 10px 9px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.cp-domain-form .cp-domain-type-option + .cp-domain-type-option {
    margin-top: 3px;
}

.cp-domain-form .cp-domain-type-option.is-selected {
    border-color: #d9edf7;
    background-color: #f4fbfe;
}

.cp-domain-form .cp-domain-type-option label {
    margin-bottom: 0;
}

.cp-domain-form .info-block {
    display: block;
    margin: 2px 0 0 22px;
    color: #737373;
    font-size: 13px;
    line-height: 1.42857143;
}

.cp-domain-root-group .input-group-addon {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cp-domain-root-reset {
    padding-top: 0;
}

.cp-domain-dns-note {
    max-width: 760px;
    padding: 10px 12px;
    border: 1px solid #d9edf7;
    border-radius: 4px;
    background-color: #f4fbfe;
}

.cp-domain-dns-note .help-block {
    margin-bottom: 0;
}

.cp-domains-cpanel .search-page-container {
    align-items: center;
    margin-bottom: 10px;
}

.cp-domain-page-stats {
    padding: 7px 0;
    color: #737373;
    text-align: right;
}

.cp-domains-cpanel .action-bar {
    min-height: 42px;
    margin-bottom: 6px;
    padding: 8px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.cp-domain-table-wrap {
    overflow-x: auto;
}

.cp-domains-cpanel .cp-domain-table {
    min-width: 930px;
    table-layout: fixed;
}

.cp-domains-cpanel .cp-domain-table th:nth-child(1) { width: 22%; }
.cp-domains-cpanel .cp-domain-table th:nth-child(2) { width: 23%; }
.cp-domains-cpanel .cp-domain-table th:nth-child(3) { width: 14%; }
.cp-domains-cpanel .cp-domain-table th:nth-child(4) { width: 15%; }
.cp-domains-cpanel .cp-domain-table th:nth-child(5) { width: 13%; }
.cp-domains-cpanel .cp-domain-table th:nth-child(6) { width: 13%; }

.cp-domains-cpanel .cp-domain-table th,
.cp-domains-cpanel .cp-domain-table td {
    overflow-wrap: anywhere;
    vertical-align: middle;
}

.cp-domains-cpanel .cp-domain-table .help-block {
    margin-bottom: 0;
    font-size: 12px;
}

.cp-domains-cpanel .table-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    font-weight: 400;
    overflow-wrap: anywhere;
}

.cp-domains-cpanel .cp-domain-table .label {
    display: inline-block;
    margin: 2px 4px 2px 0;
}

.cp-domain-docroot {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    color: #333;
}

.domain-home-icon::before {
    content: "\2302";
    color: #555;
    font-size: 17px;
    line-height: 1;
}

.cp-domain-protocol-links {
    margin-top: 4px;
    font-size: 12px;
}

.cp-domain-actions form {
    margin: 0;
}

.cp-domain-filter-empty td {
    background-color: #d9edf7;
    color: #31708f;
}

@media (max-width: 768px) {
    .page-domain-cpanel {
        width: min(100% - 20px, 1280px);
        padding: 18px 16px 24px;
    }

    .cp-domains-cpanel .col-md-4,
    .cp-domains-cpanel .col-lg-4,
    .cp-domains-cpanel .col-md-8,
    .cp-domains-cpanel .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .cp-domain-return-action,
    .cp-domain-page-stats {
        text-align: left;
    }

    .cp-domain-return-action .btn {
        padding-left: 0;
    }

    .cp-domains-cpanel .action-bar .pull-right,
    .cp-domains-cpanel .action-bar .btn {
        float: none;
        width: 100%;
    }

    .cp-domain-root-group,
    .cp-domain-root-group .input-group-addon,
    .cp-domain-root-group .form-control {
        display: block;
        width: 100%;
    }

    .cp-domain-root-group .input-group-addon {
        max-width: none;
        border-radius: 4px 4px 0 0;
        border-bottom: 0;
        text-align: left;
    }

    .cp-domain-root-group .form-control {
        float: none;
        border-radius: 0 0 4px 4px;
    }

    .cp-domain-root-reset {
        padding-top: 9px;
    }
}
