/* ============================================================
   郑州臻镜科技有限公司 · 全站样式（唯一 CSS 文件）
   风格：极简高级 · 科研商务风 · 深蓝 + 银灰 + 黑点缀
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --navy-900: #081d33;
  --navy-800: #0B2A4A;
  --navy-700: #123B6B;
  --navy-600: #1a4a85;
  --navy-500: #2b5f9e;
  --steel-100: #f2f4f7;
  --steel-200: #e4e7ec;
  --steel-300: #c9d0da;
  --steel-400: #97a3b3;
  --ink: #16191d;
  --ink-soft: #4d5a69;
  --ink-mute: #8a96a3;
  --white: #ffffff;
  --gold: #b8975a;          /* 细线点缀，克制使用 */
  --line: #e2e6ec;
  --danger: #a83232;
  --ok: #2e6b46;

  --maxw: 1200px;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(8, 29, 51, .08);
  --shadow-lg: 0 12px 40px rgba(8, 29, 51, .16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-num: Georgia, "Times New Roman", serif;
}

/* ---------- 基础 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.3; color: var(--ink); }
h2 { font-size: 28px; }
h3 { font-size: 19px; }
strong { color: var(--navy-800); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- 标题区通用 ---------- */
.sec { padding: 64px 0; }
.sec-head { margin-bottom: 36px; }
.sec-head .kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy-600); font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 10px; font-weight: 600;
}
.sec-head .kicker::before { content: ""; width: 26px; height: 2px; background: var(--navy-600); }
.sec-head h2 { font-size: 28px; letter-spacing: .5px; }
.sec-head .sub { color: var(--ink-soft); margin-top: 10px; max-width: 720px; }
.sec-head.center { text-align: center; }
.sec-head.center .kicker::before { display: none; }

/* ---------- 顶部工具栏（热线/便捷入口） ---------- */
.topbar {
  background: var(--navy-900); color: rgba(255,255,255,.85);
  font-size: 12.5px;
}
.topbar .container { display: flex; justify-content: space-between; height: 34px; align-items: center; }
.topbar a { color: #fff; }
.topbar .top-links { display: flex; gap: 22px; }

/* ---------- 导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(8,29,51,.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 42px; height: 42px; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-500));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px; font-family: var(--font-num);
}
.brand .brand-name { line-height: 1.25; }
.brand .brand-name b { font-size: 17px; color: var(--navy-800); letter-spacing: .5px; }
.brand .brand-name span { font-size: 11px; color: var(--ink-mute); display: block; letter-spacing: 1px; }
.nav-menu { display: flex; gap: 4px; }
.nav-menu a {
  padding: 8px 15px; border-radius: 4px; font-size: 15px; color: var(--ink-soft);
  transition: color .15s, background .15s;
}
.nav-menu a:hover { color: var(--navy-700); background: var(--steel-100); }
.nav-menu a.active { color: var(--navy-700); font-weight: 700; background: var(--steel-100); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 4px; padding: 7px 10px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy-800); margin: 3px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: .5px;
  transition: all .15s ease;
}
.btn-primary { background: var(--navy-700); color: #fff; }
.btn-primary:hover { background: var(--navy-800); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: transparent; border-color: var(--navy-600); color: var(--navy-700); }
.btn-ghost:hover { background: var(--navy-700); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* ---------- 首页 Banner ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 48%, var(--navy-700) 100%);
  color: #fff;
}
.hero::before { /* 科研网格纹理 */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 70% 30%, rgba(0,0,0,.8), transparent 70%);
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; padding: 88px 20px; }
.hero h1 { font-size: 40px; line-height: 1.35; color: #fff; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .subtitle { margin-top: 18px; font-size: 16.5px; color: rgba(255,255,255,.85); max-width: 620px; }
.hero .tags { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero .tags span {
  font-size: 12.5px; padding: 4px 12px; border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px; color: rgba(255,255,255,.9); letter-spacing: 1px;
}
.hero .cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; font-size: 17px; margin-bottom: 16px; letter-spacing: 1px; }
.hero-card .hitem { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.09); }
.hero-card .hitem:last-child { border-bottom: none; }
.hero-card .hitem .k { font-size: 13px; color: var(--gold); white-space: nowrap; font-weight: 600; }
.hero-card .hitem .v { font-size: 13.5px; color: rgba(255,255,255,.9); }

/* ---------- 优势卡片 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; background: var(--white); transition: box-shadow .18s, transform .18s;
}
.adv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.adv-card .ic {
  width: 46px; height: 46px; border-radius: 8px; margin-bottom: 16px;
  background: var(--steel-100); display: flex; align-items: center; justify-content: center;
}
.adv-card .ic svg { width: 26px; height: 26px; stroke: var(--navy-700); }
.adv-card h3 { font-size: 17px; margin-bottom: 10px; }
.adv-card p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 业务分区（核心总入口） ---------- */
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.zone-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; gap: 22px; background: var(--white);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.zone-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--navy-500); }
.zone-ic {
  flex: none; width: 60px; height: 60px; border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-500));
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.zone-ic svg { width: 32px; height: 32px; stroke: #fff; }
.zone-body h3 { font-size: 19px; margin-bottom: 8px; }
.zone-body .no { font-size: 12px; color: var(--gold); font-family: var(--font-num); letter-spacing: 1px; }
.zone-body p { font-size: 13.5px; color: var(--ink-soft); margin: 8px 0 14px; }
.zone-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.zone-tags span { font-size: 12px; color: var(--navy-600); background: var(--steel-100); border: 1px solid var(--steel-300); border-radius: 4px; padding: 2px 9px; }

/* ---------- 合作客户 ---------- */
.partner-strip { background: var(--steel-100); }
.partner-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.partner-chip {
  border: 1px dashed var(--steel-300); border-radius: var(--radius);
  padding: 18px; text-align: center; color: var(--ink-soft); font-size: 13.5px;
  background: var(--white); line-height: 1.6;
}
.partner-chip b { display: block; color: var(--navy-700); font-size: 14px; margin-bottom: 2px; }

/* ---------- 送检流程条 ---------- */
.flow-wrap { overflow-x: auto; }
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; min-width: 900px; }
.flow-step { position: relative; padding: 0 18px; text-align: center; }
.flow-step .dot {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: #fff; font-family: var(--font-num); font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.flow-step h4 { font-size: 15px; margin-bottom: 6px; }
.flow-step p { font-size: 12.5px; color: var(--ink-soft); }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; right: -2px;
  width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--navy-500) 0 5px, transparent 5px 9px);
}

/* ---------- 表格（指南 / 对比 / 后台） ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
.table th { background: var(--navy-800); color: #fff; font-weight: 600; font-size: 13.5px; }
.table tr:nth-child(even) td { background: var(--steel-100); }
.table td .tag { color: var(--navy-600); font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ---------- 页面头（内页） ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 52px 0; }
.page-hero h1 { color: #fff; font-size: 30px; letter-spacing: 1px; }
.page-hero .crumb { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 10px; }
.page-hero .crumb a:hover { color: #fff; }

/* ---------- 自选页结构 ---------- */
.selector-wrap { display: grid; grid-template-columns: 1.35fr .85fr; gap: 26px; align-items: start; }
.selector-left { display: flex; flex-direction: column; gap: 22px; }
.select-module { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.select-module .m-head {
  background: var(--steel-100); border-bottom: 1px solid var(--line);
  padding: 13px 20px; display: flex; align-items: center; justify-content: space-between;
}
.select-module .m-head h3 { font-size: 15.5px; color: var(--navy-800); }
.select-module .m-head .m-step { font-family: var(--font-num); color: var(--gold); font-weight: 700; font-size: 14px; margin-right: 10px; }
.select-module .m-body { padding: 18px 20px; }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-grid .opt, .opt-stack .opt { position: relative; }
.opt { display: block; border: 1px solid var(--steel-300); border-radius: var(--radius); padding: 13px 16px 13px 42px; cursor: pointer; transition: border-color .12s, background .12s; user-select: none; }
.opt:hover { border-color: var(--navy-500); }
.opt input { position: absolute; left: 15px; top: 16px; width: 16px; height: 16px; accent-color: var(--navy-700); }
.opt.selected { border-color: var(--navy-700); background: var(--steel-100); }
.opt .t { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.opt .d { display: block; font-size: 12.5px; color: var(--ink-mute); margin-top: 3px; line-height: 1.5; }
.opt .p { display: block; font-family: var(--font-num); font-size: 12px; color: var(--navy-600); margin-top: 4px; line-height: 1.5; }
.opt-stack .opt { margin-bottom: 10px; }
.opt-stack .opt:last-child { margin-bottom: 0; }
.select { width: 100%; padding: 11px 14px; border: 1px solid var(--steel-300); border-radius: var(--radius); font-size: 14.5px; font-family: inherit; background: var(--white); }
.select:focus { outline: none; border-color: var(--navy-600); }
.num-input { width: 100%; padding: 11px 14px; border: 1px solid var(--steel-300); border-radius: var(--radius); font-size: 15px; font-family: var(--font-num); }
.num-input:focus { outline: none; border-color: var(--navy-600); }
.small-hint { font-size: 12.5px; color: var(--ink-mute); margin-top: 8px; line-height: 1.7; }
.small-hint b { color: var(--navy-700); }

/* 估价面板（右侧吸附） */
.estimate {
  position: sticky; top: 84px; border: 1px solid var(--navy-800); border-radius: var(--radius);
  overflow: hidden; background: var(--white); box-shadow: var(--shadow-lg);
}
.estimate .e-head { background: var(--navy-800); color: #fff; padding: 16px 20px; }
.estimate .e-head h3 { color: #fff; font-size: 16px; letter-spacing: 1px; }
.estimate .e-head p { font-size: 12px; color: rgba(255,255,255,.75); margin-top: 2px; }
.estimate .e-body { padding: 18px 20px; }
.estimate .price-line { display: flex; align-items: baseline; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.estimate .price-line span { font-size: 13.5px; color: var(--ink-soft); }
.estimate .price-line b { font-family: var(--font-num); color: var(--navy-800); }
.estimate .total { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; }
.estimate .total .label { font-size: 14px; color: var(--ink-soft); }
.estimate .total .num { font-family: var(--font-num); font-size: 30px; font-weight: 700; color: var(--navy-800); }
.estimate .total .num small { font-size: 13px; color: var(--ink-mute); font-weight: 400; }
.estimate .discount-tip { margin-top: 10px; background: #fdf6ea; border: 1px solid #ecd9b0; color: #8a5a14; border-radius: 4px; padding: 8px 12px; font-size: 12.5px; line-height: 1.6; }
.estimate .cycle-tip { margin-top: 8px; color: var(--ok); font-size: 12.5px; }
.estimate .e-actions { padding: 14px 20px 18px; border-top: 1px solid var(--line); }

/* ---------- 订单表单 ---------- */
.order-form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; margin-top: 26px; }
.order-form .of-head { background: var(--navy-800); color: #fff; padding: 16px 24px; }
.order-form .of-head h3 { color: #fff; font-size: 17px; letter-spacing: 1px; }
.order-form .of-head p { font-size: 12.5px; color: rgba(255,255,255,.75); margin-top: 2px; }
.order-form .of-body { padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; }
.form-field label { display: block; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 6px; }
.form-field label i { color: var(--danger); font-style: normal; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--steel-300); border-radius: var(--radius);
  font-size: 14.5px; font-family: inherit; background: var(--white); transition: border-color .12s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--navy-600); }
.form-field.full { grid-column: 1 / -1; }
.form-field textarea { min-height: 90px; resize: vertical; }
.form-submit { grid-column: 1 / -1; margin-top: 6px; }
.report-note {
  margin-top: 20px; border: 1px solid var(--navy-600); border-left: 4px solid var(--navy-600);
  background: var(--steel-100); padding: 12px 18px; font-size: 13.5px; color: var(--navy-800);
  display: flex; gap: 10px; align-items: center;
}

/* ---------- 仪器卡片 ---------- */
.instr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.instr-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow .18s; }
.instr-card:hover { box-shadow: var(--shadow-lg); }
.instr-visual {
  height: 170px; display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--font-num); font-size: 15px; letter-spacing: 2px;
}
.instr-body { padding: 20px 22px 24px; }
.instr-body h3 { font-size: 18px; }
.instr-body .model { font-family: var(--font-num); font-size: 13px; color: var(--gold); margin-bottom: 10px; display: block; }
.instr-body dl { font-size: 13.5px; }
.instr-body dt { color: var(--navy-600); font-weight: 600; margin-top: 10px; font-size: 13px; }
.instr-body dd { color: var(--ink-soft); margin-left: 0; }
.instr-body dd ul li { padding-left: 14px; position: relative; }
.instr-body dd ul li::before { content: "—"; position: absolute; left: 0; color: var(--navy-500); }

/* ---------- 文档页（协议模板） ---------- */
.doc-page { max-width: 860px; }
.doc-page .doc-title { text-align: center; border-bottom: 2px solid var(--navy-800); padding-bottom: 14px; margin-bottom: 26px; }
.doc-page .doc-title h1 { font-size: 24px; letter-spacing: 2px; }
.doc-clause { margin: 16px 0; font-size: 14.5px; }
.doc-clause h3 { font-size: 15.5px; margin-bottom: 6px; color: var(--navy-800); }
.doc-line { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; font-size: 14.5px; }
.doc-line span { flex: 1; min-width: 200px; }
.fill-line { display: inline-block; min-width: 90px; border-bottom: 1px solid var(--ink); }
.doc-toolbar { display: flex; gap: 12px; justify-content: flex-end; margin-bottom: 20px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--white); }
.faq-q { display: flex; align-items: center; gap: 14px; padding: 17px 22px; cursor: pointer; }
.faq-q:hover { background: var(--steel-100); }
.faq-q .qn { font-family: var(--font-num); color: var(--gold); font-weight: 700; }
.faq-q h3 { font-size: 15.5px; flex: 1; }
.faq-q .arrow { color: var(--ink-mute); transition: transform .15s; }
.faq-item.open .arrow { transform: rotate(90deg); }
.faq-a { display: none; padding: 4px 22px 20px 52px; font-size: 14px; color: var(--ink-soft); }
.faq-item.open .faq-a { display: block; }
.faq-a ul { list-style: disc; padding-left: 20px; margin-top: 6px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.info-panel h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.info-panel p, .info-panel li { font-size: 14px; color: var(--ink-soft); }
.info-panel ul li { padding: 4px 0 4px 16px; position: relative; }
.info-panel ul li::before { content: "·"; position: absolute; left: 4px; color: var(--navy-500); font-weight: 700; }
.team-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-card { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 14px; }
.team-card .avatar {
  width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700;
}
.team-card h4 { font-size: 15px; }
.team-card p { font-size: 12.5px; color: var(--ink-mute); margin-top: 2px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.8); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 52px 0 40px; }
.footer-grid h3 { color: #fff; font-size: 15.5px; margin-bottom: 16px; letter-spacing: 1px; }
.footer-grid li { font-size: 13.5px; padding: 4px 0; }
.footer-grid li a:hover { color: #fff; text-decoration: underline; }
.footer-grid .f-about p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 10px; }
.footer-biz .fz { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-biz .fz .k { color: var(--gold); font-size: 12.5px; white-space: nowrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: #fff; }

/* ---------- 左侧模块化快捷服务栏 ---------- */
.float-bar {
  position: fixed; left: 18px; bottom: 24px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: auto; height: auto; border-radius: 22px; border: none;
  padding: 11px 18px; font-size: 13.5px; font-weight: 600; letter-spacing: .5px;
  background: var(--navy-700); color: #fff; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; text-align: left;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.float-btn svg { width: 18px; height: 18px; stroke: #fff; flex: none; }
.float-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.float-btn .fb-t { line-height: 1.2; }
.float-btn .fb-d { display: block; font-size: 10.5px; font-weight: 400; opacity: .78; margin-top: 1px; letter-spacing: .3px; }
.float-btn.alt { background: var(--gold); }
.float-btn.alt:hover { background: #a68245; }
.float-btn.plain:hover { background: var(--navy-800); }
.float-btn.ghost { background: var(--white); color: var(--navy-800); border: 1px solid var(--navy-600); }
.float-btn.ghost svg { stroke: var(--navy-700); }
.float-btn.ghost .fb-d { opacity: .65; }
.float-btn.ghost:hover { background: var(--navy-700); color: #fff; }
.float-btn.ghost:hover svg { stroke: #fff; }

/* ---------- AI 客服（由「在线咨询」模块按钮唤起，面板置于模块上方） ---------- */
.chat-panel {
  position: fixed; left: 18px; bottom: 210px; z-index: 210; width: 370px; max-width: calc(100vw - 40px);
  height: 520px; max-height: calc(100vh - 245px); background: var(--white); border-radius: 10px;
  box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden; border: 1px solid var(--line);
}
.chat-panel.open { display: flex; }
.chat-head { position: relative; background: var(--navy-800); color: #fff; padding: 14px 18px; }
.chat-head h3 { color: #fff; font-size: 15px; }
.chat-head p { font-size: 11.5px; color: rgba(255,255,255,.7); margin-top: 2px; }
.chat-head .close { position: absolute; right: 12px; top: 12px; background: none; border: none; color: rgba(255,255,255,.8); font-size: 18px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; background: var(--steel-100); }
.chat-msg { margin-bottom: 12px; display: flex; flex-direction: column; }
.chat-msg .bubble { max-width: 82%; padding: 9px 13px; border-radius: 8px; font-size: 13.5px; line-height: 1.65; white-space: pre-wrap; }
.chat-msg.bot { align-items: flex-start; }
.chat-msg.bot .bubble { background: var(--white); border: 1px solid var(--line); border-top-left-radius: 2px; }
.chat-msg.user { align-items: flex-end; }
.chat-msg.user .bubble { background: var(--navy-700); color: #fff; border-top-right-radius: 2px; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--white); }
.chat-quick button { font-size: 12px; border: 1px solid var(--steel-300); background: var(--steel-100); color: var(--navy-700); border-radius: 14px; padding: 4px 10px; }
.chat-quick button:hover { background: var(--navy-700); color: #fff; }
.chat-input { display: flex; border-top: 1px solid var(--line); background: var(--white); }
.chat-input input { flex: 1; border: none; padding: 13px 14px; font-size: 14px; font-family: inherit; }
.chat-input input:focus { outline: none; }
.chat-input button { border: none; background: var(--navy-700); color: #fff; padding: 0 18px; font-weight: 600; }

/* ---------- 弹窗（报价 / 提交成功） ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(8,29,51,.55); z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-mask.open { display: flex; }
.modal { width: 480px; max-width: 100%; max-height: 90vh; overflow-y: auto; background: var(--white); border-radius: 10px; padding: 30px; position: relative; }
.modal h3 { font-size: 19px; margin-bottom: 16px; color: var(--navy-800); }
.modal .m-close { position: absolute; right: 16px; top: 14px; background: none; border: none; font-size: 20px; color: var(--ink-mute); }
.modal .success-ic { width: 60px; height: 60px; margin: 6px auto 16px; border-radius: 50%; background: var(--steel-100); display: flex; align-items: center; justify-content: center; }
.modal .success-ic svg { width: 34px; height: 34px; stroke: var(--ok); }

/* ---------- 提醒条 / 广告条 ---------- */
.notice-bar { background: #fdf6ea; border: 1px solid #ecd9b0; border-left: 4px solid var(--gold); color: #7a5312; padding: 10px 16px; border-radius: 4px; font-size: 13px; }
.notice-bar.blue { background: var(--steel-100); border-color: var(--steel-300); border-left-color: var(--navy-600); color: var(--navy-800); }

/* ---------- 后台 admin ---------- */
.admin-shell { min-height: calc(100vh - 150px); padding: 30px 0; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--white); }
.admin-stat b { font-family: var(--font-num); font-size: 26px; color: var(--navy-800); display: block; }
.admin-stat span { font-size: 13px; color: var(--ink-mute); }
.order-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); margin-bottom: 16px; overflow: hidden; }
.order-item .oi-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: var(--steel-100); border-bottom: 1px solid var(--line); flex-wrap: wrap; gap: 8px; }
.order-item .oi-head b { color: var(--navy-800); }
.order-item .oi-head .time { font-size: 12.5px; color: var(--ink-mute); font-family: var(--font-num); }
.order-item .oi-body { padding: 16px 20px; font-size: 13.5px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.order-item .oi-body span { color: var(--ink-soft); }
.order-item .oi-body span b { color: var(--ink); font-weight: 600; }

/* ---------- 打印 ---------- */
@media print {
  .no-print, .site-header, .site-footer, .float-bar, .chat-panel, .nav-toggle { display: none !important; }
  body { font-size: 13px; }
  .doc-page { max-width: 100%; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .zone-grid { grid-template-columns: 1fr; }
  .instr-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .selector-wrap { grid-template-columns: 1fr; }
  .estimate { position: static; order: -1; }
  .hero .container { grid-template-columns: 1fr; gap: 34px; padding: 56px 20px; }
  .hero h1 { font-size: 30px; }
}

@media (max-width: 768px) {
  .sec { padding: 44px 0; }
  .sec-head h2, .hero h1 { font-size: 25px; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; padding: 8px 16px 16px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 10px; border-bottom: 1px solid var(--steel-100); }
  .nav-cta { display: none; }
  .adv-grid { grid-template-columns: 1fr; }
  .partner-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-row { grid-template-columns: 1fr; }
  .float-bar { left: 12px; bottom: 14px; gap: 8px; }
  .float-btn { padding: 9px 15px; font-size: 12.5px; border-radius: 18px; }
  .float-btn .fb-d { font-size: 10px; }
  .chat-panel { left: 12px; bottom: 178px; height: 400px; max-height: calc(100vh - 205px); }
  .flow-step::after { display: none; }
  .flow { grid-template-columns: repeat(3, 1fr); min-width: 0; gap: 18px 0; }
  .admin-stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .hero .cta .btn { flex: 1 1 100%; }
}

/* ============================================================
   TEM 样品登记/自选区（business/tem.html）
   作用域前缀 .tem-reg，避免与站内类名冲突；配色沿用站点深蓝/银灰/金
   ============================================================ */
.tem-reg {
  color: var(--ink);
  font-family: var(--font);
}
.tem-reg button, .tem-reg input, .tem-reg textarea { font: inherit; }
.tem-reg .tem-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 20px;
}
.tem-reg .identity {
  position: relative;
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.tem-reg .identity::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 0 62%, rgba(26,74,133,0.06) 62% 63%, transparent 63%),
    radial-gradient(circle at 84% 34%, rgba(184,151,90,0.12), transparent 31%);
  pointer-events: none;
}
.tem-reg .identity > * { position: relative; z-index: 1; }
.tem-reg .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 16px; color: var(--navy-600);
  font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.tem-reg .eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--navy-600);
}
.tem-reg .tem-hero h1 { margin: 0; max-width: 720px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; }
.tem-reg .subtitle {
  max-width: 700px; margin: 16px 0 0;
  color: var(--ink-mute); line-height: 1.75; font-size: 15px;
}
.tem-reg .quick-rates { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tem-reg .rate-pill {
  padding: 7px 11px;
  border: 1px solid var(--steel-300);
  border-radius: 999px; color: var(--navy-700);
  background: var(--white);
  font-size: 12px; font-weight: 700;
}
.tem-reg .identity .hero-foot {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--ink-mute); font-size: 14px;
}
.tem-reg .identity .hero-foot b {
  color: var(--navy-800); font-weight: 700; font-size: 20px;
}
.tem-reg .identity .hero-notice {
  margin-top: 14px; padding: 12px 14px;
  border: 1px solid rgba(184,151,90,0.4); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(184,151,90,0.1), rgba(184,151,90,0.05));
  color: var(--ink-soft); font-size: 14px; font-weight: 600; line-height: 1.7; text-align: center;
}
.tem-reg .lookup-btn {
  position: absolute; top: 22px; right: 24px; z-index: 2;
  padding: 6px 14px; border: 1px solid var(--navy-600); border-radius: var(--radius);
  background: rgba(255,255,255,0.9); color: var(--navy-700); font-size: 12px; font-weight: 700; cursor: pointer;
}
.tem-reg .lookup-btn:hover { background: var(--steel-100); }

.tem-reg .scope {
  display: grid; gap: 12px; padding: 18px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
  color: #f6fafb;
  background: linear-gradient(145deg, rgba(26,74,133,0.5), rgba(11,42,74,0.9)), var(--navy-900);
  box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
}
.tem-reg .scope > * { position: relative; z-index: 1; }
.tem-reg .scope-title {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-weight: 700; font-size: 13px;
}
.tem-reg .scope-title span {
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,0.28); border-radius: 999px;
  color: #d8e0ea; background: rgba(8,29,51,0.4);
  font-size: 12px; font-weight: 700;
}
.tem-reg .micro-band {
  min-height: 54px;
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(26,74,133,0.35), transparent 45%, rgba(184,151,90,0.22)),
    var(--navy-900);
  box-shadow: inset 0 0 32px rgba(8,29,51,0.5);
  position: relative; overflow: hidden;
}
.tem-reg .micro-band::after {
  content: "";
  position: absolute; left: -30%; top: 22px; width: 160%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(184,151,90,0.85), transparent);
  animation: temScan 3.2s linear infinite;
}
@keyframes temScan {
  from { transform: translateY(-42px); }
  to { transform: translateY(76px); }
}
.tem-reg .device-list { display: grid; gap: 8px; }
.tem-reg .device-row {
  display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: start;
  padding: 8px 10px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius);
  background: rgba(8,29,51,0.34); font-size: 12px; line-height: 1.5;
}
.tem-reg .device-row span { color: var(--gold); font-weight: 700; }
.tem-reg .device-row b { color: #ffffff; font-weight: 700; }
.tem-reg .scope .scope-panel {
  margin-top: 6px; padding: 8px 12px;
  border: 1px solid rgba(26,74,133,0.5); border-radius: var(--radius);
  background: rgba(8,29,51,0.4); font-size: 14px; line-height: 1.8; color: #c3d0de;
}
.tem-reg .scope .scope-panel .p-title { font-weight: 700; color: #8ea4d8; }
.tem-reg .scope .discount-note {
  margin-top: 10px; padding: 10px 12px;
  border: 1px solid rgba(184,151,90,0.45); border-radius: var(--radius);
  background: rgba(184,151,90,0.12); font-size: 13px; line-height: 1.8; color: #d8e0ea;
}
.tem-reg .scope .discount-note .d-title { font-weight: 700; color: var(--gold); margin-bottom: 4px; }
.tem-reg .scope .discount-note .muted { color: #a0aeb5; font-size: 12px; margin-top: 4px; }

.tem-reg .app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  align-items: start;
}
.tem-reg .panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden; position: relative;
}
.tem-reg .form-panel::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5px;
  background: linear-gradient(180deg, var(--navy-600), var(--navy-800), var(--gold));
}
.tem-reg .panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 62px; padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--steel-100);
}
.tem-reg .panel-head h2 { margin: 0; font-size: 18px; letter-spacing: 0; color: var(--navy-800); }
.tem-reg .status-chip {
  min-width: 76px; padding: 7px 10px;
  border: 1px solid var(--steel-300); border-radius: 999px;
  color: var(--ink-mute); background: var(--steel-100);
  font-size: 12px; font-weight: 700; text-align: center;
}
.tem-reg .status-chip.ready { border-color: rgba(46,107,70,0.4); color: var(--ok); background: rgba(46,107,70,0.08); }
.tem-reg .status-chip.invalid { border-color: rgba(168,50,50,0.4); color: var(--danger); background: rgba(168,50,50,0.08); }
.tem-reg .form { padding: 18px 18px 18px 23px; display: grid; gap: 18px; }
.tem-reg .field { display: grid; gap: 8px; }
.tem-reg label, .tem-reg .group-label { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.tem-reg .required-mark {
  display: inline-block; margin-left: 5px; padding: 2px 8px;
  border-radius: 3px; background: var(--danger); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  vertical-align: middle; position: relative; top: -1px;
}
.tem-reg input[type="text"], .tem-reg input[type="number"], .tem-reg input[type="tel"], .tem-reg textarea {
  width: 100%; min-height: 46px; padding: 12px 13px;
  border: 1px solid var(--steel-300); border-radius: var(--radius);
  color: var(--ink); background: var(--white); outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.tem-reg textarea { min-height: 92px; resize: vertical; line-height: 1.6; }
.tem-reg input:focus, .tem-reg textarea:focus {
  border-color: var(--navy-600); background: #fff;
  box-shadow: 0 0 0 3px rgba(26,74,133,0.12);
}
.tem-reg input:disabled { color: var(--steel-400); background: var(--steel-100); cursor: not-allowed; }
.tem-reg .two-col { display: grid; grid-template-columns: 1.18fr 0.82fr; gap: 12px; }
.tem-reg .three-col { display: grid; grid-template-columns: 0.8fr 0.9fr 1.15fr; gap: 12px; }
.tem-reg .stepper { display: grid; grid-template-columns: 42px 1fr 42px; gap: 8px; align-items: center; }
.tem-reg .icon-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--steel-300); border-radius: var(--radius);
  color: var(--ink); background: var(--steel-100);
  font-size: 22px; line-height: 1; display: grid; place-items: center;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.tem-reg .icon-btn:hover { border-color: var(--navy-600); color: var(--navy-700); transform: translateY(-1px); }

.tem-reg .segments, .tem-reg .checks { display: grid; gap: 10px; }
.tem-reg .segments { grid-template-columns: repeat(3, 1fr); }
.tem-reg .segments.four { grid-template-columns: repeat(4, 1fr); }
.tem-reg .segments.five { grid-template-columns: repeat(5, 1fr); }
.tem-reg .seg, .tem-reg .check {
  position: relative; display: flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 44px; padding: 10px 12px;
  border: 1px solid var(--steel-300); border-radius: var(--radius); background: var(--white);
  color: var(--ink-soft); font-size: 14px; font-weight: 700;
  user-select: none; cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.tem-reg .seg input, .tem-reg .check input { position: absolute; opacity: 0; pointer-events: none; }
.tem-reg .seg:has(input:checked), .tem-reg .check:has(input:checked) {
  border-color: var(--navy-700); color: var(--navy-800);
  background: var(--steel-100);
  box-shadow: inset 0 0 0 1px rgba(18,59,107,0.18);
}
.tem-reg .seg.col { flex-direction: column; justify-content: center; min-height: 70px; padding: 14px 16px; font-size: 16px; }
.tem-reg .seg.col .seg-label { display: block; }
.tem-reg .seg.col .seg-note { display: block; font-size: 12px; color: var(--ink-mute); font-weight: 400; }
.tem-reg .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tem-reg .check { justify-content: flex-start; min-height: 50px; flex-wrap: wrap; row-gap: 4px; }
.tem-reg .check::before {
  content: ""; width: 14px; height: 14px; flex: 0 0 14px;
  border: 1px solid var(--steel-400); border-radius: 3px; background: #fff;
}
.tem-reg .check:has(input:checked)::before {
  border-color: var(--navy-700);
  background: linear-gradient(135deg, transparent 45%, #fff 46% 56%, transparent 57%), var(--navy-700);
}
.tem-reg .check .check-main { flex: 1; min-width: 70px; }
.tem-reg .check .check-note { color: var(--ink-mute); font-weight: 400; }
.tem-reg .check .mini-input { display: flex; align-items: center; gap: 4px; }
.tem-reg .check .mini-input > span { font-size: 12px; color: var(--ink-mute); white-space: nowrap; }
.tem-reg .check .mini-input input {
  height: 28px; width: 46px; min-height: 0; padding: 0 2px; font-size: 13px; text-align: center;
  border: 1px solid var(--steel-300); border-radius: 4px; background: var(--white);
  pointer-events: auto; opacity: 1; position: static;
}
.tem-reg .check .mini-input input.serial { width: 150px; font-size: 12px; text-align: left; padding: 0 6px; }
.tem-reg .check .mini-input input:focus { box-shadow: 0 0 0 2px rgba(26,74,133,0.12); }
.tem-reg .check .mini-input input:disabled { background: var(--steel-100); }

.tem-reg .service-band {
  padding: 14px;
  border: 1px solid rgba(18,59,107,0.22); border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(26,74,133,0.06), rgba(184,151,90,0.05)), var(--white);
  display: grid; gap: 12px;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.tem-reg .service-band.inactive {
  opacity: 0.4;
  filter: grayscale(0.7);
  pointer-events: none;
}
.tem-reg .band-title {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 4px; padding: 10px 14px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(26,74,133,0.12), rgba(26,74,133,0.04));
}
.tem-reg .band-title .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--navy-700); color: #fff; font-size: 15px; font-weight: 700;
}
.tem-reg .band-title .t { font-size: 17px; font-weight: 700; color: var(--navy-700); }
.tem-reg .band-title .s { font-size: 12px; color: var(--ink-mute); }
.tem-reg .price-note { margin: -4px 0 0; color: var(--ink-mute); font-size: 12px; line-height: 1.65; }

.tem-reg .upload-box {
  display: grid; gap: 12px; padding: 14px;
  border: 1px dashed var(--steel-300); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(26,74,133,0.05), rgba(184,151,90,0.05)), var(--white);
}
.tem-reg .file-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.tem-reg .upload-trigger {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  width: fit-content; padding: 0 14px; border: 1px solid var(--navy-600);
  border-radius: var(--radius); color: var(--navy-700);
  background: var(--white); font-size: 14px; font-weight: 700; cursor: pointer;
}
.tem-reg .upload-trigger:hover { background: var(--steel-100); }
.tem-reg .upload-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tem-reg .reference-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.tem-reg .reference-item {
  border: 1px solid var(--steel-300); border-radius: var(--radius); background: #fff; overflow: hidden;
}
.tem-reg .reference-item img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--steel-100); }
.tem-reg .reference-item span { display: block; padding: 7px 8px; color: var(--ink-mute); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }

.tem-reg .actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 2px; }
.tem-reg .primary, .tem-reg .secondary {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid transparent; font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.tem-reg .primary { color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--navy-900)); }
.tem-reg .primary:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.tem-reg .secondary { color: var(--ink); border-color: var(--steel-300); background: var(--white); }
.tem-reg .secondary:hover { transform: translateY(-1px); border-color: var(--navy-600); color: var(--navy-700); }
.tem-reg .btn-submit {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius);
  border: 1px solid transparent; font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  transition: transform 0.18s ease, background 0.18s ease;
}
.tem-reg .btn-submit:hover { transform: translateY(-1px); background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); }
.tem-reg .btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.tem-reg .summary { position: sticky; top: 12px; }
.tem-reg .ticket { padding: 18px 18px 16px; display: grid; gap: 10px; }
.tem-reg .ticket .sample-badge {
  width: fit-content; padding: 4px 10px; border-radius: 999px;
  background: rgba(26,74,133,0.1); color: var(--navy-700); font-size: 12px; font-weight: 700;
}
.tem-reg .ticket-main {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0 10px; border-top: 2px dashed var(--line);
}
.tem-reg .ticket-main p { margin: 0; color: var(--ink-mute); font-size: 14px; font-weight: 700; }
.tem-reg .total { font-size: 36px; font-weight: 700; letter-spacing: 0; color: var(--navy-800); }
.tem-reg .total span { font-size: 18px; color: var(--ink-mute); }
.tem-reg .row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 7px 0; font-size: 14px; line-height: 1.55;
}
.tem-reg .row .key { color: var(--ink-mute); }
.tem-reg .row .val { color: var(--ink); font-weight: 700; text-align: right; }
.tem-reg .order-text {
  padding: 14px;
  border: 2px solid var(--line); border-radius: var(--radius);
  background:
    linear-gradient(0deg, rgba(26,74,133,0.04) 1px, transparent 1px);
  background-size: 100% 28px;
  font-family: "Courier New", monospace; font-size: 12px; line-height: 28px; white-space: pre-wrap;
  color: var(--ink-soft);
}
.tem-reg .toast {
  min-height: 44px; padding: 10px 14px;
  border: 1px solid transparent; border-radius: var(--radius);
  background: rgba(46,107,70,0.08); color: var(--ok);
  font-size: 13px; font-weight: 600; line-height: 1.5;
}
.tem-reg .toast.invalid { border-color: rgba(168,50,50,0.4); background: rgba(168,50,50,0.08); color: var(--danger); }
.tem-reg .disclaimer-bar {
  margin-top: 2px; padding: 10px 14px;
  border: 1px solid var(--gold); border-radius: var(--radius);
  background: #fdf6ea; color: var(--ink-soft);
  font-size: 13px; font-weight: 600; text-align: center; line-height: 1.6;
}

.tem-reg .success-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(8,29,51,0.55); z-index: 9999;
  justify-content: center; align-items: center; padding: 20px;
}
.tem-reg .success-overlay.active { display: flex; }
.tem-reg .success-box {
  background: var(--white); border-radius: 16px; padding: 36px 34px;
  max-width: 480px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(8,29,51,0.35);
  animation: temPopIn 0.3s ease;
  max-height: 90vh; overflow-y: auto;
}
@keyframes temPopIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.tem-reg .success-box .check-icon { font-size: 60px; margin-bottom: 12px; }
.tem-reg .success-box h2 { color: var(--ok); font-size: 22px; margin-bottom: 8px; }
.tem-reg .success-box > p { color: var(--ink-mute); font-size: 15px; margin-bottom: 20px; }
.tem-reg .pay-box {
  margin: 12px 0; padding: 16px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(46,107,70,0.1), rgba(46,107,70,0.05));
  display: none;
}
.tem-reg .pay-box .pay-amount { font-size: 28px; font-weight: 700; color: var(--ok); }
.tem-reg .pay-box .pay-label { font-size: 13px; color: var(--ink-mute); }
.tem-reg .pay-box .pay-qr { margin-top: 12px; text-align: center; }
.tem-reg .pay-box .pay-qr img {
  width: 180px; height: 180px; border-radius: var(--radius);
  border: 2px solid var(--steel-300); object-fit: cover;
}
.tem-reg .pay-box .pay-qr .qr-fallback {
  padding: 10px; color: var(--ink-mute); font-size: 12px; border: 1px dashed var(--steel-300); border-radius: var(--radius);
}
.tem-reg .pay-box .pay-tip { margin-top: 4px; font-size: 12px; color: var(--ink-mute); }
.tem-reg .pay-box .pay-deposit {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--gold);
  font-size: 13px; color: #a06a1f; text-align: center; font-weight: 700;
}
.tem-reg .pay-box .pay-disclaimer {
  margin-top: 8px; font-size: 11px; color: var(--ink-mute);
}
.tem-reg .success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.tem-reg .btn-download {
  padding: 10px 28px; border: none; border-radius: var(--radius);
  background: linear-gradient(135deg, #2f8f5b, var(--ok));
  color: #fff; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.tem-reg .btn-download:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,107,70,0.3); }
.tem-reg .btn-again {
  padding: 10px 28px; border: 2px solid var(--navy-600); border-radius: var(--radius);
  background: var(--white); color: var(--navy-700); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.tem-reg .btn-again:hover { background: var(--steel-100); }
.tem-reg .btn-finish {
  padding: 10px 28px; border: 2px solid var(--steel-300); border-radius: var(--radius);
  background: var(--white); color: var(--ink-soft); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.2s;
}
.tem-reg .btn-finish:hover { background: var(--steel-100); }

.tem-reg .lookup-result { max-height: 400px; overflow-y: auto; display: grid; gap: 10px; }
.tem-reg .lookup-empty { padding: 14px; color: var(--ink-mute); text-align: center; }
.tem-reg .lookup-count { font-size: 13px; font-weight: 700; color: var(--navy-700); margin-bottom: 6px; text-align: left; }
.tem-reg .lookup-item {
  padding: 12px; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; text-align: left; transition: background 0.15s;
}
.tem-reg .lookup-item:hover { background: var(--steel-100); }
.tem-reg .lookup-item .li-head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.tem-reg .lookup-item .li-head b { color: var(--navy-800); }
.tem-reg .lookup-item .li-head span { font-size: 12px; color: var(--ink-mute); }
.tem-reg .lookup-item .li-meta { font-size: 13px; color: var(--ink-soft); }
.tem-reg .lookup-item .li-hint { font-size: 11px; color: var(--steel-400); margin-top: 6px; text-align: right; }
.tem-reg .detail-content { max-height: 500px; overflow-y: auto; font-size: 14px; line-height: 1.8; text-align: left; }
.tem-reg .detail-content .dc-grid { display: grid; gap: 10px; }
.tem-reg .detail-content .dc-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tem-reg .detail-content .dc-row { border-top: 1px dashed var(--line); padding-top: 10px; font-size: 16px; font-weight: 700; color: var(--navy-800); }
.tem-reg .detail-content strong { color: var(--navy-800); }
.tem-reg .detail-content .dc-link { margin-top: 10px; text-align: center; }
.tem-reg .detail-content .dc-link button { color: var(--navy-700); font-weight: 700; border: none; background: none; cursor: pointer; font-size: 14px; }
.tem-reg .overlay-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tem-reg .overlay-head h2 { margin: 0; }
.tem-reg .overlay-close { border: none; background: none; font-size: 24px; cursor: pointer; color: var(--ink-mute); }

.tem-reg .lookup-input-row { display: flex; gap: 10px; margin-bottom: 16px; }
.tem-reg .lookup-input-row input {
  flex: 1; padding: 10px 14px; border: 2px solid var(--steel-200); border-radius: var(--radius);
  font-size: 15px; outline: none; min-height: 44px;
}
.tem-reg .lookup-input-row input:focus { border-color: var(--navy-600); }
.tem-reg .lookup-input-row button {
  padding: 10px 20px; border: none; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
  color: #fff; font-weight: 700; cursor: pointer;
}

@media (max-width: 880px) {
  .tem-reg .tem-hero, .tem-reg .app-grid { grid-template-columns: 1fr; }
  .tem-reg .summary { position: static; }
}
@media (max-width: 560px) {
  .tem-reg .identity { padding: 20px; }
  .tem-reg .tem-hero h1 { font-size: 30px; }
  .tem-reg .two-col, .tem-reg .three-col, .tem-reg .segments, .tem-reg .segments.five, .tem-reg .checks { grid-template-columns: 1fr; }
  .tem-reg .panel-head { align-items: flex-start; flex-direction: column; }
  .tem-reg .actions button { flex: 1 1 140px; }
  .tem-reg .success-box { padding: 28px 20px; }
  .tem-reg .detail-content .dc-2col { grid-template-columns: 1fr; }
  .tem-reg .check .mini-input input.serial { width: 110px; }
}


.tem-reg .push-status {
  margin-top: 12px; padding: 10px 12px; border-radius: var(--radius);
  font-size: 14px; line-height: 1.5; border: 1px solid var(--steel-200);
}
.tem-reg .push-status.push-ok {
  color: var(--ok); border-color: var(--ok); background: rgba(39,174,96,.08);
}
.tem-reg .push-status.push-fail {
  color: var(--danger); border-color: var(--danger); background: rgba(231,76,60,.08);
}
.tem-reg .push-status.push-pending {
  color: var(--ink-mute); border-color: var(--steel-300);
}
