:root {
  color-scheme: dark;
  --bg: #07101f;
  --surface: #0d182b;
  --surface-2: #111f36;
  --surface-3: #172943;
  --border: #223757;
  --text: #edf4ff;
  --muted: #91a6c3;
  --primary: #21a6ff;
  --primary-2: #087ed0;
  --green: #2dd4a2;
  --orange: #ff9e4a;
  --purple: #9b7cff;
  --danger: #ff6379;
  --shadow: 0 24px 60px rgba(0, 0, 0, .28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: radial-gradient(circle at 80% 0, #102950 0, transparent 32%), var(--bg); color: var(--text); }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.app-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 26px 20px; background: rgba(8, 19, 36, .94); border-right: 1px solid var(--border); display: flex; flex-direction: column; z-index: 20; backdrop-filter: blur(18px); }
.brand, .login-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; overflow: hidden; border-radius: 12px; background: transparent; box-shadow: none; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-size: 19px; letter-spacing: .01em; }
.brand small, .sidebar-footer small, .user-copy small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.nav-list { display: grid; gap: 8px; margin-top: 40px; }
.nav-list a, .nav-disabled { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 13px; border-radius: 12px; color: #c7d5e8; }
.nav-list a:hover { background: var(--surface-3); color: white; }
.nav-list a span, .nav-disabled span { width: 24px; text-align: center; color: var(--primary); }
.nav-disabled { color: #667a98; cursor: not-allowed; }
.nav-disabled small { margin-left: auto; padding: 3px 7px; border-radius: 999px; background: #18263c; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.sidebar-footer { margin-top: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px; padding: 15px; border: 1px solid var(--border); border-radius: 13px; color: #b8cae2; font-size: 12px; }
.sidebar-footer small { grid-column: 2; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(45, 212, 162, .1); }
.main-area { min-width: 0; }
.topbar { height: 92px; padding: 0 34px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid rgba(34, 55, 87, .75); background: rgba(7, 16, 31, .68); backdrop-filter: blur(16px); }
.topbar h1 { font-size: 23px; margin: 1px 0 0; }
.eyebrow { margin: 0; color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.user-menu { margin-left: auto; display: flex; align-items: center; gap: 11px; }
.profile-menu-link { display: flex; align-items: center; gap: 11px; padding: 5px; border-radius: 12px; }
.profile-menu-link:hover { background: var(--surface-2); }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg, #193658, #254c77); font-weight: 800; }
.user-copy strong { display: block; font-size: 13px; }
.page-content { padding: 30px 34px 50px; }
.mobile-menu { display: none; }
.button, .icon-button, .table-action { border: 0; cursor: pointer; transition: .18s ease; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 10px; font-weight: 750; font-size: 13px; }
.button-primary { color: white; background: linear-gradient(145deg, var(--primary), var(--primary-2)); box-shadow: 0 10px 24px rgba(21, 137, 219, .22); }
.button-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button-ghost { color: #c6d7ec; background: var(--surface-2); border: 1px solid var(--border); }
.button-ghost:hover { color: white; border-color: #3d5f8d; }
.button-block { width: 100%; }
.icon-button { width: 38px; height: 38px; border-radius: 10px; color: var(--text); background: transparent; font-size: 21px; }
.icon-button:hover { background: var(--surface-3); }
.welcome-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 27px 28px; border: 1px solid var(--border); border-radius: 18px; background: linear-gradient(120deg, rgba(22, 54, 91, .82), rgba(13, 24, 43, .88)); box-shadow: var(--shadow); }
.welcome-panel h2 { margin: 8px 0 7px; font-size: clamp(22px, 3vw, 32px); }
.muted { color: var(--muted); }
.welcome-panel .muted { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }
.stat-card { position: relative; overflow: hidden; padding: 21px; min-height: 135px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.stat-card::after { content: ""; position: absolute; right: -20px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: currentColor; opacity: .08; }
.stat-card span { display: block; color: var(--muted); font-size: 12px; }
.stat-card strong { display: block; margin: 18px 0 6px; font-size: 23px; overflow-wrap: anywhere; }
.stat-card .stat-hostname { font-size: clamp(15px, 1.3vw, 20px); line-height: 1.25; }
.stat-card small { color: #a9bdd7; }
.accent-blue { color: var(--primary); } .accent-purple { color: var(--purple); } .accent-green { color: var(--green); } .accent-orange { color: var(--orange); }
.panel-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 20px; }
.panel { padding: 24px; border: 1px solid var(--border); border-radius: 16px; background: rgba(13, 24, 43, .88); }
.panel-heading h2 { margin: 6px 0 18px; font-size: 19px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list > div, .roadmap-list li { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.feature-list p, .roadmap-list p { margin: 0; }
.feature-list strong, .roadmap-list strong { display: block; font-size: 13px; }
.feature-list small, .roadmap-list small { display: block; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.feature-icon { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 8px; color: var(--green); background: rgba(45, 212, 162, .11); }
.roadmap-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.roadmap-list li > span { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 9px; color: var(--primary); background: rgba(33, 166, 255, .1); font-weight: 800; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(440px, 100%); padding: 38px; border: 1px solid var(--border); border-radius: 22px; background: rgba(12, 25, 45, .94); box-shadow: var(--shadow); }
.login-brand { margin-bottom: 35px; font-size: 22px; }
.login-card h1 { margin: 7px 0; font-size: 31px; }
.login-card > .muted { margin-top: 0; }
.login-form { display: grid; gap: 17px; margin-top: 26px; }
.login-form label { display: grid; gap: 8px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.login-form input { width: 100%; height: 47px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.login-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.alert { margin-top: 20px; padding: 12px 14px; border-radius: 10px; font-size: 13px; }
.alert-error { color: #ffd4da; background: rgba(255, 99, 121, .12); border: 1px solid rgba(255, 99, 121, .28); }
.login-footnote { color: #6f86a5; font-size: 11px; text-align: center; margin: 21px 0 0; }

.file-manager { border: 1px solid var(--border); border-radius: 17px; background: rgba(13, 24, 43, .92); overflow: hidden; box-shadow: var(--shadow); }
.file-toolbar, .pathbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 15px 17px; border-bottom: 1px solid var(--border); }
.toolbar-group { display: flex; align-items: center; gap: 8px; }
.file-root-label { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.file-root-select { height: 40px; min-width: 210px; padding: 0 34px 0 11px; color: var(--text); background: #0b1930; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.file-root-select:focus { border-color: var(--primary); }
.pathbar { min-height: 56px; background: #0a1628; }
.breadcrumbs { display: flex; align-items: center; gap: 7px; overflow-x: auto; }
.breadcrumbs button { border: 0; color: #b9cbe3; background: none; cursor: pointer; padding: 5px; }
.breadcrumbs button:hover { color: var(--primary); }
.breadcrumbs span { color: #49607e; }
.storage-summary { color: var(--muted); font-size: 12px; white-space: nowrap; }
.file-table-wrap { overflow-x: auto; }
.file-table { width: 100%; border-collapse: collapse; min-width: 840px; }
.file-table th { padding: 12px 15px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.file-table td { padding: 12px 15px; border-top: 1px solid rgba(34, 55, 87, .66); color: #aebfd6; font-size: 12px; }
.file-table tbody tr:hover { background: rgba(24, 45, 74, .46); }
.file-name { display: flex; align-items: center; gap: 10px; min-width: 220px; max-width: 430px; padding: 0; color: #e5effc; background: none; border: 0; cursor: default; text-align: left; }
.file-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: #162942; color: #8eabd0; }
.file-icon-directory { color: var(--orange); background: rgba(255, 158, 74, .1); }
.file-icon-symlink { color: var(--purple); }
.file-table code { color: #a9c4e6; background: #071424; padding: 4px 7px; border-radius: 6px; }
.actions-column { width: 290px; }
.row-actions { display: flex; align-items: center; gap: 5px; }
.table-action { padding: 6px 8px; border-radius: 7px; color: #acc2dc; background: #142641; font-size: 10px; }
.table-action:hover { color: white; background: #20436a; }
.table-action.danger:hover { color: #ffdce1; background: rgba(255, 99, 121, .2); }
.empty-state { padding: 55px 20px !important; text-align: center !important; color: var(--muted) !important; }
.error-text { color: #ff9baa !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.list-heading-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.list-search { position: relative; display: block; }
.list-search::before { content: "⌕"; position: absolute; left: 12px; top: 50%; z-index: 1; color: #7690b1; font-size: 17px; line-height: 1; transform: translateY(-54%); pointer-events: none; }
.list-search input { width: min(290px, 34vw); height: 40px; padding: 0 34px 0 36px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.list-search input::placeholder { color: #7187a5; }
.list-search input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.list-search input::-webkit-search-cancel-button { filter: invert(.8); cursor: pointer; }
tbody > tr[hidden] { display: none !important; }
.list-table-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.list-table-toolbar h3 { margin: 0; color: #ddebff; font-size: 13px; }
.list-table-toolbar + .backup-schedule-table-wrap { margin-top: 10px; }
.file-list-toolbar { margin: 0; padding: 12px 17px; border-bottom: 1px solid var(--border); background: #0a1628; }
.file-list-toolbar .list-search { margin-left: auto; }
.search-select-native { position: absolute !important; width: 1px !important; min-width: 0 !important; height: 1px !important; padding: 0 !important; margin: -1px !important; opacity: 0 !important; overflow: hidden !important; pointer-events: none !important; }
.search-select { position: relative; width: 100%; min-width: 0; color: var(--text); font-weight: 600; }
.search-select-trigger { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; cursor: pointer; }
.search-select-trigger:hover { border-color: #3d5f8d; }
.search-select-trigger:focus, .search-select-open .search-select-trigger { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.search-select-placeholder { color: #8ca0bc; }
.search-select-arrow { flex: 0 0 auto; color: #9ab0cc; font-size: 16px; transition: transform .16s ease; }
.search-select-open .search-select-arrow { transform: rotate(180deg); }
.search-select-disabled { opacity: .58; }
.search-select-disabled .search-select-trigger { cursor: not-allowed; }
.search-select-invalid .search-select-trigger { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 99, 121, .11); }
.search-select-menu { position: absolute; left: 0; top: calc(100% + 7px); z-index: 220; width: 100%; min-width: min(320px, calc(100vw - 40px)); padding: 8px; border: 1px solid #315277; border-radius: 12px; background: #09172b; box-shadow: 0 22px 50px rgba(0, 0, 0, .48); }
.search-select-menu[hidden] { display: none !important; }
.search-select-up .search-select-menu { top: auto; bottom: calc(100% + 7px); }
.search-select-align-right .search-select-menu { right: 0; left: auto; }
.search-select-search { width: 100% !important; min-width: 0 !important; height: 40px !important; padding: 0 12px !important; margin: 0 0 7px !important; color: var(--text) !important; background: #061122 !important; border: 1px solid var(--border) !important; border-radius: 8px !important; outline: none !important; }
.search-select-search::placeholder { color: #7187a5; }
.search-select-search:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 3px rgba(33, 166, 255, .1) !important; }
.search-select-options { max-height: 255px; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: #315277 #09172b; }
.search-select-option { min-height: 38px; display: flex; align-items: center; padding: 8px 10px; border-radius: 7px; color: #cbd9ec; line-height: 1.35; cursor: pointer; overflow-wrap: anywhere; }
.search-select-option:hover, .search-select-option-active { color: #fff; background: #173355; }
.search-select-option-selected { color: #dff3ff; background: #112b49; }
.search-select-option-selected::after { content: "✓"; flex: 0 0 auto; margin-left: auto; padding-left: 12px; color: var(--green); }
.search-select-option-disabled { color: #617793; cursor: not-allowed; background: transparent; }
.search-select-empty { padding: 20px 12px; color: var(--muted); text-align: center; font-size: 11px; }
.search-select-empty[hidden] { display: none !important; }
.file-root-select + .search-select { width: min(380px, 38vw); min-width: 210px; }
.file-root-select + .search-select .search-select-trigger { min-height: 40px; }
.file-manager-note { margin: 0; padding: 12px 17px; border-top: 1px solid var(--border); color: #6f86a5; font-size: 11px; }
.editor-dialog { width: min(960px, calc(100vw - 30px)); padding: 0; border: 1px solid var(--border); border-radius: 17px; color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
.editor-dialog::backdrop { background: rgba(0, 6, 15, .75); backdrop-filter: blur(4px); }
.dialog-card header, .dialog-card footer { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.dialog-card header { border-bottom: 1px solid var(--border); }
.dialog-card footer { justify-content: flex-end; gap: 9px; border-top: 1px solid var(--border); }
.dialog-card h2 { margin: 5px 0 0; font-size: 16px; max-width: 760px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#editor-content { display: block; width: 100%; height: min(62vh, 620px); padding: 18px; resize: vertical; border: 0; outline: 0; color: #dbe9fb; background: #07111f; font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 4; }
.toast { position: fixed; right: 25px; bottom: 25px; z-index: 100; max-width: 360px; padding: 12px 16px; border-radius: 11px; color: white; background: #193453; border: 1px solid #365b86; box-shadow: var(--shadow); opacity: 0; transform: translateY(15px); pointer-events: none; transition: .2s ease; }
.toast-visible { opacity: 1; transform: translateY(0); }
.toast-error { background: #4a1824; border-color: #833044; }

.websites-app { display: grid; gap: 20px; }
.website-create-panel, .website-list-panel { padding: 24px; }
.website-create-panel .panel-heading, .website-list-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.website-create-panel .panel-heading h2, .website-list-heading h2 { margin-bottom: 0; }
.security-badge { padding: 6px 10px; border-radius: 999px; color: #a7edd8; background: rgba(45, 212, 162, .1); border: 1px solid rgba(45, 212, 162, .22); font-size: 10px; font-weight: 750; }
.website-intro { margin: 14px 0 20px; font-size: 13px; }
.website-intro code, .website-table code { color: #a9c4e6; background: #071424; padding: 4px 7px; border-radius: 6px; }
.website-form { display: grid; grid-template-columns: 1.2fr .8fr auto; align-items: end; gap: 14px; }
.website-form label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.website-form label small { color: var(--muted); font-size: 10px; font-weight: 400; }
.website-form input { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.website-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.website-submit { min-height: 44px; }
.website-submit:disabled { opacity: .55; cursor: wait; }
.inline-message { margin-top: 16px; padding: 11px 13px; border-radius: 10px; font-size: 12px; }
.inline-message-success { color: #b8f5e3; background: rgba(45, 212, 162, .09); border: 1px solid rgba(45, 212, 162, .22); }
.inline-message-error { color: #ffd4da; background: rgba(255, 99, 121, .1); border: 1px solid rgba(255, 99, 121, .25); }
.website-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.website-table { width: 100%; border-collapse: collapse; min-width: 1180px; }
.website-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.website-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; }
.website-table td:first-child a { color: #ddebff; font-weight: 700; }
.website-table td:first-child a:hover { color: var(--primary); }
.status-badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.status-pending { color: #ffcc96; background: rgba(255, 158, 74, .12); }
.status-provisioning { color: #a8dfff; background: rgba(33, 166, 255, .12); }
.status-active { color: #9befd6; background: rgba(45, 212, 162, .12); }
.status-failed { color: #ffb1bd; background: rgba(255, 99, 121, .14); }
.website-status-cell small { display: block; max-width: 250px; margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.website-actions { min-width: 210px; }
.subdomain-actions { min-width: 125px; }
.website-actions .table-action, .subdomain-actions .table-action { display: inline-flex; margin: 0 5px 6px 0; }
.website-actions .table-action:disabled, .subdomain-actions .table-action:disabled { opacity: .38; cursor: not-allowed; }
.resource-remove-dialog { width: min(720px, calc(100vw - 30px)); }
.resource-remove-dialog-body { display: grid; gap: 15px; padding: 20px; }
.resource-remove-dialog-body p { margin: 0; line-height: 1.55; }
.resource-remove-dialog-body strong { color: #ddebff; overflow-wrap: anywhere; }
.resource-remove-dialog-body label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.resource-remove-dialog-body input, .resource-remove-dialog-body select { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.resource-remove-dialog-body input:focus, .resource-remove-dialog-body select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.resource-remove-dialog-body code { color: #a9c4e6; background: #071424; padding: 3px 6px; border-radius: 5px; }
.resource-remove-dialog-body .inline-message { margin-top: 0; }
.resource-remove-dialog button:disabled { opacity: .55; cursor: wait; transform: none; }

.subdomains-app { display: grid; min-width: 0; gap: 20px; }
.subdomain-create-panel, .subdomain-list-panel { min-width: 0; padding: 24px; }
.subdomain-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.subdomain-heading h2 { margin: 6px 0 0; font-size: 19px; }
.subdomain-intro { max-width: 1050px; margin: 14px 0 20px; font-size: 13px; line-height: 1.55; }
.subdomain-form { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr) auto; align-items: end; gap: 14px; }
.subdomain-form label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.subdomain-form label small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.subdomain-form input, .subdomain-form select { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.subdomain-form input:focus, .subdomain-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.subdomain-form code, .subdomain-table code { color: #a9c4e6; background: #071424; padding: 3px 6px; border-radius: 5px; }
.subdomain-submit { min-height: 44px; }
.subdomain-submit:disabled { opacity: .55; cursor: wait; }
.subdomain-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.subdomain-table { width: 100%; min-width: 1240px; border-collapse: collapse; }
.subdomain-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.subdomain-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; vertical-align: top; }
.subdomain-table td:first-child a { color: #ddebff; font-weight: 700; }
.subdomain-table td:first-child a:hover { color: var(--primary); }
.subdomain-status-cell { min-width: 220px; }
.subdomain-status-cell small { display: block; max-width: 270px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.subdomain-note { margin: 13px 0 0; color: #6f86a5; font-size: 11px; }

.ssl-app { display: grid; gap: 20px; }
.ssl-overview-panel, .ssl-list-panel { padding: 24px; }
.ssl-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ssl-heading h2, .ssl-list-panel .panel-heading h2 { margin-bottom: 0; }
.ssl-intro { max-width: 920px; margin: 14px 0 0; font-size: 13px; line-height: 1.6; }
.ssl-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.ssl-table { width: 100%; min-width: 1040px; border-collapse: collapse; }
.ssl-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.ssl-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; vertical-align: top; }
.ssl-table td:first-child a { color: #ddebff; font-weight: 700; }
.ssl-table td:first-child a:hover { color: var(--primary); }
.dns-cell { min-width: 245px; }
.dns-line { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: var(--muted); font-size: 10px; }
.dns-line:last-child { margin-bottom: 0; }
.dns-ready, .ssl-active { color: #9befd6; background: rgba(45, 212, 162, .12); }
.dns-not-ready, .ssl-failed { color: #ffb1bd; background: rgba(255, 99, 121, .14); }
.ssl-disabled { color: #b9c9dd; background: rgba(145, 166, 195, .12); }
.ssl-pending { color: #ffcc96; background: rgba(255, 158, 74, .12); }
.ssl-provisioning { color: #a8dfff; background: rgba(33, 166, 255, .12); }
.ssl-status-cell { min-width: 210px; }
.ssl-status-cell small { display: block; max-width: 260px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.ssl-action { display: grid; gap: 9px; min-width: 150px; }
.ssl-action label { color: var(--muted); font-size: 11px; }
.ssl-action input { accent-color: var(--primary); }
.ssl-enable-button { min-height: 36px; padding: 0 11px; font-size: 11px; }
.ssl-enable-button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.ssl-note { margin: 13px 0 0; color: #6f86a5; font-size: 11px; }
.ssl-note code { color: #a9c4e6; background: #071424; padding: 3px 6px; border-radius: 5px; }

.databases-app { display: grid; gap: 20px; }
.database-create-panel, .database-list-panel { padding: 24px; }
.database-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.database-heading h2 { margin: 6px 0 0; font-size: 19px; }
.database-heading-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.database-intro { margin: 14px 0 20px; font-size: 13px; }
.database-form { display: grid; grid-template-columns: 1fr .8fr 1.4fr 1fr auto; align-items: end; gap: 14px; }
.database-form label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.database-form label small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.35; }
.database-form input, .database-form select { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.database-form input:focus, .database-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.database-form code { color: #a9c4e6; background: #071424; padding: 3px 6px; border-radius: 5px; }
.database-password-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; gap: 7px; }
.database-password-row .button { min-height: 44px; padding: 0 11px; font-size: 11px; }
.database-submit { min-height: 44px; }
.database-submit:disabled { opacity: .55; cursor: wait; }
.database-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.database-table { width: 100%; min-width: 900px; border-collapse: collapse; }
.database-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.database-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; vertical-align: top; }
.database-table td:last-child { white-space: nowrap; }
.database-table td:last-child .table-action + .table-action { margin-left: 6px; }
.database-name { color: #ddebff !important; font-weight: 700; }
.database-status-cell { min-width: 210px; }
.database-status-cell small { display: block; max-width: 270px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.database-status-pending { color: #ffcc96; background: rgba(255, 158, 74, .12); }
.database-status-provisioning { color: #a8dfff; background: rgba(33, 166, 255, .12); }
.database-status-active { color: #9befd6; background: rgba(45, 212, 162, .12); }
.database-status-deleting, .database-status-failed { color: #ffb1bd; background: rgba(255, 99, 121, .14); }
.database-note { margin: 13px 0 0; color: #6f86a5; font-size: 11px; }
.database-password-dialog { width: min(720px, calc(100vw - 30px)); }
.database-password-dialog-body { display: grid; gap: 16px; padding: 20px; }
.database-password-dialog-body p { margin: 0; line-height: 1.55; }
.database-password-dialog-body strong { color: #ddebff; }
.database-password-dialog-body label { display: grid; gap: 8px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.database-password-dialog-body input { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.database-password-dialog-body input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.database-password-dialog-body .inline-message { margin-top: 0; }

.backups-app { display: grid; min-width: 0; gap: 20px; }
.backup-schedule-panel, .backup-create-panel, .backup-list-panel { min-width: 0; padding: 24px; }
.backup-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.backup-heading h2 { margin: 6px 0 0; font-size: 19px; }
.backup-intro { max-width: 980px; margin: 14px 0 20px; font-size: 13px; line-height: 1.55; }
.backup-intro code, .backup-dialog-body code { color: #a9c4e6; background: #071424; padding: 3px 6px; border-radius: 5px; }
.backup-form { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(360px, 1.2fr) auto; align-items: end; gap: 14px; }
.backup-form label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.backup-form label small, .backup-boundary small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.backup-form select { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.backup-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.backup-boundary { min-height: 44px; display: grid; align-content: center; gap: 4px; padding: 7px 12px; border-radius: 10px; background: rgba(45, 212, 162, .07); border: 1px solid rgba(45, 212, 162, .17); }
.backup-boundary strong { color: #b8f5e3; font-size: 11px; }
.backup-submit { min-height: 44px; }
.backup-submit:disabled { opacity: .55; cursor: wait; }
.backup-schedule-form { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); align-items: end; gap: 14px; }
.backup-schedule-form label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.backup-schedule-form > [hidden] { display: none !important; }
.backup-schedule-form label small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.backup-schedule-form input:not([type="checkbox"]), .backup-schedule-form select, .backup-schedule-form textarea { width: 100%; min-height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.backup-schedule-form textarea { min-height: 116px; padding-top: 11px; padding-bottom: 11px; resize: vertical; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11px; }
.backup-schedule-form input:focus, .backup-schedule-form select:focus, .backup-schedule-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.backup-schedule-active { min-height: 44px; display: flex !important; align-items: center; grid-template-columns: auto 1fr; padding: 0 13px; border: 1px solid var(--border); border-radius: 10px; background: #081528; }
.backup-schedule-active input { width: 17px; height: 17px; accent-color: var(--primary); }
.backup-sftp-fields { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr .55fr 1fr 1.3fr; gap: 14px; padding: 16px; border: 1px solid rgba(33, 166, 255, .2); border-radius: 12px; background: rgba(33, 166, 255, .045); }
.backup-sftp-fields[hidden] { display: none; }
.backup-sftp-wide { grid-column: 1 / -1; }
.backup-schedule-submit-row { grid-column: 1 / -1; display: flex; gap: 10px; }
.backup-schedule-table-wrap { margin-top: 22px; }
.backup-schedule-table { min-width: 1380px; }
.backup-status-active { color: #9befd6; background: rgba(45, 212, 162, .12); }
.backup-status-paused { color: #bdc9d9; background: rgba(132, 151, 177, .13); }
.backup-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.backup-table { width: 100%; min-width: 1160px; border-collapse: collapse; }
.backup-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.backup-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; vertical-align: top; }
.backup-domain { color: #ddebff !important; font-weight: 700; }
.backup-table td small { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.backup-hash { color: #9cb8da !important; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.backup-status-cell { min-width: 230px; }
.backup-status-cell small { max-width: 290px; line-height: 1.35; }
.backup-status-pending, .backup-status-creating { color: #ffcc96; background: rgba(255, 158, 74, .12); }
.backup-status-available { color: #9befd6; background: rgba(45, 212, 162, .12); }
.backup-status-restoring { color: #c7b9ff; background: rgba(155, 124, 255, .13); }
.backup-status-deleting, .backup-status-failed { color: #ffb1bd; background: rgba(255, 99, 121, .14); }
.backup-actions { min-width: 205px; white-space: nowrap; }
.backup-actions .table-action + .table-action { margin-left: 6px; }
.backup-note { margin: 13px 0 0; color: #6f86a5; font-size: 11px; line-height: 1.5; }
.backup-dialog { width: min(680px, calc(100vw - 30px)); }
.backup-dialog-body { display: grid; gap: 15px; padding: 20px; }
.backup-dialog-body p { margin: 0; line-height: 1.55; }
.backup-dialog-body strong { color: #ddebff; overflow-wrap: anywhere; }
.backup-dialog-body label { display: grid; gap: 8px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.backup-dialog-body input { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.backup-dialog-body input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.backup-dialog-body .inline-message { margin-top: 0; }
.backup-danger-button { color: #fff; background: linear-gradient(145deg, #e84d66, #a9253b); }

.users-app { display: grid; min-width: 0; gap: 20px; }
.user-create-panel, .user-list-panel { min-width: 0; padding: 24px; }
.user-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.user-heading h2 { margin: 6px 0 0; font-size: 19px; }
.user-intro { margin: 14px 0 20px; font-size: 13px; line-height: 1.55; }
.user-form { display: grid; grid-template-columns: .8fr .9fr 1fr 1.45fr 1fr auto; align-items: end; gap: 14px; }
.user-form label, .user-dialog-body label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.user-form label small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.35; }
.user-form input, .user-form select, .user-dialog-body input, .profile-form input { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.user-form input:focus, .user-form select:focus, .user-dialog-body input:focus, .profile-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.user-password-row, .profile-password-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; gap: 7px; }
.user-password-row .button, .profile-password-row .button { min-height: 44px; padding: 0 11px; font-size: 11px; }
.user-submit { min-height: 44px; }
.user-submit:disabled, .user-dialog button:disabled, .profile-form button:disabled { opacity: .55; cursor: wait; transform: none; }
.user-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.user-table { width: 100%; min-width: 1120px; border-collapse: collapse; }
.user-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.user-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; vertical-align: top; }
.user-identity-cell { display: grid; grid-template-columns: 34px minmax(130px, 1fr); align-items: center; column-gap: 10px; }
.user-list-avatar { grid-row: 1 / 3; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #dff2ff; background: linear-gradient(145deg, #193658, #254c77); font-weight: 800; }
.user-identity-cell strong { color: #ddebff; }
.user-identity-cell small, .user-activity-cell small { color: var(--muted); font-size: 10px; }
.user-email-cell { color: #a9c4e6 !important; }
.user-status-active { color: #9befd6; background: rgba(45, 212, 162, .12); }
.user-status-inactive { color: #ffb1bd; background: rgba(255, 99, 121, .14); }
.user-resource-cell, .user-activity-cell { min-width: 190px; }
.user-resource-cell span, .user-activity-cell span, .user-activity-cell small { display: block; margin-bottom: 5px; }
.user-actions { min-width: 270px; }
.user-actions .table-action { display: inline-flex; margin: 0 5px 6px 0; }
.user-actions .table-action:disabled { opacity: .38; cursor: not-allowed; }
.user-note { margin: 13px 0 0; color: #6f86a5; font-size: 11px; line-height: 1.5; }
.user-note a { color: #9fd8ff; }
.user-dialog { width: min(720px, calc(100vw - 30px)); }
.user-dialog-body { display: grid; gap: 16px; padding: 20px; }
.user-dialog-body p { margin: 0; line-height: 1.55; }
.user-dialog-body strong { color: #ddebff; overflow-wrap: anywhere; }
.user-dialog-body .inline-message { margin-top: 0; }

.profile-app { display: grid; gap: 20px; }
.profile-overview-panel { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px; }
.profile-identity { display: flex; align-items: center; gap: 16px; min-width: 0; }
.profile-avatar { display: grid; place-items: center; flex: 0 0 60px; width: 60px; height: 60px; border-radius: 17px; color: #e7f6ff; background: linear-gradient(145deg, #164974, #287fba); font-size: 24px; font-weight: 800; }
.profile-identity h2 { margin: 6px 0 4px; font-size: 21px; }
.profile-identity .muted { margin: 0; overflow-wrap: anywhere; }
.profile-meta { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 12px; margin: 0; }
.profile-meta div { padding: 12px 14px; border-radius: 11px; background: var(--surface-2); }
.profile-meta dt { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.profile-meta dd { margin: 5px 0 0; color: #ddebff; font-size: 12px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.profile-panel { padding: 24px; }
.profile-panel-heading h2 { margin: 6px 0 20px; font-size: 19px; }
.profile-form { display: grid; gap: 16px; }
.profile-form label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.profile-form label small { color: var(--muted); font-size: 10px; font-weight: 400; }
.profile-form > .button { justify-self: start; min-width: 150px; }
.profile-panel > .inline-message { margin-bottom: 0; }

.applications-app { display: grid; min-width: 0; gap: 20px; }
.application-create-panel, .application-list-panel { min-width: 0; padding: 24px; }
.application-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.application-heading h2 { margin: 6px 0 0; font-size: 19px; }
.application-intro { max-width: 1040px; margin: 14px 0 20px; font-size: 13px; line-height: 1.55; }
.application-form { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 14px; }
.application-form label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.application-form label em { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 400; }
.application-form label small, .application-boundary small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.4; }
.application-form input, .application-form select { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.application-form input:focus, .application-form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.application-form code { color: #a9c4e6; background: #071424; padding: 3px 6px; border-radius: 5px; }
.application-password-field { grid-column: span 2; }
.application-password-row { display: grid; grid-template-columns: minmax(180px, 1fr) auto auto auto; gap: 7px; }
.application-password-row .button { min-height: 44px; padding: 0 11px; font-size: 11px; }
.application-boundary { grid-column: span 3; min-height: 44px; display: grid; align-content: center; gap: 4px; padding: 8px 12px; border-radius: 10px; background: rgba(45, 212, 162, .07); border: 1px solid rgba(45, 212, 162, .17); }
.application-boundary strong { color: #b8f5e3; font-size: 11px; overflow-wrap: anywhere; }
.application-submit { min-height: 44px; }
.application-submit:disabled { opacity: .55; cursor: wait; }
.application-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.application-table { width: 100%; min-width: 1120px; border-collapse: collapse; }
.application-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.application-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; vertical-align: top; }
.application-name { color: #ddebff !important; font-weight: 700; }
.application-status-cell { min-width: 230px; }
.application-status-cell small { display: block; max-width: 290px; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.application-status-pending, .application-status-installing { color: #ffcc96; background: rgba(255, 158, 74, .12); }
.application-status-active { color: #9befd6; background: rgba(45, 212, 162, .12); }
.application-status-failed { color: #ffb1bd; background: rgba(255, 99, 121, .14); }
.application-table td:last-child { min-width: 165px; white-space: nowrap; }
.application-table td:last-child .table-action + .table-action { margin-left: 6px; }
.application-note { margin: 13px 0 0; color: #6f86a5; font-size: 11px; line-height: 1.5; }

.plans-app { display: grid; min-width: 0; gap: 20px; }
.plan-editor-panel, .plan-list-panel { min-width: 0; padding: 24px; }
.plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.plan-heading h2 { margin: 6px 0 0; font-size: 19px; }
.plan-intro { margin: 14px 0 20px; font-size: 13px; }
.plan-form { display: grid; grid-template-columns: 1.15fr 1.6fr repeat(3, .75fr); align-items: end; gap: 14px; }
.plan-form label, .plan-dialog-body label { display: grid; gap: 7px; color: #cbd9ec; font-size: 12px; font-weight: 700; }
.plan-form input, .plan-dialog-body input { width: 100%; height: 44px; padding: 0 13px; color: var(--text); background: #081528; border: 1px solid var(--border); border-radius: 10px; outline: none; }
.plan-form input:focus, .plan-dialog-body input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(33, 166, 255, .11); }
.plan-active { min-height: 44px; display: flex !important; align-items: center; grid-template-columns: auto 1fr; padding: 0 13px; border: 1px solid var(--border); border-radius: 10px; background: #081528; }
.plan-active input { width: 17px; height: 17px; accent-color: var(--primary); }
.plan-form-actions { display: flex; gap: 10px; }
.plan-table-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: 12px; }
.plan-table { width: 100%; min-width: 1050px; border-collapse: collapse; }
.plan-table th { padding: 12px 14px; color: #7690b1; background: #0a1628; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.plan-table td { padding: 14px; border-top: 1px solid rgba(34, 55, 87, .66); color: #b5c7dd; font-size: 12px; vertical-align: top; }
.plan-table td strong, .plan-table td span, .plan-table td small { display: block; }
.plan-table td strong { color: #ddebff; }
.plan-table td small { margin-top: 6px; color: var(--muted); line-height: 1.4; }
.plan-table .table-action + .table-action { margin-left: 6px; }
.quota-table { min-width: 1200px; }
.plan-dialog { width: min(820px, calc(100vw - 30px)); }
.plan-dialog-body { display: grid; gap: 16px; padding: 20px; }
.plan-dialog-body p { margin: 0; line-height: 1.55; }
.plan-dialog-body strong { color: #ddebff; }
.plan-override-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.customer-quota-panel { margin: 20px 0; padding: 24px; }
.customer-quota-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 18px; }
.customer-quota-grid div { padding: 13px; border: 1px solid rgba(33, 166, 255, .14); border-radius: 10px; background: #0a1729; }
.customer-quota-grid span, .customer-quota-grid strong { display: block; }
.customer-quota-grid span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.customer-quota-grid strong { margin-top: 6px; color: #ddebff; font-size: 12px; }
.quota-warning { margin-top: 14px; color: #ffd29f; border-color: rgba(255, 158, 74, .25); background: rgba(255, 158, 74, .08); }

@media (max-width: 1600px) and (min-width: 761px) {
  .backup-form { grid-template-columns: minmax(0, 1fr) auto; }
  .backup-boundary { grid-column: 1 / -1; }
  .backup-submit { grid-column: 2; grid-row: 1; }
  .application-form { grid-template-columns: 1fr 1fr; }
  .application-password-field, .application-boundary { grid-column: 1 / -1; }
}

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .app-shell { display: block; }
  .sidebar { position: fixed; left: -280px; width: 260px; transition: left .2s ease; }
  .sidebar.sidebar-open { left: 0; box-shadow: var(--shadow); }
  .mobile-menu { display: grid; place-items: center; }
  .topbar { height: 78px; padding: 0 17px; }
  .topbar h1 { font-size: 19px; }
  .user-copy { display: none; }
  .user-menu .button { padding: 0 10px; }
  .page-content { padding: 18px 14px 35px; }
  .welcome-panel, .file-toolbar, .pathbar { align-items: stretch; flex-direction: column; }
  .stat-grid, .feature-list { grid-template-columns: 1fr; }
  .toolbar-group { flex-wrap: wrap; }
  .list-heading-actions, .list-table-toolbar { width: 100%; align-items: stretch; flex-direction: column; }
  .list-search, .list-search input { width: 100%; }
  .file-list-toolbar .list-search { margin-left: 0; }
  .file-root-select + .search-select { width: 100%; min-width: 0; }
  .storage-summary { white-space: normal; }
  .login-card { padding: 28px 22px; }
  .website-form { grid-template-columns: 1fr; }
  .subdomain-form { grid-template-columns: 1fr; }
  .subdomain-heading { align-items: flex-start; }
  .website-create-panel .panel-heading, .website-list-heading { align-items: flex-start; }
  .ssl-heading { align-items: flex-start; flex-direction: column; }
  .database-heading { align-items: flex-start; flex-direction: column; }
  .database-form { grid-template-columns: 1fr; }
  .database-password-row { grid-template-columns: repeat(3, 1fr); }
  .database-password-row input { grid-column: 1 / -1; }
  .backup-heading { align-items: flex-start; flex-direction: column; }
  .backup-form { grid-template-columns: 1fr; }
  .backup-schedule-form, .backup-sftp-fields { grid-template-columns: 1fr; }
  .backup-sftp-wide { grid-column: auto; }
  .user-heading { align-items: flex-start; flex-direction: column; }
  .user-form { grid-template-columns: 1fr; }
  .user-password-row, .profile-password-row { grid-template-columns: repeat(3, 1fr); }
  .user-password-row input, .profile-password-row input { grid-column: 1 / -1; }
  .profile-overview-panel { align-items: flex-start; flex-direction: column; }
  .profile-meta { width: 100%; grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .application-heading { align-items: flex-start; flex-direction: column; }
  .application-form { grid-template-columns: 1fr; }
  .application-password-field, .application-boundary { grid-column: auto; }
  .application-password-row { grid-template-columns: repeat(3, 1fr); }
  .application-password-row input { grid-column: 1 / -1; }
  .plan-heading { align-items: flex-start; flex-direction: column; }
  .plan-form, .plan-override-grid { grid-template-columns: 1fr; }
  .customer-quota-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1250px) and (min-width: 761px) {
  .database-form { grid-template-columns: 1fr 1fr; }
  .database-password-field { grid-column: 1 / -1; }
  .backup-form { grid-template-columns: 1fr 1fr; }
  .backup-boundary { grid-column: 1 / -1; }
  .backup-schedule-form { grid-template-columns: 1fr 1fr; }
  .backup-sftp-fields { grid-template-columns: 1fr 1fr; }
  .user-form { grid-template-columns: 1fr 1fr; }
  .user-password-field { grid-column: 1 / -1; }
  .profile-overview-panel { align-items: flex-start; flex-direction: column; }
  .profile-meta { width: 100%; }
}
