/* ============================================================
   GEO 智信平台 · 主程序样式（磨玻璃蓝白）
   与 docs/13-UI设计方案.md 一一对应，改样式先改文档
   ============================================================ */

/* ---------- 1. Token ---------- */
:root{
  --brand-500:#2F6BFF; --brand-600:#1F55E0; --brand-050:#EAF1FF;
  --success:#22C55E; --warning:#F59E0B; --danger:#EF4444; --violet:#8B5CF6; --cyan:#06B6D4;
  --bg-base:#EEF4FF;
  --text-1:#0F172A; --text-2:#475569; --text-3:#94A3B8;
  --line:rgba(15,23,42,.06);
  --r-xs:6px; --r-sm:10px; --r-md:14px; --r-lg:18px; --r-xl:20px; --r-pill:999px;
  --shadow-card:0 10px 30px rgba(31,111,235,.10);
  --shadow-hover:0 16px 40px rgba(31,111,235,.16);
  --shadow-float:0 20px 50px rgba(15,42,96,.16);
  --ease:cubic-bezier(.22,1,.36,1);
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  font-size:14px;line-height:22px;color:var(--text-2);-webkit-font-smoothing:antialiased;
  background:
    radial-gradient(1100px 620px at 8% -10%, rgba(120,170,255,.55), transparent 62%),
    radial-gradient(900px 560px at 96% 8%, rgba(150,220,255,.45), transparent 60%),
    radial-gradient(760px 520px at 60% 108%, rgba(196,181,253,.28), transparent 65%),
    var(--bg-base);
  background-attachment:fixed;
}
.num{font-variant-numeric:tabular-nums;font-feature-settings:"tnum"}
a{color:inherit}
button{font-family:inherit}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:rgba(47,107,255,.22);border-radius:8px}
::-webkit-scrollbar-track{background:transparent}

/* ---------- 2. 玻璃材质 ---------- */
.glass-1{
  background:rgba(255,255,255,.62);
  -webkit-backdrop-filter:blur(22px) saturate(170%);backdrop-filter:blur(22px) saturate(170%);
  border:1px solid rgba(255,255,255,.70);
  box-shadow:0 8px 32px rgba(31,111,235,.08), inset 0 1px 0 rgba(255,255,255,.75);
  border-radius:var(--r-xl);
}
.glass-2{
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
  border:1px solid rgba(255,255,255,.65);
  box-shadow:var(--shadow-card), inset 0 1px 0 rgba(255,255,255,.6);
  border-radius:var(--r-lg);
  transition:box-shadow .18s var(--ease), transform .18s var(--ease);
}
.glass-3{
  background:rgba(255,255,255,.86);
  -webkit-backdrop-filter:blur(28px) saturate(180%);backdrop-filter:blur(28px) saturate(180%);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:var(--shadow-float);border-radius:16px;
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .glass-1,.glass-2{background:rgba(255,255,255,.94)}
  .glass-3{background:rgba(255,255,255,.98)}
}
.lift:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}

/* ---------- 3. 骨架 ---------- */
.app{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;padding:20px;min-height:100vh;max-width:1680px;margin:0 auto}
.main{display:flex;flex-direction:column;gap:16px;min-width:0}

/* ---------- 4. 侧栏 ---------- */
.sidebar{display:flex;flex-direction:column;padding:18px 12px;position:sticky;top:20px;height:calc(100vh - 40px)}
.brand{display:flex;align-items:center;gap:10px;padding:0 8px 18px;border-bottom:1px solid var(--line)}
.brand-logo{width:36px;height:36px;border-radius:12px;flex:none;display:grid;place-items:center;color:#fff;
  background:linear-gradient(135deg,#6FA8FF,#2F6BFF);box-shadow:0 6px 16px rgba(47,107,255,.35)}
.brand-title{font-size:15px;font-weight:700;color:var(--text-1);letter-spacing:.2px;white-space:nowrap}
.brand-sub{font-size:10.5px;color:var(--text-3);line-height:14px;margin-top:2px}
.nav{margin-top:12px;display:flex;flex-direction:column;gap:2px;overflow:auto;flex:1}
.nav a{display:flex;align-items:center;gap:10px;height:40px;padding:0 12px;border-radius:var(--r-sm);
  color:var(--text-2);text-decoration:none;font-size:14px;white-space:nowrap;
  transition:background .16s var(--ease),color .16s var(--ease)}
.nav a svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav a:hover{background:rgba(47,107,255,.06)}
.nav a.active{background:rgba(47,107,255,.12);color:var(--brand-500);font-weight:600;position:relative}
.nav a.active::before{content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:0 3px 3px 0;background:var(--brand-500)}
.nav a:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}
.nav-div{height:1px;background:var(--line);margin:8px}
.nav a.wip{opacity:.55}
.nav a.wip::after{content:"待建";margin-left:auto;flex:none;white-space:nowrap;font-size:10px;
  color:var(--text-3);border:1px solid var(--line);border-radius:4px;padding:0 4px;line-height:14px}
.nav-group{display:flex;flex-direction:column;gap:2px;padding-bottom:4px}
.nav-group+.nav-group{margin-top:6px;padding-top:8px;border-top:1px solid rgba(148,163,184,.13)}
.nav-group-title{padding:2px 12px 5px;font-size:10.5px;font-weight:700;letter-spacing:.8px;color:var(--text-3)}
.nav a .nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis}
.nav-step{width:18px;height:18px;border-radius:50%;display:inline-grid;place-items:center;flex:none;
  font-size:10px;font-weight:700;color:var(--brand-500);background:rgba(47,107,255,.10);font-style:normal}
.nav a.locked{opacity:.72}
.nav a.locked .nav-step{color:#64748B;background:rgba(148,163,184,.13)}
.nav a.locked::after{content:"";margin-left:auto;flex:none;width:6px;height:6px;border-radius:50%;
  background:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,.12)}
.nav a.locked:hover{opacity:.9;background:rgba(245,158,11,.06)}
.plan{margin-top:12px;padding:14px;border-radius:var(--r-md);color:#fff;
  background:linear-gradient(135deg,#5E97FF,#2F6BFF);box-shadow:0 10px 24px rgba(47,107,255,.28)}
.plan-h{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700}
.plan-d{font-size:11px;opacity:.85;margin-top:6px}
.plan button{margin-top:10px;width:100%;height:32px;border:0;border-radius:999px;background:#fff;color:var(--brand-600);
  font-size:12.5px;font-weight:600;cursor:pointer}

/* ---------- 5. 顶栏 ---------- */
.topbar{height:56px;display:flex;align-items:center;justify-content:space-between;padding:0 4px}
.tb-left{display:flex;align-items:center;gap:10px}
.tb-title{font-size:16px;font-weight:700;color:var(--text-1)}
.tb-crumb{font-size:12px;color:var(--text-3)}
.tb-right{display:flex;align-items:center;gap:14px}
.icon-btn{width:36px;height:36px;border:0;border-radius:12px;background:rgba(255,255,255,.6);color:var(--text-2);
  display:grid;place-items:center;cursor:pointer;position:relative;transition:background .16s var(--ease)}
.icon-btn:hover{background:rgba(255,255,255,.92)}
.icon-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dot{position:absolute;top:8px;right:9px;width:7px;height:7px;border-radius:50%;background:var(--danger);box-shadow:0 0 0 2px #fff}
.user{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-1);font-weight:500}
.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:700;
  background:linear-gradient(135deg,#93C5FD,#2F6BFF)}
.win-ctrl{display:flex;gap:6px;margin-left:6px}
.win-ctrl i{width:12px;height:12px;border-radius:3px;background:rgba(15,23,42,.12);display:block}

/* ---------- 6. Hero ---------- */
.hero{position:relative;overflow:hidden;border-radius:var(--r-xl);height:132px;display:flex;align-items:center;
  justify-content:space-between;padding:0 28px;color:#fff;
  background:linear-gradient(100deg,#1D4ED8 0%,#2F6BFF 42%,#5E97FF 100%)}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(420px 220px at 82% 24%, rgba(255,255,255,.30), transparent 70%),
    radial-gradient(260px 160px at 92% 78%, rgba(147,197,253,.55), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 2px, transparent 2px 26px)}
.hero>*{position:relative;z-index:1}
.skyline{position:absolute;right:0;bottom:0;width:52%;height:100%;z-index:0;pointer-events:none}
.hero h1{font-size:28px;line-height:36px;font-weight:700}
.hero p{font-size:13px;opacity:.82;margin-top:6px}
.clock{display:flex;align-items:center;gap:10px;padding:10px 16px;border-radius:var(--r-md);
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.45);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.clock svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:1.7}
.clock .d{font-size:12.5px;font-weight:600;line-height:16px}
.clock .t{font-size:12px;opacity:.85;line-height:16px}

/* 页面标题条（非首页） */
.pagehead{display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 20px;border-radius:var(--r-lg)}
.pagehead h2{font-size:20px;font-weight:700;color:var(--text-1)}
.pagehead p{font-size:12.5px;color:var(--text-3);margin-top:2px}
.ph-actions{display:flex;gap:10px}

/* ---------- 7. 按钮 ---------- */
.btn{height:38px;padding:0 16px;border-radius:var(--r-sm);border:1px solid transparent;cursor:pointer;
  font-size:13.5px;font-weight:500;display:inline-flex;align-items:center;gap:6px;
  transition:all .16s var(--ease)}
.btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.btn-primary{background:linear-gradient(135deg,#4C8DFF,#2F6BFF);color:#fff;box-shadow:0 8px 18px rgba(47,107,255,.28)}
.btn-primary:hover{filter:brightness(1.05);transform:translateY(-1px)}
.btn-ghost{background:rgba(255,255,255,.7);color:var(--text-2);border-color:rgba(15,23,42,.08)}
.btn-ghost:hover{background:#fff;color:var(--brand-500);border-color:rgba(47,107,255,.3)}
.btn-sm{height:30px;padding:0 10px;font-size:12.5px;border-radius:8px}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.btn:focus-visible{outline:2px solid var(--brand-500);outline-offset:2px}

/* ---------- 8. KPI ---------- */
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.kpi{padding:18px 18px 50px;position:relative;overflow:hidden}
.kpi-top{display:flex;align-items:center;gap:10px}
.kpi-ic{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;flex:none}
.kpi-ic svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.kpi-label{font-size:13px;color:var(--text-2)}
.kpi-val{font-size:34px;line-height:40px;font-weight:700;color:var(--text-1);margin-top:6px;letter-spacing:-.5px}
.kpi-val .dec{font-size:20px;font-weight:600}
.kpi-val .unit{font-size:16px;font-weight:600;color:var(--text-2);margin-right:1px}
.kpi-delta{font-size:12.5px;font-weight:600;margin-top:2px}
.kpi-delta .muted{color:var(--text-3);font-weight:400}
.up{color:#15803D}.down{color:#B91C1C}.flat{color:var(--text-3)}
.spark{position:absolute;right:6px;bottom:6px;width:58%;height:40px;opacity:.85;pointer-events:none}
.i-blue{background:rgba(47,107,255,.12);color:var(--brand-500)}
.i-green{background:rgba(34,197,94,.12);color:#16A34A}
.i-violet{background:rgba(139,92,246,.12);color:var(--violet)}
.i-amber{background:rgba(245,158,11,.14);color:#D97706}
.i-cyan{background:rgba(6,182,212,.12);color:#0891B2}
.i-red{background:rgba(239,68,68,.12);color:#DC2626}

/* ---------- 9. 卡片与栅格 ---------- */
.card{padding:18px}
.card-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}
.card-t{font-size:16px;font-weight:600;color:var(--text-1);display:flex;align-items:center;gap:8px}
.card-t svg{width:18px;height:18px;stroke:var(--brand-500);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.card-s{font-size:12px;color:var(--text-3);margin-top:2px;font-weight:400}
.row-mid{display:grid;grid-template-columns:6fr 3fr 3fr;gap:16px}
.row-bot{display:grid;grid-template-columns:8fr 4fr;gap:16px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.grid-3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}
.split{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:16px;align-items:start}

/* ---------- 10. 分段 / 图例 / 图表 ---------- */
.seg{display:flex;gap:2px;padding:3px;border-radius:var(--r-pill);background:rgba(47,107,255,.06);flex:none}
.seg button{border:0;background:transparent;font-size:12.5px;color:var(--text-2);
  padding:5px 12px;border-radius:var(--r-pill);cursor:pointer;transition:all .16s var(--ease);white-space:nowrap}
.seg button.on{background:#fff;color:var(--brand-500);font-weight:600;box-shadow:0 2px 8px rgba(31,111,235,.14)}
.legend{display:flex;gap:18px;font-size:13px;color:var(--text-2);margin-bottom:6px;flex-wrap:wrap}
.legend span{display:flex;align-items:center;gap:6px}
.legend i{width:6px;height:6px;border-radius:50%;display:block}
.sw{width:14px;height:14px;border-radius:4px;border:1px solid rgba(15,23,42,.10);flex:none;display:inline-block}
.chart{width:100%;height:auto;display:block}

/* 环图 */
.donut-wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;justify-content:center}
.donut{width:150px;height:150px;flex:none}
.donut-c{position:relative}
.donut-center{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.donut-center .v{font-size:24px;font-weight:700;color:var(--text-1);line-height:28px}
.donut-center .l{font-size:12px;color:var(--text-3)}
.donut-legend{display:flex;flex-direction:column;gap:10px;font-size:13px;color:var(--text-2);min-width:140px}
.donut-legend div{display:flex;align-items:center;gap:8px}
.donut-legend i{width:8px;height:8px;border-radius:50%;flex:none}
.donut-legend .pct{margin-left:auto;color:var(--text-1);font-weight:600}

/* 横向条形（失败原因 / 产能） */
.bars{display:flex;flex-direction:column;gap:12px}
.bar-row{display:grid;grid-template-columns:120px 1fr 48px;gap:10px;align-items:center;font-size:12.5px}
.bar-track{display:block;height:8px;border-radius:99px;background:rgba(47,107,255,.08);overflow:hidden}
.bar-fill{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#6FA8FF,#2F6BFF)}
.bar-fill.warn{background:linear-gradient(90deg,#FBBF24,#F59E0B)}
.bar-fill.red{background:linear-gradient(90deg,#F87171,#EF4444)}
.bar-v{text-align:right;color:var(--text-1);font-weight:600}

/* ---------- 11. 表格 ---------- */
.table-wrap{overflow-x:auto}
.table-fixed{table-layout:fixed}
.table-fixed td,.table-fixed th{overflow:hidden;text-overflow:ellipsis}
table{width:100%;border-collapse:collapse}
thead th{background:rgba(244,248,255,.9);color:var(--text-3);font-size:12px;font-weight:500;
  text-align:left;padding:10px 12px;white-space:nowrap}
thead th:first-child{border-radius:8px 0 0 8px}
thead th:last-child{border-radius:0 8px 8px 0}
tbody td{padding:13px 12px;border-bottom:1px solid var(--line);color:var(--text-2);white-space:nowrap}
tbody tr:hover{background:rgba(47,107,255,.06)}
tbody tr:last-child td{border-bottom:0}
td.strong{color:var(--text-1);font-weight:600}
td.money{color:var(--text-1);font-weight:600;text-align:right}
td.right{text-align:right}
.link{color:var(--brand-500);text-decoration:none;font-weight:500;cursor:pointer;background:none;border:0;font-size:13px;font-family:inherit}
.link:hover{text-decoration:underline}
.link.danger-link{color:#dc2626}
.rules-inline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.more{color:var(--text-3);font-size:12.5px;text-decoration:none}
.more:hover{color:var(--brand-500)}

/* 徽标 */
.pill{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 10px;border-radius:var(--r-xs);
  font-size:12px;font-weight:500;white-space:nowrap}
.p-run{background:rgba(47,107,255,.12);color:var(--brand-500)}
.p-done{background:rgba(34,197,94,.12);color:#15803D}
.p-wait{background:rgba(245,158,11,.14);color:#B45309}
.p-fail{background:rgba(239,68,68,.12);color:#B91C1C}
.p-idle{background:rgba(148,163,184,.16);color:#475569}

/* 筛选条 */
.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:14px}
.input,.select{height:36px;border-radius:var(--r-sm);border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.8);padding:0 12px;font-size:13.5px;color:var(--text-1);font-family:inherit;
  transition:border-color .16s var(--ease),box-shadow .16s var(--ease)}
.input{min-width:220px}
.input:focus,.select:focus{outline:none;border-color:var(--brand-500);box-shadow:0 0 0 3px rgba(47,107,255,.15)}
.input::placeholder{color:var(--text-3)}
.f-spacer{flex:1}
.f-count{font-size:12.5px;color:var(--text-3)}

/* ---------- 12. 健康分 / 进度 ---------- */
.score{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--text-1)}
.score-bar{width:56px;height:6px;border-radius:99px;background:rgba(15,23,42,.08);overflow:hidden}
.score-bar i{display:block;height:100%;border-radius:99px}
.s-good i{background:linear-gradient(90deg,#34D399,#22C55E)}
.s-mid i{background:linear-gradient(90deg,#FBBF24,#F59E0B)}
.s-bad i{background:linear-gradient(90deg,#F87171,#EF4444)}

.wave{display:flex;flex-direction:column;gap:10px}
.wave-row{display:grid;grid-template-columns:56px 1fr 90px;gap:10px;align-items:center;font-size:12.5px}
.wave-track{display:block;height:10px;border-radius:99px;background:rgba(47,107,255,.08);overflow:hidden;position:relative}
.wave-fill{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#6FA8FF,#2F6BFF)}
.wave-fill.done{background:linear-gradient(90deg,#34D399,#22C55E)}
.wave-fill.hold{background:linear-gradient(90deg,#FCD34D,#F59E0B)}

/* ---------- 13. 快捷入口 / 时间轴 ---------- */
.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.q-item{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 6px;border-radius:var(--r-md);
  cursor:pointer;text-decoration:none;transition:transform .18s var(--ease),box-shadow .18s var(--ease),background .18s var(--ease)}
.q-item:hover{transform:translateY(-2px);background:rgba(255,255,255,.7);box-shadow:var(--shadow-hover)}
.q-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#fff}
.q-ic svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.q-t{font-size:12.5px;color:var(--text-2)}

.feed{display:flex;flex-direction:column;gap:14px;padding-left:4px}
.feed-item{display:grid;grid-template-columns:52px 14px 1fr;gap:10px;align-items:start;position:relative}
.feed-item time{font-size:12px;color:var(--text-3);line-height:18px}
.feed-dot{width:8px;height:8px;border-radius:50%;background:var(--brand-500);margin-top:5px;position:relative}
.feed-item:not(:last-child) .feed-dot::after{content:"";position:absolute;left:3.5px;top:12px;bottom:-16px;width:1px;background:rgba(47,107,255,.18)}
.feed-item:first-child .feed-dot{box-shadow:0 0 0 4px rgba(47,107,255,.16)}
.feed-txt{font-size:13.5px;color:var(--text-2);line-height:20px}
.feed-txt b{color:var(--text-1);font-weight:600}

/* ---------- 14. 抽屉 / Toast ---------- */
.overlay{position:fixed;inset:0;background:rgba(15,23,42,.32);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  opacity:0;pointer-events:none;transition:opacity .2s var(--ease);z-index:40}
.overlay.on{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;bottom:0;width:520px;max-width:92vw;z-index:41;padding:22px;
  transform:translateX(100%);transition:transform .26s var(--ease);overflow:auto;
  border-radius:20px 0 0 20px}
.drawer.on{transform:none}
.drawer-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.drawer-h h3{font-size:18px;font-weight:700;color:var(--text-1)}
.drawer-h p{font-size:12.5px;color:var(--text-3);margin-top:2px}
.close{width:32px;height:32px;border:0;border-radius:10px;background:rgba(15,23,42,.05);cursor:pointer;
  color:var(--text-2);font-size:16px;line-height:1}
.kv{display:grid;grid-template-columns:96px 1fr;gap:10px 14px;font-size:13.5px;margin-bottom:18px}
.kv dt{color:var(--text-3)}
.kv dd{color:var(--text-1);font-weight:500}
.sub-h{font-size:13px;font-weight:600;color:var(--text-1);margin:18px 0 10px;padding-top:14px;border-top:1px solid var(--line)}
#toasts{position:fixed;top:20px;right:20px;z-index:60;display:flex;flex-direction:column;gap:10px}
.toast{padding:12px 16px;border-radius:12px;font-size:13.5px;color:var(--text-1);display:flex;align-items:center;gap:10px;
  animation:tin .24s var(--ease);min-width:220px}
.toast .tk{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:11px;flex:none}
.toast.ok .tk{background:var(--success)}
.toast.err .tk{background:var(--danger)}
.toast.info .tk{background:var(--brand-500)}
@keyframes tin{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* ---------- 15. 空态 / 占位 ---------- */
.empty{padding:48px 20px;text-align:center;color:var(--text-3);font-size:13.5px}
.wip-box{padding:64px 24px;text-align:center}
.wip-box h3{font-size:18px;color:var(--text-1);font-weight:700;margin-bottom:8px}
.wip-box p{font-size:13.5px;color:var(--text-3);max-width:520px;margin:0 auto;line-height:22px}
.wip-tag{display:inline-block;margin-bottom:14px;padding:4px 12px;border-radius:99px;
  background:rgba(47,107,255,.10);color:var(--brand-500);font-size:12px;font-weight:600}

/* ---------- 16. 动效 ---------- */
.rise{animation:rise .32s var(--ease) both}
.rise:nth-child(1){animation-delay:.02s}.rise:nth-child(2){animation-delay:.06s}
.rise:nth-child(3){animation-delay:.1s}.rise:nth-child(4){animation-delay:.14s}
@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---------- 18. 表单页（向导 / 编辑器） ---------- */
.steps{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap;max-width:720px}
.step{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-3)}
.step-dot{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:12px;
  background:rgba(148,163,184,.18);color:var(--text-3);font-weight:600;flex:none}
.step.on{color:var(--brand-500);font-weight:600}
.step.on .step-dot{background:var(--brand-500);color:#fff;box-shadow:0 4px 12px rgba(47,107,255,.30)}
.step.done{color:#15803D}
.step.done .step-dot{background:rgba(34,197,94,.16);color:#15803D}
.step-line{flex:1;height:1px;background:rgba(15,23,42,.10);min-width:24px}

.field{margin-bottom:18px}
.field label{display:block;font-size:12.5px;font-weight:600;color:var(--text-1);margin-bottom:8px}
.region-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.region-count{font-weight:400;color:var(--text-3);font-size:11.5px;margin-left:6px}
.region-path{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  margin:0 0 18px;padding:11px 13px;border-radius:var(--r-sm);border:1px solid rgba(47,107,255,.16);
  background:rgba(47,107,255,.055);font-size:12.5px;color:var(--text-3)}
.region-path b{font-size:13px;color:var(--brand-500);font-weight:600}
.region-mini{font-size:11.5px;color:var(--text-3);font-weight:400;line-height:16px;margin-top:3px}
.region-loading{display:flex;align-items:center;justify-content:center;gap:10px;min-height:260px;
  color:var(--text-3);font-size:13.5px}
.hint{font-size:12px;color:var(--text-3);line-height:18px;margin-top:8px}
.hint code{background:rgba(47,107,255,.08);padding:1px 6px;border-radius:4px;color:var(--brand-500)}
.preview{font-family:ui-monospace,'SF Mono',Consolas,monospace;font-size:12.5px;color:var(--text-1);
  background:rgba(15,23,42,.04);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 12px;
  word-break:break-all}
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.rc{text-align:left;padding:12px;border-radius:var(--r-md);border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.7);cursor:pointer;display:flex;flex-direction:column;gap:4px;
  transition:all .16s var(--ease);font-family:inherit}
.rc b{font-size:14px;color:var(--text-1);font-weight:600}
.rc span{font-size:11.5px;color:var(--text-3)}
.rc:hover{border-color:rgba(47,107,255,.35);background:#fff}
.rc.on{border-color:var(--brand-500);background:rgba(47,107,255,.08);box-shadow:0 0 0 3px rgba(47,107,255,.12)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:32px;padding:0 14px;border-radius:var(--r-pill);border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.7);color:var(--text-2);font-size:13px;cursor:pointer;font-family:inherit;
  transition:all .16s var(--ease)}
.chip:hover{border-color:rgba(47,107,255,.35);color:var(--brand-500)}
.chip.on{background:rgba(47,107,255,.12);border-color:rgba(47,107,255,.45);color:var(--brand-500);font-weight:600}
.wiz-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;
  margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}

.editor-grid{display:grid;grid-template-columns:250px minmax(0,1fr) 300px;gap:18px;align-items:start}
.editor{width:100%;min-height:340px;resize:vertical;border-radius:var(--r-sm);border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.85);padding:14px;font-size:13.5px;line-height:22px;color:var(--text-1);
  font-family:inherit;transition:border-color .16s var(--ease),box-shadow .16s var(--ease)}
.editor:focus{outline:none;border-color:var(--brand-500);box-shadow:0 0 0 3px rgba(47,107,255,.15)}
.panel-title{font-size:13px;font-weight:600;color:var(--text-1);margin-bottom:12px}
.gate-head{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.gate-title{font-size:14px;font-weight:700;color:var(--text-1)}
.gate-sub{font-size:12px;color:var(--text-3);margin-top:2px;line-height:16px}
.gate-list{display:flex;flex-direction:column;gap:8px}
.gate-row{display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:12.5px;padding:7px 10px;border-radius:8px;background:rgba(15,23,42,.03)}
.gate-row b{color:var(--text-1);font-weight:600}
.gate-row i{font-style:normal}
.gate-row.ok{background:rgba(34,197,94,.08);color:#15803D}
.gate-row.ok b{color:#15803D}
.gate-row.bad{background:rgba(239,68,68,.08);color:#B91C1C;cursor:help}
.gate-row.bad b{color:#B91C1C}

@media (max-width:1439px){
  .editor-grid{grid-template-columns:220px minmax(0,1fr)}
  .ed-right{grid-column:1/-1}
}
@media (max-width:767px){
  .editor-grid{grid-template-columns:1fr}
  .wiz-actions{flex-direction:column-reverse}
  .wiz-actions .btn{width:100%;justify-content:center}
}
/* ---------- 19. 响应式 ---------- */
@media (max-width:1439px){
  .row-mid{grid-template-columns:1fr 1fr}
  .row-mid .card:first-child{grid-column:1/-1}
  .split{grid-template-columns:1fr}
}
@media (max-width:1279px){
  .app{grid-template-columns:64px minmax(0,1fr)}
  .brand-title,.brand-sub,.nav a span,.plan{display:none}
  .nav a{justify-content:center;padding:0}
  .nav a.wip::after{display:none}
  .brand{justify-content:center;padding-bottom:14px}
  .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .row-bot{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
}
@media (max-width:767px){
  .app{grid-template-columns:1fr;padding:12px}
  .sidebar{display:none}
  .kpis{grid-template-columns:1fr}
  .row-mid,.grid-2{grid-template-columns:1fr}
  .hero{height:auto;padding:22px;flex-direction:column;align-items:flex-start;gap:14px}
  .hero h1{font-size:22px;line-height:30px}
  .drawer{width:100vw;border-radius:20px 20px 0 0}
}

/* ============================================================
   开源集成测试台
   ============================================================ */
.int-runtime{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 16px;margin-bottom:14px;
  border-radius:var(--r-md);font-size:12.5px;color:var(--text-2)}
.int-runtime strong{color:var(--text-1);font-weight:600}
.int-runtime-path{margin-left:auto;font-family:ui-monospace,'SF Mono',Consolas,monospace;font-size:11.5px;color:var(--text-3)}
.int-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:14px}
.int-card{display:flex;flex-direction:column;gap:10px;padding-bottom:14px}
.int-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.int-name{font-size:16px;font-weight:700;color:var(--text-1)}
.int-meta{font-size:11.5px;color:var(--text-3);margin-top:3px}
.int-meta a{color:var(--brand-500);text-decoration:none}
.int-sum{font-size:12.5px;line-height:1.7;color:var(--text-2);min-height:44px}
.int-map{display:flex;flex-wrap:wrap;gap:6px}
.int-map span{font-size:11px;padding:3px 8px;border-radius:999px;background:rgba(47,107,255,.07);color:#3B6FD8}
.int-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}
.int-foot{display:flex;align-items:center;gap:7px;font-size:11.5px;color:var(--text-3);
  padding-top:10px;border-top:1px solid rgba(15,23,42,.06)}
.int-env{margin-left:auto;font-family:ui-monospace,'SF Mono',Consolas,monospace;font-size:10.5px}
.int-dot{width:8px;height:8px;border-radius:50%;background:#94A3B8;flex:none}
.int-dot.ready{background:#16A34A;box-shadow:0 0 0 3px rgba(22,163,74,.14)}
.int-dot.unconfigured{background:#F59E0B;box-shadow:0 0 0 3px rgba(245,158,11,.14)}
.int-dot.missing{background:#EF4444;box-shadow:0 0 0 3px rgba(239,68,68,.14)}
.int-empty{padding:40px;text-align:center;border-radius:var(--r-md);color:var(--text-2);font-size:13px}
.int-error{color:#B91C1C}
.int-run-desc{font-size:12.5px;line-height:1.7;color:var(--text-2);margin-bottom:16px}
.int-form .editor{min-height:130px}
.int-form .select{width:100%}
.int-check{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-1);margin:10px 0 16px}
.int-form-actions{display:flex;justify-content:flex-end;margin:6px 0 18px}
.int-result{border-top:1px solid rgba(15,23,42,.07);padding-top:14px}
.int-result-head{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-size:13px;color:var(--text-1)}
.int-result-error{color:#B91C1C;font-size:13px;line-height:1.7}
.int-score{display:flex;align-items:baseline;gap:10px;margin:4px 0 16px}
.int-score strong{font-size:38px;line-height:1;color:var(--brand-500);font-weight:800}
.int-score span{font-size:12.5px;color:var(--text-3)}
.int-table{max-height:420px;overflow:auto}
.int-table th{position:sticky;top:0;z-index:1}
.int-pre{white-space:pre-wrap;word-break:break-word;background:rgba(15,23,42,.04);border-radius:10px;
  padding:14px;font-size:11.5px;line-height:1.6;font-family:ui-monospace,'SF Mono',Consolas,monospace;
  max-height:420px;overflow:auto;color:var(--text-1)}
.int-files{display:flex;flex-direction:column;gap:8px}
.int-file{border:1px solid rgba(15,23,42,.08);border-radius:10px;overflow:hidden}
.int-file summary{cursor:pointer;padding:10px 12px;font-size:12px;font-weight:600;background:rgba(47,107,255,.05)}
.int-file .int-pre{border-radius:0;max-height:260px}
.int-raw{margin-top:14px}
.int-raw summary{cursor:pointer;font-size:11.5px;color:var(--text-3)}
.int-running{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--text-2);padding:10px 0}
.spinner{width:14px;height:14px;border-radius:50%;border:2px solid rgba(47,107,255,.2);
  border-top-color:var(--brand-500);animation:intspin .8s linear infinite;display:inline-block}
@keyframes intspin{to{transform:rotate(360deg)}}
.int-empty-inline{padding:16px;border-radius:10px;background:rgba(245,158,11,.09);color:#92400E;font-size:12.5px}
.int-guide .int-pre{background:rgba(15,23,42,.06)}
.pub-gate{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px;border-radius:12px;
  background:rgba(47,107,255,.045);border:1px solid rgba(47,107,255,.10)}
.pub-field{display:flex;flex-direction:column;gap:5px;font-size:11.5px;color:var(--text-3)}
.pub-field .input{width:100%;min-width:0}
.pub-note{margin:8px 0 4px;font-size:11.5px;line-height:1.6;color:var(--text-3)}
.pub-note.ok{color:#15803D}
.pub-note.fail{color:#B91C1C}
.pub-summary{display:grid;grid-template-columns:56px 1fr;gap:7px 12px;font-size:12px;color:var(--text-3)}
.pub-summary b{font-weight:600;color:var(--text-1)}
@media (max-width:720px){.int-grid{grid-template-columns:1fr}.int-runtime-path{display:none}}

/* ---------- 站群规则中心 ---------- */
.rules-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:5px;margin:16px 0;border-radius:14px}
.rules-tabs a{display:inline-flex;align-items:center;gap:7px;padding:9px 14px;border-radius:10px;
  color:var(--text-2);font-size:12.5px;white-space:nowrap;transition:.18s}
.rules-tabs a:hover{background:rgba(47,107,255,.06);color:var(--brand-500)}
.rules-tabs a.on{background:#fff;color:var(--brand-500);font-weight:600;box-shadow:0 4px 14px rgba(31,111,235,.12)}

/* ---------- 业务顺序：顶部步骤条 ---------- */
.workflow-panel{margin:16px 0;padding:14px 16px;border-radius:16px}
.workflow-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}
.workflow-head b{font-size:13px;color:var(--text-1)}
.workflow-head span{font-size:11.5px;color:var(--text-3);margin-left:8px}
.workflow-site{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--text-3)}
.workflow-site .select{height:32px;min-width:180px;font-size:12px}
.workflow-steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.workflow-step{position:relative;display:flex;flex-direction:column;gap:3px;min-width:0;padding:9px 9px 8px;
  border:1px solid rgba(148,163,184,.16);border-radius:11px;background:rgba(255,255,255,.56);text-decoration:none;
  transition:border-color .16s var(--ease),background .16s var(--ease),transform .16s var(--ease)}
.workflow-step:hover{transform:translateY(-1px);border-color:rgba(47,107,255,.28)}
.workflow-step em{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;font-style:normal;
  font-size:10px;font-weight:700;color:#64748B;background:rgba(148,163,184,.14)}
.workflow-step b{font-size:12px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workflow-step small{font-size:10.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.workflow-step.done{border-color:rgba(34,197,94,.22);background:rgba(34,197,94,.055)}
.workflow-step.done em{color:#15803D;background:rgba(34,197,94,.14)}
.workflow-step.current{border-color:rgba(47,107,255,.38);background:rgba(47,107,255,.075);box-shadow:0 6px 18px rgba(47,107,255,.10)}
.workflow-step.current em{color:#fff;background:var(--brand-500)}
.workflow-step.locked{opacity:.62}
.workflow-next{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;padding-top:10px;
  border-top:1px dashed rgba(148,163,184,.24);font-size:12px;color:var(--text-2)}
.workflow-next b{color:var(--text-1)}
.workflow-next a{color:var(--brand-500);text-decoration:none;font-weight:600}
.workflow-lock{margin:0 0 14px;padding:12px 14px;border-radius:12px;border:1px solid rgba(245,158,11,.22);
  background:rgba(245,158,11,.075);font-size:12.5px;line-height:1.7;color:#92400E}
.workflow-lock b{display:block;color:#78350F;margin-bottom:2px}
.workflow-lock a{color:#B45309;font-weight:700}
.workflow-mini{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.workflow-mini span{font-size:10.5px;padding:2px 7px;border-radius:99px;background:rgba(148,163,184,.10);color:var(--text-3)}
.audit-filters{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin:0}
.audit-filters .select{flex:0 0 142px;width:142px;min-width:0}
.audit-filters .input{flex:1 1 180px;min-width:150px;max-width:320px}
.audit-filters input[type="date"]{flex:0 0 142px;width:142px;min-width:0;max-width:142px}
.audit-date-label{font-size:10.5px;color:var(--text-3)}
@media (max-width:900px){.audit-filters .select,.audit-filters .input,.audit-filters input[type="date"]{flex:1 1 160px;max-width:none;width:auto}.audit-filters .btn{width:100%}}
.rules-grid{display:grid;grid-template-columns:minmax(330px,430px) minmax(0,1fr);gap:16px;align-items:start}
.rules-grid-tight{grid-template-columns:minmax(300px,380px) minmax(0,1fr)}
.rules-grid-wide{grid-column:1/-1}
.rules-stack{display:flex;flex-direction:column;gap:16px}
.rules-form{padding:16px}
.rules-form .input,.rules-form .select{width:100%;min-width:0}
.rules-textarea{width:100%;min-height:78px;resize:vertical;border-radius:10px;padding:10px 12px;
  border:1px solid rgba(15,23,42,.10);background:rgba(255,255,255,.72);font:inherit;font-size:13px;
  line-height:1.7;color:var(--text-1)}
.rules-textarea:focus{outline:none;border-color:var(--brand-500);box-shadow:0 0 0 3px rgba(47,107,255,.15)}
.rules-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rules-actions{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 14px}
.rules-vars{display:flex;flex-wrap:wrap;gap:6px}
.rules-var{height:28px;padding:0 9px;border-radius:8px;border:1px solid rgba(47,107,255,.16);
  background:rgba(47,107,255,.055);color:#3B6FD8;font-family:ui-monospace,'SF Mono',Consolas,monospace;
  font-size:11px;cursor:pointer}
.rules-var:hover{background:rgba(47,107,255,.12);border-color:rgba(47,107,255,.35)}
.rules-preview{border:1px solid rgba(47,107,255,.12);border-radius:12px;background:rgba(47,107,255,.04);
  padding:13px;display:flex;flex-direction:column;gap:8px}
.rules-preview>div{display:grid;grid-template-columns:76px 1fr;gap:10px;font-size:12.5px;line-height:1.6}
.rules-preview b{color:var(--text-3);font-weight:500}
.rules-preview span{color:var(--text-1);word-break:break-word}
.rules-preview-meta{display:block!important;padding-top:8px;border-top:1px dashed rgba(15,23,42,.1);
  color:var(--text-3);font-size:11px}
.rules-warn{color:#B45309!important}
.rules-empty{padding:34px 18px;text-align:center;color:var(--text-3);font-size:12.5px;line-height:1.7}
.rules-loading{padding:26px;text-align:center;color:var(--text-3);font-size:12.5px}
.rules-error{padding:12px 14px;border-radius:10px;background:rgba(239,68,68,.08);color:#B91C1C;
  font-size:12px;line-height:1.6;word-break:break-word}
.rules-error-inline{margin-bottom:14px}
.rules-ellipsis{display:inline-block;max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.rules-export-reason{display:block;max-width:360px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  color:var(--text-3);font-size:11px}
.rules-count{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;
  border-radius:7px;background:rgba(139,92,246,.1);color:#7C3AED;font-size:11px;font-weight:600}
.rules-badge{display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 8px;
  border-radius:999px;font-size:10.5px;font-weight:600;white-space:nowrap}
.rules-muted{font-size:10.5px;color:var(--text-3);margin-top:3px;font-weight:400}
.rules-checks{display:flex;flex-wrap:wrap;gap:7px;max-height:132px;overflow:auto;padding:2px}
.rules-checks label{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:8px;
  border:1px solid rgba(15,23,42,.09);font-size:11.5px;color:var(--text-2);background:rgba(255,255,255,.55);cursor:pointer}
.rules-checks label:has(input:checked){border-color:rgba(47,107,255,.35);background:rgba(47,107,255,.08);color:var(--brand-500)}
.rules-theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 18px 18px}
.rules-theme-card{position:relative;display:flex;flex-direction:column;gap:6px;min-height:150px;padding:15px 16px 14px 44px;
  border:1px solid var(--line-1);border-radius:14px;background:rgba(255,255,255,.64);cursor:pointer;transition:.18s ease}
.rules-theme-card:hover,.rules-theme-card.on{border-color:rgba(47,107,255,.45);box-shadow:0 8px 26px rgba(31,89,214,.10);
  background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(239,246,255,.82))}
.rules-theme-card[hidden]{display:none}
.rules-theme-card input{position:absolute;left:16px;top:19px;accent-color:var(--brand-500)}
.rules-theme-card b{font-size:15px;color:var(--text-1)}
.rules-theme-card em{position:absolute;right:14px;top:15px;font-size:11px;font-style:normal;color:var(--text-3)}
.rules-theme-card p{margin:2px 0 5px;font-size:12px;line-height:19px;color:var(--text-3)}
.rules-theme-dot{position:absolute;left:17px;top:42px;width:12px;height:12px;border-radius:50%;box-shadow:0 0 0 4px rgba(47,107,255,.08)}
.rules-theme-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:1px 0 2px}
.rules-theme-meta span{padding:2px 7px;border-radius:999px;background:rgba(15,23,42,.055);color:#475569;font-size:10px;font-weight:600}
.rules-theme-meta i{padding:2px 0;color:var(--text-3);font-size:10px;font-style:normal}
.rules-theme-foot{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto}
.rules-theme-tags{display:flex;flex:1;flex-wrap:wrap;gap:5px;min-width:0}
.rules-theme-tags span{padding:3px 7px;border-radius:999px;background:rgba(47,107,255,.08);color:var(--brand-500);font-size:11px}
.rules-theme-preview{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:4px;height:27px;padding:0 10px;
  border:1px solid rgba(47,107,255,.20);border-radius:999px;background:rgba(255,255,255,.90);color:var(--brand-500);
  font:inherit;font-size:11px;font-weight:600;white-space:nowrap;cursor:pointer;transition:.16s ease}
.rules-theme-preview:hover{border-color:rgba(47,107,255,.42);background:var(--brand-500);color:#fff;box-shadow:0 5px 14px rgba(47,107,255,.18)}
.rules-theme-preview:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(47,107,255,.16)}
.rules-theme-preview:disabled{opacity:.55;cursor:wait;box-shadow:none}
.rules-theme-preview svg{flex:none}
.rules-theme-source{display:flex;align-items:center;gap:5px;min-width:0;font-size:10px;color:var(--text-3);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rules-theme-source::before{content:"";width:5px;height:5px;border-radius:50%;background:var(--brand-500);opacity:.35;flex:none}
.rules-theme-mini{display:flex;flex-direction:column;gap:4px;margin:7px 0 8px;padding:8px;border-radius:min(var(--mini-radius),12px);
  background:linear-gradient(160deg,var(--mini-bg,#F7FAFF),var(--mini-soft,#EAF1FF));border:1px solid rgba(15,23,42,.07);overflow:hidden}
.rules-theme-mini *{display:block}
.rules-theme-mini .mini-bar{display:flex;align-items:center;gap:3px;height:9px}
.rules-theme-mini .mini-bar i{width:4px;height:4px;border-radius:50%;background:rgba(15,23,42,.16)}
.rules-theme-mini .mini-bar span{flex:1;height:3px;margin-left:5px;border-radius:2px;background:rgba(15,23,42,.06)}
.rules-theme-mini .mini-hero{display:flex;flex-direction:column;gap:3px;padding:7px;border-radius:6px;
  background:linear-gradient(120deg,color-mix(in srgb,var(--mini-accent) 13%,white),white)}
.rules-theme-mini .mini-hero b{width:56%;height:5px;border-radius:2px;background:var(--mini-accent);opacity:.72}
.rules-theme-mini .mini-hero em{width:78%;height:3px;border-radius:2px;background:rgba(15,23,42,.15)}
.rules-theme-mini .mini-hero i{width:31%;height:7px;border-radius:3px;background:var(--mini-accent);opacity:.9}
.rules-theme-mini .mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}
.rules-theme-mini .mini-grid span{height:16px;border-radius:4px;background:rgba(15,23,42,.05);border:1px solid rgba(15,23,42,.04)}
.rules-theme-mini.mini-layout--trust{background:linear-gradient(145deg,#fff,var(--mini-soft));border-color:color-mix(in srgb,var(--mini-accent) 16%,white)}
.rules-theme-mini.mini-layout--trust .mini-hero{border-radius:9px;background:#fff;box-shadow:inset 4px 0 0 var(--mini-accent)}
.rules-theme-mini.mini-layout--trust .mini-grid span{border-radius:999px;border-color:color-mix(in srgb,var(--mini-accent) 15%,white)}
.rules-theme-mini.mini-layout--proof{background:#F5FBF8;border-color:#C9E7DB}
.rules-theme-mini.mini-layout--proof .mini-hero{border-radius:2px;background:#fff;border-bottom:3px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--proof .mini-grid span{border-radius:1px;border-top:2px solid var(--mini-accent);background:#fff}
.rules-theme-mini.mini-layout--knowledge{background:linear-gradient(145deg,#FFFCF5,var(--mini-soft));border-color:#F2DFB7}
.rules-theme-mini.mini-layout--knowledge .mini-hero{border-radius:14px;background:radial-gradient(circle at 50% 0,var(--mini-soft),#fff 72%);align-items:center}
.rules-theme-mini.mini-layout--knowledge .mini-grid span{border-radius:0;border-color:#F1DFC0;background:#fff}
.rules-theme-mini.mini-layout--directory{background:#F4F7FB;border-color:#C9D5E5}
.rules-theme-mini.mini-layout--directory .mini-hero{border-radius:0;background:#fff;border-left:4px solid var(--mini-accent);border-bottom:1px solid #C9D5E5}
.rules-theme-mini.mini-layout--directory .mini-grid{grid-template-columns:repeat(2,1fr)}
.rules-theme-mini.mini-layout--directory .mini-grid span{height:18px;border-radius:0;border-color:#D7E0EC;background:#fff}
.rules-theme-mini.mini-layout--minimal{background:#fff;border-color:#E5E7EB}
.rules-theme-mini.mini-layout--minimal .mini-hero{align-items:center;border-radius:0;background:#fff;border-bottom:1px solid #111827}
.rules-theme-mini.mini-layout--minimal .mini-hero b{width:44%}
.rules-theme-mini.mini-layout--minimal .mini-grid span{border-radius:0}
.rules-theme-mini.mini-layout--editorial{background:#FFFDF8;border-color:#E7DAC5}
.rules-theme-mini.mini-layout--editorial .mini-hero{border-radius:0;border-left:3px solid var(--mini-accent);background:#FCF8F1}
.rules-theme-mini.mini-layout--editorial .mini-hero b{width:68%}
.rules-theme-mini.mini-layout--editorial .mini-grid span{border-radius:0;background:#F8F1E5}
.rules-theme-mini.mini-layout--storefront{background:#FFF8F1;border-color:rgba(194,65,12,.14)}
.rules-theme-mini.mini-layout--storefront .mini-hero{border-radius:12px;background:linear-gradient(135deg,#FFEDD5,#fff)}
.rules-theme-mini.mini-layout--storefront .mini-grid span{border-radius:8px;background:#FFFDFA}
.rules-theme-mini.mini-layout--corporate{background:#F5F8FA;border-color:rgba(24,78,119,.14)}
.rules-theme-mini.mini-layout--corporate .mini-hero{background:linear-gradient(135deg,#123C69,#184E77);border-radius:3px}
.rules-theme-mini.mini-layout--corporate .mini-hero b{background:#BFDBFE;opacity:.9}
.rules-theme-mini.mini-layout--corporate .mini-hero em{background:rgba(255,255,255,.35)}
.rules-theme-mini.mini-layout--corporate .mini-hero i{background:#fff}
.rules-theme-mini.mini-layout--corporate .mini-grid span{border-radius:2px}
.rules-theme-mini.mini-layout--landing .mini-hero{align-items:center;border-radius:10px 10px 2px 2px;background:radial-gradient(circle at 50% 0,#DBEAFE,transparent 72%),#fff}
.rules-theme-mini.mini-layout--landing .mini-hero b{width:40%}
.rules-theme-mini.mini-layout--landing .mini-hero em{width:60%}
.rules-theme-mini.mini-layout--landing .mini-hero i{border-radius:999px;width:24%}
.rules-theme-mini.mini-layout--grid{background:#F7FAF9;border-color:#CFDDD9}
.rules-theme-mini.mini-layout--grid .mini-hero{border-radius:0;background:#fff;border-bottom:2px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--grid .mini-grid{grid-template-columns:repeat(2,1fr)}
.rules-theme-mini.mini-layout--grid .mini-grid span{height:18px;border-radius:0;background:#fff;border-color:#D7E3E0}
.rules-theme-mini.mini-layout--moving{background:linear-gradient(145deg,#fff,var(--mini-soft))}
.rules-theme-mini.mini-layout--moving .mini-grid{grid-template-columns:repeat(2,1fr)}
.rules-theme-mini.mini-layout--cleaning{background:linear-gradient(145deg,var(--mini-bg),#fff);border-radius:14px}
.rules-theme-mini.mini-layout--renovation{background:#FFFCF5;border-color:#E7DAC5}
.rules-theme-mini.mini-layout--renovation .mini-hero{border-radius:0;border-left:4px solid var(--mini-accent);background:#fff}
.rules-theme-mini.mini-layout--repair{background:linear-gradient(135deg,#fff5eb,#fff)}
.rules-theme-mini.mini-layout--repair .mini-grid span{border-top:2px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--clinic{background:linear-gradient(145deg,#fff,var(--mini-soft));border-radius:14px}
.rules-theme-mini.mini-layout--clinic .mini-hero{border-radius:999px 12px 12px 999px}
.rules-theme-mini.mini-layout--automotive{background:#F8FAFC;border-color:#CBD5E1}
.rules-theme-mini.mini-layout--automotive .mini-hero{background:linear-gradient(135deg,#111827,#334155);border-radius:2px}
.rules-theme-mini.mini-layout--automotive .mini-hero b,.rules-theme-mini.mini-layout--automotive .mini-hero em{background:#fff}
.rules-theme-mini.mini-layout--dining{background:#FFFBF5;border-color:#FED7AA}
.rules-theme-mini.mini-layout--dining .mini-hero{background:linear-gradient(135deg,#FFEDD5,#fff)}
.rules-theme-mini.mini-layout--beauty{background:linear-gradient(145deg,#fff,var(--mini-soft));border-color:#F9A8D4}
.rules-theme-mini.mini-layout--beauty .mini-hero{border-radius:18px;align-items:center}
.rules-theme-mini.mini-layout--fitness{background:#F8FFF9}
.rules-theme-mini.mini-layout--fitness .mini-hero{background:linear-gradient(135deg,#14532D,#16A34A);border-radius:2px}
.rules-theme-mini.mini-layout--fitness .mini-hero b,.rules-theme-mini.mini-layout--fitness .mini-hero em{background:#fff}
.rules-theme-mini.mini-layout--education{background:#FFFDF8;border-color:#DBEAFE}
.rules-theme-mini.mini-layout--education .mini-hero{border-radius:0;border-bottom:2px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--legal .mini-hero{border-radius:0;border-left:4px solid var(--mini-accent);background:#fff}
.rules-theme-mini.mini-layout--finance{background:#F7FFFC;border-color:#A7F3D0}
.rules-theme-mini.mini-layout--finance .mini-grid span{border-radius:2px;border-top:2px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--realty .mini-hero{background:linear-gradient(145deg,var(--mini-soft),#fff)}
.rules-theme-mini.mini-layout--realty .mini-grid span{border-top:5px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--pet{background:linear-gradient(145deg,#FFFBF7,var(--mini-soft));border-radius:18px}
.rules-theme-mini.mini-layout--pet .mini-hero{border-radius:999px}
.rules-theme-mini.mini-layout--maternal{background:linear-gradient(145deg,#FFF9FC,var(--mini-soft));border-radius:20px}
.rules-theme-mini.mini-layout--maternal .mini-hero{border-radius:20px;align-items:center}
.rules-theme-mini.mini-layout--logistics{background:#F6FAFD;border-color:#BAE6FD}
.rules-theme-mini.mini-layout--logistics .mini-grid span{border-radius:0;border-left:3px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--wedding{background:#FFF8F9;border-color:#FECDD3}
.rules-theme-mini.mini-layout--wedding .mini-hero{border-radius:0;border-top:2px double var(--mini-accent);border-bottom:2px double var(--mini-accent);align-items:center}
.rules-theme-mini.mini-layout--travel{background:#F5FBFE}
.rules-theme-mini.mini-layout--travel .mini-hero{background:linear-gradient(135deg,#0C4A6E,#7DD3FC);border-radius:12px}
.rules-theme-mini.mini-layout--travel .mini-hero b,.rules-theme-mini.mini-layout--travel .mini-hero em{background:#fff}
.rules-theme-mini.mini-layout--manufacturing{background:#F8FAFC}
.rules-theme-mini.mini-layout--manufacturing .mini-hero{border-radius:0;background:#fff;border:1px solid #94A3B8;border-top:4px solid var(--mini-accent)}
.rules-theme-mini.mini-layout--franchise{background:#FFFCF4;border-color:#FDE68A}
.rules-theme-mini.mini-layout--franchise .mini-hero{border-bottom:3px solid var(--mini-accent);background:linear-gradient(135deg,var(--mini-soft),#fff)}
.rules-filterbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 18px 12px;
  padding:9px 12px;border:1px solid rgba(47,107,255,.18);border-radius:10px;background:rgba(47,107,255,.05);font-size:12px;color:var(--text-2)}
.rules-filterbar b{color:var(--brand-500)}
.rules-filter-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.rules-filter-actions label{font-size:11.5px;color:var(--text-3)}
.rules-filter-actions .select{height:30px;min-width:104px;padding:0 26px 0 9px;font-size:11.5px;background-color:#fff}
.theme-filterbar{flex-wrap:wrap}
.theme-filterbar .rules-filter-actions{flex:1}
.theme-site-select{min-width:170px;max-width:240px}
.theme-filter-search{height:30px;min-width:190px;max-width:280px;padding:0 10px;border-radius:8px;border:1px solid var(--line-1);
  background:#fff;color:var(--text-1);font:inherit;font-size:11.5px}
.theme-filter-search:focus{outline:none;border-color:var(--brand-500);box-shadow:0 0 0 3px rgba(47,107,255,.12)}
.num-link{font-weight:600;color:var(--brand-500)}
.rules-failure-chip{display:inline-flex;align-items:center;height:20px;padding:0 7px;border-radius:999px;
  font-size:10px;font-weight:600;white-space:nowrap}
.rules-failure-chip.retryable{background:rgba(245,158,11,.14);color:#92400E}
.rules-failure-chip.terminal{background:rgba(239,68,68,.10);color:#B91C1C}
.rules-failure-panel{margin:12px 0;padding:12px 14px;border-radius:11px;border:1px solid rgba(245,158,11,.24);
  background:rgba(245,158,11,.055);font-size:12px;line-height:1.65;color:var(--text-2)}
.rules-failure-panel.terminal{border-color:rgba(239,68,68,.2);background:rgba(239,68,68,.045)}
.rules-failure-head{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:5px}
.rules-failure-head b{font-size:12.5px;color:var(--text-1)}
.rules-failure-head code{font-size:10px;color:var(--text-3);background:rgba(15,23,42,.05);padding:2px 5px;border-radius:5px}
.rules-failure-panel p{margin:0 0 6px;color:var(--text-1);word-break:break-word}
.rules-failure-hint{color:#92400E;margin-bottom:4px}
.drawer:has(.theme-preview){width:min(820px,96vw)}
.theme-preview{padding:14px;border-radius:18px;background:var(--pv-bg);border:1px solid rgba(15,23,42,.07);
  display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 120px);overflow:auto}
.theme-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.theme-preview-head b{font-size:15px;color:var(--text-1)}
.theme-preview-head p{margin:4px 0 0;font-size:11.5px;line-height:1.65;color:var(--text-3);max-width:580px}
.theme-preview-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-radius:10px;
  border:1px solid rgba(47,107,255,.14);background:rgba(255,255,255,.64)}
.theme-preview-nav-pos{display:flex;align-items:center;gap:8px;min-width:0;font-size:10.5px;color:var(--text-3)}
.theme-preview-nav-pos b{font-size:12px;color:var(--text-1);font-variant-numeric:tabular-nums}
.theme-preview-nav-actions{display:flex;flex:none;gap:6px}
.theme-preview-nav-btn{height:30px;padding:0 11px;font-size:11px}
.theme-preview-source{display:inline-flex;margin-top:7px;padding:3px 8px;border-radius:999px;background:rgba(255,255,255,.62);
  border:1px solid rgba(15,23,42,.07);font-size:9.5px;color:#64748B}
.theme-preview-layout{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--pv-soft);color:var(--pv-accent);
  font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.theme-preview-chips{display:flex;flex-wrap:wrap;gap:5px}
.theme-preview-chips span{padding:4px 8px;border-radius:999px;font-size:10.5px;border:1px solid transparent}
.theme-preview-chips .ok{background:rgba(34,197,94,.1);color:#15803D;border-color:rgba(34,197,94,.15)}
.theme-preview-chips .miss{background:rgba(245,158,11,.1);color:#92400E;border-color:rgba(245,158,11,.16)}
.theme-preview-warnings{display:flex;flex-wrap:wrap;gap:5px}
.theme-preview-warnings span{padding:4px 8px;border-radius:7px;background:rgba(245,158,11,.09);color:#92400E;font-size:10.5px}
.theme-preview-ready{padding:7px 10px;border-radius:8px;background:rgba(34,197,94,.08);color:#15803D;font-size:11px}
.theme-preview-canvas{background:#fff;border-radius:var(--pv-radius);overflow:hidden;border:1px solid rgba(15,23,42,.07);
  box-shadow:0 22px 50px rgba(24,50,100,.10)}
.pv-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:20px;padding:30px;border-bottom:1px solid rgba(15,23,42,.06);
  background:linear-gradient(140deg,var(--pv-soft),#fff 72%)}
.pv-hero-center{grid-template-columns:1fr;text-align:center}
.pv-hero-center .pv-cta,.pv-hero-center .pv-hero-copy{justify-content:center}
.pv-hero-compact{padding:22px 26px;grid-template-columns:1.4fr .6fr}
.pv-hero-copy{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0}
.pv-eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--pv-accent)}
.pv-hero h2{margin:0;font-size:28px;line-height:1.25;color:#0F172A;letter-spacing:-.02em}
.pv-hero p{margin:0;font-size:13px;line-height:1.8;color:#64748B;max-width:520px}
.pv-cta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pv-cta b{padding:9px 14px;border-radius:9px;background:var(--pv-accent);color:#fff;font-size:12px}
.pv-cta span{padding:9px 14px;border-radius:9px;border:1px solid rgba(15,23,42,.12);font-size:12px;color:#334155}
.pv-hero-art{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:14px;border-radius:14px;
  background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.78);box-shadow:inset 0 0 0 1px rgba(15,23,42,.03)}
.pv-hero-art i{height:9px;border-radius:5px;background:var(--pv-accent);opacity:.16}
.pv-hero-art i:nth-child(2){width:78%;opacity:.22}.pv-hero-art i:nth-child(3){width:56%;opacity:.28}
.pv-hero-art b{height:70px;border-radius:10px;background:linear-gradient(135deg,var(--pv-soft),var(--pv-accent));opacity:.22}
.pv-section{padding:24px 28px;border-bottom:1px solid rgba(15,23,42,.06)}
.pv-section:last-child{border-bottom:0}
.pv-section h3{margin:0 0 14px;font-size:16px;color:#0F172A}
.pv-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.pv-trust-grid>div{padding:11px;border-radius:9px;background:rgba(255,255,255,.78);border:1px solid rgba(15,23,42,.06)}
.pv-trust-grid span{display:block;font-size:10px;color:#94A3B8;margin-bottom:3px}
.pv-trust-grid b{font-size:12px;color:#334155;word-break:break-word}
.pv-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pv-card{padding:14px;border-radius:10px;border:1px solid rgba(15,23,42,.07);background:rgba(255,255,255,.84)}
.pv-num{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:20px;border-radius:6px;
  background:var(--pv-soft);color:var(--pv-accent);font-size:10px;font-weight:700;margin-bottom:8px}
.pv-card b{display:block;font-size:13px;color:#0F172A;margin-bottom:5px}
.pv-card p{margin:0;font-size:11.5px;line-height:1.65;color:#64748B;min-height:38px}
.pv-card em{display:block;margin-top:7px;font-size:10.5px;font-style:normal;color:var(--pv-accent)}
.pv-price-list{display:flex;flex-direction:column;gap:7px}
.pv-price-list>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 12px;
  border-radius:8px;background:rgba(255,255,255,.8);border:1px solid rgba(15,23,42,.06)}
.pv-price-list b{font-size:12px;color:#334155}.pv-price-list span{font-size:11px;color:#64748B;text-align:right}
.pv-note{margin:10px 0 0;font-size:10.5px;color:#94A3B8;line-height:1.6}
.pv-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none;counter-reset:pvstep}
.pv-steps li{counter-increment:pvstep;padding:11px;border-radius:9px;background:rgba(255,255,255,.8);
  border:1px solid rgba(15,23,42,.06);font-size:11px;color:#475569;line-height:1.5}
.pv-steps li::before{content:counter(pvstep);display:flex;align-items:center;justify-content:center;width:20px;height:20px;
  margin-bottom:6px;border-radius:50%;background:var(--pv-accent);color:#fff;font-size:10px;font-weight:700}
.pv-faq{display:flex;flex-direction:column;gap:6px}
.pv-faq details{border:1px solid rgba(15,23,42,.07);border-radius:9px;background:rgba(255,255,255,.8);overflow:hidden}
.pv-faq summary{cursor:pointer;padding:11px 13px;font-size:12px;font-weight:600;color:#334155}
.pv-faq p{margin:0;padding:0 13px 12px;font-size:11.5px;line-height:1.7;color:#64748B}
.pv-areas{display:flex;flex-wrap:wrap;gap:6px}
.pv-areas span{padding:6px 10px;border-radius:999px;background:var(--pv-soft);color:var(--pv-accent);font-size:11px}
.pv-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pv-contact-grid>div{padding:10px 12px;border-radius:9px;background:rgba(255,255,255,.8);border:1px solid rgba(15,23,42,.06)}
.pv-contact-grid span{display:block;font-size:10px;color:#94A3B8;margin-bottom:3px}
.pv-contact-grid b{font-size:12px;color:#334155;word-break:break-word}
.pv-empty{padding:18px;border-radius:9px;border:1px dashed rgba(15,23,42,.14);color:#94A3B8;font-size:11.5px;text-align:center}
.pv-missing{color:#B45309;font-size:10.5px}
.theme-preview--trust .theme-preview-canvas{border-color:color-mix(in srgb,var(--pv-accent) 18%,white);border-radius:20px;box-shadow:0 24px 52px color-mix(in srgb,var(--pv-accent) 9%,transparent)}
.theme-preview--trust .pv-hero{grid-template-columns:1.25fr .75fr;background:linear-gradient(125deg,#fff 30%,var(--pv-soft))}
.theme-preview--trust .pv-hero-art{border-radius:22px 22px 22px 5px;border-color:color-mix(in srgb,var(--pv-accent) 18%,white);background:linear-gradient(145deg,#fff,var(--pv-soft))}
.theme-preview--trust .pv-trust-grid>div{border-radius:999px;border-left:3px solid var(--pv-accent);padding:12px 15px}
.theme-preview--trust .pv-card{border-radius:13px;border-top:3px solid var(--pv-accent);background:#fff}
.theme-preview--trust .pv-section h3{padding-left:12px;border-left:3px solid var(--pv-accent)}
.theme-preview--proof .theme-preview-canvas{border-color:#B8DDCD;border-radius:3px;box-shadow:none;background:#F7FCF9}
.theme-preview--proof .pv-hero{grid-template-columns:1.15fr .85fr;background:#fff;border-bottom:4px solid var(--pv-accent)}
.theme-preview--proof .pv-eyebrow{font-family:ui-monospace,Consolas,monospace;letter-spacing:.1em;text-transform:uppercase}
.theme-preview--proof .pv-hero h2{font-weight:800;letter-spacing:-.035em}
.theme-preview--proof .pv-hero-art{border-radius:2px;border:1px solid #B8DDCD;background:#F5FBF8;box-shadow:8px 8px 0 var(--pv-soft)}
.theme-preview--proof .pv-trust-grid>div{border-radius:2px;border-top:3px solid var(--pv-accent);background:#fff}
.theme-preview--proof .pv-price-list>div{border-radius:2px;border-left:4px solid var(--pv-accent);background:#fff}
.theme-preview--proof .pv-faq details{border-radius:2px;border-left:3px solid var(--pv-accent);background:#fff}
.theme-preview--knowledge .theme-preview-canvas{border-color:#E9D6B2;border-radius:28px;background:#FFFCF6;box-shadow:0 26px 56px rgba(146,64,14,.09)}
.theme-preview--knowledge .pv-hero{grid-template-columns:1fr;text-align:center;background:radial-gradient(circle at 50% -12%,var(--pv-soft),transparent 64%),#FFFCF6}
.theme-preview--knowledge .pv-hero-copy{align-items:center}.theme-preview--knowledge .pv-hero-art{display:none}
.theme-preview--knowledge .pv-hero h2,.theme-preview--knowledge .pv-section h3{font-family:Georgia,'Noto Serif SC',serif}
.theme-preview--knowledge .pv-faq details{border-radius:16px;border-top:3px solid var(--pv-accent);background:#fff}
.theme-preview--knowledge .pv-faq summary{padding:13px 16px}
.theme-preview--knowledge .pv-card,.theme-preview--knowledge .pv-trust-grid>div,.theme-preview--knowledge .pv-contact-grid>div{border-radius:18px;background:#fff}
.theme-preview--directory .theme-preview-canvas{border-radius:0;border-color:#C9D5E5;box-shadow:none;background:linear-gradient(rgba(37,99,235,.035) 1px,transparent 1px),#F4F7FB;background-size:100% 28px}
.theme-preview--directory .pv-hero{grid-template-columns:1.4fr .6fr;background:#fff;border-left:8px solid var(--pv-accent);border-bottom:1px solid #C9D5E5}
.theme-preview--directory .pv-eyebrow{font-family:ui-monospace,Consolas,monospace;letter-spacing:.08em;text-transform:uppercase}
.theme-preview--directory .pv-hero-art{border-radius:0;border:1px solid #C9D5E5;background:transparent;box-shadow:none}
.theme-preview--directory .pv-section{padding:20px 24px;border-bottom:1px solid #D7E0EC}
.theme-preview--directory .pv-section h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.theme-preview--directory .pv-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-preview--directory .pv-card,.theme-preview--directory .pv-trust-grid>div,.theme-preview--directory .pv-price-list>div,
.theme-preview--directory .pv-steps li,.theme-preview--directory .pv-faq details,.theme-preview--directory .pv-contact-grid>div{border-radius:0;border-color:#D7E0EC;background:#fff}
.theme-preview--directory .pv-areas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
.theme-preview--directory .pv-areas span{border-radius:0;border-left:3px solid var(--pv-accent);background:#fff}
.theme-preview--minimal .theme-preview-canvas{border-color:#E5E7EB;box-shadow:none}
.theme-preview--minimal .pv-hero{grid-template-columns:1fr;padding:44px 34px;background:#fff;border-bottom:1px solid #111827;text-align:center}
.theme-preview--minimal .pv-hero-copy{align-items:center}
.theme-preview--minimal .pv-hero-art{display:none}
.theme-preview--minimal .pv-hero h2{font-size:36px;letter-spacing:-.05em}
.theme-preview--minimal .pv-hero p{max-width:560px}
.theme-preview--minimal .pv-section{padding:30px 34px}
.theme-preview--minimal .pv-section h3{font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.theme-preview--minimal .pv-card,.theme-preview--minimal .pv-trust-grid>div,.theme-preview--minimal .pv-price-list>div,
.theme-preview--minimal .pv-steps li,.theme-preview--minimal .pv-faq details,.theme-preview--minimal .pv-contact-grid>div{
  border-radius:0;background:#fff;border-color:#E5E7EB}
.theme-preview--minimal .pv-num,.theme-preview--minimal .pv-areas span,.theme-preview--minimal .pv-cta b{border-radius:0}
.theme-preview--editorial .theme-preview-canvas{border-color:#DCCDB5;border-radius:0;box-shadow:none}
.theme-preview--editorial .pv-hero{grid-template-columns:1.25fr .75fr;padding:38px 34px;background:#FCF8F1;border-bottom:3px double #D6C7AF}
.theme-preview--editorial .pv-hero h2,.theme-preview--editorial .pv-section h3{font-family:Georgia,'Noto Serif SC','Songti SC',serif}
.theme-preview--editorial .pv-hero h2{font-size:34px;font-weight:600;letter-spacing:-.025em}
.theme-preview--editorial .pv-eyebrow{letter-spacing:.18em}
.theme-preview--editorial .pv-hero-art{border-radius:0;transform:rotate(1deg);background:#fff;border-color:#E7DAC5;box-shadow:8px 8px 0 #F2E7D6}
.theme-preview--editorial .pv-section{padding:28px 34px;border-bottom:1px solid #E9DFCF}
.theme-preview--editorial .pv-card,.theme-preview--editorial .pv-trust-grid>div,.theme-preview--editorial .pv-price-list>div,
.theme-preview--editorial .pv-steps li,.theme-preview--editorial .pv-faq details,.theme-preview--editorial .pv-contact-grid>div{
  border-radius:0;background:rgba(255,255,255,.66)}
.theme-preview--editorial .pv-num{border-radius:0}
.theme-preview--storefront .theme-preview-canvas{border-radius:24px;box-shadow:0 22px 50px rgba(194,65,12,.10)}
.theme-preview--storefront .pv-hero{background:linear-gradient(135deg,#FFF0E3,#fff 58%,#FFE7D1)}
.theme-preview--storefront .pv-hero-art{border-radius:22px;border:2px dashed rgba(194,65,12,.16);background:rgba(255,255,255,.72)}
.theme-preview--storefront .pv-card,.theme-preview--storefront .pv-trust-grid>div,.theme-preview--storefront .pv-price-list>div,
.theme-preview--storefront .pv-steps li,.theme-preview--storefront .pv-faq details,.theme-preview--storefront .pv-contact-grid>div{
  border-radius:16px;background:#FFFDFA;border-color:rgba(194,65,12,.10)}
.theme-preview--storefront .pv-cta b{border-radius:999px;padding:10px 18px}
.theme-preview--storefront .pv-steps li{border-radius:16px}
.theme-preview--storefront .pv-section h3{font-size:17px}
.theme-preview--corporate .pv-hero{background:linear-gradient(130deg,#0B2447,#184E77 58%,#1F6F8B);border-bottom:0}
.theme-preview--corporate .pv-hero h2{color:#fff}
.theme-preview--corporate .pv-hero p{color:rgba(255,255,255,.78)}
.theme-preview--corporate .pv-eyebrow{color:#BFDBFE}
.theme-preview--corporate .pv-cta b{background:#fff;color:#184E77;border-radius:4px}
.theme-preview--corporate .pv-cta span{color:#E2E8F0;border-color:rgba(255,255,255,.32)}
.theme-preview--corporate .pv-hero-art{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.14)}
.theme-preview--corporate .pv-hero-art i{background:#fff}
.theme-preview--corporate .pv-hero-art b{background:linear-gradient(135deg,rgba(255,255,255,.18),rgba(255,255,255,.52))}
.theme-preview--corporate .pv-section h3{border-left:3px solid var(--pv-accent);padding-left:10px}
.theme-preview--corporate .pv-card,.theme-preview--corporate .pv-trust-grid>div,.theme-preview--corporate .pv-price-list>div,
.theme-preview--corporate .pv-steps li,.theme-preview--corporate .pv-faq details,.theme-preview--corporate .pv-contact-grid>div{border-radius:4px}
.theme-preview--landing .pv-hero{grid-template-columns:1fr;padding:46px 42px 52px;text-align:center;
  background:radial-gradient(circle at 50% -10%,var(--pv-soft),transparent 62%),#fff}
.theme-preview--landing .pv-hero-copy{align-items:center}
.theme-preview--landing .pv-hero-art{display:none}
.theme-preview--landing .pv-hero h2{max-width:620px;margin:0 auto;font-size:38px;letter-spacing:-.04em}
.theme-preview--landing .pv-hero p{max-width:560px;margin:0 auto}
.theme-preview--landing .pv-cta b{border-radius:999px;padding:11px 22px;box-shadow:0 10px 24px var(--pv-soft)}
.theme-preview--landing .pv-cta span{border-radius:999px}
.theme-preview--landing .pv-card{box-shadow:0 12px 28px rgba(37,99,235,.08)}
.theme-preview--grid .theme-preview-canvas{border-color:#CFDDD9;border-radius:0;box-shadow:none}
.theme-preview--grid .pv-hero{grid-template-columns:1.5fr .5fr;background:#fff;border-bottom:2px solid var(--pv-accent)}
.theme-preview--grid .pv-hero-art{border-radius:0;border:1px solid #CFDDD9;background:transparent;box-shadow:none}
.theme-preview--grid .pv-section{padding:20px 24px;border-bottom:1px solid #CFDDD9}
.theme-preview--grid .pv-section h3{font-size:12px;letter-spacing:.08em;text-transform:uppercase}
.theme-preview--grid .pv-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-preview--grid .pv-card,.theme-preview--grid .pv-trust-grid>div,.theme-preview--grid .pv-price-list>div,
.theme-preview--grid .pv-steps li,.theme-preview--grid .pv-faq details,.theme-preview--grid .pv-contact-grid>div{
  border-radius:0;border-color:#D7E3E0;background:#fff}
.theme-preview--grid .pv-num{border-radius:0}
.theme-preview--moving .pv-hero{grid-template-columns:1fr .72fr;background:linear-gradient(120deg,var(--pv-soft),#fff 62%)}
.theme-preview--moving .pv-hero-art{border:1px dashed color-mix(in srgb,var(--pv-accent) 26%,white);background:#fff}
.theme-preview--moving .pv-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.theme-preview--moving .pv-card{border-left:4px solid var(--pv-accent);border-radius:6px;box-shadow:0 8px 20px rgba(37,99,235,.05)}
.theme-preview--moving .pv-section h3::before{content:"01  /  ";color:var(--pv-accent);font-size:11px;letter-spacing:.06em}
.theme-preview--cleaning .pv-hero{background:radial-gradient(circle at 84% 6%,var(--pv-soft),transparent 48%),#fff}
.theme-preview--cleaning .pv-hero-art{border-radius:999px 28px 28px 999px;border:1px solid color-mix(in srgb,var(--pv-accent) 18%,white)}
.theme-preview--cleaning .pv-areas span{border-radius:8px;background:#fff;border:1px solid color-mix(in srgb,var(--pv-accent) 22%,white)}
.theme-preview--cleaning .pv-section h3{font-weight:600;letter-spacing:.01em}
.theme-preview--renovation .theme-preview-canvas{border-radius:0;box-shadow:0 18px 42px rgba(120,80,20,.08)}
.theme-preview--renovation .pv-hero{grid-template-columns:1.35fr .65fr;background:#FFFCF5;border-bottom:1px solid #E7DAC5}
.theme-preview--renovation .pv-hero h2,.theme-preview--renovation .pv-section h3{font-family:Georgia,'Noto Serif SC',serif;font-weight:600}
.theme-preview--renovation .pv-hero-art{border-radius:0;border:10px solid #fff;background:#F4E7D3;box-shadow:10px 10px 0 var(--pv-soft)}
.theme-preview--renovation .pv-card,.theme-preview--renovation .pv-trust-grid>div,.theme-preview--renovation .pv-price-list>div,
.theme-preview--renovation .pv-steps li,.theme-preview--renovation .pv-faq details,.theme-preview--renovation .pv-contact-grid>div{
  border-radius:0;background:#fff;border-color:#E9DFCF}
.theme-preview--repair .pv-hero{background:linear-gradient(115deg,var(--pv-soft),#fff 60%);border-bottom:3px solid var(--pv-accent)}
.theme-preview--repair .pv-eyebrow{font-family:ui-monospace,Consolas,monospace;letter-spacing:.1em}
.theme-preview--repair .pv-card{border-top:3px solid var(--pv-accent);border-radius:5px;background:#fff}
.theme-preview--repair .pv-price-list>div{border-left:3px solid var(--pv-accent);border-radius:4px}
.theme-preview--repair .pv-steps li{border-radius:4px;background:linear-gradient(180deg,#fff,var(--pv-soft))}
.theme-preview--clinic .theme-preview-canvas{border-color:color-mix(in srgb,var(--pv-accent) 18%,white);box-shadow:0 24px 54px color-mix(in srgb,var(--pv-accent) 10%,transparent)}
.theme-preview--clinic .pv-hero{grid-template-columns:1.3fr .7fr;background:linear-gradient(135deg,#fff,var(--pv-soft));border-bottom:0}
.theme-preview--clinic .pv-hero-art{border-radius:42% 58% 52% 48% / 46% 44% 56% 54%;background:rgba(255,255,255,.72)}
.theme-preview--clinic .pv-trust-grid>div{border-color:color-mix(in srgb,var(--pv-accent) 13%,white);background:#fff}
.theme-preview--clinic .pv-section h3::before{content:"+";display:inline-flex;margin-right:8px;color:var(--pv-accent)}
.theme-preview--clinic .pv-card,.theme-preview--clinic .pv-faq details,.theme-preview--clinic .pv-contact-grid>div{border-radius:18px;background:#fff}
.theme-preview--automotive .theme-preview-canvas{border-radius:4px;box-shadow:0 24px 46px rgba(15,23,42,.16)}
.theme-preview--automotive .pv-hero{background:linear-gradient(125deg,#111827,#334155 62%,#1F2937);border-bottom:4px solid var(--pv-accent)}
.theme-preview--automotive .pv-hero h2{color:#fff;font-weight:900;text-transform:uppercase;letter-spacing:-.03em}
.theme-preview--automotive .pv-hero p{color:#CBD5E1}.theme-preview--automotive .pv-eyebrow{color:#FCA5A5}
.theme-preview--automotive .pv-cta b{background:var(--pv-accent);border-radius:2px;text-transform:uppercase}
.theme-preview--automotive .pv-cta span{color:#E2E8F0;border-color:#475569}.theme-preview--automotive .pv-hero-art{background:rgba(255,255,255,.08);border-color:#475569}
.theme-preview--automotive .pv-card,.theme-preview--automotive .pv-trust-grid>div,.theme-preview--automotive .pv-price-list>div,
.theme-preview--automotive .pv-steps li,.theme-preview--automotive .pv-faq details,.theme-preview--automotive .pv-contact-grid>div{border-radius:2px;border-top:3px solid var(--pv-accent)}
.theme-preview--dining .theme-preview-canvas{border-radius:22px;box-shadow:0 24px 50px rgba(194,65,12,.10)}
.theme-preview--dining .pv-hero{background:linear-gradient(135deg,var(--pv-soft),#fff 70%)}
.theme-preview--dining .pv-hero h2,.theme-preview--dining .pv-section h3{font-family:Georgia,'Noto Serif SC',serif}
.theme-preview--dining .pv-card,.theme-preview--dining .pv-price-list>div{border-style:dashed;border-color:color-mix(in srgb,var(--pv-accent) 28%,white);background:#FFFDF8}
.theme-preview--dining .pv-price-list b{font-family:Georgia,'Noto Serif SC',serif;font-size:13px}
.theme-preview--dining .pv-cta b{border-radius:999px;padding:10px 18px}
.theme-preview--beauty .theme-preview-canvas{border-radius:28px;border-color:rgba(219,39,119,.12);box-shadow:0 28px 60px rgba(219,39,119,.10)}
.theme-preview--beauty .pv-hero{background:radial-gradient(circle at 50% 0,var(--pv-soft),#fff 72%);text-align:center;grid-template-columns:1fr}
.theme-preview--beauty .pv-hero-copy{align-items:center}.theme-preview--beauty .pv-hero-art{display:none}
.theme-preview--beauty .pv-section h3{text-align:center;text-decoration:underline;text-decoration-color:var(--pv-accent);text-underline-offset:7px;text-decoration-thickness:1px}
.theme-preview--beauty .pv-card,.theme-preview--beauty .pv-trust-grid>div,.theme-preview--beauty .pv-price-list>div,
.theme-preview--beauty .pv-steps li,.theme-preview--beauty .pv-faq details,.theme-preview--beauty .pv-contact-grid>div{border-radius:22px;background:#fff;border-color:rgba(219,39,119,.10)}
.theme-preview--fitness .theme-preview-canvas{border-radius:6px;box-shadow:0 24px 54px rgba(22,163,74,.13)}
.theme-preview--fitness .pv-hero{background:linear-gradient(130deg,#14532D,#166534 58%,#16A34A);border-bottom:0;clip-path:polygon(0 0,100% 0,100% 92%,0 100%)}
.theme-preview--fitness .pv-hero h2{color:#fff;font-size:34px;font-weight:900;text-transform:uppercase}
.theme-preview--fitness .pv-hero p{color:#DCFCE7}.theme-preview--fitness .pv-eyebrow{color:#BBF7D0}
.theme-preview--fitness .pv-cta b{background:#DCFCE7;color:#14532D;border-radius:2px;text-transform:uppercase}
.theme-preview--fitness .pv-cta span{color:#fff;border-color:rgba(255,255,255,.35)}.theme-preview--fitness .pv-hero-art{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.15)}
.theme-preview--fitness .pv-section h3{text-transform:uppercase;font-weight:800}.theme-preview--fitness .pv-card{border-left:5px solid var(--pv-accent);border-radius:2px}
.theme-preview--education .theme-preview-canvas{border-radius:2px;border-color:#D6E0F5;box-shadow:none}
.theme-preview--education .pv-hero{background:linear-gradient(120deg,#F8FAFF,#fff 68%);border-bottom:2px solid var(--pv-accent)}
.theme-preview--education .pv-hero h2,.theme-preview--education .pv-section h3{font-family:Georgia,'Noto Serif SC',serif}
.theme-preview--education .pv-section{border-bottom:1px solid #DCE6F7}.theme-preview--education .pv-steps li{border-radius:0;border-top:3px solid var(--pv-accent);background:#fff}
.theme-preview--education .pv-card,.theme-preview--education .pv-faq details,.theme-preview--education .pv-contact-grid>div{border-radius:0;background:#fff}
.theme-preview--legal .theme-preview-canvas{border-radius:0;box-shadow:none;border-color:#D8C9C9}
.theme-preview--legal .pv-hero{background:#FFF9F9;border-bottom:4px double var(--pv-accent)}
.theme-preview--legal .pv-hero h2,.theme-preview--legal .pv-section h3{font-family:Georgia,'Noto Serif SC',serif}
.theme-preview--legal .pv-section h3{font-size:14px;text-transform:uppercase;letter-spacing:.12em;border-left:4px solid var(--pv-accent);padding-left:12px}
.theme-preview--legal .pv-card,.theme-preview--legal .pv-trust-grid>div,.theme-preview--legal .pv-price-list>div,
.theme-preview--legal .pv-steps li,.theme-preview--legal .pv-faq details,.theme-preview--legal .pv-contact-grid>div{border-radius:0;background:#fff;border-color:#E4D6D6}
.theme-preview--finance .theme-preview-canvas{background:linear-gradient(rgba(4,120,87,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(4,120,87,.035) 1px,transparent 1px),#fff;background-size:22px 22px;border-radius:4px}
.theme-preview--finance .pv-hero{background:linear-gradient(125deg,#ECFDF5,#fff 62%);border-bottom:3px solid var(--pv-accent)}
.theme-preview--finance .pv-eyebrow,.theme-preview--finance .pv-num{font-family:ui-monospace,Consolas,monospace}
.theme-preview--finance .pv-card,.theme-preview--finance .pv-price-list>div{background:#fff;border-radius:3px;border-left:3px solid var(--pv-accent)}
.theme-preview--finance .pv-price-list>div{border-bottom:1px solid #D1FAE5}.theme-preview--finance .pv-section h3{font-weight:700}
.theme-preview--realty .pv-hero{background:linear-gradient(125deg,var(--pv-soft),#fff 66%)}.theme-preview--realty .pv-hero-art{background:#fff;border-color:var(--pv-soft)}
.theme-preview--realty .pv-hero-art b{height:90px;border-radius:8px 8px 2px 2px}.theme-preview--realty .pv-card{border-top:6px solid var(--pv-accent);border-radius:4px;background:#fff}
.theme-preview--realty .pv-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.theme-preview--realty .pv-areas span{border-radius:3px;border:1px solid var(--pv-soft);background:#fff}
.theme-preview--pet .theme-preview-canvas{border-radius:32px;box-shadow:0 24px 54px rgba(249,115,22,.12)}
.theme-preview--pet .pv-hero{background:radial-gradient(circle at 50% 0,var(--pv-soft),#fff 70%);text-align:center;grid-template-columns:1fr}
.theme-preview--pet .pv-hero-copy{align-items:center}.theme-preview--pet .pv-hero-art{display:none}.theme-preview--pet .pv-cta b{border-radius:999px}
.theme-preview--pet .pv-card,.theme-preview--pet .pv-trust-grid>div,.theme-preview--pet .pv-faq details,.theme-preview--pet .pv-contact-grid>div{border-radius:22px;border-style:dashed;background:#FFFEFB}
.theme-preview--maternal .theme-preview-canvas{border-radius:30px;border-color:rgba(236,72,153,.12);box-shadow:0 28px 58px rgba(236,72,153,.10)}
.theme-preview--maternal .pv-hero{background:linear-gradient(145deg,#FFF9FC,var(--pv-soft));text-align:center;grid-template-columns:1fr}
.theme-preview--maternal .pv-hero-copy{align-items:center}.theme-preview--maternal .pv-hero-art{display:none}.theme-preview--maternal .pv-cta b{border-radius:999px}
.theme-preview--maternal .pv-card,.theme-preview--maternal .pv-trust-grid>div,.theme-preview--maternal .pv-faq details,.theme-preview--maternal .pv-contact-grid>div{border-radius:24px;background:#fff}
.theme-preview--logistics .theme-preview-canvas{border-radius:0;background:linear-gradient(rgba(3,105,161,.04) 1px,transparent 1px),#fff;background-size:100% 28px}
.theme-preview--logistics .pv-hero{background:linear-gradient(120deg,#082F49,#0369A1);border-bottom:5px solid #38BDF8}
.theme-preview--logistics .pv-hero h2{color:#fff;font-weight:800}.theme-preview--logistics .pv-hero p{color:#BAE6FD}.theme-preview--logistics .pv-eyebrow{color:#7DD3FC}
.theme-preview--logistics .pv-cta b{background:#38BDF8;color:#082F49;border-radius:0}.theme-preview--logistics .pv-cta span{color:#fff;border-color:#38BDF8}
.theme-preview--logistics .pv-hero-art{background:rgba(255,255,255,.08);border-color:#38BDF8}.theme-preview--logistics .pv-section h3{text-transform:uppercase;letter-spacing:.08em;border-bottom:2px solid var(--pv-accent);padding-bottom:6px}
.theme-preview--logistics .pv-card,.theme-preview--logistics .pv-price-list>div,.theme-preview--logistics .pv-contact-grid>div{border-radius:0;border-left:4px solid var(--pv-accent);background:#fff}
.theme-preview--wedding .theme-preview-canvas{border-radius:0;border-color:#F3C8D1;box-shadow:0 24px 52px rgba(190,18,60,.08)}
.theme-preview--wedding .pv-hero{background:linear-gradient(145deg,#FFF8F9,#fff 66%);text-align:center;grid-template-columns:1fr;border-top:6px double var(--pv-accent);border-bottom:6px double var(--pv-accent)}
.theme-preview--wedding .pv-hero-copy{align-items:center}.theme-preview--wedding .pv-hero-art{display:none}
.theme-preview--wedding .pv-hero h2,.theme-preview--wedding .pv-section h3{font-family:Georgia,'Noto Serif SC',serif;font-style:italic}
.theme-preview--wedding .pv-card,.theme-preview--wedding .pv-trust-grid>div,.theme-preview--wedding .pv-faq details,.theme-preview--wedding .pv-contact-grid>div{border-radius:0;border-color:#F2DCE1;background:#FFFCFD}
.theme-preview--travel .pv-hero{grid-template-columns:1fr;padding:42px;background:linear-gradient(120deg,#0C4A6E,#0284C7 58%,#7DD3FC);position:relative}
.theme-preview--travel .pv-hero-copy{max-width:620px}.theme-preview--travel .pv-hero h2{color:#fff;font-size:36px}.theme-preview--travel .pv-hero p{color:#E0F2FE}
.theme-preview--travel .pv-eyebrow{color:#BAE6FD}.theme-preview--travel .pv-cta b{background:#fff;color:#0C4A6E;border-radius:999px}.theme-preview--travel .pv-cta span{color:#fff;border-color:rgba(255,255,255,.35)}
.theme-preview--travel .pv-hero-art{display:none}.theme-preview--travel .pv-card{border-radius:16px;border-top:6px solid var(--pv-accent);background:#fff}
.theme-preview--travel .pv-areas span{background:#fff;border:1px solid #BAE6FD;border-radius:8px}
.theme-preview--manufacturing .theme-preview-canvas{border-radius:0;background:linear-gradient(rgba(7,89,133,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(7,89,133,.05) 1px,transparent 1px),#F8FAFC;background-size:20px 20px;box-shadow:none}
.theme-preview--manufacturing .pv-hero{background:rgba(255,255,255,.86);border-bottom:4px solid var(--pv-accent);grid-template-columns:1.45fr .55fr}
.theme-preview--manufacturing .pv-eyebrow,.theme-preview--manufacturing .pv-section h3{font-family:ui-monospace,Consolas,monospace;text-transform:uppercase;letter-spacing:.06em}
.theme-preview--manufacturing .pv-hero-art{border-radius:0;border:1px solid #94A3B8;background:#fff}
.theme-preview--manufacturing .pv-card,.theme-preview--manufacturing .pv-trust-grid>div,.theme-preview--manufacturing .pv-faq details,.theme-preview--manufacturing .pv-contact-grid>div{border-radius:0;border-color:#CBD5E1;background:rgba(255,255,255,.92)}
.theme-preview--franchise .theme-preview-canvas{border-radius:18px;box-shadow:0 24px 54px rgba(217,119,6,.12)}
.theme-preview--franchise .pv-hero{background:linear-gradient(125deg,var(--pv-soft),#fff 62%);border-bottom:4px solid var(--pv-accent)}
.theme-preview--franchise .pv-hero h2{font-weight:800}.theme-preview--franchise .pv-section h3{border-left:5px solid var(--pv-accent);padding-left:12px;font-weight:800}
.theme-preview--franchise .pv-price-list>div{border:1px solid color-mix(in srgb,var(--pv-accent) 20%,white);border-left:5px solid var(--pv-accent);background:#FFFAED}
.theme-preview--franchise .pv-card,.theme-preview--franchise .pv-trust-grid>div,.theme-preview--franchise .pv-faq details,.theme-preview--franchise .pv-contact-grid>div{border-radius:12px;background:#fff}
.theme-preview-actions{justify-content:flex-end;margin:0}
@media (max-width:760px){.pv-hero,.pv-hero-compact{grid-template-columns:1fr}.pv-trust-grid,.pv-steps{grid-template-columns:repeat(2,1fr)}.pv-cards{grid-template-columns:1fr}.pv-contact-grid{grid-template-columns:1fr}}
.rules-longtext{white-space:pre-wrap;line-height:1.8;max-height:52vh;overflow:auto}
@media (max-width:1320px){.rules-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.rules-theme-grid{grid-template-columns:1fr}}
.rules-check{display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--text-1);margin:4px 0 14px}
.rules-result-head{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid rgba(15,23,42,.06)}
.rules-result-head b{font-size:13px;color:var(--text-1)}
.rules-result-head span{font-size:11.5px;color:var(--text-3)}
.rules-result-list{padding:8px 16px;display:flex;flex-direction:column;gap:7px}
.rules-result-list>div{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;gap:8px;align-items:center;
  font-size:11.5px;color:var(--text-2);min-width:0}
.rules-result-list b{font-weight:500;color:var(--text-1);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rules-result-list code{font-family:ui-monospace,'SF Mono',Consolas,monospace;font-size:10.5px;
  color:var(--text-3);max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rules-subhead{padding:12px 16px 4px;font-size:11px;font-weight:600;color:var(--text-3)}
.rules-stat{display:flex;gap:26px;padding:14px 16px;font-size:11.5px;color:var(--text-3)}
.rules-stat b{font-size:17px;color:var(--text-1);margin-left:5px}
.card-pad{padding:16px}
.rules-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rules-stat-card{padding:15px 16px;border-radius:14px;border:1px solid rgba(47,107,255,.10);
  background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(47,107,255,.035));box-shadow:0 8px 24px rgba(31,111,235,.05)}
.rules-stat-card span{display:block;font-size:11.5px;color:var(--text-3)}
.rules-stat-card b{display:block;font-size:27px;line-height:34px;margin-top:4px;color:var(--text-1);letter-spacing:-.4px}
.rules-stat-card em{display:block;font-style:normal;font-size:10.5px;color:var(--text-3);margin-top:3px}
.rules-analytics{grid-template-columns:repeat(3,minmax(0,1fr));padding-bottom:16px}
.rules-analytics .rules-subhead{padding-top:4px}
.rules-bars{display:flex;flex-direction:column;gap:8px;padding:0 16px}
.rules-bar-row{display:grid;grid-template-columns:minmax(76px,1fr) 1.5fr 26px;gap:8px;align-items:center;
  font-size:11.5px;color:var(--text-2);min-width:0}
.rules-bar-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rules-bar-row b{font-size:11px;text-align:right;color:var(--text-1)}
.rules-bar-click{cursor:pointer;border-radius:8px;margin:-3px -6px;padding:3px 6px;transition:background .16s var(--ease)}
.rules-bar-click:hover,.rules-bar-click:focus-visible{background:rgba(47,107,255,.07);outline:none}
.rules-bar-track{height:6px;border-radius:999px;background:rgba(47,107,255,.09);overflow:hidden}
.rules-bar-track i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2F6BFF,#6EA8FF)}
.articles-table table{table-layout:fixed;min-width:980px}
.articles-table th:nth-child(1){width:35%}
.articles-table th:nth-child(2){width:12%}
.articles-table th:nth-child(3){width:9%}
.articles-table th:nth-child(4){width:17%}
.articles-table th:nth-child(5){width:14%}
.articles-table th:nth-child(6){width:13%}
.articles-table td:first-child{white-space:normal;line-height:1.55}
.rules-filter{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rules-filter .select{min-width:128px}
.rules-filter .input{flex:1 1 220px;min-width:180px;max-width:340px}
.rules-export-scope{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 12px;padding:10px 12px;
  border:1px solid rgba(47,107,255,.14);border-radius:10px;background:rgba(47,107,255,.045);font-size:11.5px;color:var(--text-2)}
.rules-export-scope b{color:var(--brand-500);font-weight:600}
.rules-export-scope span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rules-export-scope em{margin-left:auto;font-style:normal;color:var(--text-3)}
.rules-readonly{display:flex;min-height:38px;align-items:center;padding:0 12px;border-radius:10px;
  border:1px dashed rgba(15,23,42,.12);background:rgba(15,23,42,.025);font-size:11.5px;color:var(--text-3)}
.rules-row-actions{display:flex;flex-wrap:wrap;gap:9px}
.btn-mini{height:28px!important;padding:0 9px!important;font-size:11px!important}
.rules-inline-form{margin-top:14px;padding-top:14px;border-top:1px dashed rgba(15,23,42,.10)}
.rules-timeline{display:flex;flex-direction:column;gap:8px;padding:4px 16px 14px}
.rules-timeline>div{padding:10px 12px;border-radius:10px;background:rgba(47,107,255,.045);
  border-left:3px solid rgba(47,107,255,.35)}
.rules-timeline b{display:block;font-size:12px;font-weight:500;color:var(--text-1);line-height:1.6}
.rules-timeline em{display:block;font-style:normal;font-size:10.5px;color:var(--text-3);margin-top:4px}
.rules-code{margin:0 16px 16px;padding:14px;border-radius:12px;background:#0F172A;color:#DCE8FF;
  font-family:ui-monospace,'SF Mono',Consolas,monospace;font-size:11px;line-height:1.7;
  white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:300px}
.rules-governance{margin:12px 16px;padding:10px 12px;border-radius:9px;background:rgba(245,158,11,.09);
  color:#92400E;font-size:11.5px;line-height:1.6}
.rules-gate{display:flex;flex-direction:column;gap:6px;padding:12px 16px}
.rules-gate>div{display:grid;grid-template-columns:120px 90px minmax(0,1fr);gap:10px;align-items:start;
  padding:8px 10px;border-radius:9px;background:rgba(15,23,42,.025);font-size:11.5px;line-height:1.5}
.rules-gate>div.fail{background:rgba(245,158,11,.08)}
.rules-gate span{color:var(--text-2)}
.rules-gate b{font-family:ui-monospace,'SF Mono',Consolas,monospace;font-weight:600;color:var(--text-1)}
.rules-gate em{font-style:normal;color:var(--text-3)}
.rules-gate>div.fail em{color:#92400E}
.rules-gate>div.ok em{color:#15803D}
.rules-divider{height:1px;background:rgba(15,23,42,.07);margin:6px 0}
.readiness-filter{padding:14px 18px 0;margin-bottom:14px}
.readiness-filter .rules-muted{margin-left:auto;white-space:nowrap}
.readiness-head-actions{flex-wrap:wrap;justify-content:flex-end}
.readiness-head-actions .select{min-width:102px}
.readiness-score{display:flex;align-items:center;gap:4px;min-width:108px;flex-wrap:wrap}
.readiness-score b{font-size:22px;line-height:24px;letter-spacing:-.5px}
.readiness-score em{font-style:normal;font-size:10px;color:var(--text-3)}
.readiness-meter{flex:1 1 74px;height:5px;min-width:54px;border-radius:999px;background:rgba(15,23,42,.08);overflow:hidden}
.readiness-meter i{display:block;height:100%;border-radius:999px;transition:width .25s var(--ease)}
.readiness-grade{font-size:20px;color:var(--text-1);letter-spacing:-.4px}
.readiness-counts{display:flex;flex-wrap:wrap;gap:4px 9px;font-size:10.5px;white-space:nowrap}
.readiness-counts .ok,.readiness-item-foot .ok{color:#15803D}
.readiness-counts .warn{color:#B45309}
.readiness-counts .fail{color:#B91C1C}
.readiness-trend{display:flex;flex-direction:column;gap:4px;min-width:124px}
.readiness-trend>div{display:flex;align-items:center;gap:5px;white-space:nowrap}
.readiness-trend em{font-style:normal;font-size:9.5px;color:var(--text-3)}
.readiness-trend.idle span{font-size:10.5px;font-weight:600;color:var(--text-2)}
.readiness-trend.idle em{display:block;margin-top:2px}
.trend-badge{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:18px;
  padding:0 5px;border-radius:6px;font-size:10px;font-weight:700;font-variant-numeric:tabular-nums}
.trend-badge.up{color:#15803D;background:rgba(34,197,94,.12)}
.trend-badge.down{color:#B91C1C;background:rgba(239,68,68,.10)}
.trend-badge.flat{color:#1D4ED8;background:rgba(47,107,255,.09)}
.readiness-spark{display:block;width:112px;height:30px;overflow:visible}
.readiness-spark.wide{width:100%;height:88px}
.readiness-detail-head{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;align-items:center;
  padding:14px;margin-bottom:12px;border-radius:14px;border:1px solid rgba(47,107,255,.12);
  background:linear-gradient(145deg,rgba(255,255,255,.9),rgba(47,107,255,.04))}
.readiness-detail-head .readiness-score{min-width:0}
.readiness-detail-head .readiness-score b{font-size:38px;line-height:44px}
.readiness-detail-head p{margin:7px 0 0;font-size:11.5px;line-height:1.6;color:var(--text-2)}
.readiness-ok{margin:12px 0;padding:10px 12px;border-radius:9px;background:rgba(34,197,94,.09);
  color:#15803D;font-size:11.5px;line-height:1.6}
.readiness-history{margin:12px 0;padding:13px 14px;border-radius:12px;border:1px solid rgba(47,107,255,.11);
  background:linear-gradient(145deg,rgba(47,107,255,.035),rgba(255,255,255,.72))}
.readiness-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.readiness-history-head>div{display:flex;flex-direction:column;gap:3px}
.readiness-history-head b{font-size:12.5px;color:var(--text-1)}
.readiness-history-head span{font-size:10.5px;line-height:1.5;color:var(--text-3)}
.readiness-history-chart{margin:11px 0 10px;padding:7px 9px 3px;border-radius:10px;background:rgba(255,255,255,.58);
  border:1px solid rgba(15,23,42,.055)}
.readiness-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0}
.readiness-history-stats>span{display:flex;flex-direction:column;gap:3px;padding:8px 9px;border-radius:8px;
  background:rgba(255,255,255,.64);border:1px solid rgba(15,23,42,.055)}
.readiness-history-stats em{font-style:normal;font-size:9.5px;color:var(--text-3)}
.readiness-history-stats b{font-size:14px;font-variant-numeric:tabular-nums;color:var(--text-1)}
.readiness-history-stats b.up{color:#15803D}.readiness-history-stats b.down{color:#B91C1C}
.readiness-history-stats b.flat{color:#1D4ED8}.readiness-history-stats b.range{font-size:11px}
.readiness-history-list{display:flex;flex-direction:column;gap:4px;max-height:176px;overflow:auto}
.readiness-history-row{display:grid;grid-template-columns:128px 76px 54px minmax(0,1fr);gap:8px;align-items:center;
  padding:7px 8px;border-radius:8px;background:rgba(255,255,255,.55);font-size:10.5px;color:var(--text-2)}
.readiness-history-row b{color:var(--text-1);font-variant-numeric:tabular-nums}
.readiness-history-row em{font-style:normal;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-3)}
.readiness-history-empty{margin-top:10px;padding:10px 12px;border-radius:9px;background:rgba(15,23,42,.035);
  font-size:11px;line-height:1.6;color:var(--text-3)}
.readiness-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.readiness-item{padding:12px 13px;border-radius:11px;border:1px solid rgba(15,23,42,.07);
  border-left:3px solid #16A34A;background:rgba(255,255,255,.66)}
.readiness-item.warn{border-left-color:#F59E0B;background:rgba(245,158,11,.045)}
.readiness-item.fail{border-left-color:#DC2626;background:rgba(239,68,68,.045)}
.readiness-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px}
.readiness-item-head b{font-size:12.5px;color:var(--text-1)}
.readiness-item p{margin:7px 0 4px;font-size:11.5px;line-height:1.6;color:var(--text-2)}
.readiness-item em{display:block;font-style:normal;font-size:10.5px;line-height:1.6;color:var(--text-3)}
.readiness-item-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;
  padding-top:7px;border-top:1px dashed rgba(15,23,42,.08);font-size:10.5px;color:var(--text-3)}
.readiness-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 18px 18px}
.readiness-catalog>div{padding:11px 12px;border-radius:10px;background:rgba(47,107,255,.04);
  border:1px solid rgba(47,107,255,.09)}
.readiness-catalog b{display:block;font-size:12px;color:var(--text-1)}
.readiness-catalog span{display:block;margin-top:2px;font-size:10px;color:var(--brand-500)}
.readiness-catalog p{margin:5px 0 0;font-size:10.5px;line-height:1.55;color:var(--text-3)}
@media (max-width:980px){.rules-grid,.rules-grid-tight,.rules-analytics{grid-template-columns:1fr}}
@media (max-width:1180px){.workflow-steps{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:720px){.workflow-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.workflow-head{align-items:flex-start;flex-direction:column}}
@media (max-width:980px){.rules-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.readiness-list,.readiness-catalog{grid-template-columns:1fr}
  .readiness-detail-head{grid-template-columns:1fr}.readiness-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .readiness-history-row{grid-template-columns:1fr 76px}}
@media (max-width:620px){.rules-two,.region-grid{grid-template-columns:1fr}.rules-stat{gap:14px;flex-wrap:wrap}
  .rules-stat-grid{grid-template-columns:1fr}.rules-filter .input{max-width:none}}

/* ---------- 13. 运营后台：订单 / 渠道商 / 设置 / 通知 ---------- */
.ops-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.ops-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.ops-check-grid--single{grid-template-columns:1fr}
.ops-check{display:flex;align-items:center;gap:8px;min-height:36px;padding:7px 10px;border-radius:9px;
  border:1px solid rgba(15,23,42,.08);background:rgba(255,255,255,.58);font-size:12px;color:var(--text-2);cursor:pointer}
.ops-check:hover{border-color:rgba(47,107,255,.24);background:rgba(47,107,255,.035)}
.ops-check input{accent-color:var(--brand-500);flex:none}
.ops-check span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ops-ellipsis{display:block;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ops-notice-list{display:flex;flex-direction:column;gap:8px;padding:0 16px 16px}
.ops-notice{padding:13px 15px;border-radius:12px;border:1px solid rgba(15,23,42,.07);
  border-left:3px solid #94A3B8;background:rgba(255,255,255,.64);transition:background .16s var(--ease),opacity .16s var(--ease)}
.ops-notice:hover{background:rgba(255,255,255,.9)}
.ops-notice[data-level="high"]{border-left-color:#DC2626;background:rgba(239,68,68,.035)}
.ops-notice[data-level="warning"]{border-left-color:#F59E0B;background:rgba(245,158,11,.035)}
.ops-notice[data-level="success"]{border-left-color:#16A34A}
.ops-notice.is-read{opacity:.64}
.ops-notice-head,.ops-notice-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ops-notice-title{display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}
.ops-notice-title strong{font-size:12.5px;color:var(--text-1);font-weight:650}
.ops-notice-head time{font-size:10.5px;color:var(--text-3);white-space:nowrap}
.ops-notice-body{margin:7px 0;font-size:11.5px;line-height:1.65;color:var(--text-2);word-break:break-word}
.ops-notice-foot{padding-top:7px;border-top:1px dashed rgba(15,23,42,.07);font-size:10.5px;color:var(--text-3)}
.ops-notice-actions{display:flex;gap:10px;flex:none}
.ops-unread{display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:999px;
  color:#B91C1C;background:rgba(239,68,68,.10);font-size:9.5px;font-weight:700}
@media (max-width:760px){.ops-form-grid,.ops-check-grid{grid-template-columns:1fr}
  .ops-notice-head,.ops-notice-foot{align-items:flex-start;flex-direction:column;gap:5px}
  .ops-ellipsis{max-width:190px}}

/* ---------- 14. RPA 发布引擎 ---------- */
.rpa-engine{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 18px 18px}
.rpa-engine>div{min-width:0;padding:12px 14px;border-radius:11px;border:1px solid rgba(15,23,42,.07);
  background:rgba(255,255,255,.62)}
.rpa-engine span{display:block;margin-bottom:4px;font-size:10.5px;color:var(--text-3)}
.rpa-engine b{display:block;color:var(--text-1);font-size:12.5px;font-weight:600;word-break:break-word}
.rpa-path{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:11px;color:var(--text-3);font-variant-numeric:tabular-nums}
.rpa-steps{display:flex;flex-direction:column;gap:9px;padding:0 18px 18px;list-style:none;counter-reset:rpastep}
.rpa-steps li{position:relative;display:grid;grid-template-columns:29px minmax(0,1fr);gap:10px;align-items:start;
  padding:11px 13px;border-radius:10px;border:1px solid rgba(15,23,42,.06);background:rgba(255,255,255,.58);counter-increment:rpastep}
.rpa-steps li::before{content:counter(rpastep);display:grid;place-items:center;width:25px;height:25px;border-radius:8px;
  color:#fff;background:linear-gradient(135deg,#6FA8FF,#2F6BFF);font-size:11px;font-weight:700}
.rpa-steps b{display:block;font-size:12.5px;color:var(--text-1)}
.rpa-steps span{display:block;margin-top:2px;font-size:11.5px;line-height:1.6;color:var(--text-3)}
.rpa-actions{display:flex;flex-wrap:wrap;gap:5px 10px;min-width:150px;align-items:center}
.rpa-actions .link{white-space:nowrap}
@media (max-width:760px){.rpa-engine{grid-template-columns:1fr}.rpa-steps li{grid-template-columns:25px minmax(0,1fr)}}

/* ---------- 15. 信源平台 ---------- */
.sources-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;padding:12px 14px}
.source-filter-chips{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.source-filter-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 11px;border-radius:999px;
  border:1px solid rgba(15,23,42,.08);background:rgba(255,255,255,.68);color:var(--text-2);
  font-family:inherit;font-size:12px;cursor:pointer;transition:.16s var(--ease)}
.source-filter-chip b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;
  background:rgba(15,23,42,.055);font-size:10px;color:var(--text-3)}
.source-filter-chip:hover{border-color:rgba(47,107,255,.3);color:var(--brand-500)}
.source-filter-chip.on{border-color:rgba(47,107,255,.38);background:rgba(47,107,255,.09);color:var(--brand-500);font-weight:600}
.source-filter-chip.on b{background:rgba(47,107,255,.14);color:var(--brand-500)}
.source-search{position:relative;flex:1 1 250px;max-width:410px}
.source-search>svg{position:absolute;left:11px;top:10px;color:var(--text-3);pointer-events:none}
.source-search .input{width:100%;min-width:0;padding-left:34px}
.source-count{margin-left:auto;font-size:11.5px;color:var(--text-3);white-space:nowrap}
.sources-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.source-card{--source-accent:#2F6BFF;--source-soft:rgba(47,107,255,.10);display:flex;flex-direction:column;
  min-height:214px;padding:16px 16px 13px;border-radius:16px;border:1px solid rgba(15,23,42,.075);
  background:linear-gradient(150deg,rgba(255,255,255,.9),rgba(248,251,255,.76));
  box-shadow:0 8px 24px rgba(31,89,214,.045);color:inherit;text-decoration:none;position:relative;cursor:pointer;
  overflow:hidden;transition:transform .18s var(--ease),box-shadow .18s var(--ease),border-color .18s var(--ease)}
.source-card::after{content:"";position:absolute;right:-34px;top:-42px;width:116px;height:116px;border-radius:50%;
  background:radial-gradient(circle,var(--source-soft),transparent 68%);pointer-events:none}
.source-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--source-accent) 35%,transparent);
  box-shadow:0 16px 34px rgba(31,89,214,.13)}
.source-card:focus-visible{outline:2px solid var(--source-accent);outline-offset:2px}
.source-card--blue{--source-accent:#2F6BFF;--source-soft:rgba(47,107,255,.13)}
.source-card--violet{--source-accent:#7C3AED;--source-soft:rgba(124,58,237,.13)}
.source-card--green{--source-accent:#16A34A;--source-soft:rgba(22,163,74,.13)}
.source-card--pinned{border-color:rgba(245,158,11,.38);box-shadow:0 12px 30px rgba(180,83,9,.10)}
.source-card--pinned::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#FBBF24,#F59E0B);z-index:2}
.source-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;position:relative}
.source-card-badges{display:flex;align-items:flex-end;flex-direction:column;gap:5px;min-width:0}
.source-card-topline{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:5px}
.source-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;flex:none;
  background:linear-gradient(135deg,color-mix(in srgb,var(--source-accent) 72%,white),var(--source-accent));
  color:#fff;font-size:17px;font-weight:700;box-shadow:0 7px 16px var(--source-soft)}
.source-category{padding:4px 8px;border-radius:999px;background:var(--source-soft);color:var(--source-accent);
  font-size:10.5px;font-weight:600;white-space:nowrap}
.source-pin-trigger{position:relative;z-index:2;display:inline-flex;align-items:center;gap:3px;height:23px;padding:0 7px;
  border-radius:999px;border:1px solid rgba(100,116,139,.16);background:rgba(255,255,255,.76);color:var(--text-3);
  font-family:inherit;font-size:9.5px;font-weight:650;white-space:nowrap;cursor:pointer;transition:.16s var(--ease)}
.source-pin-trigger:hover{border-color:rgba(245,158,11,.42);background:rgba(245,158,11,.08);color:#B45309;transform:translateY(-1px)}
.source-pin-trigger.is-pinned{border-color:rgba(245,158,11,.34);background:rgba(245,158,11,.13);color:#B45309}
.source-pin-trigger:disabled{opacity:.55;cursor:wait;transform:none}
.source-enroll-trigger{position:relative;z-index:2;height:23px;padding:0 8px;border-radius:999px;cursor:pointer;
  border:1px solid transparent;font-family:inherit;font-size:10px;font-weight:650;white-space:nowrap;transition:.16s var(--ease)}
.source-enroll-trigger:hover{filter:brightness(.97);transform:translateY(-1px)}
.source-enroll-trigger.tone-idle{background:rgba(100,116,139,.11);color:#475569;border-color:rgba(100,116,139,.13)}
.source-enroll-trigger.tone-wait{background:rgba(245,158,11,.13);color:#B45309;border-color:rgba(245,158,11,.16)}
.source-enroll-trigger.tone-run{background:rgba(47,107,255,.12);color:var(--brand-500);border-color:rgba(47,107,255,.16)}
.source-enroll-trigger.tone-done{background:rgba(22,163,74,.12);color:#15803D;border-color:rgba(22,163,74,.16)}
.source-enroll-trigger.tone-fail{background:rgba(239,68,68,.11);color:#B91C1C;border-color:rgba(239,68,68,.14)}
.source-card-name{margin-top:13px;font-size:16px;font-weight:700;line-height:1.35;color:var(--text-1)}
.source-entry{display:inline-flex;align-items:center;gap:5px;margin-top:5px;font-size:10.5px;color:var(--source-accent)}
.source-imported-tag{margin-left:3px;padding:1px 5px;border-radius:999px;background:rgba(22,163,74,.09);
  color:#15803D;font-size:9px;font-weight:600;white-space:nowrap}
.source-account-meta{display:flex;flex-wrap:wrap;gap:4px 7px;margin-top:7px;font-size:9.5px;line-height:1.45;color:var(--text-3)}
.source-account-meta span{padding:2px 6px;border-radius:5px;background:rgba(15,23,42,.045)}
.source-card p{flex:1;margin:10px 0 12px;font-size:11.5px;line-height:1.7;color:var(--text-3);word-break:break-word}
.source-card-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:10px;
  border-top:1px dashed rgba(15,23,42,.08);font-size:11px;font-weight:600;color:var(--source-accent)}
.source-card-link svg{transition:transform .16s var(--ease)}
.source-card:hover .source-card-link svg{transform:translateX(3px)}
.source-card-hit{position:absolute;inset:0;z-index:1;border-radius:inherit}
.source-card-hit:focus-visible{outline:2px solid var(--source-accent);outline-offset:-3px}
.source-status-filter{display:flex;align-items:center;gap:7px;flex:none}
.source-status-filter label{font-size:10.5px;color:var(--text-3);white-space:nowrap}
.source-status-filter .select{height:32px;min-width:128px;padding:0 28px 0 9px;font-size:11.5px;background-color:#fff}
.source-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  min-height:220px;padding:28px;border-radius:16px;border:1px dashed rgba(15,23,42,.12);
  background:rgba(255,255,255,.45);color:var(--text-3);text-align:center}
.source-empty svg{color:rgba(47,107,255,.55);margin-bottom:2px}
.source-empty b{font-size:13px;color:var(--text-2)}
.source-empty span{font-size:11.5px}
.sources-footnote{padding:0 4px 6px;font-size:10.5px;line-height:1.65;color:var(--text-3)}
.source-enroll-form{display:flex;flex-direction:column;gap:12px;padding:0 18px 20px}
.source-enroll-summary{display:flex;align-items:center;gap:11px;padding:12px 13px;border-radius:12px;
  border:1px solid rgba(47,107,255,.12);background:rgba(47,107,255,.045)}
.source-enroll-summary b{display:block;font-size:14px;color:var(--text-1)}
.source-enroll-summary p{margin:2px 0 0;font-size:11px;color:var(--text-3)}
.source-enroll-account-state{padding:10px 12px;border-radius:10px;border:1px solid rgba(15,23,42,.07);
  background:rgba(255,255,255,.62);font-size:11.5px;line-height:1.65;color:var(--text-2)}
.source-enroll-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.source-enroll-hint{padding:9px 11px;border-radius:9px;background:rgba(245,158,11,.065);
  border:1px solid rgba(245,158,11,.14);font-size:10.5px;line-height:1.65;color:#92400E}
.source-import-form,.source-import-report{display:flex;flex-direction:column;gap:12px;padding:0 18px 20px}
.source-import-note{display:flex;align-items:flex-start;gap:10px;padding:12px 13px;border-radius:12px;
  border:1px solid rgba(47,107,255,.14);background:rgba(47,107,255,.045);color:var(--brand-500)}
.source-import-note>svg{flex:none;margin-top:1px}
.source-import-note b{display:block;font-size:12.5px;color:var(--text-1)}
.source-import-note p{margin:3px 0 0;font-size:11px;line-height:1.7;color:var(--text-3)}
.source-import-file-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.source-import-file-row span{font-size:10.5px;color:var(--text-3);word-break:break-all}
.source-import-textarea{min-height:270px;font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;
  font-size:11.5px;line-height:1.65;resize:vertical}
.source-import-status{padding:9px 11px;border-radius:9px;border:1px solid rgba(15,23,42,.07);
  background:rgba(255,255,255,.62);font-size:11px;line-height:1.6;color:var(--text-3)}
.source-import-status.tone-run{border-color:rgba(47,107,255,.16);background:rgba(47,107,255,.06);color:var(--brand-500)}
.source-import-status.tone-fail{border-color:rgba(239,68,68,.17);background:rgba(239,68,68,.06);color:#B91C1C}
.source-import-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.source-import-result-head{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.source-import-result-head>div{padding:10px 11px;border-radius:10px;border:1px solid rgba(15,23,42,.07);background:rgba(255,255,255,.6)}
.source-import-result-head span{display:block;font-size:9.5px;color:var(--text-3)}
.source-import-result-head b{display:block;margin-top:2px;font-size:11px;color:var(--text-1);word-break:break-all}
.source-import-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.source-import-stats>div{padding:10px 8px;border-radius:10px;text-align:center;border:1px solid rgba(15,23,42,.07);background:rgba(255,255,255,.6)}
.source-import-stats span{display:block;font-size:9.5px;color:var(--text-3)}
.source-import-stats b{display:block;margin-top:3px;font-size:20px;line-height:1;color:var(--text-1);font-variant-numeric:tabular-nums}
.source-import-stats .ok b{color:#15803D}.source-import-stats .warn b{color:#B45309}.source-import-stats .fail b{color:#B91C1C}
.source-import-protected{padding:9px 11px;border-radius:9px;background:rgba(245,158,11,.07);
  border:1px solid rgba(245,158,11,.14);font-size:10.5px;line-height:1.6;color:#92400E}
.source-import-section{border:1px solid rgba(15,23,42,.075);border-radius:11px;background:rgba(255,255,255,.55);overflow:hidden}
.source-import-section summary{padding:10px 12px;cursor:pointer;font-size:11.5px;font-weight:600;color:var(--text-1);
  background:rgba(248,250,252,.9);border-bottom:1px solid transparent;user-select:none}
.source-import-section[open] summary{border-bottom-color:rgba(15,23,42,.06)}
.source-import-section summary b{color:var(--brand-500)}
.source-import-list{margin:0;padding:0;list-style:none;max-height:360px;overflow:auto}
.source-import-list li{padding:10px 12px;border-top:1px solid rgba(15,23,42,.055)}
.source-import-list li:first-child{border-top:0}
.source-import-list b{display:block;font-size:11.5px;color:var(--text-1)}
.source-import-list span{display:block;margin-top:2px;font-size:9.5px;color:var(--text-3)}
.source-import-list a{display:block;margin-top:4px;font-size:10px;color:var(--brand-500);word-break:break-all;text-decoration:none}
.source-import-list a:hover{text-decoration:underline}
.source-import-more{text-align:center;color:var(--text-3);font-size:10px}
.source-import-none{padding:12px;font-size:10.5px;color:var(--text-3)}
@media (max-width:980px){.source-count{margin-left:0}.source-search{max-width:none}}
@media (max-width:620px){.sources-toolbar{align-items:stretch;flex-direction:column}.source-filter-chips{overflow:auto;flex-wrap:nowrap}
  .sources-grid{grid-template-columns:1fr}.source-search{max-width:none}.source-status-filter{align-items:flex-start;flex-direction:column}
  .source-status-filter .select{width:100%}.source-enroll-actions,.source-import-actions{align-items:stretch;flex-direction:column}
  .source-import-result-head,.source-import-stats{grid-template-columns:1fr 1fr}}

/* ---------- 客户中心与建站计费 ---------- */
.customer-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px}
.customer-auth-card .rules-form{display:flex;flex-direction:column;gap:12px}
.customer-admin-auth{margin-top:16px;border-color:rgba(47,107,255,.18);background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(239,246,255,.82))}
.customer-admin-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:14px}
.customer-admin-form .rules-actions{margin:0}
.customer-auth-separator{display:flex;align-items:center;gap:12px;margin:20px 0 0;color:var(--text-3);font-size:11px}
.customer-auth-separator::before,.customer-auth-separator::after{content:'';height:1px;flex:1;background:rgba(15,23,42,.08)}
.admin-password-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:12px;align-items:end;margin-top:14px}
.admin-password-form .rules-actions{margin:0}
.customer-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}
.customer-metric{padding:16px;border-radius:14px;border:1px solid rgba(15,23,42,.075);
  background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(248,250,252,.72));box-shadow:0 8px 24px rgba(15,23,42,.035)}
.customer-metric.primary{border-color:rgba(47,107,255,.16);background:linear-gradient(145deg,rgba(47,107,255,.11),rgba(139,92,246,.055))}
.customer-metric span{display:block;font-size:11px;color:var(--text-3)}
.customer-metric b{display:block;margin-top:5px;font-size:29px;line-height:1.15;letter-spacing:-.7px;color:var(--text-1);font-variant-numeric:tabular-nums}
.customer-metric em{display:block;margin-top:5px;font-style:normal;font-size:10.5px;color:var(--text-3)}
.customer-billing-note{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin:14px 0;border-radius:13px;
  border:1px solid rgba(47,107,255,.14);background:linear-gradient(135deg,rgba(47,107,255,.065),rgba(139,92,246,.035));color:var(--brand-500)}
.customer-billing-note>svg{flex:none;margin-top:2px}
.customer-billing-note b{display:block;font-size:13px;color:var(--text-1)}
.customer-billing-note span{display:block;margin-top:3px;font-size:11.5px;line-height:1.7;color:var(--text-3)}
.customer-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 16px}
.customer-action{display:block;padding:15px 16px;border-radius:13px;border:1px solid rgba(15,23,42,.075);
  background:rgba(255,255,255,.72);text-decoration:none;transition:transform .16s var(--ease),box-shadow .16s var(--ease),border-color .16s}
.customer-action:hover{transform:translateY(-2px);border-color:rgba(47,107,255,.2);box-shadow:0 12px 28px rgba(47,107,255,.08)}
.customer-action b{display:block;font-size:12.5px;color:var(--text-1)}
.customer-action span{display:block;margin-top:4px;font-size:10.5px;line-height:1.55;color:var(--text-3)}
.customer-content-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:16px;align-items:start}
.customer-admin-return{display:flex;justify-content:center;padding:18px 0 4px}
.customer-topup{display:flex;align-items:center;gap:7px;min-width:150px}
.customer-topup .input{width:76px;min-width:0;height:32px;padding:0 8px;text-align:right}
.customer-topup .btn{height:32px;padding:0 10px;white-space:nowrap}
.customer-billing-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;
  border-radius:11px;border:1px solid rgba(47,107,255,.13);background:rgba(47,107,255,.045);font-size:11.5px;color:var(--text-2)}
.customer-billing-inline b{font-size:16px;color:var(--brand-500);font-variant-numeric:tabular-nums}
.customer-billing-inline .warn{color:#B45309}
.customer-billing-inline .free{color:#15803D}
@media (max-width:980px){.customer-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-content-grid{grid-template-columns:1fr}.customer-action-grid{grid-template-columns:1fr}
  .customer-admin-form,.admin-password-form{grid-template-columns:1fr 1fr}.customer-admin-form .rules-actions,
  .admin-password-form .rules-actions{grid-column:1/-1}}
@media (max-width:700px){.customer-auth-grid{grid-template-columns:1fr}.customer-metrics{grid-template-columns:1fr}}
@media (max-width:520px){.customer-admin-form,.admin-password-form{grid-template-columns:1fr}}
