/* 文章頁「圖文版」元件（C-6 食品工廠三版比稿候選，2026-10-19）
   三版共用這一支；版面差異用 body 上的 class 切：.ar-a 雜誌圖文／.ar-b 圖解步驟／.ar-c 現場帶讀
   類別一律 ar- 開頭；顏色用 base.css 的色票，另加的語意色（合格綠、避開橘、水氣青、熱源琥珀、四個分區底色）定義在 .ar 上
   圖解是寫在頁面裡的 SVG：每張有寬版與直式兩版，依「圖框實際寬度」切換（容器查詢），手機 320 寬字也不糊 */

html:has(body.ar){scroll-padding-top:104px}
.ar{--ar-pad:clamp(16px,1.6vw,36px);--ar-gap:clamp(16px,1.3vw,28px);--ar-top:100px;--ar-fs:clamp(17px,.86vw,20px);
 --ar-ok:#15803d;--ar-ok-bg:#eaf7ef;--ar-no:#b45309;--ar-no-bg:#fff4e5;--ar-wet:#0e7490;--ar-wet-bg:#e2f4f8;--ar-heat:#d97706;--ar-heat-bg:#fff3dc;
 --ar-z1:#e3f4ea;--ar-z2:#e8f2fd;--ar-z3:#fdf2df;--ar-z4:#fbe6d8}
@media(max-width:1100px){html:has(body.ar){scroll-padding-top:86px}.ar{--ar-top:86px}}
@media(max-width:600px){.ar{--ar-pad:16px;--ar-gap:16px}}

/* ── 共用底座 ───────────────────────────────────────── */
.ar-section{color:var(--ink-2);font-size:var(--ar-fs);line-height:1.9}
.ar-section :is(h2,h3,p,li,dd,figcaption,span,b,strong,a){word-break:normal;line-break:strict;overflow-wrap:anywhere}
.ar-section :is(p,li){margin:0;text-wrap:pretty}
.ar-shell{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ar-gap);min-width:0}
.ar-shell>*{min-width:0}
.ar-card{position:relative;min-width:0;padding:var(--ar-pad);border:1px solid var(--line);border-radius:var(--r-lg);background:var(--white);box-shadow:var(--depth-2)}
.ar-copy,.ar-spread__fig,.ar-step__fig,.ar-chapter__body,.ar-numbers,.ar-b-cases,.ar-field,.ar-main,.ar-stepmap,.ar-block,.ar-after>*{container-type:inline-size}
.ar-copy{display:flex;flex-direction:column;gap:16px;min-width:0}
.ar-copy a[href]:not(.btn),.ar-small a[href]{color:var(--brand-d);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.ar-small{color:var(--ink-3);font-size:max(16px,.88em);line-height:1.8}
.ar-h2{display:flex;align-items:flex-start;gap:14px;margin:0;color:var(--ink);font-size:clamp(22px,1.4vw,31px);font-weight:800;line-height:1.45;text-wrap:balance}
.ar-h2::before{content:"";flex:0 0 auto;width:12px;height:1.15em;margin-top:.15em;border-radius:5px;background:linear-gradient(var(--sky),var(--brand));box-shadow:0 4px 0 var(--brand-d),0 8px 14px -6px rgba(2,103,185,.5)}
.ar-h3{display:flex;align-items:flex-start;gap:10px;margin:0;color:var(--brand-d);font-size:clamp(19px,1.1vw,24px);font-weight:800;line-height:1.5;text-wrap:balance}
.ar-h3 .ar-ico{margin-top:.2em}
.ar-kicker{display:inline-flex;align-items:center;gap:8px;margin:0;color:var(--brand);font-size:16px;font-weight:800;letter-spacing:.08em;line-height:1.5}
.ar-kicker .ar-ico{width:20px;height:20px}
.ar-ico{width:24px;height:24px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ar-ibox{display:inline-grid;place-items:center;flex:0 0 auto;width:48px;height:48px;border:1px solid var(--line);border-bottom:3px solid var(--sky-2);border-radius:14px;background:linear-gradient(150deg,var(--white),var(--tint));color:var(--brand);box-shadow:var(--depth-1)}
.ar-ibox .ar-ico{width:26px;height:26px}
.ar-ibox--wet{border-bottom-color:var(--ar-wet);background:linear-gradient(150deg,var(--white),var(--ar-wet-bg));color:var(--ar-wet)}
.ar-ibox--heat{border-bottom-color:var(--ar-heat);background:linear-gradient(150deg,var(--white),var(--ar-heat-bg));color:var(--ar-heat)}
.ar-ibox--no{border-bottom-color:var(--ar-no);background:linear-gradient(150deg,var(--white),var(--ar-no-bg));color:var(--ar-no)}
.ar-lede{display:flex;flex-direction:column;gap:12px;font-size:clamp(18px,1vw,22px);line-height:1.9}
.ar-lede p{color:var(--ink-2)}
.ar-lede p:first-child{color:var(--ink);font-weight:700}

/* 重點摘要 */
.ar-summary{display:flex;flex-direction:column;gap:10px;min-width:0;padding:clamp(16px,1.5vw,26px);border:1px solid var(--line);border-left:6px solid var(--brand-d);border-radius:var(--r-md);background:linear-gradient(90deg,var(--tint),var(--tint-2))}
.ar-summary__label{display:flex;align-items:center;gap:8px;margin:0;color:var(--brand-d);font-size:17px;font-weight:800;letter-spacing:.06em}
.ar-summary__ico{width:22px;height:22px}
.ar-summary__list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.ar-summary__list li{position:relative;padding-left:24px;color:var(--ink);line-height:1.8}
.ar-summary__list li::before{position:absolute;content:"";left:3px;top:.68em;width:10px;height:10px;border-radius:3px;background:linear-gradient(145deg,var(--brand-2),var(--brand));box-shadow:0 2px 0 var(--brand-d)}
.ar-summary strong,.ar-end strong,.ar-law strong{color:var(--brand-d);font-weight:800}

/* 提示框 */
.ar-note{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--tint-2)}
.ar-note p{color:var(--ink-2)}
.ar-note__ico{margin-top:.3em;color:var(--brand)}
.ar-warn{display:flex;align-items:flex-start;gap:14px;padding:16px;border:1px solid var(--ar-no-bg);border-left:6px solid var(--ar-no);border-radius:var(--r-sm);background:var(--ar-no-bg)}
.ar-warn__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.ar-warn__body b{color:var(--ar-no);font-weight:800}
.ar-warn__body p{color:var(--ink)}
.ar-ifs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
.ar-if{display:flex;align-items:flex-start;gap:12px;padding:14px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--white);box-shadow:var(--depth-1)}
.ar-if__body{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.7}
.ar-if__body b{color:var(--ink);font-weight:800}
.ar-if--alert{border-color:var(--ar-no-bg);background:linear-gradient(160deg,var(--white),var(--ar-no-bg))}
@container (max-width:520px){.ar-ifs{grid-template-columns:minmax(0,1fr)}}

/* ── 圖框與圖解 ─────────────────────────────────────── */
.ar-fig{container:arfig/inline-size;display:flex;flex-direction:column;gap:14px;min-width:0;margin:0;padding:clamp(10px,1.1vw,22px);border:1px solid var(--line);border-radius:var(--r-md);background:linear-gradient(160deg,var(--white),var(--tint-2));box-shadow:var(--depth-1)}
.ar-fig figcaption{color:var(--ink-3);font-size:16px;font-weight:600;line-height:1.7}
.ar-fig__title{color:var(--ink);font-weight:800;line-height:1.6}
.ar-svg{display:block;width:100%;height:auto}
.ar-svg--narrow{display:none;max-width:440px;margin-inline:auto}
@container arfig (max-width:539px){.ar-svg--wide{display:none}.ar-svg--narrow{display:block}}
.ar-svg text{font-family:var(--font);font-weight:800;fill:var(--ink)}
.ar-svg .ar-t2{font-weight:700;fill:var(--ink-2)}
.ar-svg .ar-z1{fill:var(--ar-z1)}
.ar-svg .ar-z2{fill:var(--ar-z2)}
.ar-svg .ar-z3{fill:var(--ar-z3)}
.ar-svg .ar-z4{fill:var(--ar-z4)}
.ar-st-clean{stop-color:var(--ar-ok)}
.ar-st-dirty{stop-color:var(--ar-heat)}
.ar-s-chev{fill:none;stroke:var(--white);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.ar-s-div{fill:none;stroke:var(--ink-3);stroke-width:2;stroke-dasharray:8 8;opacity:.55}
.ar-s-wall,.ar-s-floor{fill:none;stroke:var(--ink-3);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.ar-s-wallthick{fill:none;stroke:var(--ink-3);stroke-width:8;stroke-linecap:round;stroke-linejoin:round}
.ar-s-room{fill:var(--white);stroke:var(--ink-3);stroke-width:3;stroke-linejoin:round}
.ar-s-room--b{fill:none}
.ar-s-door{fill:none;stroke:var(--ink-3);stroke-width:2;stroke-dasharray:4 6}
.ar-s-grille{fill:var(--white);stroke:var(--brand);stroke-width:2.5}
.ar-s-grill{fill:none;stroke:var(--brand);stroke-width:2}
.ar-s-inline{fill:none;stroke:var(--sky);stroke-width:8;stroke-linecap:round}
.ar-s-inhead{fill:var(--sky)}
.ar-s-air{fill:none;stroke:var(--sky);stroke-width:18;stroke-linecap:round;opacity:.5}
.ar-s-airhead{fill:var(--brand-2)}
.ar-s-outline{fill:none;stroke:var(--brand-d);stroke-width:8;stroke-linecap:round}
.ar-s-outhead{fill:var(--brand-d)}
.ar-s-eq{fill:var(--white);stroke:var(--ink-3);stroke-width:2.5}
.ar-s-leg{fill:none;stroke:var(--ink-3);stroke-width:3;stroke-linecap:round}
.ar-s-box{fill:var(--ar-heat-bg);stroke:var(--ar-heat);stroke-width:2}
.ar-s-crate{fill:var(--tint);stroke:var(--brand);stroke-width:2}
.ar-s-person{fill:var(--brand-d);opacity:.82}
.ar-s-fan{fill:var(--white);stroke:var(--brand-d);stroke-width:3}
.ar-s-hub{fill:var(--brand-d)}
.ar-s-blade{fill:none;stroke:var(--brand-d);stroke-width:3;stroke-linecap:round}
.ar-s-steam{fill:none;stroke:var(--ar-heat);stroke-width:3;stroke-linecap:round}
.ar-s-drop{fill:var(--ar-wet)}
.ar-m-steam{fill:var(--ar-heat-bg);stroke:var(--ar-heat);stroke-width:3}
.ar-m-steam-w{fill:none;stroke:var(--ar-heat);stroke-width:2.6;stroke-linecap:round}
.ar-m-drop{fill:var(--ar-wet);stroke:var(--white);stroke-width:2}
.ar-m-alert{fill:none;stroke:var(--ar-no);stroke-width:3;stroke-dasharray:6 5}
.ar-s-cold{fill:var(--sky-2);stroke:var(--brand-2);stroke-width:2}
.ar-s-prod,.ar-s-prodframe{stroke:var(--ar-ok);stroke-width:2.5}
.ar-s-prodframe{fill:none}
.ar-s-prodbg{fill:var(--ar-ok-bg)}
.ar-s-hatch{fill:none;stroke:var(--ar-ok);stroke-width:2.2;opacity:.55}
.ar-s-labelbg{fill:var(--white);stroke:var(--ar-ok);stroke-width:1.5}
.ar-s-route{fill:none;stroke:var(--brand-2);stroke-width:4;stroke-dasharray:10 9;stroke-linecap:round}
.ar-s-routehead{fill:var(--brand-2)}
.ar-s-clock{fill:var(--white);stroke:var(--ink-3);stroke-width:3}
.ar-s-clockh{fill:none;stroke:var(--ink-3);stroke-width:3;stroke-linecap:round}
.ar-s-time1{fill:var(--tint);stroke:var(--brand);stroke-width:2}
.ar-s-time2{fill:var(--ar-wet-bg);stroke:var(--ar-wet);stroke-width:2}
.ar-m-no{fill:var(--ar-no);stroke:var(--white);stroke-width:3}
.ar-m-ok{fill:var(--ar-ok);stroke:var(--white);stroke-width:3}
.ar-m-nox,.ar-m-okv{fill:none;stroke:var(--white);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.ar-s-puff{fill:var(--line);stroke:var(--ink-3);stroke-width:1.5}
.ar-s-truck{fill:var(--white);stroke:var(--ink-3);stroke-width:2.5}
.ar-s-wheel{fill:var(--ink-3)}
.ar-s-bin{fill:var(--ar-heat-bg);stroke:var(--ar-no);stroke-width:2.5}
.ar-s-keepzone{stroke:var(--brand);stroke-width:2;stroke-dasharray:6 5}
.ar-s-keepbg{fill:var(--tint)}
.ar-s-keep{fill:none;stroke:var(--brand-2);stroke-width:2;opacity:.45}
.ar-s-tank{fill:var(--ar-wet-bg);stroke:var(--ar-wet);stroke-width:3}
.ar-s-shelf{fill:var(--white);stroke:var(--ar-ok);stroke-width:3}
.ar-s-shelf--no{fill:var(--ar-no-bg);stroke:var(--ar-no)}
.ar-legend{display:flex;flex-wrap:wrap;gap:8px 20px;margin:0;padding:0;list-style:none}
.ar-legend li{display:flex;align-items:center;gap:8px;color:var(--ink);font-size:16px;font-weight:700;line-height:1.5}
.ar-lg{flex:0 0 auto;width:30px;height:30px}

/* HTML 圖解：負壓換氣流程、三種情況 */
.ar-mini-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0;padding:0;list-style:none}
.ar-mini-flow li{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:14px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--white);box-shadow:var(--depth-1)}
.ar-mini-flow li>span:last-child{display:flex;flex-direction:column;gap:2px;color:var(--ink-2);font-size:16px;line-height:1.6}
.ar-mini-flow b{color:var(--ink);font-size:17px;font-weight:800}
.ar-mini-flow li+li::before{position:absolute;content:"";left:-17px;top:30px;width:11px;height:11px;border-top:3px solid var(--brand-2);border-right:3px solid var(--brand-2);transform:rotate(45deg)}
.ar-cond{display:flex;flex-direction:column;gap:10px;padding:14px;border:1px dashed var(--ar-no);border-radius:var(--r-sm);background:var(--ar-no-bg)}
.ar-cond__title{color:var(--ar-no);font-size:17px;font-weight:800;line-height:1.6}
.ar-cond__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.ar-cond__list li{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border-radius:var(--r-sm);background:var(--white);color:var(--ink);font-size:16px;font-weight:800;line-height:1.5}
@container arfig (max-width:579px){
 .ar-mini-flow,.ar-cond__list{grid-template-columns:minmax(0,1fr)}
 .ar-mini-flow li{flex-direction:row;align-items:center}
 .ar-mini-flow li+li::before{left:28px;top:-17px;transform:rotate(135deg)}
}

/* HTML 圖解：五件事、四個欄位、四種狀況、完工流程 */
.ar-checks,.ar-cols{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.ar-checks li,.ar-cols li{display:flex;flex:1 1 calc((100% - 40px) / 5);flex-direction:column;align-items:center;gap:8px;min-width:0;padding:14px 10px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--white);box-shadow:var(--depth-1);color:var(--ink);font-size:16px;font-weight:800;line-height:1.5;text-align:center}
.ar-cols li{flex-basis:calc((100% - 30px) / 4)}
@container arfig (max-width:759px){.ar-checks li{flex-basis:calc((100% - 20px) / 3)}}
@container arfig (max-width:579px){.ar-cols li{flex-basis:calc((100% - 10px) / 2)}}
@container arfig (max-width:439px){
 .ar-checks li,.ar-cols li{flex-basis:100%;flex-direction:row;padding:10px 14px;text-align:left}
}
.ar-signals{display:flex;flex-direction:column;gap:12px;padding:16px;border:1px solid var(--ar-heat-bg);border-radius:var(--r-md);background:linear-gradient(160deg,var(--white),var(--ar-heat-bg))}
.ar-signals__lead{color:var(--ink);font-weight:800}
.ar-signals__list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none}
.ar-signals__list li{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border-radius:var(--r-sm);background:var(--white);box-shadow:var(--depth-1);color:var(--ink);font-size:16px;font-weight:800}
.ar-signals__then{display:flex;align-items:flex-start;gap:10px;color:var(--ink-2);line-height:1.8}
.ar-signals__ico{margin-top:.3em;color:var(--ar-heat)}
@container (max-width:640px){.ar-signals__list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ar-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0;padding:0;list-style:none}
.ar-flow__step{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:16px 12px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--white);box-shadow:var(--depth-1);text-align:center}
.ar-flow__step img{width:92px;height:92px;mix-blend-mode:multiply}
.ar-flow__step b{color:var(--ink);font-size:18px;font-weight:800;line-height:1.5}
.ar-flow__step>span:last-child{color:var(--ink-2);font-size:16px;line-height:1.7}
.ar-flow__no{position:absolute;left:12px;top:12px;display:grid;place-items:center;width:34px;height:34px;padding-top:2px;border-bottom:3px solid var(--brand-d);border-radius:10px;background:linear-gradient(145deg,var(--brand-2),var(--brand));color:var(--white);font-size:17px;font-weight:800;line-height:1}
.ar-flow__step+.ar-flow__step::before{position:absolute;content:"";left:-17px;top:56px;width:11px;height:11px;border-top:3px solid var(--brand-2);border-right:3px solid var(--brand-2);transform:rotate(45deg)}
@container arfig (max-width:879px){
 .ar-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
 .ar-flow__step:nth-child(3)::before{left:50%;top:-17px;transform:rotate(135deg)}
}
@container arfig (max-width:459px){
 .ar-flow{grid-template-columns:minmax(0,1fr)}
 .ar-flow__step{display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:12px;row-gap:2px;align-items:center;padding:12px;text-align:left}
 .ar-flow__step img{grid-row:1/span 2;width:72px;height:72px}
 .ar-flow__step+.ar-flow__step::before{left:36px;top:-17px;transform:rotate(135deg)}
 .ar-flow__no{left:6px;top:6px;width:28px;height:28px;font-size:15px}
}

/* 數字卡 */
.ar-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.ar-stats--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ar-stat{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;padding:18px 14px;border:1px solid var(--line);border-top:4px solid var(--brand);border-radius:var(--r-md);background:linear-gradient(160deg,var(--white),var(--tint-2));box-shadow:var(--depth-1);text-align:center}
.ar-stat__num{color:var(--brand);font-size:clamp(26px,1.8vw,40px);font-weight:800;line-height:1.25;white-space:nowrap}
.ar-stat__label{color:var(--ink);font-size:16px;font-weight:700;line-height:1.55}
.ar-stat__sub{color:var(--ink-3);font-size:16px;line-height:1.55}
.ar-stat__ico{width:34px;height:34px;color:var(--brand)}
.ar-stats--warm .ar-stat{border-top-color:var(--ar-heat)}
.ar-stats--warm .ar-stat__num{color:var(--ar-heat)}
@container (max-width:519px){
 .ar-stats{grid-template-columns:minmax(0,1fr)}
 .ar-stat{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:14px;row-gap:0;align-items:center;justify-items:start;padding:14px 16px;text-align:left}
 .ar-stat__num{grid-row:1/span 3}
 .ar-stat--fan .ar-stat__ico{display:none}
}

/* 真實施工照 */
.ar .ar-section img{max-width:100%}
.ar-photo{display:flex;flex-direction:column;gap:10px;min-width:0;margin:0;padding:8px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--white);box-shadow:var(--depth-1)}
.ar-photo__img{position:relative;overflow:hidden;border-radius:10px;background:var(--tint)}
.ar-photo__img img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.ar-photo--wide .ar-photo__img img{aspect-ratio:2/1}
.ar-photo--54 .ar-photo__img img{aspect-ratio:5/4}
.ar-photo figcaption{padding:0 6px 4px;color:var(--ink-2);font-size:16px;font-weight:700;line-height:1.6}
.ar-hot{position:absolute;left:var(--x);top:var(--y);display:grid;place-items:center;width:40px;height:40px;padding-top:2px;border:3px solid var(--white);border-radius:50%;background:linear-gradient(145deg,var(--amber),var(--amber-d));color:var(--white);font-size:19px;font-weight:800;line-height:1;box-shadow:0 4px 0 var(--amber-d),0 10px 18px -6px rgba(15,39,71,.6);transform:translate(-50%,-50%)}
.ar-hot--static{position:static;flex:0 0 auto;transform:none}
.ar-records{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@container (max-width:719px){.ar-records{grid-template-columns:minmax(0,1fr)}}
.ar-record{display:flex;flex-direction:column;gap:12px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:var(--r-md);background:linear-gradient(160deg,var(--white),var(--tint-2));box-shadow:var(--depth-1)}
.ar-record__head{display:flex;align-items:center;gap:12px}
.ar-record__tag{color:var(--ink);font-weight:800;line-height:1.5}
.ar-record__where{color:var(--brand-d);font-size:16px;font-weight:700;line-height:1.5}
.ar-record__list{display:grid;gap:8px;margin:0;padding:0;list-style:none}
.ar-record__list li{position:relative;padding-left:22px;line-height:1.8}
.ar-record__list li::before{position:absolute;content:"";left:4px;top:.72em;width:9px;height:9px;border-radius:50%;background:var(--brand)}

/* 法規、常見問題、文末、延伸閱讀 */
.ar-block{display:flex;flex-direction:column;gap:16px;min-width:0}
.ar-block__head{display:flex;align-items:center;gap:14px;min-width:0}
.ar-block__head .ar-h2::before{display:none}
.ar-block__head>div{display:flex;flex-direction:column;gap:2px;min-width:0}
.ar-law{display:flex;align-items:flex-start;gap:16px;padding:clamp(16px,1.5vw,26px);border:1px solid var(--ar-heat-bg);border-left:6px solid var(--ar-heat);border-radius:var(--r-md);background:linear-gradient(90deg,var(--ar-heat-bg),var(--white))}
.ar-law__body{display:flex;flex-direction:column;gap:4px;min-width:0}
.ar-law__tag{color:var(--ar-no);font-size:16px;font-weight:800;letter-spacing:.06em}
.ar-law p{color:var(--ink)}
.ar-law strong{color:var(--ar-no)}
.ar-faqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@container (max-width:759px){.ar-faqs{grid-template-columns:minmax(0,1fr)}}
.ar-faq{display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:var(--r-md);background:linear-gradient(160deg,var(--white),var(--tint-2));box-shadow:var(--depth-1)}
.ar-faq__q,.ar-faq__a{display:flex;align-items:flex-start;gap:10px}
.ar-faq__q strong{color:var(--ink);font-weight:800;line-height:1.7}
.ar-faq__a>span:last-child{line-height:1.8}
.ar-faq__badge{display:inline-grid;place-items:center;flex:0 0 auto;width:30px;height:30px;padding-top:2px;border-bottom:3px solid var(--brand-d);border-radius:9px;background:linear-gradient(145deg,var(--brand-2),var(--brand));color:var(--white);font-size:16px;font-weight:800;line-height:1}
.ar-faq__badge--a{border-bottom-color:var(--ar-ok);background:linear-gradient(145deg,var(--ar-ok),var(--ar-ok));opacity:.92}
.ar-end{display:flex;align-items:flex-start;gap:16px}
.ar-end__body{display:flex;flex:1 1 0;flex-direction:column;gap:14px;min-width:0}
.ar-end__links{display:flex;flex-wrap:wrap;gap:12px}
.ar-btn{height:52px;padding:3px 18px 0;font-size:17px}
.ar-btn .ar-ico{width:22px;height:22px}
.ar-after{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ar-gap)}
.ar-more,.ar-rel{display:flex;flex-direction:column;gap:14px}
.ar-after__title{color:var(--ink);font-size:clamp(18px,1vw,21px);font-weight:800;line-height:1.4}
.ar-more__list{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.ar-more__list>li{flex:1 1 300px;min-width:0}
.ar-rel__groups{display:flex;flex-wrap:wrap;gap:18px}
.ar-rel__group{display:flex;flex:1 1 240px;flex-direction:column;gap:10px;min-width:0}
.ar-rel__title{color:var(--brand-d);font-size:16px;font-weight:800}
.ar-rel__list{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;list-style:none}
.ar-linkbtn{display:flex;align-items:center;gap:12px;height:100%;min-height:52px;padding:10px 14px;border:1px solid var(--line);border-bottom:3px solid var(--sky-2);border-radius:var(--r-sm);background:linear-gradient(135deg,var(--white),var(--tint));box-shadow:var(--depth-1);color:var(--ink);font-size:16px;font-weight:700;line-height:1.5;transition:transform 160ms,border-color 160ms}
.ar-linkbtn .ar-ico{color:var(--brand)}
.ar-linkbtn:hover,.ar-tocgrid a:hover,.ar-stepmap__a:hover,.ar-stepmap__x:hover,.ar-chip:hover{border-color:var(--sky);transform:translateY(-2px)}
.ar-linkbtn:active,.ar-tocgrid a:active,.ar-stepmap__a:active,.ar-stepmap__x:active,.ar-chip:active{transform:translateY(2px)}

.ar-toc__title,.ar-tocgrid__title,.ar-stepmap__title,.ar-chips__title{color:var(--ink);font-size:clamp(18px,1vw,21px);font-weight:800;line-height:1.4}
/* ═══ 乙：圖解步驟 ═══════════════════════════════════ */
.ar-b-article{display:flex;flex-direction:column;gap:var(--ar-gap);min-width:0}
.ar-b-intro{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ar-gap)}
@media(min-width:1101px){.ar-b-intro{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}}
.ar-b-intro__text{display:flex;flex-direction:column;gap:16px;min-width:0}
.ar-stepmap{display:flex;flex-direction:column;gap:14px;min-width:0;padding:clamp(14px,1.4vw,24px);border:1px solid var(--line);border-radius:var(--r-md);background:linear-gradient(160deg,var(--tint),var(--tint-2))}
.ar-stepmap__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 26px;margin:0;padding:0;list-style:none}
.ar-stepmap__list>li{position:relative;min-width:0}
.ar-stepmap__list>li:not(:nth-child(3n))::after{position:absolute;content:"";right:-19px;top:50%;width:11px;height:11px;border-top:3px solid var(--brand-2);border-right:3px solid var(--brand-2);transform:translateY(-50%) rotate(45deg)}
.ar-stepmap__a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:100%;min-height:128px;padding:14px 10px;border:1px solid var(--line);border-bottom:4px solid var(--sky-2);border-radius:var(--r-md);background:linear-gradient(160deg,var(--white),var(--tint));box-shadow:var(--depth-1),0 10px 20px -14px rgba(2,103,185,.45);color:var(--ink);text-align:center;transition:transform 160ms,border-color 160ms}
.ar-stepmap__no{display:inline-grid;place-items:center;width:40px;height:40px;padding-top:2px;border-bottom:4px solid var(--brand-d);border-radius:12px;background:linear-gradient(145deg,var(--brand-2),var(--brand));color:var(--white);font-size:19px;font-weight:800;line-height:1}
.ar-stepmap__a .ar-ico{color:var(--brand)}
.ar-stepmap__t{font-size:17px;font-weight:800;line-height:1.4}
.ar-stepmap__extra{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.ar-stepmap__extra>li{flex:1 1 200px;min-width:0}
.ar-stepmap__x{display:flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:2px 12px 0;border:1px solid var(--line);border-bottom:3px solid var(--sky-2);border-radius:var(--r-sm);background:linear-gradient(var(--white),var(--tint));box-shadow:var(--depth-1);color:var(--brand-d);font-size:16px;font-weight:800;white-space:nowrap;transition:transform 160ms,border-color 160ms}
@container (max-width:459px){
 .ar-stepmap__list{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}
 .ar-stepmap__list>li:not(:nth-child(3n))::after{content:none}
 .ar-stepmap__list>li:nth-child(odd)::after{position:absolute;content:"";right:-18px;top:50%;width:10px;height:10px;border-top:3px solid var(--brand-2);border-right:3px solid var(--brand-2);transform:translateY(-50%) rotate(45deg)}
 .ar-stepmap__a{min-height:112px}
 .ar-stepmap__a .ar-ico{display:none}
}
.ar-steps{display:flex;flex-direction:column;gap:calc(var(--ar-gap) + 20px);margin:0;padding:0;list-style:none}
.ar-step{display:flex;flex-direction:column;gap:clamp(16px,1.6vw,28px);container:arstep/inline-size}
.ar-step+.ar-step::before{position:absolute;content:"";left:calc(var(--ar-pad) + 26px);bottom:100%;width:4px;height:calc(var(--ar-gap) + 22px);background:repeating-linear-gradient(var(--brand-2) 0 7px,transparent 7px 13px)}
.ar-step__head{display:flex;align-items:center;gap:16px}
.ar-step__no{display:inline-grid;place-items:center;flex:0 0 auto;width:56px;height:56px;padding-top:3px;border-bottom:5px solid var(--brand-d);border-radius:16px;background:linear-gradient(145deg,var(--brand-2),var(--brand));box-shadow:var(--depth-1),0 10px 18px -12px rgba(2,103,185,.5);color:var(--white);font-size:26px;font-weight:800;line-height:1}
.ar-step__ttl{display:flex;flex-direction:column;gap:2px;min-width:0}
.ar-step__kicker{color:var(--brand);font-size:16px;font-weight:800;letter-spacing:.06em}
.ar-step .ar-h2::before{display:none}
.ar-step__body{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(16px,1.6vw,28px);align-items:start}
@container arstep (min-width:1000px){.ar-step__body:not(.ar-step__body--full){grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}
.ar-step__fig{display:flex;flex-direction:column;gap:16px}
.ar-step__fig{min-width:0}
.ar-substeps{display:flex;flex-direction:column;gap:clamp(20px,2vw,36px)}
.ar-sub{display:flex;flex-direction:column;gap:14px;padding-top:clamp(16px,1.6vw,24px);border-top:1px dashed var(--line)}
.ar-b-cases{display:flex;flex-direction:column;gap:18px}
.ar-photorow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
@container (max-width:900px){.ar-photorow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container (max-width:459px){.ar-photorow{grid-template-columns:minmax(0,1fr)}}
.ar-b-tail,.ar-c-tail{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ar-gap)}
@media(min-width:1281px){.ar-b-tail,.ar-c-tail{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}}
.ar-b-tail>.ar-block>:last-child,.ar-c-tail>.ar-block>:last-child{flex:1 1 auto}
/* 第 46 棒整合：食品篇「法規」「要裝幾台」補官網既有 3D 插圖（每節有圖） */
.ar-law__fig{flex:0 0 clamp(88px,24%,168px);margin:0}
.ar-law__fig img{display:block;width:100%;height:auto;mix-blend-mode:multiply}
.ar-fig--3d{align-items:center;text-align:center}
.ar-fig--3d img{display:block;width:min(100%,240px);height:auto;mix-blend-mode:multiply}
@container (max-width:459px){.ar-law{flex-direction:column;gap:10px}.ar-law__fig{flex:0 0 auto;width:132px}}
/* 第 46 棒整合第 3 棒：頁首說明改照正文斷行（全站 main p 的 keep-all 遇到長句會硬切，窄寬出現「，」「；」開頭的行） */
.ar .page-hero .page-hero__lead{word-break:normal;line-break:strict}
/* 第 46 棒整合第 5 棒（老闆五題後）：施工／案例照片點一下放大（js/article-zoom.js）；沒打開時只加游標與焦點外框，不動版面 */
.ar-zoomable{cursor:pointer}
.ar-fig--3d>.ar-in-docs{align-self:stretch;text-align:left}
.ar-zoomable:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
.ar-zoom-lock{overflow:hidden}
.ar-zoom{position:fixed;inset:0;z-index:3000;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;grid-template-areas:"bar bar" "fig fig" "prev next";gap:8px;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:rgba(8,14,22,.94);color:#fff;animation:ar-zoom-in .16s ease-out}
.ar-zoom[hidden]{display:none}
.ar-zoom--single{grid-template-rows:auto minmax(0,1fr);grid-template-areas:"bar bar" "fig fig"}
.ar-zoom__bar{grid-area:bar;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.ar-zoom__count{margin:0;padding-left:8px;font-size:16px;font-weight:800;line-height:1.5;font-variant-numeric:tabular-nums}
.ar-zoom__fig{grid-area:fig;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;min-height:0;margin:0}
.ar-zoom__frame{position:relative;flex:1 1 0;width:100%;min-height:0}
.ar-zoom__img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.ar-zoom__cap{flex:0 0 auto;max-width:960px;margin:0;padding:0 8px;font-size:16px;font-weight:700;line-height:1.6;text-align:center;overflow-wrap:anywhere}
.ar-zoom__btn{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;padding:0;border:2px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}
.ar-zoom__btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ar-zoom__btn:hover{background:rgba(255,255,255,.24)}
.ar-zoom__btn:focus-visible{outline:3px solid #a9d9f7;outline-offset:3px}
.ar-zoom__btn[hidden]{display:none}
.ar-zoom__nav--prev{grid-area:prev;justify-self:end}
.ar-zoom__nav--next{grid-area:next;justify-self:start}
@media (min-width:700px),(orientation:landscape) and (min-width:560px){
  .ar-zoom{grid-template-columns:48px minmax(0,1fr) 48px;grid-template-rows:auto minmax(0,1fr);grid-template-areas:"bar bar bar" "prev fig next";column-gap:12px}
  .ar-zoom--single{grid-template-areas:"bar bar bar" ". fig ."}
  .ar-zoom__nav{align-self:center;justify-self:center}
}
@keyframes ar-zoom-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.ar-zoom{animation:none}}
