:root {
  --bg: #f3f7fb;
  --panel: #ffffff;
  --panel-soft: #f8fbff;
  --text: #1e3146;
  --muted: #62748a;
  --line: #d8e2ec;
  --brand: #ff5b14;
  --brand-dark: #d94500;
  --blue: #006fb9;
  --green: #10a870;
  --red: #dc2626;
  --amber: #d97706;
  --teal: #0099b8;
  --shadow: 0 18px 48px rgba(25, 54, 86, 0.12);
  --radius: 8px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 284px 1fr;
}

.auth-pending .app-shell {
  display: none;
}

.login-screen {
  min-height: 100vh;
  display: none;
  place-items: center;
  padding: 18px;
  background: var(--bg);
}

.auth-pending .login-screen {
  display: grid;
}

.login-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid;
  gap: 14px;
}

.login-brand {
  color: var(--text);
  padding: 0;
}

.login-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.login-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
}

.login-card input {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 10px;
}

.login-error {
  min-height: 18px;
  color: var(--red);
  font-size: 13px;
}

.sidebar {
  background: #17324d;
  color: #f8fafc;
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 8px;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  background: #061024;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #ff9d2e);
  color: #132237;
  font-weight: 900;
}

.brand strong,
.brand span,
.server-card strong,
.server-card span {
  display: block;
}

.brand span,
.server-card span {
  color: #c7d0db;
  font-size: 12px;
  margin-top: 3px;
}

.nav-groups {
  display: grid;
  gap: 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 12px;
  color: #d9e1ea;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  text-align: left;
}

.nav-item:hover,
.nav-item.active {
  background: #244866;
  color: #ffffff;
}

.nav-item.active {
  box-shadow: inset 3px 0 0 var(--brand);
}

.server-card {
  margin-top: auto;
  padding: 14px;
  border-radius: var(--radius);
  background: #142b43;
  display: flex;
  gap: 10px;
  align-items: center;
}

.server-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(16, 168, 112, 0.16);
}

.server-dot.muted {
  background: #94a3b8;
  box-shadow: 0 0 0 5px rgba(148, 163, 184, 0.14);
}

.main {
  min-width: 0;
  padding: 22px;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mobile-menu {
  display: none;
}

.search-box {
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  box-shadow: 0 8px 20px rgba(32, 42, 58, 0.04);
}

.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  color: var(--text);
}

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

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  display: inline-grid;
  place-items: center;
  position: relative;
}

.badge-dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--red);
}

.user-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  min-height: 42px;
  padding: 6px 12px;
  color: var(--text);
  text-align: right;
}

.api-pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  min-height: 42px;
  padding: 0 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.api-pill.online {
  color: var(--green);
}

.api-pill.online .server-dot {
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(16, 168, 112, 0.16);
}

.user-chip span,
.user-chip strong {
  display: block;
}

.user-chip span {
  color: var(--muted);
  font-size: 12px;
}

.hero-strip,
.workspace,
.side-panel,
.module-card,
.runtime-card,
.cert-card,
.backup-timeline article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(32, 42, 58, 0.05);
}

.hero-strip {
  min-height: 150px;
  margin-bottom: 18px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-strip::after {
  content: "";
  position: absolute;
  inset: auto 18px 0 auto;
  width: 300px;
  height: 90px;
  background:
    linear-gradient(90deg, transparent 12px, rgba(37, 99, 235, 0.13) 13px, transparent 14px),
    linear-gradient(0deg, transparent 12px, rgba(255, 106, 42, 0.16) 13px, transparent 14px);
  background-size: 28px 28px;
  transform: skewX(-12deg);
  pointer-events: none;
}

.hero-strip > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 6px;
  font-size: 30px;
}

h2 {
  margin-bottom: 0;
  font-size: 22px;
}

h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.hero-strip p:last-child,
.module-card p,
.runtime-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.hero-actions,
.section-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.section-heading {
  margin-bottom: 14px;
}

.section-heading.compact {
  margin-bottom: 10px;
}

.primary-action,
.secondary-action,
.text-button,
.backup-timeline button {
  border-radius: var(--radius);
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  border: 1px solid transparent;
  white-space: nowrap;
}

.primary-action {
  background: var(--brand);
  color: #151515;
  font-weight: 800;
}

.primary-action:hover {
  background: #ff762f;
}

.secondary-action,
.backup-timeline button {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.text-button {
  color: var(--blue);
  background: transparent;
  padding-inline: 4px;
}

.link-action {
  border: 0;
  background: transparent;
  color: var(--blue);
  padding: 4px 0 0;
  font: inherit;
  cursor: pointer;
}

.link-action:hover {
  text-decoration: underline;
}

.full {
  width: 100%;
}

.panel-section {
  display: none;
}

.panel-section.active {
  display: block;
}

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

.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.metric-card p {
  color: var(--muted);
  margin-bottom: 4px;
}

.metric-card strong {
  font-size: 26px;
}

.metric-icon,
.module-icon,
.cert-seal {
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: #fff;
}

.accent-blue {
  background: var(--blue);
}

.accent-green {
  background: var(--green);
}

.accent-orange {
  background: var(--amber);
}

.accent-red {
  background: var(--red);
}

.trend {
  grid-column: 2;
  font-size: 12px;
  color: var(--muted);
}

.trend.good,
.ok {
  color: var(--green);
}

.trend.warn {
  color: var(--amber);
}

.dashboard-grid,
.data-layout,
.stats-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}

.workspace,
.side-panel {
  padding: 16px;
  min-width: 0;
}

.tool-grid,
.module-grid,
.runtime-grid,
.certificate-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tool-card {
  min-height: 132px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}

.tool-card:hover {
  border-color: #ffaf86;
  box-shadow: 0 12px 24px rgba(255, 91, 20, 0.12);
  transform: translateY(-1px);
}

.tool-card .ico,
.module-icon {
  color: var(--brand-dark);
}

.tool-card strong,
.tool-card span {
  display: block;
}

.tool-card span:not(.ico) {
  color: var(--muted);
  line-height: 1.35;
}

.health-list,
.status-stack,
.dns-list,
.file-list {
  display: grid;
  gap: 10px;
}

.health-row {
  display: grid;
  grid-template-columns: 52px 1fr 44px;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

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

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--brand));
}

.mini-chart,
.wide-chart {
  height: 150px;
  margin-top: 18px;
  display: flex;
  align-items: end;
  gap: 8px;
  border-radius: var(--radius);
  padding: 12px;
  background: #f3f7fa;
}

.wide-chart {
  height: 260px;
}

.mini-chart span,
.wide-chart span {
  flex: 1;
  min-width: 12px;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #2563eb, #1fb58f);
}

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

.data-table th,
.data-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table .path-cell {
  max-width: 420px;
  overflow-wrap: anywhere;
}

.data-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.table-actions {
  display: flex;
  gap: 7px;
  flex-wrap: nowrap;
}

.icon-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.danger-button {
  color: var(--red);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-pill.good {
  background: #dcfce7;
  color: #166534;
}

.status-pill.warn {
  background: #fef3c7;
  color: #92400e;
}

.dns-list div,
.status-stack div,
.file-list div,
.app-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: #fff;
}

.dns-list strong {
  min-width: 48px;
  color: var(--blue);
}

.settings-strip,
.ssl-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}

.toggle-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
}

.toggle-row input {
  position: absolute;
  opacity: 0;
}

.toggle-row span {
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #cbd5e1;
  position: relative;
  flex: 0 0 auto;
}

.toggle-row b {
  font-weight: 500;
}

.toggle-row span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  top: 2px;
  left: 2px;
  background: #fff;
  border-radius: 999px;
  transition: 0.18s;
}

.toggle-row input:checked + span {
  background: var(--green);
}

.toggle-row input:checked + span::after {
  transform: translateX(16px);
}

.module-card,
.runtime-card {
  padding: 16px;
}

.php-selector {
  margin-bottom: 14px;
}

.php-toolbar {
  display: grid;
  grid-template-columns: minmax(160px, 0.7fr) minmax(220px, 1fr) 160px auto auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
}

.php-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.filter-bar {
  min-height: 42px;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 12px;
  margin-bottom: 12px;
}

.filter-bar .ico {
  color: var(--muted);
}

.filter-bar input {
  width: 100%;
  min-height: 38px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.ssl-filter-bar {
  max-width: 560px;
  margin-top: 14px;
}

.security-console {
  margin-top: 14px;
}

.security-console pre {
  background: #111827;
  color: #f8fafc;
  border-radius: var(--radius);
  min-height: 160px;
  max-height: 360px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.php-toolbar input,
.php-toolbar select,
.php-option-row input,
.php-option-row select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 0 11px;
}

.tab-strip {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}

.tab-button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 14px;
  border-bottom: 2px solid transparent;
}

.tab-button.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand);
}

.php-tab {
  display: none;
}

.php-tab.active {
  display: block;
}

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

.extension-group {
  display: grid;
  gap: 8px;
  align-content: start;
}

.extension-group > span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.extension-row {
  min-height: 32px;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.extension-row input {
  width: 16px;
  height: 16px;
}

.extension-row.enabled strong {
  color: var(--text);
}

.mini-action {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--brand-dark);
  padding: 0 8px;
  font-size: 12px;
}

.mini-action:disabled {
  color: var(--muted);
  background: #f4f7fb;
}

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

.php-option-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 6px 12px;
  align-items: center;
}

.php-option-row span {
  font-weight: 700;
}

.php-option-row small {
  grid-column: 2;
  color: var(--muted);
}

.empty-state {
  min-height: 120px;
  display: grid;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

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

.console-workspace {
  display: grid;
  gap: 14px;
}

.console-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 12px;
}

.console-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.console-toolbar select {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 0 11px;
}

.console-output {
  min-height: 380px;
  max-height: 62vh;
  overflow: auto;
  margin: 0;
  padding: 14px;
  border-radius: var(--radius);
  background: #101827;
  color: #d1fae5;
  font: 13px/1.5 Consolas, "Courier New", monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.module-icon {
  background: #fff0e8;
  margin-bottom: 12px;
}

.file-manager {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 14px;
}

.tree {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.tree label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  padding: 4px 2px 8px;
}

.tree select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 0 10px;
}

.tree button {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  text-align: left;
  background: transparent;
  padding: 0 10px;
  color: var(--text);
}

.tree button.active,
.tree button:hover {
  background: #eef4ff;
}

.hint-text,
.muted-small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.hint-text {
  margin: 10px 8px 0;
}

.file-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.file-pathbar {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  padding: 8px;
  margin-bottom: 12px;
}

.file-drop-zone {
  position: relative;
  border: 1px dashed transparent;
  border-radius: var(--radius);
  transition: border-color .15s ease, background .15s ease;
}

.file-drop-zone.dragging {
  border-color: var(--accent);
  background: #fff7ed;
}

.file-drop-message {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
  color: var(--muted);
  margin-bottom: 8px;
}

.file-drop-message strong {
  color: var(--text);
}

.file-list div {
  justify-content: start;
  grid-template-columns: auto 1fr auto;
  display: grid;
}

.cert-card {
  padding: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.cert-seal {
  background: var(--green);
}

.cert-seal.warn {
  background: var(--amber);
}

.cert-card p {
  margin: 0;
  color: var(--muted);
}

.ssl-options {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.runtime-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-weight: 900;
  margin-bottom: 12px;
}

.runtime-badge.node {
  background: #dcfce7;
  color: #166534;
}

.runtime-badge.python {
  background: #fef3c7;
  color: #92400e;
}

select,
.modal input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  padding: 0 10px;
}

.compact-select {
  min-height: 34px;
  min-width: 118px;
  padding: 0 8px;
}

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

.backup-timeline {
  display: grid;
  gap: 10px;
}

.backup-timeline article {
  padding: 14px;
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 12px;
  align-items: center;
}

.backup-timeline span {
  color: var(--muted);
}

.modal-layer {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(15, 23, 42, 0.44);
  padding: 18px;
  z-index: 10;
}

.modal-layer.active {
  display: grid;
}

.modal {
  width: min(520px, 100%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.modal form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.modal label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.file-editor-modal {
  width: min(1040px, 100%);
}

.file-editor-path {
  margin: 4px 44px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.file-editor-modal textarea {
  width: 100%;
  min-height: min(62vh, 680px);
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111827;
  color: #e5e7eb;
  padding: 14px;
  font: 13px/1.55 Consolas, "Courier New", monospace;
  tab-size: 2;
}

.file-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  min-width: 260px;
  max-width: 360px;
  padding: 13px 14px;
  border-radius: var(--radius);
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 20;
}

.toast.active {
  transform: translateY(0);
  opacity: 1;
}

.ico {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .metrics-grid,
  .tool-grid,
  .module-grid,
  .runtime-grid,
  .extension-grid,
  .certificate-board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid,
  .data-layout,
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 284px;
    z-index: 9;
    transform: translateX(-102%);
    transition: 0.2s;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main {
    padding: 14px;
  }

  .mobile-menu {
    display: grid;
  }

  .topbar {
    grid-template-columns: auto 1fr;
  }

  .topbar-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .hero-strip,
  .hero-actions,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics-grid,
  .tool-grid,
  .module-grid,
  .runtime-grid,
  .extension-grid,
  .php-options-grid,
  .certificate-board {
    grid-template-columns: 1fr;
  }

  .php-toolbar,
  .php-option-row,
  .console-toolbar {
    grid-template-columns: 1fr;
  }

  .php-option-row small {
    grid-column: 1;
  }

  .file-manager,
  .backup-timeline article,
  .cert-card {
    grid-template-columns: 1fr;
  }

  .data-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

#ftpTable {
  margin-top: 10px;
}

h3 {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #dbe3ee;
}
