/* =====================================================
   AaBore 安博力 — theme-field.css（2026-10-26 全站改版：E Field）
   在 main.css／industry.css 之後載入，取代 theme-2026.css＋theme-route.css。
   設計稿：design/Site-E-Field.dc.html 等；class 對照：docs/theme-field-class清單.md
   色票：文字 #10233A／次要 #24425A／註記 #50707A／品牌 #007A73／CTA 紅 #D63F31（hover #E2533F）
         頁面底 #EEF8F6／色塊 薄荷 #B8EDE5 粉 #FFD8CF 淺藍 #D6E2FF 淺黃 #FFE9A8／卡框 #BFE3DD／列線 #DCEFEB
   字型：Noto Sans TC 300／500／700（標題 300＋strong 700）；數字與代碼 Sora
   站長規則：不用米白紙色底、不用大面積深色底、不用印刷雙色、不用明體；不加路線圓點、路線條
   ===================================================== */
:root {
    /* E Field 變數（新元件用） */
    --f-ink:    #10233A;
    --f-ink-2:  #24425A;
    --f-muted:  #50707A;
    --f-brand:  #007A73;
    --f-cta:    #D63F31;
    --f-hover:  #E2533F;
    --f-bg:     #EEF8F6;
    --f-mint:   #B8EDE5;
    --f-pink:   #FFD8CF;
    --f-blue:   #D6E2FF;
    --f-yellow: #FFE9A8;
    --f-line:   #BFE3DD;
    --f-row:    #DCEFEB;
    --f-line-green: #06C755;
    --f-r-hero: 40px;
    --f-r-lg:   28px;
    --f-r-md:   20px;
    --f-r-sm:   14px;
    --f-out: calc(-1 * clamp(0px, (100vw - 800px) / 2, 75px));
    --f-sora: 'Sora', 'Noto Sans TC', system-ui, sans-serif;

    /* 舊變數改指新色（全站內嵌樣式約 3 萬處用這些變數） */
    --brand:       #10233A;
    --brand-mid:   #24425A;
    --brand-dark:  #10233A;
    --accent:      #007A73;
    --accent-lt:   #B8EDE5;
    --gold:        #D63F31;   /* 變數名沿用，值為 CTA 紅 */
    --gold-lt:     #FFB4A6;   /* 深色框裡的連結 */
    --gold-dark:   #B5321F;

    --bg:          #EEF8F6;
    --c-gray-50:   #EEF8F6;
    --c-gray-100:  #DCEFEB;
    --c-gray-200:  #DCEFEB;
    --c-gray-300:  #BFE3DD;
    --c-gray-400:  #7D9AA2;
    --c-gray-500:  #50707A;
    --c-gray-600:  #3A5A68;
    --c-gray-700:  #24425A;
    --c-gray-900:  #10233A;

    --font-heading: 'Noto Sans TC', system-ui, sans-serif;
    --font-body:    'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm:  12px;
    --radius-md:  20px;
    --radius-lg:  28px;
    --radius-pill: 999px;
    --container-max: 1360px;

    --shadow-sm:    0 0 0 1px var(--f-line);
    --shadow-card:  0 0 0 1px var(--f-line);
    --shadow-hover: 0 10px 28px rgba(16,35,58,0.10);
    --shadow-xl:    0 14px 36px rgba(16,35,58,0.12);

    --rule: 1px solid var(--f-row);

    --c-blue:      var(--accent);
    --text-light:  var(--c-gray-500);
}

html { scroll-padding-top: 96px; }
body { color: var(--f-ink); background: var(--f-bg); -webkit-font-smoothing: antialiased; }
::selection { background: var(--f-mint); color: var(--f-ink); }
a { color: var(--f-brand); }
a:hover { color: var(--f-hover); }
:focus-visible { outline: 2px solid var(--f-cta); outline-offset: 2px; }

/* ---------- 標題：300 字重＋strong／em 700 ---------- */
h1, h2, .section-title, .blogger-hero__title, .industry-hero h1, .tool-hero__title, .service-hero h1 {
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
    color: var(--f-ink);
}
.section-title { font-weight: 300; line-height: 1.25; }
.section-title :is(strong, em), .blogger-hero__title :is(strong, em) { font-weight: 700; font-style: normal; color: inherit; }
.section-title em, .blogger-hero__title em { color: var(--f-brand); }
.section-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--f-brand); background: #fff;
    border-radius: 999px; padding: 6px 14px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
}
.section-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--f-cta); }
.section-header::after { display: none; }
.f-num { font-family: var(--f-sora); }

/* =====================================================
   頁首：sticky 80px 白底；五組主選單＋薄荷底 mega menu
   ===================================================== */
.site-header {
    background: #fff;
    border-bottom: 0;
    box-shadow: 0 1px 0 var(--f-line);
    backdrop-filter: none;
}
.header-inner { max-width: 1360px; padding: 0 28px; height: 80px; gap: 18px; justify-content: flex-start; }
.site-main { padding-top: 80px; }
.logo { flex: 0 0 auto; display: flex; }
.logo img { height: 38px; width: auto; }
.main-nav { flex: 1; min-width: 0; }
.nav-list { gap: 6px; }
.nav-link {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 12px; border-radius: 12px;
    font-size: 15px; font-weight: 500; color: var(--f-ink);
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { color: var(--f-ink); background: var(--f-mint); }
.nav-item.is-active > .nav-link { color: var(--f-ink); background: var(--f-bg); box-shadow: inset 0 0 0 1px var(--f-line); }
.nav-item.is-active > .nav-link::after { display: none; }
.caret { font-size: 10px; color: var(--f-muted); opacity: 1; }
.header-search { color: var(--f-ink); width: 44px; height: 44px; border-radius: 12px; margin-left: auto; }
.header-search:hover { color: var(--f-ink); background: var(--f-bg); }
.header-cta {
    background: var(--f-cta); color: #fff;
    height: 48px; padding: 0 22px; border-radius: 12px;
    font-size: 15px; font-weight: 700; gap: 8px;
}
.header-cta:hover { background: var(--f-hover); color: #fff; box-shadow: none; transform: none; }
.header-cta__icon { display: none; }

@media (min-width: 961px) {
    .site-header .header-inner { position: relative; }
    .main-nav .nav-item.has-dropdown { position: static; }
    .mega-dropdown, .mega-dropdown--tools, .mega-dropdown--ops {
        position: fixed; left: 0; right: 0; top: 80px; width: auto !important;
        transform: translateY(8px); border: 0; border-radius: 0; box-shadow: 0 14px 30px rgba(16,35,58,.12);
        background: var(--f-mint); padding: 0;
    }
    .nav-item:hover > .mega-dropdown, .nav-item:focus-within > .mega-dropdown { transform: translateY(0); }
    .mega-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
    .mega-dropdown__inner, .mega-dropdown__inner--tools, .mega-dropdown__inner--4 {
        max-width: 1360px; margin: 0 auto; padding: 32px 28px 36px;
        display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px;
    }
    .mega-intro { display: flex; flex-direction: column; gap: 12px; }
    .mega-intro strong { font-size: 28px; font-weight: 300; line-height: 1.3; color: var(--f-ink); }
    .mega-intro p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--f-ink-2); }
    .mega-col { background: #fff; border-radius: 16px; padding: 20px; }
    .mega-col__title { font-size: 13px; font-weight: 700; color: var(--f-brand); letter-spacing: 0; text-transform: none; margin: 0 0 10px; padding: 0; }
    .mega-col ul { list-style: none; margin: 0; padding: 0; }
    .mega-col a { display: block; padding: 7px 0; font-size: 15px; color: var(--f-ink); border-bottom: 1px solid var(--f-row); border-radius: 0; }
    .mega-col li:last-child a { border-bottom: 0; }
    .mega-col a:hover { background: none; color: var(--f-hover); }
}
.mega-intro { display: none; }
@media (min-width: 961px) { .mega-intro { display: flex; } }
@media (min-width: 961px) and (max-width: 1180px) {
    .nav-link { padding: 10px 8px; font-size: 14px; }
    .header-cta { padding: 0 16px; font-size: 14px; }
    .header-inner { gap: 10px; }
}

/* ---------- 手機選單（<961px）：全螢幕面板＋分類展開＋底部 LINE ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nav-sub-toggle, .nav-mobile-foot { display: none; }
@media (max-width: 960px) {
    .header-inner { height: 64px; justify-content: space-between; padding: 0 16px; }
    .site-main { padding-top: 64px; }
    .logo img { height: 34px; }
    .header-cta { display: none; }
    .header-search { width: 44px; height: 44px; margin-left: auto; margin-right: 4px; }
    .nav-toggle {
        display: flex !important; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
        width: 48px; height: 48px; border-radius: 12px; background: var(--f-mint); border: 0; padding: 0; cursor: pointer; z-index: 1010;
    }
    .nav-toggle__bar { display: block; width: 20px; height: 2px; margin: 0 !important; background: var(--f-ink) !important; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
    .nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
    .nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .main-nav {
        position: fixed !important; top: 64px !important; left: 0 !important; right: 0 !important; width: 100% !important;
        height: calc(100vh - 64px) !important; height: calc(100dvh - 64px) !important;
        background: #fff !important; border: 0 !important; padding: 0 !important; backdrop-filter: none;
        display: flex !important; flex-direction: column; overflow-y: auto; z-index: 999;
        transform: translateX(100%); visibility: hidden;
        transition: transform .28s cubic-bezier(.4,0,.2,1), visibility 0s linear .28s !important;
        overscroll-behavior: contain;
    }
    .main-nav.is-open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.4,0,.2,1) !important; }
    .main-nav::after { display: none !important; }
    .main-nav:focus { outline: none; }
    .nav-overlay, .nav-overlay.is-visible { display: none !important; }
    body.menu-open .mobile-bottom-nav, body.menu-open .float-line-cta, body.menu-open .exit-slide { display: none !important; }

    .nav-list { flex: 1 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
    .nav-item { display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: center; column-gap: 8px; border-bottom: 1px solid var(--f-row); position: relative; }
    .main-nav .nav-link {
        font-size: 18px !important; font-weight: 700; color: var(--f-ink) !important;
        padding: 18px 4px !important; border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0;
    }
    .main-nav .nav-item.is-active > .nav-link { color: var(--f-brand) !important; }
    .caret { display: none; }
    .nav-sub-toggle {
        display: flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border: 0; border-radius: 12px;
        background: var(--f-bg); color: var(--f-brand); cursor: pointer; font-size: 1.25rem; line-height: 1;
    }
    .nav-sub-toggle::before { content: '＋'; }
    .nav-sub-toggle[aria-expanded="true"] { background: var(--f-mint); color: var(--f-ink); }
    .nav-sub-toggle[aria-expanded="true"]::before { content: '－'; }

    .dropdown, .mega-dropdown { display: none !important; }
    .main-nav .nav-item.is-sub-open > :is(.dropdown, .mega-dropdown) {
        display: block !important; grid-column: 1 / -1;
        position: static !important; opacity: 1 !important; visibility: visible !important; transform: none !important;
        width: auto !important; min-width: 0 !important; box-shadow: none !important; border: 0 !important;
        border-radius: 0 !important; background: transparent !important; padding: 0 4px 16px !important; margin: 0 !important;
    }
    .main-nav .mega-dropdown__inner { display: block !important; padding: 0 !important; }
    .main-nav .mega-col { margin: 0 0 12px; padding: 0; background: none; }
    .main-nav .mega-col__title { color: var(--f-brand); padding: 0; margin: 4px 0 4px; font-size: 13px; letter-spacing: 0; text-transform: none; }
    .main-nav .mega-col ul { list-style: none; padding: 0; margin: 0; display: block !important; }
    .main-nav .mega-col a {
        display: block !important; padding: 10px 0 !important; min-height: 44px;
        font-size: 16px !important; color: var(--f-ink) !important; background: none !important;
        border: 0 !important; border-bottom: 1px solid var(--f-bg) !important; border-radius: 0 !important;
    }
    .main-nav .mega-col a[aria-current="page"] { color: var(--f-brand) !important; font-weight: 700; }

    .nav-mobile-foot {
        display: block; position: sticky; bottom: 0; z-index: 20;
        background: #fff; border-top: 1px solid var(--f-row);
        padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    }
    .nav-mobile-foot__line {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        height: 56px; border-radius: 14px; background: var(--f-line-green); color: #fff !important;
        font-weight: 700; font-size: 16px; text-decoration: none;
    }
    .nav-mobile-foot__links { display: flex; justify-content: center; gap: 18px; margin-top: 12px; }
    .nav-mobile-foot__links a { color: var(--f-brand); font-size: 14px; padding: 8px 4px; text-decoration: none; }
}
@media (max-width: 960px) and (prefers-reduced-motion: reduce) {
    .main-nav, .main-nav.is-open { transition: none !important; }
}

/* =====================================================
   按鈕：52px 高膠囊
   ===================================================== */
.btn, .f-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 24px; border-radius: 999px;
    font-weight: 700; box-shadow: none !important; transform: none !important; letter-spacing: 0;
}
.btn--primary, .f-btn--cta { background: var(--f-cta); color: #fff; border-color: var(--f-cta); }
.btn--primary:hover, .f-btn--cta:hover { background: var(--f-hover); color: #fff; }
.f-btn--ink { background: var(--f-ink); color: #fff; }
.f-btn--ink:hover { background: var(--f-ink-2); color: #fff; }
.btn--line, .f-btn--line { background: var(--f-line-green); color: #fff; }
.btn--line:hover, .f-btn--line:hover { background: #05B14A; color: #fff; }
.btn--outline, .btn--ghost, .f-btn--ghost { background: #fff; color: var(--f-ink); border: 0; box-shadow: inset 0 0 0 1.5px var(--f-line) !important; }
.btn--outline:hover, .btn--ghost:hover, .f-btn--ghost:hover { background: var(--f-mint); color: var(--f-ink); }

/* =====================================================
   主視覺（所有頁型）：色塊＋圓角 40px，四色輪用
   ===================================================== */
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero) {
    position: relative;
    background: var(--f-mint) !important;
    color: var(--f-ink) !important;
    border: 0 !important;
    border-radius: var(--f-r-hero);
    max-width: 1360px;
    margin: 24px auto 0 !important;
    width: calc(100% - 40px);
    min-height: 0;
}
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero)::before,
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero)::after { display: none !important; }
.tool-hero { background: var(--f-blue) !important; }
.industry-hero { background: var(--f-yellow) !important; }
:is(.about-hero, .contact-hero) { background: var(--f-pink) !important; }
.blogger-hero { padding: 56px clamp(24px, 4vw, 56px) 56px; }
@media (max-width: 640px) {
    :is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero) {
        width: calc(100% - 24px); margin-top: 12px !important; border-radius: 28px;
    }
    .blogger-hero { padding: 40px 20px; }
}
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero)
    :is(h1, h2, .blogger-hero__title, .about-hero__title, .contact-hero__title, .tool-hero__title) {
    color: var(--f-ink) !important; font-weight: 300; letter-spacing: -0.02em;
}
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero) h1 :is(strong, em) { font-weight: 700; font-style: normal; color: var(--f-brand) !important; }
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero)
    :is(p, li, .blogger-hero__subtitle, .service-hero__subtitle, .about-hero__subtitle, .contact-hero__subtitle, .tool-hero__subtitle, .hero-desc) {
    color: var(--f-ink-2) !important; opacity: 1 !important;
}
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero)
    :is([style*="color:#fff"], [style*="color: #fff"], [style*="color:white"], [style*="color:#FFF"], [style*="color:rgba(255,255,255"], [style*="color: rgba(255,255,255"]):not(.btn):not([class*="btn"]) {
    color: var(--f-ink-2) !important;
}
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero) [style*="background:rgba(255,255,255"] { background: #fff !important; }
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero) a:not(.btn):not([class*="btn"]) { color: var(--f-brand) !important; }
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero) :is(.btn--outline, .btn--ghost, .btn-outline) {
    background: #fff !important; color: var(--f-ink) !important; border: 0 !important; box-shadow: none !important;
}
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero) .btn--primary { color: #fff !important; }
:is(.blogger-hero, .service-hero, .about-hero, .contact-hero, .page-hero, .tool-hero, .industry-hero, .svc-index-hero, .hero)
    :is(.section-eyebrow, [class*="badge"]) {
    color: var(--f-brand) !important; background: #fff !important; border: 0 !important; border-radius: 999px !important;
}
.blogger-hero__badge-dot { background: var(--f-cta); }
.blogger-hero__check svg, .blogger-hero__check svg * { stroke: var(--f-brand) !important; }
.blogger-hero__trust-item svg, .blogger-hero__trust-item svg * { stroke: var(--f-muted) !important; }
.blogger-hero__card { background: #fff; border: 0; border-radius: var(--f-r-lg); box-shadow: none; backdrop-filter: none; }
.blogger-hero__card::before { display: none; }
.blogger-hero__card-label { color: var(--f-muted); }
.blogger-hero__stat { background: var(--f-bg); border: 0; border-radius: var(--f-r-sm); }
.blogger-hero__stat-num { color: var(--f-brand); font-family: var(--f-sora); font-weight: 300; }
.blogger-hero__stat-label { color: var(--f-ink-2); }
.blogger-hero__stat-source { color: var(--f-muted); background: #fff; }
.blogger-hero__result { background: var(--f-ink); border-radius: var(--f-r-sm); }
.blogger-hero__result-left, .blogger-hero__result-left * { color: #fff !important; }
.blogger-hero__grid { align-items: start; }
.blogger-hero__grid > * { min-width: 0; }
@media (max-width: 768px) { .blogger-hero__grid { grid-template-columns: minmax(0, 1fr); } }
.industry-hero-inner {
    display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
    text-align: left !important; max-width: 1360px !important; padding: 0 clamp(24px, 4vw, 56px);
}
.industry-hero .hero-btns { justify-content: flex-start !important; }
.industry-hero .hero-accent { color: var(--f-brand) !important; }
@media (max-width: 900px) { .industry-hero-inner { grid-template-columns: 1fr; gap: 28px; } }
.tool-hero a[style*="rgba(255,255,255"] { background: #fff !important; border: 0; color: var(--f-ink) !important; border-radius: 999px !important; }

/* =====================================================
   內容區、卡片、表格、資料框
   ===================================================== */
.service-content { background: transparent; }
.card, .service-card, .tool-card, .pillar-card, .related-card, .svc-card, .knowledge-card, .report-card {
    border-radius: var(--f-r-md);
}
.data-box {
    background: #fff; border: 0; box-shadow: 0 0 0 1px var(--f-line); border-left: 0;
    border-radius: var(--f-r-md);
}
.data-box .label { border-bottom-color: var(--f-cta); }
.cta-inline { background: var(--f-mint); border-left: 0; border-radius: var(--f-r-sm); }
table { border-collapse: collapse; }
.service-content table, .article-wrap table { background: #fff; border-top: 2px solid var(--f-ink); font-size: 0.93rem; }
.service-content th, .article-wrap th { background: #fff; color: var(--f-ink); font-weight: 700; border-bottom: 2px solid var(--f-ink); }
.service-content td, .article-wrap td { border-bottom: 1px solid var(--f-row); }
.article-wrap tr:nth-child(even) td { background: transparent; }
.service-content tbody tr:hover td, .article-wrap tbody tr:hover td { background: var(--f-bg); }
.price-tax-note, .f-taxnote { font-size: 13px; color: var(--f-muted); }
.faq-item { background: #fff; border: 0; box-shadow: 0 0 0 1px var(--f-line); border-radius: 18px; }
.faq-item summary { color: var(--f-ink); font-family: var(--font-body); font-weight: 700; }
.faq-item__answer { color: var(--f-ink-2); }

/* 深色區塊（內嵌深底）裡的文字、連結（不能大面積深底，但內嵌的小框保留可讀） */
:is([style*="background:var(--c-navy)"], [style*="background: var(--c-navy)"], [style*="background:var(--brand)"],
    [style*="background:var(--c-navy-dark)"], [style*="background:var(--brand-dark)"], [style*="background:#10233A"])
    :is(h2, h3, h4, p, li, strong, small):not([style*="color"]) { color: inherit; }
:is([style*="background:var(--c-navy)"], [style*="background: var(--c-navy)"], [style*="background:var(--brand)"]) h2 { border-top: 0; padding-top: 0; }
:is([style*="background:var(--c-navy)"], [style*="background: var(--c-navy)"], [style*="background:var(--brand)"],
    [style*="background:#10233A"], [style*="background:var(--c-navy-dark)"], .final-cta, .sidebar__block--line):not(.page-hero)
    a:not(.btn):not([class*="btn"]):not([style*="background"]) { color: var(--f-mint) !important; }
:is([style*="background:var(--c-navy)"], [style*="background: var(--c-navy)"], [style*="background:var(--brand)"],
    [style*="background:#10233A"], [style*="background:var(--c-navy-dark)"], .final-cta):not(.page-hero)
    [style*="color:var(--c-blue)"]:not([style*="background"]) { color: var(--f-mint) !important; }
a:is([style*="background:var(--c-gold)"], [style*="background: var(--c-gold)"], [style*="background:var(--gold)"], [style*="background:#D63F31"]) { color: #fff !important; }
.about-diff-card--featured h3 { color: #fff; }
.about-diff-card--featured p { color: rgba(255,255,255,0.8); }
.pricing-combo a:not(.btn) { color: var(--f-mint) !important; }
.cta-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.cta-btn--gold { background: var(--f-cta); color: #fff !important; }
.cta-btn--gold:hover { background: var(--f-hover); }
.btn--primary svg[fill]:not([fill="none"]), .header-cta svg[fill]:not([fill="none"]) { fill: currentColor; }

/* =====================================================
   照片（實景照片 figure／佔位）
   ===================================================== */
.photo-slot {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    background: var(--f-row); border: 1px dashed var(--f-line); border-radius: var(--f-r-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--f-muted); font-size: 0.82rem; overflow: hidden;
}
.photo-slot::before { content: attr(data-label); padding: 6px 12px; background: rgba(255,255,255,0.9); border-radius: 999px; }
.photo-slot--4x3 { aspect-ratio: 4 / 3; border-radius: var(--f-r-lg); }
.photo-slot--wide { aspect-ratio: 21 / 9; }
.photo-slot--cover { aspect-ratio: 16 / 9; margin: 0 0 1.75rem; border-radius: 10px; }
.photo-slot--portrait { aspect-ratio: 3 / 4; width: 220px; flex: 0 0 220px; }
@media (max-width: 768px) { .photo-slot--wide { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) {
    .about-founder { flex-direction: column; }
    .photo-slot--portrait { width: 160px; flex-basis: auto; }
}
.photo-figure { margin: 0; width: 100%; min-width: 0; }
.photo-slot--loaded { display: block; border: 0; background: var(--f-row); }
.photo-slot--loaded::before { content: none; }
.photo-slot--loaded img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-figure figcaption { margin-top: 8px; color: var(--f-muted); font-size: 0.75rem; line-height: 1.6; overflow-wrap: anywhere; text-align: left; }
.photo-figure figcaption a { color: var(--f-brand); text-decoration: underline; text-underline-offset: 3px; }
.photo-figure--cover { margin-bottom: 1.75rem; }
.photo-figure--cover .photo-slot { margin-bottom: 0; }
.blogger-hero__dashboard .photo-slot { margin-bottom: 4px; }

/* =====================================================
   文章頁：單欄 800px，表格外伸到約 900px（--f-out）
   ===================================================== */
.article-layout {
    display: block !important;
    max-width: none !important; margin: 0 !important; padding: 0 !important;
    background: #fff;
}
.site-main:has(.article-layout) { background: #fff; }
.site-main:has(.article-layout) .breadcrumb { max-width: 800px; padding: 20px 24px 0; }
.breadcrumb__item { font-size: 13px; }
.breadcrumb__link { color: var(--f-muted); }
.breadcrumb__sep { color: var(--f-line); }
.breadcrumb__current { color: var(--f-ink); font-weight: 500; }
.article-layout .article-wrap, .article-wrap {
    max-width: 800px; margin: 0 auto; padding: 28px 24px 0;
    background: #fff; min-width: 0;
}
.article-wrap .service-content { background: transparent; padding-left: 0 !important; padding-right: 0 !important; }
/* 不在可捲動區塊裡的表格：桌機同樣外伸到約 900px，外圈淡底 */
.article-wrap table:not([role="region"] table):not(.table-wrap table) {
    margin-left: var(--f-out); margin-right: var(--f-out);
    width: calc(100% - 2 * var(--f-out)); max-width: none;
    box-shadow: 0 0 0 10px var(--f-bg); border-radius: 4px;
}
@media (max-width: 960px) {
    .article-wrap table:not([role="region"] table):not(.table-wrap table) { display: block; overflow-x: auto; box-shadow: none; }
}
.article-wrap .service-content .container, .article-wrap .container { max-width: none !important; padding-left: 0 !important; padding-right: 0 !important; }
.article-wrap h1 { color: var(--f-ink); font-weight: 700 !important; font-size: clamp(30px, 4.2vw, 50px) !important; line-height: 1.22; letter-spacing: -0.01em; }
.article-wrap h2 {
    color: var(--f-ink) !important; font-weight: 700 !important; font-size: clamp(24px, 2.6vw, 30px) !important;
    line-height: 1.35; padding-top: 1.25rem; border-top: 1px solid var(--f-line);
    scroll-margin-top: 90px;
}
.article-wrap h3 { color: var(--f-ink); font-family: var(--font-body); font-weight: 700; }
.article-wrap p, .article-wrap li { line-height: 1.95; color: var(--f-ink); }
.article-wrap > p, .article-wrap .service-content p { font-size: 17px; }
.article-wrap a { color: var(--f-brand); text-decoration: underline; text-decoration-color: rgba(0,122,115,0.35); text-underline-offset: 3px; }
.article-wrap a:hover { color: var(--f-hover); text-decoration-color: currentColor; }
.article-wrap a.btn, .article-wrap .btn, .article-wrap nav a, .article-wrap .toc a, .article-back a { text-decoration: none; }
.article-wrap a:is(.btn, [class*="__btn"], [class*="-btn"], [class*="btn-"]) { text-decoration: none; }
.article-wrap a:is(.btn--primary, .cta-block__btn--tool, .cta-block__btn--line, .related-posts__action-btn--tool,
    .related-posts__action-btn--line, .content-upgrade__btn, .sidebar__btn, .btn--line, .cta-btn) { color: #fff; }
.article-wrap a.btn--outline:not([style*="color"]) { color: var(--f-ink); }
/* 目錄：深色細框 */
.article-wrap .toc, .article-wrap nav[aria-label]:not(.breadcrumb) {
    background: #fff !important; border: 2px solid var(--f-ink) !important; border-left-width: 2px !important;
    border-radius: 10px !important;
}
.article-wrap .toc a { color: var(--f-ink); }
.article-wrap .toc a:hover { color: var(--f-hover); }
/* 表格、可捲動區塊往兩側外伸到約 900px；外層淡底＋圓角 14px */
.article-wrap [role="region"]:not(.f-table), .article-wrap .table-wrap, .article-wrap .f-table--wide {
    margin-left: var(--f-out) !important; margin-right: var(--f-out) !important;
    background: var(--f-bg); border-radius: 14px !important; padding: 10px;
}
.article-wrap [role="region"] > table, .article-wrap .table-wrap > table { border: 1px solid var(--f-line); border-radius: 10px; overflow: hidden; }
.article-wrap > table, .article-wrap .service-content > .container > table {
    display: block; overflow-x: auto;
}
.article-wrap .faq details { background: #fff; border: 0; border-bottom: 1px solid var(--f-line); border-radius: 0; }
.article-wrap .faq summary { color: var(--f-ink); font-family: var(--font-body); }
.article-wrap .faq .answer { color: var(--f-ink-2); }
.article-wrap aside[style*="border-left"] { border-radius: 10px !important; }
.article-meta__pillar { border-radius: 999px; }
@media (max-width: 640px) {
    .article-layout .article-wrap, .article-wrap { padding: 20px 16px 0; }
    .article-wrap > p, .article-wrap .service-content p { font-size: 16px; }
}

/* 重點摘要框（ai-quote-box） */
.summary-box, .f-quote { background: var(--f-bg) !important; border: 0 !important; border-radius: 10px !important; box-shadow: none !important; }

/* =====================================================
   接著讀（原側欄連結）＋延伸閱讀
   ===================================================== */
.sidebar { display: none; }
.f-next { background: var(--f-bg); border-top: 1px solid var(--f-line); }
.f-next__inner { max-width: 948px; margin: 0 auto; padding: 56px 24px 72px; }
.f-next h2 { margin: 0 0 16px; font-size: 20px; font-weight: 700; color: var(--f-ink); border: 0; padding: 0; }
.f-next__label { font-size: 13px; font-weight: 700; color: var(--f-brand); margin: 18px 0 8px; }
.f-next__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.f-next__grid a {
    display: block; height: 100%; background: #fff; border: 1px solid var(--f-line); border-radius: 10px;
    padding: 16px 18px; color: var(--f-ink); font-size: 15px; font-weight: 500; line-height: 1.5; text-decoration: none;
}
.f-next__grid a:hover { background: var(--f-mint); color: var(--f-ink); }
.related-posts { background: var(--f-bg) !important; border-top: 1px solid var(--f-line); }

/* =====================================================
   頁尾前 CTA（cta-block）：薄荷底卡＋LINE
   ===================================================== */
.cta-block { background: transparent; border-top: 0; }
.cta-block__card { border-radius: var(--f-r-lg); box-shadow: none; border: 0; background: var(--f-mint); }
.cta-block__card--tool { background: #fff; box-shadow: 0 0 0 1px var(--f-line); }
.cta-block__btn { border-radius: 999px; box-shadow: none !important; transform: none !important; min-height: 52px; }
.cta-block__btn--tool { background: var(--f-ink); color: #fff; }
.cta-block__btn--tool:hover { background: var(--f-ink-2); color: #fff; }
.cta-block__btn--line { background: var(--f-line-green); color: #fff; }
.cta-block__badge { background: #fff; color: var(--f-brand); border-radius: 999px; }
.cta-block__svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px; margin: 0 auto 20px; max-width: 640px; text-align: left; }
.cta-block__svc-item { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: #fff; border-radius: 14px; color: var(--f-ink); text-decoration: none; }
.article-wrap .cta-block__svc-item { color: var(--f-ink); text-decoration: none; }
.cta-block__svc-item strong { font-size: 15px; }
.cta-block__svc-item span { font-size: 13px; color: var(--f-brand); }
.cta-block__svc-item:hover { box-shadow: 0 0 0 1px var(--f-brand); }
/* 2026-10-28：頁尾前只留一行「下一步」（工具＋服務），LINE 統一由紅底 CTA 承接 */
.cta-block--next { padding: 0; }
.cta-next { max-width: 1100px; margin: 0 auto; padding: 48px 28px 0; display: grid; gap: 12px; }
.cta-next a { text-decoration: none; }
.cta-next__tool { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 22px; background: #fff; border-radius: var(--f-r-lg); box-shadow: 0 0 0 1px var(--f-line); color: var(--f-ink); }
.cta-next__tool:hover { box-shadow: 0 0 0 2px var(--f-brand); color: var(--f-ink); }
.cta-next__badge { flex: 0 0 auto; padding: 4px 12px; border-radius: 999px; background: var(--f-mint); color: var(--f-brand); font-size: 13px; font-weight: 700; }
.cta-next__text { flex: 1 1 260px; min-width: 0; }
.cta-next__text strong { display: block; font-size: 17px; }
.cta-next__text span { display: block; font-size: 14px; color: var(--f-ink-2, #3B4F63); margin-top: 2px; }
.cta-next__go { flex: 0 0 auto; font-weight: 700; color: var(--f-brand); white-space: nowrap; }
.cta-next__svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 8px; }
.cta-next__label { grid-column: 1 / -1; font-weight: 700; font-size: 15px; }
.cta-next .cta-block__svc-item { box-shadow: 0 0 0 1px var(--f-line); }
@media (max-width: 640px) { .cta-next { padding: 36px 12px 0; } }
.cta-mid { background: var(--f-bg); border: 0; box-shadow: 0 0 0 1px var(--f-line); border-radius: var(--f-r-sm); }

/* =====================================================
   頁尾：紅底 CTA＋白底 6 欄
   ===================================================== */
.f-footer-cta { max-width: 1360px; margin: 0 auto; padding: 56px 28px 28px; }
.f-footer-cta__box {
    background: var(--f-cta); border-radius: var(--f-r-lg); padding: 56px;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; color: #fff;
}
.f-footer-cta__title { margin: 0; font-weight: 300; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.2; color: #fff; }
.f-footer-cta__title strong { font-weight: 700; }
.f-footer-cta__text { flex: 1 1 480px; min-width: 0; }
.f-footer-cta__title--page { font-size: clamp(26px, 2.8vw, 40px); }
.f-footer-cta__desc { margin: 14px 0 0; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.92); }
.f-footer-cta__note { flex-basis: 100%; margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.9); }
.f-footer-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.f-footer-cta__btns a {
    display: inline-flex; align-items: center; gap: 8px; height: 58px; padding: 0 26px;
    border-radius: 14px; font-weight: 700; text-decoration: none;
}
.f-footer-cta__line { background: #fff; color: var(--f-ink); }
.f-footer-cta__line:hover { background: var(--f-bg); color: var(--f-ink); }
.f-footer-cta__alt { border: 2px solid #fff; color: #fff; }
.f-footer-cta__alt:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 640px) {
    .f-footer-cta { padding: 40px 12px 12px; }
    .f-footer-cta__box { padding: 32px 22px; border-radius: 22px; }
    .f-footer-cta__btns, .f-footer-cta__btns a { width: 100%; justify-content: center; }
}

.site-footer { background: #fff; color: var(--f-ink); }
.f-footer { max-width: 1360px; margin: 0 auto; padding: 56px 28px 32px; }
.f-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--f-row); }
.f-footer__brand { max-width: 420px; display: flex; flex-direction: column; gap: 14px; }
.f-footer__brand p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--f-ink-2); }
.f-footer__contact { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.f-footer__contact a, .f-footer__contact span {
    padding: 12px 18px; background: var(--f-bg); border-radius: 12px; color: var(--f-ink); font-family: var(--f-sora); font-size: 15px; text-decoration: none;
}
.f-footer__contact span { background: var(--f-mint); font-family: var(--font-body); font-size: 14px; }
.f-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; padding: 40px 0; }
.f-footer__col h3 { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: var(--f-brand); }
.f-footer__col ul { list-style: none; margin: 0; padding: 0; }
.f-footer__col a { display: block; color: var(--f-ink); font-size: 14px; padding: 5px 0; text-decoration: none; }
.f-footer__col a:hover { color: var(--f-hover); }
.f-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--f-muted); }
.f-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.f-footer__legal a { color: var(--f-muted); text-decoration: none; }
.f-footer__legal a:hover { color: var(--f-hover); }
@media (max-width: 640px) {
    .f-footer { padding: 40px 20px 96px; }
    .f-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}

/* 浮動 LINE：右下膠囊，手機只留圖示 */
.float-line-cta {
    right: 20px !important; bottom: 20px !important; left: auto !important;
    height: 52px; width: auto !important; padding: 0 18px 0 14px !important; gap: 8px;
    background: var(--f-line-green) !important; color: #fff !important; border-radius: 999px !important;
    font-weight: 700; font-size: 14px; box-shadow: 0 10px 24px rgba(6,199,85,.35) !important;
    display: flex; align-items: center;
}
.float-line-cta img { width: 24px; height: 24px; }
.float-line-cta__text { display: inline !important; max-width: none !important; opacity: 1 !important; color: #fff; }
@media (max-width: 640px) {
    .float-line-cta { width: 56px !important; height: 56px; padding: 0 !important; justify-content: center; bottom: 16px !important; right: 16px !important; }
    .float-line-cta__text { display: none !important; }
}
/* 手機底部分頁列：E Field 不用（浮動 LINE 與漢堡選單已涵蓋） */
.mobile-bottom-nav { display: none !important; }
.back-to-top { background: #fff; color: var(--f-ink); box-shadow: 0 0 0 1px var(--f-line); border-radius: 50%; }
@media (max-width: 640px) { .back-to-top { bottom: 84px; } }

/* =====================================================
   E Field 元件（docs/theme-field-class清單.md 第 2–3 節）
   ===================================================== */
.f-wrap { max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.f-wrap--1100 { max-width: 1100px; }
.f-wrap--960 { max-width: 960px; }
.f-wrap--800 { max-width: 800px; }
.f-sec { padding-top: 72px; }
@media (max-width: 640px) { .f-wrap { padding: 0 16px; } .f-sec { padding-top: 56px; } }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.f-grid--2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 12px; }

.f-hero { border-radius: var(--f-r-hero); padding: 56px clamp(24px, 4vw, 56px); background: var(--f-mint); }
.f-hero--mint { background: var(--f-mint); } .f-hero--pink { background: var(--f-pink); }
.f-hero--blue { background: var(--f-blue); } .f-hero--yellow { background: var(--f-yellow); }
.f-hero__crumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--f-ink-2); margin-bottom: 20px; }
.f-hero__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 14px; color: var(--f-brand); }
.f-hero__h1 { margin: 0; font-weight: 300; font-size: clamp(36px, 5vw, 72px); line-height: 1.14; letter-spacing: -0.02em; }
.f-hero__h1 strong { font-weight: 700; }
.f-hero__lead { margin: 0; font-size: 17px; line-height: 1.85; color: var(--f-ink-2); max-width: 640px; }

.f-h2 { margin: 0 0 10px; font-weight: 300; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.2; color: var(--f-ink); }
.f-h2 strong { font-weight: 700; }
.f-h2__sub { margin: 0 0 28px; font-size: 16px; line-height: 1.85; color: var(--f-ink-2); max-width: 720px; }

.f-card { background: #fff; box-shadow: 0 0 0 1px var(--f-line); border-radius: 24px; padding: 24px; }
.f-card--tint { box-shadow: none; background: var(--f-bg); }
.f-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--f-line); color: var(--f-ink); font-size: 14px; border: 0; cursor: pointer; }
.f-pill:hover { background: var(--f-mint); color: var(--f-ink); }
.f-pill--on { background: var(--f-ink); color: #fff; box-shadow: none; }
.f-chip { display: inline-block; background: var(--f-mint); font-size: 12px; font-weight: 700; padding: 3px 10px; color: var(--f-ink); }

.f-table { position: relative; background: #fff; border: 1px solid var(--f-line); border-radius: 18px; overflow-x: auto; }
.f-mark { position: relative; }
.f-table__head, .f-table__row { display: grid; align-items: center; padding: 14px 22px; gap: 14px; }
.f-table__head { border-bottom: 2px solid var(--f-ink); font-size: 13px; font-weight: 700; padding-top: 16px; padding-bottom: 16px; }
.f-table__row { border-bottom: 1px solid var(--f-row); color: var(--f-ink); font-size: 15px; text-decoration: none; }
a.f-table__row:hover { background: var(--f-bg); color: var(--f-ink); }
.f-table--wide { margin-inline: var(--f-out); background: var(--f-bg); border-radius: 14px; padding: 10px; border: 0; }
.f-table--wide > .f-table { border-radius: 10px; }
.f-mark { text-align: center; font-size: 18px; color: var(--f-brand); }
/* 證照文對照表（includes/license-matrix.php） */
.f-matrix { margin: 0 0 56px; scroll-margin-top: 90px; }
.f-matrix__grid { min-width: 680px; }
.f-matrix__row { grid-template-columns: 1.6fr .8fr .8fr .9fr 1.6fr; }
.f-matrix .f-table__head .f-mark { font-size: 13px; color: var(--f-ink); }
.f-matrix__t { font-weight: 500; }
.f-matrix__note { font-size: 13px; color: var(--f-ink-2); line-height: 1.6; }
.f-matrix__legend { margin: 12px 0 0; font-size: 13px !important; color: var(--f-muted) !important; line-height: 1.7 !important; }
.article-wrap .f-matrix a.f-table__row { text-decoration: none; color: var(--f-ink); }
.article-wrap .f-matrix .f-table--wide { padding: 10px; }
.article-wrap .f-matrix .f-table { border-radius: 10px; }

.f-keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--f-line); border: 1px solid var(--f-line); }
.f-keys > div { background: #fff; padding: 18px; }
.f-keys strong { display: block; font-family: var(--f-sora); font-weight: 600; font-size: 28px; color: var(--f-brand); }
@media (max-width: 560px) { .f-keys { grid-template-columns: 1fr; } }
.f-notwritten { border-left: 4px solid #FF6B57; background: var(--f-pink); padding: 16px 20px; font-size: 14px; line-height: 1.85; border-radius: 0 10px 10px 0; }
.f-disclaimer { background: #FFF6D6; border-radius: 14px; padding: 16px 20px; font-size: 14px; line-height: 1.85; }
.f-disclaimer__tag { display: inline-block; background: var(--f-ink); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; margin-right: 8px; border-radius: 6px; }
.f-faq { border-bottom: 1px solid var(--f-line); }
.f-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 700; }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: '＋'; color: var(--f-cta); flex: 0 0 auto; }
.f-faq[open] summary::after { content: '－'; }
.f-source { border: 1px solid var(--f-line); border-radius: 10px; padding: 16px 20px; font-size: 13px; line-height: 1.8; color: var(--f-ink-2); }
.f-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.f-steps > * { background: #fff; border-radius: var(--f-r-md); box-shadow: 0 0 0 1px var(--f-line); padding: 24px; }
.f-steps__no { font-family: var(--f-sora); font-weight: 300; font-size: 40px; line-height: 1; color: var(--f-brand); }
.f-check { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--f-row); cursor: pointer; }
.f-result { background: #fff; border: 2px solid var(--f-ink); border-radius: var(--f-r-md); padding: 24px; position: sticky; top: 96px; }
.f-tier--1 { background: var(--f-pink); } .f-tier--2 { background: var(--f-mint); } .f-tier--3 { background: var(--f-yellow); }
.f-status--ok { background: var(--f-mint); } .f-status--chg { background: var(--f-yellow); } .f-status--stop { background: var(--f-pink); }
.f-level--low { background: var(--f-mint); } .f-level--mid { background: var(--f-yellow); } .f-level--high { background: var(--f-pink); }
.f-type--new { background: var(--f-mint); } .f-type--fix { background: var(--f-blue); } .f-type--end { background: var(--f-pink); }
.f-type--platform { background: var(--f-yellow); } .f-type--pending { background: var(--f-bg); box-shadow: inset 0 0 0 1px var(--f-line); }
.f-scope { background: var(--f-yellow); border-radius: 14px; padding: 16px 20px; font-size: 14px; line-height: 1.85; }
.f-limits > div { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--f-row); }
.f-fill { color: var(--f-ink-2); }
.f-toolcta { background: var(--f-mint); border-radius: var(--f-r-md); padding: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.f-seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.f-seg > * { min-width: 44px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--f-bg); box-shadow: inset 0 0 0 1px var(--f-line); cursor: pointer; }
.f-seg > [aria-checked="true"] { background: var(--f-ink); color: #fff; box-shadow: none; }
.f-hit--danger { background: var(--f-pink); border-radius: 14px; padding: 16px; } .f-hit--warn { background: var(--f-yellow); border-radius: 14px; padding: 16px; }
.f-chan { background: var(--f-bg); border-radius: 14px; padding: 16px; }
.f-rep-empty { border: 2px dashed var(--f-line); border-radius: 14px; padding: 20px; color: var(--f-muted); text-align: center; }
.f-cta-single { background: var(--f-mint); border-radius: var(--f-r-lg); padding: 28px; }

/* 舊路線圖元件不再使用（theme-route.css 已停載）；保留 class 以防內嵌引用 */
.route-line, .route-dots { display: none !important; }

/* =====================================================
   首頁（index.php，2026-10-26 E Field）
   ===================================================== */
.f-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--f-cta); display: inline-block; }
.f-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.f-btn--white { background: #fff; color: var(--f-ink); }
.f-btn--white:hover { background: var(--f-bg); color: var(--f-ink); }
.f-bg--mint { background: var(--f-mint); } .f-bg--pink { background: var(--f-pink); }
.f-bg--blue { background: var(--f-blue); } .f-bg--yellow { background: var(--f-yellow); }
.f-right { text-align: right; }
.f-center { text-align: center; }
.f-note { margin: 12px 0 0; font-size: 13px; color: var(--f-muted); line-height: 1.7; }
.f-more { margin: 20px 0 0; font-weight: 700; }
.f-link-strong { font-weight: 700; }
.f-h2-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.f-sec--lg { padding-top: 96px; padding-bottom: 0; }
.f-band { margin-top: 96px; }
.f-band > .f-wrap { padding-top: 88px; padding-bottom: 88px; }
.f-band--white { background: #fff; }
.f-band--pink { background: var(--f-pink); }
@media (max-width: 640px) { .f-sec--lg { padding-top: 56px; } .f-band { margin-top: 56px; } .f-band > .f-wrap { padding-top: 56px; padding-bottom: 56px; } }

.f-home-hero-wrap { padding: 24px 20px 0; }
.f-home-hero {
    max-width: 1360px; margin: 0 auto; background: var(--f-mint); border-radius: var(--f-r-hero);
    padding: 56px clamp(24px, 4vw, 56px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); gap: 40px; align-items: center;
}
.f-home-hero__text { display: flex; flex-direction: column; gap: 22px; }
.f-home-hero__h1 { margin: 0; font-weight: 300; font-size: clamp(40px, 5.4vw, 80px); line-height: 1.14; letter-spacing: -.02em; color: var(--f-ink); }
.f-home-hero__h1 strong { display: inline-block; font-weight: 700; background: #fff; border-radius: 22px; padding: 0 18px; margin-left: -6px; color: var(--f-brand); }
.f-home-hero__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 190px 190px auto; gap: 14px; }
.f-home-hero__ph { border-radius: 28px; overflow: hidden; background: #fff; }
.f-home-hero__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-home-hero__ph--arch { grid-row: span 2; border-radius: 200px 200px 28px 28px; }
.f-home-hero__ph--leaf { border-radius: 28px 28px 200px 28px; }
.f-home-hero__counts { grid-column: span 2; background: #fff; border-radius: 28px; padding: 18px 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; font-size: 12px; color: var(--f-ink-2); line-height: 1.45; }
.f-home-hero__counts .f-num { display: block; font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); line-height: 1; margin-bottom: 6px; }
.f-photo-credit { max-width: 1360px; margin: 8px auto 0; text-align: right; font-size: 11px; color: var(--f-muted); }
@media (max-width: 640px) {
    .f-home-hero-wrap { padding: 12px 12px 0; }
    .f-home-hero { border-radius: 28px; padding: 36px 20px; }
    .f-home-hero__h1 strong { border-radius: 16px; padding: 0 10px; margin-left: 0; }
    .f-home-hero__mosaic { grid-template-rows: 140px 140px auto; gap: 10px; }
    .f-home-hero__counts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
}

.f-stage { min-width: 860px; }
.f-stage__row { grid-template-columns: 1.1fr 1.6fr 1.8fr 1fr; gap: 16px; align-items: start; }
.f-table__row.f-stage__row { padding-top: 20px; padding-bottom: 20px; }
.f-table__row.f-stage__row:hover { background: var(--f-bg); }
.f-stage__name { display: flex; gap: 12px; align-items: flex-start; }
.f-stage__name .f-num { font-size: 28px; font-weight: 300; line-height: 1; }
.f-stage__name strong { display: block; font-size: 17px; }
.f-stage__name small { font-size: 12px; color: var(--f-muted); }
.f-stage__d { font-size: 14px; line-height: 1.8; color: var(--f-ink-2); }
.f-stage__links { display: flex; flex-direction: column; }
.f-stage__links a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--f-ink); border-bottom: 1px dashed var(--f-line); }
.f-stage__links a:hover { color: var(--f-hover); }
.f-stage__cta { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; color: var(--f-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }
.f-stage__cta:hover { color: var(--f-ink); filter: brightness(.96); }

.f-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 10px; }
.f-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 120px; padding: 18px; border-radius: 18px; color: var(--f-ink); transition: transform .15s ease; }
.f-tile:hover { transform: translateY(-3px); color: var(--f-ink); }
.f-tile .f-num { font-size: 12px; color: var(--f-ink-2); }
.f-tile strong { font-size: 19px; font-weight: 700; }
@media (max-width: 640px) { .f-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-tile { min-height: 96px; } }
.f-chips { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.f-chips > span { font-size: 14px; color: var(--f-muted); margin-right: 6px; }
.f-chips .f-pill { background: var(--f-bg); }
.f-chips .f-pill:hover { background: var(--f-ink); color: #fff; }

.f-svc { min-width: 760px; }
.f-svc__row { grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; }
.f-svc__n { font-weight: 500; }
.f-svc__p { font-size: 14px; color: var(--f-ink-2); }
.f-bundles { margin-top: 16px; gap: 16px; }
.f-bundle { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; background: #fff; border-radius: 20px; color: var(--f-ink); box-shadow: 0 0 0 1px var(--f-line); }
.f-bundle:hover { background: var(--f-mint); color: var(--f-ink); }
.f-bundle strong { display: block; font-size: 18px; }
.f-bundle small { font-size: 13px; color: var(--f-ink-2); }
.f-bundle .f-num { font-size: 18px; white-space: nowrap; color: var(--f-brand); }

.f-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: center; }
.f-method { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.f-method__card { background: #fff; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.f-method__top { display: flex; justify-content: space-between; align-items: center; }
.f-method__top strong { font-size: 22px; }
.f-method__top .f-num { font-size: 13px; color: var(--f-cta); }
.f-method__card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--f-ink-2); }
.f-method__out { font-size: 13px; color: var(--f-brand); font-weight: 700; }
@media (max-width: 480px) { .f-method { grid-template-columns: 1fr; } }

.f-cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 16px; margin-top: 32px; }
.f-case { position: relative; display: block; aspect-ratio: 3 / 4; max-height: 520px; border-radius: 24px; overflow: hidden; color: var(--f-ink); background: var(--f-mint); }
.f-case:hover { color: var(--f-ink); }
.f-case__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.f-case__card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: #fff; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.f-case__card strong { font-size: 20px; }
.f-case__card > span:not(.f-case__tag) { font-size: 14px; line-height: 1.75; color: var(--f-ink-2); }
.f-case__tag { font-size: 12px; color: var(--f-brand); font-weight: 700; }
.f-case__card small { font-size: 11px; color: var(--f-muted); }
@media (max-width: 640px) { .f-case { aspect-ratio: 4 / 5; } }

.f-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; margin-top: 20px; }
.f-principle { background: var(--f-bg); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.f-principle .f-num { width: 40px; height: 40px; border-radius: 12px; background: var(--f-mint); color: var(--f-brand); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.f-principle strong { font-size: 20px; }
.f-principle p { margin: 0; font-size: 15px; line-height: 1.85; color: var(--f-ink-2); }

.f-tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 16px; }
.f-tr h2 { margin: 0 0 20px; font-weight: 700; font-size: 30px; color: var(--f-ink); }
.f-tr h2 small { font-weight: 300; font-size: 18px; color: var(--f-ink-2); margin-left: 12px; }
.f-tr__tools { background: var(--f-mint); border-radius: 24px; padding: 36px; }
.f-tr__tools a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border-radius: 14px; margin-bottom: 8px; color: var(--f-ink); }
.f-tr__reports { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 0 0 1px var(--f-line); }
.f-tr__reports a { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--f-row); color: var(--f-ink); }
.f-tr__reports .f-num { font-size: 28px; font-weight: 300; color: #FF6B57; }
.f-tr a:hover { color: var(--f-hover); }
.f-tr strong { display: block; font-size: 17px; }
.f-tr small { font-size: 13px; color: var(--f-ink-2); }
@media (max-width: 640px) { .f-tr__tools, .f-tr__reports { padding: 24px 20px; } }

.f-home-faq { padding-top: 96px; padding-bottom: 40px; }
.f-home-faq .f-h2 { margin-bottom: 24px; }
.f-faq-card { background: #fff; border-radius: 18px; margin-bottom: 10px; box-shadow: none; }
.f-faq-card summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 26px; font-size: 17px; font-weight: 700; }
.f-faq-card summary::-webkit-details-marker { display: none; }
.f-faq-card summary::after { content: '＋'; color: #FF6B57; flex: 0 0 auto; }
.f-faq-card[open] summary::after { content: '－'; }
.f-faq-card .faq-item__answer { padding: 0 26px 24px; }
.f-faq-card .faq-item__answer p { margin: 0; font-size: 15px; line-height: 1.9; color: var(--f-ink-2); }

/* =====================================================
   成本文自填表（js/main.js 依表頭「你的數字」產生；決策第 17 項）
   ===================================================== */
.f-fill-print { display: none; }
.f-fill-in { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 150px; }
.f-fill-kind {
    align-self: flex-start; border: 0; cursor: pointer; border-radius: 999px; padding: 2px 10px;
    font-size: 11px; font-weight: 700; color: var(--f-ink); min-height: 24px;
}
.f-fill-kind--once { background: var(--f-mint); }
.f-fill-kind--month { background: var(--f-yellow); }
.f-fill-box {
    display: flex; align-items: center; gap: 6px; height: 44px; border: 1px solid var(--f-line); border-radius: 12px;
    padding: 0 12px; background: #fff; font-family: var(--f-sora); font-size: 14px;
}
.f-fill-box span { color: var(--f-muted); }
.f-fill-box input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; background: transparent; text-align: right; }
.f-fill-box:focus-within { border-color: var(--f-ink); }
.f-fill-sum {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px;
    background: var(--f-line); border: 1px solid var(--f-line); border-radius: 12px; overflow: hidden; margin: 12px 0 20px;
}
.f-fill-sum > div { background: var(--f-mint); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.f-fill-sum small { font-size: 12px; color: var(--f-ink-2); }
.f-fill-sum strong { font-size: 22px; font-weight: 600; color: var(--f-ink); }
.f-fill-sum__total { background: var(--f-yellow) !important; }
.f-fill-sum__total label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--f-ink-2); }
.f-fill-sum__total input { width: 72px; height: 32px; border: 1px solid var(--f-ink); border-radius: 8px; padding: 0 8px; font: inherit; font-family: var(--f-sora); background: #fff; }
@media print {
    .f-fill-print { display: inline; }
    .f-fill-in, .f-fill-sum { display: none !important; }
}
/* 卡片（.data-box）裡的表格不外伸 */
.article-wrap .data-box table { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; box-shadow: none !important; }
.article-wrap .f-fill-table td:first-child { min-width: 5em; }
@media (max-width: 640px) {
    .article-wrap table.f-fill-table, .article-wrap table.f-fill-table tbody, .article-wrap table.f-fill-table tr, .article-wrap table.f-fill-table td { display: block; width: auto !important; }
    .article-wrap table.f-fill-table thead { display: none; }
    .article-wrap table.f-fill-table tr { padding: 12px 0; border-bottom: 1px solid var(--f-row) !important; }
    .article-wrap table.f-fill-table td { padding: 2px 0 !important; border: 0 !important; }
    .article-wrap table.f-fill-table td:first-child { font-weight: 700; min-width: 0; }
    .f-fill-in { min-width: 0; margin-top: 6px; }
}

/* =====================================================
   產業頁（industry/_template-body.php）：推薦服務對照表、延伸閱讀分組
   ===================================================== */
.ind-svc { max-width: 1100px; margin: 0 auto; }
.ind-svc__grid { min-width: 900px; }
.ind-svc__row { grid-template-columns: 1.4fr .55fr .55fr .55fr 2.2fr 1fr; }
.ind-svc .f-table__head .f-mark { font-size: 13px; color: var(--f-ink); }
.ind-svc__n { display: block; font-weight: 700; color: var(--f-ink); text-decoration: none; }
.ind-svc__n:hover { color: var(--f-brand); }
.ind-svc .service-tag { position: static; display: inline-block; margin: 4px 0 0; padding: 2px 8px; border-radius: 999px; background: #FFE9A8; color: var(--f-ink); font-size: 11px; }
.ind-svc__d { font-size: 14px; line-height: 1.7; color: var(--f-ink-2); }
.ind-svc__p { text-align: right; font-size: 13px; color: var(--f-ink-2); }
.ind-svc__note { max-width: 1100px; margin: 12px auto 0; font-size: 13px; color: var(--f-muted); }
.ind-pills__lead { margin: -4px 0 14px; font-size: 14px; color: var(--f-ink-2); }
.ind-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.ind-pill { display: inline-block; background: #fff; box-shadow: 0 0 0 1px var(--f-line); border-radius: 999px; padding: 9px 16px; color: var(--f-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.ind-pill:hover { background: var(--f-ink); color: #fff; }
