@font-face {
  font-family: Sarabun; font-style: normal; font-weight: 400; font-display: swap;
  src: url("sarabun-th-400.woff2") format("woff2");
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}
@font-face {
  font-family: Sarabun; font-style: normal; font-weight: 400; font-display: swap;
  src: url("sarabun-la-400.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+2000-206F;
}
@font-face {
  font-family: Sarabun; font-style: normal; font-weight: 600; font-display: swap;
  src: url("sarabun-th-600.woff2") format("woff2");
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}
@font-face {
  font-family: Sarabun; font-style: normal; font-weight: 600; font-display: swap;
  src: url("sarabun-la-600.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+2000-206F;
}
@font-face {
  font-family: Sarabun; font-style: normal; font-weight: 700; font-display: swap;
  src: url("sarabun-th-700.woff2") format("woff2");
  unicode-range: U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC;
}
@font-face {
  font-family: Sarabun; font-style: normal; font-weight: 700; font-display: swap;
  src: url("sarabun-la-700.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+2000-206F;
}

:root {
  --navy: #122c3e;
  --muted: #466170;
  --teal: #086e66;
  --teal-deep: #07544f;
  --mint: #edf8f5;
  --mint-strong: #dff2ed;
  --line: #d9e7e6;
  --paper: #fff;
  --radius: 16px;
  font-family: Sarabun, "Leelawadee UI", Tahoma, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-size: 16px; line-height: 1.65; }
main { flex: 1; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.31; font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.12rem); }
h3 { font-size: 1.31rem; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #aa5d09; outline-offset: 4px; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 26px; }
.icon { display: block; flex: none; }
.wrap { width: min(100% - 96px, 1240px); margin-inline: auto; }
.skip {
  position: fixed; top: .75rem; left: .75rem; z-index: 10; padding: .6rem 1rem;
  background: var(--navy); color: white; border-radius: 8px; transform: translateY(-160%);
}
.skip:focus { transform: none; }

.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar { min-height: 84px; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 45px; height: 45px; border-radius: 12px; display: grid; place-items: center;
  flex: none; color: white; background: var(--teal-deep);
}
.brand-mark .icon { width: 27px; height: 27px; }
.brand-label { display: grid; line-height: 1.35; }
.brand-label strong { font-size: 1.07rem; }
.brand-label small { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: stretch; gap: clamp(13px, 2.35vw, 34px); align-self: stretch; margin-left: auto; }
.nav a {
  color: var(--muted); position: relative; display: grid; place-items: center;
  text-decoration: none; white-space: nowrap; font-size: .95rem; font-weight: 600;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; height: 3px; inset: auto 0 0; background: var(--teal); border-radius: 3px 3px 0 0;
}

.button {
  min-height: 49px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 1px solid transparent; border-radius: 9px; padding: .66rem .98rem;
  line-height: 1.4; font-weight: 700; text-decoration: none; text-align: center;
  transition: background-color .16s, border-color .16s, color .16s;
}
.button .icon, .text-link .icon { width: 18px; height: 18px; }
.button--primary { background: var(--teal); color: white; }
.button--primary:hover { background: var(--teal-deep); }
.button--outline { color: var(--teal-deep); border-color: #93bdb6; background: var(--paper); }
.button--outline:hover, .button--header:hover { background: var(--mint-strong); border-color: #76aaa3; }
.button--header {
  flex: none; min-height: 44px; padding: .56rem .8rem; font-size: .9rem; color: var(--teal-deep);
  border-color: #a8cbc5; background: var(--mint);
}
.button--header .icon { width: 16px; height: 16px; }
.button--light { background: white; color: var(--teal-deep); }
.button--light:hover { background: var(--mint-strong); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; padding-block: 7px; color: var(--teal);
  font-weight: 700; text-underline-offset: 4px; text-decoration: none;
}
.text-link:hover { text-decoration: underline; }

.home-hero {
  background: linear-gradient(112deg, #f9fcfb 18%, #edf7f4 100%);
  border-bottom: 1px solid #e3efed;
  padding: 58px 0 65px;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.09fr; gap: clamp(28px, 4.1vw, 62px); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 11px; color: var(--teal-deep); font-weight: 700; font-size: .94rem; }
.eyebrow > span { width: 22px; height: 2px; border-radius: 3px; background: #32988b; flex: none; }
.hero-copy h1 { font-size: clamp(2.6rem, 4.3vw, 4.05rem); margin-top: 17px; letter-spacing: -.025em; line-height: 1.3; }
.hero-copy h1 span { display: block; color: var(--teal); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.19rem); max-width: 55ch; }
.hero-copy .lead { margin: 21px 0 27px; max-width: 43ch; }
.hero-photo {
  position: relative; isolation: isolate; border-radius: 22px; background: var(--mint-strong);
  box-shadow: 0 15px 32px #1a44331b; aspect-ratio: 1.50; margin-right: 8px;
}
.hero-photo::before {
  content: ""; position: absolute; z-index: -1; top: 17px; left: 17px; right: -12px; bottom: -12px;
  border: 1px solid #a5c9bf; border-radius: 22px;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.hero-photo figcaption {
  position: absolute; left: 15px; bottom: 15px; border: 1px solid #ffffff50; border-radius: 6px;
  padding: 4px 9px; background: #122c3ee6; color: white; font-size: .73rem;
}

.section { padding-block: 52px 59px; }
.section-head { margin-bottom: 25px; }
.section-head p { margin-top: 8px; color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-task h2 { margin-bottom: 23px; }
.task-card, .journal-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 24px;
  background: white; box-shadow: 0 3px 10px #193d3010;
}
.task-card {
  display: block; text-decoration: none; transition: background-color .16s, border-color .16s, box-shadow .16s;
}
.task-card:hover { border-color: #71aaa1; background: #f9fdfb; box-shadow: 0 8px 21px #193d3015; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.tile {
  width: 47px; height: 47px; display: grid; place-items: center; border-radius: 10px; flex: none;
  color: var(--teal-deep); background: var(--mint-strong);
}
.card-arrow { color: var(--teal); width: 21px; height: 21px; }
.task-card p, .journal-card p { margin-top: 8px; color: var(--muted); }
.journal-promo { margin-bottom: 60px; }
.promo-panel {
  display: grid; align-items: center; grid-template-columns: auto 1fr auto; gap: 21px;
  border: 1px solid #145e5b; border-radius: 18px; padding: 24px 30px;
  background: var(--teal-deep); color: white;
}
.promo-icon {
  display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #ffffff50;
  border-radius: 13px; color: #e1f7f0; background: #ffffff14;
}
.promo-icon .icon { width: 28px; height: 28px; }
.promo-copy h2 { font-size: 1.54rem; }
.promo-copy p { margin-top: 5px; color: #e1f7f0; }

.page-hero {
  background: linear-gradient(108deg, #f7fbfa, #eaf6f2);
  border-bottom: 1px solid var(--line);
  padding: 20px 0 37px;
}
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted);
  font-size: .875rem; margin-bottom: 15px;
}
.breadcrumb a { color: var(--teal-deep); text-underline-offset: 3px; }
.subhero-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.subhero-grid h1 { font-size: clamp(2.05rem, 4.3vw, 3.48rem); margin-bottom: 10px; }
.section-emblem {
  display: grid; place-items: center; width: 104px; height: 104px; border-radius: 26px;
  border: 1px solid #a7cec5; transform: rotate(-7deg); color: var(--teal);
  background: #dff1eb; box-shadow: 7px 8px 0 #ffffffa0;
}
.section-emblem .icon { width: 53px; height: 53px; transform: rotate(7deg); stroke-width: 1.32; }

.workflow { display: grid; grid-template-columns: minmax(215px, .7fr) minmax(0, 2.3fr); gap: 32px; align-items: start; }
.jump-panel { padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fcfb; }
.jump-panel p { font-weight: 700; margin: 0 6px 8px; }
.jump-panel a {
  display: flex; align-items: center; gap: 9px; min-height: 45px; padding: 6px;
  border-radius: 7px; font-size: .98rem; color: var(--teal-deep); text-decoration: none;
}
.jump-panel a:hover { background: var(--mint-strong); }
.jump-panel .icon { width: 18px; height: 18px; }
.jump-panel .icon:last-child { margin-left: auto; }
.workflow-content { display: grid; gap: 22px; }
.work-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(19px, 3vw, 30px); }
.work-panel--tint { background: var(--mint); }
.work-panel:target, .staff-card:target { border-color: #508f85; box-shadow: 0 0 0 2px #dff2ed; }
.work-title { display: flex; align-items: center; gap: 13px; margin-bottom: 15px; }
.work-title h2 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); }
.work-panel > p { color: var(--muted); margin-bottom: 14px; }
.steps { margin: 0 0 11px; padding-left: 1.6rem; }
.steps li { padding-left: .35rem; margin-bottom: 13px; }
.steps li::marker { font-weight: 700; color: var(--teal); }
.steps p { color: var(--muted); margin-top: 2px; }
.file-list { padding: 0; list-style: none; margin: 0; }
.file-list li { padding: 12px 0; display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); }
.file-list .icon { width: 19px; height: 19px; color: var(--teal); }
.file-list .pending { margin-left: auto; }
.pending {
  display: inline-block; flex: none; white-space: nowrap; font-size: .83rem; font-weight: 700;
  color: #6b4b15; background: #fbf1d8; border: 1px solid #eddfb8; border-radius: 6px; padding: 2px 8px;
}
.mail-label { color: var(--teal-deep); display: inline-block; margin: 8px 0 0 9px; overflow-wrap: anywhere; }

.result-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.result-head { display: flex; align-items: center; gap: 15px; padding: 23px 26px; background: #f7fbfa; }
.field-label { font-size: .88rem; color: var(--muted); margin-bottom: 2px; }
.result-year { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 7px 10px; }
.result-fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.result-fields > div { padding: 20px 26px; border-top: 1px solid var(--line); }
.result-fields > div + div { border-left: 1px solid var(--line); }
.result-fields dt { font-weight: 700; margin-bottom: 8px; }
.result-fields dd { margin: 0; }
.result-source { display: flex; align-items: center; gap: 11px; padding: 17px 26px; border-top: 1px solid var(--line); }
.result-source strong { display: inline-flex; align-items: center; gap: 6px; }
.result-source .icon { width: 17px; height: 17px; color: var(--teal); }
.crosslink {
  margin-top: 25px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 15px; background: var(--mint);
}
.crosslink h2 { font-size: 1.27rem; }
.crosslink p { margin-top: 4px; color: var(--muted); }

.journal-card { display: flex; flex-direction: column; align-items: flex-start; }
.journal-card .tile { margin-bottom: 16px; }
.journal-card p { margin-bottom: 18px; flex: 1; }
.journal-card--accent { background: var(--mint); border-color: #a2cbc3; }
.archive-link { margin-top: 20px; }

.site-head--staff { border-top: 4px solid var(--teal-deep); }
.staff-hero { color: white; background: linear-gradient(105deg, var(--navy), #164b50); padding-block: 45px; }
.staff-hero .eyebrow { color: #c1ece0; margin-bottom: 11px; }
.staff-hero .eyebrow .icon { width: 17px; height: 17px; }
.staff-hero .lead { color: #e3f2f0; max-width: 67ch; }
.staff-hero .section-emblem { background: #ffffff12; border-color: #ffffff55; color: #d7f8ed; box-shadow: 7px 8px 0 #ffffff15; }
.staff-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.staff-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.staff-card--queue { background: #f5fbf9; border-color: #a2cbc3; }
.staff-card summary {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 12px;
  padding: 18px; border-radius: inherit; list-style: none; cursor: pointer;
}
.staff-card summary::-webkit-details-marker { display: none; }
.staff-card summary:hover { background: var(--mint); }
.staff-card-copy { display: grid; color: var(--muted); font-size: .93rem; line-height: 1.45; }
.staff-card-title { font-size: 1.18rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.disclosure-arrow { width: 18px; height: 18px; color: var(--teal); }
.staff-card[open] .disclosure-arrow { transform: rotate(180deg); }
.staff-destination { border-top: 1px solid var(--line); padding: 12px 18px; color: var(--muted); }
.staff-destination span { display: inline-flex; align-items: center; gap: 8px; }
.staff-destination .icon { width: 18px; height: 18px; color: var(--teal); }

.site-foot { background: #f8fbfa; border-top: 1px solid var(--line); color: var(--muted); }
.foot-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 25px; }
.foot-identity { display: flex; align-items: center; gap: 12px; }
.foot-identity strong { color: var(--navy); }
.foot-identity p { font-size: .87rem; }
.foot-contact { display: grid; gap: 2px; font-size: .9rem; }
.foot-contact a, .foot-bottom a {
  display: inline-flex; align-items: center; gap: 7px; color: var(--teal-deep);
  font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere;
}
.foot-contact .icon, .foot-bottom .icon { width: 16px; height: 16px; }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 16px;
  font-size: .8rem; padding-block: 12px; border-top: 1px solid var(--line);
}

.handoff-main { max-width: 970px; padding-bottom: 58px; }
.handoff-main section { padding-top: 31px; }
.handoff-main h2 { margin-bottom: 10px; font-size: 1.65rem; }
.handoff-main h3 { font-size: 1.16rem; margin: 16px 0 4px; }
.handoff-main p, .handoff-main li { color: var(--muted); }
.handoff-main p + p { margin-top: 9px; }
.handoff-main ul, .handoff-main ol { padding-left: 1.55rem; margin: 7px 0 0; }
.handoff-main li { padding-left: .25rem; margin-bottom: 8px; }
.handoff-main a:not(.button) { color: var(--teal-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.handoff-main code { background: var(--mint); color: var(--teal-deep); border-radius: 3px; padding: 1px 4px; overflow-wrap: anywhere; }
.preview-links { margin-top: 19px; }
.preview-note { border: 1px solid var(--line); border-radius: 12px; background: var(--mint); margin-top: 25px; padding: 14px 17px; }
.swatch { display: inline-block; width: 14px; height: 14px; vertical-align: -.11em; border: 1px solid #cadbd9; border-radius: 3px; margin-inline: 4px 3px; }

@media (max-width: 1100px) {
  .wrap { width: min(100% - 60px, 1240px); }
  .nav { gap: 16px; }
  .topbar { gap: 16px; }
  .hero-grid { gap: 30px; }
  .hero-copy h1 { font-size: clamp(2.45rem, 4.7vw, 3.65rem); }
}
@media (max-width: 900px) {
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding-top: 13px; gap: 9px 14px; }
  .topbar > .button { grid-column: 2; grid-row: 1; }
  .nav { grid-column: 1 / -1; margin: 0; min-height: 43px; gap: 23px; }
  .staff-card summary { grid-template-columns: auto 1fr auto; }
  .staff-card summary .pending { grid-row: 2; grid-column: 2; justify-self: start; }
  .staff-card summary .disclosure-arrow { grid-row: 1; grid-column: 3; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 38px); }
  .home-hero { padding-block: 36px 37px; }
  .hero-grid { grid-template-columns: 1fr; gap: 27px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 9.1vw, 3.7rem); }
  .hero-copy .lead { margin-block: 14px 18px; }
  .hero-photo { aspect-ratio: 1.66; margin-right: 7px; }
  .hero-photo::before { bottom: -8px; right: -8px; }
  .section { padding-block: 35px 39px; }
  .card-grid, .staff-grid { grid-template-columns: 1fr; gap: 12px; }
  .task-card, .journal-card { padding: 18px; }
  .promo-panel { grid-template-columns: auto 1fr; padding: 19px; gap: 12px; }
  .promo-panel .button { grid-column: 1 / -1; justify-self: start; }
  .journal-promo { margin-bottom: 39px; }
  .workflow { grid-template-columns: 1fr; gap: 18px; }
  .section-emblem { width: 67px; height: 67px; border-radius: 17px; }
  .section-emblem .icon { width: 35px; height: 35px; }
  .subhero-grid { gap: 14px; }
  .crosslink { flex-direction: column; align-items: flex-start; }
  .staff-hero { padding-block: 30px; }
}
@media (max-width: 480px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { gap: 7px 8px; }
  .brand { gap: 7px; }
  .brand-mark { width: 33px; height: 33px; border-radius: 8px; }
  .brand-mark .icon { width: 21px; height: 21px; }
  .brand-label strong { font-size: .83rem; }
  .brand-label small { font-size: .68rem; margin-top: 2px; }
  .button--header { font-size: .73rem; gap: 4px; padding-inline: 6px; }
  .button--header .icon { width: 13px; height: 13px; }
  .nav { display: grid; grid-template-columns: .75fr 1.7fr 1.05fr .8fr; gap: 2px; }
  .nav a { font-size: .81rem; }
  .staff-nav { grid-template-columns: repeat(4, 1fr); }
  .actions .button { width: 100%; }
  .hero-photo { border-radius: 15px; }
  .hero-photo::before { border-radius: 15px; }
  .hero-photo figcaption { left: 8px; bottom: 8px; font-size: .65rem; }
  .promo-icon { width: 44px; height: 44px; }
  .promo-copy h2 { font-size: 1.24rem; }
  .promo-copy p { font-size: .91rem; }
  .subhero-grid { grid-template-columns: 1fr; }
  .section-emblem { display: none; }
  .result-head, .result-fields > div, .result-source, .crosslink { padding: 15px; }
  .result-head { gap: 9px; }
  .result-head .tile { display: none; }
  .result-year { text-align: right; justify-content: end; }
  .mail-label { margin-left: 0; display: block; }
  .foot-main { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
