@charset "UTF-8";

:root {
  --navy: #152b49;
  --deep: #10213a;
  --ink: #24364d;
  --muted: #68778a;
  --gold: #b78d43;
  --gold-light: #e4c987;
  --green: #14614d;
  --paper: #f8f7f3;
  --line: #e5e8ec;
  --white: #fff;
  --shadow: 0 18px 45px #152b4918;
  --font: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.75;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--navy);
  border: 2px solid var(--gold);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Utility bar & Header */
.utility-bar {
  background: var(--deep);
  color: #e8edf4;
  font-size: 12px;
}

.utility-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.utility-inner a {
  text-decoration: none;
}

.utility-inner strong {
  color: #f3d995;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  isolation: isolate;
  background: #fffffff5;
  border-bottom: 1px solid #152b4914;
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-emblem {
  position: relative;
  display: grid;
  width: 58px;
  height: 70px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 12px #152b4926;
}

.brand-emblem img { width: 100%; height: 100%; object-fit: contain; }

.brand-monogram {
  display: block;
  margin-top: 14px;
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
}

.brand-seal-label {
  display: block;
  margin-top: -3px;
  color: var(--gold);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  color: var(--navy);
  font-size: 18px;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.primary-navigation {
  position: relative;
  z-index: 51;
  display: flex;
  align-items: center;
  margin-left: clamp(18px, 4vw, 56px);
  gap: clamp(14px, 2vw, 24px);
  pointer-events: auto;
}

.primary-navigation a {
  position: relative;
  z-index: 52;
  pointer-events: auto;
  cursor: pointer;
}

.nav-link {
  padding: 8px 0;
  color: #45556a;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid #d7dee7;
  border-radius: 4px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  border-color: var(--navy);
  background: #f3f6f9;
}

.nav-cta span {
  color: var(--gold);
}

.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.nav-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  background: #f3f6f9;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-user-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.nav-logout {
  padding: 7px 12px;
  border: 1px solid #e4c9c6;
  border-radius: 4px;
  color: #8f3e39;
  background: #fdf6f5;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-logout:hover {
  border-color: #a14f4a;
  background: #faecea;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 76px;
  background: linear-gradient(112deg, #fbfaf7, #f8f7f3 48%, #f1f3f2);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
}

.eyebrow-mark {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 20px 0 18px;
  color: var(--navy);
  font-size: clamp(39px, 5vw, 62px);
  line-height: 1.28;
}

.hero h1 span {
  color: var(--green);
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: #5e6b7b;
  font-size: 18px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 19px;
  border: 0;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 8px 20px #152b4929;
}

.button-outline {
  border: 1px solid #cbd4df;
  color: var(--navy);
  background: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.hero-assurance {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
}

.assurance-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid #d6dfd9;
  border-radius: 50%;
  color: var(--green);
  background: #f2f6f2;
}

.assurance-icon svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
}

.hero-assurance strong,
.hero-assurance small {
  display: block;
}

.hero-assurance strong {
  color: #435368;
  font-size: 12px;
}

.hero-assurance small {
  color: #8490a0;
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  align-items: center;
}

.hero-ornament {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 340px;
  height: 340px;
  border: 1px solid #b78d4347;
  border-radius: 50%;
}

.hero-image-card {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  margin: 0 0 0 12px;
  padding: 10px;
  border: 1px solid #ffffffc7;
  background: #ffffffe0;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.hero-poster {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: space-between;
  padding: 29px 32px 24px;
  color: #f8f4e8;
  background: linear-gradient(145deg, #1b3855, #10233e 68%, #1c5551);
}

.poster-rule {
  width: 42px;
  height: 3px;
  background: var(--gold-light);
}

.hero-poster small {
  margin-top: 12px;
  color: #d9c58d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-poster strong {
  margin-top: auto;
  color: #fff;
  font-family: Georgia, serif;
  font-size: clamp(32px, 4vw, 49px);
  font-weight: 500;
  line-height: 0.95;
}

.hero-poster em {
  color: #e7ce91;
  font-style: normal;
}

.poster-caption {
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #ffffff38;
  color: #b9c8d5;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.hero-image-card figcaption {
  padding: 10px 5px 1px;
  color: #788494;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.caption-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-seal {
  position: absolute;
  z-index: 2;
  top: 3px;
  left: -20px;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid #b78d43c7;
  border-radius: 50%;
  color: var(--navy);
  background: #faf7ed;
  transform: rotate(-12deg);
}

.hero-seal span,
.hero-seal small {
  display: block;
  text-align: center;
}

.hero-seal small {
  color: var(--gold);
  font-size: 8px;
}

.hero-note-card {
  position: absolute;
  z-index: 3;
  right: -3px;
  bottom: 4px;
  width: 215px;
  padding: 17px 19px;
  border: 1px solid #e9e3d6;
  background: #fff;
  box-shadow: 0 13px 30px #152b491a;
}

.note-kicker {
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
}

.hero-note-card strong,
.hero-note-card small {
  display: block;
}

.hero-note-card strong {
  margin-top: 7px;
  color: var(--navy);
  font-size: 15px;
}

.note-rule {
  display: block;
  width: 33px;
  height: 2px;
  margin: 9px 0 6px;
  background: var(--gold);
}

.hero-bottom-line {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 24%, var(--gold) 24% 27%, transparent 27%);
}

.home-banner{padding:28px 0 0;background:#fff}.home-banner-frame{position:relative;min-height:180px;overflow:hidden;border-radius:14px;background:#eef2f4;box-shadow:var(--shadow)}.home-banner-slide{position:absolute;inset:0;width:100%;height:100%;min-height:180px;object-fit:cover;opacity:0;transition:opacity .6s ease}.home-banner-slide.is-active{position:relative;opacity:1}

/* Quick Strip */
.quick-strip {
  background: var(--navy);
  color: #fff;
}

.quick-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-strip a {
  display: flex;
  min-height: 76px;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid #ffffff24;
  text-decoration: none;
}

.quick-strip a:first-child {
  border-left: 1px solid #ffffff24;
}

.quick-number {
  color: var(--gold-light);
  font-size: 11px;
}

.quick-arrow {
  margin-left: auto;
  color: #e7cf99;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.heading-with-aside {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2,
.documents-copy h2,
.faq-intro h2 {
  margin: 9px 0 10px;
  color: var(--navy);
  font-size: clamp(27px, 3.1vw, 38px);
}

.section-intro {
  max-width: 625px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.official-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #e3e9e4;
  border-radius: 20px;
  color: var(--green);
  background: #f7faf7;
  font-size: 10px;
  font-weight: 700;
}

.official-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* Opportunities Card, Search, Table & Modal */
.jobs-card {
  background: #fff;
  border: 1px solid #eceff4;
  border-radius: 16px;
  padding: 30px 32px;
  box-shadow: 0 10px 30px #10213a0d;
}

.jobs-card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.jobs-card-head h2 {
  margin: 6px 0 4px;
  color: var(--navy);
  font-size: clamp(24px, 2.8vw, 30px);
  line-height: 1.3;
}

.jobs-card-head .section-intro {
  font-size: 13px;
}

.jobs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.jobs-search-box {
  position: relative;
  flex: 1 1 320px;
}

.jobs-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #6b7c93;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  pointer-events: none;
}

.jobs-search-box input {
  width: 100%;
  height: 44px;
  padding: 8px 14px 8px 42px;
  border: 1px solid #dce3eb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.jobs-search-box input:focus,
.jobs-filter-wrap select:focus {
  outline: 0;
  border-color: #e05a3a;
  box-shadow: 0 0 0 3px #e05a3a1a;
}

.jobs-filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.jobs-filter-wrap label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.jobs-filter-wrap select {
  min-width: 190px;
  height: 44px;
  padding: 8px 14px;
  border: 1px solid #dce3eb;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}

.job-list-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
}

.job-list-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13px;
}

.job-list-table thead tr {
  background: #fdeae4;
}

.job-list-table th {
  padding: 14px 16px;
  color: #df5536;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.job-list-table th.col-center,
.job-list-table td.col-center {
  text-align: center;
}

.job-list-table td {
  padding: 16px;
  border-bottom: 1px solid #edf0f4;
  color: var(--ink);
  vertical-align: middle;
}

.job-list-table tbody tr:hover td {
  background: #fcfcfd;
}

.job-list-table td strong,
.job-list-table td small {
  display: block;
}

.job-list-table td strong {
  color: var(--navy);
  font-size: 13px;
}

.job-list-table td small {
  color: #788696;
  font-size: 11px;
  margin-top: 2px;
}

.job-empty-cell {
  padding: 36px 16px;
  text-align: center;
  color: #788696;
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.status-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.status-open {
  color: #15803d;
  background: #eaf8f0;
  border: 1px solid #bbf7d0;
}

.status-pending {
  color: #a16207;
  background: #fef7e6;
  border: 1px solid #f3dfab;
}

.status-review {
  color: #1d4ed8;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
}

.status-approved {
  color: #15803d;
  background: #eaf8f0;
  border: 1px solid #bbf7d0;
}

.status-rejected {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.status-unpaid {
  color: #4b5563;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}

.status-submitted {
  color: #1d4ed8;
  background: #eef6ff;
  border: 1px solid #bfdbfe;
}

.status-verified {
  color: #15803d;
  background: #eaf8f0;
  border: 1px solid #bbf7d0;
}

.manage-actions {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.btn-pill-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 14px;
  border: 1px solid #f07b5f;
  border-radius: 8px;
  background: #fff;
  color: #df5536;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s;
}

.btn-pill-detail:hover {
  background: #fff5f2;
}

.btn-pill-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 14px;
  border: 1px solid #7fb3f5;
  border-radius: 8px;
  background: #fff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: 0.15s;
}

.btn-pill-action:hover {
  background: #eff6ff;
}

/* Job Detail Modal */
.job-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(16, 33, 58, 0.48);
  backdrop-filter: blur(2px);
}

.job-modal-backdrop.is-open {
  display: grid;
}

.job-modal {
  width: min(100%, 620px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  border-top: 4px solid #df5536;
  box-shadow: 0 24px 60px rgba(16, 33, 58, 0.24);
  padding: 26px 28px;
}

.job-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf0f4;
}

.job-modal-head h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 20px;
}

.job-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #fff;
  color: #526174;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.job-modal-close:hover {
  background: #f5f7fa;
  color: var(--navy);
}

.job-modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 18px 0;
}

.job-modal-meta small {
  display: block;
  color: #788696;
  font-size: 11px;
}

.job-modal-meta strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 13px;
}

.job-modal-box {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e4e9f0;
}

.job-modal-box h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 13px;
}

.job-modal-box p {
  margin: 0;
  color: #46576c;
  font-size: 13px;
  white-space: pre-line;
  line-height: 1.65;
}

.job-modal-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #edf0f4;
}

.section-footnote {
  display: flex;
  gap: 9px;
  margin: 15px 0 0;
  color: #798696;
  font-size: 11px;
}

/* Steps */
.steps-section {
  background: var(--paper);
}

.centered-heading {
  text-align: center;
}

.centered-heading .section-intro {
  margin: auto;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 39px;
}

.step-card {
  position: relative;
  min-height: 230px;
  padding: 24px 25px;
  border: 1px solid #e7e7e2;
  background: #fff;
}

.step-top {
  display: flex;
  justify-content: space-between;
}

.step-number {
  color: #c7a65f;
  font-weight: 800;
}

.step-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #eff5f1;
}

.step-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.step-card h3 {
  margin: 18px 0 5px;
  color: var(--navy);
  font-size: 17px;
}

.step-card p {
  margin: 0;
  color: #748091;
  font-size: 12px;
}

.step-line {
  position: absolute;
  right: 25px;
  bottom: 0;
  left: 25px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0 34px, #e9ecef 34px);
}

/* Documents */
.documents-section {
  padding: 78px 0;
  background: var(--navy);
  color: #edf2f5;
}

.documents-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.documents-copy h2 {
  color: #fff;
}

.documents-copy > p {
  color: #c3ced8;
  font-size: 13px;
}

.light-link {
  color: #f3db9f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.checklist-card {
  padding: 25px 29px;
  color: var(--ink);
  background: #fff;
}

.checklist-head {
  display: flex;
  gap: 12px;
  padding-bottom: 17px;
  border-bottom: 1px solid #edf0f2;
}

.checklist-symbol {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #edf5f0;
}

.checklist-head strong,
.checklist-head small {
  display: block;
}

.checklist-head small {
  color: #8893a0;
  font-size: 10px;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  gap: 10px;
  color: #536275;
  font-size: 12px;
}

.checkmark {
  display: inline-grid;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #eef5f1;
}

.checklist-note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #edf0f2;
  color: #748091;
  font-size: 11px;
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 80px;
}

.faq-intro p {
  color: var(--muted);
  font-size: 13px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  padding: 18px 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  display: grid;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  place-items: center;
  border: 1px solid #dfe4e9;
  border-radius: 50%;
  color: var(--gold);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 38px 19px 4px;
  color: #748091;
  font-size: 12px;
}

/* Contact Banner */
.contact-banner {
  padding: 38px 0;
  background: #f2f0e8;
  border-block: 1px solid #e7e2d4;
}

.contact-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-banner h2 {
  margin: 5px 0;
  color: var(--navy);
  font-size: 21px;
}

.contact-banner p {
  margin: 0;
  color: #6f7a88;
  font-size: 12px;
}

.button-light {
  min-width: 250px;
  min-height: 64px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 6px 20px #152b490e;
}

.button-light small,
.button-light strong {
  display: block;
  text-align: left;
  line-height: 1.3;
}

.button-light small {
  color: var(--muted);
  font-size: 10px;
}

.phone-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #eff5f1;
}

/* Footer */
.site-footer {
  color: #d9e0e8;
  background: var(--deep);
}

.footer-contact-main{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:30px 0;border-bottom:1px solid #ffffff1a}.footer-contact-main .section-kicker{color:#e4c987}.footer-contact-main h2{margin:5px 0;color:#fff;font-size:24px}.footer-contact-main p:not(.section-kicker){margin:0;color:#c5cfda;font-size:14px}.footer-contact-main .button-light{min-width:250px}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.85fr;
  align-items: center;
  gap: 30px;
  min-height: 135px;
  padding-block: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-mark {
  display: grid;
  width: 42px;
  height: 54px;
  place-items: center;
  border: 1px solid #e4c987a6;
  border-radius: 50%;
  color: #f0d99e;
  font-family: Georgia, serif;
  font-size: 11px;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: #fff;
  font-size: 13px;
}

.footer-brand span {
  color: #aeb9c6;
  font-size: 10px;
}

.site-footer address,
.footer-contact {
  color: #bac4d0;
  font-size: 10px;
  font-style: normal;
}

.footer-contact a,
.footer-contact span {
  display: block;
}

.footer-contact a {
  color: #f0d99e;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #ffffff1a;
  font-size: 10px;
  color: #9ba8b8;
}

.footer-bottom .container {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom a {
  color: #f0d99e;
  text-decoration: none;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 560px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand-emblem {
    width: 45px;
    height: 54px;
  }

  .brand-monogram {
    font-size: 11px;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .brand-copy small {
    font-size: 9px;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #dce2e8;
    background: #fff;
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--navy);
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    margin-left: 0;
    gap: 0;
    padding: 9px 18px 17px;
    background: #fff;
    box-shadow: 0 14px 20px #152b4914;
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation a {
    display: block;
    width: 100%;
    padding: 11px 3px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 12px;
  }

  .nav-account {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 10px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .nav-user-pill {
    justify-content: center;
  }

  .nav-logout {
    text-align: center;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 54px);
  }

  .hero-visual {
    min-height: 295px;
  }

  .hero-ornament {
    width: 265px;
    height: 265px;
  }

  .hero-image-card {
    width: 88%;
    margin-left: 4%;
  }

  .hero-poster {
    min-height: 215px;
    padding: 22px 23px 18px;
  }

  .hero-poster strong {
    font-size: 34px;
  }

  .hero-note-card {
    right: 0;
    width: 185px;
  }

  .quick-strip-inner {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    min-height: 51px;
    border-right: 0;
    border-bottom: 1px solid #ffffff1f;
  }

  .section {
    padding: 62px 0;
  }

  .heading-with-aside,
  .contact-banner-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .empty-state {
    grid-template-columns: 1fr;
  }

  .jobs-card {
    padding: 20px 16px;
  }

  .jobs-filter-wrap {
    width: 100%;
  }

  .jobs-filter-wrap select {
    flex: 1;
  }

  .job-modal-meta {
    grid-template-columns: 1fr;
  }

  .step-grid,
  .documents-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .site-footer address {
    grid-column: 1 / -1;
  }
}

@media (max-width: 390px) {
  .utility-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .site-footer address {
    grid-column: auto;
  }
}

/* Staff access button */
.nav-staff-button{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border:1px solid #b78d43;border-radius:4px;color:#b78d43;background:#fffaf0;font-size:12px;font-weight:800;text-decoration:none;white-space:nowrap;cursor:pointer;position:relative;z-index:20;pointer-events:auto}.nav-staff-button:hover{color:#fff;background:#152b49;border-color:#152b49}@media(max-width:760px){.nav-staff-button{width:100%;margin-top:8px}}
`r`n
/* Jobs listing page */
.page-hero{padding:54px 0 42px;background:linear-gradient(115deg,#f8f7f3,#eef2f1);border-bottom:1px solid #e3e8e7}.page-hero h1{margin:7px 0 8px;color:var(--navy);font-family:Georgia,"Noto Sans Thai",serif;font-size:38px;letter-spacing:-.02em}.page-hero p:not(.section-kicker){max-width:680px;margin:0;color:var(--muted);font-size:13px}.jobs-page-section{padding-top:42px;padding-bottom:76px;background:#f7f8f7}.primary-navigation .active{color:var(--navy);font-weight:800}@media(max-width:600px){.page-hero{padding:38px 0 30px}.page-hero h1{font-size:30px}}

/* Primary apply action in navigation */
.nav-apply-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;border:1px solid #b78d43;border-radius:5px;color:#fff!important;background:#b78d43;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap;box-shadow:0 4px 10px #b78d4326;transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.nav-apply-button span{font-size:14px;line-height:1}.nav-apply-button:hover{color:#fff!important;background:#8e6a2f;border-color:#8e6a2f;transform:translateY(-1px);box-shadow:0 7px 14px #8e6a2f30}.portal-nav .nav-apply-button,.auth-nav .nav-apply-button{padding:8px 13px;background:#e4c987;border-color:#e4c987;color:#10213a!important;box-shadow:none}.portal-nav .nav-apply-button:hover,.auth-nav .nav-apply-button:hover{background:#f0d99e;border-color:#f0d99e;color:#10213a!important}@media(max-width:760px){.nav-apply-button{width:100%;margin-top:6px}.portal-nav .nav-apply-button,.auth-nav .nav-apply-button{width:auto;margin-top:0}}
.site-header .brand{min-width:0}
.site-header .brand-copy{min-width:0}
.site-header .brand-emblem{display:flex!important;flex:0 0 54px!important;width:54px!important;height:64px!important;max-width:54px!important;max-height:64px!important;padding:2px!important;overflow:hidden!important;align-items:center!important;justify-content:center!important;border:1px solid #b78d438c!important;border-radius:50%!important;background:#fff!important;box-shadow:0 3px 12px #152b4926!important}
.site-header .brand-emblem img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
@media(max-width:760px){.site-header .brand-emblem{flex-basis:44px!important;width:44px!important;height:52px!important;max-width:44px!important;max-height:52px!important}}
.site-header,.utility-bar{font-size:1rem}.utility-bar{font-size:13px}.primary-navigation{gap:clamp(10px,1.2vw,18px);flex-wrap:nowrap}.nav-link,.nav-cta,.nav-staff-button,.nav-apply-button{font-size:15px;white-space:nowrap}.nav-staff-button,.nav-apply-button,.nav-cta{padding:8px 15px}.nav-account{gap:8px;padding-left:10px;flex-shrink:0}.nav-user-pill,.nav-logout{font-size:15px;padding:6px 10px;white-space:nowrap}.brand-copy strong{font-size:16px;white-space:nowrap}.brand-copy small{font-size:11px;white-space:nowrap}@media(max-width:1080px){.primary-navigation{gap:10px}.nav-link,.nav-cta,.nav-staff-button,.nav-apply-button{font-size:12.5px}.nav-staff-button,.nav-apply-button,.nav-cta{padding:7px 10px}.brand-copy strong{font-size:15px}}.hero-lead{font-size:18px}.hero-assurance strong{font-size:16px}.hero-assurance small{font-size:15px}.section-intro,.documents-copy>p,.faq-intro>p,.contact-banner p{font-size:15px}.step-card p,.checklist-note,.faq-item p{font-size:14px}.faq-item summary{font-size:15px}.footer-main,.footer-bottom{font-size:13px}
.site-footer .footer-mark{display:flex!important;flex:0 0 62px!important;width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:2px!important;border:1px solid #e4c987a6!important;border-radius:50%!important;background:#fff!important;box-shadow:inset 0 0 0 3px #fff, inset 0 0 0 4px #b78d4373!important}.site-footer .footer-mark img{display:block!important;width:54px!important;height:58px!important;max-width:54px!important;max-height:58px!important;object-fit:contain!important;border-radius:50%!important}@media(max-width:760px){.site-footer .footer-mark{flex-basis:48px!important;width:48px!important;height:48px!important;max-width:48px!important;max-height:48px!important}.site-footer .footer-mark img{width:42px!important;height:45px!important;max-width:42px!important;max-height:45px!important}}
.footer-contact-main{padding-inline:0}.footer-contact-main .button-light{color:var(--navy)}@media(max-width:760px){.footer-contact-main{align-items:flex-start;flex-direction:column;padding-block:24px}.footer-contact-main .button-light{width:100%;min-width:0}}
.site-header .primary-navigation{margin-left:clamp(32px,6vw,90px)}@media(max-width:760px){.site-header .primary-navigation{margin-left:0}}
.pdf-download-list{display:grid;gap:9px;margin:14px 0 17px}.pdf-download-list a{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:10px 12px;border:1px solid #e4e8e8;border-radius:8px;color:var(--navy);background:#fff;text-decoration:none;transition:.18s}.pdf-download-list a:hover{border-color:var(--gold);background:#fffaf0;transform:translateY(-1px)}.pdf-download-list a>span{grid-row:span 2;padding:4px 6px;border-radius:4px;color:#fff;background:#b34b43;font-size:10px;font-weight:800}.pdf-download-list strong{font-size:13px}.pdf-download-list small{color:var(--muted);font-size:11px}
body{font-size:15px}.hero-lead{font-size:17px}.section-intro,.documents-copy>p,.faq-intro>p{font-size:15px}.checklist li,.faq-item p{font-size:15px}


/* ==========================================================================\n   Modern homepage refresh\n   จำกัดผลกระทบไว้เฉพาะ index.php ที่ใช้ body.home-page\n   ========================================================================== */
.home-page {
  --home-radius: 18px;
  --home-radius-sm: 12px;
  --home-shadow: 0 20px 55px rgba(16, 33, 58, 0.12);
  --home-shadow-hover: 0 24px 65px rgba(16, 33, 58, 0.18);
  background: #f7f9fb;
}

.home-page ::selection {
  color: #fff;
  background: var(--green);
}

.home-page .site-header {
  border-bottom-color: rgba(21, 43, 73, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(16, 33, 58, 0.05);
}

.home-page .brand-emblem {
  border-color: rgba(183, 141, 67, 0.35);
  box-shadow: 0 7px 20px rgba(21, 43, 73, 0.13);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .brand:hover .brand-emblem {
  transform: rotate(-3deg) translateY(-2px);
  box-shadow: 0 10px 25px rgba(21, 43, 73, 0.2);
}

.home-page .nav-link,
.home-page .nav-cta,
.home-page .nav-staff-button,
.home-page .nav-apply-button,
.home-page .nav-logout {
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.2s ease;
}

.home-page .nav-link {
  padding: 9px 11px;
}

.home-page .nav-link:hover {
  background: #f0f5f3;
  color: var(--green);
}

.home-page .nav-apply-button {
  box-shadow: 0 7px 16px rgba(183, 141, 67, 0.22);
}

.home-page .nav-apply-button:hover,
.home-page .nav-cta:hover,
.home-page .nav-staff-button:hover {
  transform: translateY(-2px);
}

.home-page .hero {
  isolation: isolate;
  padding: 92px 0 88px;
  background:
    radial-gradient(circle at 83% 18%, rgba(228, 201, 135, 0.22), transparent 25%),
    radial-gradient(circle at 5% 86%, rgba(20, 97, 77, 0.1), transparent 28%),
    linear-gradient(125deg, #fcfbf8 0%, #f6f8f7 52%, #edf3f1 100%);
}

.home-page .hero::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: -120px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(20, 97, 77, 0.12);
  border-radius: 50%;
  content: "";
}

.home-page .hero-grid {
  gap: 84px;
}

.home-page .hero h1 {
  max-width: 650px;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.home-page .hero h1 span {
  background: linear-gradient(90deg, var(--green), #1e8064);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-page .hero-lead {
  max-width: 590px;
  color: #536477;
}

.home-page .button,
.home-page .text-link,
.home-page .light-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease,
    background 0.2s ease;
}

.home-page .button-primary {
  border-radius: 12px;
  background: linear-gradient(135deg, #193b60, #152b49);
  box-shadow: 0 12px 24px rgba(21, 43, 73, 0.2);
}

.home-page .button-primary:hover {
  box-shadow: 0 16px 30px rgba(21, 43, 73, 0.28);
}

.home-page .text-link:hover,
.home-page .light-link:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.home-page .hero-assurance {
  margin-top: 42px;
  padding: 13px 16px 13px 12px;
  width: fit-content;
  border: 1px solid rgba(20, 97, 77, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 25px rgba(16, 33, 58, 0.05);
}

.home-page .hero-image-card {
  border-radius: 22px;
  box-shadow: var(--home-shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.home-page .hero-image-card:hover {
  transform: rotate(-1deg) translateY(-5px);
  box-shadow: var(--home-shadow-hover);
}

.home-page .hero-poster {
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(27, 56, 85, 0.95), rgba(16, 35, 62, 0.98) 68%, rgba(28, 85, 81, 0.96)),
    radial-gradient(circle at 75% 15%, rgba(228, 201, 135, 0.3), transparent 28%);
}

.home-page .hero-note-card {
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(16, 33, 58, 0.16);
}

.home-page .hero-seal {
  box-shadow: 0 12px 25px rgba(16, 33, 58, 0.1);
}

.home-page .home-banner {
  padding: 36px 0 8px;
  background: #f7f9fb;
}

.home-page .home-banner-frame {
  min-height: 210px;
  border: 1px solid rgba(21, 43, 73, 0.08);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}

.home-page .home-banner-slide {
  min-height: 210px;
}

.home-page .section {
  padding: 100px 0;
}

.home-page .section-heading h2,
.home-page .documents-copy h2,
.home-page .faq-intro h2 {
  letter-spacing: -0.025em;
}

.home-page .step-grid {
  gap: 22px;
  margin-top: 44px;
}

.home-page .step-card {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid rgba(21, 43, 73, 0.08);
  border-radius: var(--home-radius);
  box-shadow: 0 8px 25px rgba(16, 33, 58, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-page .step-card::after {
  position: absolute;
  right: -35px;
  bottom: -55px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(183, 141, 67, 0.13);
  border-radius: 50%;
  content: "";
}

.home-page .step-card:hover {
  border-color: rgba(183, 141, 67, 0.38);
  box-shadow: var(--home-shadow);
  transform: translateY(-6px);
}

.home-page .step-icon,
.home-page .checklist-symbol,
.home-page .checkmark {
  transition: transform 0.25s ease, background 0.25s ease;
}

.home-page .step-card:hover .step-icon {
  background: #e1f0e9;
  transform: scale(1.08) rotate(4deg);
}

.home-page .documents-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 87% 18%, rgba(228, 201, 135, 0.13), transparent 25%),
    linear-gradient(135deg, #152b49, #10213a 70%, #143f3d);
}

.home-page .documents-section::after {
  position: absolute;
  right: -150px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(228, 201, 135, 0.18);
  border-radius: 50%;
  content: "";
}

.home-page .documents-grid {
  position: relative;
  z-index: 1;
}

.home-page .checklist-card {
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--home-radius);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.home-page .pdf-download-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.home-page .pdf-download-list a {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 1px 12px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e7ebef;
  border-radius: var(--home-radius-sm);
  background: #fbfcfd;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-page .pdf-download-list a:hover {
  border-color: rgba(20, 97, 77, 0.28);
  background: #f5faf7;
  box-shadow: 0 8px 20px rgba(16, 33, 58, 0.07);
  transform: translateX(4px);
}

.home-page .pdf-download-list a > span {
  grid-row: span 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  color: #a56f1b;
  background: #fff4d9;
  font-size: 10px;
  font-weight: 900;
}

.home-page .pdf-download-list strong {
  color: var(--navy);
  font-size: 13px;
}

.home-page .pdf-download-list small {
  color: #7c8795;
  font-size: 11px;
}

.home-page .faq-section {
  background: #fff;
}

.home-page .faq-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--home-radius);
  box-shadow: 0 8px 28px rgba(16, 33, 58, 0.04);
}

.home-page .faq-item {
  padding: 0 18px;
  background: #fff;
  transition: background 0.2s ease;
}

.home-page .faq-item:hover,
.home-page .faq-item[open] {
  background: #fbfcfa;
}

.home-page .faq-item summary {
  padding: 20px 4px;
}

.home-page .faq-item summary::after {
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-page .faq-item[open] summary::after {
  color: #fff;
  background: var(--green);
  transform: rotate(180deg);
}

.home-page .site-footer {
  background: linear-gradient(135deg, #10213a, #0d1c31);
}

.home-page .footer-main {
  min-height: 155px;
}

.home-page .footer-brand strong {
  font-size: 15px;
}

.home-page .footer-contact a,
.home-page .footer-bottom a {
  transition: color 0.2s ease;
}

.home-page .footer-contact a:hover,
.home-page .footer-bottom a:hover {
  color: #fff;
}

.home-page :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(228, 201, 135, 0.85);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .home-page .hero {
    padding: 60px 0 68px;
  }

  .home-page .hero-grid {
    gap: 42px;
  }

  .home-page .hero-assurance {
    width: 100%;
  }

  .home-page .home-banner {
    padding-top: 24px;
  }

  .home-page .home-banner-frame,
  .home-page .home-banner-slide {
    min-height: 150px;
  }

  .home-page .section {
    padding: 72px 0;
  }

  .home-page .step-card {
    min-height: 220px;
  }

  .home-page .checklist-card {
    padding: 22px 18px;
  }

  .home-page .pdf-download-list a {
    grid-template-columns: 40px 1fr;
    padding: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Legacy portal layout */
.portal-page { min-height: 100vh; background: #f4f6f8; color: #24364d; }
.portal-header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 max(24px, calc((100% - 1180px) / 2)); background: #10213a; color: #fff; box-shadow: 0 5px 18px #10213a18; }
.portal-brand a, .portal-nav a { color: inherit; text-decoration: none; }
.portal-brand a { display: flex; align-items: center; gap: 12px; }
.portal-brand strong, .portal-brand small { display: block; white-space: nowrap; }
.portal-brand strong { font-size: 17px; }
.portal-brand small { margin-top: 2px; color: #b8c5d1; font-size: 15px; }
.portal-mark { display: flex; flex: 0 0 42px; width: 42px; height: 50px; align-items: center; justify-content: center; padding: 2px; overflow: hidden; border: 1px solid #e4c987; border-radius: 50%; background: #fff; }
.portal-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.portal-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.portal-nav a:hover { color: #f0d99e; background: transparent; }
.nav-divider { width: 1px; height: 20px; background: #ffffff2e; }
.account-name { color: #d5dee7; font-size: 15px; white-space: nowrap; }
.portal-main { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 70px; }
.portal-footer { padding: 18px 24px; color: #84909d; text-align: center; background: #fff; border-top: 1px solid #e4e8ec; font-size: 11px; }
.portal-card { padding: 28px; border: 1px solid #e0e6eb; border-radius: 5px; background: #fff; box-shadow: 0 12px 35px #152b490b; }
@media (max-width: 800px) { .portal-header { align-items: flex-start; flex-direction: column; padding: 16px 20px; } .portal-nav { width: 100%; gap: 12px; } .portal-main { width: min(100% - 28px, 620px); padding-top: 25px; } }



/* My applications page */
.list-card { padding: 30px 32px; border: 1px solid #e0e6eb; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px #10213a0d; }
.list-card-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.list-card-head h1 { margin: 0 0 4px; color: var(--navy); font-size: 30px; line-height: 1.3; }
.list-card-head p { margin: 0; color: var(--muted); font-size: 16px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 320px; }
.search-box svg { position: absolute; top: 50%; left: 14px; width: 17px; height: 17px; transform: translateY(-50%); color: #6b7c93; fill: none; stroke: currentColor; stroke-width: 2; pointer-events: none; }
.search-box input { width: 100%; height: 44px; padding: 8px 14px 8px 42px; border: 1px solid #dce3eb; border-radius: 10px; color: var(--ink); background: #fff; font-size: 15px; }
.search-box input:focus, .filter-select-wrap select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px #b78d4320; }
.filter-select-wrap { display: flex; align-items: center; gap: 10px; }
.filter-select-wrap label { color: var(--ink); font-size: 15px; font-weight: 700; white-space: nowrap; }
.filter-select-wrap select { min-width: 190px; height: 44px; padding: 8px 14px; border: 1px solid #dce3eb; border-radius: 10px; color: var(--ink); background: #fff; font-size: 15px; cursor: pointer; }
.clean-table-wrap { overflow-x: auto; border: 1px solid #e6ebef; border-radius: 10px; }
.clean-table { width: 100%; min-width: 820px; border-collapse: collapse; background: #fff; font-size: 15px; }
.clean-table thead tr { background: #f5f7f8; }
.clean-table th { padding: 14px 16px; color: var(--green); text-align: left; font-size: 14px; white-space: nowrap; }
.clean-table th.col-center, .clean-table td.col-center { text-align: center; }
.clean-table td { padding: 16px; border-bottom: 1px solid #edf0f4; color: var(--ink); vertical-align: middle; }
.clean-table tbody tr:hover td { background: #fcfdfd; }
.clean-table td strong, .clean-table td small { display: block; }
.clean-table td strong { color: var(--navy); font-size: 15px; }
.clean-table td small { margin-top: 2px; color: #788696; font-size: 16px; }
.empty-table { padding: 36px 16px !important; color: #7f8b98 !important; text-align: center; }
.status-badge { display: inline-flex; align-items: center; padding: 4px 10px; border: 1px solid transparent; border-radius: 20px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status-pending { color: #a16207; background: #fef7e6; border-color: #f3dfab; }
.status-review { color: #1d4ed8; background: #eef6ff; border-color: #bfdbfe; }
.status-approved { color: #15803d; background: #eaf8f0; border-color: #bbf7d0; }
.status-rejected { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.status-unpaid { color: #4b5563; background: #f3f4f6; border-color: #e5e7eb; }
.status-submitted { color: #1d4ed8; background: #eef6ff; border-color: #bfdbfe; }
.status-verified { color: #15803d; background: #eaf8f0; border-color: #bbf7d0; }
.manage-actions { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; }
.manage-row { display: inline-flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.btn-pill-detail, .btn-pill-action, .btn-pill-neutral { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; padding: 7px 12px; border: 1px solid #ccd7e0; border-radius: 8px; color: var(--navy); background: #fff; font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer; transition: .15s ease; }
.btn-pill-detail { border-color: #f07b5f; color: #df5536; }
.btn-pill-action { border-color: #7fb3f5; color: #2563eb; }
.btn-pill-neutral:hover, .btn-pill-detail:hover, .btn-pill-action:hover { background: #f5f7fa; transform: translateY(-1px); }
.app-modal-backdrop { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 20px; background: rgba(16, 33, 58, .48); backdrop-filter: blur(2px); }
.app-modal-backdrop.is-open { display: grid; }
.app-modal { width: min(100%, 580px); max-height: 90vh; overflow-y: auto; padding: 26px 28px; border-top: 4px solid var(--gold); border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(16, 33, 58, .24); }
.app-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #edf0f4; }
.app-modal-head h2 { margin: 4px 0 0; color: var(--navy); font-size: 22px; }
.app-modal-close { width: 34px; height: 34px; border: 1px solid #dce3eb; border-radius: 8px; color: #526174; background: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.modal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 18px 0; }
.modal-meta-item small { display: block; color: #788696; font-size: 13px; }
.modal-meta-item strong, .modal-meta-item span { display: inline-block; margin-top: 3px; color: var(--navy); font-size: 15px; }
.modal-message-box { margin-top: 14px; padding: 14px 16px; border: 1px solid #e4e9f0; border-radius: 10px; background: #f8fafc; }
.modal-message-box h3 { margin: 0 0 6px; color: var(--navy); font-size: 15px; }
.modal-message-box p { margin: 0; color: #46576c; font-size: 14px; line-height: 1.65; white-space: pre-line; }
.app-modal-foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #edf0f4; }
@media (max-width: 640px) { .list-card { padding: 20px 16px; } .list-card-head h1 { font-size: 25px; } .filter-select-wrap { width: 100%; } .filter-select-wrap select { flex: 1; } .modal-meta { grid-template-columns: 1fr; } .app-modal { padding: 22px 18px; } }


/* Related application pages and notifications */
.application-page,.success-page{background:#f7f8fa}.application-page .application-hero{padding:46px 0 42px;background:linear-gradient(115deg,#f8f7f3,#eef3f1);border-bottom:1px solid #e3e8e7}.breadcrumb{display:flex;gap:9px;margin-bottom:22px;color:#718091;font-size:13px}.breadcrumb a{color:var(--green);text-decoration:none}.application-hero-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.application-hero h1{margin:8px 0 12px;color:var(--navy);font-size:clamp(30px,4vw,46px);line-height:1.25}.application-hero h1 span{color:var(--green)}.application-hero-heading p:not(.section-kicker){max-width:690px;margin:0;color:var(--muted);font-size:15px}.approval-badge{display:flex;align-items:center;gap:10px;min-width:190px;padding:13px 16px;border:1px solid #dce9e1;border-radius:12px;background:#f7fbf8}.approval-dot{width:9px;height:9px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px #14614d1a}.approval-badge small,.approval-badge strong{display:block}.approval-badge small{color:#7a8794;font-size:11px}.approval-badge strong{color:var(--green);font-size:15px}.application-content{padding:52px 0 78px}.application-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:22px}.application-main{display:grid;gap:18px;min-width:0}.job-card,.aside-card,.success-card{border:1px solid #e0e6eb;border-radius:16px;background:#fff;box-shadow:0 10px 30px #10213a0d}.job-card{padding:28px}.job-card-header,.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.job-card h2,.card-title-row h2,.aside-card h2{margin:5px 0 4px;color:var(--navy);font-size:23px}.job-department,.card-subtitle{margin:0;color:var(--muted);font-size:15px}.job-status{padding:7px 11px;border:1px solid #dce9e1;border-radius:20px;color:var(--green);background:#f2f8f4;font-size:13px;font-weight:700;white-space:nowrap}.job-facts{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #edf0f2}.fact-label{display:block;color:#84909d;font-size:12px}.job-facts strong{display:block;margin-top:4px;color:var(--navy);font-size:14px}.notice-box,.notice{display:flex;gap:10px;margin-top:20px;padding:13px 15px;border-left:3px solid var(--gold);border-radius:0 10px 10px 0;color:#6e7987;background:#fbf8ef;font-size:14px;line-height:1.65}.notice-box p{margin:0}.notice-box a,.notice a{color:var(--green);font-weight:700}.notice-icon,.title-icon{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border-radius:50%;color:#fff;background:var(--gold);font-weight:800}.title-icon{border-radius:11px;color:#a56f1b;background:#fff4d9}.payment-form{margin-top:24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field{display:block;margin:0 0 15px}.field>span{display:block;margin-bottom:6px;color:#46576c;font-size:14px;font-weight:700}.field input,.field select,.field textarea{width:100%;min-height:44px;padding:9px 11px;border:1px solid #d7e0e7;border-radius:8px;color:var(--ink);background:#fff;font:inherit;font-size:15px}.field textarea{min-height:105px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:var(--green);box-shadow:0 0 0 3px #14614d1f}.form-actions{display:flex;justify-content:flex-end;margin-top:22px}.consent-check{display:flex;align-items:flex-start;gap:9px;margin-top:18px;color:#526174;font-size:16px}.consent-check input{width:18px;height:18px;accent-color:var(--green)}.photo-upload-wrap{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:14px;border:1px dashed #cbd5e1;border-radius:12px;background:#f8fafc}.applicant-photo-box{display:flex;width:96px;height:120px;flex:0 0 96px;align-items:center;justify-content:center;overflow:hidden;border:1px solid #cbd5e1;border-radius:10px;color:#94a3b8;background:#fff;font-size:11px;text-align:center}.applicant-photo-box img{width:100%;height:100%;object-fit:cover}.doc-upload-list{display:grid;gap:10px;margin:10px 0 14px}.doc-upload-row{display:grid;grid-template-columns:1.1fr 1.1fr 1.3fr auto;align-items:end;gap:10px;padding:12px;border:1px solid #dce3eb;border-radius:10px;background:#f8fafc}.doc-upload-row .field{margin:0}.application-aside{min-width:0}.aside-card{padding:24px}.sticky-card{position:sticky;top:104px}.summary-row{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #edf0f2}.summary-row span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;color:var(--green);background:#edf5f0;font-weight:800}.summary-row strong{color:var(--navy);font-size:14px}.aside-button{width:100%;margin-top:20px}.portal-title{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:25px}.portal-title h1{margin:5px 0;color:var(--navy);font-size:30px}.portal-title p{margin:0;color:var(--muted);font-size:15px}.meta-table{width:100%;border-collapse:collapse;font-size:15px}.meta-table th,.meta-table td{padding:12px 0;border-bottom:1px solid #edf0f2;text-align:left}.meta-table th{width:35%;color:#81909f;font-weight:500}.meta-table td{color:#304257;font-weight:700}.detail-card{padding:22px;border:1px solid #e0e6eb;border-radius:12px;background:#fff}.detail-card h2{margin:0 0 10px;color:var(--navy);font-size:20px}.detail-card p{margin:0;color:#46576c;font-size:15px;line-height:1.85;white-space:pre-line}.success-card{max-width:680px;margin:70px auto;padding:42px;text-align:center}.success-mark{display:grid;width:64px;height:64px;margin:0 auto 18px;place-items:center;border-radius:50%;color:#fff;background:var(--green);font-size:30px}.success-number{color:var(--green);font-size:20px;font-weight:800}
.application-notifications{margin-bottom:22px;padding:24px 26px;border:1px solid #e0e6eb;border-radius:16px;background:#fff;box-shadow:0 10px 30px #10213a0d}.notification-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:18px}.notification-heading h2{margin:5px 0 4px;color:var(--navy);font-size:22px}.notification-heading p:not(.kicker){margin:0;color:var(--muted);font-size:16px}.notification-count{padding:6px 11px;border:1px solid #dce9e1;border-radius:20px;color:var(--green);background:#f2f8f4;font-size:13px;font-weight:700;white-space:nowrap}.notification-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.notification-card{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #e1e7eb;border-left:4px solid #94a3b8;border-radius:12px;background:#fbfcfd}.notification-icon{display:grid;width:30px;height:30px;flex:0 0 30px;place-items:center;border-radius:50%;color:#fff;background:#64748b;font-size:14px;font-weight:800}.notification-body{min-width:0}.notification-body h3{margin:0 0 4px;color:var(--navy);font-size:14px}.notification-body p{margin:0 0 7px;color:#657386;font-size:16px;line-height:1.55}.notification-body a{color:var(--green);font-size:13px;font-weight:800;text-decoration:none}.notification-warning{border-left-color:#d39a27;background:#fffaf0}.notification-warning .notification-icon{background:#d39a27}.notification-danger{border-left-color:#b34b43;background:#fff7f6}.notification-danger .notification-icon{background:#b34b43}.notification-info{border-left-color:#3978a5;background:#f5faff}.notification-info .notification-icon{background:#3978a5}.notification-success{border-left-color:var(--green);background:#f3faf6}.notification-success .notification-icon{background:var(--green)}.notification-empty{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px solid #dce9e1;border-radius:10px;color:var(--green);background:#f3faf6}.notification-empty span{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;color:#fff;background:var(--green);font-weight:800}.notification-empty p{margin:0;font-size:14px}
@media(max-width:900px){.application-layout{grid-template-columns:1fr}.sticky-card{position:static}.application-aside{order:-1}}@media(max-width:700px){.application-hero-heading,.job-card-header,.card-title-row{align-items:flex-start;flex-direction:column}.job-facts,.form-grid{grid-template-columns:1fr 1fr}.doc-upload-row{grid-template-columns:1fr}.application-hero h1{font-size:32px}.job-card,.aside-card{padding:20px}.notification-heading{align-items:flex-start;flex-direction:column;gap:10px}.notification-grid{grid-template-columns:1fr}}@media(max-width:460px){.job-facts,.form-grid{grid-template-columns:1fr}.approval-badge{width:100%}}



/* Applicant information form refinement */
.application-page .card-title-row {
  justify-content: flex-start;
  align-items: center;
  gap: 14px;
}
.application-page .payment-form {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.apply-section {
  padding: 20px;
  border: 1px solid #e1e8eb;
  border-radius: 14px;
  background: #fbfcfd;
}
.apply-section-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.apply-section-head-split {
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.apply-section-head-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.apply-section-head h3 {
  margin: 0 0 3px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
}
.apply-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.apply-section-badge {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #eaf4ee;
  border: 1px solid #cfe3d7;
  font-size: 13px;
  font-weight: 800;
}
.apply-hint {
  display: block;
  margin-top: 6px;
  color: #68778a;
  font-size: 12px;
}
.applicant-fields {
  margin-top: 0;
  padding: 18px;
  border: 1px solid #dce6e9;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff, #f5faf8);
}
.applicant-fields .field {
  margin: 0;
}
.applicant-fields label:first-child {
  grid-column: 1 / -1;
}
.applicant-fields label > span {
  display: block;
  margin-bottom: 6px;
  color: #304257;
  font-size: 14px;
  font-weight: 700;
}
.applicant-fields label > span b {
  color: #c46b4b;
}
.applicant-fields input,
.application-page .field input,
.application-page .field select,
.application-page .field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #cfdde0;
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.applicant-fields input:focus {
  outline: 0;
  border-color: var(--green);
  box-shadow: 0 0 0 3px #14614d1f;
}
.photo-upload-meta {
  flex: 1;
  min-width: 220px;
}
.photo-upload-meta .field {
  margin: 0;
}
.application-page input[type="file"] {
  padding: 7px 10px;
  font-size: 13px;
  color: #46576c;
  background: #fff;
  cursor: pointer;
}
.application-page input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f1f5f9;
  color: var(--navy);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.application-page input[type="file"]::file-selector-button:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}
.doc-upload-list {
  margin: 0;
}
.doc-upload-row {
  background: #fff;
  border-color: #dce3eb;
}
.doc-upload-row .js-remove-doc-row {
  min-height: 44px;
  padding: 0 14px;
}
.form-download-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 13px 16px;
  margin-bottom: 14px;
  border: 1px solid #e7dec7;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  background: #fcfaf3;
}
.form-download-banner strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}
.form-download-banner small {
  display: block;
  margin-top: 2px;
  color: #68778a;
  font-size: 12px;
}
.application-page .consent-check {
  padding: 14px 16px;
  border: 1px solid #dce6e2;
  border-radius: 10px;
  background: #f4faf7;
  line-height: 1.6;
}
.application-page .consent-check input {
  margin-top: 3px;
  flex: 0 0 18px;
}
.application-page .form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e6ecef;
}
@media (max-width: 700px) {
  .apply-section {
    padding: 16px;
  }
  .applicant-fields {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .applicant-fields label:first-child {
    grid-column: auto;
  }
  .application-page .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .application-page .form-actions .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}


/* Application action utility refinement */
.application-page .form-actions {
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form-actions-hint {
  color: #68778a;
  font-size: 12px;
  line-height: 1.5;
}
.form-actions-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.application-page .form-actions .button {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.application-page .apply-back-button {
  color: #526174;
  border: 1px solid #cbd5e1;
  background: #fff;
}
.application-page .apply-back-button:hover {
  color: var(--navy);
  border-color: #94a3b8;
  background: #f8fafc;
}
.application-page .apply-submit-button {
  min-width: 205px;
  box-shadow: 0 6px 14px rgba(20, 97, 77, .16);
}
.application-page .form-actions .button:hover {
  transform: translateY(-1px);
}
.application-page .form-actions .button:focus-visible,
.application-page .btn-pill-action:focus-visible,
.application-page .btn-pill-danger:focus-visible {
  outline: 3px solid rgba(20, 97, 77, .24);
  outline-offset: 2px;
}
@media (max-width: 700px) {
  .application-page .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .form-actions-hint {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f1f6f4;
    text-align: center;
  }
  .form-actions-buttons {
    width: 100%;
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .application-page .form-actions .button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Unified Site Builder Header & Footer Gradient across Portal & Application Pages */
.portal-header {
  background: linear-gradient(135deg, var(--sb-header-start, var(--sb-primary, #14614d)) 0%, var(--sb-header-end, #10213a) 100%);
  border-bottom: 3px solid var(--sb-accent, #c89a48);
}
.application-page .site-header {
  background: linear-gradient(135deg, var(--sb-header-start, var(--sb-primary, #14614d)) 0%, var(--sb-header-end, #10213a) 100%);
  border-bottom: 3px solid var(--sb-accent, #c89a48);
  color: #ffffff;
}
.application-page .site-header .brand-copy strong { color: #ffffff; }
.application-page .site-header .brand-copy small { color: rgba(226, 232, 240, 0.85); }
.application-page .site-header .nav-link,
.application-page .site-header .nav-cta,
.application-page .site-header .nav-user-pill { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); }
.application-page .site-header .nav-logout { color: #ffe4e6; border-color: rgba(254, 202, 202, 0.45); background: rgba(255, 245, 245, 0.14); }
.application-page .site-header .menu-toggle span { background: #ffffff; }

.portal-footer {
  padding: 24px;
  color: #dbe5f0;
  background: linear-gradient(135deg, var(--sb-footer-start, var(--sb-primary, #14614d)) 0%, var(--sb-footer-end, #10213a) 100%);
  border-top: 2px solid var(--sb-accent, #c89a48);
  font-size: 13px;
  line-height: 1.65;
}
.application-page .site-footer {
  background: linear-gradient(135deg, var(--sb-footer-start, var(--sb-primary, #14614d)) 0%, var(--sb-footer-end, #10213a) 100%);
  border-top: 2px solid var(--sb-accent, #c89a48);
}
.portal-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.portal-footer-info {
  display: grid;
  gap: 2px;
  text-align: left;
}
.portal-footer-info strong {
  color: #ffffff;
  font-size: 13.5px;
}
.portal-footer-info span {
  color: #cbd5e1;
  font-size: 12.5px;
}
.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(228, 201, 135, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f0d99e;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.footer-top-btn:hover {
  background: rgba(228, 201, 135, 0.22);
  border-color: rgba(228, 201, 135, 0.8);
  color: #ffffff;
  transform: translateY(-1px);
}
.site-footer .footer-top-btn {
  border-color: rgba(228, 201, 135, 0.55);
  background: rgba(255, 255, 255, 0.08);
  color: #f0d99e;
}
.site-footer .footer-top-btn:hover {
  background: rgba(228, 201, 135, 0.22);
  border-color: rgba(228, 201, 135, 0.8);
  color: #ffffff;
}
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--sb-accent, #b78d43);
  border-radius: 50%;
  background: var(--sb-primary, #152b49);
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 33, 58, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, filter 0.18s ease;
}
.scroll-top-btn.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-2px);
}
@media (max-width: 640px) {
  .portal-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
}
@media print {
  .scroll-top-btn,
  .footer-top-btn {
    display: none !important;
  }
}
