:root {
  --paper: #ffffff;
  --sheet: #ffffff;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --faint: #8b93a1;
  --line: #e9ebf0;
  --line-strong: #d1d5db;
  --bronze: #6d5bd0;
  --bronze-soft: #f4f1fc;
  --forest: #37826b;
  --forest-soft: #eef8f3;
  --wine: #ad454f;
  --wine-soft: #fcf0f1;
  --shadow: 0 18px 40px rgba(17, 24, 39, 0.025);
  --serif: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 480px at 12% -10%, #ffffff 0%, transparent 55%),
    var(--paper);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font-family: inherit; }
.mono, .job-id, input[type="date"], .conf-num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 56px 22px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.15;
}
.health-row { display: flex; align-items: center; gap: 8px; padding-bottom: 4px; }
.health {
  font-size: 12px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.health::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--faint);
}
.health.ok::before { background: var(--forest); }
.health.bad { color: var(--wine); }
.health.bad::before { background: var(--wine); }
.gear {
  appearance: none; width: 32px; height: 32px;
  border: 0; background: transparent; color: var(--muted);
  cursor: pointer; display: grid; place-items: center;
}
.gear:hover { color: var(--ink); }

.workspace {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 56px 72px;
  align-items: start;
}

.composer, .status-panel {
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.composer { padding: 22px 22px 20px; }
.status-panel { margin-top: 16px; padding: 18px 22px 20px; }

.field-label {
  display: block;
  margin: 18px 0 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--faint);
}
textarea, input[type="date"], .modal input[type="text"], .modal input[type="password"] {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  outline: none;
}
textarea { resize: vertical; min-height: 72px; }
textarea:focus, input[type="date"]:focus, .modal input:focus {
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(109, 91, 208, 0.10);
}
.search-wrap { position: relative; }
.suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow); max-height: 280px; overflow: auto; z-index: 6;
}
.suggest button {
  display: block; width: 100%; text-align: left; border: 0; background: transparent;
  color: var(--text); padding: 10px 12px; cursor: pointer; font: inherit;
}
.suggest button:hover { background: #f8f9fc; }
.suggest strong { font-family: var(--mono); margin-right: 8px; font-size: 12px; }
.suggest .meta { color: var(--faint); font-size: 12px; margin-top: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff;
  padding: 3px 6px 3px 10px; font-family: var(--mono); font-size: 12px;
}
.chip button {
  border: 0; background: transparent; color: var(--faint); cursor: pointer;
}
.chip button:hover { color: var(--wine); }

.caption { color: var(--faint); font-size: 12px; margin: 8px 0 0; }
.actions { display: flex; gap: 8px; margin-top: 22px; }
.btn {
  border: 1px solid var(--line); background: #fff; color: var(--text);
  padding: 9px 16px; cursor: pointer; font-size: 13px; letter-spacing: 0.08em;
}
.btn.primary {
  background: var(--ink); color: #ffffff; border-color: var(--ink); flex: 1;
}
.btn.primary:hover { background: #000; }
.btn.ghost { background: transparent; }
.btn.small { padding: 5px 10px; font-size: 11px; }
.btn.nowrap { white-space: nowrap; flex: 0 0 auto; min-width: 72px; }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }

.status-head, .result-toolbar {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.status-head h2 {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--faint);
  font-weight: 500;
}
.job-id { margin-left: auto; color: var(--faint); font-size: 11px; }
.stage-count {
  margin: 10px 0 8px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
  color: var(--ink);
}
.step-dots {
  list-style: none; margin: 0 0 12px; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.step-dots li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--faint);
}
.step-dots li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong);
}
.step-dots li.done { color: var(--text); }
.step-dots li.done::before { background: var(--forest); }
.step-dots li.now { color: var(--ink); font-weight: 600; }
.step-dots li.now::before { background: var(--bronze); }
.progress-track { height: 1px; background: var(--line); overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--bronze); transition: width 0.35s ease; }

.canvas {
  min-height: 640px;
  padding-top: 6px;
}
.result-toolbar {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.result-toolbar h2 {
  margin: 0;
  flex: 1;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--ink);
}
.view-switch { display: flex; }
.mini {
  border: 0; background: transparent; color: var(--faint);
  padding: 4px 8px; cursor: pointer; font-size: 13px;
}
.mini.active { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--bronze); }
.export-btns { display: flex; gap: 8px; }
.trace-switch {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); cursor: pointer; user-select: none; font-size: 13px;
}
.trace-switch input { position: absolute; opacity: 0; pointer-events: none; }
.trace-switch .knob {
  width: 26px; height: 14px; border-radius: 99px; background: #d1d5db; position: relative;
}
.trace-switch .knob::after {
  content: ""; position: absolute; top: 2px; left: 2px; width: 10px; height: 10px;
  border-radius: 50%; background: #fff; transition: transform 0.16s ease;
}
.trace-switch:has(input:checked) { color: var(--ink); }
.trace-switch:has(input:checked) .knob { background: var(--bronze); }
.trace-switch:has(input:checked) .knob::after { transform: translateX(12px); }

.disclaimer {
  margin: 16px 0 0; padding: 10px 12px;
  background: var(--bronze-soft); border-left: 2px solid var(--bronze);
  color: #6b6288; font-size: 13px;
}
.empty { min-height: 220px; }
.empty.error { color: var(--wine); padding: 28px 0; }
.empty.error h3 { margin: 0 0 8px; font-family: var(--serif); }

.skel { background: #eef0f6; animation: skel-pulse 1.4s ease-in-out infinite; }
.skel-h { height: 18px; width: 180px; margin: 28px 0 14px; }
.skel-line { height: 9px; width: 72%; margin-bottom: 10px; }
.skel-line.short { width: 40%; }
@keyframes skel-pulse { 50% { opacity: 0.4; } }

.company-block { margin-top: 36px; }
.company-block:first-child { margin-top: 22px; }
.company-head {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: baseline; flex-wrap: wrap;
  margin-bottom: 8px;
}
.company-head h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
}
.company-head .caption { margin: 0 0 0 10px; display: inline; }
.pill {
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--muted); border: 1px solid var(--line); padding: 2px 8px;
}
.pill.pass { color: var(--forest); border-color: #c9d8ce; }
.pill.fail { color: var(--wine); border-color: #e4c9c6; }

.risk-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.risk-card {
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 20px 22px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 20px;
}
.risk-card .crumb {
  grid-column: 1;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.conf {
  grid-column: 2; grid-row: 1 / span 2;
  text-align: right; min-width: 72px;
}
.conf-num {
  font-size: 22px; color: var(--ink); line-height: 1;
}
.conf-label {
  margin-top: 4px; font-size: 10px; letter-spacing: 0.16em; color: var(--faint);
}
.conf-note {
  margin-top: 8px; font-size: 11px; line-height: 1.45; color: var(--muted);
  max-width: 140px; margin-left: auto;
}
.conf-bar {
  width: 72px; height: 2px; background: var(--line); margin: 8px 0 0 auto;
}
.conf-bar i {
  display: block; height: 100%; background: var(--bronze);
}
.risk-card h4 {
  grid-column: 1;
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}
.reason {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.75;
}
.ev-toggle {
  grid-column: 1 / -1;
  width: max-content;
  margin-top: 8px;
  border: 0; background: transparent;
  color: var(--bronze); cursor: pointer; padding: 0;
  font-size: 13px;
}
.ev-toggle:hover { text-decoration: underline; }
.evidence { display: none; grid-column: 1 / -1; }
.evidence.open { display: block; }
.quote {
  margin: 10px 0 0;
  padding: 14px 16px;
  background: #f8f9fc;
  border-left: 2px solid var(--bronze);
  font-size: 14px;
  line-height: 1.7;
}
.quote.cut { background: #f8f9fc; }
.cut-note { margin-top: 6px; font-size: 12px; color: var(--muted); }
.src { margin-top: 6px; font-size: 12px; color: var(--faint); font-family: var(--mono); }

.table-wrap { overflow-x: auto; margin-top: 18px; }
table.grid { width: 100%; border-collapse: collapse; font-size: 13px; }
table.grid th, table.grid td {
  border-bottom: 1px solid var(--line); padding: 10px 10px; text-align: left; vertical-align: top;
}
table.grid th {
  font-size: 11px; color: var(--faint); letter-spacing: 0.12em; font-weight: 500;
}

.run-dock {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 0;
  min-height: 420px;
  border: 1px solid var(--line);
  background: var(--sheet);
  box-shadow: var(--shadow);
}
.run-rail {
  list-style: none;
  margin: 0;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: #f9fafc;
}
.run-rail li {
  position: relative;
  padding: 0 0 22px 16px;
  color: var(--faint);
  font-size: 13px;
}
.run-rail li:last-child { padding-bottom: 0; }
.run-rail li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-strong);
}
.run-rail li::after {
  content: "";
  position: absolute; left: 3px; top: 16px; bottom: 0;
  width: 1px; background: var(--line);
}
.run-rail li:last-child::after { display: none; }
.run-rail li.done { color: var(--text); }
.run-rail li.done::before { background: var(--forest); }
.run-rail li.now { color: var(--ink); font-weight: 600; }
.run-rail li.now::before { background: var(--bronze); }
.run-main {
  display: grid;
  grid-template-rows: auto minmax(240px, 1fr);
  min-height: 420px;
  min-width: 0;
}
.run-stream {
  max-height: 260px;
  overflow: auto;
  padding: 18px 22px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.live-wrap {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  border-top: 1px solid var(--line);
  background: #f9fafc;
}
.live-head {
  padding: 10px 22px 0;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bronze);
}
.live-console {
  flex: 1;
  max-height: 360px;
  overflow: auto;
  padding: 10px 22px 20px;
  mask-image: linear-gradient(to bottom, transparent, #000 20px, #000 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20px, #000 100%);
}
.live-console ol { list-style: none; margin: 0; padding: 0; }
.live-console li {
  padding: 8px 10px;
  margin-bottom: 6px;
  background: #fff;
  border-left: 2px solid var(--bronze);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}
.live-tag {
  display: inline-block;
  min-width: 36px;
  margin-right: 8px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--bronze);
}
.live-empty { margin: 12px 0; color: var(--faint); font-size: 13px; }
.msg {
  max-width: 52rem;
  padding: 14px 16px 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.msg.now { border-color: #d9d3f5; background: #faf9ff; }
.msg-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--bronze);
  margin-bottom: 6px;
}
.msg-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 8px;
}
.msg-body { margin: 0; color: var(--text); font-size: 14px; line-height: 1.7; }
.msg-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.msg-list li {
  position: relative;
  padding: 3px 0 3px 14px;
  color: var(--muted);
  font-size: 13px;
}
.msg-list li::before {
  content: "";
  position: absolute; left: 0; top: 11px;
  width: 5px; height: 1px; background: var(--line-strong);
}

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(17, 24, 39, 0.25);
  display: grid; place-items: center; z-index: 20;
}
.modal-mask[hidden] { display: none; }
.modal {
  width: min(440px, 92vw);
  background: var(--sheet);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 28px 28px 22px;
}
.modal h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}
.modal input { margin-bottom: 4px; }
.locked-model {
  margin: 0 0 8px;
  padding: 10px 12px;
  background: #f8f9fc;
  border: 1px solid var(--line);
  color: var(--ink);
  letter-spacing: 0.04em;
}
.modal-actions { margin-top: 16px; }

@media (max-width: 1100px) {
  .topbar, .workspace { padding-left: 24px; padding-right: 24px; }
  h1 { font-size: 26px; }
  .result-toolbar h2 { font-size: 24px; }
}
@media (max-width: 1024px) {
  .workspace { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
  .run-dock { grid-template-columns: 1fr; }
  .run-rail {
    display: flex; gap: 16px; overflow-x: auto;
    border-right: 0; border-bottom: 1px solid var(--line);
    padding: 14px 16px;
  }
  .run-rail li { padding: 0 0 0 16px; white-space: nowrap; }
  .run-rail li::after { display: none; }
}

/* White space, soft lavender-blue and quiet typography from the supplied reference. */
[hidden] { display: none !important; }
body { background: #fff; }
a { color: inherit; text-decoration: none; }
button { transition: background .16s, color .16s, box-shadow .16s; }
button:focus-visible, a:focus-visible { outline: 2px solid #8b7dde; outline-offset: 4px; }
.topbar { max-width: 1184px; height: 96px; padding: 0 32px; margin: auto; align-items: center; border: 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.4px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; background: #111827; color: #fff; border-radius: 11px; font-size: 21px; font-weight: 500; }
.health-row { padding: 0; gap: 16px; }
.gear { background: #f7f8fa; border-radius: 50%; width: 36px; height: 36px; }
.intro { max-width: 1120px; margin: 8px auto 28px; min-height: 220px; padding: 38px 40px; border-radius: 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; background: linear-gradient(135deg,#ede9fe 0%,#e0e7ff 28%,#dbeafe 55%,#e9d5ff 100%); }
.eyebrow { font-size: 11px; color: #6f6a8e; margin-bottom: 20px; letter-spacing: .16em; }
h1 { font-size: 36px; font-weight: 400; letter-spacing: .06em; line-height: 1.4; }
.intro-sub { font-size: 13px; color: #77768e; margin: 14px 0 0; letter-spacing: .04em; }
.intro-note { text-align: right; flex-shrink: 0; font-size: 12px; line-height: 2.2; color: #5b5872; }
.intro-note > span:last-child { font-size: 11px; color: #888398; }
.online-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #8272be; margin: 0 5px 2px 0; }
.workspace { max-width: 1184px; padding: 0 32px 40px; gap: 30px; grid-template-columns: 300px minmax(0,1fr); }
.composer, .status-panel { border-radius: 18px; box-shadow: none; padding: 24px; }
.composer { background: #f9fafb; border-color: #f1f2f5; }
.section-kicker { font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; color: #1f2937; }
.section-kicker span { color: #bac0cc; font: 11px var(--mono); }
.composer-note { color: #9197a3; font-size: 12px; margin: 8px 0 25px; }
.field-label { color: #6b7280; font-size: 12px; letter-spacing: .04em; margin: 18px 0 8px; }
textarea, input[type="date"], .modal input[type="text"], .modal input[type="password"] { border-radius: 10px; border-color: #e7e9ef; font-size: 13px; padding: 12px; }
textarea { min-height: 94px; line-height: 1.8; }
textarea::placeholder { color: #a0a6b2; }
.suggest, .chip { border-radius: 10px; }
.caption { color: #8c93a1; line-height: 1.75; }
.actions { gap: 10px; }
.btn { border-radius: 9px; letter-spacing: .01em; padding: 10px 14px; }
.btn.primary { color: #fff; background: #111827; }
.btn.ghost:hover:not(:disabled) { background: #f1f2f7; }
.privacy-note { margin: 17px 0 0; color: #989fac; font-size: 11px; line-height: 1.7; }
.cancel { background: none; border: 0; color: #ad454f; font-size: 12px; display: block; margin: 14px auto 0; cursor: pointer; }
.status-panel { margin-top: 14px; }
.status-head h2 { font-size: 12px; letter-spacing: .02em; }
.stage-count { font: 300 30px var(--sans); margin: 18px 0 15px; }
.step-dots { display: grid; grid-template-columns: 1fr 1fr; row-gap: 10px; margin-bottom: 22px; }
.progress-track { height: 3px; border-radius: 10px; }
.canvas { min-height: 520px; padding-top: 8px; min-width: 0; }
.result-toolbar { gap: 10px; padding: 2px 0 18px; align-items: center; }
.result-toolbar h2 { font-size: 17px; font-weight: 500; letter-spacing: .02em; }
.view-switch { background: #f5f6f9; padding: 3px; border-radius: 8px; }
.mini { font-size: 11px; border-radius: 6px; }
.mini.active { box-shadow: 0 1px 4px #1118270d; background: white; }
.trace-switch { font-size: 11px; gap: 6px; }
.export-btns { gap: 5px; }
.btn.small { border-color: #eef0f4; font-size: 10px; padding: 5px 8px; border-radius: 7px; }
.empty { min-height: 390px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; padding: 40px 24px; }
.empty-symbol { width: 78px; height: 78px; display: grid; place-items: center; background: #f5f3fc; color: #9e91c9; border-radius: 24px; margin-bottom: 22px; }
.empty-symbol svg { width: 48px; height: 48px; }
.empty h3 { font-size: 16px; font-weight: 400; color: #646b7a; margin: 0 0 12px; letter-spacing: .04em; }
.empty p { color: #9aa1ad; font-size: 12px; line-height: 1.9; max-width: 360px; margin: 0; }
.empty-steps { display: flex; align-items: center; gap: 13px; margin-top: 36px; font-size: 10px; color: #a5aab6; }
.empty-steps i { width: 18px; height: 1px; background: #e6e8ef; }
.empty.error { min-height: 110px; padding: 28px 12px; }
.empty.error h3, .empty.error p { color: var(--wine); }
.disclaimer { color: #827893; background: #faf8fd; border: 1px solid #f0ebf7; border-radius: 10px; font-size: 11px; line-height: 1.8; }
.company-head h3 { font-size: 17px; font-weight: 500; }
.company-head .caption { font-size: 11px; }
.pill { border-radius: 20px; font-size: 10px; }
.risk-card { border-radius: 14px; box-shadow: none; padding: 22px; }
.risk-card h4 { font-size: 17px; line-height: 1.6; }
.risk-card .crumb { letter-spacing: .03em; }
.conf-num { font-size: 23px; }
.quote { border-radius: 0 10px 10px 0; }
.reason, .quote { overflow-wrap: anywhere; }
.run-dock { border-radius: 14px; overflow: hidden; box-shadow: none; grid-template-columns: 94px minmax(0,1fr); }
.run-rail { padding: 20px 12px; }
.run-rail li { font-size: 11px; }
.run-stream { padding: 14px; }
.msg, .live-console li { border-radius: 9px; }
.msg-title { font-size: 15px; font-weight: 500; }
.msg-body, .msg-list li, .live-console li { font-size: 12px; overflow-wrap: anywhere; }
.live-console, .live-head { padding-left: 14px; padding-right: 14px; }
.table-wrap { border-radius: 12px; border: 1px solid var(--line); }
table.grid { min-width: 680px; }
.modal-mask { backdrop-filter: blur(5px); }
.modal { border-radius: 20px; box-shadow: 0 24px 70px #11182715; }
.modal h3 { font-size: 20px; font-weight: 500; }
.locked-model { border-radius: 10px; }
.page-footer { max-width: 1120px; margin: 0 auto; padding: 20px 0 28px; border-top: 1px solid #f1f2f5; display: flex; justify-content: space-between; color: #b0b5be; font-size: 11px; }
@media(max-width:1184px) { .intro { margin-left: 32px; margin-right: 32px; } .page-footer { margin-left:32px; margin-right:32px; } }
@media(max-width:960px) { .workspace { grid-template-columns:260px minmax(0,1fr); gap:22px; } .composer,.status-panel { padding:20px; } .result-toolbar h2 { flex-basis:100%; } .intro-note { display:none; } }
@media(max-width:720px) { .topbar { height:76px; padding:0 20px; } .brand { font-size:15px; } .health-row { gap:10px; } .health { font-size:11px; } .intro { margin:4px 20px 20px; border-radius:20px; padding:28px 24px; min-height:195px; } h1 { font-size:28px; } .eyebrow { font-size:10px; margin-bottom:18px; } .intro-sub { font-size:12px; line-height:1.9; } .workspace { padding:0 20px 30px; grid-template-columns:1fr; gap:26px; } .composer { padding:24px; } .status-panel { padding:20px 24px; } .step-dots { grid-template-columns:repeat(3,1fr); } .canvas { min-height:340px; } .result-toolbar h2 { flex-basis:auto; } .empty { min-height:300px; padding:30px 8px; } .empty-steps { gap:8px; font-size:9px; } .run-dock { grid-template-columns:1fr; } .run-rail { display:flex; gap:12px; } .conf-note { max-width:100px; } .risk-card { padding:18px; gap:8px 12px; } .risk-card h4 { font-size:16px; } .company-head h3 { font-size:15px; } .page-footer { margin:0 20px; font-size:10px; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation:none!important; transition:none!important; } }

/* Compact layout without the introductory banner. */
.workspace { padding-top: 18px; }
@media(max-width:720px) { .workspace { padding-top: 8px; } }

.page-footer { display: block; }
.footer-summary { display: flex; justify-content: space-between; gap: 16px; }
.beian { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 20px; color: #9ca3af; font-size: 11px; }
.beian a { display: inline-flex; align-items: center; gap: 6px; }
.beian a:hover { color: #6b7280; }
.beian img { width: 14px; height: 14px; }
@media(max-width:480px) { .beian { flex-direction: column; align-items: center; gap: 8px; } }
