*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: var(--gp-color-bg);
  --surface: var(--gp-color-surface);
  --border: var(--gp-color-border);
  --text: var(--gp-color-text);
  --muted: var(--gp-color-muted);
  --accent: var(--gp-color-accent);
  --accent-soft: var(--gp-color-accent-soft);
  --ok: var(--gp-color-success);
  --ok-soft: var(--gp-color-success-soft);
  --warn: var(--gp-color-warning);
  --warn-soft: #fff7ed;
  --err: var(--gp-color-error);
  --err-soft: var(--gp-color-error-soft);
}

body {
  font-family: var(--gp-font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

#app { min-height: 100vh; display: flex; flex-direction: column; }

.header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner {
  width: 100%;
  margin: 0;
  padding: 0 22px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  margin-left: 0;
}
.logo-image {
  height: 52px;
  width: 170px;
  object-fit: contain;
  display: block;
}
.logo-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(140deg, #3c5cc5, #284290);
  color: #fff; font-size: 12px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.logo-text { font-size: 17px; font-weight: 700; color: var(--accent); }
.header-tagline { display: none; }

.logout-btn {
  border: 1px solid #c7d2fe;
  background: #fff;
  color: var(--accent);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.workspace-shell {
  width: 100%;
  margin: 0;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
}

.ops-sidebar {
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  background: #f8f9fc;
  border-right: 1px solid var(--border);
}
.ops-nav { display: flex; flex-direction: column; gap: 6px; }
.ops-nav-secondary { padding-top: 0; border-top: 0; }
.ops-link {
  border: 1px solid transparent;
  background: transparent;
  color: #475571;
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ops-link:hover { background: #f5f7fd; border-color: #dde3f4; color: #263f82; }
.ops-link.active { background: #eaf0ff; color: var(--accent); border-color: #d8e0fb; }
.ops-ico { width: 20px; text-align: center; font-size: 15px; opacity: .9; }

.page-content { padding: 28px 32px 40px; min-width: 0; }
.page-title { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: 0; margin-bottom: 6px; color: #111827; }
.page-subtitle { color: var(--muted); margin-bottom: 20px; max-width: 820px; }

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.kpi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  box-shadow: var(--gp-shadow-card);
}
.kpi-label { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.kpi-value { font-size: 22px; font-weight: 700; }

.panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 12px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--gp-shadow-card);
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--gp-shadow-card);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.full { grid-column: 1 / -1; }
.form-row label { font-size: 12px; font-weight: 700; color: #334155; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 10px 11px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.primary-btn {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.primary-btn:disabled { opacity: 0.65; cursor: not-allowed; }
.panel h3 { font-size: 16px; margin-bottom: 8px; }
.panel p { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.list { display: flex; flex-direction: column; gap: 8px; }
.list-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.chip {
  display: inline-flex; align-items: center;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  padding: 3px 8px;
}
.chip.ok { color: var(--ok); background: var(--ok-soft); }
.chip.warn { color: #4f46e5; background: #eef2ff; }
.chip.err { color: var(--err); background: var(--err-soft); }

.seo-issue-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seo-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.seo-tab.active {
  border-color: #6f42ff;
  color: #4f46e5;
  background: #eef2ff;
}

.seo-thematic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.seo-theme-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.seo-theme-label {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.seo-theme-score {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.seo-theme-delta {
  font-size: 12px;
  margin-top: 4px;
}

.seo-theme-delta.pos { color: var(--ok); }
.seo-theme-delta.neg { color: var(--err); }

.seo-blog-grid {
  align-items: start;
}

.seo-blog-right-column {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.site-footer-inner {
  width: 100%;
  margin: 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-footer-brand { color: var(--muted); font-size: 12px; }
.site-footer-links { display: flex; gap: 10px; }
.site-footer-links a { color: var(--muted); font-size: 12px; text-decoration: none; }

.dashboard-page {
  --dash-bg: #111936;
  --dash-panel: #1b2546;
  --dash-panel-strong: #1f2b50;
  --dash-panel-soft: #172142;
  --dash-line: rgba(155, 173, 214, 0.26);
  --dash-text: #eef6ff;
  --dash-muted: #b4c0df;
  --dash-cyan: #21f3e6;
  --dash-blue: #2aa8ff;
  --dash-logo-blue: #28c7ff;
  --dash-purple: #6f42ff;
  --dash-green: #56f0a7;
  background:
    radial-gradient(circle at 16% -8%, rgba(111, 66, 255, 0.19), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(40, 199, 255, 0.18), transparent 30%),
    radial-gradient(circle at 54% 100%, rgba(42, 168, 255, 0.12), transparent 34%),
    linear-gradient(180deg, #121a37 0%, #0f1731 100%);
  color: var(--dash-text);
}

.dashboard-page #app {
  background: transparent;
}

.dashboard-page .header {
  background: rgba(18, 25, 51, 0.9);
  border-bottom: 1px solid rgba(172, 188, 230, 0.2);
  box-shadow: 0 12px 34px rgba(4, 10, 24, 0.2);
  backdrop-filter: blur(16px);
}

.dashboard-page .header-inner {
  height: 72px;
  padding: 0 24px;
}

.dashboard-page .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.dashboard-page .workspace-pill {
  border: 1px solid rgba(33, 243, 230, 0.28);
  background: rgba(33, 243, 230, 0.08);
  color: #c8fffb;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
}

.dashboard-page .logout-btn {
  border-color: rgba(159, 172, 206, 0.24);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dash-text);
}

.dashboard-page .logout-btn:hover {
  border-color: rgba(33, 243, 230, 0.46);
  background: rgba(33, 243, 230, 0.1);
}

.dashboard-page .workspace-shell {
  grid-template-columns: 224px minmax(0, 1fr);
  background: transparent;
}

.dashboard-page .ops-sidebar {
  padding: 18px 14px;
  background: rgba(19, 29, 57, 0.76);
  border-right: 1px solid rgba(172, 188, 230, 0.18);
  box-shadow: 18px 0 40px rgba(4, 10, 24, 0.16);
}

.dashboard-page .ops-link {
  color: #b9c4e6;
  min-height: 46px;
  border-radius: 12px;
  font-size: 14px;
}

.dashboard-page .ops-link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(95, 111, 157, 0.3);
  color: #fff;
}

.dashboard-page .ops-link.active {
  background: linear-gradient(135deg, rgba(40, 199, 255, 0.2), rgba(111, 66, 255, 0.22));
  border-color: rgba(33, 243, 230, 0.32);
  color: #fff;
  box-shadow: 0 16px 38px rgba(33, 243, 230, 0.1);
}

.dashboard-page .page-content {
  padding: 30px;
  min-height: calc(100vh - 72px);
}

.dashboard-page .dashboard-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.dashboard-page .eyebrow {
  color: var(--dash-cyan);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.dashboard-page .page-title {
  color: var(--dash-text);
  font-size: 34px;
  margin-bottom: 8px;
}

.dashboard-page .page-subtitle {
  color: var(--dash-muted);
  max-width: 760px;
  margin-bottom: 0;
}

.dashboard-page .hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.dashboard-page .primary-action,
.dashboard-page .secondary-action {
  min-height: 40px;
  border-radius: 10px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.dashboard-page .primary-action {
  border: 1px solid rgba(33, 243, 230, 0.62);
  background: linear-gradient(135deg, #17d7d9, #347cff);
  color: #071020;
  box-shadow: 0 16px 44px rgba(33, 243, 230, 0.16);
}

.dashboard-page .secondary-action {
  border: 1px solid rgba(159, 172, 206, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: var(--dash-text);
}

.dashboard-page .dashboard-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.dashboard-page .kpi-card {
  position: relative;
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.dashboard-page .kpi-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 42%);
  pointer-events: none;
}

.dashboard-page .kpi-gradient-a {
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(135deg, #28c7ff 0%, #6f42ff 100%);
}

.dashboard-page .kpi-gradient-b {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #20f7e9 0%, #5969ee 100%);
}

.dashboard-page .kpi-compact {
  background: linear-gradient(135deg, rgba(22, 30, 55, 0.96), rgba(18, 24, 45, 0.96));
}

.dashboard-page .kpi-label,
.dashboard-page .kpi-footnote,
.dashboard-page .kpi-unit {
  position: relative;
  z-index: 1;
}

.dashboard-page .kpi-label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.dashboard-page .kpi-metric-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.dashboard-page .kpi-value {
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.dashboard-page .kpi-unit {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-page .kpi-footnote,
.dashboard-page .kpi-delta {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-page .kpi-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 243, 230, 0.14);
  color: var(--dash-cyan);
  border: 1px solid rgba(33, 243, 230, 0.24);
}

.dashboard-page .kpi-delta.positive { color: var(--dash-green); }
.dashboard-page .kpi-delta.neutral { color: #d7ddf2; }

.dashboard-page .analytics-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(280px, 0.9fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.dashboard-page .analytics-bottom-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.1fr) minmax(280px, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.dashboard-page .panel {
  border: 1px solid rgba(172, 188, 230, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(34, 45, 82, 0.94), rgba(25, 34, 65, 0.94));
  box-shadow: 0 24px 56px rgba(4, 10, 24, 0.24);
}

.dashboard-page .panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.dashboard-page .panel-heading.compact {
  margin-bottom: 14px;
}

.dashboard-page .panel h3 {
  color: #f6f9ff;
  font-size: 15px;
  line-height: 1.25;
  margin: 0;
}

.dashboard-page .panel h4 {
  color: #d8e1ff;
  font-size: 12px;
  line-height: 1.25;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.dashboard-page .panel p {
  color: var(--dash-muted);
  margin: 6px 0 0;
}

.dashboard-page .main-chart-panel {
  min-height: 294px;
}

.dashboard-page .insights-column {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}

.dashboard-page .chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--dash-muted);
  font-size: 11px;
  font-weight: 700;
}

.dashboard-page .legend-line {
  width: 20px;
  height: 0;
  border-top: 2px solid var(--dash-cyan);
  display: inline-block;
  margin-right: 6px;
  transform: translateY(-3px);
}

.dashboard-page .legend-line.dotted {
  border-top-style: dotted;
  border-top-color: #9b8cff;
}

.dashboard-page .line-chart {
  min-height: 220px;
  border-radius: 12px;
  background:
    linear-gradient(var(--dash-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dash-line) 1px, transparent 1px);
  background-size: 100% 44px, 78px 100%;
  overflow: hidden;
}

.dashboard-page .line-chart svg,
.dashboard-page .area-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.dashboard-page .line-chart svg {
  min-height: 220px;
}

.dashboard-page .chart-axis {
  fill: #7f8cb0;
  font-size: 11px;
  font-weight: 700;
}

.dashboard-page .chart-created,
.dashboard-page .chart-ready {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-page .chart-created {
  stroke: #6fd7ff;
  filter: drop-shadow(0 0 8px rgba(111, 215, 255, 0.38));
}

.dashboard-page .chart-ready {
  stroke: #9b8cff;
  stroke-dasharray: 2 9;
}

.dashboard-page .chart-focus-dot {
  fill: var(--dash-cyan);
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 5;
  filter: drop-shadow(0 0 12px rgba(33, 243, 230, 0.7));
}

.dashboard-page .mini-panel {
  padding-bottom: 12px;
}

.dashboard-page .mini-chart-panel {
  min-height: 218px;
}

.dashboard-page .area-chart {
  height: 146px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(18, 27, 55, 0.48);
}

.dashboard-page .area-fill {
  fill: url(#areaGlow);
  opacity: 0.88;
}

.dashboard-page .area-line {
  fill: none;
  stroke: var(--dash-cyan);
  stroke-width: 3;
  filter: drop-shadow(0 0 9px rgba(33, 243, 230, 0.62));
}

.dashboard-page .panel-action-row {
  margin-top: 12px;
  min-height: 34px;
  border-radius: 9px;
  background: rgba(102, 121, 198, 0.18);
  color: #dbe6ff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  padding: 0 12px;
}

.dashboard-page .list {
  gap: 9px;
}

.dashboard-page .list-item {
  border-color: rgba(146, 161, 204, 0.14);
  background: rgba(9, 14, 30, 0.62);
  color: #e9f1ff;
}

.dashboard-page .list-item a {
  color: var(--dash-cyan);
  font-weight: 800;
}

.dashboard-page .item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.dashboard-page .item-title {
  font-weight: 800;
}

.dashboard-page .item-meta {
  margin-top: 5px;
  color: var(--dash-muted);
  font-size: 12px;
}

.dashboard-page .signal-list .list-item {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard-page .chip {
  border: 1px solid transparent;
}

.dashboard-page .chip.ok {
  color: #bfffe1;
  background: rgba(86, 240, 167, 0.12);
  border-color: rgba(86, 240, 167, 0.2);
}

.dashboard-page .chip.warn {
  color: #cfc4ff;
  background: rgba(111, 66, 255, 0.15);
  border-color: rgba(111, 66, 255, 0.26);
}

.dashboard-page .chip.err {
  color: #ffc3d1;
  background: rgba(244, 63, 94, 0.12);
  border-color: rgba(244, 63, 94, 0.24);
}

.dashboard-page .status-content,
.dashboard-page .automation-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}

.dashboard-page .monitor-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.dashboard-page .monitor-summary-grid div {
  border: 1px solid rgba(146, 161, 204, 0.16);
  border-radius: 12px;
  background: rgba(9, 14, 30, 0.56);
  padding: 12px;
}

.dashboard-page .monitor-summary-grid span {
  display: block;
  color: var(--dash-muted);
  font-size: 12px;
  margin-bottom: 6px;
}

.dashboard-page .monitor-summary-grid strong {
  color: #e9f1ff;
  font-size: 20px;
}

.dashboard-page .status-donut,
.dashboard-page .automation-ring {
  width: 138px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.28), 0 18px 48px rgba(0, 0, 0, 0.22);
}

.dashboard-page .status-donut {
  background: conic-gradient(var(--dash-cyan) 0 var(--ready), var(--dash-purple) var(--ready) 100%);
}

.dashboard-page .automation-ring {
  background: conic-gradient(var(--dash-purple) 0 var(--active), rgba(40, 199, 255, 0.22) var(--active) 100%);
}

.dashboard-page .status-donut::after,
.dashboard-page .automation-ring::after {
  content: "";
  position: absolute;
  width: 82px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--dash-panel);
  box-shadow: inset 0 0 0 1px rgba(146, 161, 204, 0.12);
}

.dashboard-page .status-donut span,
.dashboard-page .automation-ring span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 800;
}

.dashboard-page .status-caption {
  color: #eef6ff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}

.dashboard-page .status-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--dash-muted);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-page .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 7px;
}

.dashboard-page .dot.cyan { background: var(--dash-cyan); }
.dashboard-page .dot.purple { background: var(--dash-purple); }

.dashboard-page .automation-summary strong {
  display: block;
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
}

.dashboard-page .automation-summary span {
  color: var(--dash-muted);
  font-size: 12px;
  line-height: 1.45;
}

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

.dashboard-page .compact-list .list-item {
  padding: 9px;
}

.dashboard-page .bar-chart {
  height: 206px;
  border-radius: 12px;
  padding: 20px 14px 12px;
  display: grid;
  grid-template-columns: repeat(7, minmax(18px, 1fr));
  align-items: end;
  gap: 10px;
  background:
    linear-gradient(var(--dash-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dash-line) 1px, transparent 1px),
    rgba(18, 27, 55, 0.48);
  background-size: 100% 41px, 47px 100%;
}

.dashboard-page .bar-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 100%;
}

.dashboard-page .bar-fill {
  width: 100%;
  max-width: 28px;
  min-height: 8px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--dash-cyan), #4867ff);
  box-shadow: 0 0 18px rgba(33, 243, 230, 0.28);
}

.dashboard-page .bar-label {
  color: var(--dash-muted);
  font-size: 10px;
  font-weight: 800;
}

.dashboard-page .alert-section {
  margin-top: 16px;
}

.dashboard-page .site-footer {
  background: rgba(18, 25, 51, 0.95);
  border-top: 1px solid rgba(172, 188, 230, 0.18);
}

.dashboard-page .site-footer-brand,
.dashboard-page .site-footer-links a {
  color: var(--dash-muted);
}

@media (max-width: 1080px) {
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .seo-thematic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-page .workspace-shell { grid-template-columns: 188px minmax(0, 1fr); }
  .dashboard-page .analytics-layout,
  .dashboard-page .analytics-bottom-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-page .insights-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
  }

  .logo-link {
    min-width: 0;
  }

  .logo-image {
    height: 44px;
    width: 144px;
  }

  .dashboard-page .header-inner {
    height: auto;
    min-height: 70px;
    padding: 10px 14px;
    align-items: flex-start;
  }

  .dashboard-page .workspace-pill {
    display: none;
  }

  .dashboard-page .workspace-shell {
    display: block;
  }

  .dashboard-page .ops-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(146, 161, 204, 0.14);
  }

  .dashboard-page .ops-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-page .page-content {
    padding: 20px 14px 28px;
  }

  .dashboard-page .dashboard-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page .hero-actions {
    flex-wrap: wrap;
  }

  .dashboard-page .dashboard-grid,
  .dashboard-page .insights-column,
  .dashboard-page .split-list {
    grid-template-columns: 1fr;
  }

  .dashboard-page .status-content,
  .dashboard-page .automation-summary {
    grid-template-columns: 1fr;
  }
}
