:root{--green:#1f7a4d;--green-d:#155a38;--mint:#e3f6ea;--mint-d:#d0f3dc;--ink:#1c2a22;--muted:#5b6b62;--line:#d5e3da;--bg:#fff;--radius:10px;--shadow:0 1px 3px rgba(20,60,40,.12);--shadow-h:0 8px 22px rgba(20,60,40,.18)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:system-ui,-apple-system,"Segoe UI","Noto Sans TC","Noto Sans JP","PingFang TC","Microsoft JhengHei","Hiragino Sans","Yu Gothic",sans-serif;color:var(--ink);background:var(--bg);line-height:1.7;font-size:1rem;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
a{color:var(--green-d)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #f2b705;outline-offset:2px}
h1{font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.25;margin:.2em 0 .6em}
h2{font-size:clamp(1.3rem,3vw,1.7rem);line-height:1.3;margin:1.6em 0 .7em}
h3{font-size:1.15rem;margin:1.4em 0 .4em}
.wrap{max-width:1180px;margin:0 auto;padding:0 20px}
.narrow{max-width:860px}
.pad{padding-top:32px;padding-bottom:56px}
.center{text-align:center}
.skip{position:absolute;left:-999px}
.skip:focus{left:8px;top:8px;background:#fff;padding:8px 12px;z-index:100}
.eyebrow{color:var(--green);font-weight:700;letter-spacing:.06em;font-size:.85rem;margin:0}
.lead{font-size:1.08rem;color:#33443a;max-width:46em}
.btn{display:inline-block;background:var(--green);color:#fff;border:2px solid var(--green);padding:.55em 1.3em;border-radius:999px;font-weight:700;text-decoration:none;font-size:1rem;cursor:pointer;font-family:inherit;line-height:1.4}
.btn:hover{background:var(--green-d);border-color:var(--green-d)}
.btn.ghost{background:transparent;color:var(--green-d)}
.btn.ghost:hover{background:var(--mint)}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(6px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:16px;min-height:68px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);margin-right:auto}
.brand b{display:block;font-size:1.1rem;line-height:1.2;white-space:nowrap}
.brand small{display:block;font-size:.62rem;letter-spacing:.04em;color:var(--muted);font-weight:700;white-space:nowrap}
#nav{display:flex;align-items:center;gap:8px}
#nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2px}
#nav>ul>li{position:relative}
#nav a{display:block;padding:.5em .6em;text-decoration:none;color:var(--ink);border-radius:6px;font-weight:600;font-size:.95rem;white-space:nowrap}
#nav a:hover,#nav a[aria-current=page]{background:var(--mint);color:var(--green-d)}
#nav .has-sub>ul{display:none;position:absolute;left:0;top:100%;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow-h);padding:6px;min-width:220px;flex-direction:column}
#nav .has-sub:hover>ul,#nav .has-sub:focus-within>ul{display:flex}
/* third level: a category's groups (series heading + sub-groups) fly out to the right */
#nav .has-sub2{position:relative}
#nav .sub-toggle{display:none}
#nav .has-sub2>a::after{content:"›";float:right;margin-left:1em;opacity:.55}
#nav .has-sub2>ul{display:none;position:absolute;left:100%;top:-7px;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow-h);padding:6px;min-width:230px;flex-direction:column}
#nav .has-sub2:hover>ul,#nav .has-sub2:focus-within>ul{display:flex}
#nav .has-sub2 .ser>a{font-size:.8rem;color:var(--green-d);padding-top:.7em;letter-spacing:.02em}
#nav .has-sub2 .ser:first-child>a{padding-top:.4em}
#nav .has-sub2 .in>a{font-weight:400;padding-left:1.4em}
.lang{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;margin-left:8px}
.lang a{display:block;padding:.3em .7em;font-size:.8rem;font-weight:600;text-decoration:none;color:var(--ink);white-space:nowrap}
.lang a:hover{background:var(--mint);color:var(--green-d)}
.lang a[aria-current=true],.lang a[aria-current=true]:hover{background:var(--green);color:#fff}
.nav-toggle{display:none;background:none;border:1px solid var(--line);border-radius:8px;width:44px;height:44px;padding:10px;cursor:pointer}
.nav-toggle span{display:block;height:2px;background:var(--ink);margin:5px 0}
@media (max-width:1200px){
 .nav-toggle{display:block}
 #nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow-h);padding:12px 20px 18px;flex-direction:column;align-items:stretch;max-height:calc(100vh - 68px);overflow:auto}
 #nav.open{display:flex}
 #nav ul{flex-direction:column}
 #nav .has-sub>ul{display:flex;position:static;border:0;box-shadow:none;padding:0 0 0 14px;min-width:0}
 #nav .has-sub>ul a{font-weight:400}
 #nav .has-sub2>a::after{content:none}
 #nav .has-sub2>ul{position:static;border:0;border-left:2px solid var(--line);border-radius:0;box-shadow:none;margin:2px 0 8px 22px;padding:0 0 0 10px;min-width:0;flex-basis:100%}
 /* folded unless .open: also while the arrow just tapped still has the focus or the finger still "hovers" (the computer rules above would keep it showing) */
 #nav .has-sub2:not(.open)>ul{display:none}
 #nav .has-sub2.open>ul{display:flex}
 #nav .has-sub2{display:flex;flex-wrap:wrap;align-items:center}
 #nav .has-sub2>a{flex:1 1 0;min-width:0;white-space:normal}
 #nav .sub-toggle{display:block;flex:none;width:44px;height:40px;border:0;border-radius:8px;background:none;cursor:pointer;position:relative}
 #nav .sub-toggle::before{content:"";position:absolute;left:50%;top:50%;width:9px;height:9px;border-right:2px solid var(--green-d);border-bottom:2px solid var(--green-d);transform:translate(-50%,-70%) rotate(45deg);transition:transform .15s}
 #nav .has-sub2.open>.sub-toggle::before{transform:translate(-50%,-30%) rotate(-135deg)}
 #nav .sub-toggle:hover,#nav .sub-toggle:focus-visible{background:var(--mint)}
 /* one text size for the whole phone menu; the levels differ by weight, colour and indent only */
 #nav .has-sub2>ul a{font-size:.95rem;padding:.45em .75em}
 #nav .has-sub2 .ser>a{font-size:.95rem;font-weight:600;letter-spacing:0;padding-top:.6em}
 #nav .has-sub2 .in>a{padding-left:1.5em}
 .lang{order:2;margin-left:0}
 .search-link{order:2}
 .nav-toggle{order:3}
 .brand small{display:none}
}

/* hero + sections */
.hero{position:relative;overflow:hidden;background:radial-gradient(120% 140% at 85% 10%,#23382c 0%,#0f1a14 55%,#0a120e 100%);color:#fff;padding:84px 0 72px;min-height:min(78vh,640px);display:flex;align-items:center}
.hero>.wrap{position:relative;z-index:2;width:100%}
.lightfield{position:absolute;inset:0;width:100%;height:100%;z-index:0}
.hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(10,18,14,.9) 0%,rgba(10,18,14,.62) 42%,rgba(10,18,14,0) 78%)}
/* phones: the language switcher gets its own slim row at the top of the header so it is always in view */
@media (max-width:560px){.bar{flex-wrap:wrap;gap:0 12px;min-height:0;padding-bottom:6px}.bar>.search-link{order:-1;margin:6px 8px 2px auto}.lang{order:-1;margin:6px 0 2px 0}.brand{flex:1 0 calc(100% - 60px);min-width:0}}
.bar>.lang,.bar>.search-link{flex:none}
@media (max-width:760px){.hero-shade{background:rgba(10,18,14,.6)}.hero{padding:64px 0 56px}}
.hero .eyebrow{color:#ffd9a0}
.hero h1{font-size:clamp(2.1rem,6vw,3.6rem);margin:.1em 0;letter-spacing:.02em;text-shadow:0 2px 24px rgba(0,0,0,.5)}
.slogan{font-size:clamp(1.1rem,2.6vw,1.6rem);color:#ffe1b0;font-weight:700;margin:.2em 0 .8em}
.hero .lead{color:#e4ece7;max-width:36em}
.hero .btn{background:#fff;color:#12201a;border-color:#fff}
.hero .btn:hover{background:#ffe1b0;border-color:#ffe1b0}
.hero .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.hero .btn.ghost:hover{background:rgba(255,255,255,.14)}
.hero.sub{min-height:0;padding:46px 0 42px;display:block}
.hero.sub h1{font-size:clamp(1.8rem,4.6vw,2.9rem);margin:.15em 0 .2em}
.hero .crumbs ol{color:#b9cdc0}
.hero .crumbs a{color:#ffe1b0}
.hero .count{color:#b9cdc0;margin:.2em 0 0}
.hero.sub .lead{margin:.4em 0 0}
.hero+.pad{padding-top:36px}
.stats{background:#0a120e;color:#fff;border-top:1px solid #22332a}
.stats .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding-top:26px;padding-bottom:26px}
@media (max-width:620px){.stats .wrap{grid-template-columns:repeat(2,1fr);gap:18px 8px}}
.stat b{display:block;font-size:clamp(1.8rem,4.5vw,2.8rem);line-height:1.1;color:#ffd9a0;font-variant-numeric:tabular-nums}
.stat span{font-size:.88rem;color:#b9cdc0}
.band{position:relative;overflow:hidden;background:linear-gradient(120deg,#0f1a14,#1f3a2c);color:#fff;padding:56px 0}
.band::after{content:"";position:absolute;right:-120px;top:-160px;width:520px;height:520px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,190,110,.35),rgba(255,190,110,0));pointer-events:none}
.band .wrap{position:relative;z-index:1}
.band h2{margin-top:0;color:#fff}
.band p{max-width:40em}
.band .btn{background:#fff;color:var(--ink);border-color:#fff}

/* cards + grids */
.grid{display:grid;gap:18px}
.grid.cats{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.grid.prods{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.grid.photos{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
@media (max-width:520px){.grid{gap:12px}.grid.cats,.grid.prods,.grid.photos{grid-template-columns:repeat(2,1fr)}}
.card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--ink);box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.card{position:relative}
.card::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .25s;background:radial-gradient(260px circle at var(--mx,50%) var(--my,50%),rgba(255,196,110,.30),rgba(255,196,110,0) 62%);mix-blend-mode:multiply}
.card:hover::after{opacity:1}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-h)}
.card img,.card .ph{width:100%;aspect-ratio:4/3;object-fit:contain;background:#fff;padding:6px}
.card .ph{background:var(--mint)}
.card-t{display:block;padding:.65em .8em;font-weight:700;border-top:1px solid var(--line);background:#f7fbf8;flex:1;line-height:1.4}
.card-t small{display:block;font-weight:400;color:var(--muted);font-size:.82rem}
.card-t.sm{font-size:.85rem;font-weight:600}
.grp{border-left:5px solid var(--green);padding-left:.6em}
.count{color:var(--muted);margin-top:-.6em}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4em;padding:0;margin:0 0 .4em;font-size:.88rem;color:var(--muted)}
.crumbs li+li::before{content:"/";margin-right:.4em;color:#9aa}

/* product */
.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:32px;align-items:start;margin-top:12px}
@media (max-width:760px){.product{grid-template-columns:1fr;gap:18px}}
.p-main{display:block;border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:10px}
.p-main img{margin:auto;max-height:520px;width:auto}
.p-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.p-thumbs button{border:2px solid var(--line);border-radius:8px;background:#fff;padding:2px;width:72px;height:72px;cursor:pointer}
.p-thumbs button[aria-current=true]{border-color:var(--green)}
.p-thumbs img{width:100%;height:100%;object-fit:contain}
.p-desc{padding-left:1.2em;margin:.6em 0 1.2em}
.label{font-size:.85rem;color:var(--muted);font-weight:700;margin:1em 0 .2em}
.badges{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:.2em 0 1.2em}
.badges img{max-height:72px;width:auto}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius)}
/* a table wider than a phone screen: fade its right edge while there is more to the right, and say it scrolls sideways (site.js sets .more and un-hides the hint) */
.swipe-hint{display:none}
@media (max-width:760px){
  .table-wrap.more{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent)}
  .swipe-hint:not([hidden]){display:block;margin:.45em 0 0;text-align:center;font-size:.82rem;color:var(--muted)}
}
table.spec{border-collapse:collapse;width:100%;font-size:.93rem;white-space:nowrap}
.spec th,.spec td{padding:.55em .9em;text-align:center;border-bottom:1px solid var(--line)}
.spec thead th{background:var(--mint-d);font-weight:700}
.spec tbody tr:nth-child(even){background:#f6faf7}
.viz{display:flex;flex-wrap:wrap;gap:18px;margin-top:22px}
.chart{flex:1 1 380px;border:1px solid var(--line);border-radius:var(--radius);padding:14px 16px 8px;background:#fff}
.chart.beam{flex:0 1 380px}
.chart figcaption{text-align:left;font-weight:700;color:var(--ink);font-size:.95rem;margin:0 0 6px}
.chart svg{display:block;width:100%;height:auto;overflow:visible}
.back{margin-top:2em}

/* prose */
.prose{font-size:1.04rem}
.prose h2{border-bottom:2px solid var(--mint-d);padding-bottom:.25em}
.prose ul{padding-left:1.3em}
.prose.intro{font-size:1rem;background:var(--mint);border-radius:var(--radius);padding:4px 18px;margin-bottom:1.2em}
.figs{display:grid;gap:14px;margin:1.2em 0}
.figs-2{grid-template-columns:repeat(2,1fr)}
.figs-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:600px){.figs-3{grid-template-columns:1fr 1fr}}
figure{margin:0}
figure img{border-radius:8px;margin:auto}
figcaption{text-align:center;font-size:.88rem;color:var(--muted);margin-top:.3em}

/* contact */
.contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:28px;margin-top:20px}
@media (max-width:760px){.contact{grid-template-columns:1fr}}
.contact-card{background:var(--mint);border-radius:var(--radius);padding:22px 24px;margin-top:1.5em}
.contact .contact-card{margin-top:0}
.contact-card h2{margin-top:0}
address{font-style:normal}
.form label{display:block;font-weight:600;margin-bottom:14px}
.form input,.form textarea{display:block;width:100%;margin-top:4px;padding:.6em .7em;border:1px solid #b9c9bf;border-radius:8px;font:inherit;background:#fff}
.req{color:#b3261e}
.hp{position:absolute;left:-9999px;height:0;overflow:hidden}
.note{padding:.8em 1em;border-radius:8px;font-weight:600}
.note.ok{background:#dff5e6;color:#11572f;border:1px solid #9fd8b4}
.note.err{background:#fde7e5;color:#8c1d18;border:1px solid #f2b8b5}

/* footer */
.site-footer{background:#15231b;color:#d7e4dc;padding:36px 0 18px;margin-top:20px;font-size:.93rem}
.site-footer a{color:#fff}
.cols{display:grid;grid-template-columns:1.2fr 1fr 1.4fr;gap:24px}
@media (max-width:760px){.cols{grid-template-columns:1fr}}
.site-footer ul{list-style:none;margin:0;padding:0;columns:2}
.f-brand{font-size:1rem}
.copy{border-top:1px solid #2c3d33;margin-top:22px;padding-top:14px;font-size:.8rem;color:#9db3a6}

/* lightbox */
#lb{border:0;padding:0;background:transparent;max-width:96vw;max-height:96vh}
#lb::backdrop{background:rgba(0,0,0,.86)}
#lb img{max-width:96vw;max-height:86vh;width:auto;height:auto;margin:auto;border-radius:4px;background:#fff}
#lb p{color:#fff;text-align:center;margin:.5em 0 0}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* share + QR */
.share{display:flex;gap:22px;align-items:center;background:var(--mint);border:1px solid var(--line);border-radius:var(--radius);padding:18px 22px;margin-top:34px}
.share h2{margin:0 0 .2em;font-size:1.25rem}
.share p{margin:.3em 0}
.share-qr{width:148px;height:148px;flex:none;background:#fff;border-radius:8px;border:1px solid var(--line);image-rendering:pixelated}
.share-url{font-family:ui-monospace,Consolas,monospace;font-size:.85rem;color:var(--muted);word-break:break-all}
.share-btns .btn{font-size:.9rem;padding:.4em 1.1em;margin:4px 4px 0 0}
@media (max-width:560px){.share{flex-direction:column;align-items:flex-start}}

/* content pages: headings sit centred over the centred images */
.prose h2,.prose h3{text-align:center}
.prose ul{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}
.prose p:has(> strong:only-child){text-align:center}

/* pictures shown side by side are the same size, so their captions sit on one line */
.figs-2,.figs-3{align-items:start}
.figs-2 figure a,.figs-3 figure a{display:block}
.figs-2 img,.figs-3 img{width:100%;aspect-ratio:3/2;object-fit:cover}

/* share block in the footer of every page */
.site-footer .share{background:#1d2e25;border-color:#2c3d33;color:#d7e4dc;margin:0 0 30px}
.site-footer .share h2{color:#fff}
.site-footer .share-url{color:#9db3a6}
.site-footer .share .btn{background:#fff;color:#15231b;border-color:#fff}
.site-footer .share .btn.ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
.site-footer .share .btn.ghost:hover{background:rgba(255,255,255,.12)}
.site-footer .share-qr{border-color:#fff}
.search-link{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;color:var(--ink);border:1px solid var(--line);margin-left:8px}
.search-link:hover,.search-link[aria-current=page]{background:var(--mint);color:var(--green-d)}
.search-form{display:flex;gap:10px;max-width:640px;margin:0 auto 26px}
.search-form input{flex:1;min-width:0;padding:.7em 1em;border:1px solid #b9c9bf;border-radius:999px;font:inherit;background:#fff}
.count.found{margin:0 0 14px;text-align:center}
.form-note{font-size:.85rem;color:var(--muted);margin-top:-.4em}
.copy a{color:inherit}
.prose.faq h2{text-align:left;font-size:1.15rem;margin-top:1.6em}
.cta-bar{display:none}
@media (max-width:760px){
 .cta-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:40;background:#fff;border-top:1px solid var(--line);box-shadow:0 -4px 14px rgba(0,0,0,.08);padding:8px 10px calc(8px + env(safe-area-inset-bottom));gap:8px}
 .cta-bar a{flex:1;text-align:center;padding:.65em .3em;border-radius:999px;border:1px solid var(--green);color:var(--green-d);font-weight:700;font-size:.92rem;text-decoration:none;white-space:nowrap}
 .cta-bar a.main{background:var(--green);color:#fff}
 .cta-bar a.line{border-color:#06c755;color:#058a3c}
 body:has(.cta-bar){padding-bottom:calc(62px + env(safe-area-inset-bottom))}
}
@media print{.cta-bar{display:none!important}}
/* product catalogue PDF: download, page images, text */
.pdf-pages{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;margin:1rem 0}
.pdf-pages figure{margin:0}.pdf-pages img{width:100%;height:auto;display:block;border:1px solid rgba(127,127,127,.25);border-radius:6px;background:#fff}
.pdf-pages figcaption{font-size:.85em;opacity:.75;text-align:center;margin-top:.3em}
.pdf-text{margin:1rem 0;border:1px solid rgba(127,127,127,.25);border-radius:8px;padding:.6rem 1rem}
.pdf-text summary{cursor:pointer;font-weight:600}.pdf-text div{max-height:28rem;overflow:auto;overflow-wrap:anywhere}
@media (max-width:560px){.pdf-pages{grid-template-columns:repeat(2,1fr)}}

/* category page: series heading with sub-group headings; anchors clear the sticky header */
.grp[id]{scroll-margin-top:90px}
h2.grp.ser{margin-top:2.2rem}
h3.grp.sub{border-left-width:3px;font-size:1.1rem;margin:1.4rem 0 .8rem;color:var(--green-d)}
/* spec sheet zone (/downloads/): category list on the left, a table of products and their PDFs on the right */
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dl-lead{margin:0 0 1.4rem;color:var(--muted)}
.dl-wrap{display:grid;grid-template-columns:230px 1fr;gap:2.2rem;align-items:start}
.dl-side ul{list-style:none;margin:0;padding:0;border-top:2px solid var(--green)}
.dl-side li{border-bottom:1px solid var(--green)}
.dl-side a{display:flex;justify-content:space-between;gap:.6em;padding:1.05em .5em;text-decoration:none;color:var(--ink);font-weight:700}
.dl-side a::before{content:"»";color:var(--green);margin-right:.35em}
.dl-side a small{margin-left:auto;font-weight:400;color:var(--muted)}
.dl-side a:hover,.dl-side a[aria-current=page]{background:var(--mint);color:var(--green-d)}
table.dl{width:100%;border-collapse:collapse;border:1px solid var(--green);background:#fff}
table.dl thead th{padding:.85em 1em;color:#fff;font-weight:700;text-align:center}
table.dl thead th:first-child{background:#2f3d45}
table.dl thead th:last-child{background:var(--green);width:11em}
table.dl td{padding:.75em 1em;border-top:1px solid var(--green)}
table.dl td:first-child{border-right:1px solid #2f3d45}
table.dl tbody tr:nth-child(even) td{background:var(--mint)}
table.dl td a{color:var(--ink);font-weight:700;text-decoration:none}
table.dl td:first-child a::before{content:"» ";color:var(--green)}
table.dl td a:hover{color:var(--green-d);text-decoration:underline}
table.dl .dl-f{text-align:center;white-space:nowrap}
table.dl .dl-f a{color:var(--green-d);font-weight:600;text-decoration:underline}
table.dl .dl-f small{color:var(--muted,#5b6b62);margin-left:.3em}
table.dl tr.dl-g th{background:#f4f7f5;color:var(--green-d);text-align:left;padding:.7em 1em;border-top:1px solid var(--green);font-size:.95rem}
@media (max-width:760px){
 .dl-wrap{grid-template-columns:1fr;gap:1.2rem}
 .dl-side ul{display:flex;gap:6px;overflow-x:auto;border:0;padding-bottom:4px}
 .dl-side li{border:0;flex:none}
 .dl-side a{border:1px solid var(--green);border-radius:999px;padding:.45em .9em}
 .dl-side a::before{content:none}
 table.dl thead th:last-child{width:auto}
}
/* online catalogue viewer (/catalog/<product>/) */
.viewer{max-width:980px}
.v-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.2rem;margin-bottom:1.2rem}
.v-bar h1{font-size:1.35rem;margin:0;flex:1 1 auto}
.v-bar h1 small{font-size:.8em;color:var(--muted);font-weight:600;margin-left:.3em}
.v-bar .v-n{color:var(--muted);font-size:.92rem}
#pdfv{display:flex;flex-direction:column;gap:1.2rem}
.v-page{margin:0;width:100%;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:var(--shadow);overflow:hidden;position:relative}
.v-page canvas{display:block;width:100%;height:auto}
.v-page:not(.ok)::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f3f6f4 25%,#e8efe9 50%,#f3f6f4 75%);background-size:200% 100%;animation:vshine 1.4s linear infinite}
@keyframes vshine{to{background-position:-200% 0}}
@media (prefers-reduced-motion:reduce){.v-page:not(.ok)::before{animation:none}}
.v-page figcaption{position:absolute;right:8px;bottom:6px;font-size:.75rem;color:var(--muted);background:rgba(255,255,255,.85);padding:0 6px;border-radius:4px}
.v-load{color:var(--muted);text-align:center;padding:2rem 0}
.v-pages{display:flex;flex-direction:column;gap:1rem}.v-pages img{width:100%;height:auto;border:1px solid var(--line);border-radius:6px}
@media (max-width:560px){.v-bar h1{font-size:1.1rem;flex-basis:100%;order:-1}.v-page{border-radius:0;margin:0 -16px;width:calc(100% + 32px);border-left:0;border-right:0}}

/* tables written in page text (Markdown): wrap long text, scroll sideways on a phone when still too wide */
.prose .table-wrap{margin:1em 0;background:#fff}
table.mdt{border-collapse:collapse;width:100%;font-size:.95rem}
.mdt th,.mdt td{padding:.55em .9em;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}
.mdt thead th{background:var(--mint-d);font-weight:700;white-space:nowrap}
.mdt tbody tr:nth-child(even){background:#f6faf7}
.mdt tbody tr:last-child td{border-bottom:0}
.mdt td:first-child{font-weight:600}
@media (max-width:760px){table.mdt{min-width:520px}}
.prose h4{text-align:center;font-size:1.02rem;margin:1.2em 0 .4em}
/* contact page: the map itself, under the company details */
.map{margin-top:1.2em;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:#fff}
.map iframe{display:block;width:100%;height:300px;border:0}
/* phone number: tap-to-call stays, but on a computer it reads as plain text */
@media (hover:hover) and (pointer:fine){.contact-card a[href^="tel:"]{color:inherit;text-decoration:none;cursor:text}}

/* category cards: more product photos of the category fade in over the card's own picture (site.js) */
.card .fade{position:absolute;top:0;left:0;width:100%;aspect-ratio:4/3;pointer-events:none}
.card .fade img{position:absolute;inset:0;height:100%;opacity:0;transition:opacity .6s ease}
.card .fade img.on{opacity:1}
.fade-dots{position:absolute;left:0;right:0;bottom:5px;display:flex;justify-content:center;gap:5px;opacity:0;transition:opacity .25s}
.card.fading .fade-dots{opacity:1}
.fade-dots i{width:6px;height:6px;border-radius:50%;background:var(--line)}
.fade-dots i.on{background:var(--green)}
/* product without photos: no empty picture column */
.product.no-media{grid-template-columns:1fr}
/* contact form: e-mail and phone belong together, at least one is needed */
.form fieldset.either{border:1px solid #cfdcd4;border-radius:10px;padding:10px 14px 0;margin:0 0 14px;min-width:0}
.form fieldset.either legend{font-size:.9rem;font-weight:600;color:var(--muted);padding:0 .4em}
/* phones: the sticky header is two rows high, keep group headings clear of it (site.js does the exact alignment) */
@media (max-width:640px){.grp[id]{scroll-margin-top:124px}}
/* two business lines (2026-11-25): entry cards on the home page, and the smart-home series shown side by side */
.sec-lead{color:var(--muted);max-width:38em;margin:-.3em auto 1.6em}
.lines-sec{padding-bottom:8px}
.line-sec{padding-bottom:8px}
h2.first{margin-top:0}
.lines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.line-card{display:flex;flex-direction:column;gap:6px;padding:26px 28px;border:1px solid var(--line);border-radius:12px;background:#f3f6f4;color:var(--ink);text-decoration:none;box-shadow:var(--shadow);transition:transform .15s,box-shadow .15s}
.line-card.led{background:var(--mint)}
.line-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-h)}
.line-card b{font-size:1.5rem;line-height:1.3}
.line-card span{color:#33443a}
.line-card em{font-style:normal;font-weight:700;color:var(--green-d);margin-top:6px}
.smart-sec{background:#f3f6f4;padding:52px 0 56px;margin-top:48px}
.smart-sec h2{margin-top:0}
.hero.sub+.smart-sec{margin-top:0}
.series-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:22px;align-items:stretch}
.series{--tone:#1e4e8c;--tint:#e8f0fa;--edge:#c9d8ec;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--edge);border-top:6px solid var(--tone);border-radius:12px;padding:24px 26px 26px;box-shadow:var(--shadow)}
.series:nth-child(even){--tone:#9a4a06;--tint:#fbf0e2;--edge:#ecd9bd}
.series .series-t{margin:0;font-size:1.55rem;line-height:1.3}
.series .series-t a{color:var(--ink);text-decoration:none}
.series .series-t a:hover{color:var(--tone)}
.series p{margin:0}
.series .tag{font-weight:700;color:var(--tone)}
.facts{display:grid;grid-template-columns:minmax(5.5em,auto) 1fr;margin:0;border:1px solid var(--edge,var(--line));border-radius:8px;overflow:hidden;font-size:.95rem}
.facts dt{background:var(--tint,var(--mint));padding:.55em .8em;font-weight:700}
.facts dd{margin:0;padding:.55em .8em;background:#fff}
.facts dt:not(:first-of-type),.facts dd:not(:first-of-type){border-top:1px solid var(--edge,var(--line))}
section>.facts{max-width:46em;margin-bottom:1.4em}
.chips-t{font-weight:700;font-size:.95rem;margin-bottom:6px!important}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips a{padding:.4em .95em;border:1px solid var(--tone);border-radius:999px;color:var(--tone);text-decoration:none;font-weight:600;font-size:.93rem;line-height:1.5}
.chips a:hover{background:var(--tint)}
.series-go{margin-top:auto!important;padding-top:6px}
.series .btn{background:var(--tone);border-color:var(--tone)}
.series .btn:hover{filter:brightness(.88)}
.series-ask{margin:26px 0 0}
.series-ask a{font-weight:700}
@media (max-width:700px){.lines{grid-template-columns:1fr;gap:12px}.line-card{padding:18px 18px}.line-card b{font-size:1.25rem}.smart-sec{padding:36px 0 40px;margin-top:32px}.series{padding:18px 16px 20px}.series .series-t{font-size:1.3rem}}
/* inquiry list: header link with the number of products, quantity + button on a product page, the list page */
/* the header has room for one more round button only if the two sit closer together (English company name was cut off at 1201–1280px) */
@media (min-width:1201px){.bar{gap:12px}.bar>.search-link{margin-left:0}.bar>.lang{margin-left:2px}}
.bar>.inq-link{position:relative;margin-left:-4px}
.inq-n{position:absolute;top:-6px;right:-6px;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:var(--green);color:#fff;font-size:.72rem;font-weight:700;line-height:19px;text-align:center}
.inq-n[hidden]{display:none}
@media (max-width:560px){.bar>.inq-link{margin-left:0}}
.inq-add{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:1.1em 0 .2em;padding:12px 14px;background:#f6faf7;border:1px solid var(--line);border-radius:var(--radius)}
.inq-add[hidden]{display:none}
.inq-add label{font-weight:600;display:flex;align-items:center;gap:8px}
.inq-add select,.inq-q select{padding:.5em .4em;border:1px solid #b9c9bf;border-radius:8px;font:inherit;background:#fff;max-width:11em}
.inq-q select{margin-left:6px}
.inq-add .inq-u2,.inq-q .inq-u2{width:7em;text-align:left}.inq-q .inq-u2{display:block;margin:6px 0 0 auto}.inq-u2[hidden]{display:none!important}
.inq-add input,.inq-q input{width:6.5em;padding:.5em .6em;border:1px solid #b9c9bf;border-radius:8px;font:inherit;background:#fff;text-align:right}
.inq-st{flex:1 0 100%;margin:0;font-size:.92rem;color:var(--green-d);font-weight:600}
.inq-st[hidden]{display:none}
table.inq-t{border-collapse:collapse;width:100%}
.inq-t th,.inq-t td{padding:.6em .8em;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}
.inq-t thead th{background:var(--mint-d);font-weight:700;white-space:nowrap}
.inq-t tbody tr:last-child td{border-bottom:0}
.inq-pic{width:76px}.inq-pic img{display:block;width:60px;height:60px;object-fit:contain;background:#fff;border-radius:6px}
.inq-name a{font-weight:700;color:var(--ink)}.inq-name small{display:block;color:var(--muted)}
.inq-q,.inq-x{white-space:nowrap;width:1%}
.inq-rm{background:none;border:0;padding:.3em .2em;font:inherit;color:#8c1d18;text-decoration:underline;cursor:pointer}
.inq-more{margin:.8em 0 0}
.inq-form{max-width:640px;margin-top:28px}
.inq-form h2{margin-top:0}
.inq-empty{text-align:center;padding:24px 0}
@media (max-width:560px){.inq-t .inq-pic{width:0;padding:0}.inq-pic img{display:none}.inq-t th,.inq-t td{padding:.55em .5em}.inq-q input{width:5em}.inq-q select{display:block;margin:6px 0 0;width:5em;max-width:none}.inq-q .inq-u2{width:5em;margin-left:0}}
/* two-business-lines mockup, full version (owner's decision, 2026-11-26): small English labels on the Chinese pages and a wide panel
   for the smart line in the computer menu. Phones (≤1200px) never show the panel; they keep the nested list. */
.en-tag{display:block;font-size:.75rem;font-weight:700;letter-spacing:.08em;line-height:1.4;color:var(--green-d)}
.series .en-tag{color:var(--tone);margin-bottom:-8px}
.line-card .en-tag{margin-bottom:-2px}
.mega-panel{display:none}
@media (min-width:1201px){
 .site-header .bar{position:relative}
 #nav>ul>li.mega{position:static}
 #nav .mega:hover>ul,#nav .mega:focus-within>ul{display:none}
 #nav .mega:hover>.mega-panel,#nav .mega:focus-within>.mega-panel{display:grid}
 .mega-panel{position:absolute;left:20px;right:20px;top:100%;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:36px;background:#fff;border:1px solid var(--line);border-top:3px solid var(--green);border-radius:0 0 12px 12px;box-shadow:var(--shadow-h);padding:26px 30px 30px;cursor:default}
 .mega-panel::before{content:"";position:absolute;left:0;right:0;top:-17px;height:14px}
 .mega-s{--tone:#1e4e8c;--edge:#c9d8ec;min-width:0}
 .mega-s:nth-child(even){--tone:#9a4a06;--edge:#ecd9bd}
 .mega-h{border-bottom:2px solid var(--tone);padding-bottom:10px;margin-bottom:12px}
 .mega-h .en-tag{color:var(--tone)}
 #nav .mega-t{display:inline-block;padding:0;font-size:1.3rem;line-height:1.35;color:var(--tone);background:none;white-space:normal}
 #nav .mega-t:hover{background:none;text-decoration:underline}
 .mega-tag{display:block;margin-top:2px;font-size:.88rem;color:var(--muted)}
 .mega-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px}
 #nav .mega-g{padding:.45em 0;font-size:1rem;color:var(--ink);white-space:normal}
 #nav .mega-g:hover{background:none;color:var(--tone)}
 #nav .mega-cols ul{flex-direction:column;gap:0;margin:4px 0 0}
 #nav .mega-cols ul a{font-weight:400;font-size:.9rem;color:var(--muted);padding:.32em .8em;border-left:2px solid var(--edge);border-radius:0;white-space:normal}
 #nav .mega-cols ul a:hover{background:none;color:var(--tone);border-left-color:var(--tone)}
 #nav .mega-list{flex-direction:column;gap:2px}
}

/* 智慧家庭整合的頁面文字（storyHtml）：照內容的形狀排成和系列卡片同一種風格的區塊，一律靠左 */
.story-sec{padding-top:44px}
.story{display:grid;gap:26px;font-size:1rem}
.story .st{background:#fff;border:1px solid var(--line);border-radius:12px;padding:26px 28px;box-shadow:var(--shadow);min-width:0}
.story h2,.story h3,.story h4{text-align:left;border:0;padding:0}
.story h2{position:relative;margin:0 0 .6em;padding-left:.75em;font-size:clamp(1.25rem,2.4vw,1.55rem)}
.story h2::before{content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:5px;border-radius:3px;background:var(--green)}
.story h3{margin:1.1em 0 .35em;font-size:1.08rem;color:var(--green-d)}
.story p{margin:.5em 0}
.story p:has(> strong:only-child){text-align:left;color:var(--muted)}
.story ul{width:auto;margin:.7em 0 0;padding:0;list-style:none}
.story li{position:relative;padding-left:1.5em;margin:.3em 0}
.story li::before{content:"✓";position:absolute;left:0;color:var(--green);font-weight:700}
.story .st > :last-child,.story .st-text > :last-child{margin-bottom:0}
/* 文字配圖：左文右圖 */
.st-media{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:30px;align-items:center}
.st-media .st-text ul{display:grid;grid-template-columns:1fr 1fr;gap:2px 18px}
.st-media .figs{margin:0}
.story .figs img{border-radius:8px;display:block;width:100%;height:auto}
/* 幾段短文字並排成卡片 */
.st-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px}
.st-cards .st{border-top:5px solid var(--green);padding:22px 22px 24px}
.st-cards h2{padding-left:0;font-size:1.3rem;margin-bottom:.3em}
.st-cards h2::before{display:none}
/* 只有圖片：標題下並排 */
.st-gallery .figs{margin:.9em 0 0}.st-gallery h2 + .figs{margin-top:0}.st-gallery p{max-width:52em}
/* 清單：「名稱：說明」排成一列一列；一般清單排兩欄 */
.st-list ul{display:grid;grid-template-columns:1fr 1fr;gap:2px 24px}
.st-list ul:has(> li > strong:first-child){display:block;border:1px solid var(--line);border-radius:8px;overflow:hidden}
.st-list ul:has(> li > strong:first-child) li{margin:0;padding:.6em .9em;background:#fff}
.st-list ul:has(> li > strong:first-child) li::before{display:none}
.st-list ul:has(> li > strong:first-child) li:nth-child(odd){background:#f6faf7}
.st-list ul:has(> li > strong:first-child) li + li{border-top:1px solid var(--line)}
@media (max-width:760px){.story{gap:18px}.story .st{padding:18px 16px}.st-media{grid-template-columns:1fr;gap:16px}.st-media .st-text ul,.st-list ul{grid-template-columns:1fr}.story-sec{padding-top:28px}}
