/* AI研究（/airesearch）— editorial 財經編輯室 style */
.sl886-airesearch{
  --air-ink:#10244f;
  --air-sub:#38507a;
  --air-green:#087a62;
  --air-red:#b42335;
  --air-paper:#f5f8fd;
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  color:var(--air-ink);
}

.sl886-airesearch .sl886-home-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:28px clamp(20px,4vw,42px);
  background:
    linear-gradient(112deg,rgba(255,255,255,.97) 0%,rgba(244,249,255,.94) 52%,rgba(232,242,255,.9) 100%),
    repeating-linear-gradient(90deg,transparent 0 37px,rgba(31,78,154,.045) 38px);
}
.sl886-airesearch .sl886-home-hero::after{
  content:"研究";
  position:absolute;
  right:8px;
  bottom:-42px;
  z-index:-1;
  color:rgba(31,78,154,.05);
  font:900 clamp(96px,16vw,180px)/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.08em;
  pointer-events:none;
}
.sl886-airesearch .sl886-home-hero__eyebrow{
  color:var(--sl886-blue,#1f4e9a);
  letter-spacing:.12em;
}
.sl886-airesearch .sl886-home-hero__title{
  max-width:820px;
  margin-top:8px;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:clamp(28px,4.2vw,50px);
  line-height:1.14;
  letter-spacing:-.03em;
  color:var(--air-ink);
}
.sl886-airesearch .sl886-home-hero__desc{
  max-width:760px;
  color:var(--air-sub);
  font-size:clamp(15px,1.7vw,17px);
  line-height:1.75;
}

.airesearch-hero__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-top:16px;
  color:#506889;
  font-size:13px;
}
.airesearch-hero__meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

/* 預覽提示（未對外公開期間顯示） */
.airesearch-preview{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:16px 0;
  padding:14px 18px;
  color:#7a3d00;
  background:linear-gradient(120deg,rgba(255,251,235,.98),rgba(255,247,237,.96));
  border:1px solid #f0d9a8;
  border-radius:14px;
  font-size:14px;
  line-height:1.7;
}
.airesearch-preview strong{color:#8a4a00;}

/* KPI */
.airesearch-kpi{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:14px;
  margin:18px 0;
}
.airesearch-kpi__card{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:18px 20px;
  background:linear-gradient(150deg,#fff 0%,var(--air-paper) 100%);
  border:1px solid #dbe6f7;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(17,52,110,.05);
}
.airesearch-kpi__label{
  color:#5b7499;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.airesearch-kpi__value{
  font-family:"Noto Serif TC","Songti TC",serif;
  font-size:clamp(22px,3vw,30px);
  line-height:1.1;
  color:var(--air-ink);
}
.airesearch-kpi__value.is-up{color:var(--air-green);}
.airesearch-kpi__value.is-down{color:var(--air-red);}
.airesearch-kpi__note{color:#6c82a3;font-size:12.5px;}

/* Tabs */
.airesearch-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:22px 0 14px;
}
.airesearch-tab{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 16px;
  color:#33507d;
  background:#fff;
  border:1px solid #d7e3f8;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.airesearch-tab:hover{
  color:#1f4e9a;
  transform:translateY(-1px);
  box-shadow:0 8px 18px rgba(31,78,154,.12);
}
.airesearch-tab.is-active{
  color:#fff;
  background:linear-gradient(135deg,#2b5fae,#1f4e9a);
  border-color:#1f4e9a;
  box-shadow:0 8px 18px rgba(31,78,154,.25);
}

/* Panels */
.airesearch-panel{
  margin:16px 0;
  padding:22px clamp(16px,3vw,26px);
  background:#fff;
  border:1px solid #dbe6f7;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(17,52,110,.05);
}
.airesearch-panel__head{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:baseline;
  justify-content:space-between;
  margin-bottom:14px;
}
.airesearch-panel__kicker{
  display:block;
  color:#7b90b3;
  font-size:11.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.airesearch-panel__title{
  margin:4px 0 0;
  font-family:"Noto Serif TC","Songti TC",serif;
  font-size:clamp(19px,2.4vw,25px);
  color:var(--air-ink);
}
.airesearch-panel__hint{color:#6c82a3;font-size:13px;line-height:1.7;}
.airesearch-conclusion__headline{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-start;margin:0 0 18px;font-size:14px;line-height:1.85;color:#2b3a55;}
.airesearch-conclusion__headline .airesearch-verdict{flex:0 0 auto;}

/* Horizon chips */
.airesearch-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 4px;
}
.airesearch-chip{
  padding:6px 13px;
  color:#3c587f;
  background:var(--air-paper);
  border:1px solid #dbe6f7;
  border-radius:999px;
  font-size:13px;
  text-decoration:none;
}
.airesearch-chip.is-active{
  color:#fff;
  background:#1f4e9a;
  border-color:#1f4e9a;
}
.airesearch-chip.is-before.is-active{background:#7a5b1e;border-color:#7a5b1e;}

/* Table */
.airesearch-table-wrap{overflow-x:auto;margin-top:10px;}
table.airesearch-table{
  width:100%;
  border-collapse:collapse;
  font-size:13.5px;
}
table.airesearch-table th,
table.airesearch-table td{
  padding:9px 11px;
  border-bottom:1px solid #eaf0fa;
  text-align:right;
  white-space:nowrap;
}
table.airesearch-table th{
  color:#5b7499;
  background:#f7fafe;
  font-weight:700;
  font-size:12.5px;
  letter-spacing:.03em;
}
table.airesearch-table th:first-child,
table.airesearch-table td:first-child{
  text-align:left;
  white-space:normal;
  min-width:170px;
}
table.airesearch-table tbody tr:hover{background:#f9fbff;}
table.airesearch-table .is-up{color:var(--air-green);font-weight:700;}
table.airesearch-table .is-down{color:var(--air-red);font-weight:700;}
table.airesearch-table .is-muted{color:#93a4bd;}

.airesearch-badge{
  display:inline-block;
  padding:2px 8px;
  color:#8a4a00;
  background:#fff4e0;
  border:1px solid #f0d9a8;
  border-radius:999px;
  font-size:11.5px;
  font-weight:700;
}
.airesearch-badge--ok{
  color:#0d6a56;
  background:#e8f7f2;
  border-color:#bfe6da;
}

/* Chart */
.airesearch-chart-box{
  position:relative;
  height:320px;
  margin-top:12px;
}

/* Notes / method */
.airesearch-notes{
  margin:14px 0 0;
  padding:14px 18px;
  color:#4a5f80;
  background:var(--air-paper);
  border-left:3px solid #b9cdea;
  border-radius:0 12px 12px 0;
  font-size:13px;
  line-height:1.85;
}
.airesearch-notes ul{margin:0;padding-left:20px;}
.airesearch-notes li{margin:4px 0;}

.airesearch-empty{
  padding:26px 20px;
  color:#6c82a3;
  background:var(--air-paper);
  border:1px dashed #c6d6ee;
  border-radius:14px;
  font-size:14px;
  line-height:1.8;
  text-align:center;
}

/* FAQ */
.airesearch-faq__item{
  padding:12px 0;
  border-bottom:1px solid #eaf0fa;
}
.airesearch-faq__item:last-child{border-bottom:0;}
.airesearch-faq__item summary{
  cursor:pointer;
  color:#1f4e9a;
  font-size:15px;
  font-weight:700;
}
.airesearch-faq__item p{
  margin:8px 0 0;
  color:#4a5f80;
  font-size:13.5px;
  line-height:1.85;
}

/* 免責 */
.airesearch-disclaimer{
  margin:18px 0;
  padding:16px 20px;
  color:#5a6b85;
  background:#fbfcfe;
  border:1px solid #e3ebf8;
  border-radius:14px;
  font-size:12.5px;
  line-height:1.85;
}

@media (max-width:640px){
  .airesearch-kpi{grid-template-columns:1fr 1fr;}
  .airesearch-chart-box{height:260px;}
}
