/* ===== 志邦海外招商 AI 助手 v8 · 智能补全表格 + 右侧确认抽屉（Apple 极简风） ===== */

:root {
  --ink: #1D1D1F;
  --ink-2: #3A3A3C;
  --muted: #6E6E73;
  --muted-2: #86868B;
  --accent: #0071E3;
  --accent-hover: #0077ED;
  --accent-soft: rgba(0, 113, 227, 0.085);
  --accent-line: rgba(0, 113, 227, 0.26);

  --ok: #1D7F3E;
  --ok-bg: rgba(52, 199, 89, 0.12);
  --ok-line: rgba(52, 199, 89, 0.28);
  --warn: #B25000;
  --warn-bg: rgba(255, 149, 0, 0.11);
  --warn-line: rgba(255, 149, 0, 0.28);
  --danger: #D70015;
  --danger-bg: rgba(255, 59, 48, 0.10);
  --danger-line: rgba(255, 59, 48, 0.26);

  --bg: #F5F5F7;
  --canvas: #FBFBFD;
  --panel: #FFFFFF;
  --line: rgba(0, 0, 0, 0.075);
  --line-strong: rgba(0, 0, 0, 0.14);

  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 6px 20px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.08);
  --focus-ring: 0 0 0 3.5px rgba(0, 113, 227, 0.18);

  --topbar-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
[hidden] { display: none !important; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: var(--mono); font-size: 11.5px;
  background: rgba(0, 0, 0, 0.055); padding: 1px 5px; border-radius: 5px;
}

::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.14); border-radius: 999px;
  border: 2px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.26); background-clip: content-box; }

/* ===== 顶部毛玻璃栏 ===== */
.topbar {
  height: var(--topbar-h); flex: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(155deg, #2C2C2E 0%, #111113 100%);
  color: #fff; font-weight: 700; font-size: 13px;
}
.brand__title { font-size: 14.5px; font-weight: 700; letter-spacing: -0.02em; }
.brand__sub { font-size: 11.5px; color: var(--muted); }
.topbar__right { display: flex; align-items: center; gap: 8px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 28px; padding: 0 11px; border-radius: 999px;
  background: var(--ok-bg); color: var(--ok);
  font-size: 12px; font-weight: 600; border: none; cursor: pointer;
}
.status-pill__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34C759; box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.22);
}

/* ===== 通用按钮与表单 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 32px; padding: 0 13px; border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.055); color: var(--ink);
  font-family: inherit; font-size: 12.5px; font-weight: 500;
  cursor: pointer; white-space: nowrap; transition: all .14s ease;
}
.btn:hover:not(:disabled) { background: rgba(0, 0, 0, 0.095); }
.btn:active:not(:disabled) { transform: scale(0.985); }
.btn:disabled { opacity: 0.42; cursor: not-allowed; }
.btn--primary { background: #1D1D1F; color: #fff; font-weight: 600; }
.btn--primary:hover:not(:disabled) { background: #000; }
.btn--accent {
  background: linear-gradient(180deg, #0A84FF 0%, #0071E3 100%);
  color: #fff; font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.22);
}
.btn--accent:hover:not(:disabled) { background: linear-gradient(180deg, #1E8FFF 0%, #0077ED 100%); }
.btn--sm { height: 28px; padding: 0 11px; font-size: 12px; }
.btn--xs { height: 24px; padding: 0 9px; font-size: 11.5px; }

.input {
  width: 100%; height: 34px; padding: 0 11px;
  border: 1px solid var(--line-strong); border-radius: 9px;
  background: #fff; color: var(--ink); font-family: inherit; font-size: 13px;
  outline: none; transition: border-color .14s, box-shadow .14s;
}
.input:focus { border-color: var(--accent); box-shadow: var(--focus-ring); }
.textarea { height: auto; padding: 10px 12px; resize: vertical; line-height: 1.62; }

/* ===== 一句话助手命令栏 ===== */
.cmd-strip {
  flex: none;
  padding: 12px 20px;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 9px;
}
.cmd-row {
  display: flex; align-items: center; gap: 10px;
}
.cmd-box {
  flex: 1; display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 4px 5px 4px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.035);
  transition: border-color .15s, box-shadow .15s;
}
.cmd-box:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
.cmd-input {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: inherit; font-size: 13.5px; color: var(--ink);
  height: 30px;
}
.cmd-subrow {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.cmd-chips { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cmd-chips__label { font-size: 11.5px; color: var(--muted-2); }
.pchip {
  border: none; background: rgba(0, 0, 0, 0.048); color: var(--ink-2);
  font-family: inherit; font-size: 11.5px; padding: 4px 10px; border-radius: 999px;
  cursor: pointer; transition: all .14s;
}
.pchip:hover { background: var(--accent-soft); color: var(--accent); }

.pipeline-steps { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.pstep {
  font-size: 11.5px; padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, 0.045); color: var(--muted); font-weight: 500;
}
.pstep.is-active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.pstep.is-done { background: var(--ok-bg); color: var(--ok); font-weight: 600; }

/* ===== 主工作区：左窄任务栏 | 中间清爽表格工作台 | 右侧详情抽屉 ===== */
.workspace {
  flex: 1; min-height: 0;
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr) 412px;
}

/* 左侧极简任务与工作表导航栏 */
.rail-left {
  background: #F6F6F8;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 0; overflow-y: auto;
  padding: 12px 10px;
}
.rail-section { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.rail-label {
  font-size: 11px; font-weight: 600; color: var(--muted-2);
  padding: 0 8px 4px; letter-spacing: 0.02em;
}
.rail-item {
  width: 100%; text-align: left; border: none; background: transparent;
  padding: 8px 10px; border-radius: 9px; font-family: inherit;
  font-size: 12.5px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 6px;
  transition: all .14s;
}
.rail-item:hover { background: rgba(0, 0, 0, 0.045); color: var(--ink); }
.rail-item.is-active {
  background: #fff; color: var(--ink); font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 0 0 0.5px rgba(0, 0, 0, 0.04);
}
.rail-item__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-item__cnt {
  font-size: 11px; color: var(--muted); background: rgba(0, 0, 0, 0.055);
  padding: 1px 6px; border-radius: 999px; flex: none;
}
.rail-foot {
  padding-top: 10px; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.rail-stat-card {
  background: rgba(255, 255, 255, 0.8); border: 1px solid var(--line);
  border-radius: 11px; padding: 10px 11px; font-size: 11.5px; color: var(--muted);
}
.rail-stat-card strong { display: block; color: var(--ink); font-size: 13px; margin-top: 2px; }

/* 左侧/中间：Clay 式智能表格区 */
.sheet-pane {
  display: flex; flex-direction: column; min-width: 0; min-height: 0;
  background: #FFFFFF;
}

/* 空态欢迎屏 */
.empty-hero {
  margin: auto; max-width: 560px; text-align: center; padding: 36px 24px;
}
.empty-hero__pill {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 12px; border-radius: 999px;
}
.empty-hero__title {
  font-size: 30px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.2;
  margin-top: 14px; color: var(--ink);
}
.empty-hero__desc { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.65; }
.empty-hero__cards { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; }
.example-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 12px 16px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--canvas); color: var(--ink);
  font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
  transition: all .15s;
}
.example-btn:hover { background: #fff; border-color: var(--accent-line); box-shadow: var(--shadow); }
.example-btn span:last-child { color: var(--accent); font-weight: 600; font-size: 12px; }

/* 表格顶部工具条 */
.sheet-toolbar {
  flex: none;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.sheet-toolbar__left { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sheet-toolbar__right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ftab {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  height: 27px; padding: 0 10px; border-radius: 999px;
  font-family: inherit; font-size: 12px; font-weight: 500; cursor: pointer;
  transition: all .14s;
}
.ftab:hover { color: var(--ink); border-color: var(--line-strong); }
.ftab.is-active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.search-box { width: 190px; height: 28px; font-size: 12px; border-radius: 999px; padding: 0 12px; }

/* 可折叠市场摘要条 */
.market-strip {
  flex: none; padding: 7px 16px; border-bottom: 1px solid var(--line);
  background: #F8FAFF; font-size: 12px;
}
.market-strip summary {
  cursor: pointer; font-weight: 600; color: var(--ink-2);
  list-style: none; user-select: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.market-strip summary::-webkit-details-marker { display: none; }
.market-strip__body {
  margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line);
  white-space: pre-wrap; line-height: 1.62; color: var(--ink-2); max-height: 180px; overflow-y: auto;
}

/* 智能补全表格（优化列宽，避免右侧抽屉遮挡） */
.grid-scroll { flex: 1; overflow: auto; }
.enrich-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 12.5px; min-width: 680px;
}
.enrich-table thead th {
  position: sticky; top: 0; z-index: 5;
  text-align: left; font-size: 11.5px; font-weight: 600; color: var(--muted);
  background: #F8F8FA; padding: 9px 11px;
  border-bottom: 1px solid var(--line-strong);
  border-right: 1px solid rgba(0, 0, 0, 0.045);
  white-space: nowrap;
}
.enrich-table thead th:last-child { border-right: none; }
.col-tag {
  display: inline-flex; align-items: center; gap: 4px;
}
.col-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.col-dot--ok { background: #34C759; }
.col-dot--ink { background: var(--ink); }

.enrich-table tbody tr {
  cursor: pointer; transition: background .12s;
}
.enrich-table tbody tr:hover td { background: #F8FAFD; }
.enrich-table tbody tr.is-selected td { background: #EEF5FF; }
.enrich-table tbody td {
  padding: 10px 11px; vertical-align: top;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid rgba(0, 0, 0, 0.035);
}
.enrich-table tbody td:last-child { border-right: none; }

.td-idx { width: 34px; text-align: center; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.td-chk { width: 32px; text-align: center; }
.cell-company { font-weight: 600; color: var(--ink); font-size: 13px; }
.enrich-table tbody tr.is-selected .cell-company { color: var(--accent); }
.cell-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.cell-ellipsis {
  max-width: 175px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 独立跟进视图分组样式 */
.followup-pane {
  flex: 1; overflow-y: auto; padding: 14px 18px 28px;
  display: flex; flex-direction: column; gap: 14px;
  background: var(--canvas);
}
.fu-summary-bar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
}
.fu-stat {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 13px; box-shadow: var(--shadow);
}
.fu-stat__k { font-size: 11.5px; color: var(--muted); }
.fu-stat__v { font-size: 22px; font-weight: 700; margin-top: 2px; font-variant-numeric: tabular-nums; }
.fu-stat--danger .fu-stat__v { color: var(--danger); }
.fu-stat--warn .fu-stat__v { color: var(--warn); }
.fu-stat--accent .fu-stat__v { color: var(--accent); }
.fu-stat--ok .fu-stat__v { color: var(--ok); }

.fu-group {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; box-shadow: var(--shadow);
}
.fu-group__head {
  padding: 10px 14px; background: #F8F8FA; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px; font-weight: 700;
}
.fu-group__list { display: flex; flex-direction: column; }
.fu-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--line); cursor: pointer;
  transition: background .12s;
}
.fu-row:last-child { border-bottom: none; }
.fu-row:hover { background: #F8FAFD; }
.fu-row.is-selected { background: #EEF5FF; }
.fu-row__main { min-width: 0; flex: 1; }
.fu-row__title { font-weight: 600; font-size: 13px; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fu-row__sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.fu-row__right { display: flex; align-items: center; gap: 8px; flex: none; }

/* 右侧紧凑可折叠详情与历史记录 */
.insp-more { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.insp-more summary {
  cursor: pointer; font-size: 11.5px; font-weight: 600; color: var(--muted);
  list-style: none; user-select: none;
}
.insp-more summary::-webkit-details-marker { display: none; }
.history-list {
  display: flex; flex-direction: column; gap: 4px; margin-top: 6px;
  max-height: 92px; overflow-y: auto;
}
.history-item {
  font-size: 11.5px; color: var(--ink-2); padding: 4px 8px;
  background: var(--canvas); border-radius: 7px; border: 1px solid var(--line);
}
.fu-preview-date {
  font-size: 11px; color: var(--accent); font-weight: 600; white-space: nowrap;
}
.rail-item__cnt--danger { background: var(--danger-bg); color: var(--danger); font-weight: 700; }

.badge {
  display: inline-flex; align-items: center; font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: 999px; white-space: nowrap;
}
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--accent { background: var(--accent-soft); color: var(--accent); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--muted { background: rgba(0, 0, 0, 0.055); color: var(--muted); font-weight: 500; }

/* 右侧抽屉：客户详情 + 开发信确认 + 发送/跟进 */
.inspector {
  background: #F4F4F6;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; min-height: 0;
}
.inspector-empty {
  margin: auto; padding: 28px 24px; text-align: center; color: var(--muted); font-size: 13px;
}
.inspector-scroll {
  flex: 1; overflow-y: auto; padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
}
.insp-card {
  background: #fff; border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: var(--radius); padding: 14px 15px; box-shadow: var(--shadow);
}
.insp-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
}
.insp-name { font-size: 16.5px; font-weight: 700; letter-spacing: -0.02em; }
.insp-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.insp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 11px;
  padding-top: 10px; border-top: 1px solid var(--line);
}
.kv-k { font-size: 11px; font-weight: 600; color: var(--muted-2); }
.kv-v { font-size: 12px; color: var(--ink); word-break: break-word; margin-top: 1px; line-height: 1.45; }
.kv-full { grid-column: 1 / -1; }

.seg-tabs {
  display: inline-flex; padding: 3px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.05); gap: 2px;
}
.seg-tab {
  border: none; background: transparent; color: var(--muted);
  font-family: inherit; font-size: 12px; font-weight: 500;
  padding: 5px 10px; border-radius: 7px; cursor: pointer;
}
.seg-tab.is-active {
  background: #fff; color: var(--ink); font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* 克制红线检查条 */
.rl-bar {
  border-radius: 10px; border: 1px solid var(--line); overflow: hidden; font-size: 12px;
  margin-top: 10px;
}
.rl-bar__head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 7px 11px; font-weight: 600;
}
.rl-bar--green { border-color: var(--ok-line); }
.rl-bar--green .rl-bar__head { background: var(--ok-bg); color: var(--ok); }
.rl-bar--yellow { border-color: var(--warn-line); }
.rl-bar--yellow .rl-bar__head { background: var(--warn-bg); color: var(--warn); }
.rl-bar--red { border-color: var(--danger-line); }
.rl-bar--red .rl-bar__head { background: var(--danger-bg); color: var(--danger); }
.rl-bar__body {
  padding: 8px 11px; background: #fff; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.rl-hit-line { color: var(--danger); font-size: 12px; }
.rl-preview {
  padding: 8px 10px; border-radius: 8px; background: #FFFDFD;
  border: 1px dashed var(--danger-line); white-space: pre-wrap;
  line-height: 1.55; max-height: 120px; overflow-y: auto; font-size: 12px;
}
mark.rl-hit {
  background: rgba(255, 59, 48, 0.16); color: var(--danger); font-weight: 700;
  padding: 0 3px; border-radius: 3px; border-bottom: 2px solid var(--danger);
}

.field { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; }
.field__label { font-size: 11.5px; font-weight: 600; color: var(--muted); }
.mail-body { font-size: 12.8px; min-height: 240px; background: #FCFCFE; }

/* 右侧底部固定操作栏 */
.inspector-foot {
  flex: none;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.foot-row { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; }
.foot-row .btn--grow { flex: 1; }
.foot-select { height: 28px; font-size: 12px; width: auto; flex: 1; }
.log-strip { font-size: 11.5px; color: var(--muted); }

/* 后台配置弹窗 */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15, 15, 18, 0.42); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.modal {
  width: 100%; max-width: 540px; background: #fff; border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22); overflow: hidden;
  display: flex; flex-direction: column;
}
.modal__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; border-bottom: 1px solid var(--line);
}
.modal__title { font-size: 15.5px; font-weight: 700; }
.modal__close {
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: rgba(0, 0, 0, 0.06); color: var(--muted); cursor: pointer; font-size: 18px;
}
.modal__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.modal__foot {
  padding: 12px 18px; border-top: 1px solid var(--line); background: var(--canvas);
  display: flex; justify-content: flex-end; gap: 8px;
}
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 200;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(29, 29, 31, 0.92); color: #fff;
  font-size: 12.5px; font-weight: 500; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

@media (max-width: 1120px) {
  body { overflow: auto; }
  .workspace { grid-template-columns: 1fr; }
  .inspector { border-left: none; border-top: 1px solid var(--line); }
}
