:root {
  --ink: #101418;
  --text: #20262d;
  --muted: #6d737c;
  --soft: #9aa1aa;
  --line: #e1e5e8;
  --line-strong: #d4d9de;
  --paper: #f7f7f4;
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --gold: #c18a28;
  --gold-soft: #f6e9c8;
  --blue: #173e67;
  --teal: #136a70;
  --green: #347a55;
  --red: #b45d4f;
  --shadow: 0 18px 46px rgba(32, 42, 54, 0.07);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 1120px;
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background:
    radial-gradient(circle at 6% 18%, rgba(193, 138, 40, 0.12), transparent 22%),
    radial-gradient(circle at 86% 34%, rgba(23, 62, 103, 0.08), transparent 24%),
    linear-gradient(rgba(22, 29, 36, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 29, 36, 0.055) 1px, transparent 1px),
    #f7f7f4;
  background-size: auto, auto, 40px 40px, 40px 40px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247, 247, 244, 0.88), transparent 16%, transparent 84%, rgba(247, 247, 244, 0.9)),
    linear-gradient(180deg, rgba(247, 247, 244, 0.22), rgba(247, 247, 244, 0.88));
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 320px 1fr 180px;
  align-items: center;
  gap: 18px;
  height: 78px;
  padding: 0 max(36px, calc((100vw - 1560px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 4px;
  padding-bottom: 12px;
  border-radius: 16px;
  background: #050607;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-mark span {
  width: 4px;
  border-radius: 4px;
  background: var(--gold);
}

.brand-mark span:nth-child(1) {
  height: 16px;
}

.brand-mark span:nth-child(2) {
  height: 24px;
}

.brand-mark span:nth-child(3) {
  height: 10px;
}

.brand-block strong,
.brand-block span,
.sidebar-footer span,
.sidebar-footer strong,
.sidebar-footer small {
  display: block;
}

.brand-block strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 820;
}

.brand-block span {
  margin-top: 2px;
  color: #777b83;
  font-size: 13px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-item {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  color: #646a73;
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}

.nav-item:hover,
.nav-item.active {
  color: var(--ink);
  background: rgba(16, 20, 24, 0.045);
}

.nav-item i {
  position: relative;
  width: 18px;
  height: 18px;
  display: inline-block;
  color: currentColor;
}

.nav-item i::before,
.nav-item i::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.nav-item i::before {
  inset: 3px;
}

.nav-item i::after {
  width: 7px;
  height: 7px;
  right: -1px;
  bottom: -1px;
  background: #fff;
}

.sidebar-footer {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #616771;
}

.sidebar-footer span,
.sidebar-footer small {
  font-size: 12px;
}

.sidebar-footer strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.main {
  width: min(1560px, calc(100vw - 72px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 22px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 820;
  letter-spacing: 0.42em;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 46px;
  line-height: 1.12;
  font-weight: 950;
}

h2 {
  font-size: 17px;
  line-height: 1.2;
  font-weight: 780;
}

.hero-copy {
  max-width: 900px;
  margin: 0;
  color: #656b75;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 420;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.primary-button,
.ghost-button,
.icon-button,
.tool-button,
.channel {
  min-height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.primary-button:hover,
.ghost-button:hover,
.icon-button:hover,
.tool-button:hover,
.channel:hover {
  transform: translateY(-1px);
}

.primary-button {
  padding: 0 15px;
  color: #fff;
  border-color: #060708;
  background: #060708;
  font-weight: 760;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.primary-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ghost-button {
  padding: 0 13px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.ghost-button.compact {
  min-height: 38px;
}

.icon-button {
  width: 38px;
  position: relative;
  background: rgba(255, 255, 255, 0.72);
}

.icon-button::before,
.icon-button::after {
  content: "";
  position: absolute;
  border: 2px solid var(--blue);
}

.icon-button::before {
  width: 14px;
  height: 14px;
  top: 10px;
  left: 10px;
  border-right-color: transparent;
  border-radius: 50%;
}

.icon-button::after {
  width: 7px;
  height: 7px;
  top: 8px;
  right: 9px;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

.mobile-nav {
  display: none;
  gap: 8px;
  margin-bottom: 18px;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

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

.metric,
.panel,
.flow-step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 96px;
  padding: 15px;
}

.metric span,
.metric strong {
  display: block;
}

.metric span,
small {
  color: var(--muted);
}

.metric strong {
  margin-top: 6px;
  color: #161b21;
  font-size: 24px;
  line-height: 1;
  font-weight: 760;
}

.workspace-grid {
  display: grid;
  grid-template-columns: 330px minmax(520px, 1fr) 360px;
  gap: 14px;
}

.panel {
  padding: 18px;
}

.command-card {
  min-height: 440px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.panel .eyebrow {
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.24em;
}

.status-pill {
  display: inline-grid;
  place-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid #ead59d;
  border-radius: 999px;
  color: #a56f12;
  background: #fff8e5;
  font-size: 11px;
  font-weight: 700;
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: #252b32;
  font-weight: 650;
}

textarea,
input,
select {
  width: 100%;
  border: 1px solid #d7dce0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  padding: 10px 11px;
  color: var(--ink);
  outline: none;
}

textarea:focus,
input:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(193, 138, 40, 0.12);
}

textarea {
  min-height: 128px;
  resize: vertical;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.channel-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 8px 0 14px;
}

.channel {
  background: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.channel.active,
.tool-button.active {
  color: #0c0d0e;
  border-color: var(--gold);
  background: #fff6df;
  font-weight: 760;
}

.wide {
  width: 100%;
}

.analysis-result {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #ead59d;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 248, 230, 0.96), rgba(255, 255, 255, 0.82));
}

.analysis-result.is-hidden {
  display: none;
}

.analysis-result span,
.analysis-result strong {
  display: block;
}

.analysis-result span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.18em;
}

.analysis-result strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
}

.analysis-result ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.analysis-result li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #3d444c;
  font-size: 12px;
}

.analysis-result li em {
  flex: 0 0 auto;
  color: var(--muted);
  font-style: normal;
}

.stage-panel {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
}

.stage-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(16, 20, 24, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 24, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
}

#roomCanvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
}

.stage-overlay {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.stage-overlay span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.stage-overlay small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.stage-overlay strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  font-weight: 760;
}

.scene-tools {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  gap: 7px;
}

.tool-button {
  min-width: 62px;
  background: rgba(255, 255, 255, 0.86);
  font-weight: 650;
}

.suite-list,
.stack-list,
.automation-list,
.pipeline {
  display: grid;
  gap: 10px;
}

.suite-card,
.stack-item,
.pipeline-step,
.timeline-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.suite-card {
  width: 100%;
  position: relative;
  display: grid;
  gap: 7px;
  padding: 15px;
  text-align: left;
}

.suite-card::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(193, 138, 40, 0.12);
}

.suite-card > span,
.suite-card > strong,
.suite-card > small,
.suite-card > .tags {
  margin-left: 24px;
}

.suite-card.selected {
  border-color: #d7b86d;
  background: linear-gradient(135deg, rgba(255, 249, 235, 0.96), rgba(255, 255, 255, 0.78));
}

.suite-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
}

.suite-products {
  display: grid;
  gap: 4px;
  margin-left: 24px;
  padding-top: 2px;
}

.suite-products span {
  color: #4f5862;
  font-size: 12px;
  line-height: 1.35;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.tag {
  padding: 4px 7px;
  border-radius: 999px;
  color: #37404a;
  background: #f0f2f2;
  font-size: 12px;
  font-weight: 620;
}

.flow-section {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.flow-step {
  min-height: 104px;
  padding: 15px;
}

.flow-step span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--blue);
  background: #fff;
  font-weight: 760;
}

.flow-step strong,
.flow-step small {
  display: block;
  margin-top: 8px;
}

.flow-step.done span {
  color: #fff;
  background: var(--blue);
}

.flow-step.active {
  border-color: #d7b86d;
  background: rgba(255, 248, 230, 0.78);
}

.flow-step.active span {
  color: #fff;
  background: var(--gold);
}

.two-column,
.ai-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 14px;
}

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

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf0f0;
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.stock-input {
  max-width: 92px;
  padding: 8px 9px;
}

.health {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.health.good {
  color: var(--green);
  background: #e8f3ea;
}

.health.warn {
  color: #a56f12;
  background: #fff5df;
}

.stack-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 13px;
}

.bar {
  grid-column: 1 / -1;
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0f0;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px;
}

.settlement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.settlement-grid div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

.settlement-grid span,
.settlement-grid strong {
  display: block;
}

.settlement-grid span {
  color: var(--muted);
  font-size: 14px;
}

.settlement-grid strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
}

.pipeline-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
}

.pipeline-step span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--gold);
  background: #070809;
  font-weight: 780;
}

.pipeline-step small {
  display: block;
  margin-top: 6px;
  line-height: 1.45;
}

#graphCanvas {
  width: 100%;
  height: 420px;
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f6f5f0;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  min-width: 230px;
  max-width: 380px;
  padding: 13px 15px;
  border-radius: 12px;
  color: #fff;
  background: #08090a;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.22s ease;
}

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

@media (max-width: 1280px) {
  body {
    min-width: 0;
  }

  .sidebar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 18px 22px;
  }

  .main-nav,
  .sidebar-footer {
    display: none;
  }

  .main {
    width: calc(100vw - 32px);
    padding: 30px 0 48px;
  }

  .topbar,
  .workspace-grid,
  .two-column,
  .ai-grid,
  .metrics-strip,
  .flow-section {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mobile-nav .nav-item {
    justify-content: center;
    color: var(--ink);
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
  }

  .mobile-nav .nav-item.active {
    color: var(--ink);
    border-color: var(--gold);
    background: #fff6df;
  }
}

/* Precision operations-console theme */
:root {
  --ink: #15181d;
  --text: #252a31;
  --muted: #737982;
  --line: #ece7e3;
  --line-strong: #e3ddd8;
  --paper: #fbfaf8;
  --card: rgba(255, 255, 255, 0.92);
  --gold: #d72f42;
  --blue: #202833;
  --shadow: 0 8px 26px rgba(34, 28, 24, 0.035);
  --radius: 4px;
}

body {
  min-width: 1180px;
  background:
    linear-gradient(rgba(20, 24, 29, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 29, 0.028) 1px, transparent 1px),
    #fbfaf8;
  background-size: 48px 48px, 48px 48px, auto;
}

body::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 250, 248, 0.92));
}

.app-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 30px 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.96);
}

.brand-block {
  align-items: center;
  gap: 14px;
  padding-bottom: 34px;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 4px;
  background: #d72f42;
  box-shadow: none;
}

.brand-mark span {
  display: none;
}

.brand-mark::after {
  content: "月";
  color: #fff;
  font-size: 22px;
  font-weight: 860;
  line-height: 1;
}

.brand-block strong {
  font-size: 18px;
  font-weight: 760;
}

.brand-block span {
  margin-top: 5px;
  font-size: 12px;
  color: #6b7078;
}

.main-nav {
  display: grid;
  justify-content: stretch;
  gap: 2px;
}

.nav-item {
  width: 100%;
  min-height: 42px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 12px;
  border-radius: 3px;
  color: #30343a;
  font-size: 13px;
  font-weight: 640;
  text-align: left;
}

.nav-item i {
  width: 16px;
  height: 16px;
}

.nav-item i::before,
.nav-item i::after {
  border-width: 1.5px;
  border-radius: 3px;
}

.nav-item.active,
.nav-item:hover {
  color: #9f1e2d;
  background: #fff0f2;
  box-shadow: inset 2px 0 0 #d72f42;
}

.sidebar-footer {
  margin-top: auto;
  justify-self: auto;
  display: grid;
  gap: 6px;
  padding: 14px 12px;
  border: 1px solid #f1d9dd;
  border-radius: 2px;
  color: #8f2634;
  background: #fff4f6;
}

.sidebar-footer span,
.sidebar-footer small {
  font-size: 12px;
}

.sidebar-footer strong {
  font-size: 13px;
}

.main {
  width: auto;
  margin: 0;
  padding: 28px 26px 42px;
}

.topbar {
  min-height: 112px;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 18px;
}

.hero-copy {
  max-width: 780px;
  color: #60656d;
  font-size: 13px;
  line-height: 1.65;
}

.topbar::before {
  content: "月星品牌联营选品";
  display: block;
  margin-bottom: 8px;
  color: #a72a36;
  font-size: 12px;
  font-weight: 700;
}

.topbar > div:first-child {
  display: grid;
  align-content: start;
}

.topbar > div:first-child::before {
  content: "联营选品系统";
  margin-bottom: 7px;
  color: #11151a;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 760;
}

.top-actions {
  gap: 8px;
}

.primary-button,
.ghost-button,
.icon-button,
.tool-button,
.channel {
  min-height: 34px;
  border-radius: 2px;
  font-size: 13px;
}

.primary-button {
  background: #e83246;
  border-color: #e83246;
  box-shadow: none;
}

.ghost-button,
.icon-button,
.tool-button,
.channel {
  background: rgba(255, 255, 255, 0.92);
}

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

.metric,
.panel,
.flow-step,
.stage-panel {
  border-color: var(--line);
  border-radius: 3px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.9);
}

.metric {
  min-height: 82px;
  padding: 13px 14px;
}

.metric span {
  color: #717780;
  font-size: 12px;
}

.metric strong {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 680;
}

.workspace-grid {
  grid-template-columns: 310px minmax(480px, 1fr) 360px;
  gap: 10px;
}

.panel {
  padding: 18px;
}

.command-card {
  min-height: 422px;
}

.panel-header {
  margin-bottom: 14px;
}

.panel .eyebrow {
  margin-bottom: 5px;
  color: #a72a36;
  font-size: 11px;
  letter-spacing: 0.08em;
}

h2 {
  font-size: 18px;
  font-weight: 720;
}

.status-pill {
  min-height: 24px;
  border-color: #f0cdd2;
  color: #a72a36;
  background: #fff4f6;
}

.field {
  margin-bottom: 12px;
  font-size: 13px;
}

textarea,
input,
select {
  border-radius: 3px;
  border-color: #ded9d5;
  font-size: 13px;
}

textarea {
  min-height: 116px;
}

.channel-row {
  gap: 6px;
  margin: 8px 0 12px;
}

.channel.active,
.tool-button.active {
  color: #a72a36;
  border-color: #e83246;
  background: #fff4f6;
}

.analysis-result,
.suite-card,
.stack-item,
.pipeline-step,
.timeline-item,
.settlement-grid div {
  border-radius: 3px;
}

.analysis-result {
  margin-top: 10px;
  padding: 11px;
  border-color: #f0cdd2;
  background: #fff8f9;
}

.stage-panel {
  min-height: 422px;
}

.stage-panel::before {
  background-size: 32px 32px;
}

.stage-overlay {
  left: 14px;
  top: 14px;
  padding: 10px 12px;
  border-radius: 3px;
}

.stage-overlay strong {
  font-size: 16px;
}

.scene-tools {
  left: 14px;
  right: 14px;
  bottom: 14px;
}

.suite-card {
  padding: 13px;
}

.suite-card::before {
  display: none;
}

.suite-card > span,
.suite-card > strong,
.suite-card > small,
.suite-card > .tags,
.suite-products {
  margin-left: 0;
}

.suite-card.selected {
  border-color: #e83246;
  background: #fff7f8;
}

.suite-card strong {
  color: #11151a;
  font-size: 18px;
  font-weight: 680;
}

.tag {
  border-radius: 2px;
  background: #f4f1ef;
}

.flow-section {
  gap: 10px;
  margin-top: 10px;
}

.flow-step {
  min-height: 86px;
  padding: 13px;
}

.flow-step span {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  color: #a72a36;
  background: #fff4f6;
}

.flow-step.done span,
.flow-step.active span {
  background: #e83246;
}

.flow-step.active {
  border-color: #f0cdd2;
  background: #fff8f9;
}

.two-column,
.ai-grid {
  gap: 10px;
}

th,
td {
  padding: 10px 9px;
  font-size: 13px;
}

.health {
  border-radius: 2px;
}

@media (max-width: 1280px) {
  body {
    min-width: 0;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    height: auto;
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brand-block {
    padding-bottom: 0;
  }

  .main {
    width: calc(100vw - 28px);
    margin: 0 auto;
    padding: 20px 0 42px;
  }

  .topbar::before,
  .topbar > div:first-child::before {
    display: none;
  }
}
