/* TOBI 全站统一壳层：以 news.html 的位置、色彩和层级为唯一基准 */
:root {
  --tobi-shell-navy: #0B1F3A;
  --tobi-shell-deep: #061226;
  --tobi-shell-flame: #FF5B2E;
  --tobi-shell-bg: #F7F9FC;
  --tobi-shell-text: #0F172A;
  --tobi-shell-muted: #475569;
  --tobi-shell-light: #C7D2E6;
  --tobi-shell-line: #D8DFE8;
  --tobi-shell-shadow: 0 8px 24px rgba(3, 12, 26, .18);
  --tobi-shell-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Inter", system-ui, sans-serif;
}
html { scroll-padding-top: 88px; }
body[data-tobi-shell] {
  min-width: 0;
  overflow-x: clip;
  color: var(--tobi-shell-text);
  background: var(--tobi-shell-bg);
  font-family: var(--tobi-shell-font) !important;
}
body[data-tobi-shell] #main-nav,
body[data-tobi-shell] .u-header,
body[data-tobi-shell] .u-drawer,
body[data-tobi-shell] .u-scrim,
body[data-tobi-shell] > .mobile-menu { display: none !important; }
body.tobi-shell-lock { overflow: hidden !important; touch-action: none; }
body.tobi-shell-bare-page { padding-top: 80px; }
.tobi-shell-skip { position: fixed; left: 16px; top: -60px; z-index: 10002; padding: 10px 14px; border-radius: 8px; background: #fff; color: var(--tobi-shell-navy); box-shadow: var(--tobi-shell-shadow); font-weight: 700; transition: top .2s ease; }
.tobi-shell-skip:focus { top: 14px; outline: 3px solid var(--tobi-shell-flame); }
.tobi-global-header { position: fixed; inset: 0 0 auto 0; z-index: 10000; height: 80px; color: #fff; background: linear-gradient(135deg, rgba(3,12,26,.98), rgba(11,31,58,.98) 55%, rgba(3,12,26,.98)); box-shadow: 0 1px 0 rgba(255,255,255,.10), 0 8px 24px rgba(3,12,26,.18); font-family: var(--tobi-shell-font); }
.tobi-global-header__inner { width: min(100% - 64px, 1280px); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.tobi-global-logo { flex: none; width: 82px; height: 42px; display: flex; align-items: center; justify-content: flex-start; border-radius: 8px; overflow: hidden; }
.tobi-global-logo img { display: block; height: 40px; max-width: 100%; width: auto; object-fit: contain; }
.tobi-global-nav { min-width: 0; margin-left: auto; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.25vw, 22px); }
.tobi-global-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; white-space: nowrap; color: rgba(255,255,255,.90); font-size: 14px; line-height: 1; font-weight: 500; letter-spacing: 0; text-decoration: none; transition: color .16s ease; }
.tobi-global-nav a::after { content: ""; position: absolute; left: 50%; bottom: 7px; width: 0; height: 2px; border-radius: 2px; background: var(--tobi-shell-flame); transform: translateX(-50%); transition: width .16s ease; }
.tobi-global-nav a:hover, .tobi-global-nav a[aria-current="page"] { color: #fff; }
.tobi-global-nav a:hover::after, .tobi-global-nav a[aria-current="page"]::after { width: 100%; }
.tobi-global-nav a[aria-current="page"] { color: var(--tobi-shell-flame); font-weight: 700; }
.tobi-global-tools { flex: none; display: flex; align-items: center; gap: 12px; margin-left: 4px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.22); }
.tobi-global-lang { display: flex; align-items: center; gap: 5px; }
.tobi-global-lang button { min-width: 26px; min-height: 36px; padding: 0 1px; color: rgba(255,255,255,.68); background: transparent; border: 0; font: 600 12px/1 var(--tobi-shell-font); cursor: pointer; transition: color .16s ease; }
.tobi-global-lang button:hover, .tobi-global-lang button[aria-pressed="true"] { color: var(--tobi-shell-flame); }
.tobi-global-lang i { color: rgba(255,255,255,.35); font-style: normal; font-size: 11px; }
.tobi-global-menu { display: none; flex: none; width: 46px; height: 46px; place-items: center; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.38); border-radius: 10px; cursor: pointer; }
.tobi-global-menu svg { width: 23px; height: 23px; }
.tobi-global-menu .is-close { display: none; }
.tobi-global-menu[aria-expanded="true"] .is-open { display: none; }
.tobi-global-menu[aria-expanded="true"] .is-close { display: block; }
.tobi-global-scrim { position: fixed; inset: 0; z-index: 10010; opacity: 0; visibility: hidden; pointer-events: none; background: rgba(3,12,26,.58); backdrop-filter: blur(2px); transition: opacity .25s ease, visibility 0s .25s; }
.tobi-global-scrim.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.tobi-global-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 10011; width: min(88vw, 380px); display: flex; flex-direction: column; padding: max(18px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom)); color: #fff; background: linear-gradient(150deg, #061226, #0B1F3A); box-shadow: -18px 0 48px rgba(0,0,0,.34); transform: translateX(104%); visibility: hidden; pointer-events: none; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s; overflow-y: auto; font-family: var(--tobi-shell-font); }
.tobi-global-drawer.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
.tobi-global-drawer__head { display: flex; height: 50px; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); }
.tobi-global-drawer__head b { color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .12em; }
.tobi-global-close { width: 44px; height: 44px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; cursor: pointer; }
.tobi-global-close svg { width: 20px; height: 20px; }
.tobi-global-drawer nav { display: grid; margin-top: 10px; }
.tobi-global-drawer nav a { min-height: 52px; display: flex; align-items: center; padding: 0 10px; color: rgba(255,255,255,.91); border-bottom: 1px solid rgba(255,255,255,.11); font-size: 16px; font-weight: 600; text-decoration: none; }
.tobi-global-drawer nav a[aria-current="page"] { color: #fff; background: rgba(255,91,46,.18); border-left: 3px solid var(--tobi-shell-flame); }
.tobi-global-drawer__lang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.tobi-global-drawer__lang button { min-height: 42px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15); border-radius: 9px; font: 700 13px/1 var(--tobi-shell-font); cursor: pointer; }
.tobi-global-drawer__lang button[aria-pressed="true"] { color: #fff; background: var(--tobi-shell-flame); border-color: var(--tobi-shell-flame); }
/* 统一可读性保护，不重写实际产品图片或业务内容。 */
body[data-tobi-shell] :focus-visible { outline: 3px solid var(--tobi-shell-flame) !important; outline-offset: 3px; }
body[data-tobi-shell] img, body[data-tobi-shell] video, body[data-tobi-shell] canvas { max-width: 100%; }
body[data-tobi-shell] table { max-width: 100%; }
body[data-tobi-shell] .overflow-x-auto, body[data-tobi-shell] .table-scroll, body[data-tobi-shell] .compare-table-wrap { -webkit-overflow-scrolling: touch; }
body[data-tobi-shell] p, body[data-tobi-shell] li { text-wrap: pretty; }
body[data-tobi-shell] [class*="text-slate-400"], body[data-tobi-shell] [class*="text-gray-400"] { color: #475569; }
body[data-tobi-shell] .text-white\/40, body[data-tobi-shell] .text-white\/50 { color: rgba(255,255,255,.76); }
@media (max-width: 1200px) { body.tobi-shell-bare-page { padding-top: 64px; } .tobi-global-header { height: 64px; } .tobi-global-header__inner { width: min(100% - 32px, 1280px); gap: 12px; } .tobi-global-logo { width: 72px; height: 36px; } .tobi-global-logo img { height: 34px; } .tobi-global-nav, .tobi-global-tools { display: none; } .tobi-global-menu { display: grid; margin-left: auto; } html { scroll-padding-top: 72px; } }
@media (max-width: 420px) { .tobi-global-header__inner { width: calc(100% - 28px); } .tobi-global-logo { width: 66px; } .tobi-global-drawer { width: min(91vw, 380px); } }
@media (prefers-reduced-motion: reduce) { .tobi-global-drawer, .tobi-global-scrim, .tobi-global-nav a, .tobi-global-nav a::after { transition: none !important; } }

/* 统一咨询表单隐私同意与提交反馈：浅色/深色区域均保持可读。 */
body[data-tobi-shell] .tobi-lead-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; color: var(--tobi-shell-muted); font: 400 13px/1.55 var(--tobi-shell-font); cursor: pointer; }
body[data-tobi-shell] .tobi-lead-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--tobi-shell-flame); }
body[data-tobi-shell] .tobi-lead-consent a { color: #B43B1F; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
body[data-tobi-shell] .tobi-lead-status { min-height: 20px; margin-top: 10px; color: var(--tobi-shell-muted); font: 500 13px/1.5 var(--tobi-shell-font); }
body[data-tobi-shell] .tobi-lead-status[data-kind="error"] { color: #9F1D1D; }
body[data-tobi-shell] .tobi-lead-status[data-kind="success"] { color: #087A36; }
body[data-tobi-shell] form button[type="submit"][disabled], body[data-tobi-shell] form input[type="submit"][disabled] { opacity: .68; cursor: wait; }
.tobi-global-drawer .tobi-lead-consent, .dark .tobi-lead-consent, .dark-section .tobi-lead-consent { color: #D9E2F0; }

/* 全站产品事实与研发阶段边界提示。 */
body[data-tobi-shell] .tobi-global-disclosure { max-width: 1280px; margin: 0 auto; padding: 14px 32px 18px; color: #475569; background: #EEF2F7; border-top: 1px solid #D8DFE8; font: 400 12px/1.65 var(--tobi-shell-font); }
@media (max-width: 1200px) { body[data-tobi-shell] .tobi-global-disclosure { padding: 13px 16px max(16px, env(safe-area-inset-bottom)); font-size: 12px; } }

/* 产品指标的同屏条件说明：13px 以上、深色文字/浅色背景，避免大小字或弱对比限缩。 */
body[data-tobi-shell] .tobi-fact-guard { max-width: 1280px; margin: 24px auto 14px; padding: 13px 16px; color: #27364B; background: #FFF7F3; border: 1px solid #F0B9A6; border-left: 4px solid #C94A26; border-radius: 8px; font: 500 13px/1.65 var(--tobi-shell-font); }
@media (max-width: 1200px) { body[data-tobi-shell] .tobi-fact-guard { margin: 18px 16px 12px; padding: 12px 14px; font-size: 13px; } }

/* 产品矩阵多维参数对比弹窗。 */
body.matrix-modal-lock { overflow: hidden !important; }
.matrix-open-compare[disabled] { opacity: .5; cursor: not-allowed; }
.matrix-modal { position: fixed; inset: 0; z-index: 12000; display: grid; place-items: center; padding: 24px; font-family: var(--tobi-shell-font); }
.matrix-modal__scrim { position: absolute; inset: 0; background: rgba(3,12,26,.74); backdrop-filter: blur(4px); }
.matrix-modal__dialog { position: relative; width: min(1120px, 100%); max-height: min(780px, calc(100vh - 48px)); overflow: auto; color: #0F172A; background: #FFF; border: 1px solid rgba(255,255,255,.35); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.42); outline: 0; }
.matrix-modal__head { position: sticky; top: 0; z-index: 2; display: flex; gap: 20px; align-items: flex-start; justify-content: space-between; padding: 24px 26px 18px; color: #FFF; background: linear-gradient(135deg,#061226,#0B1F3A); border-radius: 18px 18px 0 0; }
.matrix-modal__head h2 { margin: 5px 0 0; color: #FFF; font-size: 25px; line-height: 1.25; }
.matrix-modal__eyebrow { margin: 0; color: #FFB49F; font-size: 11px; letter-spacing: .14em; font-weight: 800; }
.matrix-modal__close { flex: 0 0 auto; width: 44px; height: 44px; color: #FFF; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.3); border-radius: 10px; font-size: 30px; line-height: 1; cursor: pointer; }
.matrix-modal__note { margin: 18px 26px; padding: 12px 14px; color: #27364B; background: #FFF7F3; border-left: 4px solid #C94A26; border-radius: 6px; font-size: 13px; line-height: 1.65; }
.matrix-modal__table { margin: 0 26px 20px; overflow: auto; border: 1px solid #D8DFE8; border-radius: 10px; -webkit-overflow-scrolling: touch; }
.matrix-modal__table table { min-width: 800px; width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.55; }
.matrix-modal__table th, .matrix-modal__table td { min-width: 210px; padding: 13px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid #D8DFE8; }
.matrix-modal__table thead th { position: sticky; top: 0; z-index: 1; color: #FFF; background: #173757; font-size: 13px; }
.matrix-modal__table tbody th { min-width: 130px; color: #334155; background: #F4F7FA; font-weight: 800; }
.matrix-modal__table tbody tr:last-child th, .matrix-modal__table tbody tr:last-child td { border-bottom: 0; }
.matrix-modal__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; padding: 0 26px 26px; }
@media (max-width: 720px) { .matrix-modal { padding: 12px; align-items: end; } .matrix-modal__dialog { max-height: calc(100vh - 24px); border-radius: 16px; } .matrix-modal__head { padding: 18px 18px 14px; border-radius: 16px 16px 0 0; } .matrix-modal__head h2 { font-size: 20px; } .matrix-modal__note { margin: 14px 18px; font-size: 13px; } .matrix-modal__table { margin: 0 18px 16px; } .matrix-modal__table th, .matrix-modal__table td { padding: 12px; } .matrix-modal__foot { padding: 0 18px 18px; } .matrix-modal__foot .u-button { flex: 1 1 100%; text-align: center; } }

/* 未选择设备时使用中性灰蓝禁用态，避免深红文字在深色比较栏上对比不足。 */
.compare-dock .matrix-open-compare[disabled] { color: #B8C7D6; background: #31485C; border-color: #536C81; opacity: 1; }
.compare-dock .matrix-open-compare:not([disabled]) { color: #FFF; background: #C94A26; border-color: #C94A26; }
