:root {
  /* 浅蓝白主题：背景更蓝，正文用深色 */
  --ink: #1F2D44;
  --ink-2: #5A6B83;
  --muted: #8A9BB0;
  --line: #DCEBFF;
  --paper: #ffffff;
  --ground: #EEF4FF;
  --brand: #2F6FE2;
  --brand-deep: #1F58C8;
  --brand-soft: #EAF3FF;
  --success: #1b9b6c;
  --danger: #d64545;
  --warning: #c9851a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 420px at 10% -10%, rgba(160,210,255,.55) 0%, transparent 58%),
    radial-gradient(900px 360px at 100% 0%, rgba(196,226,255,.45) 0%, transparent 52%),
    linear-gradient(180deg, #CFE1FF 0%, #DCEBFF 32%, #EEF4FF 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; }
.shell { min-height: 100vh; display: flex; }

/* 侧栏：浅冰蓝白，背景跟随主蓝渐变 */
.sidebar {
  position: fixed; top: 0; bottom: 0; width: 248px;
  display: flex; flex-direction: column;
  padding: 28px 18px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.7) 42%, rgba(255,255,255,.55) 100%);
  border-right: 1px solid rgba(255,255,255,.9);
  box-shadow: 8px 0 28px rgba(47, 110, 180, 0.10);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 28px; color: var(--ink); }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #8EC0FF, #6BA8FF);
  color: #fff; font-weight: 800; overflow: hidden;
  box-shadow: 0 8px 18px rgba(107, 168, 255, .22);
}
.brand-mark img { width:100%; height:100%; object-fit:cover; display:block; }
.brand strong { display: block; font-size: 17px; color: #31465F; }
.brand span, .eyebrow {
  display: block; font-size: 10px; letter-spacing: 1.4px;
}
.brand span { margin-top: 3px; color: #6BA8FF; }
nav { display: grid; gap: 6px; }
.nav-item {
  border: 0; text-align: left; cursor: pointer;
  padding: 12px 14px; border-radius: 10px;
  color: #5A6F88; background: transparent; font-size: 14px;
}
.nav-item.active, .nav-item:hover { color: #31465F; background: rgba(107, 168, 255, .10); }
.nav-item.active {
  color: #4F8FEA;
  background: linear-gradient(90deg, rgba(107,168,255,.18), rgba(107,168,255,.05));
  box-shadow: inset 3px 0 0 #6BA8FF;
  font-weight: 600;
}
.sidebar-footer {
  margin-top: auto; padding: 16px 12px 0;
  color: #8A9BB0; font-size: 12px; line-height: 1.7;
  border-top: 1px solid #E2EEF9;
}

.main {
  width: calc(100% - 248px);
  margin-left: 248px;
  padding: 36px 48px 72px;
  min-height: 100vh;
  background:
    radial-gradient(900px 380px at 100% 0%, rgba(196, 226, 255, .55) 0%, transparent 55%),
    radial-gradient(700px 300px at 0% 50%, rgba(199, 221, 255, .35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(220, 235, 255, .55) 0%, rgba(238, 244, 255, .35) 220px, transparent 100%);
}
.topbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.eyebrow { color: var(--brand); font-weight: 700; }
h1 { margin: 8px 0 0; font-size: 30px; letter-spacing: -.6px; }
h2 { margin: 0; font-size: 19px; }
h3 { margin: 0; font-size: 15px; }
.page-desc { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.status {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 12px; border: 1px solid #dfeee8; border-radius: 6px;
  color: var(--success); background: #f4fcf8; font-size: 13px;
}
.status.offline { color: var(--danger); border-color: #f3d4d4; background: #fff5f5; }
.status span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.view { display: none; }
.view.active { display: block; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.dash-stat-grid { margin-bottom: 14px; }
.dash-section-title {
  margin: 4px 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: #5b6270;
  letter-spacing: .2px;
}
.dash-period-note { margin: 0 0 12px; font-size: 12px; }
.dash-panels {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}
.dash-panels .panel:first-child { grid-column: 1 / -1; }
.stat-card, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(20,25,38,.025);
}
.stat-card { padding: 20px; min-height: 128px; }
.stat-card p, .stat-card span { margin: 0; color: var(--muted); font-size: 13px; }
.stat-card strong { display: block; margin: 14px 0 8px; font-size: 28px; letter-spacing: -.8px; }
.stat-card.wide { grid-column: span 2; }
.stat-card.wide strong { font-size: 18px; padding-top: 6px; }
.stat-card.accent { border-color: #c9def8; background: linear-gradient(180deg, #f4f8ff, #fff); }
.stat-card.warn { border-color: #f3d2a8; background: linear-gradient(180deg, #fff9f1 0%, #fff 70%); }
.stat-card span b { color: var(--ink); font-weight: 600; }
.cust-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.cust-avatar {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  background: #e7f1fc; flex: 0 0 auto;
}
.cust-avatar.placeholder {
  display: grid; place-items: center;
  color: #4F8FEA; font-size: 13px; font-weight: 700;
  border: 1px solid #cfe0f8;
}
.cust-avatar.lg { width: 56px; height: 56px; font-size: 18px; }
.cust-profile-card { display: flex; align-items: center; gap: 12px; }
.mini-record-card {
  padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfd;
}
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; word-break: break-all; }

.panel { padding: 24px; margin-bottom: 20px; }
.panel-head {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.panel-head p, .subpanel p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.subpanel {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
}
.subpanel-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}

.button {
  border: 0; border-radius: 6px; padding: 10px 16px; cursor: pointer;
  background: #eef0f4; color: var(--ink);
}
.button.primary { color: #fff; background: var(--brand); }
.button.ghost { background: #fff; border: 1px solid var(--line); }
.button.danger { color: #fff; background: var(--danger); }
.button.small { padding: 6px 10px; font-size: 12px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.toolbar {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; flex-wrap: wrap; margin-bottom: 8px;
}
.toolbar .filters { margin-bottom: 0; flex: 1; }
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.form-grid label, .stack-card label, .form-stack label {
  display: grid; gap: 6px; color: var(--muted); font-size: 12px;
}
.form-grid .full, .form-stack .full { grid-column: 1 / -1; }
.form-stack { display: grid; gap: 12px; }

input, select, textarea {
  width: 100%;
  border: 1px solid #dfe2e7;
  border-radius: 6px;
  outline: none;
  color: var(--ink);
  background: #fff;
  font-size: 13px;
}
input, select { height: 38px; padding: 0 12px; }
textarea { min-height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.filters input { width: 280px; }
.filters select { width: 160px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  padding: 12px 10px; color: var(--muted); background: #fafafb;
  text-align: left; font-size: 12px; font-weight: 600; white-space: nowrap;
}
td {
  padding: 14px 10px; border-bottom: 1px solid var(--line);
  color: #373d48; vertical-align: middle; white-space: nowrap;
}
td strong { white-space: normal; }
.empty { padding: 42px; color: var(--muted); text-align: center; }
.tag {
  display: inline-flex; padding: 2px 8px; border-radius: 999px;
  font-size: 12px; background: #EAF3FF; color: #4F8FEA;
}
.tag.success { color: var(--success); background: #e9f8f1; }
.tag.warning { color: var(--warning); background: #fff6e8; }
.tag.danger { color: var(--danger); background: #ffecec; }
.tag.muted { color: var(--muted); background: #f1f2f4; }
.action-link {
  color: var(--brand); cursor: pointer; font-weight: 600;
  background: none; border: 0; padding: 0; margin-right: 10px;
}
.action-link.danger { color: var(--danger); }
.muted { color: var(--muted); }
.stack { display: grid; gap: 12px; }
.stack-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fbfbfc;
}
.stack-card .card-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.mini-grid .full { grid-column: 1 / -1; }
.checkline {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-size: 13px;
}
.checkline input { width: auto; height: auto; }

.drawer.hidden, .modal.hidden, .toast.hidden { display: none; }
.drawer, .modal { position: fixed; inset: 0; z-index: 30; }
.drawer-mask, .modal-mask {
  position: absolute; inset: 0; background: rgba(16,18,24,.45);
}
/* 详情/报告：全屏展示，顶部/底部都有明确返回 */
.drawer-content {
  position: absolute; inset: 0;
  width: 100%; height: 100%; overflow: hidden;
  padding: 0; background: #f4f5f8;
  box-shadow: none;
  display: flex; flex-direction: column;
}
.drawer-topbar {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  z-index: 2;
}
.drawer-back-btn { flex: 0 0 auto; white-space: nowrap; }
.drawer-topbar-text { flex: 1; min-width: 0; }
.drawer-topbar-text .eyebrow { margin: 0; }
.drawer-topbar-text h2 {
  margin: 4px 0 0;
  font-size: 20px;
  letter-spacing: -.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-close-btn {
  position: static;
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  line-height: 1; display: grid; place-items: center;
}
.drawer-body {
  flex: 1; min-height: 0;
  overflow: auto;
  max-width: 1200px; width: 100%;
  margin: 0 auto;
  padding: 20px 28px 16px;
}
.drawer-footer {
  flex: 0 0 auto;
  display: flex; justify-content: flex-end; gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 10px rgba(0,0,0,.03);
}
.drawer-content .report-layout {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.drawer-content .report-side,
.drawer-content .report-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(20,25,38,.04);
}
.drawer-content .report-side { padding: 8px 18px 16px; }
.drawer-content .report-main { padding: 8px 22px 22px; min-width: 0; }
.drawer-content .detail-row:last-child { border-bottom: 0; }
.drawer-content .answer-list {
  max-height: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  padding-right: 0;
}
.drawer-content .report-body {
  max-height: none;
  min-height: 280px;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.modal-content {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.close {
  position: absolute; top: 14px; right: 18px;
  border: 0; color: var(--muted); background: none;
  font-size: 28px; cursor: pointer;
}
.detail-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-row label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.detail-row pre, pre.code {
  margin: 0; padding: 12px; overflow: auto;
  background: #f7f8fa; border-radius: 6px;
  color: #3a4050; font-size: 12px; line-height: 1.6;
}
.modal-actions {
  display: flex; justify-content: flex-end; gap: 10px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.toast {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  padding: 12px 16px; border-radius: 8px;
  background: #4F8FEA; color: #fff; font-size: 13px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.toast.error { background: #8f2d2d; }

/* -------- Survey workbench list -------- */
.survey-hero-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  margin: 0 0 16px; padding: 16px 18px;
  border: 1px solid #d5ebe1; border-radius: 12px;
  background: linear-gradient(135deg, #f2f7ff 0%, #fbfbfe 55%, #fff 100%);
}
.survey-hero-title { margin: 0 0 4px; font-size: 16px; }
.survey-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.survey-stat {
  min-width: 78px; padding: 10px 12px; border-radius: 10px;
  background: #fff; border: 1px solid var(--line); text-align: center;
}
.survey-stat strong { display: block; font-size: 20px; letter-spacing: -.4px; }
.survey-stat span { color: var(--muted); font-size: 12px; }
.view-toggle {
  display: inline-flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 8px; background: #f5f6f8;
}
.view-toggle .button.active {
  background: #fff; color: var(--brand); border-color: #b7d4f5;
  box-shadow: 0 1px 3px rgba(20,25,38,.06);
}
.survey-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.survey-card {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 2px 10px rgba(20,25,38,.03);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.survey-card:hover {
  border-color: #b7d4f5;
  box-shadow: 0 8px 20px rgba(47, 125, 225,.08);
}
.survey-card.is-off { opacity: .72; }
/* 仅真实封面显示；无封面时不占位，避免紫色首字块 */
.survey-card-cover {
  height: 96px; background: #f3f4f7 center/cover no-repeat;
  border-bottom: 1px solid #f0f1f4;
}
.survey-card-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; flex: 1; }
.survey-card-top { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.survey-card-title { margin: 0; font-size: 16px; line-height: 1.35; color: var(--ink); }
.survey-card-sub {
  margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 0;
}
.survey-card-meta {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  color: #5b6270; font-size: 12px;
}
.survey-card-meta span::before { content: '· '; color: #c4c8d1; }
.survey-card-meta span:first-child::before { content: ''; }
.survey-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag.soft { background: #EAF3FF; color: #4F8FEA; border: 0; }
.survey-card-foot {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f1f4;
}
.survey-card-actions { display: flex; flex-wrap: wrap; gap: 4px 8px; justify-content: flex-end; }
.survey-empty-card {
  grid-column: 1 / -1; text-align: center; padding: 48px 20px;
  border: 1px dashed #d7dbe3; border-radius: 14px; background: #fafbfd;
}
.survey-empty-card p { color: var(--muted); margin: 8px 0 16px; }
.empty-block { padding: 24px; color: var(--muted); text-align: center; }
.hidden { display: none !important; }

/* -------- Survey Builder -------- */
.survey-builder {
  position: fixed; inset: 0; z-index: 40;
  display: flex; flex-direction: column;
  background: #f3f4f7;
}
.survey-builder.hidden { display: none; }
.builder-top {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 14px 22px;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.builder-top-left { display: flex; align-items: center; gap: 16px; }
.builder-top-left h2 { margin: 4px 0 0; font-size: 18px; }
.builder-top-hint { margin: 4px 0 0; font-size: 12px; }
.builder-top-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.builder-layout {
  flex: 1; min-height: 0;
  display: grid;
  grid-template-columns: 320px 1fr;
}
.builder-layout-3 {
  grid-template-columns: 300px minmax(0, 1fr) 320px;
}
.builder-side {
  overflow: auto;
  padding: 14px 14px 40px;
  border-right: 1px solid var(--line);
  background: #fff;
}
.builder-side h3 { margin: 0 0 6px; font-size: 14px; }
.builder-side .muted { margin: 0 0 12px; font-size: 12px; }
.builder-side-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-bottom: 14px; padding: 4px; border-radius: 10px; background: #f4f5f8;
}
.builder-side-tab {
  border: 0; border-radius: 8px; padding: 8px 6px;
  background: transparent; color: #6b7280; font-size: 13px; cursor: pointer;
}
.builder-side-tab.active {
  background: #fff; color: var(--brand); font-weight: 600;
  box-shadow: 0 1px 4px rgba(20,25,38,.08);
}
.builder-tab-panel { display: none; }
.builder-tab-panel.active { display: block; }
.type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.type-card, .template-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fafbff;
  cursor: pointer;
}
.type-card:hover, .template-card:hover {
  border-color: #9ec8f0;
  background: var(--brand-soft);
}
.type-card strong, .template-card strong { display: block; font-size: 13px; margin-bottom: 4px; }
.type-card span, .template-card span { color: var(--muted); font-size: 11px; line-height: 1.4; }
.template-list { display: grid; gap: 8px; }
.template-card { width: 100%; }
.builder-outline { display: grid; gap: 8px; }
.outline-item {
  display: flex; gap: 10px; align-items: flex-start;
  width: 100%; text-align: left; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px; background: #fafbfd; cursor: pointer;
}
.outline-item:hover, .outline-item.active {
  border-color: #9ec8f0; background: var(--brand-soft);
}
.outline-no {
  min-width: 34px; height: 24px; display: grid; place-items: center;
  border-radius: 999px; background: #fff; color: var(--brand);
  font-size: 11px; font-weight: 700; border: 1px solid #cfe0f8;
}
.outline-text { display: grid; gap: 2px; min-width: 0; }
.outline-text strong {
  font-size: 12px; line-height: 1.4; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.outline-text em { font-style: normal; color: var(--muted); font-size: 11px; }
.builder-meta {
  display: grid; gap: 10px;
}
.builder-meta label {
  display: grid; gap: 5px; color: var(--muted); font-size: 12px;
}
.builder-main {
  overflow: auto;
  padding: 20px 20px 60px;
  background: #f6f7fa;
}
.builder-main-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; margin-bottom: 16px;
}
.builder-main-head h3 { margin: 0; }
.builder-main-head .muted { margin: 4px 0 0; font-size: 12px; }
.question-list { display: grid; gap: 14px; max-width: 920px; margin: 0 auto; }
.builder-preview-pane {
  overflow: auto;
  padding: 16px 14px 28px;
  border-left: 1px solid var(--line);
  background: #eef5ff;
}
.phone-preview-head { margin-bottom: 12px; }
.phone-preview-head h3 { margin: 0 0 4px; font-size: 14px; }
.phone-preview-head .muted { margin: 0; font-size: 12px; }
.phone-frame {
  width: min(100%, 290px); margin: 0 auto;
  border: 10px solid #4F8FEA; border-radius: 28px;
  background: #4F8FEA; box-shadow: 0 18px 40px rgba(107,168,255,.16);
}
.phone-notch {
  width: 96px; height: 8px; margin: 6px auto 4px;
  border-radius: 999px; background: #2a5a8c;
}
.phone-screen {
  min-height: 520px; max-height: calc(100vh - 180px);
  overflow: auto; border-radius: 18px; background: #f4faf7;
  padding: 12px 12px 18px;
}
.phone-hero {
  padding: 12px; border-radius: 14px; margin-bottom: 12px;
  background: linear-gradient(145deg, #4F8FEA, #6BA8FF 55%, #8EC0FF);
  color: #fff;
}
.phone-brand { margin: 0 0 6px; font-size: 11px; opacity: .85; letter-spacing: .4px; }
.phone-hero h4 { margin: 0 0 6px; font-size: 16px; line-height: 1.35; }
.phone-hero p { margin: 0; font-size: 12px; line-height: 1.5; opacity: .9; }
.phone-progress {
  margin-top: 10px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden;
}
.phone-progress i { display: block; height: 100%; background: #fff; border-radius: inherit; }
.phone-empty {
  padding: 28px 12px; text-align: center; color: #7a90a8; font-size: 12px;
  border: 1px dashed #d7d3e6; border-radius: 12px; background: #fff;
}
.phone-q {
  margin-bottom: 10px; padding: 12px; border-radius: 12px;
  background: #fff; border: 1px solid #ebe8f3;
}
.phone-q.active { border-color: #9ec8f0; box-shadow: 0 0 0 2px rgba(47, 125, 225,.12); }
.phone-q-title { font-size: 13px; line-height: 1.45; font-weight: 600; color: #1f2430; }
.phone-q-title span {
  display: inline-block; min-width: 28px; margin-right: 4px;
  color: var(--brand); font-size: 11px;
}
.phone-q-title em { color: #d64545; font-style: normal; margin-left: 2px; }
.phone-q-desc { margin-top: 4px; color: #8a90a0; font-size: 11px; }
.phone-opt {
  display: flex; align-items: center; gap: 8px;
  margin-top: 8px; padding: 8px 10px; border-radius: 10px;
  background: #f7f8fb; color: #3d4452; font-size: 12px;
}
.phone-opt i {
  width: 14px; height: 14px; border: 1.5px solid #a0a7b5; border-radius: 50%; flex: 0 0 auto;
}
.phone-opt.multi i { border-radius: 3px; }
.phone-scale-labels {
  display: flex; justify-content: space-between; gap: 8px;
  margin-top: 8px; color: #8a90a0; font-size: 11px;
}
.phone-scale-dots {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px;
}
.phone-scale-dots span {
  min-width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid #d7dbe3; background: #fff;
  font-size: 12px; color: #4b5160;
}
.phone-input {
  margin-top: 8px; padding: 10px 12px; border-radius: 10px;
  border: 1px dashed #d5d9e4; color: #9aa1b0; font-size: 12px; background: #fafbfd;
}
.phone-submit {
  width: 100%; margin-top: 8px; border: 0; border-radius: 12px;
  padding: 12px; background: var(--brand); color: #fff; font-weight: 600; opacity: .7;
}
.q-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(20,25,38,.03);
}
.q-card.active { border-color: #9ec8f0; box-shadow: 0 0 0 3px var(--brand-soft); }
.q-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; margin-bottom: 12px;
}
.q-card-head .left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.q-index {
  display: inline-grid; place-items: center;
  min-width: 28px; height: 28px; padding: 0 8px;
  border-radius: 999px; background: var(--brand-soft); color: var(--brand);
  font-size: 12px; font-weight: 700;
}
.q-type-badge {
  display: inline-block; padding: 3px 8px; border-radius: 4px;
  background: #eef0f4; color: #4b5160; font-size: 12px;
}
.q-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.q-body { display: grid; gap: 10px; }
.q-body label { display: grid; gap: 5px; color: var(--muted); font-size: 12px; }
.q-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option-list { display: grid; gap: 8px; }
.option-row {
  display: grid;
  grid-template-columns: 1fr 90px 36px;
  gap: 8px;
  align-items: center;
}
.option-row .remove-opt {
  height: 36px; border: 1px solid var(--line); border-radius: 6px;
  background: #fff; color: var(--danger); cursor: pointer;
}
.scale-preview, .choice-preview, .text-preview {
  margin-top: 4px; padding: 10px 12px;
  border-radius: 8px; background: #f8f9fb;
  color: #555c6a; font-size: 12px;
}
.scale-preview .scale-dots {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px;
}
.scale-preview .scale-dots span {
  min-width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; border: 1px solid #d7dbe3;
}
.choice-preview div { margin: 4px 0; }
.builder-empty {
  padding: 48px 20px; text-align: center;
  border: 1px dashed #d5d9e2; border-radius: 12px;
  color: var(--muted); background: #fff;
}
.levels-box {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.levels-box .muted { margin: 0 0 10px; font-size: 12px; }
.upload-row { display: flex; gap: 8px; align-items: center; }
.upload-row input { flex: 1; }
.upload-btn { position: relative; overflow: hidden; white-space: nowrap; cursor: pointer; margin: 0; }
.upload-btn input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.media-box {
  border: 1px dashed #d7dbe3; border-radius: 8px; padding: 8px;
  background: #fafbfd; min-height: 72px;
}
.media-preview {
  display: block; max-width: 100%; max-height: 180px;
  border-radius: 6px; object-fit: contain; background: #111;
}
img.media-preview { background: #f0f2f5; }
.media-empty { color: var(--muted); font-size: 12px; padding: 18px 8px; text-align: center; }
.home-video-list { display: flex; flex-direction: column; gap: 8px; }
.home-video-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff;
}
.home-video-item .label { flex: 1; font-size: 13px; color: var(--ink); }
.home-video-item .actions { display: flex; gap: 6px; }
.home-video-item.muted-item { color: var(--muted); background: #fafcfb; }
.home-video-hint { margin: 8px 0 2px; color: var(--muted); font-size: 12px; }
.home-video-item button {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 6px; padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.home-video-item button:disabled { opacity: .35; cursor: not-allowed; }
.home-video-add {
  align-self: flex-start;
  border: 1px dashed var(--line); background: #fafbfd;
  color: var(--ink); border-radius: 8px; padding: 8px 12px;
  font-size: 12px; cursor: pointer;
}
.home-video-empty { color: var(--muted); font-size: 12px; }
.preview-modal { width: min(680px, calc(100% - 32px)); }
.preview-body { margin-top: 16px; display: grid; gap: 14px; }
.preview-q {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px; background: #fafbfd;
}
.preview-q h4 { margin: 0 0 8px; font-size: 14px; }
.preview-q .muted { font-size: 12px; margin-bottom: 8px; }
.preview-opt {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 0; color: #3d4452; font-size: 13px;
}
.preview-opt i {
  width: 14px; height: 14px; border: 1.5px solid #9aa1b0; border-radius: 50%;
  display: inline-block;
}
.preview-opt i.square { border-radius: 3px; }
.preview-text {
  width: 100%; min-height: 64px; border: 1px solid #dfe2e7; border-radius: 6px;
  background: #fff; padding: 10px; color: #9aa1b0; font-size: 13px;
}

/* Login */
.login-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(132, 194, 109, .30), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(194, 153, 91, .24), transparent 36%),
    linear-gradient(135deg, #121a24 0%, #1b2530 48%, #17251e 100%);
}
.login-gate.hidden { display: none !important; }
.login-grid {
  position: absolute;
  inset: -30%;
  opacity: .11;
  transform: perspective(700px) rotateX(58deg) translateY(18%);
  background-image: linear-gradient(rgba(255,255,255,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.32) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: loginGrid 18s linear infinite;
}
.login-orb { position: absolute; border-radius: 50%; filter: blur(3px); opacity: .5; animation: loginFloat 8s ease-in-out infinite; }
.login-orb-one { width: 330px; height: 330px; left: -110px; top: -90px; background: radial-gradient(circle at 35% 35%, #b8dd87, #39704d 72%); }
.login-orb-two { width: 250px; height: 250px; right: -80px; bottom: -60px; background: radial-gradient(circle at 35% 35%, #e0c391, #7d633c 72%); animation-delay: -3s; }
.login-scene {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
}
.login-intro { animation: loginEnter .65s ease both; }
.login-kicker { font-size: 12px; font-weight: 700; letter-spacing: 3px; color: #b8d890; }
.login-intro h1 { margin: 18px 0; color: #fff; font-size: clamp(42px, 5vw, 68px); line-height: 1.08; letter-spacing: -2px; }
.login-intro p { max-width: 460px; margin: 0; color: rgba(255,255,255,.66); line-height: 1.8; font-size: 15px; }
.login-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.login-features span { padding: 8px 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.82); font-size: 12px; }
.login-card {
  width: 100%;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  padding: 34px 32px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  backdrop-filter: blur(18px);
  animation: loginEnter .7s .08s ease both;
}
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.login-logo { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, #8EC0FF, #4F8FEA); font-size: 20px; font-weight: 800; box-shadow: 0 10px 24px rgba(107,168,255,.22); }
.login-brand strong { display: block; font-size: 16px; }
.login-brand span { display: block; margin-top: 3px; color: #969ca5; letter-spacing: 1.2px; font-size: 9px; }
.login-card h2 { margin: 0; text-align: left; font-size: 25px; }
.login-subtitle { margin: 7px 0 24px; color: var(--muted); font-size: 13px; }
.login-card label { display: grid; gap: 7px; margin-bottom: 15px; color: #5e6470; font-size: 12px; }
.login-card input { height: 46px; padding: 0 14px; border: 1px solid #e0e4e8; border-radius: 11px; color: var(--ink); background: #f9fafb; transition: .2s; }
.login-card input:focus { border-color: #6BA8FF; background: #fff; box-shadow: 0 0 0 4px rgba(107,168,255,.12); }
.login-submit { width: 100%; height: 48px; margin-top: 5px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #7EB4FF, #6BA8FF); cursor: pointer; box-shadow: 0 12px 22px rgba(107,168,255,.22); transition: transform .2s, box-shadow .2s; }
.login-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(107,168,255,.28); }
.login-submit i { font-style: normal; font-size: 18px; }
.login-error { min-height: 18px; margin: 10px 0 0; color: var(--danger); text-align: center; font-size: 12px; }
.login-safe { display: flex; justify-content: center; align-items: center; gap: 7px; margin-top: 12px; color: #979da6; font-size: 11px; }
.login-safe i { width: 7px; height: 7px; border-radius: 50%; background: #6BA8FF; box-shadow: 0 0 0 4px rgba(107,168,255,.12); }
@keyframes loginEnter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes loginFloat { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(18px,14px,0) scale(1.08); } }
@keyframes loginGrid { from { background-position: 0 0, 0 0; } to { background-position: 48px 48px, 48px 48px; } }
@media (max-width: 760px) {
  .login-gate { padding: 18px; }
  .login-scene { grid-template-columns: 1fr; gap: 22px; }
  .login-intro { text-align: center; }
  .login-intro h1 { margin: 10px 0; font-size: 34px; }
  .login-intro p, .login-features { display: none; }
  .login-card { padding: 26px 22px 22px; }
}
/* -------- 问卷分类（精简） -------- */
.cat-summary {
  min-width: 88px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #EAF3FF;
  color: #4F8FEA;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.cat-quick-add {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.cat-quick-add input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
}
.cat-table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.cat-table-head,
.cat-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.4fr) 80px 100px 168px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
}
.cat-table-head {
  background: #f7f8fb;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.cat-list { display: grid; }
.cat-row {
  border-bottom: 1px solid #eef0f4;
  background: #fff;
}
.cat-row:last-child { border-bottom: 0; }
.cat-row:hover { background: #fafbff; }
.cat-row.is-off { opacity: .62; }
.cat-order {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: #EAF3FF;
  color: #4F8FEA;
  font-weight: 700;
  font-size: 13px;
}
.cat-name-input {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
}
.cat-name-input:hover,
.cat-name-input:focus {
  border-color: #b7d4f5;
  background: #fff;
  outline: none;
}
.cat-count {
  color: #5b6270;
  font-size: 13px;
}
.cat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #5b6270;
  cursor: pointer;
  user-select: none;
}
.cat-toggle input { accent-color: var(--brand); }
.cat-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.cat-ops .button { padding: 6px 10px; font-size: 12px; }
.cat-tip { margin: 12px 0 0; font-size: 12px; line-height: 1.55; }
.cat-empty {
  padding: 36px 16px;
  text-align: center;
  color: var(--muted);
}
@media (max-width: 800px) {
  .cat-table-head { display: none; }
  .cat-row {
    grid-template-columns: 44px 1fr;
    grid-template-areas:
      "order name"
      "order count"
      "toggle toggle"
      "ops ops";
  }
  .cat-row > :nth-child(1) { grid-area: order; }
  .cat-row > :nth-child(2) { grid-area: name; }
  .cat-row > :nth-child(3) { grid-area: count; }
  .cat-row > :nth-child(4) { grid-area: toggle; }
  .cat-row > :nth-child(5) { grid-area: ops; justify-content: flex-start; }
}
body.need-login .shell { filter: blur(2px); pointer-events: none; user-select: none; }

/* -------- 关于页模块配置 -------- */
.about-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  align-items: start;
}
.about-config-main { min-width: 0; }
.about-module-side {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 12px;
}
.about-module-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafbff;
}
.about-module-card h3 { margin: 0 0 6px; font-size: 14px; }
.size-tip {
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f3f8f5;
  border: 1px dashed #b7d4c4;
  color: #3d5c4b;
  font-size: 12px;
  line-height: 1.55;
}
.size-tip strong { color: #1f6b4a; }
.size-tip code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(31, 107, 74, .08);
  padding: 1px 5px;
  border-radius: 4px;
}
.chip-size {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef7f2;
  color: #2f6b4f;
  font-size: 11px;
  font-weight: 700;
}
.media-box-avatar {
  max-width: 120px;
  border-radius: 16px;
  overflow: hidden;
}
.media-box-avatar img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.about-module-card.tip ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.module-list { display: grid; gap: 8px; margin-top: 10px; }
.module-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.module-row.is-off { opacity: .55; }
.module-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.module-ops { display: flex; gap: 4px; }
@media (max-width: 1100px) {
  .about-config-grid { grid-template-columns: 1fr; }
  .about-module-side { position: static; }
}

.answer-list { display: grid; gap: 12px; max-height: 48vh; overflow: auto; padding-right: 4px; }
.answer-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: #fafbfd;
}
.answer-q { margin-bottom: 6px; line-height: 1.45; }
.answer-opts { margin: 6px 0; }
.opt-line { font-size: 13px; color: #555c6a; margin: 3px 0; }
.opt-line.selected { color: var(--brand); font-weight: 600; }
.answer-text {
  padding: 8px 10px;
  background: #fff;
  border: 1px dashed #d7dbe3;
  border-radius: 8px;
  white-space: pre-wrap;
  line-height: 1.55;
}
.dim-list { margin: 0; padding-left: 18px; line-height: 1.7; }
.report-body {
  max-height: none;
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 13px;
}

@media (max-width: 1280px) {
  .builder-layout-3 { grid-template-columns: 280px minmax(0, 1fr) 280px; }
}
@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card.wide { grid-column: span 2; }
  .dash-panels { grid-template-columns: 1fr; }
  .dash-panels .panel:first-child { grid-column: auto; }
  .form-grid, .mini-grid, .q-row { grid-template-columns: 1fr; }
  .builder-layout,
  .builder-layout-3 { grid-template-columns: 1fr; }
  .builder-preview-pane {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .phone-frame { width: min(100%, 320px); }
  .survey-card-grid { grid-template-columns: 1fr; }
  .drawer-content .report-layout { grid-template-columns: 1fr; }
  .drawer-body { padding: 16px; }
  .drawer-topbar { padding: 12px 14px; gap: 10px; }
  .drawer-topbar-text h2 { font-size: 17px; }
}
@media (max-width: 900px) {
  .sidebar { width: 72px; padding: 20px 10px; }
  .brand div:not(.brand-mark), .sidebar-footer { display: none; }
  .nav-item { font-size: 0; height: 42px; padding: 0; }
  .nav-item::before {
    content: '•'; font-size: 18px; display: block; text-align: center; color: inherit;
  }
  .main { width: calc(100% - 72px); margin-left: 72px; padding: 24px 16px; }
  .option-row { grid-template-columns: 1fr 70px 32px; }
}


/* -------- 主页/关于 可视化编辑（左编辑右预览） -------- */
.editor-live-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.editor-live-main { min-width: 0; }
.editor-live-preview {
  position: sticky;
  top: 12px;
}
.live-phone {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border: 10px solid #4F8FEA;
  border-radius: 28px;
  background: #4F8FEA;
  box-shadow: 0 18px 40px rgba(26,58,102,.16);
  overflow: hidden;
}
.live-phone-notch {
  width: 96px; height: 8px; margin: 8px auto 6px;
  border-radius: 999px; background: #2a5a8c;
}
.live-phone-screen {
  min-height: 560px; max-height: calc(100vh - 180px);
  overflow: auto; border-radius: 18px;
  background: linear-gradient(180deg, #e9f6f0 0%, #f5f8f6 120px, #f5f8f6 100%);
  padding: 12px;
}
.live-phone-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; color: #4F8FEA;
}
.live-phone-head strong { font-size: 13px; }
.live-phone-head span { font-size: 11px; color: #7A8BA3; }
.live-block {
  background: #fff; border-radius: 14px; padding: 12px;
  margin-bottom: 10px; box-shadow: 0 6px 16px rgba(26,58,102,.05);
}
.live-hero {
  color: #fff;
  background: linear-gradient(145deg, #4F8FEA, #6BA8FF 55%, #8EC0FF);
}
.live-hero .t { font-size: 15px; font-weight: 800; margin: 0 0 4px; }
.live-hero .s { font-size: 11px; opacity: .9; margin: 0 0 8px; }
.live-hero .d { font-size: 11px; line-height: 1.5; opacity: .92; margin: 0; }
.live-gallery {
  height: 120px; border-radius: 12px; overflow: hidden;
  background: #dfece5 center/cover no-repeat;
}
.live-row { display:flex; gap:8px; margin-bottom:8px; }
.live-chip {
  flex:1; text-align:center; padding:8px 4px; border-radius:10px;
  background:#f2f7ff; color:#4F8FEA; font-size:11px; font-weight:700;
}
.live-muted { color:#6b7c74; font-size:11px; line-height:1.5; }
.live-svc { font-size:12px; font-weight:700; color:#4F8FEA; margin:0 0 4px; }
.live-li { font-size:11px; color:#7A8BA3; margin:2px 0; }
.module-row {
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  padding:10px 10px; border:1px solid var(--line); border-radius:10px;
  background:#fff; margin-bottom:8px; cursor:grab;
}
.module-row.is-off { opacity:.55; background:#f7faff; }
.module-row.dragging { opacity:.4; }
.module-switch { display:flex; align-items:center; gap:8px; font-size:13px; cursor:pointer; }
.module-ops { display:flex; gap:4px; }
.staff-perm-grid {
  display:grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap:8px; margin-top:8px;
}
.staff-perm-grid label {
  display:flex; align-items:center; gap:6px;
  padding:8px 10px; border:1px solid var(--line); border-radius:8px;
  background:#f8faff; font-size:12px; cursor:pointer;
}
.role-pill {
  display:inline-flex; padding:2px 8px; border-radius:999px;
  background:#EAF3FF; color:#4F8FEA; font-size:12px; font-weight:600;
}
.role-pill.owner { background:#e7f0ff; color:#2f5f9e; }
@media (max-width: 1100px) {
  .editor-live-grid, .about-config-grid { grid-template-columns: 1fr; }
  .editor-live-preview, .about-module-side { position: static; }
}
