:root {
    /* Brand */
    --hana-blue:      #1283DD;
    --hana-blue-deep: #0E4A7C;
    --hana-blue-tint: #E8F1F9;

    /* Surface */
    --bg:        #FFFFFF;
    --surface:   #ECEEF2;
    --surface-2: #FFFFFF;
    --line:      #DDE1E6;
    --line-soft: #ECEEF2;

    /* Ink */
    --ink:   #15171C;
    --ink-2: #4A4F58;
    --ink-3: #7A7F88;
    --ink-4: #A8ADB6;

    /* Spacing scale (4px base) */
    --s-1:  4px;
    --s-2:  8px;
    --s-3: 12px;
    --s-4: 16px;
    --s-5: 24px;
    --s-6: 32px;
    --s-7: 48px;
    --s-8: 64px;

    --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;
  }


  /* ── Topbar ── */
  .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); }

  /* ── Subbar ── */
  .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 {
    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);
  }

  /* Side nav */
  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);
  }
  .sectionnav a.active .num { color: var(--hana-blue); }
  .sectionnav .count {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px;
    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-5);
    margin-bottom: var(--s-5);
    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;
  }

  /* ── Report card grid ── */
  .report-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4);
  }

  .report-card {
    display: flex;
    flex-direction: column;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
  }
  .report-card:hover {
    border-color: var(--hana-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -8px rgba(14,74,124,0.22);
    background: #F5F6F8;
  }
  .report-card:hover .report-card-title { color: var(--hana-blue-deep); }

  /* Cover placeholder */
  .report-cover {
    position: relative;
    aspect-ratio: 1 / 1.414;
    background: linear-gradient(180deg, var(--hana-blue-tint) 0%, var(--surface) 100%);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 18px;
    text-align: center;
  }
  .report-cover::before {
    content: "";
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(14,74,124,0.05) 1px, transparent 1px);
    background-size: 16px 16px;
    pointer-events: none;
  }
  .cover-eyebrow {
    position: relative;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--hana-blue-deep);
  }
  .cover-mark {
    position: relative;
    width: 40px; height: 40px;
    background: var(--hana-blue);
    border-radius: 3px;
    display: grid;
    place-items: center;
  }
  .cover-mark::after {
    content: "";
    width: 16px; height: 16px;
    background: #fff;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  }
  .cover-year {
    position: relative;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--hana-blue-deep);
  }
  .cover-placeholder-note {
    position: relative;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 9px;
    color: var(--ink-3);
    opacity: 0.7;
    letter-spacing: -0.005em;
  }

  /* Card meta */
  .report-card-meta {
    padding: var(--s-3) var(--s-4) var(--s-4);
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
    flex: 1;
  }
  .report-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.35;
    transition: color 0.15s;
  }
  .report-card-sub {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px;
    color: var(--ink-3);
    letter-spacing: -0.005em;
  }
  .report-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: var(--s-2);
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    color: var(--hana-blue-deep);
    letter-spacing: -0.005em;
  }
  .report-card-cta::after { content: "↓"; font-size: 13px; }

  /* ── 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); }

  /* URL hint + footer */
  .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; }
    .hero h1 { font-size: 30px; }
    .report-grid { grid-template-columns: repeat(4, 1fr); }
    .page-end-inner { grid-template-columns: 1fr; gap: var(--s-4); }
    .subbar-inner { flex-wrap: wrap; gap: var(--s-3); }
  }
  @media (max-width: 700px) {
    .report-grid { grid-template-columns: repeat(3, 1fr); }
    .topnav { display: none; }
  }
  @media (max-width: 460px) {
    .report-grid { grid-template-columns: repeat(2, 1fr); }
  }

/* "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; }
