:root {
    --hana-blue:      #1283DD;
    --hana-blue-deep: #0E4A7C;
    --hana-blue-tint: #E8F1F9;
    --hana-band:      #F2F1EC;
    --hana-band-line: #E2E1DC;

    --bg:        #FFFFFF;
    --surface:   #ECEEF2;
    --surface-2: #FFFFFF;
    --line:      #DDE1E6;
    --line-soft: #ECEEF2;

    --ink:   #15171C;
    --ink-2: #4A4F58;
    --ink-3: #7A7F88;
    --ink-4: #A8ADB6;

    --s-1:  4px;
    --s-2:  8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;
    --s-9: 80px;

    --max: 1180px;
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 124px; }
  body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  ::selection { background: var(--hana-blue-tint); }

  /* ── Hero band + topo canvas (missing from original export) ── */
  .hero-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ebeef2 0%, #dce6f0 65%, #e4ecf6 100%);
  }
  #hero-topo {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
  .hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }


  /* ── Top bar ── */
  .topbar {
    position: sticky; top: 0; z-index: 50;
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
  }
  .topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: var(--s-4) var(--s-6);
    display: flex; align-items: center; justify-content: space-between;
    gap: var(--s-6);
  }
  .logo {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .logo .mark {
    display: inline-block;
    width: 20px; height: 20px;
    background: var(--hana-blue);
    border-radius: 2px;
    margin-right: 10px;
    vertical-align: -4px;
  }
  .topnav {
    display: flex; gap: 26px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-2);
  }
  .topnav a { color: inherit; text-decoration: none; transition: color 0.15s; }
  .topnav a:hover { color: var(--hana-blue); }
  .topnav a.current { color: var(--hana-blue); }

  /* Sub-bar */
  .subbar {
    position: relative;
    z-index: 2;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .subbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: var(--s-3) var(--s-6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-6);
    font-size: 13px;
  }
  .subbar .crumbs { color: rgba(74,79,88,0.60); font-family: 'Inter', sans-serif; }
  .subbar .crumbs a { color: inherit; text-decoration: none; }
  .subbar .crumbs a:hover { color: rgba(74,79,88,0.90); }
  .subbar .crumbs .sep { margin: 0 var(--s-2); color: rgba(168,173,182,0.40); }
  .subbar .crumbs span:last-child { color: rgba(21,23,28,0.90); font-weight: 500; }
  .subbar .meta {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px;
    color: rgba(74,79,88,0.60);
    letter-spacing: -0.005em;
  }
  .subbar .meta strong { color: var(--ink); font-weight: 500; }

  /* Hero */
  .hero { position: relative; z-index: 2; border-bottom: none; }
  .hero-inner { max-width: var(--max); margin: 0 auto; padding: var(--s-7) var(--s-6) var(--s-6); }
  .hero h1 {
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 38px;
    line-height: 1.15;
    letter-spacing: -0.022em;
    color: #15171C;
    margin: 0 0 var(--s-4);
    max-width: 22ch;
  }
  .hero .lede {
    font-size: 16px;
    line-height: 1.55;
    color: rgba(74,79,88,0.75);
    max-width: 70ch;
    margin: 0;
  }

  /* Two-column layout */
  .layout-bg { background: var(--bg); border-bottom: 1px solid var(--line); }
  .layout {
    max-width: var(--max);
    margin: 0 auto;
    padding: var(--s-7) var(--s-6);
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: var(--s-8);
  }

  aside.sectionnav { position: sticky; top: 132px; align-self: start; }
  .sectionnav .label {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-3);
    padding-bottom: var(--s-3);
    margin-bottom: var(--s-2);
    border-bottom: 1px solid var(--line);
  }
  .sectionnav ol { list-style: none; padding: 0; margin: 0; }
  .sectionnav a {
    display: grid;
    grid-template-columns: 20px 1fr 28px;
    align-items: baseline;
    column-gap: var(--s-3);
    padding: var(--s-3) 0 var(--s-3) var(--s-3);
    border-left: 2px solid transparent;
    margin-left: -2px;
    color: var(--ink-2);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    transition: color 0.15s, border-color 0.15s;
  }
  .sectionnav a:hover { color: var(--hana-blue-deep); }
  .sectionnav a.active { color: var(--ink); border-left-color: var(--hana-blue); }
  .sectionnav .num {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; font-weight: 500; color: var(--ink-4); letter-spacing: 0;
  }
  .sectionnav a.active .num { color: var(--hana-blue); }
  .sectionnav .count {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; font-weight: 400; color: var(--ink-4);
    text-align: right; font-variant-numeric: tabular-nums;
  }
  .sectionnav .footer-link {
    margin-top: var(--s-5);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-soft);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; color: var(--ink-3); letter-spacing: -0.005em;
  }
  .sectionnav .footer-link a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); }
  .sectionnav .footer-link a { display: inline; grid-template-columns: none; }
  .sectionnav .footer-link a:hover { color: var(--hana-blue-deep); border-bottom-color: var(--hana-blue); }

  /* Content sections */
  main.content { min-width: 0; }
  section.doc {
    padding: 0 0 var(--s-6);
    margin-bottom: var(--s-6);
    border-bottom: 1px solid var(--line);
  }
  section.doc:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: var(--s-4); }

  .section-head { margin-bottom: var(--s-5); max-width: 720px; }
  .section-head .section-label {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: var(--s-3);
    display: flex; align-items: center; gap: var(--s-3);
  }
  .section-head .section-label .pip { color: var(--line); }
  .section-head h2 {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 24px; line-height: 1.2;
    letter-spacing: -0.018em; color: var(--ink); margin: 0 0 var(--s-3);
  }
  .section-head .intro {
    font-size: 15px; line-height: 1.6; color: var(--ink-2);
    max-width: 64ch; margin: 0;
  }

  /* ──────────────────────────────────────────────
     Event list — date block + body + status/action
  ────────────────────────────────────────────── */
  .eventlist { border-top: 1px solid var(--line); }
  .event {
    display: grid;
    grid-template-columns: 96px 1fr auto;
    gap: var(--s-5);
    align-items: start;
    padding: var(--s-5) 0;
    border-bottom: 1px solid var(--line);
    transition: background 0.12s;
  }
  .event:hover { background: #F8F9FB; }
  /* No rule under the last row: the divider below (section rule or "See also") already closes it,
     and two lines read as a double divider (2 Dec 2026). */
  section.doc:not(:last-child) .event:last-child { border-bottom: 0; }
  .event .date-block {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    text-align: left;
    line-height: 1.1;
  }
  .event .date-block .d {
    display: block;
    font-size: 26px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  .event .date-block .my {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    margin-top: 3px;
  }
  .event .date-block.tbc .d { font-size: 14px; color: var(--ink-3); padding-top: 6px; }
  .event .ev-body { min-width: 0; }
  .event .ev-kind {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--hana-blue-deep); margin-bottom: 6px;
  }
  .event .ev-body h3 {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 16px; line-height: 1.3;
    letter-spacing: -0.01em; color: var(--ink); margin: 0 0 var(--s-2);
  }
  .event .ev-meta {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; color: var(--ink-2); letter-spacing: -0.005em;
    display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  }
  .event .ev-meta .dot { color: var(--line); }
  .event .ev-action { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-3); }
  .status {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px;
    white-space: nowrap; border: 1px solid transparent;
  }
  .status.upcoming { color: var(--hana-blue-deep); background: var(--hana-blue-tint); border-color: #CFE3F4; }
  .status.past     { color: var(--ink-3); background: var(--surface); border-color: var(--line); }
  .status.tbc      { color: #8A6D1F; background: #FBF4E0; border-color: #EFE2BC; }
  .ev-link {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; font-weight: 500; color: var(--hana-blue-deep);
    text-decoration: none; letter-spacing: -0.005em;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 10px; border: 1px solid var(--line); border-radius: 3px;
    background: rgba(255,255,255,0.75);
    transition: border-color 0.12s, color 0.12s, background 0.12s; white-space: nowrap;
  }
  .ev-link:hover { color: #fff; border-color: var(--hana-blue); background: var(--hana-blue); }

  /* ──────────────────────────────────────────────
     Contact cards
  ────────────────────────────────────────────── */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
    margin-bottom: var(--s-5);
  }
  .contact-card {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: var(--s-5);
    background: var(--surface-2);
  }
  .contact-card .role {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: var(--s-3);
  }
  .contact-card .cname {
    font-family: 'Geist', sans-serif;
    font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
    color: var(--ink); margin: 0 0 var(--s-4);
  }
  .contact-card dl { margin: 0; display: grid; grid-template-columns: 56px 1fr; gap: var(--s-2) var(--s-3); }
  .contact-card dt {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--ink-4); padding-top: 2px;
  }
  .contact-card dd {
    margin: 0;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12.5px; color: var(--ink-2); letter-spacing: -0.005em;
    font-variant-numeric: tabular-nums; word-break: break-word;
  }
  .contact-card dd a { color: var(--hana-blue-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
  .contact-card dd a:hover { color: var(--hana-blue); border-bottom-color: var(--hana-blue); }

  .addr-card {
    border: 1px solid var(--line);
    border-left: 2px solid var(--hana-blue);
    border-radius: 6px;
    padding: var(--s-5);
    background: var(--hana-band);
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: var(--s-5);
    align-items: stretch;
  }
  .addr-photo {
    margin: 0; position: relative;
    border-radius: 4px; overflow: hidden;
    min-height: 240px;
  }
  .addr-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .addr-photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: var(--s-3) var(--s-4);
    background: linear-gradient(to top, rgba(13,53,96,0.82), rgba(13,53,96,0));
    color: rgba(255,255,255,0.92);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: -0.005em;
  }
  .addr-text { display: flex; flex-direction: column; gap: var(--s-5); justify-content: center; }
  .addr-card .role {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: var(--s-3);
  }
  .addr-card address {
    font-style: normal; font-size: 14px; line-height: 1.55; color: var(--ink);
  }
  .addr-card .gnums dl { margin: 0; display: grid; grid-template-columns: 44px 1fr; gap: var(--s-2) var(--s-3); }
  .addr-card .gnums dt {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 10px; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--ink-4); padding-top: 2px;
  }
  .addr-card .gnums dd {
    margin: 0;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12.5px; color: var(--ink-2); letter-spacing: -0.005em;
    font-variant-numeric: tabular-nums;
  }

  /* See-also row */
  .related {
    margin-top: var(--s-6);
    padding-top: var(--s-4);
    border-top: 1px solid var(--line-soft);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; color: var(--ink-3);
    display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3);
    letter-spacing: -0.005em;
  }
  .related .lbl { text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); margin-right: var(--s-2); }
  .related a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
  .related a:hover { color: var(--hana-blue-deep); border-bottom-color: var(--hana-blue); }
  .related .sep { color: var(--line); }
  .section-head .intro a { color: var(--hana-blue-deep); text-decoration: none; border-bottom: 1px solid var(--line); }
  .section-head .intro a:hover { color: var(--hana-blue); border-bottom-color: var(--hana-blue); }

  /* Page end */
  .page-end {
    position: relative;
    overflow: hidden;
    background: #0D3560;
  }
  #enquiries-topo {
    position: absolute; inset: 0;
    display: block; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
  }
  .page-end-inner {
    position: relative; z-index: 2;
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-7) var(--s-6);
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s-5);
  }
  .page-end .ttl { font-family: 'Geist', sans-serif; font-size: 16px; font-weight: 600; color: #ffffff; letter-spacing: -0.01em; margin: 0 0 var(--s-1); }
  .page-end .desc { font-size: 14px; color: rgba(255,255,255,0.60); margin: 0; }
  .page-end .actions { display: flex; gap: var(--s-3); }
  .page-end a.btn {
    font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,0.78); text-decoration: none; letter-spacing: -0.005em;
    padding: var(--s-3) var(--s-4); border: 1px solid rgba(255,255,255,0.22); border-radius: 3px;
    background: rgba(255,255,255,0.07); display: inline-flex; align-items: center; gap: var(--s-2);
    transition: border-color 0.12s, color 0.12s, background 0.12s; white-space: nowrap;
  }
  .page-end a.btn:hover { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.14); }
  .page-end a.btn.primary { background: #ffffff; border-color: transparent; color: var(--hana-blue-deep); }
  .page-end a.btn.primary:hover { background: var(--hana-blue-tint); color: var(--hana-blue-deep); }

  .urlhint {
    max-width: var(--max); margin: 0 auto;
    padding: var(--s-4) var(--s-6) var(--s-5);
    color: var(--ink-3);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px; letter-spacing: -0.005em;
  }
  .footer-placeholder {
    background: var(--surface); border-top: 1px solid var(--line);
    color: var(--ink-3);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 12px; letter-spacing: -0.005em; text-align: center;
    padding: var(--s-7) var(--s-6);
  }

  /* Responsive */
  @media (max-width: 960px) {
    .layout { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-5) var(--s-5) var(--s-7); }
    aside.sectionnav { position: relative; top: 0; padding: var(--s-3) 0 var(--s-4); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .sectionnav ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
    .hero h1 { font-size: 30px; }
    .contact-grid { grid-template-columns: 1fr; }
    .addr-card { grid-template-columns: 1fr; gap: var(--s-4); }
    .page-end-inner { grid-template-columns: 1fr; gap: var(--s-4); }
    .subbar-inner { flex-wrap: wrap; gap: var(--s-3); }
  }
  @media (max-width: 640px) {
    .topnav { display: none; }
    .event { grid-template-columns: 64px 1fr; }
    .event .ev-action { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; }
    .event .date-block .d { font-size: 22px; }
  }

/* "See also" in the section menu: the label on its own line, then one link per line,
   all on the same left edge. The links reset the menu-link padding, borders and grid
   they would otherwise inherit. */
.sectionnav .footer-link,
.sidenav .footer-link { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-link .footer-link-label {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 10px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); margin-bottom: 2px;
}
:lang(th) .footer-link .footer-link-label { text-transform: none; letter-spacing: 0; font-size: 12px; }
.sectionnav .footer-link a,
.sidenav .footer-link a {
  display: inline; padding: 0; margin: 0; border: 0; background: none; line-height: 1.45;
  border-bottom: 1px solid var(--line); grid-template-columns: none; color: var(--ink-2);
}
.sectionnav .footer-link a:hover,
.sidenav .footer-link a:hover { color: var(--hana-blue-deep); border-bottom-color: var(--hana-blue); background: none; }

/* Even spacing around section dividers and the "See also" rule: about 40px of space
   above and below each line on the IR pages (2 Dec 2026). The h2 sits 14px into its
   section, so 26px of margin gives 40px below the divider. */
section.doc { padding-bottom: 40px; margin-bottom: 26px; }
section.doc:last-child { margin-bottom: 0; padding-bottom: var(--s-4); }
.related { margin-top: 40px; }
/* Closing panel: no grey rule above it, and the same space above and below (about 64px)
   on the IR pages (2 Dec 2026). The content area already ends with 64px of padding. */
.layout-bg { border-bottom: 0; }
.page-end { margin-top: 0; }
