/* 界面示意（assets/illos.js）：按客户端版式画，固定设计尺寸，整体缩放。颜色全部用 site.css 的主题变量。 */
.mock {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
}
.m-stage {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--c-text);
  text-align: left;
  pointer-events: none;
  user-select: none;
}
.m-stage * {
  box-sizing: border-box;
}
.m-stage b {
  font-weight: 600;
  color: var(--c-text-strong);
}
.m-stage small {
  font-size: 10.5px;
  color: var(--c-subtle-text);
}
.m-stage svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.m-stage svg .f {
  fill: currentColor;
  stroke: none;
}
.m-mute,
.m-runhead h4.m-mute {
  color: var(--c-subtle-text);
}
.m-stage em {
  font-style: normal;
}

/* 骨架条：示意里的“假”部分 */
.sk {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--c-line-2);
  opacity: 0.75;
}
.sk + .sk {
  margin-top: 7px;
}
.sk.lt {
  background: var(--c-line);
  opacity: 1;
}

.m-pill {
  display: inline-flex;
  align-items: center;
  height: 19px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--c-hover);
  color: var(--c-text-3);
}
.m-pill.sm {
  height: 17px;
  padding: 0 5px;
  font-size: 9.5px;
  border-radius: 5px;
}
.m-pill.warn {
  background: var(--c-warn-soft);
  color: var(--c-warn-ink);
}
.m-pill.bad {
  background: var(--c-danger-soft);
  color: var(--c-danger-ink);
}
.m-pill.ok {
  background: var(--c-success-soft);
  color: var(--c-success);
}
.m-pill.pri {
  background: var(--c-primary-soft);
  color: var(--c-primary-ink);
}
.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-2);
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1px var(--c-border);
  white-space: nowrap;
}
.m-btn.pri {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: var(--shadow-primary);
}
.m-btn.sm {
  height: 24px;
  padding: 0 10px;
  font-size: 11px;
  border-radius: 7px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-line-2);
  flex-shrink: 0;
}
.dot.warn {
  background: var(--c-warn);
}
.dot.pri {
  background: var(--c-primary);
}
.m-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 700;
  font-style: normal;
  color: #fff !important;
  background: var(--c-warn);
}
.m-prog {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--c-line);
  overflow: hidden;
}
.m-prog > i {
  display: block;
  height: 100%;
  border-radius: 2px;
}
.m-prog .ok,
.m-risk .ok,
.m-legend .ok {
  background: var(--c-success);
}
.m-prog .warn,
.m-risk .warn,
.m-legend .warn {
  background: var(--c-warn);
}
.m-prog .pri,
.m-risk .pri,
.m-legend .pri {
  background: var(--c-primary);
}
.m-risk .bad,
.m-legend .bad {
  background: var(--c-danger-dot);
}
.m-card {
  position: absolute;
  background: var(--c-surface);
  border-radius: 12px;
  box-shadow: var(--shadow-hero);
}
.m-pad {
  position: absolute;
  inset: 0;
}

/* ---------- 客户端总览 ---------- */
.m-app {
  position: absolute;
  inset: 0;
  display: flex;
  background: var(--c-surface);
}
.m-side {
  width: 236px;
  flex-shrink: 0;
  padding: 18px 14px;
  background: var(--c-sidebar);
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.m-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}
.m-brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.m-brand b {
  font-size: 13.5px;
}
.m-brand small {
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.m-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px dashed oklch(0.76 0.02 calc(var(--hue-gray) - 2));
  background: repeating-linear-gradient(135deg, oklch(0.945 0.01 calc(var(--hue-gray) - 2)) 0 4px, var(--c-sidebar) 4px 8px);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 7px;
  color: var(--c-faint);
}
.m-new {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: var(--grad-primary);
  box-shadow: var(--shadow-primary);
}
.m-new kbd {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 4px;
  background: oklch(1 0 0 / 0.18);
}
.m-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--c-text-2);
}
.m-nav svg {
  color: var(--c-muted);
}
.m-nav .m-badge,
.m-nav .m-tag {
  margin-left: auto;
}
.m-nav.on {
  background: var(--c-surface);
  box-shadow: var(--shadow-seg), 0 0 0 1px var(--c-border);
  font-weight: 600;
  color: var(--c-text-strong);
}
.m-nav.on svg {
  color: var(--c-primary);
}
.m-tag {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9.5px;
  padding: 1px 6px;
  border-radius: 5px;
  color: var(--c-primary-ink);
  background: var(--c-primary-soft);
}
.m-group {
  margin: 12px 0 2px;
  padding: 0 10px;
  font-size: 10.5px;
  color: var(--c-faint);
}
.m-recent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 10px;
}
.m-recent .dot {
  margin-top: 6px;
}
.m-recent > span {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.m-recent b {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-recent small em {
  font-style: normal;
  color: var(--c-warn-ink);
}
.m-recent time {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--c-faint);
}
.m-recent.fade {
  opacity: 0.55;
}
.m-recent.fade2 {
  opacity: 0.25;
}
.m-recent .sk {
  margin-top: 4px;
}
.m-safe {
  margin-top: auto;
  display: flex;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.m-safe > span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.m-safe b {
  font-size: 11.5px;
  color: var(--c-primary-ink);
}
.m-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.m-top {
  height: 58px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-border);
}
.m-crumb {
  font-size: 13px;
  color: var(--c-muted);
}
.m-crumb i {
  font-style: normal;
  margin: 0 5px;
  color: var(--c-disabled);
}
.m-tabs {
  display: flex;
  gap: 26px;
  padding: 0 22px;
  border-bottom: 1px solid var(--c-border);
}
.m-tabs span {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  font-size: 13px;
  color: var(--c-muted);
}
.m-tabs .on {
  color: var(--c-text-strong);
  font-weight: 600;
  box-shadow: inset 0 -2.5px 0 var(--c-primary);
}
.m-body {
  flex: 1;
  display: flex;
  min-height: 0;
}
.m-list {
  flex: 1;
  min-width: 0;
  padding: 14px 16px 0 20px;
}
.m-seg {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: var(--c-hover);
  font-size: 11.5px;
  color: var(--c-muted);
}
.m-seg span {
  padding: 3px 10px;
  border-radius: 7px;
}
.m-seg .on {
  background: var(--c-surface);
  color: var(--c-text-strong);
  font-weight: 600;
  box-shadow: var(--shadow-seg);
}
.m-thead,
.m-row {
  display: grid;
  grid-template-columns: 34px 1.6fr 1.1fr 1.15fr 64px 48px;
  gap: 12px;
  align-items: center;
}
.m-thead {
  padding: 12px 12px 8px;
  font-size: 10.5px;
  color: var(--c-faint);
  border-bottom: 1px solid var(--c-divider);
}
.m-thead span:first-child {
  grid-column: 2;
}
.m-thead .m-col5,
.m-row .m-col5 {
  text-align: right;
}
.m-row {
  height: 62px;
  padding: 0 12px;
  margin-top: 6px;
  border-radius: 11px;
}
.m-row.sel {
  background: var(--c-surface);
  box-shadow: 0 0 0 1.5px var(--c-primary), var(--shadow-card);
}
.m-row + .m-row:not(.sel) {
  border-top: 1px solid var(--c-divider);
  border-radius: 0;
}
.m-ft {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 8.5px;
  font-weight: 700;
  color: var(--c-primary-ink);
  background: var(--c-primary-soft);
}
.m-row > span {
  min-width: 0;
}
.m-col1,
.m-col5 {
  display: flex;
  flex-direction: column;
}
.m-col1 b {
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-col2 {
  font-size: 11.5px;
  color: var(--c-text-3);
}
.m-col3 small {
  display: block;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-col5 b {
  font-weight: 500;
}
.m-col5 small {
  font-family: var(--font-mono);
}
.m-row.ghost .m-ft {
  background: var(--c-line);
}
.m-row.g0 {
  opacity: 0.6;
}
.m-row.g1 {
  opacity: 0.35;
}
.m-row.g2 {
  opacity: 0.15;
}
.m-detail {
  width: 300px;
  flex-shrink: 0;
  padding: 18px 20px;
  border-left: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
}
.m-detail h4 {
  margin: 12px 0 4px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--c-text-strong);
}
.m-steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.m-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 22px 30px;
}
.m-steps li::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 20px;
  bottom: 2px;
  width: 2px;
  background: var(--c-line);
}
.m-steps li.done::before {
  background: oklch(0.55 0.12 160 / 0.45);
}
.m-steps li:last-child::before {
  display: none;
}
.m-steps i {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-surface);
  box-shadow: inset 0 0 0 1.5px var(--c-line-2);
  color: #fff;
}
.m-steps .done i {
  background: var(--c-success);
  box-shadow: none;
}
.m-steps .cur i {
  box-shadow: inset 0 0 0 4px var(--c-warn);
}
.m-steps i svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}
.m-steps b {
  font-size: 12.5px;
}
.m-steps small.warn {
  color: var(--c-warn-ink);
  font-weight: 600;
}
.m-acts {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.m-detail .m-acts {
  padding-top: 16px;
  border-top: 1px solid var(--c-divider);
}

/* 主题卡片里的小图：只取左上部分，内容更大一些 */
.themeCard .mock {
  aspect-ratio: 1080 / 520 !important;
}

/* ---------- 文档审查 ---------- */
.m-doc {
  left: 24px;
  top: 24px;
  width: 290px;
  height: 392px;
  padding: 16px 18px;
  overflow: hidden;
}
.m-doc::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(oklch(1 0 0 / 0), var(--c-surface));
}
.m-dochead {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--c-divider);
  color: var(--c-primary);
}
.m-dochead b {
  flex: 1;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-doc h5 {
  margin: 10px 0 6px;
  font-size: 12.5px;
  color: var(--c-text-strong);
}
.m-doc p {
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 1.75;
  color: var(--c-text-2);
}
.m-doc p b {
  font-weight: 600;
}
.m-stage mark {
  padding: 1px 2px;
  border-radius: 3px;
  color: inherit;
}
.m-stage mark.bad {
  background: var(--c-danger-soft);
  box-shadow: inset 0 -1.5px 0 var(--c-danger-dot);
}
.m-stage mark.mid {
  background: var(--c-warn-soft);
  box-shadow: inset 0 -1.5px 0 var(--c-warn);
}
.m-stage mark.good {
  background: var(--c-success-soft);
  box-shadow: inset 0 -1.5px 0 var(--c-success);
}
.m-fadep {
  opacity: 0.8;
}
.m-links {
  position: absolute;
  inset: 0;
  width: 640px !important;
  height: 440px !important;
  stroke-width: 1.5 !important;
}
.m-links path {
  stroke-dasharray: 4 4;
  opacity: 0.75;
}
.m-links .bad {
  stroke: var(--c-danger-dot);
}
.m-links .mid {
  stroke: var(--c-warn);
}
.m-links .good {
  stroke: var(--c-success);
}
.m-find {
  position: absolute;
  left: 352px;
  width: 264px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--c-surface);
  box-shadow: var(--shadow-hero);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
}
.m-find > small {
  margin-left: auto;
  font-weight: 600;
}
.m-find small.bad {
  color: var(--c-danger-ink);
}
.m-find small.warn {
  color: var(--c-warn-ink);
}
.m-find small.ok {
  color: var(--c-success);
}
.m-find > b {
  width: 100%;
  margin-top: 6px;
  font-size: 12.5px;
}
.m-find p {
  width: 100%;
  margin: 0;
  font-size: 11px;
  color: var(--c-muted);
}
.m-src {
  margin-top: 4px;
  font-size: 10.5px;
  color: var(--c-primary-ink);
}

/* ---------- 窗口（编写、总览） ---------- */
.m-win {
  left: 22px;
  top: 22px;
  width: 596px;
  height: 396px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.m-winbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  background: var(--c-sidebar);
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.m-winbar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-line-2);
}
.m-winbar span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--c-faint);
  transform: translateX(-14px);
}

/* ---------- 文档编写 ---------- */
.m-ed {
  flex: 1;
  display: flex;
  min-height: 0;
}
.m-outline {
  width: 132px;
  flex-shrink: 0;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 10.5px;
  color: var(--c-text-3);
  border-right: 1px solid var(--c-border);
}
.m-outline > b {
  font-size: 11px;
  margin-bottom: 6px;
}
.m-outline span {
  padding: 3px 6px;
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-outline .sub {
  padding-left: 16px;
}
.m-outline .on {
  background: var(--c-primary-soft);
  color: var(--c-primary-ink);
  font-weight: 600;
}
.m-paper {
  flex: 1;
  min-width: 0;
  padding: 14px 14px 0;
  background: var(--c-panel);
  overflow: hidden;
  position: relative;
}
.m-paper::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(oklch(1 0 0 / 0), var(--c-panel));
}
.m-page {
  height: 100%;
  padding: 18px 18px;
  background: var(--c-surface);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 1px 3px oklch(0.3 0.04 var(--hue-gray) / 0.08);
  font-family: 'Songti SC', 'SimSun', serif;
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--c-text);
}
.m-page h5 {
  margin: 0 0 8px;
  font-size: 13px;
  text-align: center;
  font-family: var(--font-sans);
  color: var(--c-text-strong);
}
.m-page p {
  margin: 0 0 8px;
  text-indent: 2em;
}
.m-stage del {
  color: var(--c-danger-ink);
  text-decoration-color: var(--c-danger-dot);
}
.m-stage ins {
  text-decoration: underline;
  text-decoration-color: var(--c-primary);
  text-underline-offset: 2px;
  color: var(--c-primary-ink);
}
.m-page table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
  font-size: 9.5px;
  line-height: 1.5;
}
.m-page th,
.m-page td {
  border: 1px solid var(--c-border);
  padding: 3px 5px;
  text-align: left;
}
.m-page th {
  font-family: var(--font-sans);
  font-weight: 600;
  background: var(--c-panel);
}
.m-fadetr {
  opacity: 0.6;
}
.m-chat {
  width: 186px;
  flex-shrink: 0;
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--c-border);
}
.m-ctabs {
  display: flex;
  gap: 12px;
  margin: 0 -12px;
  padding: 0 12px;
  border-bottom: 1px solid var(--c-border);
  font-size: 11px;
  color: var(--c-muted);
}
.m-ctabs span {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.m-ctabs em {
  font-style: normal;
  font-family: var(--font-num);
  font-size: 9.5px;
  padding: 0 4px;
  border-radius: 4px;
  color: var(--c-primary-ink);
  background: var(--c-primary-soft);
}
.m-ctabs .on {
  color: var(--c-text-strong);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--c-primary);
}
.m-bub {
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 11px;
  line-height: 1.6;
}
.m-bub.me {
  align-self: flex-end;
  max-width: 150px;
  background: var(--c-primary-soft);
  color: var(--c-primary-ink);
  border-bottom-right-radius: 4px;
}
.m-bub.ai {
  background: var(--c-surface);
  box-shadow: 0 0 0 1px var(--c-border), var(--shadow-card);
  color: var(--c-text-2);
}
.m-bub.ai > b {
  display: block;
  margin-bottom: 2px;
  font-size: 10.5px;
  color: var(--c-primary-ink);
}
.m-wr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 5px 5px 5px 8px;
  border-radius: 8px;
  background: var(--c-panel);
}
.m-input {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  padding: 0 6px 0 10px;
  border-radius: 10px;
  font-size: 10.5px;
  color: var(--c-faint);
  box-shadow: inset 0 0 0 1px var(--c-border);
}
.m-input i {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--c-primary);
}
.m-input svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
}

/* ---------- 超级互联 ---------- */
.m-browser {
  left: 22px;
  top: 22px;
  width: 420px;
  height: 316px;
  padding: 10px;
}
.m-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 6px 0 12px;
  border-radius: 9px;
  background: var(--c-panel);
  font-size: 11px;
}
.m-addr > span {
  font-weight: 600;
  color: var(--c-text-strong);
  white-space: nowrap;
}
.m-addr code {
  flex: 1;
  min-width: 0;
  font-size: 9.5px;
  color: var(--c-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-addr em {
  display: flex;
  align-items: center;
  gap: 4px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--c-success);
  background: var(--c-success-soft);
}
.m-addr em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-online);
}
.m-site {
  margin-top: 8px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--c-border);
}
.m-sitebar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 30px;
  padding: 0 12px;
  font-size: 10px;
  color: oklch(1 0 0 / 0.7);
  background: oklch(0.38 0.1 252);
}
.m-sitebar b {
  color: #fff;
  margin-right: 6px;
}
.m-sitebar .on {
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  background: oklch(1 0 0 / 0.16);
}
.m-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  padding: 14px;
}
.m-form label {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.m-form label.wide {
  grid-column: 1 / -1;
}
.m-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  font-size: 11px;
  color: var(--c-text);
  box-shadow: inset 0 0 0 1px var(--c-border);
}
.m-field.focus {
  box-shadow: inset 0 0 0 1.5px var(--c-primary), 0 0 0 3px var(--c-primary-soft);
}
.m-field.area {
  height: 44px;
  align-items: flex-start;
  padding-top: 6px;
}
.m-field svg {
  color: var(--c-faint);
}
.m-cursor {
  position: absolute;
  left: 336px;
  top: 172px;
  width: 16px !important;
  height: 20px !important;
  fill: var(--c-text-strong) !important;
  stroke: #fff !important;
  stroke-width: 1.4 !important;
  filter: drop-shadow(0 2px 3px oklch(0 0 0 / 0.25));
}
.m-confirm {
  left: 330px;
  top: 150px;
  width: 288px;
  padding: 14px 16px;
}
.m-chead {
  display: flex;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-divider);
}
.m-chead i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 700;
  color: var(--c-warn-ink);
  background: var(--c-warn-soft);
  flex-shrink: 0;
}
.m-chead span {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.m-chead b {
  font-size: 13px;
}
.m-confirm dl {
  display: grid;
  grid-template-columns: 64px 1fr;
  margin: 8px 0 12px;
  font-size: 11.5px;
}
.m-confirm dt,
.m-confirm dd {
  margin: 0;
  padding: 5px 0;
  border-bottom: 1px solid var(--c-divider);
}
.m-confirm dt {
  color: var(--c-subtle-text);
}
.m-confirm dd {
  color: var(--c-text-strong);
  font-weight: 500;
}
.m-confirm .m-acts {
  justify-content: flex-end;
}
.m-log {
  left: 22px;
  top: 354px;
  width: 292px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  color: var(--c-text-2);
}
.m-log > b {
  font-size: 11.5px;
}
.m-log span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.m-log time {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--c-faint);
}

/* ---------- 运行总览 ---------- */
.m-runhead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--c-border);
}
.m-date {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--c-border);
  font-family: var(--font-num);
}
.m-runhead h4 {
  margin: 4px 0 0;
  font-size: 18px;
  line-height: 1.3;
  color: var(--c-text-strong);
}
.m-runhead h4 + h4 {
  margin-top: 0;
}
.m-runhead h4 em {
  font-style: normal;
  font-family: var(--font-num);
  color: var(--c-warn-ink);
}
.m-running {
  width: 250px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--c-border);
  font-size: 11px;
  align-self: center;
}
.m-running small {
  display: flex;
  align-items: center;
  gap: 6px;
}
.m-runbody {
  flex: 1;
  display: flex;
  min-height: 0;
}
.m-inboxes {
  width: 210px;
  flex-shrink: 0;
  padding: 12px 10px;
  background: var(--c-panel);
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.m-h {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  padding: 0 4px;
}
.m-inbox {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 9px 10px;
  border-radius: 10px;
}
.m-inbox.on {
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
}
.m-inbox small {
  display: flex;
  align-items: center;
  gap: 5px;
}
.m-inbox small time {
  margin-left: auto;
}
.m-inbox b {
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-inbox > span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.m-inbox em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-num);
  font-size: 9.5px;
  color: var(--c-faint);
}
.m-inbox.ghost {
  opacity: 0.35;
}
.m-sum {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}
.m-sum h5 {
  margin: 8px 0 2px;
  font-size: 14px;
  color: var(--c-text-strong);
}
.m-sum p {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--c-text-2);
}
.m-risk {
  display: flex;
  gap: 3px;
  height: 7px;
}
.m-risk i {
  border-radius: 4px;
}
.m-risk .pri {
  opacity: 0.55;
}
.m-risk .ok {
  opacity: 0.6;
}
.m-legend {
  display: flex;
  gap: 12px;
  margin: 7px 0 10px;
  font-size: 10.5px;
  color: var(--c-text-3);
}
.m-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.m-legend i {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}
.m-top3 {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 10px;
  border-top: 1px solid var(--c-divider);
  font-size: 11px;
  color: var(--c-text-2);
}
.m-top3 span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.m-top3 .fade {
  opacity: 0.45;
}
.m-bar {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 7px 7px 12px;
  border-radius: 10px;
  background: var(--c-surface);
  box-shadow: 0 0 0 1px var(--c-border), var(--shadow-card);
}
.m-bar small {
  font-size: 10px;
}
