body {
  font-family:system-ui,sans-serif;
  background:#080f19;
}
.workspace {
  max-width:1600px;
  margin:auto;
  display:grid;
  grid-template-columns:250px minmax(0,1fr);
  min-height:100vh;
}
.sidebar {
  background:#101b29;
  border-right:1px solid #243344;
  padding:24px 16px;
}
.mainarea {
  padding:32px;
  min-width:0;
}
.hero {
  background:linear-gradient(120deg,#12352f,#101b29);
  border:1px solid #235346;
  border-radius:16px;
  padding:28px;
  margin-bottom:24px;
}
.toolgrid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
  margin:20px 0;
}
.tool {
  background:#101b29;
  border:1px solid #263849;
  border-radius:12px;
  padding:20px;
  text-align:left;
  min-height:110px;
}
.tool:hover {
  border-color:#34d399;
}
.tool strong {
  display:block;
  color:#e2e8f0;
  font-size:16px;
  margin:8px 0;
}
.tool span {
  color:#9cabbc;
  font-size:13px;
}
.navgroup {
  font-size:11px;
  letter-spacing:.12em;
  color:#8295a9;
  margin:24px 0 8px;
}
.brandmark {
  font-size:26px;
  font-weight:800;
  letter-spacing:-1px;
  color:#34d399;
}
.sidebar button {
  font-size:14px;
  padding:10px 12px;
}
.mainarea input,.mainarea select {
  min-height:38px;
}
.mainarea h2 {
  font-size:20px;
}
@media(max-width:760px) {
  .workspace {
    display:block;
  }
  .sidebar {
    padding:14px;
    border-right:0;
  }
  .mainarea {
    padding:16px;
  }
  .sidebar nav {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
  }
  .navgroup {
    grid-column:1/-1;
  }
  .hero {
    padding:18px;
  }
}

.mobile-menu-toggle { display: none; }

.session-error {
  max-width: 480px;
  margin: 72px auto;
}

.tool .tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #12392e;
  color: #a7f3d0;
  font-size: 18px;
}

[data-theme="light"] .tool .tool-icon { background: #d1fae5; color: #065f46; }

@media (max-width: 760px) {
  .mobile-menu-toggle {
    display: block;
    margin-top: 8px;
    border: 1px solid #475569;
    text-align: left;
  }

  .sidebar[data-menu-open="false"] .sidebar-menu { display: none; }
  .session-error { margin: 24px 16px; }
}

[data-search][hidden], [data-tool-group][hidden] { display: none !important; }
.tool-directory-header {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.tool-directory-header label { font-size: 14px; min-width: 0; }
.tool-input {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid #3c5266;
  border-radius: 8px;
  background: #101b29;
}
[data-theme="light"] .tool-input {
  background: var(--surface);
  border-color: var(--line);
}
#workspaceTools .toolgrid { margin: 10px 0 24px; }
#workspaceTools .tool { padding: 14px; }

.operator-shell { grid-template-columns: 242px minmax(0,1fr); }
.hosting-shell { grid-template-columns: 218px minmax(0,1fr); }
.operator-shell .sidebar { border-top: 4px solid #34d399; }
.hosting-shell .sidebar { border-top: 4px solid #67cbd0; }
.sidebar .navgroup { font-weight: 700; text-transform: uppercase; }
.feature-page { max-width: 960px; }
.feature-page h2 { font-size: clamp(25px,4vw,38px); font-weight: 700; }
.feature-page p { margin: 12px 0; }
.feature-page details,.resource-row { margin: 12px 0; padding: 16px; border: 1px solid #52746c; border-radius: 10px; }
.feature-page summary { cursor: pointer; }
.feature-page summary span,.resource-row span { float: right; font-size: 13px; }
.feature-page dl { display: grid; grid-template-columns: minmax(90px,1fr) 2fr; gap: 8px; margin-top: 14px; }
.resource-row { display:block; width:100%; text-align:left; overflow-wrap:anywhere; }
.resource-row small { display:block; }
.feature-page ol { margin: 12px 0 12px 22px; list-style: decimal; }

button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible, a:focus-visible { outline:3px solid #65e8b2; outline-offset:3px; }
button:disabled { cursor:wait; opacity:.62; }
.mail-dns-record { border:1px solid #34485b; border-radius:8px; padding:12px; }
.mail-dns-record + .mail-dns-record { margin-top:8px; }
.mail-dns-record p { overflow-wrap:anywhere; }
.feature-page summary { padding:8px 0; }
.global-search input { min-height:42px; }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; transition-duration:.01ms !important; }
}

.panel-topbar { display:grid; grid-template-columns:minmax(180px,1fr) minmax(220px,420px) auto; align-items:center; gap:20px; margin:-32px -32px 26px; padding:20px 32px; background:#0c1723; border-bottom:1px solid #263849; }
.panel-identity h1 { font-size:24px; font-weight:700; letter-spacing:-.025em; }
.active-site-control { display:block; max-width:260px; margin-top:7px; color:#9ab2a7; font-size:10px; font-weight:650; letter-spacing:.04em; }
.active-site-control select { display:block; width:100%; min-height:32px; margin-top:4px; padding:5px 8px; overflow:hidden; border:1px solid #375348; border-radius:7px; background:#101b20; color:#e2f5eb; font-size:12px; letter-spacing:normal; text-overflow:ellipsis; }
.panel-eyebrow,.panel-mode { color:#34d399; font-size:10px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; }
.global-search { font-size:11px; color:#92a4b8; }
.global-search input { display:block; width:100%; margin-top:5px; padding:9px 12px; border:1px solid #34485b; border-radius:8px; background:#101b29; color:#edf5fb; }
.topbar-actions { display:flex; align-items:center; justify-content:end; gap:10px; font-size:12px; color:#bac7d5; }
.topbar-actions button { padding:8px 12px; border:1px solid #34485b; border-radius:8px; }
.topbar-actions .theme-toggle { font-size:12px; }
.sidebar { position:sticky; top:0; height:100vh; overflow:auto; }
.sidebar-menu nav { display:flex; flex-direction:column; gap:3px; }
.sidebar .navgroup { margin:20px 8px 5px; }
.sidebar nav button { min-height:38px; border-color:transparent; color:#b4c0cd; }
.sidebar nav button[aria-current="page"] { background:#14372e; color:#8bf0c2; border-color:#24634f; }
.panel-summary { margin:18px 0; padding:9px 12px; border-left:3px solid #34d399; color:#a9c6bb; background:#0d1c25; font-size:12px; }
.operator-shell .hero { background:linear-gradient(115deg,#112f2a,#10202b 72%); }
.hosting-shell .hero { background:linear-gradient(115deg,#102b36,#10202b 72%); border-color:#255366; }
@media(max-width:850px) {
 .panel-topbar { grid-template-columns:1fr auto; margin:-16px -16px 20px; padding:14px 16px; }
 .global-search { grid-column:1/-1; grid-row:2; }
 .topbar-actions { grid-column:2; grid-row:1; flex-wrap:wrap; }
 .topbar-actions>span { display:none; }
 .sidebar { position:relative; height:auto; overflow:visible; }
}
@media(max-width:520px) {
 .panel-identity h1 { font-size:20px; }
 .topbar-actions .theme-toggle { display:none; }
}

.account-services { width:100%; border-top:1px solid #496055; padding-top:.5rem; }
.account-services summary { cursor:pointer; padding:.4rem 0; }
.account-service { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.65rem 0; }
.account-service small { display:block; }
.account-service button { padding:.5rem .75rem; border:1px solid #557564; border-radius:.4rem; }

.customer-dashboard { max-width:1240px; margin-inline:auto; }
.customer-welcome { position:relative; overflow:hidden; display:flex; align-items:center; min-height:190px; margin-bottom:20px; padding:clamp(22px,4vw,36px); border:1px solid #235346; border-radius:18px; background:linear-gradient(100deg,#0d261e 6%,rgba(13,38,30,.94) 48%,rgba(13,38,30,.64)),url('/assets/kestrel-infrastructure.webp') right 44% / auto 230% no-repeat; }
.customer-welcome h2 { margin-top:8px; color:#f0fdf4; font-size:clamp(26px,4vw,38px); font-weight:750; letter-spacing:-.035em; }
.customer-welcome p:not(.panel-eyebrow) { max-width:62ch; margin-top:9px; color:#b6d2c4; }
.customer-count-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:18px 0 32px; }
.customer-count-grid>a,.customer-count-grid>div { display:flex; min-height:120px; flex-direction:column; align-items:flex-start; justify-content:center; padding:18px 20px; border:1px solid #263d35; border-radius:14px; background:linear-gradient(145deg,#11251f,#101b29); color:#b8c9c0; text-decoration:none; }
.customer-count-grid>a:hover { border-color:#34d399; background:#142820; }
.customer-count-grid span { font-size:13px; }
.customer-count-grid strong { margin-top:3px; color:#ecfdf5; font-size:28px; line-height:1.2; }
.customer-count-grid small { margin-top:8px; color:#86b9a0; font-size:12px; }
.customer-section-heading { display:flex; justify-content:space-between; align-items:end; gap:16px; margin:0 0 14px; }
.customer-section-heading h2 { color:#edf8f2; font-size:20px; font-weight:700; }
.customer-section-heading p { color:#91a69a; font-size:13px; }
.customer-service-section>div:not(.customer-section-heading) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:14px; }
.customer-service-card { min-width:0; padding:17px; border:1px solid #263d35; border-radius:14px; background:#101b20; }
.customer-service-heading { display:flex; align-items:center; gap:11px; min-width:0; }
.customer-service-icon { display:grid; width:38px; height:38px; flex:none; place-items:center; border-radius:11px; background:#14372e; color:#8bf0c2; font-size:22px; }
.customer-service-kind { color:#93a99e; font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.customer-service-heading h3 { overflow:hidden; color:#ecfdf5; font-size:16px; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }
.service-state { margin-left:auto; flex:none; padding:4px 8px; border:1px solid #3d5549; border-radius:999px; color:#c2d5c9; font-size:11px; text-transform:capitalize; }
.service-state[data-state="RUNNING"] { border-color:#28694f; background:#0d2e21; color:#86efac; }
.service-state[data-state="ERROR"],.service-state[data-state="SUSPENDED"] { border-color:#854d43; background:#351b1a; color:#fda4af; }
.customer-service-meta { display:flex; justify-content:space-between; gap:12px; margin:18px 0 14px; color:#91a69a; font-size:12px; }
.customer-service-meta span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.customer-service-open { display:flex; width:100%; justify-content:space-between; align-items:center; padding:10px 12px; border:1px solid #286149; border-radius:9px; background:#103327; color:#a7f3d0; font-size:13px; font-weight:650; text-align:left; }
.customer-service-open:hover { border-color:#34d399; background:#154434; }
.customer-empty-state { display:block!important; padding:24px; border:1px dashed #40594e; border-radius:14px; color:#c1d1c8; }
.customer-empty-state p { margin-top:6px; color:#93a69c; font-size:13px; }
.selected-site-card { display:flex; max-width:760px; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; margin-top:18px; padding:20px; border:1px solid #315c49; border-radius:14px; background:linear-gradient(130deg,#122b22,#101b20); }
.selected-site-card h3 { margin-top:3px; color:#ecfdf5; font-size:19px; font-weight:700; }
.selected-site-card p { margin-top:5px; color:#91a69a; font-size:12px; }
.selected-site-card .customer-service-open { width:auto; min-width:180px; }
.full-service-page { max-width:1200px; margin-inline:auto; }
.full-service-page-heading { margin:4px 0 20px; padding:4px 0 18px; border-bottom:1px solid #263d35; }
.full-service-page-heading h2 { margin-top:5px; color:#ecfdf5; font-size:clamp(22px,3vw,30px); font-weight:750; letter-spacing:-.025em; }
.full-service-page-heading>p:last-child { max-width:70ch; margin-top:7px; color:#91a69a; font-size:13px; }
#servicePageBody { padding:18px; border:1px solid #263d35; border-radius:14px; background:#0d171a; }
.file-manager-toolbar { display:grid; grid-template-columns:minmax(0,1fr) minmax(150px,220px); gap:12px; }
.file-manager-toolbar label { display:block; color:#a8bbb1; font-size:11px; }
.file-manager-toolbar input,.file-manager-toolbar select { display:block; width:100%; min-height:38px; margin-top:5px; padding:7px 10px; border:1px solid #344b40; border-radius:8px; background:#101b20; color:#e2f5eb; }
.file-entry-row { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:10px; padding:7px 5px; border-bottom:1px solid #24352e; }
.file-entry-open { display:flex; min-width:0; align-items:flex-start; justify-content:space-between; gap:12px; padding:7px; border-radius:7px; text-align:left; }
.file-entry-open:hover { background:#142820; }
.file-entry-name { min-width:0; color:#d7e8de; overflow-wrap:anywhere; }
.file-entry-meta { flex:none; color:#91a69a; font-size:10px; text-align:right; }
.file-entry-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:5px; }
.file-entry-actions:empty { display:none; }
.file-action-button { min-height:32px; padding:5px 8px; border:1px solid #354c40; border-radius:7px; color:#bfd2c6; font-size:11px; }
.file-action-button:hover { border-color:#34d399; background:#14372e; color:#d1fae5; }
.sftp-connection-details { display:grid; gap:7px; }
.sftp-detail-row { display:grid; grid-template-columns:minmax(105px,.7fr) minmax(0,2fr) auto; align-items:center; gap:10px; padding:10px; border:1px solid #263d35; border-radius:8px; background:#101b20; color:#9fb4a8; font-size:12px; }
.sftp-detail-row code { min-width:0; overflow-wrap:anywhere; color:#e2f5eb; font-family:ui-monospace,monospace; }
.sftp-detail-row button { min-height:32px; padding:4px 9px; border:1px solid #354c40; border-radius:7px; color:#a7f3d0; }
.customer-breadcrumbs { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:16px; color:#93a99e; font-size:12px; }
.customer-breadcrumbs a { color:#8bf0c2; text-decoration:underline; text-underline-offset:3px; }
.customer-detail-hero { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:24px; border:1px solid #285242; border-radius:16px; background:linear-gradient(115deg,#102b21,#101b20); }
.customer-detail-hero h2 { margin-top:5px; color:#f0fdf4; font-size:clamp(24px,4vw,34px); font-weight:750; overflow-wrap:anywhere; }
.customer-detail-hero p:last-child { margin-top:5px; color:#95aa9e; font-size:12px; }
.website-detail-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:12px; margin:16px 0; }
.website-detail-grid article { min-width:0; padding:16px; border:1px solid #263d35; border-radius:12px; background:#101b20; }
.website-detail-grid article>span { display:block; color:#93a99e; font-size:11px; }
.website-detail-grid article strong { display:block; margin-top:7px; color:#ecfdf5; font-size:18px; overflow-wrap:anywhere; }
.website-detail-grid article small { display:block; margin-top:6px; color:#80968a; font-size:10px; }
.website-usage-measure { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; margin:14px 0 28px; padding:18px; border:1px solid #2c4a3b; border-radius:13px; background:#0e1b17; }
.website-usage-measure strong { color:#e2f5eb; font-size:14px; }
.website-usage-measure p,.website-usage-measure span { display:block; margin-top:5px; color:#93a99e; font-size:11px; }
.website-usage-measure button { min-height:38px; padding:8px 14px; border:1px solid #286149; border-radius:8px; background:#103327; color:#a7f3d0; font-size:12px; font-weight:650; }
.website-management { margin-top:24px; }
.website-tool-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; }
.website-tool-grid button { display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center; column-gap:11px; min-height:92px; padding:14px; border:1px solid #263d35; border-radius:12px; background:#101b20; text-align:left; }
.website-tool-grid button:hover { border-color:#34d399; background:#142820; }
.website-tool-grid .customer-service-icon { grid-row:span 2; }
.website-tool-grid strong { color:#e5f4eb; font-size:13px; }
.website-tool-grid small { color:#91a69a; font-size:10px; line-height:1.45; }
.website-domain-summary { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; padding:18px; border:1px solid #263d35; border-radius:13px; background:#101b20; }
.website-domain-summary strong { display:block; margin-top:5px; color:#ecfdf5; overflow-wrap:anywhere; }
.website-domain-summary p { margin-top:5px; color:#91a69a; font-size:11px; }
.website-domain-summary .customer-service-open { width:auto; min-width:160px; }
[data-theme="light"] .customer-welcome { border-color:#a6ccba; background:linear-gradient(100deg,#e4f7ec 8%,rgba(228,247,236,.94) 56%,rgba(228,247,236,.72)),url('/assets/kestrel-infrastructure.webp') right 44% / auto 230% no-repeat; }
[data-theme="light"] .customer-welcome h2,[data-theme="light"] .customer-count-grid strong,[data-theme="light"] .customer-section-heading h2,[data-theme="light"] .customer-service-heading h3 { color:#142b23; }
[data-theme="light"] .customer-welcome p:not(.panel-eyebrow),[data-theme="light"] .customer-count-grid>a,[data-theme="light"] .customer-count-grid>div,[data-theme="light"] .customer-service-meta,[data-theme="light"] .customer-section-heading p,[data-theme="light"] .customer-service-kind { color:#40574e; }
[data-theme="light"] .customer-count-grid>a,[data-theme="light"] .customer-count-grid>div,[data-theme="light"] .customer-service-card { border-color:#b9cdc5; background:#fff; }
[data-theme="light"] .customer-count-grid small { color:#047857; }
[data-theme="light"] .customer-service-icon { background:#d1fae5; color:#065f46; }
[data-theme="light"] .service-state { border-color:#b9cdc5; color:#40574e; }
[data-theme="light"] .service-state[data-state="RUNNING"] { border-color:#86c5a6; background:#e7f7ee; color:#166534; }
[data-theme="light"] .service-state[data-state="ERROR"],[data-theme="light"] .service-state[data-state="SUSPENDED"] { border-color:#fda4af; background:#fff1f2; color:#9f1239; }
[data-theme="light"] .customer-service-open { border-color:#8ac4a6; background:#e7f7ee; color:#065f46; }
[data-theme="light"] .customer-empty-state { border-color:#9bb8a9; color:#142b23; }
[data-theme="light"] .customer-empty-state p { color:#40574e; }
[data-theme="light"] .selected-site-card { border-color:#a7c9b6; background:linear-gradient(130deg,#e9f7ef,#fff); }
[data-theme="light"] .selected-site-card h3 { color:#142b23; }
[data-theme="light"] .selected-site-card p { color:#40574e; }
[data-theme="light"] .full-service-page-heading { border-color:#b9cdc5; }
[data-theme="light"] .full-service-page-heading h2 { color:#142b23; }
[data-theme="light"] .full-service-page-heading>p:last-child { color:#40574e; }
[data-theme="light"] #servicePageBody { border-color:#b9cdc5; background:#fff; }
[data-theme="light"] .file-manager-toolbar label { color:#40574e; }
[data-theme="light"] .file-manager-toolbar input,[data-theme="light"] .file-manager-toolbar select { border-color:#b9cdc5; background:#fff; color:#142b23; }
[data-theme="light"] .file-entry-row { border-color:#d6e3dc; }
[data-theme="light"] .file-entry-name { color:#142b23; }
[data-theme="light"] .file-entry-meta { color:#526b5e; }
[data-theme="light"] .file-action-button { border-color:#b9cdc5; color:#40574e; }
[data-theme="light"] .file-action-button:hover { border-color:#047857; background:#e7f7ee; color:#065f46; }
[data-theme="light"] .sftp-detail-row { border-color:#d6e3dc; background:#f7fbf9; color:#40574e; }
[data-theme="light"] .sftp-detail-row code { color:#142b23; }
[data-theme="light"] .sftp-detail-row button { border-color:#b9cdc5; color:#065f46; }
[data-theme="light"] .customer-breadcrumbs { color:#40574e; }
[data-theme="light"] .customer-breadcrumbs a { color:#065f46; }
[data-theme="light"] .customer-detail-hero { border-color:#a7c9b6; background:linear-gradient(115deg,#e9f7ef,#fff); }
[data-theme="light"] .customer-detail-hero h2,[data-theme="light"] .website-detail-grid article strong,[data-theme="light"] .website-usage-measure strong,[data-theme="light"] .website-tool-grid strong,[data-theme="light"] .website-domain-summary strong { color:#142b23; }
[data-theme="light"] .customer-detail-hero p:last-child,[data-theme="light"] .website-detail-grid article>span,[data-theme="light"] .website-detail-grid article small,[data-theme="light"] .website-usage-measure p,[data-theme="light"] .website-usage-measure span,[data-theme="light"] .website-tool-grid small,[data-theme="light"] .website-domain-summary p { color:#40574e; }
[data-theme="light"] .website-detail-grid article,[data-theme="light"] .website-domain-summary,[data-theme="light"] .website-tool-grid button { border-color:#b9cdc5; background:#fff; }
[data-theme="light"] .website-usage-measure { border-color:#b9cdc5; background:#f7fbf9; }
[data-theme="light"] .website-usage-measure button { border-color:#8ac4a6; background:#e7f7ee; color:#065f46; }
[data-theme="light"] .website-tool-grid button:hover { border-color:#047857; background:#f0faf4; }
[data-theme="light"] .active-site-control { color:#40574e; }
[data-theme="light"] .active-site-control select { border-color:#b9cdc5; background:#fff; color:#142b23; }
.customer-domains-page,.database-management { display:grid; gap:18px; }
.domain-manager-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.domain-manager-card,.database-management>header,.database-card { min-width:0; padding:18px; border:1px solid #263849; border-radius:14px; background:#101b29; color:#cbd5e1; }
.domain-manager-card h3,.database-management h2,.database-card strong { color:#f8fafc; font-size:16px; font-weight:700; }
.domain-manager-card p,.database-management header p,.database-card p { color:#9cabbc; font-size:13px; line-height:1.55; margin:8px 0; }
.domain-table-wrap { overflow-x:auto; }
.domain-table-wrap table { width:100%; min-width:650px; border-collapse:collapse; text-align:left; font-size:13px; }
.domain-table-wrap th,.domain-table-wrap td { padding:11px 12px; border-top:1px solid #263849; white-space:nowrap; }
.domain-table-wrap thead th { color:#9cabbc; font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.domain-table-wrap tbody th { color:#e2e8f0; font-weight:650; }
.domain-table-wrap button,.domain-add-form button,.database-management button,.database-management a { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:7px 11px; border:1px solid #187a5b; border-radius:8px; background:#075c43; color:#ecfdf5; font-size:12px; font-weight:650; text-decoration:none; }
.domain-add-form { display:grid; gap:8px; margin-top:16px; }
.domain-add-form label,.database-management label { color:#d7e5df; font-size:12px; font-weight:650; }
.domain-add-form>div { display:flex; gap:8px; }
.domain-add-form input,.database-management input { flex:1; min-width:0; padding:9px 11px; border:1px solid #304456; border-radius:8px; background:#08131f; color:#f8fafc; }
.dns-guidance,.domain-status-unverified { display:block; margin-top:10px; border-left:3px solid #b7791f; padding:8px 10px; background:#332511; color:#f6dfb8!important; }
.database-management>header form { display:flex; flex-wrap:wrap; align-items:end; gap:9px; margin:12px 0; }
.database-management>header form label { width:100%; }
.database-management>header form button { cursor:pointer; }
.database-library-tools { display:grid; gap:10px; margin:16px 0 22px; }
.database-library-tools h2 { color:#f8fafc; font-size:18px; font-weight:750; }
.database-library-tools>p { color:#9cabbc; font-size:13px; }
.database-library-card { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px; border:1px solid #263849; border-radius:12px; background:#101b29; }
.database-library-card strong { color:#f8fafc; font-size:14px; }
.database-library-card p { margin-top:5px; color:#9cabbc; font-size:12px; }
.database-library-card a,.database-library-card button { flex:none; padding:8px 11px; border:1px solid #187a5b; border-radius:8px; background:#075c43; color:#ecfdf5; font-size:12px; font-weight:650; text-decoration:none; }
.database-card { display:grid; gap:8px; }
.database-actions { display:flex; flex-wrap:wrap; gap:8px; }
.database-management #dbOperationResult { white-space:pre-wrap; overflow-wrap:anywhere; color:#6ee7b7; font-size:12px; }
.runtime-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:10px; margin:14px 0; }
.runtime-facts>div { min-width:0; padding:12px; border:1px solid #263849; border-radius:9px; background:#08131f; }
.runtime-facts dt { margin-bottom:5px; color:#9cabbc; font-size:11px; text-transform:uppercase; }
.runtime-facts dd { overflow-wrap:anywhere; color:#ecfdf5; font-size:14px; font-weight:650; }
.managed-dns-guide,.managed-dns-status { display:grid; gap:6px; margin:12px 0; padding:12px; border:1px solid #2b5147; border-radius:10px; background:#0b1c20; }
.managed-dns-guide p,.managed-dns-status span { margin:0; color:#b8cbc4; font-size:12px; line-height:1.55; }
.managed-dns-guide p:first-child { color:#a7f3d0; }
.managed-dns-create,.managed-dns-actions,.managed-dns-history-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:10px 0; }
.managed-dns-create select,.managed-dns-zone-select,.managed-dns-record-row input,.managed-dns-record-row select { min-width:0; padding:8px 9px; border:1px solid #304456; border-radius:7px; background:#08131f; color:#ecfdf5; }
.managed-dns-create button,.managed-dns-actions button,.managed-dns-history button,.managed-dns-remove,.dns-admin-page header button { padding:8px 11px; border:1px solid #187a5b; border-radius:8px; background:#075c43; color:#ecfdf5; font-size:12px; font-weight:650; }
.managed-dns-actions .managed-dns-danger { border-color:#a94b58; background:#832f3b; }
.managed-dns-create button:disabled,.managed-dns-actions button:disabled { opacity:.5; cursor:not-allowed; }
.managed-dns-select-label { display:block; margin:16px 0 6px; color:#b8cbc4; font-size:12px; }
.managed-dns-records { display:grid; gap:8px; margin:10px 0; }
.managed-dns-record-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:8px; align-items:end; padding:10px; border:1px solid #263849; border-radius:10px; background:#0b1420; }
.managed-dns-field { display:grid; gap:4px; color:#9cabbc; font-size:10px; font-weight:650; }
.managed-dns-field input,.managed-dns-field select { width:100%; font-size:12px; }
.managed-dns-field[hidden] { display:none; }
.managed-dns-remove { border-color:#723b42; background:#49232b; }
.managed-dns-message { min-height:18px; color:#a7f3d0; font-size:12px; overflow-wrap:anywhere; }
.managed-dns-history { margin:12px 0; color:#cbd5e1; font-size:12px; }
.managed-dns-history-row { justify-content:space-between; padding:6px 0; border-bottom:1px solid #263849; }
.managed-dns-empty { padding:12px; border:1px dashed #3b514a; border-radius:9px; color:#b8cbc4; font-size:12px; }
.managed-dns-security { display:grid; gap:8px; padding:13px; border:1px solid #294a46; border-radius:10px; background:#0d1a22; }
.managed-dns-security>strong { color:#a7f3d0; font-size:13px; }
.managed-dns-security>p { color:#aebdca; font-size:11px; line-height:1.5; }
.managed-dns-security .managed-dns-actions { margin-top:0; }
.managed-dns-ds-values { overflow-wrap:anywhere; white-space:pre-wrap; padding:10px; border-radius:7px; background:#071019; color:#d1fae5; font-size:11px; }
.dns-admin-page { display:grid; gap:14px; }
.dns-admin-page>header { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.dns-admin-page>header h2 { color:#f8fafc; font-size:20px; font-weight:750; }
.dns-admin-page>header p:last-child { color:#9cabbc; font-size:13px; }
.system-services-page { display:grid; gap:16px; }
.system-services-page>header { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.system-services-page>header h2 { color:#f8fafc; font-size:21px; font-weight:750; }
.system-services-page>header p:last-child { color:#9cabbc; font-size:13px; }
.system-services-page>header button,.system-service-toggle { padding:8px 12px; border:1px solid #187a5b; border-radius:8px; background:#075c43; color:#ecfdf5; font-size:12px; font-weight:700; }
.system-service-toggle:disabled { cursor:not-allowed; opacity:.45; }
.system-service-runtime-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding-top:4px; border-top:1px solid #263849; }
.system-service-runtime-actions button { padding:7px 9px; border:1px solid #187a5b; border-radius:7px; background:#123c31; color:#d1fae5; font-size:11px; font-weight:700; }
.system-service-runtime-actions button.is-danger { border-color:#7f4149; background:#3c1c23; color:#fecaca; }
.system-service-runtime-actions button:disabled { cursor:not-allowed; opacity:.45; }
.system-service-runtime-actions span { flex:1 1 100%; color:#8295a6; font-size:10px; }
.system-services-notice { padding:13px 15px; border:1px solid #65713d; border-radius:10px; background:#282b19; color:#e5e8bd; font-size:12px; line-height:1.55; }
.system-services-notice p { margin-top:4px; }
.system-service-group h3 { margin-bottom:10px; color:#a7f3d0; font-size:14px; font-weight:750; }
.system-service-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr)); gap:12px; }
.system-service-card { display:grid; align-content:start; gap:11px; padding:14px; border:1px solid #263849; border-radius:11px; background:#0b1420; }
.system-service-card>header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.system-service-group-label { color:#8295a6; font-size:9px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.system-service-card h4 { margin-top:3px; color:#f8fafc; font-size:14px; font-weight:750; }
.system-service-card>p { min-height:36px; color:#aebdca; font-size:12px; line-height:1.5; }
.system-service-card dl { display:grid; gap:5px; }
.system-service-card dl>div { display:flex; justify-content:space-between; gap:12px; font-size:11px; }
.system-service-card dt { color:#8394a4; }
.system-service-card dd { color:#dbe5e2; text-align:right; }
.system-service-status { flex:none; padding:4px 7px; border:1px solid #39554b; border-radius:999px; color:#a7f3d0; font-size:10px; font-weight:750; text-transform:capitalize; }
.system-service-status.is-offline { border-color:#814749; color:#fecaca; }
.system-service-status.is-disabled { border-color:#45515d; color:#cbd5e1; }
.system-service-locked { color:#8295a6; font-size:11px; }
#systemServiceMessage { min-height:18px; color:#a7f3d0; font-size:12px; }
.dns-admin-summary { display:grid; gap:5px; padding:14px; border:1px solid #263849; border-radius:12px; background:#101b29; }
.dns-admin-summary strong { color:#a7f3d0; font-size:13px; }
.dns-admin-summary span { color:#9cabbc; font-size:12px; }
[data-theme="light"] .managed-dns-guide,[data-theme="light"] .managed-dns-status,[data-theme="light"] .dns-admin-summary { border-color:#b9cdc5; background:#f7fbf9; }
[data-theme="light"] .managed-dns-guide p,[data-theme="light"] .managed-dns-status span,[data-theme="light"] .managed-dns-history,[data-theme="light"] .managed-dns-empty { color:#40574e; }
[data-theme="light"] .managed-dns-record-row { border-color:#d6e3dc; background:#fff; }
[data-theme="light"] .managed-dns-security { border-color:#b9cdc5; background:#f7fbf9; }
[data-theme="light"] .managed-dns-security>strong { color:#047857; }
[data-theme="light"] .managed-dns-security>p { color:#40574e; }
[data-theme="light"] .managed-dns-ds-values { background:#edf5f1; color:#142b23; }
[data-theme="light"] .managed-dns-field { color:#526b5e; }
[data-theme="light"] .managed-dns-field input,[data-theme="light"] .managed-dns-field select,[data-theme="light"] .managed-dns-create select { border-color:#b9cdc5; background:#fff; color:#142b23; }
[data-theme="light"] .dns-admin-page>header h2 { color:#142b23; }
[data-theme="light"] .dns-admin-page>header p:last-child,[data-theme="light"] .dns-admin-summary span { color:#526b5e; }
[data-theme="light"] .system-services-page>header h2 { color:#142b23; }
[data-theme="light"] .system-services-page>header p:last-child { color:#526b5e; }
[data-theme="light"] .system-services-notice { border-color:#dacb8c; background:#fff8df; color:#5f511d; }
[data-theme="light"] .system-service-group h3 { color:#047857; }
[data-theme="light"] .system-service-card { border-color:#b9cdc5; background:#fff; }
[data-theme="light"] .system-service-card h4 { color:#142b23; }
[data-theme="light"] .system-service-runtime-actions { border-color:#d6e3dc; }
[data-theme="light"] .system-service-runtime-actions button { border-color:#92c5ad; background:#e8f5ee; color:#075c43; }
[data-theme="light"] .system-service-runtime-actions button.is-danger { border-color:#d9a8aa; background:#fff0f0; color:#922c38; }
[data-theme="light"] .system-service-runtime-actions span { color:#63786e; }
[data-theme="light"] .system-service-card>p { color:#526b5e; }
[data-theme="light"] .system-service-card dt,[data-theme="light"] .system-service-group-label { color:#63786e; }
[data-theme="light"] .system-service-card dd { color:#293f35; }
[data-theme="light"] .domain-manager-card,[data-theme="light"] .database-management>header,[data-theme="light"] .database-card { border-color:#b9cdc5; background:#fff; color:#40574e; }
[data-theme="light"] .domain-manager-card h3,[data-theme="light"] .database-management h2,[data-theme="light"] .database-card strong,[data-theme="light"] .domain-table-wrap tbody th { color:#142b23; }
[data-theme="light"] .domain-manager-card p,[data-theme="light"] .database-management header p,[data-theme="light"] .database-card p,[data-theme="light"] .domain-table-wrap thead th { color:#526b5e; }
[data-theme="light"] .domain-table-wrap th,[data-theme="light"] .domain-table-wrap td { border-color:#d6e3dc; }
[data-theme="light"] .domain-add-form input,[data-theme="light"] .database-management input { border-color:#b9cdc5; background:#f7fbf9; color:#142b23; }
[data-theme="light"] .domain-add-form label,[data-theme="light"] .database-management label { color:#40574e; }
[data-theme="light"] .dns-guidance,[data-theme="light"] .domain-status-unverified { background:#fff8e7; color:#6d4d10!important; }
[data-theme="light"] .runtime-facts>div { border-color:#d6e3dc; background:#f7fbf9; }
[data-theme="light"] .runtime-facts dt { color:#526b5e; }
[data-theme="light"] .runtime-facts dd { color:#142b23; }
[data-theme="light"] .database-library-tools h2,[data-theme="light"] .database-library-card strong { color:#142b23; }
[data-theme="light"] .database-library-tools>p,[data-theme="light"] .database-library-card p { color:#526b5e; }
[data-theme="light"] .database-library-card { border-color:#b9cdc5; background:#fff; }
@media(max-width:760px) { .customer-welcome { min-height:160px; background-size:auto 190%; } }
@media(max-width:540px) { .customer-count-grid { grid-template-columns:1fr; gap:9px; margin-bottom:24px; } .customer-count-grid>a,.customer-count-grid>div { min-height:90px; } .customer-service-meta { flex-direction:column; gap:3px; } .file-manager-toolbar { grid-template-columns:1fr; } .file-entry-row { grid-template-columns:1fr; } .file-entry-actions { justify-content:flex-start; } .sftp-detail-row { grid-template-columns:1fr auto; } .sftp-detail-row span { grid-column:1/-1; } .domain-manager-grid { grid-template-columns:1fr; } .domain-manager-card,.database-management>header,.database-card { padding:14px; } .domain-add-form>div { align-items:stretch; flex-direction:column; } .database-library-card { align-items:stretch; flex-direction:column; } .managed-dns-create { align-items:stretch; flex-direction:column; } .managed-dns-record-row { grid-template-columns:1fr 1fr; } .managed-dns-actions button { flex:1 1 100%; } .dns-admin-page>header { align-items:flex-start; flex-direction:column; } }
@media(max-width:540px) { .system-services-page>header { align-items:flex-start; flex-direction:column; } .system-service-card>p { min-height:0; } }
