:root {
  color-scheme: light;
  --bg: #fdfdfd;
  --panel: #ffffff;
  --panel-soft: #fafafa;
  --text: #333333;
  --muted: #666666;
  --muted-2: #9a9a9a;
  --line: #e8e8e8;
  --line-strong: #d9d9d9;
  --primary: #bb1b1b;
  --primary-deep: #a61818;
  --primary-pressed: #921515;
  --primary-soft: rgba(187, 27, 27, .08);
  --good: #65a30d;
  --good-soft: #f0fdf4;
  --warn: #d97706;
  --warn-soft: #fffbeb;
  --danger: #e11d48;
  --danger-soft: #fff1f2;
  --sidebar: #fdfdfd;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 12px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "PingFang SC", "Microsoft YaHei";
  font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button { border: 0; }
.loading-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 9999; background: linear-gradient(90deg, transparent, var(--primary), transparent); transform: translateX(-100%); pointer-events: none; opacity: 0; }
.loading-bar.active { opacity: 1; animation: loading-slide 1s ease infinite; }
@keyframes loading-slide { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.error-banner { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 9998; display: flex; align-items: center; gap: 12px; padding: 11px 16px; border: 1px solid #f0c4cb; border-radius: 11px; background: #fff5f6; color: #a63b4b; font-size: 12px; box-shadow: var(--shadow); }
.error-banner[hidden] { display: none; }
.error-banner button { background: transparent; border: 0; color: #a63b4b; cursor: pointer; font-size: 12px; font-weight: 700; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100vh; padding: 14px 10px 12px; overflow-y: auto;
  display: flex; flex-direction: column; color: #404040; background: #fdfdfd;
  border-right: 1px solid #f0f0f0;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 16px; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
  box-shadow: 0 6px 14px rgba(187,27,27,.22);
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; font-weight: 600; color: #222; letter-spacing: -.01em; }
.brand small { margin-top: 3px; color: #999; font-size: 10.5px; }
.sidebar nav { display: grid; gap: 2px; }
.nav-section { padding: 13px 12px 6px; color: #666; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.nav-section-toggle { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.nav-section-toggle::after { content: '▾'; font-size: 9px; color: #b5b5b5; transition: transform .15s ease; }
.nav-section-toggle.collapsed::after { transform: rotate(-90deg); }
.nav-section-toggle:hover { color: #777; }
.sidebar nav button.nav-item, .sidebar nav a {
  position: relative; width: 100%; padding: 10px 12px; border-radius: 0; text-align: left;
  background: transparent; color: #404040; font-size: 14px; font-weight: 400; text-decoration: none;
  cursor: pointer; transition: .15s ease; box-shadow: none;
}
.sidebar nav button.nav-item::after, .sidebar nav a::before {
  content: attr(data-icon); display: inline-grid; place-items: center; width: 20px; margin-right: 8px;
  color: #9a9a9a; font-size: 13px; vertical-align: -1px;
}
.sidebar nav button.nav-item::after { float: left; }
.sidebar nav button.nav-item:hover::after, .sidebar nav button.nav-item.active::after, .sidebar nav a:hover::before { color: var(--primary); }
.sidebar nav button.nav-item:hover, .sidebar nav button.nav-item.active, .sidebar nav a:hover {
  color: var(--primary); background: rgba(187,27,27,.08); transform: none;
}
.sidebar nav button.nav-item.active { font-weight: 500; }
.sidebar nav button.nav-item.active::before { content: none; }
.nav-link { display: block; }
.sidebar-foot {
  margin-top: auto; padding: 10px 11px; display: flex; align-items: center; gap: 10px;
  border: 1px solid #ececec; border-radius: 8px; background: #fff; color: #666; font-size: 11.5px;
}
.sidebar-avatar { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: 12px; }
.sidebar-foot strong { display: block; color: #333; font-size: 12.5px; font-weight: 600; }
.sidebar-foot small { display: block; margin-top: 2px; color: #999; font-size: 10.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #f0a020; box-shadow: 0 0 0 4px rgba(240,160,32,.12); }
.dot.online { background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }

main { min-width: 0; padding: 18px 22px 48px; }
.topbar {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 15px 22px; background: #fdfdfd; border-bottom: 1px solid #f0f0f0;
}
.topbar-left { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.nav-history-btn { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #ededed; border-radius: 6px; background: #fff; color: #777; font-size: 14px; cursor: pointer; padding: 0; }
.nav-history-btn:hover { color: var(--primary); border-color: #f2c8c8; background: #fff8f8; }
.breadcrumb { display: flex; align-items: center; gap: 6px; color: #a0a0a0; font-size: 12.5px; white-space: nowrap; overflow: hidden; min-width: 0; flex: 1 1 auto; }
.breadcrumb b { color: #333; font-weight: 600; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.breadcrumb-sub { margin-left: 8px; padding-left: 8px; border-left: 1px solid #e5e5e5; color: #999; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 12px; color: #666; font-size: 12px; white-space: nowrap; flex: 0 0 auto; }
.conn-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid #eee; border-radius: 999px; background: #fafafa; color: #777; font-size: 11.5px; }
.ops-link { color: var(--primary); font-size: 12px; text-decoration: none; }
.ops-link:hover { text-decoration: underline; }
.eyebrow, .kicker { margin: 0 0 7px; color: var(--primary); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
h2 { margin-bottom: 0; font-size: 19px; font-weight: 500; letter-spacing: -.01em; }
h3 { margin: 0; font-size: 15px; }
.sub { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.header-actions { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.last-updated { color: var(--muted-2); font-size: 11px; }
#autoRefreshToggle.active { background: var(--primary-soft); color: var(--primary); }
.admin-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 7px 10px; border: 1px solid #eee; border-radius: 6px; background: #fff; }
.admin-chip > i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 4px var(--good-soft); }

.view { display: none; max-width: none; margin: 0; animation: view-in .22s ease; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(4px); } }

button, .notice a {
  min-height: 34px; padding: 7px 13px; border-radius: 4px; background: var(--primary); color: #fff;
  font-weight: 500; cursor: pointer; text-decoration: none; transition: .16s ease;
}
button:focus { outline: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(187,27,27,.22); outline-offset: 2px;
}
button:hover, .notice a:hover { background: var(--primary-deep); box-shadow: 0 8px 18px rgba(49,94,231,.18); transform: translateY(-1px); }
button:disabled { opacity: .48; cursor: not-allowed; box-shadow: none; transform: none; }
.button.ghost, .ghost { background: #eef2fa; color: #52617a; box-shadow: none; }
.button.ghost:hover, .ghost:hover { background: #e5eaf4; }
.hidden { display: none !important; }

.panel, .metric, .flow-hero, .workflow-progress, .selection-summary, .config-drawer {
  border: 1px solid var(--line); background: var(--panel); box-shadow: var(--shadow-sm);
}
.panel { min-width: 0; padding: 20px 22px; border-radius: var(--radius); }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.panel-head h2 { margin-bottom: 5px; }
.tag, .security-pill {
  display: inline-flex; align-items: center; min-height: 28px; padding: 6px 11px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 750;
}
.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.metric { position: relative; overflow: hidden; padding: 18px 18px; border-radius: var(--radius); }
.metric.vault-metric { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.metric-link { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.metric-link:hover { border-color: rgba(187,27,27,.3); box-shadow: 0 8px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.metric.vault-metric:hover { border-color: rgba(187,27,27,.3); box-shadow: 0 8px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.metric.vault-metric.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.metric::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--primary); opacity: .7; }
.metric:nth-child(2)::before { background: #6a63df; }.metric:nth-child(3)::before { background: #25a77a; }.metric:nth-child(4)::before { background: #d8942c; }.metric:nth-child(5)::before { background: #8e6ad9; }
.metric[data-icon] { padding-right: 66px; }
.metric[data-icon]::after {
  content: attr(data-icon);
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; font-size: 16px; line-height: 1;
}
.metric[data-icon]:nth-child(1)::after { background: #eef2ff; color: #4f46e5; }
.metric[data-icon]:nth-child(2)::after { background: #f0fdf4; color: #16a34a; }
.metric[data-icon]:nth-child(3)::after { background: #fff7ed; color: #ea580c; }
.metric[data-icon]:nth-child(4)::after { background: #f5f3ff; color: #8b5cf6; }
.metric[data-icon]:nth-child(5)::after { background: #fef2f2; color: #e11d48; }
.metric span, .metric small { display: block; }
.metric span { color: var(--muted); font-size: 12px; }
.metric strong { display: block; margin: 13px 0 7px; font-size: 29px; letter-spacing: -.04em; }
.metric small { color: var(--muted-2); font-size: 11px; }
.content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.span-2 { grid-column: span 2; }
.distribution { display: grid; gap: 13px; }
.distribution-row { display: grid; grid-template-columns: 105px 1fr 42px; align-items: center; gap: 12px; font-size: 12px; }
.distribution-row span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #58647a; }
.bar { height: 7px; overflow: hidden; border-radius: 99px; background: #edf0f6; }
.bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #466ff1, #7b6df1); }
.distribution-row strong { text-align: right; font-size: 12px; }
.compact { grid-template-columns: repeat(3, minmax(0,1fr)); margin-bottom: 20px; }
.compact .distribution-row { grid-template-columns: 1fr auto; }
.compact .bar { display: none; }
.alert-list { display: grid; gap: 9px; }
.alert-item { display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 12px; background: var(--danger-soft); color: #ad3444; font-size: 12px; }
.alert-item.warning { background: var(--warn-soft); color: #94620e; }
.alert-item strong { font-size: 18px; }
.empty { color: var(--muted-2); font-size: 12px; }
.latency { color: var(--primary); font-size: 13px; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.supplier-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 11.5px; }
.supplier-stats-total { display: inline-flex; align-items: baseline; gap: 5px; margin-right: 4px; color: var(--muted); font-weight: 500; }
.supplier-stats-total strong { color: var(--text); font-size: 14px; }
.supplier-stat-chip { display: inline-flex; align-items: baseline; gap: 5px; min-height: 26px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fafafa; color: var(--muted); font-size: 11px; cursor: pointer; transition: border-color .14s ease, background .14s ease, color .14s ease; }
.supplier-stat-chip strong { color: var(--text); font-size: 12px; }
.supplier-stat-chip:hover { border-color: rgba(187,27,27,.35); color: var(--primary); }
.supplier-stat-chip.active { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.supplier-stat-chip.active strong { color: var(--primary); }
html.dark .supplier-stats { background: #1d1d1d; border-color: #2f2f2f; }
html.dark .supplier-stat-chip { background: #232323; border-color: #333; color: #a8a8a8; }
html.dark .supplier-stat-chip strong { color: #e6e6e6; }
.view-context { display:flex; align-items:flex-end; justify-content:space-between; gap:22px; margin:0 0 16px; padding:2px 2px 0; }.view-context h2 { margin:4px 0 6px; color:var(--text); font-size:20px; font-weight:600; }.view-context p { margin:0; color:var(--muted); font-size:13px; line-height:1.6; }.view-context p { max-width:700px; margin:0; color:var(--muted); font-size:11px; line-height:1.6; }.context-note { flex:0 0 auto; max-width:320px; padding:7px 10px; border:1px solid #f0c8c8; border-radius:999px; background:#fdf5f5; color:#a33737; font-size:10px; font-weight:600; text-align:center; }.context-note .ops-link { margin-left:2px; font-weight:700; } .vault-legacy-note { margin:0 0 14px; padding:9px 13px; border:1px solid #f0c8c8; border-radius:6px; background:#fdf5f5; color:#8a4a4a; font-size:12px; line-height:1.6; }.view-context + .toolbar { position:sticky; top:12px; z-index:8; backdrop-filter:blur(12px); background:rgba(255,255,255,.94); }
.toolbar input, .toolbar select { min-width: 190px; flex: 1; }
input, select {
  width: 100%; min-height: 43px; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 10px 12px; background: #fff; color: #243049; outline: none; transition: .15s ease;
}
input:hover, select:hover { border-color: #c5d0e2; }
input:focus, select:focus { border-color: #6c88ef; box-shadow: 0 0 0 3px rgba(49,94,231,.09); }
select:disabled { color: #9ca8bb; background: #f4f6fa; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; white-space: nowrap; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11.5px; }
th { background: #f7f7f7; color: #666; font-weight: 500; letter-spacing: .02em; }
.table-wrap thead th { position: sticky; top: 0; z-index: 2; }
td { color: #435068; }
tbody tr { transition: .12s ease; }
tbody tr:hover { background: #fafbfe; }
tr.proxy-row-highlight { animation: proxy-row-highlight 2.8s ease; }
@keyframes proxy-row-highlight { 0%, 100% { background: transparent; } 20%, 65% { background: #fff3d6; } }
tbody tr:last-child td { border-bottom: 0; }
.cell-main { display: block; color: #22304a; font-weight: 720; }
.cell-sub { display: block; margin-top: 4px; color: #8792a7; font-size: 10.5px; }
.status { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: #f0f0f0; color: #666; font-weight: 600; }
.status.completed, .status.sms_received, .status.normal, .status.healthy, .status.success, .status.启用 { background: var(--good-soft); color: #138760; }
.status.failed, .status.expired, .status.cancelled, .status.error, .status.banned, .status.停用 { background: var(--danger-soft); color: #c53d4e; }
.status.pending_node, .status.unknown { background: var(--warn-soft); color: #9b680f; }
.status.checking { background: var(--primary-soft); color: var(--primary); animation: checking-pulse 1.1s ease infinite; }
@keyframes checking-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
.empty-cell { padding: 28px; text-align: center; color: var(--muted-2); }
.row-actions { display: flex; gap: 7px; }
.row-actions button { min-height: 30px; padding: 6px 9px; border-radius: 8px; font-size: 10.5px; }
.row-actions .danger, .order-actions .danger { background: var(--danger-soft); color: #c53d4e; }
.table-wrap.sticky-actions th:last-child, .table-wrap.sticky-actions td:last-child { position: sticky; right: 0; z-index: 1; box-shadow: -10px 0 14px -14px rgba(0,0,0,.08); }
.table-wrap.sticky-actions td:last-child { background: #fff; }
.table-wrap.sticky-actions tbody tr:hover td:last-child { background: #fafbfe; }
.table-wrap.sticky-actions thead th:last-child { z-index: 3; background: #f8f9fc; }
.seed-inventory-table th:first-child,
.seed-inventory-table td:first-child {
  box-sizing: border-box;
  width: 52px;
  min-width: 52px;
  padding: 12px 16px;
  text-align: center;
  vertical-align: middle;
}
.seed-inventory-table input[type="checkbox"] {
  display: inline-block;
  box-sizing: border-box;
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--primary);
  vertical-align: middle;
  cursor: pointer;
}
.seed-inventory-table tbody td { height: 72px; vertical-align: middle; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 14px; color: #7b879d; font-size: 11px; }
.pager button { min-height: 32px; padding: 7px 10px; }

/* 三方接码录入 */
.flow-hero { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 26px; border-radius: 18px 18px 0 0; border-bottom: 0; }
.flow-hero h2 { margin-bottom: 7px; font-size: 21px; }
.flow-hero p { max-width: 760px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.workflow-progress { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: center; padding: 16px 26px; border-radius: 0 0 18px 18px; background: #fbfcff; }
.progress-step { display: flex; align-items: center; gap: 10px; color: var(--muted-2); }
.progress-step i { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: #edf0f5; font-size: 11px; font-style: normal; font-weight: 800; }
.progress-step strong, .progress-step small { display: block; }
.progress-step strong { color: #5f6c83; font-size: 12px; }
.progress-step small { margin-top: 3px; font-size: 10px; }
.progress-step.active i { background: var(--primary); color: #fff; box-shadow: 0 7px 16px rgba(49,94,231,.22); }
.progress-step.active strong { color: var(--text); }
.progress-line { height: 1px; background: var(--line-strong); }
.sms-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; margin-top: 18px; }
.sms-flow-form { display: grid; gap: 14px; }
.flow-step-card { padding: 21px 22px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.step-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.step-heading > span { width: 31px; height: 31px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--primary-soft); color: var(--primary); font-size: 10px; font-weight: 850; }
.step-heading h3 { margin-bottom: 5px; }
.step-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: grid; gap: 7px; color: #53617a; font-size: 11.5px; font-weight: 680; }
.form-field.full { margin-bottom: 14px; }
.form-field small { color: var(--muted-2); font-size: 10.5px; font-weight: 450; line-height: 1.5; }
.experiment-box { display: grid; grid-template-columns: 1fr 1.15fr; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.experiment-toggle { display: flex; align-items: flex-start; gap: 10px; padding: 12px 13px; border: 1px solid #dce4f4; border-radius: 12px; background: #f8faff; cursor: pointer; }
.experiment-toggle input { width: 16px; height: 16px; min-height: 0; margin: 2px 0 0; }
.experiment-toggle strong,.experiment-toggle small { display: block; }.experiment-toggle strong { color: #40506c; font-size: 10.5px; }.experiment-toggle small { margin-top: 4px; color: var(--muted); font-size: 9.5px; line-height: 1.5; }
.quality-confirm { display: flex; align-items: flex-start; gap: 10px; padding: 15px 17px; border: 1px solid #ecdcb8; border-radius: 14px; background: #fffaf0; color: #6e5b35; cursor: pointer; }
.quality-confirm input { width: 16px; height: 16px; min-height: 0; margin: 2px 0 0; }
.quality-confirm strong, .quality-confirm small { display: block; }
.quality-confirm strong { font-size: 11.5px; }
.quality-confirm small { margin-top: 4px; color: #9b8357; font-size: 10.5px; }
.form-actions { display: flex; gap: 10px; }
.primary-actions button:first-child { min-width: 210px; }
.selection-summary { align-self: start; position: sticky; top: 22px; padding: 21px; border-radius: 17px; }
.summary-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--good-soft); color: var(--good); font-weight: 900; }
.summary-head strong, .summary-head small { display: block; }
.summary-head strong { font-size: 13px; }
.summary-head small { margin-top: 4px; color: var(--muted-2); font-size: 10px; }
.selection-summary dl { margin: 7px 0 15px; }
.selection-summary dl div { display: grid; grid-template-columns: 76px 1fr; gap: 9px; padding: 11px 0; border-bottom: 1px dashed #e9edf4; }
.selection-summary dt { color: var(--muted-2); font-size: 10.5px; }
.selection-summary dd { margin: 0; color: #334158; font-size: 10.5px; font-weight: 650; text-align: right; line-height: 1.5; }
.summary-note { padding: 12px; border-radius: 11px; background: var(--primary-soft); color: #4965b6; font-size: 10.5px; line-height: 1.55; }
.summary-note.warning { background: var(--warn-soft); color: #8d651b; }
.order-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 18px; padding: 19px 22px; border: 1px solid #dce7ff; border-radius: 16px; background: #f7f9ff; }
.order-panel.empty { justify-content: flex-start; color: var(--muted); }
.empty-orb { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #eaf0ff; color: var(--primary); font-size: 20px; }
.order-panel strong { color: #3a4860; font-size: 12px; }
.order-panel h3 { margin: 4px 0; font-size: 20px; }
.order-panel p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.order-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* r130：三方接码录入工作台，对齐用户端的设备优先双栏结构 */
.entry-studio { display: grid; grid-template-columns: 350px minmax(0,1fr); min-height: 720px; overflow: hidden; border: 1px solid #e5e9f0; border-radius: 22px; background: #fff; box-shadow: 0 20px 44px rgba(29,43,72,.10); }
.entry-device-pane { display: flex; min-width: 0; flex-direction: column; padding: 25px 24px 20px; border-right: 1px solid #edf0f4; background: linear-gradient(135deg,#fbfcfe 0%,#f7f8fa 100%); }
.entry-device-head { display: flex; align-items: center; justify-content: space-between; color: #2e3645; font-size: 12px; font-weight: 760; }
.entry-device-head button { min-height: 30px; padding: 6px 10px; border: 1px solid #e4e7ed; border-radius: 8px; background: #fff; color: #566174; box-shadow: none; font-size: 10px; font-weight: 600; }
.entry-device-head button:hover { background: #f4f6f9; box-shadow: none; transform: none; }
.entry-phone-preview { position: relative; display: grid; width: 136px; height: 236px; place-content: center; align-self: center; overflow: hidden; margin: 19px 0 15px; border: 3px solid #d9dde5; border-radius: 29px; background: linear-gradient(145deg,#fff,#f1f3f6); box-shadow: inset 0 0 0 5px #fbfcfd, 0 10px 24px rgba(53,65,87,.06); text-align: center; }
.entry-phone-preview::before { position: absolute; top: 10px; left: 50%; width: 52px; height: 12px; border-radius: 99px; background: #d8dde5; content: ""; transform: translateX(-50%); }
.entry-phone-preview::after { position: absolute; bottom: 8px; left: 50%; width: 47px; height: 3px; border-radius: 4px; background: #d7dce4; content: ""; transform: translateX(-50%); }
.entry-phone-preview i { display: grid; width: 28px; height: 28px; margin: auto; place-items: center; border-radius: 50%; background: #eef0f3; color: #d7dbe2; font-style: normal; }
.entry-phone-preview i::before { content: "●"; font-size: 9px; }.entry-phone-preview > span { color: #d1d6df; font-size: 20px; }.entry-phone-preview strong { padding: 0 13px; color: #697386; font-size: 9px; line-height: 1.45; }.entry-phone-preview small { margin-top: 5px; color: #abb2bf; font-size: 8px; }
.entry-device-caption { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 10px; color: #98a1b0; font-size: 10px; }.entry-device-caption strong { max-width: 220px; overflow: hidden; color: #404b60; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.entry-device-list { min-height: 0; flex: 1; overflow: auto; padding-right: 4px; border-top: 1px solid #edf0f3; }
.entry-device-list button { display: flex; width: 100%; min-height: 38px; align-items: center; justify-content: space-between; padding: 0 9px; border: 0; border-radius: 8px; background: transparent; color: #525d70; box-shadow: none; font-size: 11px; font-weight: 520; text-align: left; }
.entry-device-list button:hover { background: #edf1f7; box-shadow: none; transform: none; }.entry-device-list button.active { background: #eaf0ff; color: var(--primary); font-weight: 760; }.entry-device-list button.active::after { content: "✓"; font-size: 12px; }
.entry-ios-field { display: grid; gap: 7px; margin-top: 14px; padding-top: 13px; border-top: 1px solid #edf0f3; color: #949eac; font-size: 10px; }.entry-ios-field select { min-height: 38px; font-size: 11px; }
.sr-only { position: absolute!important; width: 1px!important; height: 1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; }
.entry-workbench { display: flex; min-width: 0; flex-direction: column; background: #fff; }.entry-tab-bar { display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; margin: 31px 28px 0; padding: 4px; border-radius: 999px; background: #f2f3f5; color: #8d94a1; text-align: center; }.entry-tab-bar span,.entry-tab-bar strong { display: block; padding: 9px 6px; border-radius: 999px; font-size: 12px; font-weight: 520; }.entry-tab-bar strong { background: #fff; box-shadow: 0 1px 4px rgba(31,43,63,.12); color: #2e3b56; font-weight: 720; }
.entry-workbench-scroll { display: grid; gap: 15px; overflow: auto; padding: 24px 30px 26px; }.entry-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }.entry-intro h2 { margin: 4px 0 6px; color: #273247; font-size: 21px; }.entry-intro p { max-width: 610px; margin: 0; color: #8b95a5; font-size: 11px; line-height: 1.6; }.entry-state-pill { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #eaf8f1; color: #159566; font-size: 10px; font-weight: 700; }
.entry-block { padding: 17px 18px; border: 1px solid #e7eaf0; border-radius: 15px; background: #fcfdff; }.entry-block-title { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; }.entry-block-title b { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #eaf0ff; color: var(--primary); font-size: 10px; }.entry-block-title strong,.entry-block-title small { display: block; }.entry-block-title strong { color: #354057; font-size: 12px; }.entry-block-title small { margin-top: 3px; color: #9aa3b0; font-size: 10px; }
.entry-field-grid,.entry-experiment-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }.entry-field-grid label,.entry-field-full,.entry-experiment-row > label { display: grid; gap: 7px; color: #556176; font-size: 10.5px; font-weight: 700; }.entry-field-grid small,.entry-field-full small,.entry-experiment-row small { color: #9aa3b0; font-size: 9.5px; font-weight: 450; line-height: 1.45; }.entry-field-full { margin-bottom: 13px; }.entry-field-grid select,.entry-field-full select,.entry-experiment-row input { min-height: 40px; font-size: 11px; }.entry-readonly { min-height: 40px; display: flex; align-items: center; padding: 0 11px; border: 1px solid #dce4f2; border-radius: 9px; background: #f8faff; color: #42526d; font-size: 11px; }
.entry-experiment-row { padding-top: 13px; border-top: 1px dashed #dfe5ee; }.entry-experiment-toggle { display: flex!important; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid #dde5f6; border-radius: 11px; background: #f7f9ff; cursor: pointer; }.entry-experiment-toggle input,.entry-quality-toggle input { width: 16px; height: 16px; min-height: 0; margin: 1px 0 0; }.entry-experiment-toggle strong,.entry-experiment-toggle small,.entry-quality-toggle strong,.entry-quality-toggle small { display: block; }.entry-experiment-toggle strong { color: #46536b; font-size: 10.5px; }.entry-experiment-toggle small { margin-top: 4px; color: #8895aa; }
.entry-quality-toggle { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid #efdfbd; border-radius: 12px; background: #fffaf0; color: #765f30; cursor: pointer; }.entry-quality-toggle strong { font-size: 10.5px; }.entry-quality-toggle small { margin-top: 4px; color: #a18a5d; font-size: 9.5px; }
.entry-account-summary { display: grid; grid-template-columns: 38px minmax(150px,1fr) repeat(3,minmax(100px,1fr)); align-items: center; gap: 13px; padding: 14px; border: 1px solid #e7eaf0; border-radius: 14px; background: #fff; }.entry-account-avatar { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#c9b4ff,#7e72ea); color: #fff; font-size: 10px; font-weight: 800; }.entry-account-person strong,.entry-account-person span { display: block; }.entry-account-person strong { overflow: hidden; color: #3d485d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.entry-account-person span { overflow: hidden; margin-top: 4px; color: #a0a8b4; font-size: 9.5px; text-overflow: ellipsis; white-space: nowrap; }.entry-account-detail { min-width: 0; padding-left: 13px; border-left: 1px solid #edf0f4; }.entry-account-detail span,.entry-account-detail strong { display: block; }.entry-account-detail span { color: #a0a8b4; font-size: 9px; }.entry-account-detail strong { overflow: hidden; margin-top: 4px; color: #536076; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.entry-environment-note { padding: 11px 13px; border-radius: 6px; background: var(--primary-soft); color: var(--primary); font-size: 10px; line-height: 1.55; }.entry-environment-note.warning { background: #fff5df; color: #946819; }.entry-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }.entry-actions button:first-of-type { min-width: 210px; }.sms-batch-size { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 10px; border: 1px solid #dce4f2; border-radius: 10px; background: #f8faff; color: #64748b; font-size: 12px; }.sms-batch-size input { width: 62px; border: 0; background: transparent; color: #17213b; font-weight: 800; outline: none; text-align: center; }.entry-workbench .order-panel { margin-top: 2px; }
.entry-node-picker { margin-top: -2px; padding: 13px 14px 14px; border: 1px solid #dfe6f2; border-radius: 13px; background: linear-gradient(180deg,#fbfcff,#f6f9ff); }.entry-node-picker-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }.entry-node-picker-head span,.entry-node-picker-head small { display:block; }.entry-node-picker-head span { color:#43516a; font-size:10.5px; font-weight:750; }.entry-node-picker-head small { max-width:480px; margin-top:4px; color:#8a97aa; font-size:9.5px; line-height:1.5; }.entry-node-random { min-height:30px; padding:5px 10px; border:1px solid #d7e2f8; border-radius:9px; background:#fff; color:#5d7194; box-shadow:none; font-size:10px; }.entry-node-random.active { border-color:#b6c8ff; background:#eaf0ff; color:var(--primary); }.entry-node-provinces { display:flex; flex-wrap:wrap; gap:7px; margin-top:12px; }.entry-node-provinces button,.entry-node-cities button { min-height:29px; padding:5px 9px; border:1px solid #dde4ef; border-radius:8px; background:#fff; color:#58657a; box-shadow:none; font-size:10px; }.entry-node-provinces button.active,.entry-node-cities button.active { border-color:rgba(187,27,27,.45); background:var(--primary-soft); color:var(--primary); box-shadow:0 0 0 2px rgba(187,27,27,.1); }.entry-node-cities { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; margin-top:10px; }.entry-node-cities button { display:grid; min-width:0; gap:2px; text-align:left; }.entry-node-cities button strong,.entry-node-cities button small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.entry-node-cities button strong { font-size:10px; }.entry-node-cities button small { color:#8c98aa; font-size:8.5px; }.node-picker-empty { display:block; padding:10px 0 2px; color:#8c98aa; font-size:10px; }.node-picker-empty.warning { color:#996d1a; }
.entry-tutorial { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 16px auto 0; color: #747e8c; font-size: 11px; }.entry-tutorial span { display: inline-flex; align-items: center; gap: 7px; }.entry-tutorial i { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 50%; background: rgba(231,66,79,.12); color: #df4955; font-size: 9px; font-style: normal; font-weight: 800; }.entry-tutorial b { color: #c7ccd5; font-size: 17px; font-weight: 400; }

/* 渠道管理 */
.channel-overview { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.channel-overview article { padding: 17px 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); }
.channel-overview span, .channel-overview small { display: block; color: var(--muted); font-size: 10.5px; }
.channel-overview strong { display: block; margin: 8px 0 4px; font-size: 25px; letter-spacing: -.04em; }
.catalog-head { align-items: center; }
.head-actions { display: flex; align-items: center; gap: 11px; }
.sync-time { color: var(--muted-2); font-size: 10.5px; }
.channel-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.channel-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(180deg, #fff, #fbfcff); transition: .16s ease; }
.channel-card:hover { border-color: #cfd9ed; box-shadow: 0 10px 24px rgba(0,0,0,.08); transform: translateY(-1px); }
.channel-card.disabled { background: #fafbfc; }
.channel-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }.channel-card-top > div { min-width: 0; flex: 1; }
.channel-card h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 5px; font-size: 13px; }
.channel-code { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted-2); font-size: 9.5px; }
.channel-state { flex: 0 0 auto; padding: 5px 8px; border-radius: 99px; background: var(--good-soft); color: var(--good); font-size: 9.5px; font-weight: 750; }
.channel-card.disabled .channel-state { background: var(--warn-soft); color: #9b6b13; }
.channel-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 14px 0; }
.channel-meta div { min-width: 0; padding: 9px; border-radius: 10px; background: #f5f7fb; }
.channel-meta span, .channel-meta strong { display: block; }
.channel-meta span { color: var(--muted-2); font-size: 9px; }
.channel-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 4px; color: #3e4b61; font-size: 10.5px; }
.channel-binding { display: flex; align-items: center; gap: 7px; min-height: 28px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.channel-binding i { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.channel-card.disabled .channel-binding i { background: var(--warn); }
.channel-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.channel-footer .channel-binding { min-width: 0; padding: 0; border: 0; }
.channel-footer .channel-binding span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-button { min-height: 28px; flex: 0 0 auto; padding: 5px 9px; border-radius: 8px; background: #eef2fa; color: #52617a; font-size: 9.5px; box-shadow: none; }
.mini-button:hover { background: #e5ebf6; color: #34425a; box-shadow: none; }
.config-drawer { margin-top: 16px; overflow: hidden; border-radius: 16px; }
.config-drawer summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px; cursor: pointer; list-style: none; }
.config-drawer summary::-webkit-details-marker { display: none; }
.config-drawer summary strong, .config-drawer summary small { display: block; }
.config-drawer summary strong { font-size: 12px; }
.config-drawer summary small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.config-drawer summary i { color: var(--primary); font-size: 10px; font-style: normal; }
.config-drawer[open] summary { border-bottom: 1px solid var(--line); background: #fafbfe; }
.config-form { padding: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 14px; }
.form-grid > label { display: grid; gap: 7px; color: #53617a; font-size: 11px; }
.checkbox-line { display: flex !important; align-items: center; gap: 8px !important; }
.checkbox-line input { width: 16px; height: 16px; min-height: 0; }
.proxy-catalog { margin-top: 16px; }
.supplier-console { margin-top: 16px; overflow: hidden; }
.supplier-head { align-items: center; }
.supplier-status { display: inline-flex; align-items: center; min-height: 29px; padding: 6px 10px; border-radius: 999px; background: var(--warn-soft); color: #926315; font-size: 10px; font-weight: 750; }
.supplier-status.ready { background: var(--good-soft); color: var(--good); }
.supplier-metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-bottom: 17px; }
.supplier-metrics > div { padding: 14px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fafbfe; }
.supplier-metrics span,.supplier-metrics small { display: block; color: var(--muted-2); font-size: 9.5px; }
.supplier-metrics strong { display: block; margin: 7px 0 4px; color: #27354d; font-size: 22px; }
.supplier-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 15px; }
.section-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.section-caption strong { font-size: 12px; }.section-caption span { color: var(--muted-2); font-size: 9.5px; }
.node-type-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.node-type-card { min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg,#fff,#fafcff); }
.node-type-card > div:first-child { display: flex; align-items: center; gap: 9px; }
.node-letter { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-size: 11px; font-weight: 850; }
.node-type-card strong { font-size: 11px; }
.node-type-card dl { display: grid; gap: 6px; margin: 13px 0; }
.node-type-card dl div { display: flex; justify-content: space-between; gap: 8px; }
.node-type-card dt,.node-type-card dd { margin: 0; font-size: 9.5px; }.node-type-card dt { color: var(--muted-2); }.node-type-card dd { color: #3c4960; font-weight: 700; }
.node-type-card p { margin: 0; color: var(--muted); font-size: 9.5px; line-height: 1.55; }
.supplier-facts { display: grid; align-content: start; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fafbfe; }
.supplier-facts > div { padding: 12px 14px; border-bottom: 1px solid var(--line); }.supplier-facts > div:last-child { border-bottom: 0; }
.supplier-facts span,.supplier-facts strong,.supplier-facts small { display: block; }.supplier-facts span { color: var(--muted-2); font-size: 9px; }.supplier-facts strong { margin-top: 4px; color: #344159; font-size: 10.5px; }.supplier-facts small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.supplier-facts code { display: block; overflow: hidden; margin-top: 5px; color: var(--primary); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-strip { display: flex; gap: 8px; margin-top: 14px; padding-bottom: 2px; overflow-x: auto; }
.product-strip > span { min-width: 155px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.product-strip strong,.product-strip small { display: block; }.product-strip strong { font-size: 10px; }.product-strip small { margin-top: 4px; color: var(--muted-2); font-size: 9px; }
.supplier-notice { margin-top: 13px; padding: 12px 14px; border-radius: 11px; background: #fff8e9; color: #86601b; font-size: 10px; line-height: 1.6; }
.benfu-import-card { width: min(780px,100%); }
.benfu-view-context { margin-bottom: 16px; }
.benfu-metric-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
.benfu-metric-grid article { position:relative; overflow:hidden; padding:18px 19px; border:1px solid #dfe7f5; border-radius:16px; background:linear-gradient(135deg,#fff 0%,#f4f8ff 100%); box-shadow:var(--shadow-sm); }
.benfu-metric-grid article::after { position:absolute; right:-18px; bottom:-35px; width:95px; height:95px; border-radius:50%; background:rgba(187,27,27,.08); content:""; }
.benfu-metric-grid span,.benfu-metric-grid small { position:relative; z-index:1; display:block; color:var(--muted); font-size:10px; }.benfu-metric-grid strong { position:relative; z-index:1; display:block; margin:9px 0 4px; color:#263550; font-size:25px; letter-spacing:-.045em; }
.benfu-control-panel,.benfu-lines-panel { margin-top:16px; }.benfu-purchase-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; padding:17px; border:1px solid #e1e8f4; border-radius:15px; background:#fbfcff; }.benfu-purchase-grid label { display:grid; gap:7px; color:#53617a; font-size:10.5px; font-weight:700; }.benfu-purchase-grid label span { color:#758299; }.benfu-purchase-grid select,.benfu-purchase-grid input { min-height:40px; font-size:11px; }
.benfu-purchase-foot { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-top:14px; padding:13px 15px; border:1px solid #dce7fc; border-radius:13px; background:#f3f7ff; }.benfu-purchase-foot strong,.benfu-purchase-foot small { display:block; }.benfu-purchase-foot strong { color:#435d9a; font-size:10.5px; }.benfu-purchase-foot small { max-width:670px; margin-top:4px; color:#8290a8; font-size:9.5px; line-height:1.5; }.benfu-purchase-foot button { flex:0 0 auto; }
.benfu-line-name strong,.benfu-line-name span { display:block; }.benfu-line-name strong { color:#354157; font-size:11px; }.benfu-line-name span { margin-top:4px; color:#929cad; font-size:9.5px; }.benfu-line-actions { display:flex; flex-wrap:wrap; gap:6px; min-width:220px; }.benfu-line-actions button { min-height:27px; padding:4px 8px; border:1px solid #dbe3f1; border-radius:8px; background:#f8faff; color:#52627c; box-shadow:none; font-size:9px; }.benfu-line-actions button:hover { border-color:rgba(187,27,27,.35); background:var(--primary-soft); color:var(--primary); }.benfu-line-actions .warning { border-color:#efd8ad; background:#fff8ed; color:#946819; }
.import-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 17px; padding: 12px 14px; border-radius: 12px; background: var(--primary-soft); color: #4a62a8; }
.import-banner strong { font-size: 10.5px; }.import-banner span { font-size: 9.5px; }
.json-cell { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.message-cell { max-width: 420px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.filter-panel { margin-bottom: 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: var(--shadow-sm); }
.filter-grid { display: grid; grid-template-columns: minmax(200px,1.5fr) repeat(5,minmax(0,1fr)); align-items: end; gap: 12px; }
.filter-grid label { display: grid; gap: 7px; color: #68758c; font-size: 10px; font-weight: 750; }
.filter-grid input,.filter-grid select { min-height: 38px; font-size: 11px; }
.filter-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 8px; }.filter-actions button { white-space: nowrap; flex-shrink: 0; }
.filter-summary { margin-top: 13px; padding-top: 12px; border-top: 1px solid #e8eef8; color: #75829a; font-size: 10px; }
.account-workbench { overflow: hidden; }.selection-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }.selection-actions span { margin-right: 2px; color: #78859d; font-size: 10px; }.selection-actions button { min-height: 30px; padding: 5px 9px; font-size: 10px; }.text-button { border: 0; background: transparent; color: #70809a; box-shadow: none; }.text-button:disabled { opacity: .45; cursor: not-allowed; }
.account-horizontal-scroll { position: sticky; top: 12px; z-index: 8; height: 15px; margin: 0 0 8px; overflow-x: auto; overflow-y: hidden; border: 1px solid #dfe6f1; border-radius: 7px; background: rgba(247,249,252,.96); box-shadow: 0 2px 8px rgba(40,58,91,.08); scrollbar-color: #9aa8bd #edf1f6; scrollbar-width: auto; backdrop-filter: blur(10px); }
.account-horizontal-scroll[hidden] { display: none; }
.account-horizontal-scroll > div { height: 1px; }
.account-horizontal-scroll::-webkit-scrollbar { height: 11px; }
.account-horizontal-scroll::-webkit-scrollbar-track { border-radius: 7px; background: #edf1f6; }
.account-horizontal-scroll::-webkit-scrollbar-thumb { border: 2px solid #edf1f6; border-radius: 7px; background: #9aa8bd; }
.account-horizontal-scroll::-webkit-scrollbar-thumb:hover { background: #73839a; }
.account-command-bar { position: sticky; top: 12px; z-index: 9; display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #e2e8f3; border-radius: 12px; background: rgba(255,255,255,.96); box-shadow: var(--shadow-sm); backdrop-filter: blur(14px); }.account-command-bar button { min-height: 31px; padding: 6px 10px; border: 1px solid #dfe6f1; border-radius: 7px; background: #f7f9fc; color: #64718a; box-shadow: none; font-size: 10px; font-weight: 700; }.account-command-bar button:not(:disabled):hover { border-color: #abc2ee; background: #edf4ff; color: #2866d7; }.account-command-bar .success-soft { border-color: #bce5b0; background: #f1ffe9; color: #58a12f; }.account-command-bar .danger-soft { border-color: #ffd7de; background: #fff6f7; color: #ef6e83; }
.account-table table { min-width: 1760px; }.account-table th:first-child,.account-table td:first-child { width: 34px; text-align: center; }.account-table input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--primary); cursor: pointer; }
.account-table th:nth-child(1),.account-table td:nth-child(1) { position: sticky; left: 0; }.account-table th:nth-child(2),.account-table td:nth-child(2) { position: sticky; left: 34px; }.account-table thead th:nth-child(1),.account-table thead th:nth-child(2) { z-index: 3; }.account-table td:nth-child(1),.account-table td:nth-child(2) { background: #fff; }.account-table thead th:nth-child(1),.account-table thead th:nth-child(2) { background: #f8f9fc; }.account-table tbody tr:hover td:nth-child(1),.account-table tbody tr:hover td:nth-child(2) { background: #fafbfe; }
.account-table td:nth-child(2) { box-shadow: 3px 0 5px rgba(17,28,53,.07); clip-path: inset(0 -8px 0 0); }
.account-table thead th:nth-child(2) { box-shadow: 3px 0 5px rgba(17,28,53,.10); clip-path: inset(0 -8px 0 0); }
.account-profile { display: flex; align-items: center; gap: 9px; min-width: 160px; }.account-avatar { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 11px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; }.account-avatar img { width: 100%; height: 100%; object-fit: cover; }.account-meta { min-width: 0; }.account-meta .cell-main { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.network-stack,.source-stack,.node-stack { display: grid; gap: 4px; min-width: 130px; }.network-line { display: flex; align-items: center; gap: 5px; color: #506078; font-size: 10px; }.network-dot { width: 7px; height: 7px; border-radius: 50%; background: #b4bfce; }.network-dot.online,.network-dot.healthy,.network-dot.success { background: #32a574; box-shadow: 0 0 0 3px rgba(50,165,116,.12); }.network-dot.error,.network-dot.banned { background: #d25565; }.network-dot.pending_node { background: #d99a32; }.mini-label { display: inline-flex; align-items: center; max-width: max-content; padding: 2px 6px; border-radius: 6px; background: #f0f4fa; color: #687791; font-size: 8.5px; font-weight: 750; }
.group-chip { display: inline-flex; max-width: 150px; margin-top: 4px; padding: 3px 7px; overflow: hidden; border: 1px solid #dce6fb; border-radius: 7px; background: #f4f7ff; color: #4e68ae; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.group-chip.empty { border-color: #e6eaf0; background: #f8f9fb; color: #929cac; }.node-stack .cell-sub { max-width: 205px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-actions { display: grid; grid-template-columns: repeat(3,max-content); gap: 6px; min-width: 220px; }.account-actions button { min-height: 27px; padding: 4px 8px; border: 1px solid #dce4f0; border-radius: 6px; background: #f6f8fb; color: #586983; box-shadow: none; font-size: 9px; }.account-actions button.primary { border-color: #c7eafa; background: #effaff; color: #169bd5; }.account-actions button.danger { border-color: #ffd8de; background: #fff4f6; color: #ef5e76; }.account-actions button:hover { border-color: #b9c9eb; background: #edf3ff; color: #315dca; }.account-node-card,.account-device-card { min-width: 235px; padding: 9px 11px; border: 1px solid #dce5f2; border-radius: 10px; background: linear-gradient(145deg,#fff,#f7faff); box-shadow: 0 2px 7px rgba(57,76,112,.06); }.account-node-head,.account-device-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:6px; }.account-node-head strong,.account-device-head strong { max-width:160px; overflow:hidden; color:#42506a; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.account-node-lines,.account-device-lines { display:grid; grid-template-columns:auto 1fr; gap:4px 7px; color:#728099; font-size:9px; }.account-node-lines { grid-template-columns:auto 1fr auto; }.account-node-lines b,.account-device-lines b { min-width:0; overflow:hidden; color:#4c5b74; font-weight:700; text-overflow:ellipsis; white-space:nowrap; }.account-device-card { min-width: 210px; background: linear-gradient(145deg,#fff,#f7fbff); }.account-device-head .mini-label.ready { background:#eef9f0; color:#3b9460; }.account-device-lines .mono { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:.01em; }.account-counts { display:grid; gap:7px; min-width:100px; }.account-count-line { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#78849a; font-size:10px; }.account-count-line strong { color:#303d55; font-size:12px; }.account-count-line strong.accent { color:#ed4e6c; }

.tianxing-console { position:fixed; inset:0; z-index:45; display:flex; align-items:center; justify-content:center; padding:24px; background:rgba(10,17,31,.4); }
.tianxing-console-card { width:min(960px,100%); max-height:90vh; overflow:auto; padding:24px; border-radius:16px; background:#fff; box-shadow:0 18px 70px #15223a33; }
.tianxing-console header,.tianxing-console-tools,.tianxing-console-list article,.tianxing-console-pages { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.tianxing-console h2 { margin:5px 0; font-size:20px; }
.tianxing-console p,.tianxing-console [data-result] { color:var(--muted); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
.tianxing-console-tools { padding:16px; background:#f6f8fb; border-radius:10px; margin:20px 0 12px; }
.tianxing-console-tools label { flex:1; display:grid; gap:6px; }
.tianxing-console-tools select { width:100%; min-width:0; }
.tianxing-console-list article { padding:18px 0; border-bottom:1px solid var(--border); }
.tianxing-console-list article>div { min-width:0; }
.tianxing-console-list button { flex-shrink:0; }
.tianxing-console-pages { justify-content:flex-end; padding-top:18px; }
@media(max-width:600px) { .tianxing-console { padding:12px; }.tianxing-console-card { padding:16px; max-height:94vh; }.tianxing-console-tools,.tianxing-console-list article { align-items:stretch; flex-direction:column; }.tianxing-console-list button { align-self:flex-start; } }
.modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(10,17,31,.55); backdrop-filter: blur(7px); }
.modal.open { display: flex; }
.modal-card { width: min(680px,100%); max-height: 90vh; overflow: auto; padding: 26px 28px; border-radius: 6px; background: #fff; box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.compact-card { width: min(420px,100%); }
.account-detail-card { width: min(860px,100%); }
.account-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.account-detail-grid section { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcff; }
.account-detail-grid dl { display: grid; grid-template-columns: 86px minmax(0,1fr); gap: 8px 12px; margin: 12px 0 0; }
.account-detail-grid dt { color: var(--muted); font-size: 11.5px; }
.account-detail-grid dd { margin: 0; color: #22304a; font-size: 12.5px; font-weight: 620; word-break: break-all; }
.account-detail-grid .mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 11.5px; }
@media (max-width: 980px) { .account-detail-grid { grid-template-columns: 1fr; } }
.account-lifecycle { margin-top: 14px; display: grid; gap: 12px; }
.lifecycle-block { padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fbfbfb; }
html.dark .lifecycle-block { background: #222; border-color: #343434; }
.lifecycle-loading, .lifecycle-empty { padding: 18px; text-align: center; color: var(--muted-2); font-size: 12px; }
.lifecycle-state { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lifecycle-state small { color: var(--muted); font-size: 11.5px; }
.risk-list { display: flex; flex-wrap: wrap; gap: 8px; }
.status.open { background: var(--danger-soft); color: var(--danger); }
.nurture-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.nurture-day { padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
html.dark .nurture-day { background: #262626; border-color: #383838; }
.nurture-day > strong { display: block; font-size: 12px; color: var(--text); }
.nurture-day > small { display: block; margin: 4px 0 6px; color: var(--muted); font-size: 10.5px; }
.nurture-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.nurture-day li { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); }
.nurture-day li i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #c9c9c9; }
.nurture-day li.ok i, .nurture-day li.succeeded i, .nurture-day li.completed i { background: var(--good); }
.nurture-day li.wait i, .nurture-day li.pending i { background: var(--warn); }
.nurture-day li.failed i, .nurture-day li.error i { background: var(--danger); }
.nurture-day li em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--muted-2); }
.timeline { display: grid; gap: 0; }
.timeline-item { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 10px; padding: 0 0 12px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: 0; width: 2px; background: var(--line); }
.timeline-item:last-child::before { display: none; }
.timeline-dot { position: relative; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--primary); }
.timeline-dot.ok, .timeline-dot.success { border-color: var(--good); }
.timeline-dot.warn, .timeline-dot.warning { border-color: var(--warn); }
.timeline-dot.error, .timeline-dot.danger { border-color: var(--danger); }
html.dark .timeline-dot { background: #1d1d1d; }
.timeline-item strong { display: block; font-size: 12.5px; color: var(--text); }
.timeline-item small { color: var(--muted-2); font-size: 10.5px; }
.timeline-item p { margin: 4px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
.benfu-session-card { display:grid; gap:16px; }.benfu-session-card label { display:grid; gap:7px; color:#52617a; font-size:12px; font-weight:700; }.benfu-session-card label input { min-height:42px; }.benfu-captcha-wrap { display:grid; gap:10px; justify-items:center; padding:18px; border:1px dashed #cbd9f3; border-radius:12px; background:#f7faff; }.benfu-captcha-wrap img { min-width:150px; min-height:54px; max-width:100%; border:1px solid #d9e3f4; border-radius:8px; background:#fff; image-rendering:auto; }.benfu-captcha-wrap span { color:#73819a; font-size:11px; }
.modal-card p { color: var(--muted); font-size: 12px; }
.modal-card label { display: grid; gap: 7px; margin-bottom: 13px; color: #53617a; font-size: 11px; }
.modal-card > button[type=submit] { width: 100%; margin-top: 5px; }
.action-fields { display: grid; gap: 13px; margin: 18px 0; }
.action-fields label { display: grid; gap: 7px; margin: 0; color: #53617a; font-size: 11px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.modal-actions button { min-width: 92px; }
.modal-actions .danger { background: var(--danger); color: #fff; }
.icon-button { min-height: 32px; padding: 3px 10px; background: #eef2f8; color: #61708a; font-size: 20px; box-shadow: none; }
.form-error { min-height: 20px; margin-top: 10px; color: var(--danger); font-size: 11px; text-align: center; }
.entry-captcha-desc { margin: -6px 0 14px !important; color: var(--muted); font-size: 12px; line-height: 1.6; }
.entry-captcha-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 2px; }
.entry-captcha-cell { position: relative; aspect-ratio: 1; overflow: hidden; border: 2px solid var(--line); border-radius: var(--radius); background: #f2f4f8 center/cover no-repeat; cursor: pointer; padding: 0; transition: border-color .14s ease, box-shadow .14s ease, transform .14s ease; }
.entry-captcha-cell:hover { border-color: rgba(187,27,27,.45); transform: translateY(-1px); }
.entry-captcha-cell i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,0); font-style: normal; transition: background .14s ease; }
.entry-captcha-cell.selected { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.entry-captcha-cell.selected i::after { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; }
.entry-captcha-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
html.dark .entry-captcha-cell { background-color: #262626; border-color: #383838; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 80; max-width: 420px; padding: 13px 17px; border-radius: 12px; background: #18233a; color: #fff; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s ease; box-shadow: 0 15px 35px rgba(18,29,53,.25); font-size: 12px; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.error { background: #b93849; }
.notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; padding: 18px 20px; border: 1px solid #f3d7a8; border-radius: 14px; background: #fff9ee; }

@media (max-width: 1240px) {
  .metric-grid { grid-template-columns: repeat(3,1fr); }
  .channel-card-grid { grid-template-columns: 1fr 1fr; }
  .sms-workspace { grid-template-columns: minmax(0,1fr) 270px; }
  .entry-studio { grid-template-columns: 300px minmax(0,1fr); }
  .entry-account-summary { grid-template-columns: 38px minmax(130px,1fr) repeat(2,minmax(100px,1fr)); }
  .entry-account-detail:last-child { display: none; }
  .filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }.filter-actions { grid-column: span 3; }
}
@media (max-width: 980px) {
  .shell { grid-template-columns: 214px minmax(0,1fr); }
  main { padding: 28px 22px 46px; }
  .content-grid { grid-template-columns: 1fr 1fr; }
  .sms-workspace { grid-template-columns: 1fr; }
  .selection-summary { position: static; }
  .channel-overview { grid-template-columns: 1fr 1fr; }
  .supplier-layout { grid-template-columns: 1fr; }
  .entry-studio { grid-template-columns: 1fr; }
  .entry-device-pane { max-height: 420px; border-right: 0; border-bottom: 1px solid #edf0f4; }
  .entry-phone-preview { display: none; }
  .entry-device-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); flex: 0 0 auto; max-height: 170px; }
  .entry-ios-field { margin-top: 10px; }
}
@media (max-width: 720px) {
  .shell { display: block; }
  .sidebar { position: relative; height: auto; padding: 18px; }
  .brand { padding-bottom: 16px; }
  .nav-section { display: none; }
  .sidebar nav { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; }
  .sidebar nav button.nav-item, .sidebar nav a { text-align: center; padding: 10px 4px; font-size: 11px; }
  .sidebar nav button.nav-item::after, .sidebar nav a::before { width: 14px; margin-right: 3px; font-size: 11px; }
  .sidebar-foot { display: none; }
  main { padding: 22px 14px 40px; }
  header { align-items: flex-start; flex-direction: column; }
  .metric-grid, .content-grid { grid-template-columns: 1fr 1fr; }
  .field-grid, .form-grid { grid-template-columns: 1fr; }
  .experiment-box { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .workflow-progress { grid-template-columns: 1fr; gap: 10px; }
  .progress-line { display: none; }
  .flow-hero { flex-direction: column; }
  .channel-card-grid { grid-template-columns: 1fr; }
  .head-actions { align-items: flex-end; flex-direction: column; }
  .view-context { align-items:flex-start; flex-direction:column; gap:10px; }.context-note { max-width:100%; }
  .supplier-metrics { grid-template-columns: 1fr 1fr; }
  .benfu-metric-grid { grid-template-columns: 1fr 1fr; }
  .benfu-purchase-grid { grid-template-columns:1fr 1fr; }
  .node-type-grid { grid-template-columns: 1fr; }
  .import-banner { align-items: flex-start; flex-direction: column; }
  .entry-workbench-scroll { padding: 20px 18px; }
  .entry-tab-bar { margin: 20px 18px 0; }
  .entry-field-grid,.entry-experiment-row { grid-template-columns: 1fr; }
  .entry-node-cities { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .entry-account-summary { grid-template-columns: 38px 1fr; }
  .entry-account-detail { display: none; }
  .entry-tutorial { flex-wrap: wrap; gap: 8px; font-size: 10px; }
  .benfu-purchase-grid { grid-template-columns:1fr; }
  .benfu-purchase-foot { align-items:flex-start; flex-direction:column; }
  .filter-grid { grid-template-columns: 1fr; }.filter-actions { grid-column: auto; }.selection-actions { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; }.panel-head:has(.selection-actions) { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
  .metric-grid, .content-grid, .channel-overview { grid-template-columns: 1fr; }
  .sidebar nav { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .header-actions { width: 100%; justify-content: space-between; }
  .primary-actions { flex-direction: column; }
  .primary-actions button { width: 100%; }
}

/* r212：同一归属用户的十候选五成功并行录入工作台 */
.sms-batch-panel { margin-top:16px; border:1px solid #dce5f2; border-radius:16px; background:#f8fbff; padding:16px; }
.sms-batch-panel.empty { min-height:110px; display:flex; align-items:center; justify-content:center; text-align:center; }
.sms-batch-empty strong { display:block; color:#27364f; font-size:14px; }
.sms-batch-empty p { margin:6px 0 0; color:#7a879b; font-size:12px; }
.sms-batch-summary { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }
.sms-batch-summary h3 { margin:3px 0 0; font-size:17px; color:#18243a; }
.sms-batch-metrics { display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.sms-batch-metrics span { min-width:72px; border-radius:10px; background:#fff; border:1px solid #e0e8f4; padding:7px 10px; color:#738096; font-size:11px; text-align:center; }
.sms-batch-metrics strong { display:block; margin-top:2px; color:#1d2b44; font-size:16px; }
.sms-batch-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.sms-slot-card { min-width:0; border:1px solid #e1e8f2; border-radius:12px; background:#fff; padding:12px; box-shadow:0 3px 12px rgba(32,54,90,.045); }
.sms-slot-card.completed { border-color:#a7e4c1; background:#f3fcf7; }
.sms-slot-card.unknown { border-color:#e8cb8e; background:#fffbf2; }
.sms-slot-card.unknown .sms-slot-status { background:#fff0ce; color:#865c13; }
.sms-batch-recovery { display:block; padding:16px; margin-bottom:16px; border:1px solid #e8cb8e; border-radius:10px; background:#fffbf2; color:#76531c; font-size:13px; line-height:1.6; overflow-wrap:anywhere; }
.sms-batch-recovery strong { display:block; font-size:14px; }
.sms-batch-recovery p { margin:6px 0 10px; }
.sms-batch-recovery button { max-width:100%; white-space:normal; }
.sms-slot-card.failed,.sms-slot-card.verify_failed { border-color:#f3c7cd; background:#fff7f8; }
.sms-slot-card.waiting_sms,.sms-slot-card.provisioning,.sms-slot-card.verifying { border-color:#bfd1ff; background:#f6f8ff; }
.sms-slot-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.sms-slot-number { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; border-radius:8px; background:var(--primary-soft); color:var(--primary); font-size:12px; font-weight:800; }
.sms-slot-status { border-radius:999px; padding:3px 8px; background:#eef2f7; color:#68758a; font-size:10px; font-weight:700; }
.sms-slot-card.completed .sms-slot-status { background:#dff7e9; color:#18834a; }
.sms-slot-card.failed .sms-slot-status,.sms-slot-card.verify_failed .sms-slot-status { background:#ffe4e7; color:#b63b4b; }
.sms-slot-main { margin-top:9px; display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
.sms-slot-main strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#27364f; font-size:13px; }
.sms-slot-main time { flex:none; color:#8b97a9; font-size:10px; }
.sms-slot-meta { min-height:32px; margin-top:5px; color:#7b8799; font-size:11px; line-height:16px; word-break:break-word; }
.sms-slot-actions { display:flex; gap:6px; margin-top:9px; }
.sms-slot-actions button { min-height:28px; padding:4px 9px; font-size:10px; }
.sms-slot-progress { height:3px; margin-top:9px; overflow:hidden; border-radius:999px; background:#e8edf5; }
.sms-slot-progress i { display:block; height:100%; background:var(--primary); transition:width .25s ease; }
@media (max-width: 820px) {
  .sms-batch-summary { align-items:flex-start; flex-direction:column; }
  .sms-batch-metrics { justify-content:flex-start; }
  .sms-batch-grid { grid-template-columns:1fr; }
}

.legacy-metric-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:14px; }
.legacy-metric-grid article { min-width:0; min-height:112px; padding:16px; border:1px solid #dfe5ec; border-radius:8px; background:#fff; box-shadow:0 4px 14px rgba(25,38,55,.04); }
.legacy-metric-grid article:nth-child(2) { border-top:3px solid #d5a329; }
.legacy-metric-grid article:nth-child(3) { border-top:3px solid #318e68; }
.legacy-metric-grid article:nth-child(4) { border-top:3px solid var(--primary); }
.legacy-metric-grid article:nth-child(5) { border-top:3px solid #bd5a5a; }
.legacy-metric-grid span,.legacy-metric-grid small { display:block; color:#6e7885; font-size:11px; line-height:1.5; }
.legacy-metric-grid strong { display:block; margin:7px 0 4px; color:#18232f; font-size:25px; line-height:1; }
.legacy-filter-panel { margin-bottom:14px; }
.legacy-filter-grid { grid-template-columns:repeat(4,minmax(150px,1fr)); }
.legacy-asset-panel { margin-bottom:14px; }
.legacy-batch-panel { margin-bottom:14px; padding:0; overflow:hidden; }
.legacy-batch-summary { margin:0; padding:15px 18px; cursor:pointer; list-style:none; user-select:none; }
.legacy-batch-summary::-webkit-details-marker { display:none; }
.legacy-batch-summary:hover { background:#fafbfc; }
.legacy-summary-side { display:flex; align-items:center; gap:10px; }
.legacy-summary-toggle { min-width:44px; padding:6px 10px; border:1px solid #dfe5ec; border-radius:6px; background:#fff; color:#4f5f70; font-size:12px; text-align:center; }
.legacy-batch-panel[open] .legacy-summary-toggle { font-size:0; }
.legacy-batch-panel[open] .legacy-summary-toggle::after { content:'收起'; font-size:12px; }
.legacy-batch-panel > .table-wrap { border-top:1px solid #e7ebf0; }
.legacy-asset-panel .panel-head { align-items:flex-start; }
.legacy-allocation-toolbar { align-items:center; justify-content:space-between; margin:0 14px 12px; padding:10px 12px; background:#fbfcfe; box-shadow:none; }
.legacy-allocation-toolbar .selection-actions:first-child { justify-content:flex-start; }
.legacy-allocation-toolbar .tag { margin:0; }
.legacy-allocation-toolbar { flex-wrap:wrap; gap:10px; }
.legacy-allocation-toolbar .selection-actions { flex-wrap:wrap; }
.legacy-account-table table { min-width:1400px; }
.legacy-account-table th:nth-child(1) { width:44px; }
.legacy-account-table th:nth-child(2) { width:260px; }
.legacy-account-table th:nth-child(3) { width:210px; }
.legacy-account-table th:nth-child(4) { width:225px; }
.legacy-account-table th:nth-child(5) { width:200px; }
.legacy-account-table th:nth-child(6) { width:190px; }
.legacy-account-table th:nth-child(7) { width:190px; }
.legacy-account-table td:first-child, .legacy-account-table th:first-child { text-align:center; }
.legacy-hash { display:inline-block; padding:4px 7px; border:1px solid #d9e0e8; border-radius:5px; background:#f7f9fb; color:#405164; font-size:11px; letter-spacing:0; }
.legacy-warning { display:inline-block; margin-top:6px; padding:3px 7px; border-radius:5px; background:#fff0ed; color:#a44139; font-size:10px; font-weight:700; }
.status.staged,.status.unverified { background:#f3f0e7; color:#7a642f; }
.status.ready,.status.valid,.status.completed { background:#e7f6ee; color:#287250; }
.status.archived,.status.expired { background:#edf0f3; color:#68727d; }
.status.duplicate,.status.invalid,.status.failed { background:#fdeceb; color:#a6433e; }
.status.importing { background:var(--warn-soft); color:var(--warn); }
.mono { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; letter-spacing:0; }
@media (max-width: 1180px) {
  .legacy-metric-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .legacy-filter-grid { grid-template-columns:repeat(2,minmax(150px,1fr)); }
}
@media (max-width: 720px) {
  .legacy-metric-grid,.legacy-filter-grid { grid-template-columns:1fr; }
  .legacy-metric-grid article { min-height:96px; }
}
.probe-isolation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.probe-isolation-item{min-width:0;padding:12px;border:1px solid var(--line);background:var(--panel-soft)}.probe-isolation-item span,.probe-isolation-item strong{display:block}.probe-isolation-item span{color:var(--muted);font-size:12px}.probe-isolation-item strong{margin-top:5px;font-size:14px}.probe-isolation-item.passed strong{color:var(--good)}.probe-isolation-item.blocked strong{color:var(--danger)}
@media (max-width:900px){.probe-isolation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.probe-isolation-grid{grid-template-columns:1fr}}

.bound-accounts-body{display:flex;flex-direction:column;gap:10px;max-height:50vh;overflow:auto}
.bound-account-row{display:flex;flex-direction:column;gap:3px;padding:10px 12px;border:1px solid var(--border,#e5e7eb);border-radius:8px;background:var(--bg-1,#f8f9fb)}

.bound-account-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}

/* ===== 暗色模式（对齐运营端 dark） ===== */
html.dark {
  color-scheme: dark;
  --bg: #161616;
  --panel: #1d1d1d;
  --panel-soft: #222222;
  --text: #e6e6e6;
  --muted: #a8a8a8;
  --muted-2: #7d7d7d;
  --line: #2f2f2f;
  --line-strong: #3d3d3d;
  --primary-soft: rgba(187, 27, 27, .18);
  --good-soft: rgba(101, 163, 13, .16);
  --warn-soft: rgba(217, 119, 6, .16);
  --danger-soft: rgba(225, 29, 72, .16);
  --sidebar: #181818;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow: 0 4px 14px rgba(0,0,0,.4);
}
html.dark body { background: #161616; }
html.dark .sidebar { background: #181818; border-right-color: #262626; }
html.dark .brand strong { color: #eee; }
html.dark .brand small { color: #888; }
html.dark .sidebar nav button.nav-item, html.dark .sidebar nav a { color: #bdbdbd; }
html.dark .sidebar nav button.nav-item::after, html.dark .sidebar nav a::before { color: #8a8a8a; }
html.dark .sidebar nav button.nav-item:hover, html.dark .sidebar nav button.nav-item.active, html.dark .sidebar nav a:hover { color: #ff9b9b; background: rgba(187,27,27,.2); }
html.dark .sidebar-foot { background: #232323; border-color: #2f2f2f; color: #a8a8a8; }
html.dark .sidebar-foot strong { color: #e6e6e6; }
html.dark .sidebar-foot small { color: #888; }
html.dark .sidebar-avatar { background: rgba(187,27,27,.2); color: #ff9b9b; }
html.dark .nav-section { color: #7d7d7d; }
html.dark .topbar { background: #1d1d1d; border-bottom-color: #2a2a2a; }
html.dark .nav-history-btn { background: #242424; border-color: #343434; color: #bdbdbd; }
html.dark .breadcrumb b { color: #eee; }
html.dark .breadcrumb-sub { border-left-color: #3a3a3a; color: #888; }
html.dark .conn-pill { background: #242424; border-color: #343434; color: #bdbdbd; }
html.dark .admin-chip { background: #242424; border-color: #343434; }
html.dark .last-updated { color: #888; }
html.dark .panel, html.dark .toolbar, html.dark .filter-panel, html.dark .metric, html.dark .table-wrap, html.dark .account-device-card, html.dark .account-node-card, html.dark .flow-hero, html.dark .workflow-progress, html.dark .selection-summary, html.dark .config-drawer { background: #1d1d1d; border-color: #2f2f2f; }
html.dark .view-context h2 { color: #eee; }
html.dark .view-context p { color: #a8a8a8; }
html.dark th { background: #242424; color: #bdbdbd; }
html.dark .table-wrap.sticky-actions thead th:last-child { background: #242424; }
html.dark .account-table thead th:nth-child(1), html.dark .account-table thead th:nth-child(2) { background: #242424; }
html.dark .table-wrap.sticky-actions td:last-child { background: #1d1d1d; }
html.dark .table-wrap.sticky-actions tbody tr:hover td:last-child { background: #242424; }
html.dark .account-table td:first-child { background: #1d1d1d; }
html.dark .account-table tbody tr:hover td:first-child { background: #242424; }
html.dark .account-command-bar { background: #1d1d1d; }
html.dark .account-horizontal-scroll { background: #1d1d1d; }
html.dark .entry-studio, html.dark .entry-workbench, html.dark .entry-tab-bar, html.dark .entry-block, html.dark .entry-device-pane { background: #1d1d1d; }
html.dark .supplier-facts, html.dark .supplier-console { background: #1d1d1d; }
html.dark .benfu-purchase-grid, html.dark .benfu-purchase-foot { background: #1d1d1d; }
html.dark .channel-card:hover { border-color: #3d3d3d; }
html.dark .mini-button { background: #2a2a2a; color: #ccc; }
html.dark .entry-phone-preview i { background: #2a2a2a; color: #8a8a8a; }
html.dark .entry-quality-toggle { background: rgba(217,119,6,.12); border-color: rgba(217,119,6,.3); color: #fcd34d; }
html.dark .channel-card .channel-meta, html.dark .channel-card .channel-meta div, html.dark .channel-card .config-form { background: transparent; }
html.dark .channel-card .channel-code { color: #9a9a9a; }
html.dark .channel-card .channel-state { background: rgba(101,163,13,.16); color: #a3d13c; }
html.dark .entry-phone-preview strong, html.dark .entry-device-caption strong { color: #e6e6e6; }
html.dark .supplier-metrics > div { background: #1d1d1d; border-color: #2f2f2f; }
html.dark .supplier-metrics strong { color: #e6e6e6; }
html.dark .supplier-metrics small { color: #9a9a9a; }
html.dark .supplier-facts > div { background: #232323; border-color: #343434; }
html.dark .supplier-facts strong { color: #e6e6e6; }
html.dark .node-type-grid > button, html.dark .product-strip > button { background: #232323; border-color: #343434; color: #ddd; }
html.dark .entry-block > strong { color: #e6e6e6; background: transparent; }
html.dark .entry-tab-bar { background: #2a2a2a; }
html.dark .entry-tab-bar span, html.dark .entry-tab-bar strong { color: #bdbdbd; }
html.dark .entry-tab-bar strong { background: #1d1d1d; color: #e6e6e6; }
html.dark .product-strip > span { background: #232323; border-color: #343434; }
html.dark .product-strip strong { color: #e6e6e6; }
html.dark .product-strip small { color: #9a9a9a; }
html.dark .probe-isolation-item { background: #232323; border-color: #343434; }
html.dark #smsRandomDeviceButton { background: #2a2a2a; color: #ccc; }
html.dark .entry-experiment-toggle, html.dark .entry-account-summary, html.dark .sms-batch-size, html.dark .sms-batch-panel, html.dark .order-panel { background: #232323; border-color: #343434; }
html.dark .legacy-metric-grid article { background: #1d1d1d; border-color: #2f2f2f; }
html.dark .channel-overview article { background: #1d1d1d; border-color: #2f2f2f; }
html.dark .account-command-bar button { background: #2a2a2a; color: #ccc; border-color: #383838; }
html.dark .account-command-bar button:hover { background: #333; }
html.dark .account-command-bar button.danger-soft { background: rgba(225,29,72,.14); color: #fda4af; }

/* ── 账号修复台 ─────────────────────────────────────────── */
.repair-bench-panel { margin-bottom: 14px; }
.repair-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.repair-metric { cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.repair-metric:hover { border-color: rgba(187,27,27,.3); box-shadow: 0 8px 18px rgba(0,0,0,.08); transform: translateY(-1px); }
.repair-metric.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.repair-metric.danger::before { background: #e11d48; }
.repair-metric.muted::before { background: #94a3b8; }
.repair-ai-panel { margin-bottom: 14px; }
.repair-ai-form { display: grid; grid-template-columns: 1.1fr 1.7fr 1.4fr 1.9fr 1.8fr auto; gap: 12px; align-items: end; }
.repair-ai-form label { display: grid; gap: 7px; color: #68758c; font-size: 10px; font-weight: 750; }
.repair-ai-form input { min-height: 38px; font-size: 11px; }
.repair-ai-form button { min-height: 38px; padding: 6px 14px; }
.repair-ai-toggle { display: flex !important; align-items: center; gap: 8px; min-height: 38px; font-size: 11px !important; color: #334155 !important; }
.repair-ai-toggle input { width: 18px; height: 18px; accent-color: var(--primary); }
.repair-ai-hint { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.repair-progress { display: grid; gap: 3px; }
.repair-progress .cell-sub { color: #8896ad; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repair-command-bar .primary { border-color: var(--primary); background: var(--primary); color: #fff; }
.repair-command-bar .success-soft { border-color: #bce5b0; background: #f1ffe9; color: #58a12f; }
.repair-command-bar .danger-soft { border-color: #ffd7de; background: #fff6f7; color: #ef6e83; }
.action-fields select[multiple] { min-height: 180px; padding: 8px; }
.action-fields select[multiple] option { padding: 5px 7px; border-radius: 5px; }
.action-fields select[multiple] option:checked { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
@media (max-width: 1100px) { .repair-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); } .repair-ai-form { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) { .repair-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); } .repair-ai-form { grid-template-columns: 1fr; } }
html.dark .repair-ai-form label { color: #9aa6bb; }
html.dark .repair-ai-toggle { color: #d5dce8 !important; }

/* ── 划拨选择辅助 ─────────────────────────────────────────── */
.is-blocked-row td { opacity: .62; }
.is-blocked-row .cell-sub { color: #9aa5b8; }
.toolbar .primary { border-color: var(--primary); background: var(--primary); color: #fff; }
#vaultSelectionHint, #seedSelectionHint { white-space: nowrap; }
html.dark .account-table td { background: #1d1d1d; }
html.dark .account-table tbody tr:hover td { background: #242424; }
html.dark .account-actions button { background: #2a2a2a; color: #ccc; border-color: #383838; }
html.dark .account-actions button.danger { background: rgba(225,29,72,.14); color: #fda4af; }
html.dark .group-chip { background: #2a2a2a; color: #ccc; border-color: #3a3a3a; }
html.dark .vault-legacy-note { background: rgba(187,27,27,.1); border-color: rgba(187,27,27,.3); color: #e0a3a3; }
html.dark .entry-device-caption strong, html.dark .entry-phone-preview strong { color: #e6e6e6; }
html.dark .channel-overview article span { color: #ccc; }
html.dark .channel-overview article small { color: #9a9a9a; }
html.dark .catalog-head .sync-time { color: #9a9a9a; }
html.dark .group-chip.empty { background: #262626; border-color: #383838; color: #9a9a9a; }
html.dark td { color: #d6d6d6; }
html.dark tbody tr:hover { background: #242424; }
html.dark .cell-main { color: #eee; }
html.dark .cell-sub { color: #9a9a9a; }
html.dark input, html.dark select { background: #232323; border-color: #3a3a3a; color: #e6e6e6; }
html.dark input::placeholder { color: #7d7d7d; }
html.dark .ghost, html.dark .button.ghost { background: #2a2a2a; color: #ccc; }
html.dark .ghost:hover { background: #333; }
html.dark .status { background: #2d2d2d; color: #cfcfcf; }
html.dark .status.healthy, html.dark .status.normal, html.dark .status.completed, html.dark .status.sms_received, html.dark .status.success, html.dark .status.启用 { background: rgba(101,163,13,.16); color: #a3d13c; }
html.dark .status.failed, html.dark .status.expired, html.dark .status.cancelled, html.dark .status.error, html.dark .status.banned, html.dark .status.停用 { background: rgba(225,29,72,.16); color: #fda4af; }
html.dark .status.pending_node, html.dark .status.unknown { background: rgba(217,119,6,.16); color: #fcd34d; }
html.dark .modal-card { background: #1d1d1d; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
html.dark .modal { background: rgba(5,5,5,.6); }
html.dark .account-detail-grid section { background: #222; border-color: #2f2f2f; }
html.dark .account-detail-grid dd { color: #ddd; }
html.dark .account-detail-grid dt { color: #9a9a9a; }
html.dark .context-note { background: rgba(187,27,27,.12); border-color: rgba(187,27,27,.35); color: #ff9b9b; }
html.dark .vault-legacy-note { background: rgba(187,27,27,.1); border-color: rgba(187,27,27,.3); color: #e0a3a3; }
html.dark .distribution-row .bar i { background: var(--primary); }
html.dark .pager { color: #9a9a9a; }
html.dark .pager button { background: #2a2a2a; color: #ccc; }
html.dark .empty-cell, html.dark .empty { color: #7d7d7d; }
html.dark .group-chip { background: #2a2a2a; color: #ccc; }
html.dark .entry-workbench-scroll, html.dark .entry-field-grid { background: #1d1d1d; }
html.dark .channel-card { background: linear-gradient(180deg, #202020, #1b1b1b); border-color: #2f2f2f; }
html.dark .benfu-metric-grid article { background: linear-gradient(135deg, #202020, #1c1c1c); border-color: #2f2f2f; }
html.dark .loading-bar { background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.batch-error-summary { margin: 0 0 14px; padding: 12px 14px; border: 1px solid rgba(225,29,72,.35); border-radius: 6px; background: var(--danger-soft); }
.batch-error-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.batch-error-head strong { color: var(--danger); font-size: 12.5px; }
.batch-error-head .text-button { min-height: 24px; padding: 2px 8px; background: transparent; color: var(--danger); font-size: 14px; }
.batch-error-list { display: grid; gap: 5px; max-height: 150px; overflow: auto; }
.batch-error-list span { color: #7c3a3a; font-size: 11.5px; }
html.dark .batch-error-summary { background: rgba(225,29,72,.12); border-color: rgba(225,29,72,.4); }
html.dark .batch-error-list span { color: #fda4af; }

.sms-batch-actions { display: flex; align-items: center; gap: 8px; }
.sms-batch-actions button { min-height: 34px; white-space: nowrap; }

/* ===== 侧边栏折叠（对齐运营端 collapsed 64px） ===== */
.sidebar-collapse-btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 34px; margin: 8px 0 0; padding: 8px 11px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #9a9a9a; font-size: 12px; font-weight: 500; cursor: pointer; text-align: left; }
.sidebar-collapse-btn:hover { background: rgba(187,27,27,.06); color: var(--primary); }
.collapse-icon { font-size: 14px; line-height: 1; width: 20px; display: inline-grid; place-items: center; letter-spacing: -3px; }
html.dark .sidebar-collapse-btn { color: #8a8a8a; }
html.dark .sidebar-collapse-btn:hover { color: #ff9b9b; background: rgba(187,27,27,.15); }
.shell.collapsed { grid-template-columns: 64px minmax(0, 1fr); }
.shell.collapsed .sidebar { padding: 12px 6px; }
.shell.collapsed .brand { justify-content: center; padding: 0 0 14px; }
.shell.collapsed .brand > div, .shell.collapsed .brand strong, .shell.collapsed .brand small, .shell.collapsed .nav-label, .shell.collapsed .nav-section-toggle::after { display: none; }
.shell.collapsed .sidebar-collapse-btn { justify-content: center; padding: 8px 0; }
.shell.collapsed .sidebar nav { gap: 3px; }
.shell.collapsed .nav-item, .shell.collapsed .nav-link { display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.shell.collapsed .nav-item::after, .shell.collapsed .nav-link::before { margin-right: 0; float: none; }
.shell.collapsed .nav-section { text-align: center; padding: 8px 0 3px; }
.shell.collapsed .nav-item.active::before { top: 8px; bottom: 8px; }
.shell.collapsed .sidebar-foot { justify-content: center; padding: 8px 4px; }
.shell.collapsed .sidebar-foot > div { display: none; }
.shell.collapsed .sidebar-avatar { width: 30px; height: 30px; }

/* ===== 主题红色方形滚动条（对齐运营端） ===== */
* { scrollbar-width: thin; scrollbar-color: var(--primary) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-deep); }
html.dark ::-webkit-scrollbar-thumb { background: #a33737; }

.channel-tabs { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 14px; border-radius: 999px; background: #f2f3f5; }
.channel-tab { min-height: 30px; padding: 6px 18px; border-radius: 999px; background: transparent; color: #666; font-size: 12.5px; }
.channel-tab:hover { color: var(--primary); }
.channel-tab.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
html.dark .channel-tabs { background: #2a2a2a; }
html.dark .channel-tab { color: #bdbdbd; }
html.dark .channel-tab.active { background: #1d1d1d; color: #ff9b9b; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.channel-tab-panel[hidden] { display: none; }

.x105-fuel-grid { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 10px; }
.x105-fuel-item { padding: 12px 13px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
html.dark .x105-fuel-item { background: #262626; border-color: #383838; }
.x105-fuel-item span { display: block; color: var(--muted); font-size: 11px; }
.x105-fuel-item strong { display: block; margin: 5px 0 3px; font-size: 18px; color: var(--text); }
.x105-fuel-item small { color: var(--muted-2); font-size: 10.5px; }
@media (max-width: 1100px) { .x105-fuel-grid { grid-template-columns: repeat(3, 1fr); } }
.x105-fuel-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
html.dark .x105-fuel-bar { background: #1d1d1d; border-color: #2f2f2f; }
.x105-fuel-bar .kicker { margin: 0; }
.x105-fuel-bar strong { font-size: 16px; color: var(--primary); }
.x105-fuel-bar small { color: var(--muted); font-size: 11.5px; }
.x105-fuel-bar button { margin-left: auto; }

.entry-tab { min-height: 30px; padding: 6px 14px; border-radius: 999px; background: transparent; color: #666; font-size: 12.5px; border: 0; }
.entry-tab:hover { color: var(--primary); }
.entry-tab.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
html.dark .entry-tab { color: #bdbdbd; }
html.dark .entry-tab.active { background: #1d1d1d; color: #ff9b9b; }
.entry-tab-panel[hidden] { display: none; }

/* r772: two clearly separated production lines.  This selector is kept
   independent from the older workbench themes so later visual overlays do
   not collapse the domestic/Canada boundary. */
.entry-line-switch { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:24px 28px 0; }
.entry-line-option { display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:60px; padding:12px 16px; border:1px solid #e1e5eb; border-radius:12px; background:#fff; color:#263247; text-align:left; box-shadow:none; }
.entry-line-option span { font-size:15px; font-weight:700; }
.entry-line-option small { color:#8992a2; font-size:11.5px; font-weight:500; text-align:right; }
.entry-line-option:hover { border-color:#c9d0db; background:#fafbfc; }
.entry-line-option.active { border-color:#d78a8a; background:#fff8f8; color:#b91f24; box-shadow:0 0 0 2px rgba(197,31,36,.06); }
.entry-line-option.active small { color:#8e6265; }
.entry-line-switch + .entry-tab-bar { margin-top:10px !important; }
.entry-tab-bar[data-entry-line="domestic"] { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
.entry-tab-bar[data-entry-line="canada"] { grid-template-columns:minmax(0,1fr) !important; }
html.dark .entry-line-option { border-color:#3a3a3a; background:#202020; color:#e4e4e4; }
html.dark .entry-line-option.active { border-color:#8c4448; background:#2b2021; color:#ff9b9b; }
@media (max-width: 900px) { .entry-line-switch { grid-template-columns:1fr; margin:18px 18px 0; } }
.entry-qr-card, .entry-phone-card { padding: 18px; }
.entry-qr-stage { display: grid; justify-items: center; gap: 12px; margin-top: 14px; }
.entry-qr-box { width: 220px; height: 220px; display: grid; place-items: center; border: 1px dashed var(--line-strong); border-radius: 8px; background: #fff; overflow: hidden; }
html.dark .entry-qr-box { background: #222; }
.entry-qr-box img { width: 200px; height: 200px; }
.entry-qr-empty { color: var(--muted-2); font-size: 12px; }
.entry-qr-status { color: var(--muted); font-size: 12px; min-height: 18px; }
.entry-qr-actions { display: flex; gap: 10px; }
.entry-phone-form { display: grid; gap: 12px; max-width: 420px; margin-top: 14px; }
.entry-phone-form label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; }
.entry-phone-form input, .entry-phone-form select { min-height: 38px; }
.entry-phone-actions { display: flex; gap: 10px; margin-top: 4px; }
.entry-qr-code-text { padding: 12px; font-family: ui-monospace, monospace; font-size: 11px; word-break: break-all; }

/* ===== R570: repair-bench + sms-entry UI polish ===== */
/* --- Repair: metrics --- */
.repair-metrics{gap:14px}
.repair-metric{padding:16px 18px 15px;border-radius:12px;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%)}
.repair-metric span{display:block;color:var(--muted);font-size:11.5px;font-weight:650;letter-spacing:.02em}
.repair-metric strong{display:block;margin:7px 0 4px;font-size:30px;font-weight:800;letter-spacing:-.02em;color:var(--text);font-variant-numeric:tabular-nums}
.repair-metric small{display:block;color:var(--muted-2);font-size:10.5px;line-height:1.45}
.repair-metric.danger strong{color:#e11d48}
/* --- Repair: AI config form --- */
.repair-ai-form{display:grid;gap:14px}
.rai-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.rai-fields label{display:grid;gap:6px;min-width:0}
.rai-fields label>span{color:var(--muted);font-size:10.5px;font-weight:750;letter-spacing:.03em}
.rai-fields input{min-height:40px;border-radius:8px;font-size:12px}
.rai-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-top:12px;border-top:1px dashed var(--line)}
.repair-ai-toggle{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:38px}
.repair-ai-toggle input{position:absolute;opacity:0;pointer-events:none}
.repair-ai-toggle .rai-track{position:relative;flex:0 0 auto;width:40px;height:22px;border-radius:999px;background:#d7dbe3;transition:background .18s ease}
.repair-ai-toggle .rai-track::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:left .18s ease}
.repair-ai-toggle input:checked + .rai-track{background:var(--primary)}
.repair-ai-toggle input:checked + .rai-track::after{left:21px}
.repair-ai-toggle .rai-text{color:var(--text);font-size:12.5px;font-weight:650}
.rai-foot #saveAiConfigButton{min-height:40px;padding:8px 18px;border-radius:8px}
/* --- Repair: filter bar --- */
.repair-bench-panel + .filter-panel .filter-grid,.filter-panel .filter-grid{align-items:end}
/* --- SMS entry: device list --- */
.entry-device-list{display:flex;flex-direction:column;gap:6px;padding-top:10px}
.entry-device-list button{border-radius:9px;border:1px solid transparent;min-height:40px;font-size:12.5px;transition:background .14s ease,border-color .14s ease}
.entry-device-list button:hover{border-color:var(--line)}
.entry-device-list button.active{border-color:rgba(187,27,27,.35);background:var(--primary-soft)}
/* --- SMS entry: numbered block badge --- */
.entry-block-title b{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:linear-gradient(135deg,var(--primary),var(--primary-deep));color:#fff;font-size:12px;font-weight:800;box-shadow:0 3px 8px rgba(187,27,27,.28)}
.entry-block{border-radius:14px}
/* --- SMS entry: account summary strip --- */
.entry-account-summary{border-radius:12px;align-items:center}
/* --- shared: tab bar radius --- */
.entry-tab-bar{border-radius:12px}
@media (max-width:1100px){.rai-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.rai-fields{grid-template-columns:1fr}.rai-foot{flex-direction:column;align-items:stretch}}

/* ===== R571: AI config (火山方舟) redesign ===== */
.repair-ai-form{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.rai-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;width:100%}
.rai-fields label{display:grid;gap:7px;min-width:0}
.rai-fields label>span{color:var(--muted);font-size:11px;font-weight:750;letter-spacing:.03em}
.rai-fields input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 12px;font-size:12.5px;color:var(--text);transition:border-color .14s ease,box-shadow .14s ease}
.rai-fields input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 3px var(--primary-soft)}
.rai-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.repair-ai-toggle{display:flex;align-items:center;gap:11px;cursor:pointer;min-height:38px}
.repair-ai-toggle input{position:absolute;opacity:0;pointer-events:none}
.repair-ai-toggle .rai-track{position:relative;flex:0 0 auto;width:44px;height:24px;border-radius:999px;background:#d8dce4;transition:background .18s ease}
.repair-ai-toggle .rai-track::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.28);transition:left .18s ease}
.repair-ai-toggle input:checked + .rai-track{background:var(--primary)}
.repair-ai-toggle input:checked + .rai-track::after{left:23px}
.repair-ai-toggle .rai-text{color:var(--text);font-size:13px;font-weight:700}
.rai-foot #saveAiConfigButton{min-height:42px;padding:9px 22px;border-radius:9px;font-size:13px}
.repair-ai-hint{margin:2px 2px 0;color:var(--muted-2);font-size:11px}
@media (max-width:1100px){.rai-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.rai-fields{grid-template-columns:1fr}.rai-foot{flex-direction:column;align-items:stretch}}

/* ===== R572: ops-style QR / phone entry ===== */
.ops-entry{display:flex;flex-direction:column;gap:16px;padding:24px 30px 26px}
.ops-qr-stage{display:flex;flex-direction:column;align-items:center;gap:14px;padding:10px 0 4px}
.ops-qr-stage .entry-qr-box{width:190px;height:190px;border:1px dashed var(--line-strong);border-radius:10px;background:#fff}
.ops-qr-stage .entry-qr-status{color:var(--muted);font-size:12px}
.ops-qr-stage .entry-qr-actions{display:flex;gap:10px}
.ops-divider{height:1px;background:var(--line)}
.ops-acct-card{display:flex;flex-direction:column;gap:12px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fcfdff}
.ops-acct-head{display:flex;align-items:center;gap:11px}
.ops-acct-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-weight:800;font-size:15px;flex:0 0 auto}
.ops-acct-name{font-size:13.5px;font-weight:750;color:var(--text)}
.ops-field{display:grid;gap:6px}
.ops-field>span{color:var(--muted);font-size:11px;font-weight:750}
.ops-field select{min-height:40px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 12px;font-size:12.5px}
.ops-tip{padding:10px 13px;border-radius:8px;background:#fdf6ec;color:#c25b1f;font-size:12px}
.ops-row{display:grid;grid-template-columns:auto 1fr;gap:10px}
.ops-row input{min-height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:0 12px;font-size:13px}
.ops-zone{min-height:42px;border:1px solid var(--line);border-radius:9px;background:#f4f6f9;color:var(--muted);padding:0 12px;font-size:13px}
.ops-row button{min-height:42px;padding:0 16px;border-radius:9px}
.ops-confirm{width:100%;min-height:44px;border-radius:9px;font-size:13.5px}
@media (max-width:720px){.ops-entry{padding:18px 16px}.ops-row{grid-template-columns:1fr}}

/* ===== R742: 超级管理中心全站精细化设计系统 ===== */
body[data-super-ui="20260824-r742-super-admin-design-system"] {
  --bg: #f5f6f8;
  --panel: #ffffff;
  --panel-soft: #f8f9fb;
  --text: #182034;
  --muted: #697386;
  --muted-2: #97a0b1;
  --line: #e7e9ee;
  --line-strong: #d9dde5;
  --primary: #b91c1c;
  --primary-deep: #991b1b;
  --primary-pressed: #7f1d1d;
  --primary-soft: #fdf0f0;
  --good: #15803d;
  --good-soft: #ecfdf3;
  --warn: #b45309;
  --warn-soft: #fff7e8;
  --danger: #d92d46;
  --danger-soft: #fff1f3;
  --sidebar: #ffffff;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16,24,40,.035), 0 1px 3px rgba(16,24,40,.03);
  --shadow: 0 8px 24px rgba(16,24,40,.06);
  --shadow-lg: 0 24px 60px rgba(16,24,40,.16);
  min-width: 1180px;
  background:
    radial-gradient(circle at 82% -10%, rgba(185,28,28,.035), transparent 28%),
    var(--bg);
  font-size: 13px;
  line-height: 1.55;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .shell {
  grid-template-columns: 236px minmax(0, 1fr);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar {
  z-index: 45;
  padding: 16px 12px 14px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.96);
  box-shadow: 8px 0 30px rgba(16,24,40,.025);
  backdrop-filter: blur(18px);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .brand {
  gap: 12px;
  min-height: 54px;
  padding: 0 8px 15px;
  border-bottom: 1px solid #f0f1f4;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #c92020, #9d1717);
  box-shadow: 0 8px 20px rgba(185,28,28,.24);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .brand strong {
  color: #151b2c;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.015em;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .brand small {
  margin-top: 2px;
  color: #929aaa;
  font-size: 10px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav {
  gap: 3px;
  padding-top: 7px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .nav-section {
  padding: 16px 10px 5px;
  color: #a0a7b5;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav button.nav-item,
body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav a {
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #4d5668;
  font-size: 12.5px;
  font-weight: 520;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav button.nav-item::after,
body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav a::before {
  width: 19px;
  margin-right: 9px;
  color: #929bab;
  font-size: 13px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav button.nav-item:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav a:hover {
  border-color: #f2dddd;
  background: #fff8f8;
  color: #a61b1b;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar nav button.nav-item.active {
  border-color: #f0d1d1;
  background: linear-gradient(90deg, #fceaea, #fff6f6);
  color: #a51515;
  font-weight: 720;
  box-shadow: inset 3px 0 0 #b91c1c;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar-collapse-btn {
  min-height: 36px;
  margin-top: 10px;
  border-radius: 9px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar-foot {
  min-height: 54px;
  margin-top: 10px;
  padding: 9px 10px;
  border-color: #e9ebf0;
  border-radius: 11px;
  background: linear-gradient(145deg, #fff, #fafbfc);
  box-shadow: var(--shadow-sm);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar-avatar {
  width: 32px;
  height: 32px;
  background: #fce9e9;
  color: #a71919;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] main {
  min-width: 0;
  padding: 0 28px 56px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .topbar {
  min-height: 66px;
  margin: 0 -28px 24px;
  padding: 13px 28px;
  border-bottom: 1px solid rgba(222,225,232,.9);
  background: rgba(255,255,255,.88);
  box-shadow: 0 4px 16px rgba(16,24,40,.025);
  backdrop-filter: blur(20px) saturate(160%);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .nav-history-btn {
  width: 32px;
  height: 32px;
  border-color: #e4e7ec;
  border-radius: 8px;
  color: #667085;
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .breadcrumb {
  gap: 8px;
  font-size: 12px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .breadcrumb b {
  color: #20283a;
  font-size: 13.5px;
  font-weight: 720;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .breadcrumb-sub {
  color: #8a93a3;
  font-size: 11px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .topbar-right {
  gap: 9px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .conn-pill {
  min-height: 30px;
  padding: 5px 10px;
  border-color: #e4e7ec;
  background: #fff;
  color: #667085;
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .view.active {
  animation: r742-view-in .2s ease-out;
}

@keyframes r742-view-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .view-context {
  min-height: 74px;
  margin: 0 0 16px;
  padding: 2px 2px 0;
  align-items: center;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .view-context h2 {
  margin: 2px 0 5px;
  color: #161d2d;
  font-size: 22px;
  font-weight: 760;
  letter-spacing: -.025em;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .view-context p {
  max-width: 800px;
  color: #737d8e;
  font-size: 12px;
  line-height: 1.65;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .eyebrow,
body[data-super-ui="20260824-r742-super-admin-design-system"] .kicker {
  margin-bottom: 5px;
  color: #b51d1d;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .12em;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .context-note {
  padding: 7px 11px;
  border-color: #f0d8d8;
  border-radius: 999px;
  background: #fffafa;
  color: #9f3b3b;
  box-shadow: 0 1px 2px rgba(16,24,40,.025);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] button,
body[data-super-ui="20260824-r742-super-admin-design-system"] .notice a {
  min-height: 36px;
  padding: 7px 13px;
  border: 1px solid #b91c1c;
  border-radius: 8px;
  background: linear-gradient(180deg, #c52121, #af1717);
  color: #fff;
  font-size: 11.5px;
  font-weight: 650;
  box-shadow: 0 1px 2px rgba(16,24,40,.06);
  transform: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] button:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .notice a:hover {
  border-color: #991b1b;
  background: linear-gradient(180deg, #b51c1c, #961717);
  box-shadow: 0 5px 13px rgba(185,28,28,.16);
  transform: translateY(-1px);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(16,24,40,.08);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] button:disabled {
  border-color: #e4e7ec;
  background: #f3f4f6;
  color: #a5adba;
  box-shadow: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .ghost,
body[data-super-ui="20260824-r742-super-admin-design-system"] .button.ghost,
body[data-super-ui="20260824-r742-super-admin-design-system"] .text-button,
body[data-super-ui="20260824-r742-super-admin-design-system"] .icon-button {
  border-color: #dfe3ea;
  background: #fff;
  color: #566174;
  box-shadow: 0 1px 2px rgba(16,24,40,.03);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .ghost:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .button.ghost:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .text-button:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .icon-button:hover {
  border-color: #e5bebe;
  background: #fff8f8;
  color: #a51c1c;
  box-shadow: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .danger-soft,
body[data-super-ui="20260824-r742-super-admin-design-system"] .row-actions .danger,
body[data-super-ui="20260824-r742-super-admin-design-system"] .order-actions .danger {
  border-color: #ffd7dd;
  background: #fff4f5;
  color: #c9334d;
  box-shadow: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .panel,
body[data-super-ui="20260824-r742-super-admin-design-system"] .metric,
body[data-super-ui="20260824-r742-super-admin-design-system"] .flow-hero,
body[data-super-ui="20260824-r742-super-admin-design-system"] .workflow-progress,
body[data-super-ui="20260824-r742-super-admin-design-system"] .selection-summary,
body[data-super-ui="20260824-r742-super-admin-design-system"] .config-drawer,
body[data-super-ui="20260824-r742-super-admin-design-system"] .filter-panel {
  border-color: var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .panel {
  padding: 18px 20px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .panel-head {
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .panel-head h2 {
  margin-bottom: 4px;
  color: #20283a;
  font-size: 17px;
  font-weight: 720;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .panel-head h3 {
  color: #20283a;
  font-size: 15px;
  font-weight: 720;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric-grid {
  gap: 12px;
  margin-bottom: 16px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric {
  min-height: 118px;
  padding: 16px 17px;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff, #fcfcfd);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric::before {
  width: 3px;
  border-radius: 0 4px 4px 0;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric span {
  color: #6f7889;
  font-size: 11px;
  font-weight: 620;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric strong {
  margin: 10px 0 5px;
  color: #161d2d;
  font-size: 28px;
  font-weight: 780;
  font-variant-numeric: tabular-nums;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric small {
  color: #9aa2b1;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric[data-icon]::after {
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .metric-link:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .metric.vault-metric:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .repair-metric:hover {
  border-color: #e8caca;
  box-shadow: 0 10px 24px rgba(16,24,40,.075);
  transform: translateY(-2px);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .content-grid {
  gap: 14px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .tag,
body[data-super-ui="20260824-r742-super-admin-design-system"] .security-pill,
body[data-super-ui="20260824-r742-super-admin-design-system"] .status,
body[data-super-ui="20260824-r742-super-admin-design-system"] .group-chip {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 720;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .toolbar {
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 10px;
  border-color: var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .view-context + .toolbar {
  top: 76px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(16,24,40,.055);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] input,
body[data-super-ui="20260824-r742-super-admin-design-system"] select {
  min-height: 38px;
  padding: 8px 11px;
  border-color: #dfe3e9;
  border-radius: 8px;
  background: #fff;
  color: #2f394c;
  font-size: 11.5px;
  box-shadow: inset 0 1px 1px rgba(16,24,40,.015);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] input::placeholder {
  color: #a0a8b6;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] input:hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] select:hover {
  border-color: #cdd2db;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] input:focus,
body[data-super-ui="20260824-r742-super-admin-design-system"] select:focus {
  border-color: #c55a5a;
  box-shadow: 0 0 0 3px rgba(185,28,28,.075);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .filter-panel {
  padding: 13px 14px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .filter-grid label,
body[data-super-ui="20260824-r742-super-admin-design-system"] .form-grid > label,
body[data-super-ui="20260824-r742-super-admin-design-system"] .modal-card label {
  color: #697386;
  font-size: 10.5px;
  font-weight: 650;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .account-command-bar,
body[data-super-ui="20260824-r742-super-admin-design-system"] .proxy-batch-bar {
  top: 76px;
  gap: 7px;
  padding: 9px 10px;
  border-color: var(--line);
  border-radius: 11px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(16,24,40,.05);
  backdrop-filter: blur(16px);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .account-command-bar button,
body[data-super-ui="20260824-r742-super-admin-design-system"] .proxy-batch-bar button,
body[data-super-ui="20260824-r742-super-admin-design-system"] .row-actions button,
body[data-super-ui="20260824-r742-super-admin-design-system"] .account-actions button,
body[data-super-ui="20260824-r742-super-admin-design-system"] .order-actions button {
  min-height: 31px;
  padding: 5px 9px;
  border-color: #dfe3e9;
  border-radius: 7px;
  background: #fff;
  color: #5c6679;
  font-size: 10px;
  box-shadow: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .account-command-bar button:not(:disabled):hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .proxy-batch-bar button:not(:disabled):hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .row-actions button:not(:disabled):hover,
body[data-super-ui="20260824-r742-super-admin-design-system"] .account-actions button:not(:disabled):hover {
  border-color: #e2bebe;
  background: #fff8f8;
  color: #a71919;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .account-command-bar .primary,
body[data-super-ui="20260824-r742-super-admin-design-system"] .repair-command-bar .primary {
  border-color: #b91c1c;
  background: #b91c1c;
  color: #fff;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap {
  border-color: var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] table {
  font-variant-numeric: tabular-nums;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] th,
body[data-super-ui="20260824-r742-super-admin-design-system"] td {
  padding: 12px 13px;
  border-bottom-color: #eceef2;
  font-size: 11px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] th {
  height: 42px;
  background: #f8f9fb;
  color: #667085;
  font-size: 10px;
  font-weight: 740;
  letter-spacing: .025em;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] td {
  color: #4a5568;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] tbody tr:nth-child(even) {
  background: #fdfdfe;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] tbody tr:hover {
  background: #fffafa;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .cell-main {
  color: #263044;
  font-size: 11.5px;
  font-weight: 710;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .cell-sub {
  margin-top: 3px;
  color: #929baa;
  font-size: 10px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap.sticky-actions th:last-child {
  background: #f8f9fb;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap.sticky-actions td:last-child {
  background: #fff;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap.sticky-actions tbody tr:nth-child(even) td:last-child {
  background: #fdfdfe;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap.sticky-actions tbody tr:hover td:last-child {
  background: #fffafa;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .pager {
  min-height: 38px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #f0f1f4;
  color: #818a9a;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .pager button {
  min-height: 30px;
  border-color: #dfe3e9;
  background: #fff;
  color: #626d7f;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .empty-cell {
  min-height: 160px;
  padding: 48px 24px;
  color: #98a1b1;
  background: linear-gradient(180deg, #fff, #fcfcfd);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .modal {
  padding: 28px;
  background: rgba(15,23,42,.5);
  backdrop-filter: blur(9px);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .modal-card {
  padding: 24px 26px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .modal-card > .panel-head {
  margin: -4px 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .modal-actions {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .error-banner {
  top: 18px;
  padding: 10px 13px;
  border-color: #f3c8cf;
  border-radius: 10px;
  background: rgba(255,246,247,.98);
  box-shadow: 0 12px 32px rgba(16,24,40,.14);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .alert-item {
  padding: 11px 12px;
  border: 1px solid #f9d4da;
  border-radius: 10px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .distribution-row {
  min-height: 26px;
  gap: 10px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .bar {
  height: 6px;
  background: #eef0f4;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .bar i {
  background: linear-gradient(90deg, #c52a2a, #df5b5b);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .channel-tabs,
body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-tab-bar {
  gap: 3px;
  padding: 4px;
  border: 1px solid #e9ebef;
  border-radius: 10px;
  background: #f4f5f7;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .channel-tab,
body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-tab {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #667085;
  box-shadow: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .channel-tab.active,
body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-tab.active {
  background: #fff;
  color: #a61919;
  box-shadow: 0 1px 4px rgba(16,24,40,.08);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .channel-overview,
body[data-super-ui="20260824-r742-super-admin-design-system"] .supplier-metrics,
body[data-super-ui="20260824-r742-super-admin-design-system"] .repair-metrics {
  gap: 12px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .channel-overview article,
body[data-super-ui="20260824-r742-super-admin-design-system"] .supplier-metrics > div,
body[data-super-ui="20260824-r742-super-admin-design-system"] .x105-fuel-item {
  border-color: var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #fcfcfd);
  box-shadow: var(--shadow-sm);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .config-drawer {
  overflow: clip;
  border-radius: 12px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .config-drawer summary {
  min-height: 62px;
  padding: 14px 17px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .config-drawer[open] summary {
  background: #fafafb;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .flow-hero {
  padding: 21px 22px;
  border-radius: 14px 14px 0 0;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .workflow-progress {
  padding: 14px 22px;
  border-radius: 0 0 14px 14px;
  background: #fafafb;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-studio {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-device-pane {
  border-right-color: var(--line);
  background: linear-gradient(180deg, #fbfbfc, #f7f8fa);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-block,
body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-account-summary,
body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-node-picker,
body[data-super-ui="20260824-r742-super-admin-design-system"] .ops-acct-card,
body[data-super-ui="20260824-r742-super-admin-design-system"] .order-panel,
body[data-super-ui="20260824-r742-super-admin-design-system"] .sms-batch-panel {
  border-color: var(--line);
  border-radius: 12px;
  background: #fbfbfc;
  box-shadow: none;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-block-title b {
  border-radius: 7px;
  background: linear-gradient(145deg, #c82424, #a51717);
  box-shadow: 0 4px 10px rgba(185,28,28,.2);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .repair-metric {
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #fcfcfd);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .repair-ai-panel {
  border-top: 3px solid #b91c1c;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .rai-foot {
  border-color: var(--line);
  border-radius: 10px;
  background: #fafafb;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .supplier-stats {
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .supplier-stat-chip {
  min-height: 27px;
  border-color: #e4e7ec;
  background: #f8f9fb;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .supplier-stat-chip.active {
  border-color: #e7bcbc;
  background: #fff4f4;
  color: #a71919;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .x105-fuel-bar {
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] ::selection {
  background: rgba(185,28,28,.16);
  color: #7f1d1d;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] * {
  scrollbar-color: #c8cdd6 transparent;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] ::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #c8cdd6;
  background-clip: padding-box;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] ::-webkit-scrollbar-thumb:hover {
  background: #aeb5c1;
  background-clip: padding-box;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .shell.collapsed {
  grid-template-columns: 68px minmax(0, 1fr);
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .shell.collapsed .sidebar {
  padding: 14px 7px;
}

body[data-super-ui="20260824-r742-super-admin-design-system"] .shell.collapsed .nav-item,
body[data-super-ui="20260824-r742-super-admin-design-system"] .shell.collapsed .nav-link {
  min-height: 40px;
  border-radius: 9px;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] {
  --bg: #121418;
  --panel: #191c22;
  --panel-soft: #20242b;
  --text: #eef0f4;
  --muted: #a5adba;
  --muted-2: #747e8e;
  --line: #2a2f38;
  --line-strong: #363d48;
  background: #121418;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .sidebar,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .topbar {
  border-color: #272c34;
  background: rgba(25,28,34,.94);
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .brand {
  border-bottom-color: #292e36;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .brand strong,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .breadcrumb b,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .view-context h2,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .panel-head h2,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .panel-head h3,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .metric strong,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .cell-main {
  color: #eef0f4;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .panel,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .metric,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .toolbar,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .filter-panel,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .config-drawer,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .entry-studio,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .channel-overview article,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .supplier-metrics > div,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .x105-fuel-item {
  border-color: #2a2f38;
  background: #191c22;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] th,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap.sticky-actions th:last-child {
  background: #20242b;
  color: #aeb6c4;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] td,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap.sticky-actions td:last-child,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] tbody tr:nth-child(even) {
  background: #191c22;
  color: #cbd0d9;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] tbody tr:nth-child(even) {
  background: #1b1e24;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] tbody tr:hover,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .table-wrap.sticky-actions tbody tr:hover td:last-child {
  background: #242129;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] input,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] select,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .ghost,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .button.ghost,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .row-actions button,
html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .account-actions button {
  border-color: #383e49;
  background: #22262d;
  color: #c8ced8;
}

html.dark body[data-super-ui="20260824-r742-super-admin-design-system"] .modal-card {
  border-color: #303640;
  background: #191c22;
}

@media (max-width: 1380px) {
  body[data-super-ui="20260824-r742-super-admin-design-system"] .shell { grid-template-columns: 218px minmax(0,1fr); }
  body[data-super-ui="20260824-r742-super-admin-design-system"] .metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body[data-super-ui="20260824-r742-super-admin-design-system"] .content-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-super-ui="20260824-r742-super-admin-design-system"] .content-grid .span-2 { grid-column: span 2; }
}

@media (max-width: 1120px) {
  body[data-super-ui="20260824-r742-super-admin-design-system"] main { padding: 0 20px 44px; }
  body[data-super-ui="20260824-r742-super-admin-design-system"] .topbar { margin: 0 -20px 20px; padding: 12px 20px; }
  body[data-super-ui="20260824-r742-super-admin-design-system"] .breadcrumb-sub,
  body[data-super-ui="20260824-r742-super-admin-design-system"] .last-updated { display: none; }
  body[data-super-ui="20260824-r742-super-admin-design-system"] .repair-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  body[data-super-ui="20260824-r742-super-admin-design-system"] *,
  body[data-super-ui="20260824-r742-super-admin-design-system"] *::before,
  body[data-super-ui="20260824-r742-super-admin-design-system"] *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ===== R743: 新号录入工作台专项重构 ===== */
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] {
  --entry-red: #b91c1c;
  --entry-red-soft: #fff4f4;
  --entry-ink: #172033;
  --entry-muted: #778196;
  --entry-line: #e5e8ee;
  --entry-surface: #f7f8fa;
  max-width: 1540px;
  margin-inline: auto;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] > .view-context {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
  padding: 22px 24px 21px;
  border: 1px solid #eadede;
  border-radius: 16px;
  background:
    radial-gradient(circle at 96% 20%, rgba(185,28,28,.08), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fffafa 100%);
  box-shadow: 0 6px 18px rgba(24,32,51,.045);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] > .view-context::before {
  position: absolute;
  inset: 18px auto 18px 0;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: var(--entry-red);
  content: "";
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] > .view-context h2 {
  margin-top: 5px;
  color: var(--entry-ink);
  font-size: 24px;
  letter-spacing: -.035em;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] > .view-context p {
  max-width: 700px;
  margin-top: 7px;
  color: var(--entry-muted);
  font-size: 12px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .x105-fuel-bar {
  min-height: 48px;
  margin-bottom: 12px;
  padding: 8px 10px 8px 15px;
  border-color: var(--entry-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(24,32,51,.035);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .x105-fuel-bar .kicker {
  color: #7a8497;
  letter-spacing: .08em;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .x105-fuel-bar strong {
  padding-right: 10px;
  border-right: 1px solid var(--entry-line);
  color: var(--entry-ink);
  font-size: 18px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-studio {
  grid-template-columns: 284px minmax(0,1fr);
  min-height: 760px;
  overflow: clip;
  border: 1px solid #dfe3ea;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23,32,51,.075);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-pane {
  padding: 18px 17px 17px;
  border-right: 1px solid var(--entry-line);
  background: linear-gradient(180deg, #fafbfc 0%, #f5f6f8 100%);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-head {
  min-height: 34px;
  color: var(--entry-ink);
  font-size: 12px;
  letter-spacing: .01em;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-head span::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--entry-red);
  box-shadow: 0 0 0 4px rgba(185,28,28,.09);
  content: "";
  vertical-align: 1px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-head button {
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid #dde1e8;
  border-radius: 8px;
  background: #fff;
  color: #596579;
  box-shadow: none;
  font-size: 10px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-head button:hover {
  border-color: #d6b2b2;
  background: #fff7f7;
  color: #9f1b1b;
  transform: none;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-phone-preview {
  width: 116px;
  height: 194px;
  margin: 13px 0 12px;
  border-width: 2px;
  border-color: #d4d9e1;
  border-radius: 25px;
  background: linear-gradient(145deg, #fff, #f3f5f7);
  box-shadow: inset 0 0 0 4px #fbfcfd, 0 7px 18px rgba(53,65,87,.055);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-phone-preview::before {
  top: 8px;
  width: 43px;
  height: 10px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-phone-preview strong {
  color: #4f5b70;
  font-size: 9px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-caption {
  min-height: 35px;
  padding: 0 1px 9px;
  border-bottom: 1px solid var(--entry-line);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-caption strong {
  max-width: 190px;
  color: #2f3a4d;
  font-size: 11px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
  flex: 0 0 auto;
  max-height: 274px;
  margin-top: 9px;
  overflow: auto;
  padding: 1px 4px 1px 0;
  border: 0;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-list button {
  display: flex;
  width: 100%;
  min-height: 35px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 6px 8px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #fff;
  color: #4f5a6d;
  box-shadow: none;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-list button:hover {
  border-color: #cfd5df;
  background: #f6f7f9;
  color: #253044;
  box-shadow: none;
  transform: none;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-list button.active {
  justify-content: space-between;
  border-color: #dca6a6;
  background: var(--entry-red-soft);
  color: #a51c1c;
  box-shadow: inset 2px 0 0 var(--entry-red);
  font-weight: 750;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-list button.active::after {
  flex: none;
  margin-left: 5px;
  font-size: 10px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-ios-field {
  gap: 6px;
  margin-top: 12px;
  padding: 12px 1px 0;
  border-top-color: var(--entry-line);
  color: #6c778a;
  font-weight: 650;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-ios-field select {
  min-height: 38px;
  border-color: #dfe3e9;
  background: #fff;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-workbench {
  background: var(--entry-surface);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-tab-bar {
  gap: 4px;
  margin: 18px 20px 0;
  padding: 4px;
  border: 1px solid #e2e5ea;
  border-radius: 11px;
  background: #eceff3;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-tab {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7588;
  box-shadow: none;
  font-size: 11px;
  font-weight: 650;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-tab:hover {
  background: rgba(255,255,255,.65);
  color: #303a4b;
  box-shadow: none;
  transform: none;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-tab.active {
  border: 0;
  background: #fff;
  color: #9f1b1b;
  box-shadow: 0 2px 7px rgba(24,32,51,.09);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-workbench-scroll {
  gap: 13px;
  padding: 20px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-intro {
  align-items: center;
  padding: 2px 2px 0;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-intro h2 {
  margin: 4px 0 5px;
  color: var(--entry-ink);
  font-size: 20px;
  letter-spacing: -.025em;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-intro p {
  color: var(--entry-muted);
  font-size: 10.5px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-state-pill {
  padding: 6px 9px;
  border: 1px solid #caeadb;
  background: #effaf4;
  color: #16794a;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-block {
  position: relative;
  padding: 17px;
  border-color: #e1e5eb;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(24,32,51,.035);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-block-title {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f3;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-block-title b {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #fff0f0;
  color: #b01d1d;
  box-shadow: none;
  font-size: 11px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-block-title strong {
  color: #273246;
  font-size: 12px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-field-grid,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-experiment-row {
  gap: 14px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-field-grid select,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-field-full select,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-experiment-row input {
  min-height: 42px;
  border-color: #dfe3e9;
  border-radius: 9px;
  background: #fff;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-picker {
  margin-top: 0;
  padding: 13px;
  border-color: #e1e5eb;
  border-radius: 11px;
  background: #f8f9fb;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-random,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-provinces button,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-cities button {
  min-height: 30px;
  border: 1px solid #dce1e8;
  background: #fff;
  color: #566174;
  box-shadow: none;
  transform: none;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-random:hover,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-provinces button:hover,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-cities button:hover {
  border-color: #c8cfd9;
  background: #f3f5f7;
  color: #263144;
  box-shadow: none;
  transform: none;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-random.active,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-provinces button.active,
body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-node-cities button.active {
  border-color: #daa9a9;
  background: var(--entry-red-soft);
  color: #a51c1c;
  box-shadow: none;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-experiment-toggle {
  border-color: #e0e4ea;
  background: #fafbfc;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-quality-toggle {
  border-color: #ead9b5;
  border-radius: 11px;
  background: #fffaf0;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-account-summary {
  gap: 11px;
  padding: 12px 13px;
  border-color: #e1e5eb;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(24,32,51,.03);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-account-avatar {
  background: linear-gradient(145deg, #c92a2a, #9e1717);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-environment-note {
  border: 1px solid #ead1d1;
  border-radius: 9px;
  background: #fff7f7;
  color: #8f2b2b;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  gap: 8px;
  padding: 11px;
  border: 1px solid #e0e4ea;
  border-radius: 11px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 7px 20px rgba(24,32,51,.08);
  backdrop-filter: blur(12px);
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-actions button:first-of-type {
  min-width: 150px;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .sms-batch-size {
  min-height: 38px;
  border-color: #dfe3e9;
  background: #f8f9fb;
}

body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-tutorial {
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 8px 14px;
  border: 1px solid #e3e6eb;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(24,32,51,.035);
}

@media (max-width: 1320px) {
  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-studio {
    grid-template-columns: 258px minmax(0,1fr);
  }

  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-list {
    grid-template-columns: 1fr;
    max-height: 250px;
  }
}

@media (max-width: 1080px) {
  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-studio {
    grid-template-columns: 1fr;
  }

  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-pane {
    display: grid;
    grid-template-columns: 1fr 130px 1fr;
    gap: 12px;
    max-height: none;
    border-right: 0;
    border-bottom: 1px solid var(--entry-line);
  }

  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-head {
    grid-column: 1 / -1;
  }

  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-phone-preview {
    grid-column: 2;
    grid-row: 2 / span 2;
    margin: 0;
  }

  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-caption,
  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-device-list {
    grid-column: 1;
  }

  body[data-entry-ui="20260824-r743-entry-workbench-redesign"] [data-view-panel="sms-entry"] .entry-ios-field {
    grid-column: 3;
    grid-row: 2;
    margin: 0;
  }
}

/* 20260824-r744-navigation-alignment · one baseline for the four destination fields */
body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 12px;
  align-items: stretch;
}

body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid + .entry-field-grid {
  margin-top: 12px;
}

body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid > label {
  display: grid;
  grid-template-rows: 18px 42px minmax(30px, auto);
  align-content: start;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid > label > span {
  display: flex;
  align-items: center;
  min-height: 18px;
  line-height: 18px;
}

body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid > label > select,
body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid > label > .entry-readonly {
  width: 100%;
  height: 42px;
  min-height: 42px;
  margin: 0;
}

body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid > label > small {
  display: block;
  min-height: 30px;
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 15px;
}

body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-readonly {
  border-color: #dfe3e9;
  border-radius: 9px;
  color: #42526d;
  background: #f8faff;
}

@media (max-width: 720px) {
  body[data-entry-alignment-ui="20260824-r744-navigation-alignment"] [data-view-panel="sms-entry"] .entry-block > .entry-field-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== R745: 新号录入工作台 · 克制化重构 ===== */
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] {
  --entry-accent: #c81e1e;
  --entry-accent-soft: #fff4f4;
  --entry-ink: #172033;
  --entry-muted: #7b8495;
  --entry-line: #e5e8ed;
  --entry-canvas: #f7f8fa;
  max-width: 1480px;
  margin-inline: auto;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 12px;
  margin-bottom: 12px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head > .view-context {
  box-sizing: border-box;
  height: 74px;
  min-height: 74px;
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--entry-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 32, 51, .035);
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head .view-context .kicker {
  color: var(--entry-accent);
  font-size: 9px;
  letter-spacing: .12em;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head .view-context h2 {
  margin: 3px 0 2px;
  color: var(--entry-ink);
  font-size: 20px;
  letter-spacing: -.03em;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head .view-context p {
  margin: 0;
  color: var(--entry-muted);
  font-size: 10.5px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar {
  box-sizing: border-box;
  height: 74px;
  min-height: 74px;
  margin: 0;
  padding: 12px 12px 12px 16px;
  border: 1px solid var(--entry-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(24, 32, 51, .035);
  white-space: nowrap;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar .kicker {
  flex: 0 0 auto;
  color: var(--entry-muted);
  font-size: 9px;
  letter-spacing: .08em;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar strong {
  flex: 0 0 auto;
  color: var(--entry-ink);
  font-size: 21px;
  letter-spacing: -.03em;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar small {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--entry-muted);
  font-size: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar button {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 32px;
  padding: 6px 11px;
  border-color: #dde1e7;
  border-radius: 8px;
  color: #566174;
  box-shadow: none;
  font-size: 10px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-studio {
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 636px;
  overflow: clip;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 51, .065);
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-pane {
  padding: 16px 14px 14px;
  border-right: 1px solid var(--entry-line);
  background: #fafbfc;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-head {
  min-height: 30px;
  color: var(--entry-ink);
  font-size: 11px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-head span::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--entry-accent);
  content: "";
  vertical-align: 1px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-head button {
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid #dde1e7;
  border-radius: 7px;
  background: #fff;
  color: #5d687a;
  box-shadow: none;
  font-size: 9px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview {
  width: 86px;
  height: 144px;
  margin: 8px 0 10px;
  border-width: 2px;
  border-color: #d8dce3;
  border-radius: 21px;
  background: linear-gradient(145deg, #fff, #f2f4f6);
  box-shadow: inset 0 0 0 3px #fbfcfd;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview::before {
  top: 7px;
  width: 33px;
  height: 7px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview::after {
  bottom: 6px;
  width: 31px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview i {
  width: 22px;
  height: 22px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview > span {
  font-size: 14px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview strong {
  padding: 0 7px;
  font-size: 8px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview small {
  margin-top: 3px;
  font-size: 7px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-caption {
  min-height: 29px;
  padding: 0 1px 7px;
  border-bottom: 1px solid var(--entry-line);
  font-size: 9px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-caption strong {
  max-width: 150px;
  font-size: 10px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  flex: 0 0 auto;
  max-height: 240px;
  margin-top: 7px;
  overflow: auto;
  padding: 1px 3px 1px 0;
  border: 0;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-list button {
  display: flex;
  width: 100%;
  min-height: 30px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 5px 7px;
  border: 1px solid #e2e5ea;
  border-radius: 7px;
  background: #fff;
  color: #566174;
  box-shadow: none;
  font-size: 9px;
  font-weight: 600;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-list button:hover {
  border-color: #cbd1da;
  background: #f5f6f8;
  color: #283348;
  transform: none;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-list button.active {
  justify-content: space-between;
  border-color: #e0a7a7;
  background: var(--entry-accent-soft);
  color: #aa1d1d;
  font-weight: 750;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-ios-field {
  gap: 5px;
  margin-top: 9px;
  padding: 9px 1px 0;
  border-top: 1px solid var(--entry-line);
  color: var(--entry-muted);
  font-size: 9px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-ios-field select {
  min-height: 34px;
  border-color: #dfe3e8;
  border-radius: 8px;
  background: #fff;
  font-size: 10px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-workbench {
  background: var(--entry-canvas);
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-bar {
  gap: 3px;
  margin: 14px 16px 0;
  padding: 3px;
  border: 1px solid #e1e4e9;
  border-radius: 10px;
  background: #eef0f3;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #6e7788;
  box-shadow: none;
  font-size: 10.5px;
  font-weight: 650;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab:hover {
  background: rgba(255, 255, 255, .7);
  color: #303a4b;
  transform: none;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab.active {
  border: 0 !important;
  outline: 0;
  background: #fff;
  color: #aa1d1d;
  box-shadow: 0 1px 5px rgba(24, 32, 51, .09);
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-mode-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 14px 16px 0;
  padding: 13px 15px;
  border: 1px solid var(--entry-line);
  border-radius: 11px;
  background: #fff;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-mode-head strong,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-mode-head small {
  display: block;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-mode-head strong {
  color: var(--entry-ink);
  font-size: 13px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-mode-head small {
  margin-top: 3px;
  color: var(--entry-muted);
  font-size: 9.5px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-mode-head > span {
  flex: none;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1f3f6;
  color: #687386;
  font-size: 9px;
  font-weight: 700;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-entry,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="qr"] .ops-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px 16px;
  align-items: start;
  padding: 14px 16px 18px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-tip,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-row,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-confirm,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] > .ops-entry > .entry-qr-status {
  grid-column: 1;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-tip {
  padding: 9px 11px;
  border: 1px solid #f1dfbf;
  border-radius: 8px;
  background: #fffaf0;
  color: #a86627;
  font-size: 10px;
  line-height: 1.5;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-row {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-code-row {
  grid-template-columns: minmax(160px, 220px) 140px;
  justify-content: start;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .ops-row input,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .ops-zone,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .ops-row button {
  min-height: 40px;
  border-radius: 8px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-confirm {
  width: 150px;
  min-height: 40px;
  justify-self: start;
  border-radius: 8px;
  font-size: 11px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-divider,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="qr"] .ops-divider {
  display: none;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-acct-card {
  grid-column: 2;
  grid-row: 1 / span 5;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="qr"] .ops-qr-stage {
  grid-column: 1;
  min-height: 360px;
  padding: 16px;
  border: 1px solid var(--entry-line);
  border-radius: 11px;
  background: #fff;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="qr"] .ops-acct-card {
  grid-column: 2;
  grid-row: 1;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .ops-acct-card {
  gap: 13px;
  padding: 15px;
  border: 1px solid var(--entry-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .ops-acct-avatar {
  width: 34px;
  height: 34px;
  background: var(--entry-accent-soft);
  color: var(--entry-accent);
  font-size: 12px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .ops-acct-name {
  color: var(--entry-ink);
  font-size: 12px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .ops-field select {
  min-height: 40px;
  border-color: #dfe3e8;
  border-radius: 8px;
  font-size: 10.5px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-workbench-scroll {
  gap: 11px;
  padding: 16px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-intro {
  align-items: center;
  padding: 0 2px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-intro h2 {
  margin: 3px 0 4px;
  color: var(--entry-ink);
  font-size: 17px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-intro p {
  color: var(--entry-muted);
  font-size: 9.5px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-state-pill {
  padding: 5px 8px;
  border: 1px solid #d5eadf;
  background: #f0faf5;
  color: #287651;
  font-size: 9px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-block {
  padding: 14px;
  border: 1px solid var(--entry-line);
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-block-title {
  margin-bottom: 11px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf0f3;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-block-title b {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: var(--entry-accent-soft);
  color: var(--entry-accent);
  box-shadow: none;
  font-size: 10px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-block-title strong {
  color: #2c3648;
  font-size: 11px;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-field-grid select,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-field-full select,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-experiment-row input {
  min-height: 40px;
  border-color: #dfe3e8;
  border-radius: 8px;
  background: #fff;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-node-picker,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-experiment-toggle,
body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-account-summary {
  border-color: var(--entry-line);
  border-radius: 9px;
  background: #fafbfc;
  box-shadow: none;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-quality-toggle {
  padding: 10px 12px;
  border-color: #eadfc9;
  border-radius: 9px;
  background: #fffbf4;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-environment-note {
  border: 1px solid #ead9d9;
  border-radius: 8px;
  background: #fff8f8;
  color: #8f3030;
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  gap: 7px;
  padding: 9px;
  border: 1px solid var(--entry-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 16px rgba(24, 32, 51, .07);
  backdrop-filter: blur(10px);
}

body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tutorial {
  margin-top: 10px;
  color: #8a93a2;
  font-size: 9.5px;
}

@media (max-width: 1180px) {
  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-studio {
    grid-template-columns: 206px minmax(0, 1fr);
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-list {
    grid-template-columns: 1fr;
    max-height: 230px;
  }
}

@media (max-width: 900px) {
  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-page-head {
    grid-template-columns: 1fr;
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-studio {
    grid-template-columns: 1fr;
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-pane {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) minmax(150px, .7fr);
    gap: 10px;
    border-right: 0;
    border-bottom: 1px solid var(--entry-line);
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-head {
    grid-column: 1 / -1;
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-phone-preview {
    grid-column: 1;
    grid-row: 2 / span 2;
    margin: 0;
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-list {
    grid-column: 2;
    grid-row: 2 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 144px;
    margin: 0;
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-device-caption {
    display: none;
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-ios-field {
    grid-column: 3;
    grid-row: 2;
    margin: 0;
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 720px) {
  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-entry,
  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="qr"] .ops-entry {
    grid-template-columns: 1fr;
  }

  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="phone"] .ops-acct-card,
  body[data-entry-ui="20260824-r745-entry-workbench-composure"] [data-view-panel="sms-entry"] .entry-tab-panel[data-entry-tab="qr"] .ops-acct-card {
    grid-column: 1;
    grid-row: auto;
  }
}

/* ===== R746: 顶部历史导航 · 中性轻量控件 ===== */
body[data-navigation-ui="20260824-r746-neutral-navigation-controls"] .topbar-left {
  gap: 6px;
}

body[data-navigation-ui="20260824-r746-neutral-navigation-controls"] .nav-history-btn {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border: 1px solid #e1e5ea;
  border-radius: 9px;
  background: #f8f9fb;
  color: #667085;
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  transform: none;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

body[data-navigation-ui="20260824-r746-neutral-navigation-controls"] .nav-history-btn:hover {
  border-color: #cfd5dd;
  background: #fff;
  color: #344054;
  box-shadow: 0 3px 9px rgba(16, 24, 40, .08);
  transform: translateY(-1px);
}

body[data-navigation-ui="20260824-r746-neutral-navigation-controls"] .nav-history-btn:active {
  border-color: #c7ccd4;
  background: #eef1f5;
  box-shadow: none;
  transform: translateY(0);
}

body[data-navigation-ui="20260824-r746-neutral-navigation-controls"] .nav-history-btn:focus-visible {
  outline: 0;
  border-color: #b9c0ca;
  box-shadow: 0 0 0 3px rgba(102, 112, 133, .14);
}

html.dark body[data-navigation-ui="20260824-r746-neutral-navigation-controls"] .nav-history-btn {
  border-color: #353a43;
  background: #24272d;
  color: #aeb5c0;
}

html.dark body[data-navigation-ui="20260824-r746-neutral-navigation-controls"] .nav-history-btn:hover {
  border-color: #4a505b;
  background: #2b2f36;
  color: #f2f4f7;
}

/* ===== R747: 超级管理中心 · 克制配色层级 ===== */
body[data-color-ui="20260824-r747-balanced-color-hierarchy"] .sidebar nav button.nav-item:hover,
body[data-color-ui="20260824-r747-balanced-color-hierarchy"] .sidebar nav a:hover {
  border-color: #e4e7ec;
  background: #f8f9fb;
  color: #3f4858;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] .sidebar nav button.nav-item:hover::after,
body[data-color-ui="20260824-r747-balanced-color-hierarchy"] .sidebar nav a:hover::before {
  color: #737c8c;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] .sidebar nav button.nav-item.active {
  border-color: #e6d9d9;
  background: #faf6f6;
  color: #754747;
  font-weight: 680;
  box-shadow: inset 2px 0 0 #b77c7c;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] .sidebar nav button.nav-item.active::after {
  color: #9c6868;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] .entry-node-random.active {
  border-color: #d8dde5;
  background: #fff;
  color: #566173;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] .entry-node-provinces button.active {
  border-color: #dec4c4;
  background: #fff;
  color: #875151;
  box-shadow: 0 1px 3px rgba(61, 38, 38, .05);
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] .entry-node-cities button.active {
  border-color: #e2cccc;
  background: #fbf7f7;
  color: #7f4949;
  box-shadow: none;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] .entry-environment-note {
  border-color: #e2e6eb;
  background: #f8f9fb;
  color: #5e6879;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] .entry-environment-note.warning {
  border-color: #eadfc9;
  background: #fffcf7;
  color: #816b43;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] .entry-quality-toggle {
  border-color: #e8e1d5;
  background: #fffcf8;
  color: #70634e;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] #smsStartBatchButton {
  border-color: #a64040;
  background: #a64040;
  color: #fff;
  box-shadow: none;
}

body[data-color-ui="20260824-r747-balanced-color-hierarchy"] [data-view-panel="sms-entry"] #smsStartBatchButton:hover {
  border-color: #913838;
  background: #913838;
  box-shadow: 0 5px 12px rgba(117, 44, 44, .14);
}

html.dark body[data-color-ui="20260824-r747-balanced-color-hierarchy"] .sidebar nav button.nav-item.active {
  border-color: #4a4141;
  background: #2b2728;
  color: #d8c6c6;
  box-shadow: inset 2px 0 0 #9d7070;
}

/* ===== R748: 节点选择器 · 与主操作按钮彻底解耦 ===== */
body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-random,
body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-provinces button,
body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-cities button {
  border: 1px solid #dfe3e9;
  background: #fff;
  color: #5f697a;
  box-shadow: none;
  transform: none;
}

body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-random:hover,
body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-provinces button:hover,
body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-cities button:hover {
  border-color: #cbd1da;
  background: #f7f8fa;
  color: #3f4958;
  box-shadow: none;
  transform: none;
}

body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-random.active {
  border-color: #d5dbe3;
  background: #f8f9fb;
  color: #536071;
  box-shadow: inset 0 0 0 1px rgba(83, 96, 113, .04);
}

body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-provinces button.active,
body[data-node-controls-ui="20260824-r748-neutral-node-controls"] [data-view-panel="sms-entry"] .entry-node-cities button.active {
  border-color: #dec8c8;
  background: #fbf7f7;
  color: #7e4b4b;
  box-shadow: inset 0 0 0 1px rgba(126, 75, 75, .035);
}

/* r775 · new-account workbench: production-first, quiet hierarchy */
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] {
  --entry-ink: #182235;
  --entry-muted: #7b8595;
  --entry-line: #e5e8ed;
  --entry-surface: #fff;
  --entry-soft: #f7f8fa;
  --entry-accent: #a92a30;
  --entry-accent-soft: #fbf2f2;
  gap: 14px;
  max-width: 1320px;
  margin: 0 auto;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head > .view-context,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar {
  min-height: 70px;
  border: 1px solid var(--entry-line);
  border-radius: 14px;
  background: var(--entry-surface);
  box-shadow: 0 5px 16px rgba(24, 34, 53, .035);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head > .view-context {
  padding: 14px 18px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head .view-context::before {
  display: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head .view-context .kicker {
  color: #9a5b5e;
  font-size: 9px;
  letter-spacing: .04em;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head .view-context h2 {
  margin: 3px 0 1px;
  color: var(--entry-ink);
  font-size: 21px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head .view-context p {
  color: var(--entry-muted);
  font-size: 10.5px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar {
  min-width: 265px;
  padding: 11px 13px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-studio {
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 0;
  overflow: visible;
  border: 1px solid var(--entry-line);
  border-radius: 16px;
  background: var(--entry-surface);
  box-shadow: 0 8px 26px rgba(24, 34, 53, .045);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-pane {
  padding: 18px 16px;
  border-right: 1px solid var(--entry-line);
  border-radius: 16px 0 0 16px;
  background: #fafbfc;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-head {
  font-size: 11px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-head span::before {
  width: 6px;
  height: 6px;
  background: #a92a30;
  box-shadow: 0 0 0 3px rgba(169, 42, 48, .08);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-head button {
  min-height: 28px;
  border-color: #dfe3e9;
  background: #fff;
  color: #5f6878;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-phone-preview {
  width: 86px;
  height: 150px;
  margin: 16px auto 12px;
  border-width: 2px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 3px #fbfcfd;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-phone-preview::before {
  top: 7px;
  width: 35px;
  height: 8px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-phone-preview::after {
  width: 30px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-phone-preview i,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-phone-preview > span {
  display: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-phone-preview strong {
  color: #536071;
  font-size: 9px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-caption {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--entry-line);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-options {
  margin-top: 10px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-options > summary,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details > summary,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-diagnostics > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  color: #4d5869;
  font-size: 10.5px;
  font-weight: 680;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] summary::-webkit-details-marker {
  display: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-options > summary::after,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details > summary::after,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-diagnostics > summary::after {
  content: "+";
  color: #8a93a1;
  font-size: 14px;
  font-weight: 400;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] details[open] > summary::after {
  content: "−";
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-list {
  display: grid;
  max-height: 230px;
  gap: 5px;
  margin-top: 9px;
  padding-top: 8px;
  overflow: auto;
  border-top: 1px solid var(--entry-line);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-list button {
  min-height: 32px;
  padding: 0 9px;
  border: 1px solid #e5e8ed;
  border-radius: 8px;
  background: #fff;
  font-size: 10px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-list button.active {
  border-color: #d8bfc1;
  background: var(--entry-accent-soft);
  color: #8f3035;
  box-shadow: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-ios-field {
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--entry-line);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-ios-field select {
  min-height: 36px;
  background: #fff;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-workbench {
  background: #fff;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-line-switch {
  gap: 4px;
  margin: 16px 18px 0;
  padding: 4px;
  border: 1px solid var(--entry-line);
  border-radius: 11px;
  background: #f4f5f7;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-line-option {
  min-height: 42px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #5d6675;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-line-option span {
  font-size: 12px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-line-option small {
  color: #8d95a2;
  font-size: 9.5px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-line-option.active {
  border: 0;
  background: #fff;
  color: #8e2e34;
  box-shadow: 0 1px 4px rgba(24, 34, 53, .09);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-line-option.active small {
  color: #8d7174;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-tab-bar[data-entry-line="canada"] {
  display: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-tab-bar[data-entry-line="domestic"] {
  margin: 8px 18px 0 !important;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-workbench-scroll {
  gap: 12px;
  overflow: visible;
  padding: 18px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-intro {
  align-items: center;
  padding: 0 2px 4px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-intro h2 {
  margin: 2px 0 3px;
  color: var(--entry-ink);
  font-size: 18px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-intro p {
  color: var(--entry-muted);
  font-size: 10px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-steps {
  display: flex;
  min-width: 330px;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #939ba7;
  font-size: 9.5px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-steps li:not(:last-child)::after {
  width: 22px;
  height: 1px;
  margin-left: 3px;
  background: #dfe3e8;
  content: "";
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-steps b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid #dfe3e8;
  border-radius: 50%;
  background: #fff;
  font-size: 9px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-steps .active {
  color: #7d3034;
  font-weight: 700;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-steps .active b {
  border-color: #d8bfc1;
  background: var(--entry-accent-soft);
  color: #8f3035;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-block {
  padding: 15px 16px;
  border: 1px solid var(--entry-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-block-title {
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf0f3;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-block-title b {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 7px;
  background: #f7e9ea;
  color: #9a3137;
  box-shadow: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-block-title strong {
  color: #303a4a;
  font-size: 11.5px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-block-title small {
  color: #949ca8;
  font-size: 9.5px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-field-grid select,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-field-full select,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-readonly {
  min-height: 38px;
  border-color: #dfe3e9;
  border-radius: 8px;
  background: #fff;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details {
  margin-top: 11px;
  padding: 0;
  border: 1px solid #e5e8ed;
  border-radius: 10px;
  background: #fafbfc;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details > summary {
  padding: 11px 12px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details > summary > span {
  color: #4b5666;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details > summary > small {
  margin-left: auto;
  color: #959da9;
  font-size: 9px;
  font-weight: 450;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details[open] {
  padding: 0 12px 12px;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-advanced-details[open] > summary {
  margin: 0 -12px 10px;
  border-bottom: 1px solid #e8ebef;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-account-summary {
  grid-template-columns: 34px minmax(145px, 1.35fr) repeat(3, minmax(90px, 1fr));
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--entry-line);
  border-radius: 11px;
  background: #fafbfc;
  box-shadow: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-account-avatar {
  width: 32px;
  height: 32px;
  background: #e9e5f8;
  color: #6653b6;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-environment-note {
  padding: 9px 11px;
  border: 1px solid #eee2e3;
  border-radius: 8px;
  background: #fcf8f8;
  color: #865055;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-production-actions {
  justify-content: flex-end;
  padding: 10px;
  border: 1px solid var(--entry-line);
  border-radius: 11px;
  background: #fff;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-production-actions > button {
  min-width: 0;
  min-height: 36px;
  padding: 7px 15px;
  box-shadow: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-production-actions #smsStartBatchButton {
  min-width: 140px;
  background: #a92a30;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .sms-batch-size {
  min-height: 36px;
  margin-right: auto;
  border-color: #e0e4e9;
  background: #f7f8fa;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-diagnostics {
  position: relative;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-diagnostics > summary {
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid #e0e4e9;
  border-radius: 8px;
  background: #fff;
  color: #6f7887;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-diagnostics > div {
  position: absolute;
  z-index: 5;
  top: calc(100% + 6px);
  right: 0;
  display: flex;
  width: max-content;
  gap: 6px;
  padding: 8px;
  border: 1px solid #e0e4e9;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(24, 34, 53, .12);
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .sms-batch-panel,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .order-panel {
  margin-top: 0;
  border-color: var(--entry-line);
  border-radius: 11px;
  background: #fafbfc;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .sms-batch-panel.empty,
body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .order-panel.empty {
  display: none;
}

body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-tutorial {
  margin-top: 0;
  padding: 2px 0 8px;
  color: #8a93a0;
}

@media (max-width: 1120px) {
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-studio {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-steps {
    min-width: 0;
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-account-summary {
    grid-template-columns: 34px minmax(130px, 1fr) repeat(2, minmax(90px, 1fr));
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-account-detail:last-child {
    display: none;
  }
}

@media (max-width: 820px) {
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head {
    grid-template-columns: 1fr;
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-page-head > .x105-fuel-bar {
    min-width: 0;
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-studio {
    grid-template-columns: 1fr;
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-device-pane {
    border-right: 0;
    border-bottom: 1px solid var(--entry-line);
    border-radius: 16px 16px 0 0;
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-flow-intro {
    align-items: flex-start;
    flex-direction: column;
  }
  body[data-entry-ui="20260825-r775-entry-workbench-clean"] [data-view-panel="sms-entry"] .entry-field-grid {
    grid-template-columns: 1fr;
  }
}

/* r784 · Compatibility entry lab — isolated from production entry defaults. */
.compat-lab-hero{align-items:center}.compat-lab-hero .context-note{white-space:nowrap}
.compat-lab-notice{display:flex;gap:14px;align-items:flex-start;margin:0 0 16px;padding:13px 16px;border:1px solid #f1d8d8;border-radius:12px;background:#fffafa;color:#6f4a4a;font-size:13px;line-height:1.65}
.compat-lab-notice strong{flex:0 0 auto;color:#b4232a}.compat-lab-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.compat-lab-card,.compat-lab-review,.compat-result-panel{border:1px solid #e3e8ef;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(21,35,56,.035)}
.compat-lab-card{padding:18px}.compat-lab-card-head{display:flex;gap:11px;align-items:center;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #edf0f4}
.compat-lab-card-head>b{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#fff0f0;color:#bf1d24;font-size:12px}
.compat-lab-card-head div{display:flex;flex-direction:column;gap:2px}.compat-lab-card-head strong{font-size:15px;color:#18243a}.compat-lab-card-head small{font-size:12px;color:#8a94a6}
.compat-lab-card label,.compat-lab-tag{display:flex;flex-direction:column;gap:7px;margin-top:12px}.compat-lab-card label>span,.compat-lab-tag>span{font-size:12px;font-weight:650;color:#465166}
.compat-lab-card select,.compat-lab-tag input{width:100%;min-height:42px;border:1px solid #d9e0e9;border-radius:9px;background:#fff;color:#253249;padding:0 11px}
.compat-lab-split{display:grid;grid-template-columns:1fr 1fr;gap:10px}.compat-lab-review{grid-column:1/-1;padding:18px 20px}
.compat-lab-review-head{display:flex;align-items:center;justify-content:space-between}.compat-lab-review-head h3{margin:3px 0 0;color:#17243a}.compat-risk-badge{padding:6px 10px;border-radius:999px;background:#f1f4f7;color:#657084;font-size:12px}
.compat-risk-badge.free{background:#eef4fb;color:#45627f}.compat-risk-badge.blocked{background:#fdecee;color:#b4232a}
.compat-lab-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.compat-lab-facts>div{display:flex;flex-direction:column;gap:5px;min-height:70px;padding:12px 14px;border:1px solid #e7ebf1;border-radius:10px;background:#fafbfd}
.compat-lab-facts span{font-size:12px;color:#8a94a6}.compat-lab-facts strong{font-size:14px;color:#1f2d43;overflow-wrap:anywhere}.compat-lab-confirm{display:flex;gap:10px;align-items:flex-start;margin-top:14px;padding:12px 14px;border-radius:10px;background:#f8fafc;color:#536076;font-size:12px;line-height:1.6}
.compat-lab-confirm input{width:16px;height:16px;margin-top:2px;accent-color:#c91d24}.compat-lab-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-top:14px}.compat-lab-actions>div{display:flex;flex-direction:column;gap:3px}.compat-lab-actions strong{font-size:13px;color:#2a374b}.compat-lab-actions small{font-size:12px;color:#8a94a6}
.compat-lab-actions button{min-width:156px}.compat-result-panel{display:flex;align-items:center;gap:14px;margin-top:14px;padding:16px 18px}.compat-result-panel>span{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#f5f7fa;color:#748096;font-size:18px}.compat-result-panel div{display:flex;flex-direction:column;gap:4px}.compat-result-panel p{margin:0;color:#8791a3;font-size:12px}.compat-result-panel.success{border-color:#cfe9d8;background:#fbfffc}.compat-result-panel.success>span{background:#e9f8ef;color:#168447}.compat-result-panel.warning{border-color:#f1d7bf;background:#fffdf9}.compat-result-panel.error{border-color:#efc9cc;background:#fffafa}.compat-result-panel.error>span{background:#fdecee;color:#b4232a}
.compat-resource-hint{display:block;margin-top:6px;color:#7b8798;font-size:11px;line-height:1.45}.compat-resource-hint.ready{color:#168447}.compat-resource-hint.blocked{color:#b4232a}
@media(max-width:1100px){.compat-lab-layout{grid-template-columns:1fr 1fr}.compat-lab-card:nth-child(3){grid-column:1/-1}.compat-lab-facts{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.compat-lab-layout{grid-template-columns:1fr}.compat-lab-card:nth-child(3){grid-column:auto}.compat-lab-facts,.compat-lab-split{grid-template-columns:1fr}.compat-lab-actions{align-items:stretch;flex-direction:column}.compat-lab-actions button{width:100%}}

/* r789 · Independent navigation and workspace scroll regions.
   The viewport itself never scrolls: the sidebar and main workspace each own
   one stable vertical scroller so wheel input never drags the other region. */
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
}

body[data-scroll-ui="20260826-r789-independent-scroll-regions"] {
  width: 100%;
  height: 100vh !important;
  min-height: 0;
  overflow: hidden !important;
  position: static !important;
  overscroll-behavior: none;
}

body[data-scroll-ui="20260826-r789-independent-scroll-regions"] > .shell {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
}

body[data-scroll-ui="20260826-r789-independent-scroll-regions"] > .shell > main {
  min-width: 0;
  min-height: 0;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  touch-action: pan-y;
}

body[data-scroll-ui="20260826-r789-independent-scroll-regions"] .modal:not(.open) {
  pointer-events: none;
}

body[data-scroll-ui="20260826-r789-independent-scroll-regions"] .sidebar {
  position: relative;
  top: auto;
  min-height: 0;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  align-self: stretch;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scroll-behavior: auto;
  touch-action: pan-y;
}

/* r791 · Super sidebar parity.
   Use the same neutral, edge-mounted control as operations and nurture. */
body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .shell,
body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .sidebar,
body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] main,
body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .brand > div,
body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .nav-label,
body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .sidebar-foot > div {
  transition: grid-template-columns .2s ease, width .2s ease, min-width .2s ease, opacity .15s ease, transform .2s ease;
}

body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .super-sidebar-toggle {
  position: fixed;
  z-index: 70;
  top: 50%;
  left: 223px;
  display: grid;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  padding: 0;
  place-items: center;
  border: 1px solid #dce1e8;
  border-radius: 50%;
  color: #687386;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15,23,42,.10);
  transform: translateY(-50%);
  transition: left .2s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  cursor: pointer;
}

body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .super-sidebar-toggle:hover,
body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .super-sidebar-toggle:focus-visible {
  border-color: rgba(187,27,27,.35);
  color: var(--primary);
  box-shadow: 0 6px 18px rgba(15,23,42,.14);
  outline: none;
}

body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .super-sidebar-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .shell.collapsed .super-sidebar-toggle {
  left: 55px;
}

body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .shell.collapsed .super-sidebar-toggle svg {
  transform: rotate(180deg);
}

body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .shell.collapsed .nav-section {
  min-height: 12px;
  padding: 8px 0 3px;
}

body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .shell.collapsed .sidebar-foot {
  width: 42px;
  margin-inline: auto;
}

html.dark body[data-sidebar-ui="20260826-r791-super-sidebar-parity"] .super-sidebar-toggle {
  border-color: #3b414b;
  color: #aeb6c3;
  background: #20242b;
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}

/* r828 · 账号资源库 → 智能获客采集资源域 */
body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .vault-allocation-toolbar {
  flex-wrap: wrap;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .vault-allocation-spacer {
  flex: 1 1 18px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-card {
  width: min(920px, calc(100vw - 48px));
  max-height: min(88vh, 860px);
  padding: 22px;
  overflow: auto;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-card > .panel-head {
  align-items: flex-start;
  margin-bottom: 14px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-card > .panel-head p {
  max-width: 680px;
  margin: 5px 0 0;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-notice {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  padding: 11px 13px;
  border: 1px solid #d9e8df;
  border-radius: 9px;
  background: #f5fbf7;
  color: #456453;
  font-size: 11px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-notice strong {
  color: #1d6b3a;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-user-row {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(320px, 1.2fr);
  gap: 12px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-user-row label,
body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-row label {
  margin: 0;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 9px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-summary > div {
  display: grid;
  gap: 2px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-summary strong {
  color: var(--text);
  font-size: 13px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-summary span:not(.status) {
  color: var(--muted);
  font-size: 10.5px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-rows {
  display: grid;
  gap: 8px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-row {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(360px, 1.28fr);
  align-items: center;
  gap: 18px;
  min-height: 92px;
  padding: 12px 14px;
  border: 1px solid #e3e7ed;
  border-radius: 10px;
  background: #fff;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-row.blocked {
  border-color: #f1d9bd;
  background: #fffbf5;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-account-meta {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 2px 8px;
  min-width: 0;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-account-meta strong,
body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-account-meta small,
body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-region {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-account-meta strong {
  color: #20283a;
  font-size: 12px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-account-meta small,
body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-region {
  grid-column: 2;
  color: var(--muted);
  font-size: 10px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-account-order {
  grid-row: 1 / span 3;
  align-self: start;
  padding: 3px 6px;
  border-radius: 5px;
  background: #f1f3f6;
  color: #596579;
  font-size: 9.5px;
  font-weight: 750;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-row select {
  width: 100%;
  min-width: 0;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-node-blocked {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border: 1px dashed #e8bd86;
  border-radius: 8px;
  color: #8b5a1f;
  background: #fff8ee;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-node-blocked span {
  font-size: 10.5px;
}

body[data-collector-allocation-ui="20260829-r828-collector-allocation"] #collectorAllocationError {
  min-height: 20px;
  margin-top: 10px;
}

html.dark body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-row,
html.dark body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-card {
  border-color: #383838;
  background: #222;
}

html.dark body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-notice {
  border-color: #31523e;
  background: #1d2d23;
  color: #a9cbb5;
}

html.dark body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-allocation-row.blocked,
html.dark body[data-collector-allocation-ui="20260829-r828-collector-allocation"] .collector-node-blocked {
  border-color: #654c2e;
  background: #2d261d;
}
/* Provider egress is newer than the cached Starbridge observation. */
.warning-text { color: #a96b11 !important; }
.account-meta .legacy-profile-link { color: inherit; text-decoration: none; cursor: pointer; }
.account-meta .legacy-profile-link:hover,
.account-meta .legacy-profile-link:focus-visible { color: #2563eb; text-decoration: underline; text-underline-offset: 3px; }
.account-meta .legacy-profile-link:focus-visible { outline: 2px solid #2563eb; outline-offset: 3px; border-radius: 3px; }
.legacy-profile-link > span { font-size: .85em; opacity: .6; }
