body.ed .page-loader-overlay,
.studio .page-loader-overlay { display: flex; }

body.ed .ed-dash,
body.mk .mk-dash,
.app .nav .dash {
  border-radius: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #f0f0f3;
  font-weight: 600;
  font-size: 14px;
}

body.ed .ed-dash:hover,
.app .nav .dash:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.ed-bill button,
.studio .switch button {
  border-radius: 8px;
}

body.ed .ed-band-metrics {
  border-top: 1px solid var(--ed-line);
  border-bottom: 1px solid var(--ed-line);
}

body.ed .ed-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 0;
  align-items: stretch;
}

body.ed .ed-metrics > div {
  padding: clamp(28px, 4vw, 40px) clamp(16px, 3vw, 32px);
  border-bottom: 0;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.ed .ed-metrics > div + div {
  border-left: 1px solid var(--ed-line);
  padding-left: clamp(20px, 3vw, 36px);
}

body.ed .ed-metrics b { font-size: clamp(26px, 3vw, 34px); margin-bottom: 6px; }
body.ed .ed-metrics span { font-size: 14px; line-height: 1.4; }

@media (max-width: 720px) {
  body.ed .ed-metrics { grid-template-columns: 1fr 1fr; }
  body.ed .ed-metrics > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  body.ed .ed-metrics > div:nth-child(n + 3) { border-top: 1px solid var(--ed-line); }
}

body.ed .sites-strip {
  max-width: var(--shell);
  margin: 0 auto;
  padding: var(--section-y-sm) 0;
  border-top: 1px solid var(--ed-line);
}

body.ed .site-footer {
  margin-top: 0;
  border-top: 1px solid var(--ed-line);
  background: #060608;
}

body.ed .site-footer::before { opacity: 0.35; }

body.ed .footer-grid {
  width: var(--shell);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  gap: clamp(32px, 5vw, 56px);
}

body.ed .footer-brand p {
  max-width: 22rem;
  line-height: 1.55;
  color: var(--text-muted, #9a9aa4);
}

body.ed .footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a9aa4;
  margin-bottom: 12px;
}

body.ed .footer-col a,
body.ed .footer-sublist a {
  display: block;
  padding: 6px 0;
  color: #d4d4d8;
  text-decoration: none;
  font-size: 14px;
}

body.ed .footer-col a:hover { color: #fff; }

body.ed .footer-disclaimer {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 24px;
  color: #6f6f78;
  font-size: 13px;
  line-height: 1.5;
}

body.ed .lang-switch {
  width: var(--shell);
  margin: 0 auto;
  padding: 0 0 32px;
}

body.ed .footer-wordmark {
  display: none;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #060608;
}

.site-footer .footer-grid {
  width: min(80rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  gap: clamp(32px, 5vw, 56px);
}

.site-footer .footer-disclaimer {
  width: min(80rem, calc(100% - 3rem));
  margin: 0 auto;
  padding-bottom: 24px;
}

.sites-strip {
  width: min(80rem, calc(100% - 3rem));
  margin: 0 auto;
}

.sites-strip .g a small {
  color: #9a9aa4;
}

#serverGridSection.container {
  max-width: min(80rem, calc(100% - 3rem));
  margin-left: auto;
  margin-right: auto;
}
.login-gate .login-card {
  max-width: 420px;
  width: 100%;
  margin: 0;
}

.mk-foot {
  border-top: 1px solid var(--ed-border, rgba(255, 255, 255, 0.08));
  background: #060608;
  padding: 40px 0 48px;
}

.mk-foot .shell {
  display: grid;
  gap: 28px;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
}

.mk-foot-brand strong {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: -0.04em;
}

.mk-foot-brand p {
  margin: 10px 0 0;
  color: #9a9aa4;
  font-size: 14px;
  line-height: 1.5;
  max-width: 20rem;
}

.mk-foot h4 {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6f6f78;
  font-weight: 500;
}

.mk-foot a {
  display: block;
  padding: 5px 0;
  color: #c8c8d0;
  text-decoration: none;
  font-size: 14px;
}

.mk-foot a:hover { color: #fff; }

.mk-foot-copy {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #6f6f78;
  font-size: 13px;
}

@media (max-width: 800px) {
  .mk-foot .shell { grid-template-columns: 1fr 1fr; }
  .mk-foot-brand { grid-column: 1 / -1; }
}

.studio-page main { min-height: calc(100vh - 64px - 1px); }

.studio .plans .use,
.studio .tpl-row .use {
  border-radius: 8px;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f0f0f3;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.studio .plans .use:hover,
.studio .tpl-row .use:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}