:root {
  --bg: #f5f6f8;
  --panel: #fff;
  --line: #e6edf7;
  --text: #0f172a;
  --muted: #64748b;
  --brand: #2563eb;
  --brand-2: #1d4ed8;
  --green: #16a34a;
  --danger: #dc2626;
  --shadow: 0 8px 28px rgba(37, 99, 235, 0.08);
  --radius: 14px;
  /* v50 美团风：无边框小图标+小字 */
  --mt: #ff6a00;
  --mt-gold: #ffc300;
  --mt-soft: #fff8e6;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, #dbeafe 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #ecfdf5 0%, transparent 50%),
    var(--bg);
}
button, input, select, textarea { font: inherit; }
body.ims-readonly .btn-primary,
body.ims-readonly .btn-danger { opacity: 0.45; cursor: not-allowed; }
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side {
  background: linear-gradient(180deg, #f8fbff, #f8fafc);
  border-right: 1px solid var(--line);
  padding: 16px 12px 24px;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.brand { display: flex; gap: 10px; align-items: center; padding: 8px 10px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; position: relative; }
.side-close, .menu-btn, .side-mask { display: none; }
.side-close {
  margin-left: auto; width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: #e2e8f0; font-size: 22px; cursor: pointer; line-height: 1;
}
.menu-btn {
  height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #bfdbfe;
  background: #fff; color: var(--brand-2); font-weight: 700; cursor: pointer;
}
.guide-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.guide-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.guide-list li button {
  width: 100%; text-align: left; display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid var(--line); background: #f8fafc; border-radius: 10px; padding: 10px 12px; cursor: pointer;
}
.guide-list li.done button { background: #ecfdf5; border-color: #a7f3d0; }
.guide-list .mark { font-weight: 800; color: var(--brand-2); min-width: 1.2em; }
.guide-list li.done .mark { color: var(--green); }
.compliance-tip { font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.compliance-tip.ok { color: var(--green); font-weight: 600; }
.compliance-tip.bad { color: var(--danger); font-weight: 700; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  color: #fff; font-weight: 800; background: linear-gradient(135deg, #3b82f6, #22c55e);
}
.brand h1 { margin: 0; font-size: 15px; }
.brand p { margin: 2px 0 0; font-size: 11px; color: var(--muted); }
.nav-group {
  margin: 14px 0 6px; padding: 0 10px;
  font-size: 11px; font-weight: 800; color: #64748b; letter-spacing: 0.02em;
}
/* v54：侧栏分组默认收起，点击展开（美团风无边框小字） */
.nav-fold { margin: 4px 0; }
.nav-fold-btn {
  width: 100%; display: flex; align-items: center; gap: 6px;
  border: none; background: transparent; box-shadow: none;
  padding: 8px 10px; cursor: pointer; border-radius: 8px;
  color: #475569; font-size: 12px; font-weight: 800; text-align: left;
}
.nav-fold-btn:hover { background: #fff4e8; color: var(--mt); }
.nav-fold.is-open > .nav-fold-btn { color: #9a3412; background: #fff8e6; }
.nav-fold-ico {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; flex: 0 0 16px;
  font-size: 12px; font-weight: 800; line-height: 1;
  color: #fff; background: linear-gradient(180deg, var(--mt-gold), var(--mt));
  border-radius: 4px;
}
.nav-fold-title { flex: 1; min-width: 0; }
.nav-fold-body { padding: 2px 0 6px 4px; }
.nav-fold-body[hidden] { display: none !important; }
.nav-item {
  width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer;
  padding: 8px 12px; border-radius: 10px; color: #334155;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
}
.nav-item:hover { background: #fff4e8; color: var(--mt); }
.nav-item.active { background: #ffe8cc; color: #9a3412; font-weight: 700; }
.asset-switch,
.drive-box {
  margin: 0 10px 8px; padding: 8px 10px 10px;
  display: grid; gap: 8px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 1px 6px rgba(15,23,42,.05);
}
.drive-box { padding: 8px 10px; }
.asset-field { display: grid; gap: 2px; min-width: 0; }
.asset-field > span {
  font-size: 12px; color: #0f172a; font-weight: 800; letter-spacing: 0.02em;
  line-height: 1.2;
}
.asset-field--id > span { font-size: 12px; color: #64748b; font-weight: 700; }
.asset-field--id input { height: 28px; font-size: 12px; color: #64748b; }
.asset-switch input,
.asset-switch select,
.drive-box select {
  width: 100%; height: 34px; border: none; border-bottom: 1px solid #d1d5db;
  border-radius: 0; padding: 0 28px 0 4px; background: transparent; outline: none;
  color: var(--text); font-size: 13px; box-sizing: border-box;
  margin-right: 18px; max-width: calc(100% - 18px);
}
.asset-switch select,
.drive-box select { cursor: pointer; }
.asset-switch input:focus,
.asset-switch select:focus,
.drive-box select:focus { border-bottom-color: var(--mt); }
.asset-switch .mt-chip--pri,
.mt-chip--pri {
  justify-content: center; width: 100%;
  background: #ffedd5; color: #c2410c;
  border: 1px solid #fb923c; border-radius: 8px;
  box-shadow: none; padding: 6px 8px;
}
.mt-chip--pri:hover { background: #fed7aa; color: #9a3412; }
.mt-chip--pri:active { background: #fdba74; color: #7c2d12; }
.nav-fold[hidden],
.nav-item[hidden],
.asset-field[hidden],
#storeFieldWrap[hidden] { display: none !important; }
.asset-hint {
  margin: 0; font-style: normal; font-size: 11px; line-height: 1.4;
  color: #64748b; font-weight: 600;
}
.asset-diff {
  margin: 0; padding: 6px 8px; border-radius: 8px;
  background: #fff7ed; color: #9a3412;
  font-size: 11px; line-height: 1.45; font-weight: 700;
}
/* 美团风芯片按钮：无边框、小字 */
.mt-chip {
  display: inline-flex; align-items: center; gap: 4px;
  border: none; background: transparent; box-shadow: none;
  color: var(--mt); font-size: 12px; font-weight: 700;
  padding: 4px 2px; min-height: 28px; cursor: pointer;
  text-decoration: none; border-radius: 0; white-space: nowrap;
}
.mt-chip:hover { color: #e85d04; background: var(--mt-soft); }
.mt-chip--accent { color: #9a3412; }
.mt-chip .mt-ico {
  display: inline-grid; place-items: center;
  width: 16px; height: 16px; font-size: 10px; font-weight: 800;
  color: #fff; background: linear-gradient(180deg, var(--mt-gold), var(--mt));
  border-radius: 4px; line-height: 1;
}
.mt-actions .mt-chip { margin-right: 2px; }
.asset-switch .mt-chip { justify-content: center; width: 100%; }
.row .mt-chip { min-height: 38px; padding: 0 8px; }
.tag { font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: #dcfce7; color: #15803d; }
.honesty-bar {
  margin-bottom: 12px; padding: 10px 14px; border-radius: 12px;
  background: linear-gradient(90deg, #eff6ff, #ecfdf5);
  border: 1px solid #bfdbfe; color: #1e3a8a; font-size: 13px; line-height: 1.5; font-weight: 600;
}
.pub-honest {
  background: linear-gradient(180deg, #fffbeb, #fff);
  border: 1px solid #fde68a;
  color: #78350f;
  font-size: 13px;
  line-height: 1.6;
}
.pub-steps { margin: 0; padding-left: 20px; }
.pub-steps li { margin: 4px 0; }
.feed-plat-list { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.feed-plat-list .mt-chip.is-now { color: #9a3412; background: var(--mt-soft); }
.feed-plat-list .mt-chip.is-done { color: #15803d; }
.feed-now {
  margin: 0 0 10px; padding: 12px 14px; border-radius: 12px;
  background: #fff7ed; box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
  color: #9a3412;
}
.feed-now .now-who { font-size: 20px; font-weight: 800; line-height: 1.3; margin: 0 0 6px; }
.feed-now .now-do { font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.feed-now .now-dont { margin: 0; font-size: 13px; color: #7c2d12; }
.feed-ask-preview { min-height: 88px; margin-right: 22px; }
.geo-outbox-draft, #geoOutboxDraft { min-height: 120px; margin-right: 22px; }
#page-publish input, #page-publish textarea, #page-publish select { margin-right: 22px; max-width: calc(100% - 22px); }
.main input, .main textarea, .main select { margin-right: 22px; max-width: calc(100% - 22px); box-sizing: border-box; }
.open-pages {
  display: flex; flex-wrap: wrap; gap: 8px 12px;
  margin: 0 22px 0 0;
}
.open-pages .mt-chip {
  white-space: normal; max-width: 100%;
  background: #fff; color: #9a3412;
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.06);
  border-radius: 8px; padding: 6px 10px;
}
.open-pages .mt-chip--pri {
  width: auto; background: #ffedd5; border: 1px solid #fb923c;
}
.open-pages .mt-chip:active { background: #fdba74; color: #7c2d12; }
.query-kpi { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .query-kpi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.query-kpi .kpi .value { font-size: 22px; }
.feed-yes { color: #15803d; font-weight: 800; }
.feed-wait { color: #c2410c; font-weight: 800; }
.feed-na { color: #64748b; font-weight: 700; }
.today-card { background: linear-gradient(180deg, #fff, #f8fbff); }
.today-actions { display: grid; gap: 8px; margin-top: 4px; }
.today-actions button {
  width: 100%; text-align: left; border: 1px solid var(--line); background: #fff;
  border-radius: 12px; padding: 12px 14px; cursor: pointer;
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
}
.today-actions button:hover { border-color: #93c5fd; background: #eff6ff; }
.today-actions .t-title { font-weight: 700; font-size: 14px; }
.today-actions .t-hint { color: var(--muted); font-size: 12px; margin-top: 2px; }
.today-actions .t-go { color: var(--brand-2); font-weight: 800; white-space: nowrap; }
.empty-hint {
  padding: 28px 16px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6;
  background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px;
}
.main { min-width: 0; position: relative; }
.ims-paywall {
  display: none;
}
.ims-paywall[hidden] { display: none !important; }
.ims-paywall--modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  margin: 0;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(15, 23, 42, 0.28);
}
.ims-login-toast {
  position: fixed;
  top: calc(12px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(520px, calc(100vw - 24px));
}
.ims-login-toast[hidden] { display: none !important; }
.ims-login-toast-card {
  background: #fff7ed;
  border: 2px solid #fb923c;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  padding: 16px 16px 14px;
  color: #9a3412;
}
.ims-login-toast-card strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #9a3412;
  margin: 0 0 6px;
}
.ims-login-toast-card p {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #7c2d12;
}
.ims-login-toast-actions {
  display: flex;
  gap: 8px;
}
.ims-login-toast-go,
.ims-login-toast-hide {
  flex: 1;
  min-height: 44px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  box-sizing: border-box;
}
.ims-login-toast-go {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ff6a00;
  color: #fff;
  text-decoration: none;
}
.ims-login-toast-hide {
  background: #fff;
  border: 1px solid #fdba74;
  color: #9a3412;
  cursor: pointer;
}
.ims-paywall-card {
  width: min(420px, 100%);
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
  padding: 22px 20px 18px;
  text-align: center;
}
.ims-paywall-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
}
.ims-paywall-tip {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  color: #64748b;
}
.ims-pay-packs {
  display: grid;
  gap: 10px;
}
.ims-pay-btn.mt-chip {
  width: 100%;
  min-height: 52px;
  justify-content: flex-start;
  gap: 10px;
  padding: 10px 12px;
  text-decoration: none;
  box-sizing: border-box;
}
.ims-pay-btn .pay-lab {
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1.25;
}
.ims-pay-btn .pay-lab strong {
  font-size: 15px;
  font-weight: 800;
}
.ims-pay-btn .pay-lab small {
  font-size: 12px;
  font-weight: 600;
  color: #9a3412;
  opacity: 0.85;
}
.ims-pay-qr { margin: 8px 0 0; }
.ims-pay-qr img { width: 220px; height: 220px; object-fit: contain; background: #fff; border-radius: 12px; box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06); }
.ims-pay-qr p { margin: 8px 0 0; font-size: 13px; color: #64748b; }
.ims-pay-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.ims-pay-qr-modal[hidden] { display: none !important; }
.ims-pay-qr-mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.32);
  cursor: pointer;
}
.ims-pay-qr-sheet {
  position: relative;
  z-index: 1;
  width: min(400px, 100%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
  padding: 22px 20px 18px;
  text-align: center;
}
.ims-pay-qr-sheet h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}
#imsPayQrAmt { margin: 8px 0 0; font-size: 15px; font-weight: 800; color: #c2410c; }
#btnPayQrClose { width: 100%; margin-top: 12px; justify-content: center; }
#btnOpenMember {
  width: auto;
  min-height: 30px;
  padding: 4px 10px;
}
#btnPaywallClose { margin-top: 12px; color: #64748b; }
body.ims-guest-view .content { pointer-events: auto; opacity: 1; }
.mt-chip.is-member-lock,
.mt-chip[aria-disabled="true"] {
  color: #94a3b8 !important;
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  cursor: not-allowed !important;
  box-shadow: none;
}
.mt-chip.is-member-lock .mt-ico,
.mt-chip[aria-disabled="true"] .mt-ico {
  background: #cbd5e1;
  color: #64748b;
}
.mt-chip--pri.is-member-lock,
.mt-chip--accent.is-member-lock,
.mt-chip--feed-start.is-member-lock {
  background: #f1f5f9 !important;
  color: #94a3b8 !important;
  border: 1px solid #cbd5e1 !important;
}
.top {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center;
  padding: 12px 20px; background: rgba(255,255,255,.86); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.notice {
  flex: 1 1 420px; font-size: 12px; line-height: 1.45; color: #92400e;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 8px 12px;
}
.expire-banner, .job-banner {
  width: 100%; margin-top: 8px; border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600;
}
.expire-banner.warn { background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; }
.expire-banner.danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.job-banner { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.job-banner.done { background: #ecfdf5; border-color: #a7f3d0; color: #166534; }
.job-banner.fail { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.top { flex-wrap: wrap; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 10px; }
.pack-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #f8fbff;
  display: grid; gap: 6px;
}
.pack-card strong { font-size: 16px; }
.pack-card .days { color: var(--brand-2); font-weight: 700; font-size: 13px; }
.pack-card .blurb { color: var(--muted); font-size: 12px; line-height: 1.4; min-height: 34px; }
.top-right { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.top-right strong { color: var(--text); }
.user-chip {
  display: flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%; background: #bfdbfe; color: #1d4ed8;
  display: grid; place-items: center; font-weight: 800; font-size: 12px;
}
/* v38：顶栏「分享微信」——微信绿，一眼能点 */
.btn-wx-share {
  height: 30px; padding: 0 12px; border-radius: 999px; border: none;
  background: #07c160; color: #fff; font-weight: 800; font-size: 12px;
  cursor: pointer; white-space: nowrap; letter-spacing: 0.02em;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.btn-wx-share:hover { filter: brightness(1.05); }
.btn-wx-share:active { transform: translateY(1px); }
.btn-wx {
  background: #07c160 !important; color: #fff !important; border-color: #06ad56 !important;
}
.btn-wx:hover { filter: brightness(1.05); }
.wx-share-card { max-width: 440px; }
.wx-share-preview {
  margin: 10px 0; padding: 14px; border-radius: 14px; background: #f0fdf4;
  border: 1px solid #bbf7d0; text-align: center; min-height: 120px;
}
.wx-share-preview img {
  max-width: min(320px, 100%); height: auto; border-radius: 10px;
  border: 1px solid #e2e8f0; background: #fff;
}
.wx-share-url {
  margin: 8px 0 0; padding: 10px 12px; border-radius: 10px;
  background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af;
  font-size: 12px; word-break: break-all; line-height: 1.45;
}
.wx-link-card-preview {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  background: #f8fafc; border: 1px solid #e2e8f0;
}
.wx-link-card-title { margin: 0; font-weight: 800; font-size: 14px; color: #0f172a; }
.wx-link-card-desc { margin: 4px 0 0; font-size: 12px; color: #64748b; line-height: 1.4; }
.wx-link-card-preview img {
  width: 56px; height: 56px; border-radius: 8px; object-fit: cover;
  border: 1px solid #e2e8f0; flex: 0 0 auto; background: #fff;
}
/* 对齐账神 WechatMenuShareTip：微信内引导右上角 */
.wx-menu-share-tip {
  position: fixed; inset: 0; z-index: 120; pointer-events: none;
}
.wx-menu-share-tip[hidden] { display: none !important; }
.wx-menu-share-tip__mask {
  position: absolute; inset: 0; border: 0; background: rgba(15, 23, 42, 0.55);
  pointer-events: auto; cursor: pointer;
}
.wx-menu-share-tip__arrow {
  position: absolute; top: 8px; right: 18px; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
  color: #fde68a; font-weight: 800;
}
.wx-menu-share-tip__arrow-line {
  width: 2px; height: 42px; background: linear-gradient(#fde68a, transparent);
  margin-right: 10px;
}
.wx-menu-share-tip__arrow-text { font-size: 15px; text-shadow: 0 1px 2px #000; }
.wx-menu-share-tip__panel {
  position: absolute; left: 50%; bottom: max(24px, env(safe-area-inset-bottom));
  transform: translateX(-50%); width: min(380px, calc(100vw - 24px));
  background: #fff; border-radius: 16px; padding: 16px 16px 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  pointer-events: auto; z-index: 3;
}
.wx-menu-share-tip__ok { margin: 0 0 6px; color: #16a34a; font-weight: 800; font-size: 13px; }
.wx-menu-share-tip__title { margin: 0 0 6px; font-size: 18px; line-height: 1.35; color: #0f172a; }
.wx-menu-share-tip__sub { margin: 0 0 12px; font-size: 13px; color: #64748b; line-height: 1.45; }
.wx-menu-share-tip__card {
  display: flex; gap: 10px; align-items: center; justify-content: space-between;
  padding: 10px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0;
}
.wx-menu-share-tip__card-title { margin: 0; font-weight: 800; font-size: 14px; }
.wx-menu-share-tip__card-desc { margin: 4px 0 0; font-size: 12px; color: #64748b; }
.wx-menu-share-tip__card-thumb {
  width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 1px solid #e2e8f0;
}
.content { padding: 18px 20px 40px; }
.page { display: none; }
.page.active { display: block; }
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.cal-day {
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.cal-day:hover { border-color: #93c5fd; background: #eff6ff; }
.cal-day.is-today { border-color: #3b82f6; background: #dbeafe; }
.cal-day-head { display: flex; justify-content: space-between; gap: 4px; font-size: 12px; margin-bottom: 6px; }
.cal-day-head strong { font-size: 13px; }
.cal-item {
  display: block;
  font-size: 11px;
  line-height: 1.35;
  padding: 4px 6px;
  border-radius: 6px;
  margin-bottom: 4px;
  background: #fff;
  border-left: 3px solid #94a3b8;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cal-item.done { border-left-color: #22c55e; }
.cal-item.scheduled { border-left-color: #f59e0b; }
.cal-item.pending { border-left-color: #3b82f6; }
.cal-item.failed { border-left-color: #ef4444; }
.cal-empty { color: var(--muted); font-size: 11px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 14px; align-items: flex-end; }
.page-head h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.kpi, .card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: var(--shadow);
}
.kpi { background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.kpi .label { color: #475569; font-size: 13px; font-weight: 600; }
.kpi .value { margin-top: 6px; font-size: 30px; font-weight: 800; color: #0f172a; }
.kpi .hint { margin-top: 4px; font-size: 12px; color: var(--green); font-weight: 600; }
.charts { display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 12px; margin-bottom: 14px; }
.card h3 { margin: 0 0 12px; font-size: 15px; }
.chart-wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 12px; color: #475569; }
.legend li { display: flex; gap: 8px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.bars { display: grid; grid-template-columns: repeat(8, minmax(0,1fr)); gap: 8px; align-items: end; height: 180px; }
.bar-col { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.bar {
  width: 100%; max-width: 36px; border-radius: 8px 8px 4px 4px; position: relative; cursor: pointer;
  background: linear-gradient(180deg, var(--c), color-mix(in srgb, var(--c) 80%, #0000));
}
.bar .tip {
  display: none; position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  background: #0f172a; color: #fff; font-size: 11px; padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}
.bar:hover .tip { display: block; }
.bar-name { font-size: 11px; color: var(--muted); text-align: center; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px;
  font-size: 12px; cursor: pointer; color: #334155;
}
.chip.active { border-color: #93c5fd; background: #eff6ff; color: var(--brand-2); font-weight: 700; }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.row input, .row select, .row textarea, .field input, .field select, .field textarea {
  border: 1px solid #cbd5e1; border-radius: 10px; padding: 8px 12px; background: #f8fafc; min-width: 0;
  margin-right: 22px;
}
.row input, .row select { height: 38px; }
.row input[type="search"], .grow { flex: 1 1 220px; }
.geo-edit .guide-head { align-items: center; gap: 10px; }
.geo-edit .mt-chip--pri { width: auto; min-width: 108px; }
.geo-edit-actions { gap: 8px; flex-wrap: wrap; align-items: center; }
.geo-edit-actions .mt-chip { max-width: 100%; }
.geo-bank {
  margin: 12px 0 0;
  padding: 12px 12px 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}
.geo-bank h3 { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: #9a3412; }
.geo-grade {
  display: inline-block; margin-left: 6px; padding: 1px 6px;
  font-size: 11px; font-weight: 800; color: #9a3412;
  background: #ffedd5; border-radius: 6px;
}
.geo-grade--b { color: #1d4ed8; background: #dbeafe; }
.geo-grade--c { color: #b45309; background: #fef3c7; }
.geo-grade--d { color: #475569; background: #e2e8f0; }
.geo-bank .bank-hint { margin: 0 0 10px; font-size: 12px; line-height: 1.45; color: #64748b; font-weight: 600; }
.geo-bank input,
.geo-bank textarea { margin-right: 22px; max-width: calc(100% - 22px); }
.geo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 8px;
}
.geo-grid .field input { margin-right: 22px; }
.geo-query-panel {
  margin: 0 22px 12px 0;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}
.geo-query-hint {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.45;
  color: #9a3412;
  font-weight: 700;
}
.geo-query-list {
  max-height: 280px;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding-right: 4px;
}
.geo-query-card {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.geo-query-card__body { min-width: 0; flex: 1 1 200px; }
.geo-query-card__body strong { display: block; font-size: 14px; color: #9a3412; }
.geo-query-card__body p { margin: 2px 0 0; font-size: 12px; color: #7c2d12; }
.geo-query-card__ops { display: flex; flex-wrap: wrap; gap: 4px; }
.geo-query-card .mt-chip--pri {
  background: #ffedd5;
  border: 1px solid #fb923c;
}
.geo-query-card .mt-chip--pri:active { background: #fdba74; color: #7c2d12; }
.mt-chip--feed-start {
  min-height: 76px;
  padding: 10px 20px;
  font-size: 24px;
  font-weight: 800;
  background: #ffedd5;
  color: #c2410c;
  border: 1px solid #fb923c;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}
.mt-chip--feed-start .mt-ico {
  width: 32px;
  height: 32px;
  font-size: 16px;
  border-radius: 8px;
}
.mt-chip--feed-start:hover { background: #fed7aa; color: #9a3412; }
.mt-chip--feed-start:active { background: #fdba74; color: #7c2d12; }
.feed-start-row { align-items: center; flex-wrap: wrap; gap: 8px; }
.wm-row { flex-wrap: wrap; gap: 8px; }
#geoTestAsks { min-height: 72px; margin-right: 22px; max-width: calc(100% - 22px); }
.index-lamp {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}
.index-lamp-title { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: #9a3412; }
.index-lamp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.index-lamp .lamp {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
}
.index-lamp .lamp.is-ok { background: #ffedd5; color: #c2410c; }
.index-lamp .lamp.is-wait { background: #f1f5f9; color: #64748b; }
@media (max-width: 720px) {
  .geo-grid { grid-template-columns: 1fr; }
  .mt-chip--feed-start { font-size: 20px; min-height: 64px; }
}
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.field span { font-size: 12px; font-weight: 700; color: #334155; }
.field textarea { min-height: 110px; resize: vertical; }
#pubFeedText { min-height: 360px; font-size: 12px; line-height: 1.45; }
.btn {
  height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; font-weight: 700;
}
.btn-primary { background: linear-gradient(180deg, #3b82f6, #2563eb); color: #fff; }
.btn-ghost { background: #fff; border-color: #bfdbfe; color: var(--brand-2); }
.btn-danger { background: #fff; border-color: #fecaca; color: var(--danger); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 12px; }
.ok { color: var(--green); font-weight: 700; }
.no { color: #94a3b8; }
.toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 99;
  background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2); max-width: min(92vw, 480px);
}
.toast.warn { background: #b45309; }
.toast.err { background: #b91c1c; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.muted { color: var(--muted); font-size: 12px; }
.pre {
  white-space: pre-wrap; background: #f8fafc; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; line-height: 1.55; font-size: 13px;
}
.modal {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
}
.modal[hidden] { display: none !important; }
.modal-card {
  width: min(640px, 100%);
  max-height: min(86vh, 820px);
  overflow: auto;
  background: var(--card, #fff);
  border-radius: 14px;
  padding: 16px 18px 18px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
}
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.report-pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, "Cascadia Mono", "Sarasa Mono SC", Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  background: #f8fafc;
  border: 1px solid var(--line, #e2e8f0);
  border-radius: 10px;
  padding: 12px 14px;
  color: #0f172a;
}
@media print {
  body > *:not(#reportModal) { display: none !important; }
  #reportModal { position: static; background: none; padding: 0; display: block !important; }
  #reportModal .modal-card { box-shadow: none; max-height: none; width: 100%; }
  #reportModal .row, #reportModal .modal-head button, #reportModal > .modal-card > p { display: none !important; }
}
/* v31：店务任务 */
.retro-score-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #f8fafc 55%);
}
.retro-mod-list, .retro-list { display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.retro-mod, .retro-item {
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.retro-mod { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.retro-mod b { font-size: 18px; color: #4c1d95; }
.retro-item.danger { border-color: #fca5a5; background: #fef2f2; }
.retro-item.warn { border-color: #fdba74; background: #fff7ed; }

.fb-score-card {
  background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 55%);
}
.fb-list { display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.fb-item {
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.fb-item.danger { border-color: #fca5a5; background: #fef2f2; }
.fb-item.warn { border-color: #fdba74; background: #fff7ed; }
.fb-item.done { opacity: 0.75; background: #f8fafc; }

.recv-score-card {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 55%);
}
.recv-script-list, .recv-faq-list, .recv-log-list { display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.recv-script-item, .recv-faq-item, .recv-log-item {
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.recv-script-item.ok, .recv-log-item.ok { border-color: #86efac; background: #f0fdf4; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }

.shift-score-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #f8fafc 55%);
}
.shift-check-list { display: grid; gap: 8px; margin-top: 10px; }
.shift-check-item {
  display: flex; gap: 10px; align-items: flex-start;
  border: 1px solid #d1fae5; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.shift-check-item.done { opacity: 0.72; background: #f0fdf4; }
.shift-check-item.danger { border-color: #fca5a5; background: #fef2f2; }
.shift-check-item.warn { border-color: #fdba74; background: #fff7ed; }
.shift-check-item input { margin-top: 3px; }
.shift-focus-list, .shift-log-list { display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.shift-focus-item, .shift-log-item {
  border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; background: #fff;
}
.shift-focus-item.danger { border-color: #fca5a5; background: #fef2f2; }
.shift-focus-item.warn { border-color: #fdba74; background: #fff7ed; }

.task-score-card {
  background: linear-gradient(135deg, #cffafe, #ede9fe 55%, #fff);
  border: 1px solid #67e8f9;
}
.task-list { display: grid; gap: 8px; max-height: 520px; overflow: auto; }
.task-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 13px;
}
.task-item.danger { border-color: #fca5a5; background: #fef2f2; }
.task-item.warn { border-color: #fdba74; background: #fff7ed; }
.task-item.overdue { box-shadow: inset 3px 0 0 #dc2626; }

/* v30：老客唤醒 */
.retain-score-card {
  background: linear-gradient(135deg, #fae8ff, #fef3c7 55%, #fff);
  border: 1px solid #e9d5ff;
}

/* v29：经营 ROI */
.roi-score-card {
  background: linear-gradient(135deg, #ecfccb, #e0f2fe 55%, #fff);
  border: 1px solid #bef264;
}

/* v28：智能知识库 */
.kb-score-card {
  background: linear-gradient(135deg, #dbeafe, #f0fdf4 55%, #fff);
  border: 1px solid #93c5fd;
}
.kb-list { display: grid; gap: 8px; max-height: 480px; overflow: auto; }
.kb-item {
  border: 1px solid #bfdbfe; border-radius: 12px; padding: 10px 12px; background: #f8fbff;
}
.kb-item.risk { border-color: #fca5a5; background: #fef2f2; }
.kb-q { font-weight: 800; font-size: 14px; margin-bottom: 4px; }
.kb-a { font-size: 12px; color: #475569; line-height: 1.45; white-space: pre-wrap; }

/* v27：连锁标杆 */
.chain-score-card {
  background: linear-gradient(135deg, #fce7f3, #e0e7ff 55%, #fff);
  border: 1px solid #f9a8d4;
}
#chRankTable tr.chain-me { background: #fdf2f8; font-weight: 700; }

/* v26：老板驾驶舱 */
.cockpit-score-card, .cockpit-mini {
  background: linear-gradient(135deg, #e0e7ff, #ecfeff 50%, #fff);
  border: 1px solid #a5b4fc;
}
.cp-mod-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.cp-mod {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff;
  text-align: left; cursor: pointer; min-height: 88px;
}
.cp-mod:hover { border-color: #818cf8; box-shadow: var(--shadow); }
.cp-mod-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cp-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  border: 1px solid #c7d2fe; background: #fff; cursor: pointer; font-size: 12px; font-weight: 700;
}
.cp-chip b { color: #3730a3; font-size: 14px; }
.alert-inbox { display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.alert-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 13px;
}
.alert-item.danger { border-color: #fca5a5; background: #fef2f2; }
.alert-item.warn { border-color: #fdba74; background: #fff7ed; }
.alert-item.info { border-color: #bfdbfe; background: #f8fbff; }
@media (max-width: 900px) {
  .cp-mod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v25：内容稳健台 */
.content-score-card {
  background: linear-gradient(135deg, #fef3c7, #ecfeff 55%, #fff);
  border: 1px solid #fcd34d;
}
.risk-list { display: grid; gap: 6px; max-height: 280px; overflow: auto; }
.risk-item {
  display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px;
  background: #fffbeb; border: 1px solid #fde68a; font-size: 13px;
}
.risk-item.danger { background: #fef2f2; border-color: #fca5a5; }

/* v24：转化运营台 */
.convert-score-card {
  background: linear-gradient(135deg, #ecfdf5, #eff6ff 55%, #fff);
  border: 1px solid #6ee7b7;
}
.follow-list { display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.follow-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff;
}
.follow-item.warn { border-color: #fdba74; background: #fff7ed; }
.follow-item.danger { border-color: #fca5a5; background: #fef2f2; }
.follow-item.info { border-color: #bfdbfe; background: #f8fbff; }

/* v23：经营作战室 */
.war-score-card {
  background: linear-gradient(135deg, #fff7ed, #eff6ff 55%, #fff);
  border: 1px solid #fdba74;
}
.war-missions { display: grid; gap: 8px; }
.war-mission {
  display: grid; gap: 4px; text-align: left; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff;
}
.war-mission:hover { border-color: #fdba74; box-shadow: var(--shadow); }
.war-mission strong { font-size: 14px; }
.war-mission span { font-size: 12px; color: #64748b; }
.war-mission em { font-style: normal; color: #c2410c; font-weight: 800; font-size: 12px; }
.comp-watch { display: grid; gap: 6px; }
.comp-row {
  display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px;
  background: #f8fafc; border: 1px solid #e2e8f0; font-size: 13px;
}
.comp-row strong { font-size: 13px; }

/* v22：对标验收 */
.accept-score-card {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4 50%, #fff);
  border: 1px solid #93c5fd;
}
.bm-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px;
}
.bm-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff;
  text-align: left; cursor: pointer; min-height: 110px;
}
.bm-item.done { background: #ecfdf5; border-color: #6ee7b7; }
.bm-item .bm-name { font-weight: 800; font-size: 13px; }
.bm-item .bm-score { font-size: 22px; font-weight: 900; color: #1d4ed8; margin: 4px 0; }
.bm-item.done .bm-score { color: #15803d; }
.bm-item .bm-gap, .bm-item .bm-fix { font-size: 11px; color: #64748b; line-height: 1.35; }
.ev-wall {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px;
}
.ev-card {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid #bfdbfe; border-radius: 12px; padding: 12px; background: #f8fbff;
}
.ev-card.hit { border-color: #6ee7b7; background: #ecfdf5; }
.ev-card.miss { border-color: #fecaca; background: #fff7f7; }
.ev-badge { font-size: 11px; font-weight: 800; color: #166534; }
.ev-card.miss .ev-badge { color: #991b1b; }
.ev-kw { font-weight: 800; margin: 6px 0 4px; font-size: 14px; }
.ev-meta, .ev-time { font-size: 11px; color: #64748b; }
.drop-box { margin-top: 8px; display: grid; gap: 6px; }
.drop-item {
  padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: #fff7ed; border: 1px solid #fdba74; color: #9a3412;
}
.drop-item.danger { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }

/* v21：创新工场 */
.ask-code-box {
  margin-top: 8px; padding: 14px; border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #eff6ff); border: 1px solid #fdba74;
}
.ask-code {
  font-size: 28px; font-weight: 900; letter-spacing: 0.08em; color: #c2410c;
  font-family: ui-monospace, Consolas, monospace;
}
.intent-high { color: #b91c1c; font-weight: 800; }
.intent-mid { color: #b45309; font-weight: 700; }
.intent-low { color: #64748b; }

/* v20：GEO 闭环 */
.geo-card {
  background: linear-gradient(135deg, #ecfeff 0%, #eff6ff 45%, #fff 100%);
  border: 1px solid #67e8f9;
}
.geo-steps {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 8px;
}
.geo-step {
  border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: #fff;
  cursor: pointer; text-align: left; min-height: 108px;
}
.geo-step.done { background: #ecfdf5; border-color: #6ee7b7; }
.geo-step .g-name { font-weight: 800; font-size: 14px; }
.geo-step .g-score { font-size: 20px; font-weight: 900; color: #0e7490; margin: 4px 0; }
.geo-step.done .g-score { color: #15803d; }
.geo-next { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-next button {
  border: 1px solid #a5f3fc; background: #fff; border-radius: 999px; padding: 8px 12px;
  cursor: pointer; font-weight: 700; font-size: 12px; color: #0e7490;
}
.cov-wrap { overflow: auto; max-height: 360px; }
.cov-table { font-size: 11px; min-width: 720px; }
.cov-table .hit { color: #15803d; font-weight: 800; }
.cov-table .miss { color: #94a3b8; }

/* v19：盯锁推 / 全景 / 11入口 / 诊断 */
.live-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
  color: var(--brand-2); background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 999px;
  padding: 6px 12px; cursor: pointer; user-select: none;
}
.dst-card { background: linear-gradient(135deg, #eff6ff, #f0fdf4 55%, #fff); border: 1px solid #93c5fd; }
.dst-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.dst-step {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; cursor: pointer;
  text-align: left; min-height: 120px; display: flex; flex-direction: column; gap: 6px;
}
.dst-step:hover { border-color: #93c5fd; box-shadow: var(--shadow); }
.dst-step.done { background: #ecfdf5; border-color: #6ee7b7; }
.dst-badge {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  font-weight: 900; font-size: 18px; color: #fff; background: linear-gradient(135deg, #2563eb, #0ea5e9);
}
.dst-step.done .dst-badge { background: linear-gradient(135deg, #16a34a, #22c55e); }
.dst-step strong { font-size: 15px; }
.dst-step .cta { margin-top: auto; color: var(--brand-2); font-weight: 800; font-size: 12px; }
.plat-strip {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px;
}
.plat-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid #bfdbfe; font-size: 12px; font-weight: 700; color: #1e3a8a;
}
.plat-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; }
.plat-chip.hit { background: #ecfdf5; border-color: #6ee7b7; color: #166534; }
.plat-chip.hit .dot { background: #16a34a; }
.pano-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pano-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #f8fbff;
  min-height: 160px; cursor: pointer; text-align: left;
}
.pano-card.done { background: #ecfdf5; border-color: #a7f3d0; }
.pano-card .no { font-size: 11px; font-weight: 800; color: #64748b; }
.pano-card h4 { margin: 4px 0; font-size: 16px; }
.pano-card ul { margin: 6px 0 0; padding-left: 16px; color: var(--muted); font-size: 12px; }
.mod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.mod-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff;
  cursor: pointer; text-align: left; min-height: 130px;
}
.mod-card:hover { border-color: #93c5fd; }
.mod-card h4 { margin: 0 0 6px; color: #1d4ed8; }
.diag-score-card { background: linear-gradient(90deg, #fff7ed, #eff6ff); }
.diag-score { display: flex; gap: 16px; align-items: center; }
.diag-num {
  width: 72px; height: 72px; border-radius: 18px; display: grid; place-items: center;
  font-size: 28px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #f59e0b, #2563eb);
}
.diag-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.diag-tabs button {
  border: 1px solid #bfdbfe; background: #fff; border-radius: 999px; padding: 8px 12px;
  cursor: pointer; font-weight: 700; color: #1e40af; font-size: 12px;
}
.diag-tabs button.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.cycle-table { font-size: 12px; }
@media (max-width: 1100px) {
  .app { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; align-items: center; }
  .side-close { display: grid; place-items: center; }
  .side-mask {
    display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.35); z-index: 40;
  }
  .side-mask[hidden] { display: none !important; }
  .side {
    position: fixed; left: 0; top: 0; bottom: 0; width: min(86vw, 280px); height: 100vh;
    z-index: 50; transform: translateX(-105%); transition: transform .2s ease;
    box-shadow: 8px 0 28px rgba(15, 23, 42, 0.12);
  }
  body.side-open .side { transform: translateX(0); }
  .kpi-row, .charts, .grid-2, .dst-steps, .pano-grid, .mod-grid, .geo-steps { grid-template-columns: 1fr 1fr; }
  .cal-grid { grid-template-columns: 1fr 1fr; }
  .cal-day { min-height: 90px; }
  .bars { grid-template-columns: repeat(4, minmax(0, 1fr)); height: 160px; }
  .content { padding: 14px 12px 32px; }
  .page-head h2 { font-size: 20px; }
  .top { padding: 10px 12px; }
  table { display: block; overflow-x: auto; }
}
