/* 本檔載入頁面：電極法水質監測儀 (products/environmental-monitoring/water-analyzer/water-analyzer-electrode.html)、線上水質監測儀選型指引 (products/environmental-monitoring/water-analyzer/water-analyzer-guide.html)、光學法COD分析儀 (products/environmental-monitoring/water-analyzer/water-analyzer-optical.html)、線上滴定儀 (products/environmental-monitoring/water-analyzer/water-analyzer-titration.html)、總有機碳TOC分析儀 (products/environmental-monitoring/water-analyzer/water-analyzer-toc.html)、水質監測儀比色法 (products/environmental-monitoring/water-analyzer/water-analyzer.html) */
/* pages/water-analyzer.css — 水質分析儀（比色法／滴定法／電極法／光學法／選型指引／TOC，共用） */
/* 使用位置：整份文件：CSS 變數（顏色等共用設定，供下方規則以 var(--名稱) 取用） */
:root {
  --brand: #0a5bb5;
  --brand-ink: #0b2545;
  --accent: #f08a24;
  --teal: #1593a6;
  --green: #4f8f1f;
  --line: #e2e8f0;
  --text: #334155;
  --muted: #64748b;
}

/* ===== 版面 ===== */
/* 使用位置：所有載入本檔的頁面（6 頁）｜主要內容區 */
.online-analyzer-body {
  background: linear-gradient(180deg, #eef4fa 0%, #f6f9fc 320px, #f6f9fc 100%);
  color: var(--text);
  padding-bottom: 1px;
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜麵包屑導覽 */
.online-analyzer-body .breadcrumb {
  max-width: 1200px;
  width: calc(100% - 2rem);
  margin: 87px auto 0;
  box-sizing: border-box;
  background: transparent;
  box-shadow: none;
  padding: 1.1rem 0 0.4rem;
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜主要內容區、「水質監測儀器與分析系統」區塊 */
.online-analyzer-container {
  max-width: 1200px;
  width: calc(100% - 2rem);
  box-sizing: border-box;
  margin: 0.8rem auto 3.5rem;
  padding: 2.4rem 2.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(15, 40, 80, 0.07);
  line-height: 1.8;
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜頁面大標題 (H1)、「水質監測儀器與分析系統」標題 */
.tabs-container > h1,
.tabs-container > h2 {
  margin: 0 0 1.2rem;
  font-size: 1.75rem;
  line-height: 1.4;
  color: var(--brand-ink);
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等 */
.tabs-container > h1 i,
.tabs-container > h2 i {
  color: var(--brand);
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等 */
.tabs-container > p {
  margin: 0 0 1.8rem;
  padding: 1.1rem 1.4rem;
  border-radius: 10px;
  background: #f3f8fe;
  border: 1px solid #dbe8f6;
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等 */
.tabs-container > p strong {
  color: var(--brand);
}

/* ===== 頁籤 ===== */
/* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等 */
.online-analyzer-body .tabs-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.4rem;
  border-radius: 14px;
  background: #eef3f9;
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等 */
.online-analyzer-body .tab-btn {
  display: block;
  width: auto;
  padding: 0.7rem 0.5rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等｜滑鼠移入時 */
.online-analyzer-body .tab-btn:hover {
  background: #fff;
  color: var(--brand);
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等 */
.online-analyzer-body .tab-btn.active {
  background: linear-gradient(135deg, #1a6fd0, var(--brand));
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 91, 181, 0.25);
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「水質監測儀-電極法」區塊、「線上水質監測儀-選型指引」區塊、「化學需氧量(COD)分析儀-抽取式」區塊…等 */
.online-analyzer-body .tab-content {
  display: none;
  padding-top: 2rem;
  margin-top: 0;
}

/* 使用位置：所有載入本檔的頁面（6 頁）｜「水質監測儀-電極法」區塊、「線上水質監測儀-選型指引」區塊、「化學需氧量(COD)分析儀-抽取式」區塊…等 */
.online-analyzer-body .tab-content.active {
  display: block;
}

/* 使用位置：電極法水質監測儀、線上滴定儀、總有機碳TOC分析儀 等 4 頁｜「水質監測儀-電極法」標題、「線上滴定儀-指示劑法」標題、「總有機碳(TOC)分析儀」標題…等 */
.tab-content > h2 {
  margin: 0 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--brand);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--brand-ink);
}

/* 標題樣式 */
/* 使用位置：通用元素樣式：所有 <h2>｜電極法水質監測儀、線上水質監測儀選型指引、線上滴定儀 等 5 頁 */
h2 {
  color: #2c5686;
  margin-bottom: 20px;
  font-size: 24px;
}

/* 使用位置：通用元素樣式：所有 <h3>｜電極法水質監測儀、光學法COD分析儀、線上滴定儀 等 5 頁 */
h3 {
  color: #2c5686;
  margin-bottom: 10px;
  font-size: 20px;
}

/* 使用位置：通用元素樣式：所有 <h4>｜水質監測儀比色法 */
h4 {
  margin-bottom: 0;
}

/* 段落樣式 */
/* 使用位置：通用元素樣式：所有 <p>｜所有載入本檔的頁面（6 頁） */
p {
  margin: 10px 0;
}

/* 圖文並排容器 */
/* 使用位置：水質監測儀比色法｜「COD分析儀功能規格」區塊 */
.img-text-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
}

/* 使用位置：水質監測儀比色法｜「COD分析儀功能規格」區塊 */
.text-container {
  flex: 1;
}

/* 區段分隔線 */
/* 使用位置：水質監測儀比色法｜「水質分析方法呈色反應原理」區塊 */
.section {
  border-bottom: 1px solid #e0e0e0;
}

/* 使用位置：水質監測儀比色法｜「水質分析方法呈色反應原理」區塊｜最後一個 */
.section:last-child {
  border-bottom: none;
}

/* 表格共用樣式 */
/* 使用位置：光學法COD分析儀、線上水質監測儀選型指引｜「COD-光學法_線上分析儀規格表」區塊、「線上水質監測儀-選型指引」區塊 */
.spec-table,
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

/* 選型指引表格樣式 */
/* 使用位置：線上水質監測儀選型指引｜「線上水質監測儀-選型指引」區塊 */
.guide-table th {
  background-color: #2c5686;
  color: white;
  padding: 10px;
  border: 1px solid #e5e7eb;
}

/* 使用位置：線上水質監測儀選型指引｜「線上水質監測儀-選型指引」區塊 */
.guide-table td {
  padding: 10px;
  border: 1px solid #e5e7eb;
}

/* 使用位置：線上水質監測儀選型指引｜「線上水質監測儀-選型指引」區塊｜第 even 個 */
.guide-table tr:nth-child(even) {
  background-color: #f7f7f7;
}

/* 使用位置：線上水質監測儀選型指引｜「線上水質監測儀-選型指引」區塊｜第 odd 個 */
.guide-table tr:nth-child(odd) {
  background-color: #ffffff;
}

/* 規格表格樣式 */
/* 使用位置：光學法COD分析儀｜「COD-光學法_線上分析儀規格表」區塊 */
.spec-table td {
  padding: 12px;
  border: 1px solid #e5e7eb;
}

/* 使用位置：光學法COD分析儀｜「COD-光學法_線上分析儀規格表」區塊｜第一個 */
.spec-table td:first-child {
  background-color: #2c5686;
  color: white;
  font-weight: bold;
  width: 25%;
}

/* 使用位置：光學法COD分析儀｜「COD-光學法_線上分析儀規格表」區塊｜第一個 */
.spec-table td:not(:first-child) {
  width: 37.5%;
}

/* 使用位置：光學法COD分析儀｜「COD-光學法_線上分析儀規格表」區塊｜第一個、第 even 個 */
.spec-table tr:nth-child(even) td:not(:first-child) {
  background-color: #f7f7f7;
}

/* 使用位置：光學法COD分析儀｜「COD-光學法_線上分析儀規格表」區塊｜第一個、第 odd 個 */
.spec-table tr:nth-child(odd) td:not(:first-child) {
  background-color: #ffffff;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊 */
.toc-guide-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊 */
.toc-guide-table th {
  background-color: #2c5282;
  color: white;
  padding: 14px 12px;
  text-align: center;
  font-weight: 500;
  border: none;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊 */
.toc-guide-table th.group-header {
  border-bottom: 2px solid #1a365d;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊 */
.toc-guide-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #4a5568;
  text-align: center;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊｜第一個 */
.toc-guide-table td:first-child {
  text-align: left;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊｜最後一個 */
.toc-guide-table td:last-child {
  text-align: left;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊 */
.toc-guide-table td.check-cell {
  text-align: center;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊｜滑鼠移入時 */
.toc-guide-table tr:hover {
  background-color: #f7fafc;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊 */
.check {
  color: #2c5282;
  font-size: 1.4em;
  font-weight: bold;
  text-align: center;
}

/*水中總有機碳氧化方法*/
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.oxid-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊、「水中總有機碳偵測方法」區塊 */
.card {
  background: linear-gradient(180deg, #a0a0a0 0%, #d1d1d1 100%);
  border-radius: 16px;
  padding: 30px 24px;
  width: 200px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊、「水中總有機碳偵測方法」區塊｜滑鼠移入時 */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.icon-container {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* 火焰圖標 */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.fire-icon {
  font-size: 80px;
  background: linear-gradient(180deg, #ff8c63 0%, #ffb25b 50%, #ffe372 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.5));
  animation: flicker 1.5s ease-in-out infinite alternate;
}

@keyframes flicker {
  0% {
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.5));
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(255, 107, 53, 0.8));
  }
}

/* UV燈圖標 */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.uv-icon {
  position: relative;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.uv-tube {
  width: 24px;
  height: 70px;
  background: linear-gradient(90deg, #e8e8e8 0%, #fff 50%, #e8e8e8 100%);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 30px rgba(255, 230, 100, 0.8), 0 0 60px rgba(255, 200, 50, 0.4);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜前方裝飾、後方裝飾 */
.uv-tube::before,
.uv-tube::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 16px;
  background: linear-gradient(180deg, #5a9fd4 0%, #4a8bc4 100%);
  border-radius: 4px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜前方裝飾 */
.uv-tube::before {
  top: -12px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜後方裝飾 */
.uv-tube::after {
  bottom: -12px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.uv-rays {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.ray {
  position: absolute;
  width: 3px;
  height: 20px;
  background: linear-gradient(180deg, #ffd700 0%, transparent 100%);
  top: 50%;
  left: 50%;
  transform-origin: center bottom;
  border-radius: 2px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 1 個 */
.ray:nth-child(1) {
  transform: translate(-50%, -100%) rotate(-60deg) translateY(-35px);
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 2 個 */
.ray:nth-child(2) {
  transform: translate(-50%, -100%) rotate(-30deg) translateY(-35px);
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 3 個 */
.ray:nth-child(3) {
  transform: translate(-50%, -100%) rotate(0deg) translateY(-35px);
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 4 個 */
.ray:nth-child(4) {
  transform: translate(-50%, -100%) rotate(30deg) translateY(-35px);
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 5 個 */
.ray:nth-child(5) {
  transform: translate(-50%, -100%) rotate(60deg) translateY(-35px);
}

/* 燒杯圖標 */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.beaker-icon {
  position: relative;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.beaker {
  width: 70px;
  height: 80px;
  border: 4px solid #87ceeb;
  border-top: none;
  border-radius: 0 0 10px 10px;
  position: relative;
  background: linear-gradient(180deg, transparent 0%, rgba(100, 200, 255, 0.3) 100%);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜前方裝飾 */
.beaker::before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  height: 8px;
  border: 4px solid #87ceeb;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.water {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  height: 50px;
  background: linear-gradient(180deg, #64b5f6 0%, #42a5f5 100%);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜前方裝飾 */
.water::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 20%,
    rgba(255, 255, 255, 0.4) 40%,
    transparent 60%
  );
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%,
  100% {
    transform: translateX(-20px);
  }
  50% {
    transform: translateX(20px);
  }
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.heater {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.heater-coil {
  width: 16px;
  height: 16px;
  background: linear-gradient(180deg, #ff6b35 0%, #c62828 100%);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.bubbles {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.bubble {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: rise 1.5s ease-in infinite;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 1 個 */
.bubble:nth-child(1) {
  left: -10px;
  animation-delay: 0s;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 2 個 */
.bubble:nth-child(2) {
  left: 0;
  animation-delay: 0.5s;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜第 3 個 */
.bubble:nth-child(3) {
  left: 10px;
  animation-delay: 1s;
}

@keyframes rise {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-40px);
    opacity: 0;
  }
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊、「水中總有機碳偵測方法」區塊 */
.title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊、「水中總有機碳偵測方法」區塊｜第 1 個 */
.card:nth-child(1) .title {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.3);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊、「水中總有機碳偵測方法」區塊｜第 2 個 */
.card:nth-child(2) .title {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.3);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊、「水中總有機碳偵測方法」區塊｜第 3 個 */
.card:nth-child(3) .title {
  color: #000000;
  border-color: rgba(0, 0, 0, 0.3);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.temp {
  font-size: 1.1em;
  color: #525252;
  margin-bottom: 12px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊 */
.desc {
  color: #2f2f2f;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.monitor-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊、「水中總有機碳偵測方法」區塊 */
.title {
  font-size: 1.3em;
  font-weight: 600;
  color: #2c5282;
  margin-bottom: 4px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.subtitle {
  font-size: 0.9em;
  color: #5a7a9a;
  margin-bottom: 20px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.diagram {
  height: 160px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ==================== NDIR 圖示 ==================== */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.ndir-diagram {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.ndir-source {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.bulb-icon {
  width: 36px;
  height: 44px;
  position: relative;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.bulb-glass {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 50% 40%, #fff9c4 0%, #ffee58 40%, #fdd835 100%);
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(255, 235, 59, 0.8);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.bulb-base {
  width: 14px;
  height: 12px;
  background: linear-gradient(180deg, #78909c 0%, #546e7a 100%);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 4px 4px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜前方裝飾 */
.bulb-base::before {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  height: 4px;
  background: repeating-linear-gradient(90deg, #546e7a 0px, #546e7a 2px, #78909c 2px, #78909c 4px);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.source-label {
  font-size: 10px;
  color: #555;
}

/* IR 箭頭 */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.ir-arrows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.ir-label {
  font-size: 10px;
  font-weight: bold;
  color: #e65100;
  margin-bottom: 2px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.arrow-line {
  display: flex;
  align-items: center;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.arrow-shaft {
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, #ff9800, #ff5722);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.arrow-head {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #ff5722;
}

/* Sample Chamber */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.sample-chamber {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.waveform {
  width: 60px;
  height: 30px;
  position: relative;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.waveform svg {
  width: 100%;
  height: 100%;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.chamber-box {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 3px solid #1976d2;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  color: #1976d2;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.chamber-label {
  font-size: 9px;
  color: #555;
  max-width: 50px;
  line-height: 1.2;
}

/* Detector */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.ndir-detector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.detector-box {
  width: 20px;
  height: 40px;
  background: linear-gradient(135deg, #37474f 0%, #263238 100%);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.detector-line {
  width: 20px;
  height: 2px;
  background: #4fc3f7;
  border-radius: 1px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.detector-label {
  font-size: 10px;
  color: #555;
}

/* ==================== 薄膜電導率圖示 ==================== */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.membrane-diagram {
  display: flex;
  align-items: stretch;
  height: 140px;
  position: relative;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.gas-side {
  width: 80px;
  background: #f5f5f5;
  border: 2px solid #90a4ae;
  border-right: none;
  border-radius: 12px 0 0 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.co2-label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: bold;
  color: #455a64;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.gas-bubbles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  justify-content: center;
  align-content: center;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.gas-bubble {
  width: 12px;
  height: 12px;
  background: #42a5f5;
  border-radius: 50%;
  opacity: 0.8;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 2 個 */
.gas-bubble:nth-child(2),
.gas-bubble:nth-child(5) {
  width: 10px;
  height: 10px;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 3 個 */
.gas-bubble:nth-child(3),
.gas-bubble:nth-child(7) {
  width: 8px;
  height: 8px;
}

/* 薄膜 */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.membrane-layer {
  width: 16px;
  background: #78909c;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.membrane-pore {
  width: 6px;
  height: 6px;
  background: #b0bec5;
  border-radius: 50%;
  margin: 8px 0;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.membrane-arrows {
  position: absolute;
  left: -8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.membrane-arrow {
  font-size: 14px;
  color: #1976d2;
  font-weight: bold;
}

/* 測量溶液側 */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.solution-side {
  width: 80px;
  background: linear-gradient(180deg, #e1f5fe 0%, #81d4fa 50%, #4fc3f7 100%);
  border: 2px solid #0288d1;
  border-left: none;
  border-radius: 0 12px 12px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.electrode {
  width: 8px;
  height: 60px;
  background: linear-gradient(180deg, #ffb300 0%, #ff8f00 100%);
  border-radius: 2px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.membrane-labels {
  position: absolute;
  bottom: -22px;
  left: 0;
  right: 0;
  display: flex;
  font-size: 9px;
  color: #555;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.label-gas {
  width: 80px;
  text-align: center;
  line-height: 1.2;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.label-membrane {
  width: 16px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.label-solution {
  width: 80px;
  text-align: center;
  line-height: 1.2;
}
/* ==================== 直接電導率圖示 ==================== */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.direct-diagram {
  position: relative;
  width: 120px;
  height: 120px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.vessel {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 80px;
  background: linear-gradient(180deg, #e1f5fe 0%, #81d4fa 50%, #4fc3f7 100%);
  border: 3px solid #78909c;
  border-top: none;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜前方裝飾 */
.vessel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.static-bubble {
  position: absolute;
  border-radius: 50%;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.static-bubble.orange {
  background: #ff9800;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.static-bubble.teal {
  background: #26a69a;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.static-bubble.light-blue {
  background: #4dd0e1;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 1 個 */
.static-bubble:nth-child(1) {
  width: 12px;
  height: 12px;
  bottom: 15px;
  left: 20px;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 2 個 */
.static-bubble:nth-child(2) {
  width: 8px;
  height: 8px;
  bottom: 25px;
  left: 45px;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 3 個 */
.static-bubble:nth-child(3) {
  width: 10px;
  height: 10px;
  bottom: 10px;
  right: 20px;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 4 個 */
.static-bubble:nth-child(4) {
  width: 6px;
  height: 6px;
  bottom: 35px;
  left: 30px;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 5 個 */
.static-bubble:nth-child(5) {
  width: 7px;
  height: 7px;
  bottom: 20px;
  right: 35px;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜第 6 個 */
.static-bubble:nth-child(6) {
  width: 5px;
  height: 5px;
  bottom: 40px;
  right: 25px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.probe {
  position: absolute;
  top: 0;
  width: 10px;
  height: 90px;
  display: flex;
  flex-direction: column;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.probe.left {
  left: 35px;
}
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.probe.right {
  right: 35px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.probe-head {
  width: 14px;
  height: 14px;
  background: #546e7a;
  border-radius: 3px;
  margin-left: -2px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.probe-shaft {
  flex: 1;
  width: 8px;
  background: linear-gradient(90deg, #78909c 0%, #90a4ae 50%, #78909c 100%);
  margin: 0 auto;
}

/* 說明區域 */
/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.info {
  text-align: left;
  padding: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 12px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.info-row {
  margin-bottom: 10px;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜最後一個 */
.info-row:last-child {
  margin-bottom: 0;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.info-label {
  font-weight: 600;
  color: #2c5282;
  font-size: 0.9em;
}

/* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊 */
.info-text {
  color: #4a5568;
  font-size: 0.9em;
  line-height: 1.5;
}

/*總有機碳測定干擾的解決方案*/

/* 使用位置：通用元素樣式：所有 <th>｜電極法水質監測儀、線上水質監測儀選型指引、總有機碳TOC分析儀 */
th {
  background: linear-gradient(180deg, #2c5282 0%, #234876 100%);
  color: white;
  padding: 16px 12px;
  font-weight: 500;
  font-size: 1em;
}

/* 使用位置：通用元素樣式：所有 <td>｜電極法水質監測儀、線上水質監測儀選型指引、光學法COD分析儀 等 4 頁 */
td {
  padding: 16px 12px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}

/* 使用位置：通用元素樣式：所有 <td>、<tr>｜電極法水質監測儀、線上水質監測儀選型指引、光學法COD分析儀 等 4 頁｜最後一個 */
tr:last-child td {
  border-bottom: none;
}

/* 使用位置：通用元素樣式：所有 <tr>｜電極法水質監測儀、線上水質監測儀選型指引、光學法COD分析儀 等 4 頁｜滑鼠移入時 */
tr:hover {
  background: #f7fafc;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.problem-cell {
  width: 25%;
}
/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.impact-cell {
  width: 40%;
}
/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.solution-cell {
  width: 35%;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.cell-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.cell-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.cell-text {
  flex: 1;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.problem-name {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 2px;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.problem-english {
  font-size: 0.85em;
  color: #718096;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.impact-text,
.solution-text {
  color: #4a5568;
  line-height: 1.5;
}
/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.solution-text .highlight {
  color: #2c5282;
  font-weight: 500;
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊 */
.toc-other-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊 */
.toc-other-table th {
  background-color: #2c5282;
  color: white;
  padding: 14px 12px;
  text-align: center;
  font-weight: 500;
  border: none;
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊 */
.toc-other-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #4a5568;
  text-align: center;
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊｜滑鼠移入時 */
.toc-other-table tr:hover {
  background-color: #f7fafc;
}

/* ===== 電極法 ===== */
/* 使用位置：電極法水質監測儀｜「水質監測儀-電極法」區塊 */
.el-intro {
  margin: 0 0 1.6rem;
}

/* 使用位置：電極法水質監測儀｜「水質監測儀-電極法」區塊、「電極法測定數值運算」區塊、「離子選擇性電極(ISE)」區塊…等 */
.el-intro strong,
.el-card-body strong {
  color: var(--brand);
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊、「離子選擇性電極(ISE)」區塊、「氨氣敏選擇性電極」區塊…等 */
.el-card {
  margin-bottom: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 40, 80, 0.05);
  overflow: hidden;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊、「離子選擇性電極(ISE)」區塊、「氨氣敏選擇性電極」區塊…等 */
.el-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.4rem;
  background: linear-gradient(90deg, #f3f8fe 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
}

/* 使用位置：電極法水質監測儀｜「水質監測儀-電極法」區塊、「電極法測定數值運算」區塊、「離子選擇性電極(ISE)」區塊…等 */
.el-card-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #3fa2f5, var(--brand));
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊｜第 1 個 */
.el-grid .el-card:nth-child(1) .el-card-icon { background: linear-gradient(135deg, #5fd6df, var(--teal)); }
/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)」區塊｜第 2 個 */
.el-grid .el-card:nth-child(2) .el-card-icon { background: linear-gradient(135deg, #a4d65e, var(--green)); }

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」標題、「離子選擇性電極(ISE)」標題、「氨氣敏選擇性電極」標題…等 */
.el-card-header h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--brand-ink);
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊、「離子選擇性電極(ISE)」區塊、「氨氣敏選擇性電極」區塊…等 */
.el-card-body {
  padding: 1.3rem 1.4rem;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)」區塊、「氨氣敏選擇性電極」區塊、「氨離子線上水質監測儀」區塊 */
.el-card-body p {
  margin: 0;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊 */
.el-formula {
  display: flex;
  justify-content: center;
  padding: 1rem;
  border-radius: 10px;
  background: #f7fafd;
  border: 1px dashed #cfdced;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊 */
.el-formula img {
  width: 289px;
  max-width: 100%;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊 */
.el-vars {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊 */
.el-vars li {
  padding: 0.5rem 0.8rem;
  border: 1px solid #dbe8f6;
  border-radius: 10px;
  background: #f3f8fe;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊 */
.el-vars strong {
  font-family: "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊、「氨離子線上水質監測儀」區塊 */
.el-figure {
  margin: 1.2rem 0 0;
  text-align: center;
}

/* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊、「氨離子線上水質監測儀」區塊 */
.el-figure img {
  display: inline-block;
  max-width: 100%;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-sizing: border-box;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)」區塊 */
.el-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.6rem;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)」區塊、「氨氣敏選擇性電極」區塊 */
.el-grid .el-card {
  margin-bottom: 0;
}

/* 使用位置：電極法水質監測儀｜「氨離子線上水質監測儀」區塊 */
.el-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.6rem;
  align-items: center;
}

/* 使用位置：電極法水質監測儀｜「氨離子線上水質監測儀」區塊 */
.el-split .el-figure {
  margin: 0;
}

/* ISE 規格表 */
/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊 */
.ion-table-container {
  overflow-x: auto;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊 */
.ion-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊 */
.ion-table th {
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(90deg, #0b4f9c, var(--brand));
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊 */
.ion-table td {
  padding: 0.6rem 1rem;
  border-bottom: 0;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊｜第 even 個 */
.ion-table tbody tr:nth-child(even) {
  background: #f7fafd;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊｜滑鼠移入時 */
.ion-table tbody tr:hover {
  background: #eef5fd;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊｜第一個 */
.ion-table td:first-child {
  font-weight: 700;
  color: var(--brand-ink);
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊｜第 2 個 */
.ion-table td:nth-child(2) {
  color: #475569;
}

/* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)規格概要」區塊｜第 4 個 */
.ion-table td:nth-child(4),
.ion-table td:nth-child(5) {
  white-space: nowrap;
}

/* ===== TOC 頁：圖片與表格（含手機版） ===== */
/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊、「總有機碳測定干擾的解決方案」區塊、「TOC分析儀_UV氧化/直接電導度法」區塊…等 */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊、「總有機碳測定干擾的解決方案」區塊、「TOC分析儀_UV氧化/直接電導度法」區塊…等 */
.table-scroll > table {
  margin: 0;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳(TOC)分析儀-選型指引」區塊 */
.toc-guide-table {
  min-width: 720px;
}

/* 使用位置：總有機碳TOC分析儀｜「總有機碳測定干擾的解決方案」區塊 */
.solve {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}


/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊｜第一個 */
.toc-other-table th:first-child,
.toc-other-table td:first-child {
  white-space: nowrap;
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊 */
.toc-figures {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊 */
.toc-figures figure,
.toc-figure {
  margin: 1rem 0;
  text-align: center;
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊 */
.toc-figures img,
.toc-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 340px;
  margin: 0 auto;
}

/* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊 */
.toc-figures figcaption,
.toc-figure figcaption {
  margin-top: 10px;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--brand-ink);
}

@media (max-width: 768px) {
  /* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .oxid-container {
    flex-wrap: wrap;
    gap: 16px;
  }

  /* 使用位置：總有機碳TOC分析儀｜「水中總有機碳氧化方法」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .oxid-container .card {
    width: 100%;
    max-width: 320px;
    box-sizing: border-box;
  }

  /* 使用位置：總有機碳TOC分析儀｜「水中總有機碳偵測方法」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .monitor-container .card {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .toc-figures {
    gap: 0.5rem 1.2rem;
  }

  /* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .toc-figures figure {
    flex: 1 1 40%;
    margin: 0.5rem 0;
  }

  /* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .toc-figures img,
  .toc-figure img {
    max-height: 220px;
  }

  /* 使用位置：總有機碳TOC分析儀｜「TOC分析儀_UV氧化/直接電導度法」區塊、「TOC分析儀_過硫酸鹽氧化&高溫燃燒/NDIR法」區塊、「TOC分析儀_過硫酸鹽+UV氧化/薄膜電導度法」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .toc-figures figcaption,
  .toc-figure figcaption {
    font-size: 1.15rem;
  }
}

/* ===== 響應式（版面與電極法） ===== */
@media (max-width: 1024px) {
  /* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等｜螢幕寬度 ≤1024px（平板/手機）時 */
  .online-analyzer-body .tabs-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊｜螢幕寬度 ≤1024px（平板/手機）時 */
  .el-vars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  /* 使用位置：所有載入本檔的頁面（6 頁）｜主要內容區、「水質監測儀器與分析系統」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .online-analyzer-container {
    width: calc(100% - 1.2rem);
    padding: 1.4rem 1.1rem;
  }

  /* 使用位置：所有載入本檔的頁面（6 頁）｜頁面大標題 (H1)、「水質監測儀器與分析系統」標題｜螢幕寬度 ≤768px（平板/手機）時 */
  .tabs-container > h1,
  .tabs-container > h2 {
    font-size: 1.35rem;
  }

  /* 使用位置：所有載入本檔的頁面（6 頁）｜「電極法水質監測儀 - 離子選擇性電極分析系統」區塊、「線上水質監測儀 - 選型指引與規格比較」區塊、「光學法水質分析儀 - UV光學水質監測系統」區塊…等｜螢幕寬度 ≤768px（平板/手機）時 */
  .online-analyzer-body .tab-btn {
    padding: 0.55rem 0.3rem;
    font-size: 0.85rem;
  }

  /* 使用位置：所有載入本檔的頁面（6 頁）｜「水質監測儀-電極法」區塊、「線上水質監測儀-選型指引」區塊、「化學需氧量(COD)分析儀-抽取式」區塊…等｜螢幕寬度 ≤768px（平板/手機）時 */
  .online-analyzer-body .tab-content {
    padding: 1.6rem 0 0;
    margin-top: 0;
  }

  /* 使用位置：電極法水質監測儀｜「離子選擇性電極(ISE)」區塊、「氨離子線上水質監測儀」區塊｜螢幕寬度 ≤768px（平板/手機）時 */
  .el-grid,
  .el-split {
    grid-template-columns: 1fr;
  }

  /* 使用位置：電極法水質監測儀｜「電極法測定數值運算」區塊、「離子選擇性電極(ISE)」區塊、「氨氣敏選擇性電極」區塊…等｜螢幕寬度 ≤768px（平板/手機）時 */
  .el-card-body {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  /* 使用位置：所有載入本檔的頁面（6 頁）｜麵包屑導覽｜螢幕寬度 ≤480px（手機）時 */
  .online-analyzer-body .breadcrumb {
    margin-top: 70px;
  }
}
