html[data-theme=dark]{--ink:#f0f3f8;--muted:#a9b4c4;--line:#303945;--blue:#86abff;color-scheme:dark}html[data-theme=light]{color-scheme:light}html[data-theme=dark] body,html[data-theme=dark] header{background:#11151b}html[data-theme=dark] .copy{background:#243044}html[data-theme=dark] #toast{background:#f0f3f8;color:#11151b}html[data-theme=dark] .portal-grid a{background:#171e27}html{--theme-bg:#fff;--theme-text:#111824;--theme-border:#dce5ed}html[data-theme=dark]{--theme-bg:#11151b;--theme-text:#f0f3f8;--theme-border:#303945}.ir-footer-links{display:flex;flex-wrap:wrap;gap:20px;align-items:center}footer{flex-wrap:wrap;align-items:center}.ir-footer-links a{font-size:12px}.theme-control{color:var(--ink)}.theme-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px}.theme-control>span{margin-right:6px}.theme-control button{font:inherit;padding:8px 13px;border:1px solid var(--theme-border);border-radius:20px;background:transparent;color:inherit;cursor:pointer}.theme-control button[aria-pressed=true]{background:var(--theme-text);color:var(--theme-bg);border-color:var(--theme-text)}.theme-control button:focus-visible{outline:2px solid var(--theme-text);outline-offset:3px}
html[data-theme=light]{--blue:#111824}html[data-theme=dark]{--blue:#f0f3f8}.brand{color:var(--ink)}.copy{background:transparent;border:1px solid var(--line)}html[data-theme=dark] .copy{background:transparent}nav a.current{color:var(--ink);font-weight:600}.filters button.active{color:var(--ink);border-bottom-color:var(--ink)}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;background:transparent;color:inherit;border:0;padding:0;cursor:pointer;font-size:23px;line-height:1;border-radius:50%}.theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:4px}header>.theme-toggle{margin-left:auto}.header nav .theme-toggle{margin:0}.footer-theme{display:none}
aside{position:sticky;top:92px;z-index:2;background:#fff}html[data-theme=dark] aside{background:#11151b}html{scroll-padding-top:180px}nav a.current{color:var(--ink);font-weight:600}nav a{transition:color .15s}section[id]{scroll-margin-top:0}@media(max-width:700px){aside{top:78px}html{scroll-padding-top:150px}}@media(prefers-reduced-motion:reduce){nav a{transition:none}}

html[data-theme=dark]{--ink:#f4f5f2;--muted:#a6aaa7;--line:#303432;--blue:#f4f5f2;--theme-bg:#08090a;--theme-text:#f4f5f2;--theme-border:#303432}html[data-theme=dark] body,html[data-theme=dark] header,html[data-theme=dark] aside{background:#08090a}html[data-theme=dark] footer{background:#111315}html[data-theme=light]{--ink:#111315;--muted:#58605d;--line:#d7ddda;--blue:#111315;--theme-bg:#ffffff;--theme-text:#111315;--theme-border:#d7ddda}html[data-theme=light] body,html[data-theme=light] header,html[data-theme=light] aside{background:#ffffff}html[data-theme=light] footer{background:#f4f5f6}footer{margin-top:0;padding:30px 24px}.brand,nav a.current,.text-link,.fns-link,.copy,.hero-dot{color:var(--ink)}

/* Match each corporate portal to its direction */
html[data-theme=light]:has(body[data-company="th"]){--page-bg:#f5f7f8;--page-panel:#e9edf0;--ink:#20262b;--muted:#59636b;--line:#cdd5da;--blue:#20262b;--theme-bg:#f5f7f8;--theme-text:#20262b;--theme-border:#cdd5da}
html[data-theme=light]:has(body[data-company="th"]) body,html[data-theme=light]:has(body[data-company="th"]) header,html[data-theme=light]:has(body[data-company="th"]) aside{background:var(--page-bg)}
html[data-theme=light]:has(body[data-company="th"]) footer{background:var(--page-panel)}
html[data-theme=dark]:has(body[data-company="th"]){--page-bg:#252c32;--page-panel:#2e373f;--ink:#f0f3f5;--muted:#bcc6ce;--line:#56636d;--blue:#f0f3f5;--theme-bg:#252c32;--theme-text:#f0f3f5;--theme-border:#56636d}
html[data-theme=dark]:has(body[data-company="th"]) body,html[data-theme=dark]:has(body[data-company="th"]) header,html[data-theme=dark]:has(body[data-company="th"]) aside{background:var(--page-bg)}
html[data-theme=dark]:has(body[data-company="th"]) footer{background:var(--page-panel)}
html[data-theme=light]:has(body[data-company="ned"]){--page-bg:#f3efe6;--page-panel:#e9e1d3;--ink:#302d27;--muted:#655e52;--line:#d0c6b7;--blue:#302d27;--theme-bg:#f3efe6;--theme-text:#302d27;--theme-border:#d0c6b7}
html[data-theme=light]:has(body[data-company="ned"]) body,html[data-theme=light]:has(body[data-company="ned"]) header,html[data-theme=light]:has(body[data-company="ned"]) aside{background:var(--page-bg)}
html[data-theme=light]:has(body[data-company="ned"]) footer{background:var(--page-panel)}
html[data-theme=dark]:has(body[data-company="ned"]){--page-bg:#373229;--page-panel:#433d32;--ink:#f5efe3;--muted:#d0c5b3;--line:#716655;--blue:#f5efe3;--theme-bg:#373229;--theme-text:#f5efe3;--theme-border:#716655}
html[data-theme=dark]:has(body[data-company="ned"]) body,html[data-theme=dark]:has(body[data-company="ned"]) header,html[data-theme=dark]:has(body[data-company="ned"]) aside{background:var(--page-bg)}
html[data-theme=dark]:has(body[data-company="ned"]) footer{background:var(--page-panel)}

html[data-theme=light]:has(body[data-company="ned"]){--page-bg:#f8f9f7;--page-panel:#eef1ec;--ink:#242b28;--muted:#58635d;--line:#d4dcd5;--blue:#242b28;--theme-bg:#f8f9f7;--theme-text:#242b28;--theme-border:#d4dcd5}
html[data-theme=dark]:has(body[data-company="ned"]){--page-bg:#303a35;--page-panel:#39463e;--ink:#f4f7f3;--muted:#c0cbc2;--line:#64756a;--blue:#f4f7f3;--theme-bg:#303a35;--theme-text:#f4f7f3;--theme-border:#64756a}
