@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
:root { font-family: "Inter", Arial, "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; font-optical-sizing: auto; }
button, input, select, textarea { font-family: inherit; }
/* Match the React site's restrained Latin scale without shrinking Chinese translations. */
body:lang(en), body:lang(ms) { font-size: .9375rem; }
h1:lang(en), h1:lang(ms) { font-size: clamp(1.875rem, 5.2vw, 2.75rem); line-height: 1.18; text-wrap: balance; }
h2:lang(en), h2:lang(ms) { font-size: 1.25rem; line-height: 1.4; }
h3:lang(en), h3:lang(ms) { font-size: 1rem; line-height: 1.5; }
[lang|="zh"] { font-size: 1rem; }
[hidden] { display: none !important; }
[data-guide-language="en"] [lang|="zh"], [data-guide-language="en"] [lang="ms"] { display: none; }
.guide-language { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 4px; max-width: 1040px; margin: auto; padding: 12px 20px; border-bottom: 1px solid #d8e2e9; }
.guide-language button { display: inline-flex; justify-content: center; align-items: center; min-width: 48px; min-height: 44px; border: 1px solid #d8e2e9; border-radius: 8px; background: #fff; color: #526776; font-size: 13px; font-weight: 600; cursor: pointer; }
.guide-language button[aria-pressed="true"] { background: #0752ed; color: #fff; }
.guide-language button:focus-visible { outline: 2px solid #0752ed; outline-offset: 3px; }
.guide-problem, .guide-contact { border-top: 1px solid #d8e2e9; padding: 24px 0; }
.guide-problem dt { margin-top: 16px; color: #0752ed; font-size: .875rem; font-weight: 600; }
.guide-problem dd { margin: 8px 0; line-height: 1.8; color: #526776; }
.guide-map { display: inline-flex; align-items: center; min-height: 44px; margin: 12px; }

/* Shared guide controls follow the same light palette and touch sizing as the homepage. */
a.button, .guide-map { min-height: 44px; }
a.button { display: inline-flex; align-items: center; }
