/* 有間 EIP 簡報：沿用 EIP 的深藍主色、淺色背景與 Fraunces／Instrument Sans 字型 */
.reveal .slides section:where(.ek), .deck-nav, .toc {
  --navy: #1C3D6E;
  --navy-2: #264B80;
  --blue: #2B8BD6;
  --blue-text: #1F6FB2;
  --blue-soft: #DCE6F3;
  --blue-pale: #9FC3E7;
  --bg: #F3F5F9;
  --bg-2: #E8EEF6;
  --surface: #FFFFFF;
  --surface-2: #F7F9FC;
  --line: #D5DEEA;
  --ink: #1B2434;
  --muted: #4A5872;
  --on-navy: #F3F5F9;
  --on-navy-muted: #BFD0E6;
  --orange: #E07B24;
  --orange-light: #F2A65A;
  --orange-text: #B35C12;
  --orange-soft: #FDF1E6;
  --success: #2E7D5B;
  --success-soft: #DDEEE5;
  --error: #B3261E;
  --error-soft: #FBE9E7;
  --warning-text: #8A5608;
  --warning-soft: #F8EBD6;
  --grey-soft: #E3E8EF;
  --font-display: 'Fraunces', 'Noto Serif TC', 'PingFang TC', serif;
  --font-body: 'Instrument Sans', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}
.reveal .slides section:where(.ek) { font-family: var(--font-body); color: var(--ink); }
.reveal .slides { text-align: left; }
.reveal .slides > section:where(.ek) { height: 1080px; padding: 0; }
.reveal :where(section.ek) h1, .reveal :where(section.ek) h2, .reveal :where(section.ek) h3, .reveal :where(section.ek) p, .reveal :where(section.ek) ul, .reveal :where(section.ek) ol, .reveal :where(section.ek) table { margin: 0; }
.reveal :where(section.ek) a { color: inherit; text-decoration: none; }

/* ---------- 版型 ---------- */
:where(section.ek) .slide {
  position: relative; isolation: isolate; box-sizing: border-box;
  width: 1920px; height: 1080px; padding: 128px 128px 160px;
  display: flex; flex-direction: column; gap: 48px;
  background: var(--bg); overflow: hidden;
}
:where(section.ek) .slide--alt { background: var(--bg-2); }
:where(section.ek) .slide--navy { background: var(--navy); color: var(--on-navy); }
:where(section.ek) .slide > .gl { position: absolute; inset: 0; width: 1920px; height: 1080px; z-index: -1; pointer-events: none; }
:where(section.ek) .head { display: flex; flex-direction: column; gap: 12px; }
:where(section.ek) .eyebrow { font-size: 24px; font-weight: 700; letter-spacing: 2px; color: var(--blue-text); }
:where(section.ek) .slide--navy .eyebrow { color: var(--orange-light); }
:where(section.ek) .title { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1.15; color: var(--navy); }
:where(section.ek) .slide--navy .title { color: #F7F9FC; }
:where(section.ek) .lead { font-size: 30px; line-height: 1.5; color: var(--muted); }
:where(section.ek) .slide--navy .lead { color: var(--on-navy-muted); }
:where(section.ek) .caption { font-size: 30px; line-height: 1.4; color: var(--muted); text-align: center; }
:where(section.ek) .caption b { color: var(--navy); }
:where(section.ek) .row { display: flex; gap: 48px; }
:where(section.ek) .grow { flex: 1; min-width: 0; }
:where(section.ek) .footer {
  position: absolute; left: 128px; right: 128px; bottom: 64px;
  display: flex; justify-content: space-between; font-size: 24px; color: var(--muted);
}
:where(section.ek) .slide--navy .footer { color: var(--on-navy-muted); }
:where(section.ek) .footer .page { font-variant-numeric: tabular-nums; }
:where(section.ek) .demo-tag { position: absolute; right: 128px; top: 136px; }

:where(section.ek) h3 { font-size: 40px; font-weight: 700; line-height: 1.2; color: var(--navy); }
:where(section.ek) .slide--navy h3 { color: #F7F9FC; }
:where(section.ek) .text { font-size: 30px; line-height: 1.45; color: var(--muted); }
:where(section.ek) .label { font-size: 24px; font-weight: 600; color: var(--muted); }
:where(section.ek) .num { font-variant-numeric: tabular-nums; }

:where(section.ek) .card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
:where(section.ek) .card--navy { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
:where(section.ek) .card--navy h3 { color: #F7F9FC; }
:where(section.ek) .card--navy .text { color: var(--on-navy-muted); }

:where(section.ek) .pill {
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
  font-size: 24px; font-weight: 600; line-height: 1.4; padding: 6px 18px; border-radius: 999px;
  background: var(--blue-soft); color: var(--navy); white-space: nowrap;
}
:where(section.ek) .pill--demo { background: var(--orange-soft); color: var(--orange-text); }
:where(section.ek) .pill--ok { background: var(--success-soft); color: #22613F; }
:where(section.ek) .pill--grey { background: var(--grey-soft); color: var(--muted); }
:where(section.ek) .pill--warn { background: #F6DEDC; color: #9A2019; }
:where(section.ek) .pill--navy { background: var(--navy); color: var(--on-navy); }
:where(section.ek) .chips { display: flex; flex-wrap: wrap; gap: 12px; }
:where(section.ek) .chip {
  font-size: 30px; line-height: 1.3; padding: 10px 22px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); white-space: nowrap;
}
:where(section.ek) .chip--on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); font-weight: 600; }

.js-anim :where(section.ek) [data-anim] { opacity: 0; }
.js-anim .reveal.overview :where(section.ek) [data-anim], .print-pdf :where(section.ek) [data-anim] { opacity: 1 !important; transform: none !important; }

/* 透明背景插圖 */
:where(section.ek) .hero-img { position: relative; flex: none; align-self: center; }
:where(section.ek) .hero-img::before {
  content: ''; position: absolute; inset: 6% 8%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(43, 139, 214, .16), rgba(43, 139, 214, 0));
}
:where(section.ek) .hero-img--dark::before { background: radial-gradient(closest-side, rgba(242, 166, 90, .22), rgba(242, 166, 90, 0)); }
:where(section.ek) .hero-img img { display: block; width: 600px; height: 400px; object-fit: contain; }

/* ---------- 動畫舞台共用元件 ---------- */
:where(section.ek) .stage { position: relative; width: 1664px; flex: none; }
:where(section.ek) .stage > svg.lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
:where(section.ek) .nd {
  position: absolute; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 16px 28px; background: var(--surface); border: 2px solid var(--line); border-radius: 18px;
}
:where(section.ek) .nd b { font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1.3; }
:where(section.ek) .nd span { font-size: 24px; color: var(--muted); line-height: 1.4; }
:where(section.ek) .nd strong { font-family: var(--font-display); font-size: 48px; font-weight: 700; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
:where(section.ek) .nd--c { align-items: center; text-align: center; }
:where(section.ek) .nd strong span, :where(section.ek) .nd b span { font: inherit; color: inherit; line-height: inherit; }
:where(section.ek) .nd--row { flex-direction: row; align-items: center; justify-content: space-between; }
:where(section.ek) .nd--navy { background: var(--navy); border-color: var(--navy); }
:where(section.ek) .nd--navy b, :where(section.ek) .nd--navy strong { color: #F7F9FC; }
:where(section.ek) .nd--navy span { color: var(--on-navy-muted); }
:where(section.ek) .nd--orange { background: var(--orange-soft); border-color: var(--orange); }
:where(section.ek) .nd--orange b, :where(section.ek) .nd--orange strong { color: var(--orange-text); }
:where(section.ek) .nd--ok { border-color: var(--success); }
:where(section.ek) .nd--ok b { color: var(--success); }
:where(section.ek) .nd--back b { color: #9A2019; }
:where(section.ek) .tok { opacity: 0; position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 8px rgba(224, 123, 36, .22); pointer-events: none; }
:where(section.ek) .tok--blue { background: var(--blue); box-shadow: 0 0 0 8px rgba(43, 139, 214, .22); }
:where(section.ek) .fly { opacity: 0; position: absolute; left: 0; top: 0; pointer-events: none; font-size: 30px; font-weight: 700; padding: 8px 20px; border-radius: 999px; background: var(--orange); color: #FFFFFF; white-space: nowrap; box-shadow: 0 10px 24px rgba(224, 123, 36, .35); }
:where(section.ek) .edge { position: absolute; font-size: 24px; font-weight: 700; color: var(--muted); line-height: 1.4; white-space: nowrap; }
:where(section.ek) .spin { display: block; }
:where(section.ek) .flash { box-shadow: 0 0 0 6px rgba(224, 123, 36, .35); }

/* ---------- 封面 ---------- */
:where(section.ek) .cover { flex-direction: row; align-items: center; padding: 128px; }
:where(section.ek) .cover__text { width: 720px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
:where(section.ek) .cover__title { font-family: var(--font-display); font-size: 120px; font-weight: 700; line-height: 1.1; color: var(--navy); }
:where(section.ek) .cover__bar { width: 96px; height: 8px; border-radius: 4px; background: var(--orange); }
:where(section.ek) .cover__lead { font-size: 40px; font-weight: 500; line-height: 1.35; color: var(--ink); }
:where(section.ek) .cover__img { position: absolute; left: 880px; top: 236px; width: 912px; height: 608px; object-fit: contain; }

/* ---------- 大綱 ---------- */
:where(section.ek) .agenda { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 32px; }
:where(section.ek) .agenda__card { display: flex; flex-direction: column; justify-content: space-between; padding: 40px; transition: transform .2s, box-shadow .2s; }
:where(section.ek) .agenda__card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(28, 61, 110, .12); }
:where(section.ek) .agenda__no { font-family: var(--font-display); font-size: 72px; font-weight: 700; line-height: 1; color: var(--orange-text); }
:where(section.ek) .card--navy .agenda__no { color: var(--orange-light); }
:where(section.ek) .agenda__card h3 { font-size: 48px; }

/* ---------- 任務完成率 ---------- */
:where(section.ek) .task-tile { width: 300px; height: 200px; top: 0; align-items: center; text-align: center; gap: 20px; }
:where(section.ek) .task-tile.is-na { opacity: .4; }
:where(section.ek) .task-tile .pill { align-self: center; font-size: 30px; padding: 8px 22px; }
:where(section.ek) .meter { position: absolute; left: 0; width: 1664px; height: 56px; border-radius: 28px; background: var(--grey-soft); overflow: hidden; }
:where(section.ek) .meter__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--success); border-radius: 28px; }
:where(section.ek) .meter__tick { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--bg); }
:where(section.ek) .big-num { position: absolute; font-family: var(--font-display); font-size: 96px; font-weight: 700; line-height: 1; color: var(--success); font-variant-numeric: tabular-nums; }
:where(section.ek) .stamp { position: absolute; font-size: 24px; font-weight: 700; color: #FFFFFF; background: var(--muted); padding: 4px 14px; border-radius: 8px; transform: rotate(-8deg); }

/* ---------- 工時回報表單 ---------- */
:where(section.ek) .form { position: absolute; left: 0; top: 0; width: 860px; box-sizing: border-box; display: flex; flex-direction: column; gap: 22px; padding: 36px 40px; }
:where(section.ek) .field { display: flex; flex-direction: column; gap: 8px; }
:where(section.ek) .field__box { height: 64px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; border: 2px solid var(--line); border-radius: 12px; font-size: 30px; color: var(--ink); background: var(--surface); }
:where(section.ek) .field__box em { font-style: normal; font-size: 24px; font-weight: 700; color: var(--orange-text); background: var(--orange-soft); padding: 2px 12px; border-radius: 8px; }
:where(section.ek) .field-row { display: flex; gap: 20px; }
:where(section.ek) .field-row .field { flex: 1; }
:where(section.ek) .caret { display: inline-block; width: 3px; height: 34px; margin-left: 2px; background: var(--blue); vertical-align: middle; }

/* ---------- 月曆格 ---------- */
:where(section.ek) .day { position: absolute; box-sizing: border-box; width: 128px; height: 90px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--navy); }
:where(section.ek) .day b { font-size: 30px; line-height: 1.1; }
:where(section.ek) .day span { font-size: 24px; line-height: 1.2; }
:where(section.ek) .day--off { background: var(--grey-soft); color: var(--muted); }
:where(section.ek) .day--field { background: var(--orange); color: #FFFFFF; }
:where(section.ek) .row-label { position: absolute; left: 0; width: 200px; height: 90px; display: flex; align-items: center; font-size: 30px; font-weight: 700; color: var(--ink); }
:where(section.ek) .legend { display: flex; justify-content: center; gap: 40px; font-size: 30px; color: var(--muted); }
:where(section.ek) .legend span { display: inline-flex; align-items: center; gap: 12px; }
:where(section.ek) .legend i { width: 28px; height: 28px; border-radius: 8px; display: inline-block; }

/* ---------- 請假拆日 ---------- */
:where(section.ek) .month-box { position: absolute; box-sizing: border-box; border: 3px dashed var(--line); border-radius: 24px; }
:where(section.ek) .month-box__label { position: absolute; left: 28px; bottom: 20px; right: 28px; display: flex; justify-content: space-between; align-items: baseline; font-size: 30px; font-weight: 700; color: var(--navy); }
:where(section.ek) .month-box__label strong { font-family: var(--font-display); font-size: 48px; color: var(--orange-text); }
:where(section.ek) .leave-day { position: absolute; box-sizing: border-box; width: 300px; height: 110px; border-radius: 16px; background: var(--orange); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; }
:where(section.ek) .leave-day b { font-size: 30px; }
:where(section.ek) .leave-day span { font-size: 24px; opacity: .9; }

/* ---------- 加班時間軸 ---------- */
:where(section.ek) .bar-seg { position: absolute; height: 96px; display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; color: #FFFFFF; white-space: nowrap; overflow: hidden; }
:where(section.ek) .bar-seg--std { left: 0; background: var(--blue); border-radius: 18px 0 0 18px; }
:where(section.ek) .bar-seg--ot { background: var(--orange); border-radius: 0 18px 18px 0; }
:where(section.ek) .tick-label { position: absolute; font-size: 24px; color: var(--muted); transform: translateX(-50%); white-space: nowrap; }
:where(section.ek) .brace { position: absolute; height: 20px; border: 3px solid var(--muted); border-bottom: none; border-radius: 10px 10px 0 0; box-sizing: border-box; }

/* ---------- 儀表板縮圖 ---------- */
:where(section.ek) .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; flex: 1; }
:where(section.ek) .mini { display: flex; flex-direction: column; gap: 24px; padding: 36px; }
:where(section.ek) .mini__viz { flex: 1; position: relative; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line); padding: 24px; box-sizing: border-box; display: flex; }
:where(section.ek) .mini-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; }
:where(section.ek) .mini-bars i { flex: 1; background: var(--blue); border-radius: 6px 6px 0 0; transform-origin: bottom; }
:where(section.ek) .mini-bars i:nth-child(4n) { background: var(--orange); }
:where(section.ek) .mini-progress { flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
:where(section.ek) .mini-progress div { height: 28px; border-radius: 14px; background: var(--grey-soft); overflow: hidden; }
:where(section.ek) .mini-progress i { display: block; height: 100%; border-radius: 14px; background: var(--success); transform-origin: left; }
:where(section.ek) .mini-progress div:nth-child(2) i { background: var(--orange); }
:where(section.ek) .mini-people { flex: 1; display: flex; flex-direction: column; justify-content: space-around; position: relative; }
:where(section.ek) .mini-people div { display: flex; align-items: center; gap: 14px; }
:where(section.ek) .mini-people b { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--blue-soft); }
:where(section.ek) .mini-people span { flex: 1; height: 20px; border-radius: 10px; background: var(--grey-soft); overflow: hidden; }
:where(section.ek) .mini-people i { display: block; height: 100%; background: var(--blue); transform-origin: left; }
:where(section.ek) .mini .chips .chip { font-size: 24px; padding: 6px 16px; background: var(--bg); border-color: transparent; }

/* ---------- 權數 ---------- */
:where(section.ek) .weights { display: flex; flex-direction: column; gap: 24px; }
:where(section.ek) .weight { display: flex; gap: 32px; align-items: center; padding: 32px 40px; border-radius: 20px; background: var(--navy-2); }
:where(section.ek) .weight__icon { width: 96px; height: 96px; flex: none; border-radius: 24px; background: rgba(242, 166, 90, .16); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--orange-light); }
:where(section.ek) .weight__name { display: flex; flex-direction: column; gap: 4px; }
:where(section.ek) .weight__tag { font-size: 24px; font-weight: 600; color: var(--on-navy-muted); }
:where(section.ek) .weight h3 { font-size: 44px; }

/* ---------- 加權工時（Matter.js） ---------- */
:where(section.ek) .physics { position: relative; width: 1000px; flex: none; box-sizing: border-box; padding: 24px; }
:where(section.ek) .physics canvas { display: block; width: 952px; height: 560px; }
:where(section.ek) .physics .pill { position: absolute; right: 24px; top: 24px; }
:where(section.ek) .person { display: flex; align-items: center; gap: 20px; padding: 18px 28px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
:where(section.ek) .person .swatch { flex: none; border-radius: 8px; display: block; }
:where(section.ek) .person .grow { display: flex; flex-direction: column; gap: 2px; }
:where(section.ek) .person b { font-size: 30px; color: var(--ink); }
:where(section.ek) .person span { font-size: 24px; color: var(--muted); }
:where(section.ek) .person strong { font-family: var(--font-display); font-size: 48px; color: var(--navy); }
:where(section.ek) .person--total { background: var(--orange-soft); border-color: transparent; }
:where(section.ek) .person--total strong { color: var(--orange-text); font-size: 64px; }
:where(section.ek) .person--total b { color: var(--orange-text); }

/* ---------- 算式 ---------- */
:where(section.ek) .eq { position: absolute; left: 0; width: 1664px; height: 116px; }
:where(section.ek) .eq .nd { top: 0; height: 116px; }
:where(section.ek) .op { position: absolute; top: 0; height: 116px; width: 80px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--muted); }
:where(section.ek) .side-eq { position: absolute; box-sizing: border-box; height: 96px; display: flex; align-items: center; gap: 16px; padding: 0 32px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); font-size: 30px; color: var(--muted); white-space: nowrap; }
:where(section.ek) .side-eq b { font-family: var(--font-display); font-size: 40px; color: var(--navy); }

/* ---------- 試算 ---------- */
:where(section.ek) .table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
:where(section.ek) .table th, :where(section.ek) .table td { padding: 14px 24px; text-align: left; border-bottom: 1px solid var(--line); line-height: 1.35; }
:where(section.ek) .table tr:last-child td { border-bottom: none; }
:where(section.ek) .table th { background: var(--navy); color: var(--on-navy); font-weight: 600; }
:where(section.ek) .table tbody tr:nth-child(even) td { background: var(--surface-2); }
:where(section.ek) .table .right { text-align: right; font-variant-numeric: tabular-nums; }
:where(section.ek) .table tr.is-over td { background: var(--error-soft); }
:where(section.ek) .table tr.is-total td { font-weight: 700; background: var(--bg-2); }
:where(section.ek) .table--compact { font-size: 28px; }
:where(section.ek) .table--compact th, :where(section.ek) .table--compact td { padding: 12px 16px; }
:where(section.ek) .calc input {
  width: 140px; box-sizing: border-box; font: inherit; font-size: 30px; font-variant-numeric: tabular-nums;
  text-align: right; color: var(--ink); background: var(--surface);
  border: 2px solid var(--line); border-radius: 10px; padding: 6px 14px;
}
:where(section.ek) .calc input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 139, 214, .2); }
:where(section.ek) .calc input.is-narrow { width: 110px; }
:where(section.ek) .calc .table td { padding-top: 10px; padding-bottom: 10px; }
:where(section.ek) .weight-line { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 30px; color: var(--ink); }
:where(section.ek) .weight-line output { font-weight: 700; color: var(--navy); }
:where(section.ek) .ledger { width: 720px; flex: none; display: flex; flex-direction: column; padding: 8px 36px; }
:where(section.ek) .ledger__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); }
:where(section.ek) .ledger__row:last-child { border-bottom: none; }
:where(section.ek) .ledger__label { font-size: 30px; color: var(--muted); }
:where(section.ek) .ledger__value { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
:where(section.ek) .ledger__row--key { margin: 0 -36px; padding: 13px 36px; background: var(--orange-soft); }
:where(section.ek) .ledger__row--key .ledger__label { color: var(--orange-text); font-weight: 700; }
:where(section.ek) .ledger__row--key .ledger__value { color: var(--orange-text); font-size: 64px; }
:where(section.ek) .reset-btn {
  font: inherit; font-size: 24px; font-weight: 600; color: var(--blue-text); cursor: pointer; align-self: flex-start;
  background: transparent; border: 2px solid var(--blue-soft); border-radius: 999px; padding: 6px 20px;
}
:where(section.ek) .reset-btn:hover { background: var(--blue-soft); }

/* ---------- 成本儀表板 ---------- */
:where(section.ek) .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
:where(section.ek) .kpi { display: flex; flex-direction: column; gap: 8px; padding: 24px 32px; }
:where(section.ek) .kpi__value { font-family: var(--font-display); font-size: 64px; font-weight: 700; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
:where(section.ek) .kpi__value small { font-family: var(--font-body); font-size: 30px; font-weight: 600; color: var(--muted); margin-left: 8px; }
:where(section.ek) .kpi--alert .kpi__value { color: var(--error); }
:where(section.ek) .chart-card { width: 620px; flex: none; box-sizing: border-box; padding: 24px 28px; display: flex; flex-direction: column; gap: 12px; }
:where(section.ek) .chart-box { position: relative; height: 330px; }
:where(section.ek) .chart-legend { display: flex; gap: 24px; font-size: 24px; color: var(--muted); }
:where(section.ek) .chart-legend span { display: inline-flex; align-items: center; gap: 10px; }
:where(section.ek) .chart-legend i { width: 20px; height: 20px; border-radius: 6px; display: inline-block; }
:where(section.ek) .neg { color: var(--error); font-weight: 700; }
:where(section.ek) .pos { color: var(--success); font-weight: 700; }

/* ---------- 總結 ---------- */
:where(section.ek) .four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
:where(section.ek) .four .card { display: flex; flex-direction: column; gap: 12px; padding: 36px; }
:where(section.ek) .role { font-size: 24px; font-weight: 700; letter-spacing: 2px; color: var(--blue-text); }
:where(section.ek) .card--navy .role { color: var(--orange-light); }
:where(section.ek) .closing-band { padding: 48px 56px; border-radius: 24px; background: var(--navy); text-align: center; }
:where(section.ek) .closing-band p { font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1.3; color: var(--on-navy); }
:where(section.ek) .closing-band b { color: var(--orange-light); }

/* ---------- 看板 ---------- */
:where(section.ek) .bd-tabs { position: absolute; left: 0; top: 0; display: flex; gap: 12px; }
:where(section.ek) .bd-tab { font-size: 24px; font-weight: 600; line-height: 1.4; padding: 8px 26px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); transition: background-color .3s, border-color .3s, color .3s; }
:where(section.ek) .bd-tab.is-on { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
:where(section.ek) .bd-frame { position: absolute; left: 0; width: 1664px; box-sizing: border-box; overflow: hidden; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; }
:where(section.ek) .bd-col { position: absolute; top: 0; bottom: 0; }
:where(section.ek) .bd-col--today { background: rgba(43, 139, 214, .08); }
:where(section.ek) .bd-col--off { background: var(--grey-soft); }
:where(section.ek) .bd-vline { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
:where(section.ek) .bd-hline { position: absolute; left: 0; right: 0; height: 1px; background: var(--line); }
:where(section.ek) .bd-day { position: absolute; top: 0; height: 72px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.15; }
:where(section.ek) .bd-day b { font-size: 30px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
:where(section.ek) .bd-day span { font-size: 24px; color: var(--muted); }
:where(section.ek) .bd-day.is-today b, :where(section.ek) .bd-day.is-today span { color: var(--blue-text); font-weight: 700; }
:where(section.ek) .bd-day--off b { font-size: 24px; color: var(--muted); }
:where(section.ek) .bd-corner { align-items: flex-start; padding-left: 24px; font-size: 24px; font-weight: 700; color: var(--muted); }
:where(section.ek) .bd-corner .c-p, :where(section.ek) .is-projects .bd-corner .c-o { display: none; }
:where(section.ek) .is-projects .bd-corner .c-p { display: inline; }
:where(section.ek) .bd-label { position: absolute; left: 0; width: 300px; box-sizing: border-box; padding: 0 24px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; }
:where(section.ek) .bd-label b { font-size: 30px; font-weight: 700; line-height: 1.25; color: var(--ink); }
:where(section.ek) .bd-label > span:not(.who) { font-size: 24px; color: var(--muted); }
:where(section.ek) .bd-label--from { opacity: 0; }
:where(section.ek) .bd-alert { font-style: normal; font-size: 24px; font-weight: 700; color: var(--error); }
:where(section.ek) .bd-card {
  --c: var(--blue); position: absolute; width: 300px; height: 76px; box-sizing: border-box; padding: 6px 12px;
  display: flex; flex-direction: column; justify-content: center; border-radius: 10px; border-left: 6px solid var(--c);
  background: #EAF3FB; transition: background-color .3s, border-color .3s;
}
:where(section.ek) .bd-card b { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--ink); white-space: nowrap; }
:where(section.ek) .bd-card > span { font-size: 24px; line-height: 1.3; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
:where(section.ek) .bd-ic { width: 26px; height: 26px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 18px; font-weight: 700; line-height: 1; color: #FFFFFF; background: var(--c); transition: opacity .3s; }
:where(section.ek) .bd-card--done { --c: var(--success); background: var(--success-soft); }
:where(section.ek) .bd-card--overdue { --c: var(--error); background: var(--error-soft); }
:where(section.ek) .bd-card--overdue b { color: #9A2019; transition: color .3s; }
:where(section.ek) .bd-card--overdue.is-pending { --c: var(--blue); background: #EAF3FB; }
:where(section.ek) .bd-card--overdue.is-pending b { color: var(--ink); }
:where(section.ek) .bd-card--overdue.is-pending .bd-ic { opacity: 0; }
:where(section.ek) .bd-card--excluded { --c: #8A96A8; background: var(--grey-soft); }
:where(section.ek) .bd-card--excluded b { color: var(--muted); text-decoration: line-through; }
:where(section.ek) .bd-card--hours { border: 2px dashed #9AA7BA; background: var(--surface); }
:where(section.ek) .bd-card .m-o, :where(section.ek) .is-projects .bd-card .m-p { display: none; }
:where(section.ek) .is-projects .bd-card .m-o { display: inline; }
:where(section.ek) .bd-over { position: absolute; background: rgba(179, 38, 30, .07); box-shadow: inset 0 0 0 3px rgba(179, 38, 30, .5); }
:where(section.ek) .bd-stat { position: absolute; height: 36px; display: flex; align-items: center; font-size: 24px; font-weight: 700; color: var(--error); white-space: nowrap; }
:where(section.ek) .bd-req { position: absolute; height: 36px; box-sizing: border-box; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; border: 2px solid transparent; font-size: 24px; font-weight: 700; white-space: nowrap; }
:where(section.ek) .bd-req--overtime { background: var(--orange-soft); color: var(--orange-text); }
:where(section.ek) .bd-req--leave { background: var(--blue-soft); color: var(--blue-text); }
:where(section.ek) .bd-req.is-pending { background: transparent; border-color: currentColor; border-style: dashed; }
:where(section.ek) .legend .lg { border-radius: 6px; box-sizing: border-box; border-left: 6px solid; }
:where(section.ek) .lg--open { background: #EAF3FB; border-color: var(--blue); }
:where(section.ek) .lg--overdue { background: var(--error-soft); border-color: var(--error); }
:where(section.ek) .lg--done { background: var(--success-soft); border-color: var(--success); }
:where(section.ek) .lg--excluded { background: var(--grey-soft); border-color: #8A96A8; }
:where(section.ek) .legend .lg--hours { border: 2px dashed #9AA7BA; background: var(--surface); }

/* ---------- 簽核 ---------- */
:where(section.ek) .btn { display: inline-flex; align-items: center; justify-content: center; height: 60px; padding: 0 32px; border-radius: 12px; font-size: 30px; font-weight: 700; white-space: nowrap; border: 2px solid transparent; transition: background-color .3s, color .3s, border-color .3s, opacity .3s; }
:where(section.ek) .btn--navy { background: var(--navy); color: #FFFFFF; }
:where(section.ek) .btn--ok { background: var(--surface); border-color: var(--success); color: var(--success); }
:where(section.ek) .btn--error { background: var(--error); color: #FFFFFF; }
:where(section.ek) .btn.is-disabled { background: var(--grey-soft); border-color: var(--grey-soft); color: #9AA7BA; }
:where(section.ek) .ae-form b { font-size: 30px; }
:where(section.ek) .ae-form--new { border-style: dashed; background: transparent; }
:where(section.ek) .ae-form--new b { color: var(--muted); }
:where(section.ek) .ae-hub b { font-size: 40px; }
:where(section.ek) .ae-feature { position: absolute; left: 1180px; width: 484px; height: 56px; box-sizing: border-box; display: flex; align-items: center; gap: 16px; padding: 0 20px; border-radius: 14px; background: var(--surface); border: 2px solid var(--line); font-size: 30px; font-weight: 700; color: var(--ink); }
:where(section.ek) .ae-feature i { width: 36px; height: 36px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 22px; background: var(--orange-soft); color: var(--orange-text); }
:where(section.ek) .as-profile { justify-content: flex-start; gap: 16px; padding: 28px; }
:where(section.ek) .as-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 30px; }
:where(section.ek) .as-row span { color: var(--muted); font-size: 30px; }
:where(section.ek) .as-row b { font-size: 30px; }
:where(section.ek) .as-boss { color: var(--blue-text) !important; }
:where(section.ek) .as-form { gap: 18px; padding: 28px 36px; }
:where(section.ek) .as-form__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
:where(section.ek) .as-form__head .pill { align-self: center; }
:where(section.ek) .as-actions { display: flex; align-items: center; gap: 20px; }
:where(section.ek) .as-lock { font-size: 24px; font-weight: 700; color: var(--muted); }
:where(section.ek) .as-reviewer { border-color: var(--orange); background: var(--orange-soft); }
:where(section.ek) .as-form .field-row .as-amount { flex: 0 0 200px; }
:where(section.ek) .as-inbox { justify-content: flex-start; gap: 20px; padding: 28px; }
:where(section.ek) .as-inbox__head { display: flex; align-items: center; justify-content: space-between; }
:where(section.ek) .as-inbox__head b { font-size: 30px; }
:where(section.ek) .as-badge { min-width: 44px; height: 44px; box-sizing: border-box; padding: 0 12px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 30px !important; font-weight: 700; color: #FFFFFF !important; background: var(--orange); }
:where(section.ek) .as-inbox__item { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--bg); border-left: 6px solid var(--blue); }
:where(section.ek) .as-inbox__item b { font-size: 30px; }
:where(section.ek) .ar-panel, :where(section.ek) .ar-doc { position: absolute; top: 0; height: 470px; box-sizing: border-box; display: flex; flex-direction: column; gap: 24px; padding: 32px 36px; }
:where(section.ek) .ar-note { height: 120px; align-items: flex-start; padding-top: 16px; }
:where(section.ek) .ar-bubble { font-size: 30px; line-height: 1.4; padding: 18px 24px; border-radius: 16px; background: var(--error-soft); color: #9A2019; }
:where(section.ek) .ar-file { display: inline-flex; align-self: flex-start; align-items: center; gap: 12px; font-size: 30px; font-weight: 600; padding: 12px 22px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); }
:where(section.ek) .pill--error { background: var(--error); color: #FFFFFF; }
:where(section.ek) .ap-orange { color: var(--orange-text); }
:where(section.ek) .aa-step { gap: 6px; }
:where(section.ek) .aa-step b { font-size: 36px; }
:where(section.ek) .aa-check { position: absolute; left: -14px; top: -14px; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 26px; font-weight: 700; color: #FFFFFF; background: var(--success); box-shadow: 0 0 0 4px var(--bg); }
:where(section.ek) .aa-step--add .aa-check { background: var(--orange); }
:where(section.ek) .aa-choice { position: absolute; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; padding: 24px 32px; }
:where(section.ek) .aa-radio { display: flex; align-items: center; gap: 32px; font-size: 30px; }
:where(section.ek) .aa-opt { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
:where(section.ek) .aa-opt i { width: 28px; height: 28px; border-radius: 50%; box-sizing: border-box; border: 3px solid #9AA7BA; }
:where(section.ek) .aa-opt.is-on { color: var(--ink); font-weight: 700; }
:where(section.ek) .aa-opt.is-on i { border: 9px solid var(--navy); }
:where(section.ek) .ah-steps { position: absolute; left: 0; top: 0; width: 1664px; display: flex; }
:where(section.ek) .ah-step { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 24px; font-weight: 700; color: var(--ink); }
:where(section.ek) .ah-step::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 4px; background: var(--success); z-index: -1; }
:where(section.ek) .ah-step:first-child::before { display: none; }
:where(section.ek) .ah-step i { width: 34px; height: 34px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 6px var(--success-soft); }
:where(section.ek) .ah-step--add i { background: var(--orange); box-shadow: 0 0 0 6px var(--orange-soft); }
:where(section.ek) .ah-step--end { color: var(--success); }
:where(section.ek) .ah-log { position: absolute; left: 0; top: 104px; font-size: 26px; }
:where(section.ek) .ah-log th, :where(section.ek) .ah-log td { padding: 9px 24px; }
:where(section.ek) .ah-log tbody tr.is-back td { background: var(--error-soft); }
:where(section.ek) .ah-log tbody tr.is-back td:last-child { color: #9A2019; font-weight: 700; }
:where(section.ek) .ah-log tbody tr.is-add td { background: var(--orange-soft); }
:where(section.ek) .ah-log tbody tr.is-add td:last-child { color: var(--orange-text); font-weight: 700; }

/* ---------- 共用：圖示、視窗外框、說明標籤 ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:where(section.ek) .ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:where(section.ek) .mock { position: absolute; left: 0; top: 0; width: 1664px; box-sizing: border-box; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px rgba(28, 61, 110, .10); }
:where(section.ek) .mock__bar { height: 52px; box-sizing: border-box; display: flex; align-items: center; gap: 18px; padding: 0 22px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 600; color: var(--muted); }
:where(section.ek) .mock__dots { display: inline-flex; gap: 8px; }
:where(section.ek) .mock__dots i { width: 14px; height: 14px; border-radius: 50%; background: #E5534B; }
:where(section.ek) .mock__dots i:nth-child(2) { background: #E9B730; }
:where(section.ek) .mock__dots i:nth-child(3) { background: #3FB950; }
:where(section.ek) .caption .tag { display: inline-flex; align-items: center; margin-right: 18px; padding: 2px 18px; border: 2px solid var(--blue-text); border-radius: 999px; font-size: 24px; font-weight: 700; letter-spacing: 2px; color: var(--blue-text); vertical-align: 3px; }

/* ---------- 緣起：缺工 ---------- */
:where(section.ek) .wp-person { position: absolute; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--navy); transition: color .4s; }
:where(section.ek) .wp-person svg { width: 120px; height: 156px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
:where(section.ek) .wp-person b { font-size: 24px; font-weight: 600; color: var(--muted); white-space: nowrap; }
:where(section.ek) .wp-person.is-gone { opacity: .18; }
:where(section.ek) .wp-person.is-over { color: var(--error); }
:where(section.ek) .wp-warn { position: absolute; top: 50px; right: -64px; padding: 2px 12px; border-radius: 8px; font-size: 24px; font-weight: 700; color: #FFFFFF; background: var(--error); opacity: 0; transition: opacity .3s; }
:where(section.ek) .wp-person.is-over .wp-warn { opacity: 1; }
:where(section.ek) .wp-blk { position: absolute; width: 150px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; letter-spacing: 2px; color: #FFFFFF; box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
:where(section.ek) .wp-stamp { position: absolute; left: 712px; top: 150px; width: 240px; height: 96px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 6px solid var(--error); border-radius: 18px; font-family: var(--font-display); font-size: 56px; font-weight: 700; color: var(--error); background: rgba(251, 233, 231, .9); transform: rotate(-8deg); }
:where(section.ek) .wp-note { position: absolute; left: 0; top: 410px; width: 1664px; text-align: center; font-size: 30px; font-weight: 700; color: var(--error); }
:where(section.ek) .wp-admin { position: absolute; left: 0; top: 462px; width: 1664px; height: 98px; box-sizing: border-box; display: flex; align-items: center; gap: 24px; padding: 0 28px; border-radius: 18px; background: var(--surface); border: 2px solid var(--line); }
:where(section.ek) .wp-admin > b { flex: none; width: 250px; font-size: 30px; color: var(--navy); line-height: 1.2; }
:where(section.ek) .wp-admin > b small { display: block; font-size: 24px; font-weight: 600; color: var(--muted); }
:where(section.ek) .wp-admin span { flex: 1; display: flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 700; color: var(--ink); line-height: 1.25; }
:where(section.ek) .wp-admin span .ic { font-size: 40px; color: var(--blue-text); }
:where(section.ek) .wp-admin span small { display: block; font-size: 22px; font-weight: 500; color: var(--muted); }
:where(section.ek) .wp-admin > span > span { display: block; flex: 1; }

/* ---------- 緣起：LINE 群組 ---------- */
:where(section.ek) .wc-desk { display: flex; height: 468px; }
:where(section.ek) .wc-side { width: 420px; flex: none; box-sizing: border-box; padding: 12px; border-right: 1px solid var(--line); background: var(--surface-2); display: flex; flex-direction: column; gap: 6px; }
:where(section.ek) .wc-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; }
:where(section.ek) .wc-item.is-on { background: var(--blue-soft); }
:where(section.ek) .wc-item b { display: block; font-size: 26px; color: var(--ink); }
:where(section.ek) .wc-item span:not(.wc-ava) { display: block; font-size: 22px; color: var(--muted); white-space: nowrap; }
:where(section.ek) .wc-ava { width: 52px; height: 52px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; color: #FFFFFF; background: #8EA3C0; }
:where(section.ek) .wc-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
:where(section.ek) .wc-head { padding: 12px 24px; font-size: 26px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
:where(section.ek) .wc-list { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 18px 28px; background: #8CB0DC; }
:where(section.ek) .wc-msg { display: flex; align-items: flex-end; gap: 12px; }
:where(section.ek) .wc-msg .wc-ava { align-self: flex-start; background: var(--navy); }
:where(section.ek) .wc-who { font-size: 20px; color: #FFFFFF; margin-bottom: 4px !important; }
:where(section.ek) .wc-bub { display: inline-block; padding: 10px 20px; border-radius: 20px; background: #FFFFFF; font-size: 26px; line-height: 1.35; color: var(--ink); white-space: nowrap; }
:where(section.ek) .wc-t { font-size: 18px; color: #EEF3FA; }
:where(section.ek) .wc-msg--me { justify-content: flex-end; }
:where(section.ek) .wc-msg--me .wc-bub { background: #9BE58A; }
:where(section.ek) .wc-input { height: 54px; margin: 0 24px 10px; border-radius: 27px; background: var(--grey-soft); }
:where(section.ek) .wc-typing { display: inline-flex; gap: 6px; padding: 16px 22px; border-radius: 20px; background: #FFFFFF; }
:where(section.ek) .wc-typing i { width: 10px; height: 10px; border-radius: 50%; background: #9AA7BA; animation: wcDot 1s infinite; }
:where(section.ek) .wc-typing i:nth-child(2) { animation-delay: .15s; }
:where(section.ek) .wc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes wcDot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-4px); } }

/* ---------- 緣起：紙本迴圈 ---------- */
:where(section.ek) .wl-rail { position: absolute; left: 120px; top: 70px; width: 1420px; height: 4px; background: var(--line); }
:where(section.ek) .wl-st { position: absolute; top: 14px; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
:where(section.ek) .wl-st b { margin-top: 14px; font-size: 28px; color: var(--ink); white-space: nowrap; }
:where(section.ek) .wl-st > span:not(.wl-ic) { font-size: 24px; color: var(--muted); }
:where(section.ek) .wl-ic { width: 112px; height: 112px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid var(--line); background: var(--surface); font-size: 56px; color: var(--navy); transition: border-color .3s, background-color .3s, color .3s; }
:where(section.ek) .wl-st.is-paper .wl-ic { border-style: dashed; }
:where(section.ek) .wl-st.is-hot .wl-ic { border: 4px solid var(--orange); background: var(--orange-soft); color: var(--orange-text); }
:where(section.ek) .wl-doc { opacity: 0; position: absolute; top: 34px; width: 40px; height: 50px; margin-left: -20px; border-radius: 6px; background: var(--surface); border: 3px solid var(--orange); box-shadow: 0 8px 18px rgba(224, 123, 36, .35); pointer-events: none; }
:where(section.ek) .wl-tally { position: absolute; left: 0; top: 380px; width: 1664px; display: flex; justify-content: center; gap: 24px; }
:where(section.ek) .wl-tally span { display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 28px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); font-size: 28px; font-weight: 700; color: var(--ink); }
:where(section.ek) .wl-tally b { font-family: var(--font-display); font-size: 48px; color: var(--orange-text); }

/* ---------- 緣起：EIP 營業稅表單 ---------- */
:where(section.ek) .wr-top { display: flex; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid var(--line); }
:where(section.ek) .wr-logo { font-family: var(--font-display); font-size: 36px; color: var(--navy); }
:where(section.ek) .wr-tab { padding: 6px 18px; border-radius: 10px; background: var(--blue-soft); font-size: 26px; font-weight: 700; color: var(--navy); }
:where(section.ek) .wr-tools { margin-left: auto; display: flex; gap: 10px; }
:where(section.ek) .wr-tools span { padding: 6px 16px; border: 1px solid var(--line); border-radius: 10px; font-size: 22px; color: var(--muted); }
:where(section.ek) .wr-table { width: 100%; border-collapse: collapse; font-size: 26px; }
:where(section.ek) .wr-table th { padding: 14px 10px; text-align: center; background: var(--surface-2); color: var(--muted); font-weight: 700; border-bottom: 1px solid var(--line); }
:where(section.ek) .wr-table td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--line); color: var(--ink); }
:where(section.ek) .wr-table td.y { color: var(--success); font-weight: 700; font-size: 30px; }
:where(section.ek) .wr-table td.n { color: #B6C2D4; }

/* ---------- 緣起：多模組 ---------- */
:where(section.ek) .wm-tile { position: absolute; width: 300px; height: 200px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-radius: 20px; background: var(--surface); border: 2px solid var(--line); color: var(--navy); }
:where(section.ek) .wm-tile .ic { font-size: 60px; color: var(--blue-text); }
:where(section.ek) .wm-tile b { font-size: 32px; color: var(--ink); }
:where(section.ek) .wm-tile span { font-size: 24px; color: var(--muted); }
:where(section.ek) .wm-tile.is-core { background: var(--orange-soft); border-color: var(--orange); }
:where(section.ek) .wm-tile.is-core .ic, :where(section.ek) .wm-tile.is-core b { color: var(--orange-text); }

/* ---------- AI 四種能力（樞紐） ---------- */
:where(section.ek) .hub-core { position: absolute; width: 190px; height: 190px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--navy); color: #FFFFFF; font-family: var(--font-display); font-size: 72px; font-weight: 700; line-height: 1; box-shadow: 0 16px 40px rgba(28, 61, 110, .3); }
:where(section.ek) .hub-core small { margin-top: 10px; font-family: var(--font-body); font-size: 22px; letter-spacing: 6px; color: var(--on-navy-muted); }
:where(section.ek) .hub-spoke { position: absolute; width: 0; height: 0; }
:where(section.ek) .hub-ring { position: absolute; left: -52px; top: -52px; width: 104px; height: 104px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid var(--success); background: var(--success-soft); font-size: 52px; color: var(--success); }
:where(section.ek) .hub-no { position: absolute; left: -10px; top: -10px; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: #FFFFFF; background: var(--success); }
:where(section.ek) .hub-ok { position: absolute; right: -12px; bottom: -12px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 24px; font-weight: 700; color: #FFFFFF; background: var(--success); box-shadow: 0 0 0 4px var(--bg); }
:where(section.ek) .hub-txt { position: absolute; top: -34px; width: 340px; display: flex; flex-direction: column; gap: 2px; }
:where(section.ek) .hub-txt b { font-size: 30px; color: var(--ink); white-space: nowrap; }
:where(section.ek) .hub-txt span { font-size: 24px; color: var(--muted); white-space: nowrap; }
:where(section.ek) .hub-spoke--r .hub-txt { left: 70px; }
:where(section.ek) .hub-spoke--l .hub-txt { right: 70px; text-align: right; }
:where(section.ek) .hub-spoke.is-key .hub-ring { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-text); box-shadow: 0 0 0 10px rgba(224, 123, 36, .18); }
:where(section.ek) .hub-spoke.is-key .hub-no { background: var(--orange); }
:where(section.ek) .hub-spoke.is-key .hub-txt b { color: var(--orange-text); }
:where(section.ek) .hub-line { stroke: #C9D5E6; stroke-width: 3; }

/* ---------- 有間 EIP 入口（示意畫面） ---------- */
:where(section.ek) .we-body { display: flex; height: 468px; }
:where(section.ek) .we-side { width: 340px; flex: none; box-sizing: border-box; padding: 18px 16px; border-right: 1px solid var(--line); background: var(--surface-2); display: flex; flex-direction: column; gap: 4px; }
:where(section.ek) .we-brand { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 12px; }
:where(section.ek) .we-brand b { font-family: var(--font-display); font-size: 30px; color: var(--navy); }
:where(section.ek) .we-module { font-size: 22px; font-weight: 600; padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: var(--surface); }
:where(section.ek) .we-group { padding: 6px 8px; font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
:where(section.ek) .we-item { display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 10px; font-size: 25px; color: var(--ink); }
:where(section.ek) .we-item .ic { font-size: 28px; color: var(--muted); }
:where(section.ek) .we-item.is-on { background: var(--blue-soft); color: var(--navy); font-weight: 700; }
:where(section.ek) .we-item.is-on .ic { color: var(--navy); }
:where(section.ek) .we-sub { padding-left: 44px; }
:where(section.ek) .we-main { flex: 1; min-width: 0; box-sizing: border-box; padding: 20px 28px; display: flex; flex-direction: column; gap: 16px; }
:where(section.ek) .we-head { display: flex; align-items: baseline; gap: 20px; }
:where(section.ek) .we-head b { font-family: var(--font-display); font-size: 36px; color: var(--navy); }
:where(section.ek) .we-head span { font-size: 22px; color: var(--muted); }
:where(section.ek) .we-head .we-bell { position: relative; margin-left: auto; font-size: 32px; color: var(--navy) !important; }
:where(section.ek) .we-bell i { position: absolute; right: -10px; top: -6px; min-width: 24px; height: 24px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 16px; font-weight: 700; color: #FFFFFF; background: var(--error); }
:where(section.ek) .we-board { position: relative; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; }
:where(section.ek) .we-days { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 8px; font-size: 22px; font-weight: 700; color: var(--muted); text-align: center; }
:where(section.ek) .we-days .is-today { color: var(--blue-text); }
:where(section.ek) .we-cards { position: relative; height: 84px; margin-top: 8px; }
:where(section.ek) .we-c { position: absolute; top: 0; width: calc(20% - 12px); margin-left: 6px; height: 36px; box-sizing: border-box; border-radius: 8px; border-left: 5px solid var(--blue); background: #EAF3FB; }
:where(section.ek) .we-c--done { border-color: var(--success); background: var(--success-soft); }
:where(section.ek) .we-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
:where(section.ek) .we-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; }
:where(section.ek) .we-row { display: flex; align-items: center; gap: 12px; font-size: 24px; color: var(--ink); white-space: nowrap; }
:where(section.ek) .we-row .pill { font-size: 20px; padding: 2px 12px; }
:where(section.ek) .we-mods { justify-content: center; }

/* ---------- RPA 發票精靈（示意畫面） ---------- */
:where(section.ek) .rp-menu { display: flex; gap: 28px; padding: 8px 24px; font-size: 22px; color: var(--muted); border-bottom: 1px solid var(--line); }
:where(section.ek) .rp-body { display: flex; gap: 16px; height: 352px; padding: 16px 20px 0; box-sizing: border-box; }
:where(section.ek) .rp-panel { flex: 1; min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
:where(section.ek) .rp-panel--left { flex: 0 0 560px; }
:where(section.ek) .rp-ph { padding: 8px 16px; font-size: 22px; font-weight: 700; color: var(--ink); background: var(--surface-2); border-bottom: 1px solid var(--line); }
:where(section.ek) .rp-co { display: flex; align-items: center; gap: 14px; padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: 24px; }
:where(section.ek) .rp-co b { font-size: 24px; color: var(--ink); }
:where(section.ek) .rp-co > span:not(.rp-cb) { color: var(--muted); font-variant-numeric: tabular-nums; }
:where(section.ek) .rp-co em { margin-left: auto; font-style: normal; font-size: 22px; color: var(--muted); }
:where(section.ek) .rp-co.is-pick em { color: var(--success); font-weight: 700; }
:where(section.ek) .rp-cb { width: 24px; height: 24px; box-sizing: border-box; border: 2px solid #9AA7BA; border-radius: 6px; }
:where(section.ek) .rp-co.is-pick .rp-cb { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
:where(section.ek) .rp-log { padding: 8px 16px; display: flex; flex-direction: column; gap: 4px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
:where(section.ek) .rp-line { display: flex; gap: 14px; font-size: 21px; color: var(--ink); white-space: nowrap; }
:where(section.ek) .rp-line > span:first-child { color: #9AA7BA; }
:where(section.ek) .rp-line--ai .rp-text { color: #7C3AED; }
:where(section.ek) .rp-line--ok .rp-text { color: var(--success); }
:where(section.ek) .rp-bottom { display: flex; align-items: center; gap: 20px; padding: 14px 20px; }
:where(section.ek) .rp-bottom .btn { height: 52px; font-size: 24px; padding: 0 24px; }
:where(section.ek) .rp-bar { flex: 1; height: 18px; border-radius: 9px; background: var(--grey-soft); overflow: hidden; }
:where(section.ek) .rp-bar i { display: block; width: 100%; height: 100%; background: var(--success); border-radius: 9px; transform-origin: left center; }
:where(section.ek) .rp-count { font-size: 24px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
:where(section.ek) .rp-judge { position: absolute; left: 40px; right: 40px; top: 96px; bottom: 24px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(27, 36, 52, .22); overflow: hidden; }
:where(section.ek) .rp-jh { padding: 14px 22px; font-size: 26px; font-weight: 700; color: var(--ink); background: var(--blue-soft); }
:where(section.ek) .rp-jt { width: 100%; border-collapse: collapse; font-size: 24px; }
:where(section.ek) .rp-jt th { padding: 10px 14px; text-align: left; font-size: 22px; color: var(--muted); border-bottom: 1px solid var(--line); }
:where(section.ek) .rp-jt td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
:where(section.ek) .rp-jt .num { text-align: right; font-variant-numeric: tabular-nums; }
:where(section.ek) .rp-jt .yes, :where(section.ek) .rp-sum .yes { color: var(--success); font-weight: 700; }
:where(section.ek) .rp-jt .no, :where(section.ek) .rp-sum .no { color: var(--error); font-weight: 700; }
:where(section.ek) .rp-jt .why { font-size: 22px; color: var(--muted); }
:where(section.ek) .rp-sum { margin-top: auto; display: flex; align-items: baseline; gap: 36px; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 24px; color: var(--ink); background: var(--surface-2); }
:where(section.ek) .rp-sum b { font-family: var(--font-display); font-size: 34px; color: var(--navy); font-variant-numeric: tabular-nums; }
:where(section.ek) .rp-sum em { margin-left: auto; font-style: normal; font-size: 22px; color: var(--muted); }

/* ---------- 結語：三個困境 ---------- */
:where(section.ek) .et-card { position: absolute; top: 0; width: 532px; height: 200px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 28px 32px; }
:where(section.ek) .et-from { font-size: 24px; color: var(--muted); }
:where(section.ek) .et-from span { position: relative; }
:where(section.ek) .et-from span::after { content: ''; position: absolute; left: 0; right: 0; top: 52%; height: 2px; background: var(--muted); transform-origin: left center; transform: scaleX(var(--strike, 1)); }
:where(section.ek) .et-to { font-size: 30px; font-weight: 700; line-height: 1.4; color: var(--ink); }
:where(section.ek) .et-to b, :where(section.ek) .et-big b { color: var(--blue-text); }
:where(section.ek) .et-big { position: absolute; left: 0; top: 270px; width: 1664px; font-family: var(--font-display); font-size: 88px; font-weight: 700; line-height: 1.3; color: var(--navy); }

/* ---------- 方案與價格 ---------- */
:where(section.ek) .pr-plans { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: stretch; }
:where(section.ek) .pr-plan { display: flex; flex-direction: column; gap: 14px; padding: 32px 36px; }
:where(section.ek) .pr-plan__head { display: flex; align-items: center; justify-content: space-between; }
:where(section.ek) .pr-plan__head h3 { font-size: 48px; }
:where(section.ek) .pr-badge { padding: 4px 16px; border-radius: 999px; font-size: 22px; font-weight: 700; color: var(--navy); background: var(--orange-light); }
:where(section.ek) .pr-plan__label { font-size: 26px; font-weight: 700; color: var(--blue-text); }
:where(section.ek) .pr-fee { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
:where(section.ek) .pr-fee > span { font-size: 24px; color: var(--muted); }
:where(section.ek) .pr-fee b { font-family: var(--font-display); font-size: 48px; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
:where(section.ek) .pr-fee small { font-family: var(--font-body); font-size: 22px; font-weight: 600; color: var(--muted); }
:where(section.ek) .pr-meta { display: flex; justify-content: space-between; font-size: 24px; color: var(--muted); }
:where(section.ek) .pr-meta b { color: var(--ink); font-size: 28px; }
:where(section.ek) .pr-inherit { font-size: 22px; font-weight: 700; color: var(--orange-text); }
:where(section.ek) .pr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
:where(section.ek) .pr-list li { display: flex; gap: 10px; font-size: 24px; line-height: 1.35; color: var(--ink); }
:where(section.ek) .pr-list li::before { content: '✓'; flex: none; font-weight: 700; color: var(--success); }
:where(section.ek) .pr-plan--key { background: var(--navy); border-color: var(--navy); box-shadow: 0 24px 48px rgba(28, 61, 110, .25); }
:where(section.ek) .pr-plan--key h3, :where(section.ek) .pr-plan--key .pr-fee b, :where(section.ek) .pr-plan--key .pr-meta b, :where(section.ek) .pr-plan--key .pr-list li { color: #F7F9FC; }
:where(section.ek) .pr-plan--key .pr-plan__label, :where(section.ek) .pr-plan--key .pr-inherit { color: var(--orange-light); }
:where(section.ek) .pr-plan--key .pr-fee > span, :where(section.ek) .pr-plan--key .pr-fee small, :where(section.ek) .pr-plan--key .pr-meta { color: var(--on-navy-muted); }
:where(section.ek) .pr-plan--key .pr-fee { border-color: rgba(255, 255, 255, .16); }
:where(section.ek) .pr-plan--key .pr-list li::before { color: var(--orange-light); }
:where(section.ek) .pr-matrix { width: 1664px; border-collapse: separate; border-spacing: 0; table-layout: fixed; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
:where(section.ek) .pr-matrix th, :where(section.ek) .pr-matrix td { padding: 8px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
:where(section.ek) .pr-matrix tbody tr:last-child th, :where(section.ek) .pr-matrix tbody tr:last-child td { border-bottom: none; }
:where(section.ek) .pr-matrix thead th { background: var(--navy); color: var(--on-navy); font-size: 28px; font-weight: 700; }
:where(section.ek) .pr-matrix thead th:first-child { width: 200px; }
:where(section.ek) .pr-matrix thead small { margin-left: 12px; font-size: 22px; font-weight: 600; color: var(--on-navy-muted); }
:where(section.ek) .pr-matrix tbody th { font-size: 28px; font-weight: 700; color: var(--navy); background: var(--surface-2); }
:where(section.ek) .pr-td { line-height: 1; }
:where(section.ek) .pr-td--advanced { background: rgba(43, 139, 214, .05); }
:where(section.ek) .pr-td--professional { background: rgba(224, 123, 36, .06); }
:where(section.ek) .pr-chip { display: inline-flex; margin: 3px 6px 3px 0; padding: 5px 12px; border-radius: 10px; font-size: 22px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
:where(section.ek) .pr-chip--basic { background: var(--grey-soft); color: var(--ink); }
:where(section.ek) .pr-chip--advanced { background: var(--blue-soft); color: var(--navy); }
:where(section.ek) .pr-chip--professional { background: var(--orange-soft); color: var(--orange-text); }
:where(section.ek) .pr-none { font-size: 24px; color: #B6C2D4; }

/* ---------- 功能總覽（整張圖）：固定像素尺寸，不靠百分比高度，各瀏覽器都不會撐到原圖大小 ---------- */
:where(section.ek) .slide--image { padding: 64px 128px 140px; align-items: center; justify-content: center; }
:where(section.ek) .overview { flex: none; width: 1156px; height: 784px; margin: 0; box-sizing: border-box; padding: 18px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(28, 61, 110, .10); overflow: hidden; }
:where(section.ek) .overview img { display: block; width: 1120px; height: 748px; max-width: none; object-fit: contain; }

/* ---------- 雲端版與地端版 ---------- */
:where(section.ek) .dp-card { position: absolute; top: 0; width: 800px; height: 540px; box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; padding: 36px 48px; }
:where(section.ek) .dp-card h3 { font-size: 48px; }
:where(section.ek) .dp-art { height: 150px; display: flex; align-items: center; }
:where(section.ek) .dp-cloud { width: 180px; height: 120px; }
:where(section.ek) .dp-office { font-size: 120px; color: var(--orange); stroke-width: 1.4; }
:where(section.ek) .dp-photo { position: absolute; right: 32px; top: 24px; width: 340px; height: auto; mix-blend-mode: multiply; }
:where(section.ek) .dp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
:where(section.ek) .dp-list li { display: flex; gap: 12px; font-size: 30px; color: var(--ink); }
:where(section.ek) .dp-list li::before { content: '✓'; font-weight: 700; color: var(--success); }
:where(section.ek) .dp-price { display: flex; align-items: baseline; gap: 18px; margin-top: 6px !important; padding-top: 18px; border-top: 1px solid var(--line); }
:where(section.ek) .dp-price > span { font-size: 26px; font-weight: 700; color: var(--muted); }
:where(section.ek) .dp-price b { font-family: var(--font-display); font-size: 64px; color: var(--orange-text); font-variant-numeric: tabular-nums; }
:where(section.ek) .dp-price small { font-family: var(--font-body); font-size: 26px; font-weight: 600; color: var(--muted); }
:where(section.ek) .dp-specs { display: flex; gap: 12px; }
:where(section.ek) .dp-spec { padding: 8px 18px; border-radius: 12px; font-size: 26px; font-weight: 700; color: var(--navy); background: var(--blue-soft); }
:where(section.ek) .dp-card--onprem { border-color: var(--orange); box-shadow: 0 18px 40px rgba(224, 123, 36, .12); }

/* ---------- 導覽列與目錄（在投影片外，不隨縮放） ---------- */
.deck-nav {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: flex; align-items: center; gap: 6px; padding: 6px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: rgba(255, 255, 255, .94); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 24px rgba(27, 36, 52, .14); transition: opacity .3s, transform .3s;
}
.deck-nav.is-idle { opacity: 0; transform: translateY(8px); pointer-events: none; }
.deck-nav button {
  font: inherit; font-weight: 600; color: var(--navy); cursor: pointer;
  min-width: 36px; height: 36px; padding: 0 12px; border: none; border-radius: 10px; background: transparent;
}
.deck-nav button:hover, .deck-nav button[aria-expanded='true'] { background: var(--blue-soft); }
.deck-nav .sep { width: 1px; height: 24px; background: var(--line); margin: 0 4px; }
.deck-nav__jump { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.deck-nav__jump input {
  width: 52px; height: 32px; box-sizing: border-box; font: inherit; font-weight: 700; text-align: center; color: var(--navy);
  border: 1px solid var(--line); border-radius: 8px; background: var(--surface); -moz-appearance: textfield;
}
.deck-nav__jump input::-webkit-inner-spin-button, .deck-nav__jump input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.deck-nav__jump input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43, 139, 214, .2); }

.toc { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; background: rgba(27, 36, 52, .35); font-family: var(--font-body); }
.toc[hidden] { display: none; }
.toc__panel { width: min(420px, 100vw); height: 100%; box-sizing: border-box; overflow-y: auto; padding: 24px 20px 32px; background: var(--surface); box-shadow: -12px 0 32px rgba(27, 36, 52, .18); }
.toc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.toc__head strong { font-family: var(--font-display); font-size: 22px; color: var(--navy); }
.toc__head button { font: inherit; font-size: 15px; cursor: pointer; border: none; background: var(--bg); border-radius: 8px; padding: 6px 12px; color: var(--navy); }
.toc__hint { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.6; }
.toc__part { font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--blue-text); margin: 18px 8px 6px; }
.toc__list { list-style: none; margin: 0; padding: 0; }
.toc__item {
  display: flex; gap: 12px; align-items: baseline; width: 100%; text-align: left; cursor: pointer;
  font: inherit; font-size: 16px; color: var(--ink); padding: 10px 12px; border: none; border-radius: 10px; background: transparent;
}
.toc__item:hover { background: var(--bg); }
.toc__item[aria-current='true'] { background: var(--blue-soft); color: var(--navy); font-weight: 700; }
.toc__item .n { width: 28px; flex: none; font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; }

@media print { .deck-nav, .toc { display: none !important; } }

/* ---------- 情境人物 ---------- */
:where(section.ek) .eyebrow-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
:where(section.ek) .who {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 18px 4px 4px; border-radius: 999px;
  font-size: 24px; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
}
:where(section.ek) .who i { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 22px; font-weight: 700; color: #FFFFFF; }
:where(section.ek) .who--cpa i, :where(section.ek) .avatar--cpa { background: var(--orange); color: #FFFFFF; }
:where(section.ek) .who--rev i, :where(section.ek) .avatar--rev { background: var(--navy); color: #FFFFFF; }
:where(section.ek) .who--ic i, :where(section.ek) .avatar--ic { background: var(--blue); color: #FFFFFF; }
:where(section.ek) .who--as i, :where(section.ek) .avatar--as { background: var(--blue-pale); color: var(--navy); }
:where(section.ek) .slide--navy .who { background: var(--navy-2); border-color: transparent; color: var(--on-navy); }
:where(section.ek) .cast { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
:where(section.ek) .cast__card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; }
:where(section.ek) .cast__card .pill { align-self: center; }
:where(section.ek) .avatar { width: 160px; height: 160px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 72px; font-weight: 700; }
:where(section.ek) .pill--as { background: #E3F0FA; color: var(--navy); }

/* ---------- 範本清單 ---------- */
:where(section.ek) .tpl-list { display: flex; flex-direction: column; gap: 16px; }
:where(section.ek) .tpl-row { display: flex; align-items: center; gap: 24px; height: 72px; }
:where(section.ek) .tpl-row b { width: 400px; flex: none; font-size: 30px; color: var(--ink); }
:where(section.ek) .tpl-track { flex: 1; height: 40px; border-radius: 20px; background: var(--grey-soft); overflow: hidden; }
:where(section.ek) .tpl-track i { display: block; height: 100%; border-radius: 20px; background: var(--blue); transform-origin: left center; }
:where(section.ek) .tpl-row.is-key .tpl-track i { background: var(--orange); }
:where(section.ek) .tpl-row strong { width: 120px; flex: none; text-align: right; font-family: var(--font-display); font-size: 48px; color: var(--navy); font-variant-numeric: tabular-nums; }
:where(section.ek) .tpl-row.is-key strong, :where(section.ek) .tpl-row.is-key b { color: var(--orange-text); }

/* ---------- 期末查核四階段 ---------- */
:where(section.ek) .phase { align-items: center; text-align: center; gap: 2px; }
:where(section.ek) .phase b { font-size: 40px; color: var(--navy); }
:where(section.ek) .nd--orange.phase b { color: var(--orange-text); }
:where(section.ek) .acct-panel { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
:where(section.ek) .acct-panel .label { font-size: 30px; color: var(--ink); }
:where(section.ek) .acct-count { font-family: var(--font-display); font-weight: 700; color: var(--orange-text); }
:where(section.ek) .acct-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
:where(section.ek) .acct-grid span { height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--orange-soft); color: var(--orange-text); font-size: 24px; font-weight: 600; white-space: nowrap; }

/* ---------- 角色分配 ---------- */
:where(section.ek) .role-head { display: grid; grid-template-columns: 1fr auto; align-content: center; column-gap: 16px; }
:where(section.ek) .role-head b { grid-column: 1; grid-row: 1; font-size: 40px; }
:where(section.ek) .role-head span { grid-column: 1; grid-row: 2; }
:where(section.ek) .role-head strong { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 64px; }
:where(section.ek) .sq { position: absolute; width: 28px; height: 28px; border-radius: 6px; }

/* ---------- 拋轉精靈 ---------- */
:where(section.ek) .wizard { position: absolute; left: 0; top: 0; width: 1664px; display: flex; gap: 16px; }
:where(section.ek) .wz { flex: 1; display: flex; align-items: center; gap: 12px; height: 72px; padding: 0 24px; border-radius: 16px; background: var(--surface); border: 2px solid var(--line); font-size: 30px; font-weight: 600; color: var(--muted); transition: border-color .3s, color .3s; }
:where(section.ek) .wz i { width: 40px; height: 40px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 24px; background: var(--grey-soft); color: var(--muted); transition: background .3s, color .3s; }
:where(section.ek) .wz.is-on { border-color: var(--navy); color: var(--navy); }
:where(section.ek) .wz.is-on i { background: var(--navy); color: #FFFFFF; }
:where(section.ek) .wz.is-done i { background: var(--success); color: #FFFFFF; }
:where(section.ek) .inbox { min-width: 72px; text-align: center; font-family: var(--font-display); font-size: 30px !important; font-weight: 700; color: #FFFFFF !important; background: var(--orange); border-radius: 999px; padding: 2px 14px; font-variant-numeric: tabular-nums; }
:where(section.ek) .assign-result { align-items: center; justify-content: center; gap: 40px; }
:where(section.ek) .assign-eq { display: flex; align-items: baseline; gap: 14px; font-size: 30px; color: var(--muted); white-space: nowrap; }
:where(section.ek) .assign-eq span { font-size: 30px; color: var(--muted); }
:where(section.ek) .assign-eq strong { font-size: 56px; }
:where(section.ek) .assign-eq em { font-style: normal; font-size: 40px; color: var(--muted); }
:where(section.ek) .assign-eq .is-key strong { color: var(--orange-text); }
:where(section.ek) .assign-bell { display: flex; align-items: center; gap: 14px; font-size: 30px; font-weight: 600; color: var(--orange-text); background: var(--orange-soft); padding: 14px 28px; border-radius: 16px; }

/* ---------- TimeReport 卡 ---------- */
:where(section.ek) .tr-card { justify-content: flex-start; gap: 0; padding: 32px 40px; }
:where(section.ek) .tr-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 2px solid var(--line); }
:where(section.ek) .tr-head b { font-size: 40px; color: var(--navy); }
:where(section.ek) .tr-row { display: flex; justify-content: space-between; font-size: 30px; padding: 16px 12px; border-bottom: 1px solid var(--line); border-radius: 10px; }
:where(section.ek) .tr-row:last-child { border-bottom: none; }
:where(section.ek) .tr-row span { color: var(--muted); font-size: 30px; }
:where(section.ek) .tr-row b { color: var(--ink); font-size: 30px; }
:where(section.ek) .tr-row.rp-target b { color: var(--orange-text); }
:where(section.ek) .rp-new { color: var(--orange-text); }
:where(section.ek) .ot-pill { align-self: flex-start; }
