/* merged.css — 合併簡報專用：兩段之間的共用介面與說明會新增的頁面。
 * 全聯會段落的樣式在 css/*.css（限縮到 section.aj），事務所 EIP 段落在 ek/deck.css（限縮到 section.ek）。 */

/* 事務所 EIP 投影片的頁尾已有頁碼，隱藏 reveal 的頁碼（reveal 以行內樣式顯示，需 !important） */
html.is-ek .reveal .slide-number { display: none !important; }
.reveal .slide-number a { color: inherit; text-decoration: none; }

/* ---------- 封面：插圖在左、文字在右（使用者 2026-10-08 指示） ---------- */
:where(section.aj).cover .cover-art { order: -1; }
:where(section.aj).cover .cover-text { padding: 0 110px 40px 40px; }

/* ---------- 手機 LINE 標題列：單行顯示；寬 400px 的手機（第 22 頁）字縮小，事務所名稱才放得下 ---------- */
:where(section.aj) .line-hdr { white-space: nowrap; overflow: hidden; }
:where(section.aj) .eip-phone { right: 20px; } /* 原本 right: -30px，手機右側超出畫面 */
:where(section.aj) .eip-phone .line-hdr { gap: 10px; padding: 34px 16px 0; font-size: 22px; }
:where(section.aj) .eip-phone .line-hdr .n { font-size: 18px; }

/* ---------- LINE管理精靈頁（第 23 頁）：標題旁的加值服務標籤 ---------- */
:where(section.aj) .hdr h2 .addon-badge {
  display: inline-block; margin-left: 24px; padding: 6px 22px; border-radius: 999px; vertical-align: 10px;
  font-size: 30px; font-weight: 700; letter-spacing: .06em; color: #B35C12; background: #FDF1E6; box-shadow: inset 0 0 0 2px #F2A65A;
}

/* ---------- 第一張表單的示意畫面：不用表單工具的品牌色 ---------- */
:where(section.aj) .ragic .rg-logo { color: var(--accent-deep); }

/* ---------- 封面：說明會標籤 ---------- */
:where(section.aj).cover .event-tag {
  display: inline-flex; align-items: center; gap: 18px; margin-bottom: 40px;
  padding: 10px 28px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-deep);
  font-size: 30px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
:where(section.aj).cover .event-tag span { font-weight: 400; color: var(--ink-2); letter-spacing: .02em; }

/* ---------- 立即選購（沿用聯繫方式頁的樹變形） ---------- */
:where(section.aj).contact .tree-caption span { font-size: 26px; }

/* ---------- 加值服務 ---------- */
:where(section.ek) .pr-addons { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 28px; }
:where(section.ek) .pr-addon { display: flex; flex-direction: column; gap: 10px; padding: 26px 30px; }
:where(section.ek) .pr-addon__head { display: flex; align-items: center; gap: 16px; }
:where(section.ek) .pr-addon__ic {
  display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px;
  font-size: 30px; color: var(--navy); background: var(--blue-soft);
}
:where(section.ek) .pr-addon h3 { font-size: 32px; }
/* 價格貼齊卡片底部（.reveal p 的 margin: 0 權重較高，需加上 .pr-addon） */
:where(section.ek) .pr-addon .pr-addon__fee { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
:where(section.ek) .pr-addon__fee b { font-family: var(--font-display); font-size: 44px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
:where(section.ek) .pr-addon__fee small { font-family: var(--font-body); font-size: 22px; font-weight: 600; color: var(--muted); }
:where(section.ek) .pr-addon__fee > small:first-child { flex-basis: 100%; }
:where(section.ek) .pr-addon__note { font-size: 22px; line-height: 1.4; color: var(--muted); }
:where(section.ek) .pr-addon--custom { box-shadow: 0 24px 48px rgba(28, 61, 110, .25); }
:where(section.ek) .pr-addon--custom .pr-addon__ic { color: var(--navy); background: var(--orange-light); }
:where(section.ek) .pr-addon--custom .pr-addon__fee b { color: #F7F9FC; }
:where(section.ek) .pr-addon--custom .pr-addon__fee small,
:where(section.ek) .pr-addon--custom .pr-addon__note { color: var(--on-navy-muted); }

/* ---------- 今日議程（js/scenes/s0c-agenda.js）：兩段 ---------- */
:where(section.aj).agenda-main .ag-parts { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
:where(section.aj).agenda-main .ag-part { display: flex; flex-direction: column; gap: 14px; padding: 40px 44px; border-radius: 26px; color: inherit; text-decoration: none; background: var(--bg-2); border: 2px solid var(--line); cursor: pointer; transition: border-color .2s, transform .2s; }
:where(section.aj).agenda-main .ag-part:focus-visible { outline: 4px solid var(--accent); outline-offset: 4px; }
:where(section.aj).agenda-main .ag-part:hover { border-color: var(--accent); transform: translateY(-4px); }
:where(section.aj).agenda-main.present .ag-part { animation: rise .7s ease backwards; animation-delay: calc(.25s + var(--i) * .25s); } /* backwards：播完不留 transform，:hover 上浮才有效 */
:where(section.aj).agenda-main .ag-no { align-self: flex-start; padding: 6px 22px; border-radius: 999px; font-size: 30px; font-weight: 700; letter-spacing: .12em; color: #FFFFFF; background: var(--accent); }
:where(section.aj).agenda-main .ag-title { font-size: 46px; line-height: 1.25; color: var(--ink); }
:where(section.aj).agenda-main .ag-desc { font-size: 30px; line-height: 1.45; color: var(--muted); }
:where(section.aj).agenda-main .ag-items { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: ag; }
:where(section.aj).agenda-main .ag-items li { counter-increment: ag; display: flex; align-items: center; gap: 16px; font-size: 32px; font-weight: 700; color: var(--accent-deep); }
:where(section.aj).agenda-main .ag-items li::before { content: counter(ag); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; color: var(--accent-deep); background: var(--accent-soft); }
