@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;
}
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid #d7dee7;
  border-radius: 0px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 60;
}

.nav-dropdown-menu a {
  
  display: block;
  padding: 9px 12px;
  border-radius: 4px;
  color: #45556a;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}


.nav-dropdown-menu a:hover {
  background: #f3f6f9;
  color: var(--navy);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}
/* 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;
    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;
}

.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;
}

.quick-decision-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 20px;
}

.quick-decision-row button {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}

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

.quick-decision-row button:focus-visible {
  outline: 3px solid rgba(228, 201, 135, 0.8);
  outline-offset: 2px;
}

.btn-pill-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #2f8f67;
  color: #fff;
  background: linear-gradient(135deg, #2f8f67, #237653);
  box-shadow: 0 6px 14px rgba(47, 143, 103, 0.2);
}

.btn-pill-success:hover {
  border-color: #1d6647;
  background: linear-gradient(135deg, #287e5b, #1d6647);
  box-shadow: 0 9px 18px rgba(47, 143, 103, 0.28);
}

.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;
}

.btn-pill-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  padding: 6px 14px;
  border: 1px solid #d95c58;
  border-radius: 8px;
  background: #fff7f5;
  color: #b43d38;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease;
}

.btn-pill-danger:hover {
  border-color: #b43d38;
  background: #fae9e7;
  box-shadow: 0 6px 14px rgba(180, 61, 56, 0.15);
}

.quick-decision-row .btn-pill-danger {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #b43d38;
  font-size: 13px;
  font-weight: 800;
}
/* 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;
  }
}


.admin-module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.admin-module-card { display: flex; min-height: 180px; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid #e0e6eb; border-radius: 14px; background: #fff; color: #24364d; text-decoration: none; box-shadow: 0 10px 24px #10213a08; }
@media (max-width: 1100px) { .admin-module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .admin-module-grid { grid-template-columns: 1fr; } }


/* Staff console cleanup */
.portal-page { background: #f4f6f8; }
.portal-header { min-height: 78px; }
.portal-main { padding-top: 34px; }
.portal-nav { align-items: center; gap: 10px; }
.staff-summary-strip { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; margin-bottom: 18px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #46576c; font-size: 14px; box-shadow: 0 6px 18px #10213a08; }
.staff-summary-strip .strip-group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.staff-summary-strip strong { color: var(--navy); }
.staff-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-bottom: 20px; }
.staff-stat { min-height: 100px; padding: 18px 20px; border: 1px solid #e6ebf1; border-top: 3px solid var(--gold); border-radius: 12px; background: #fff; box-shadow: 0 6px 18px #10213a08; }
.staff-stat.is-accent { border-top-color: #df5536; }
.staff-stat.is-green { border-top-color: #15803d; }
.staff-stat.is-blue { border-top-color: #2563eb; }
.staff-stat small, .staff-stat strong { display: block; }
.staff-stat small { color: var(--muted); font-size: 13px; font-weight: 700; }
.staff-stat strong { margin-top: 6px; color: var(--navy); font-size: 27px; line-height: 1.1; }
.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, .list-card-head h2 { margin: 0 0 4px; color: var(--navy); }
.list-card-head p { margin: 0; color: var(--muted); font-size: 14px; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.staff-filter-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.staff-filter-bar .search-box { flex: 1 1 260px; }
.staff-filter-bar select, .staff-filter-bar input[type="date"] { height: 44px; padding: 8px 12px; border: 1px solid #dce3eb; border-radius: 10px; color: var(--ink); background: #fff; font: inherit; font-size: 14px; }
.staff-filter-bar select:focus, .staff-filter-bar input[type="date"]:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px #b78d4320; }
.bulk-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; margin-bottom: 16px; border: 1px solid #dce3eb; border-radius: 10px; background: #f8fafc; }
.bulk-bar-left, .bulk-bar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bulk-bar-actions select, .bulk-bar-actions input { height: 36px; }
.clean-table-wrap { overflow-x: auto; border: 1px solid #e6ebef; border-radius: 10px; }
.clean-table { width: 100%; min-width: 980px; border-collapse: collapse; background: #fff; font-size: 14px; }
.clean-table thead tr { background: #f1f6f4; }
.clean-table th { padding: 13px; color: var(--green); text-align: left; font-size: 13px; white-space: nowrap; }
.clean-table td { padding: 13px; border-bottom: 1px solid #edf0f4; color: var(--ink); vertical-align: middle; }
.clean-table td strong, .clean-table td small { display: block; }
.clean-table td strong { color: var(--navy); font-size: 14px; }
.clean-table td small { margin-top: 2px; color: #788696; font-size: 12px; }
.clean-table tbody tr:hover td { background: #f8fbfa; }
.empty-table { padding: 36px 16px !important; color: #7f8b98; text-align: center; }
.slide-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.slide-admin-card { overflow: hidden; border: 1px solid #e0e6eb; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px #10213a0b; }
.slide-admin-preview { position: relative; aspect-ratio: 16 / 6; background: #eef2f5; }
.slide-admin-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.slide-admin-preview .status-badge { position: absolute; top: 10px; right: 10px; }
.slide-admin-form { padding: 16px; }
.slide-admin-form > form { display: grid; gap: 12px; }
.slide-admin-form .field { margin: 0; }
.slide-admin-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.slide-admin-actions .inline-form { display: inline-flex; margin: 0; }
.status-published { color: #15803d; background: #eaf8f0; border-color: #bbf7d0; }
.status-draft { color: #64748b; background: #f1f5f9; border-color: #cbd5e1; }
@media (max-width: 960px) { .staff-stats { grid-template-columns: repeat(3, 1fr); } .staff-filter-bar select, .staff-filter-bar input[type="date"] { flex: 1 1 180px; } }
@media (max-width: 640px) { .staff-stats { grid-template-columns: 1fr 1fr; } .list-card { padding: 20px 16px; } .bulk-bar-actions { width: 100%; } .bulk-bar-actions select, .bulk-bar-actions input, .bulk-bar-actions button { flex: 1 1 100%; } .slide-admin-grid { grid-template-columns: 1fr; } }


.account-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border: 2px solid #d7f5df;
  border-radius: 50%;
  background: #35b86b;
  box-shadow: 0 0 0 2px rgba(53, 184, 107, 0.18), 0 0 10px rgba(53, 184, 107, 0.42);
  vertical-align: middle;
}
/* Clean final admin dropdown behavior */
.portal-nav .admin-nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: stretch;
  border-left: 1px solid rgba(255,255,255,.22);
  padding-left: 8px;
}
.portal-nav .admin-nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 7px 12px;
  border: 0;
  border-radius: 7px;
  color: #e4c987;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.portal-nav .admin-nav-dropdown:hover > .admin-nav-trigger {
  color: #fff;
  background: #1d3555;
}
.portal-nav .admin-nav-dropdown > .admin-nav-dropdown-menu,
.portal-nav .admin-nav-dropdown:not(:hover) > .admin-nav-dropdown-menu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.portal-nav .admin-nav-dropdown:hover > .admin-nav-dropdown-menu {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  right: auto;
  min-width: 190px;
  padding: 7px;
  transform: translateX(-50%);
  z-index: 9999;
  border: 1px solid #dce3eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(16,33,58,.16);
}
.portal-nav .admin-nav-dropdown-menu a {
  display: block;
  padding: 9px 11px !important;
  border-radius: 5px;
  color: #334155 !important;
  font-size: 13px !important;
  line-height: 1.35;
  white-space: nowrap;
}
.portal-nav .admin-nav-dropdown-menu a:hover,
.portal-nav .admin-nav-dropdown-menu a.is-active {
  color: #152b49 !important;
  background: #fdf3df;
}
@media (max-width: 760px) {
  .portal-nav .admin-nav-dropdown { display: block; width: 100%; align-self: auto; border-left: 0; }
  .portal-nav .admin-nav-trigger { width: 100%; justify-content: space-between; }
  .portal-nav .admin-nav-dropdown:hover > .admin-nav-dropdown-menu {
    position: static;
    width: 100%;
    transform: none;
  }
}

/* Compact inline manage links and applicant comparison modal */
.inline-manage-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.action-link {
  padding: 4px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}
.action-link.is-view {
  color: #df5536;
}
.action-link.is-view:hover {
  background: #fff3ef;
}
.action-link.is-edit {
  color: #2563eb;
}
.action-link.is-edit:hover {
  background: #eff6ff;
}
.action-link.is-delete {
  color: #b91c1c;
}
.action-link.is-delete:hover {
  background: #fef2f2;
}
.action-sep {
  color: #cbd5e1;
  font-size: 12px;
  user-select: none;
}
.app-modal.compare-modal {
  width: min(100%, 1060px);
}
.compare-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  vertical-align: top;
  text-align: left;
  color: #304257;
}
.compare-table th:last-child,
.compare-table td:last-child {
  border-right: 0;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-table thead th {
  background: #f8fafc;
  color: #152b49;
  font-weight: 700;
}
.compare-table tbody th {
  width: 170px;
  background: #fbfcfd;
  color: #526174;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.compare-table td small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
}
.compare-head-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.compare-head-info {
  min-width: 0;
}
.compare-head-info small {
  display: block;
  color: #64748b;
  font-size: 11px;
}
.compare-head-info strong {
  display: block;
  color: #152b49;
  font-size: 14px;
  margin: 2px 0 4px;
}
.compare-avatar {
  width: 48px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  object-fit: cover;
  flex: 0 0 48px;
  background: #fff;
}
.compare-avatar.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 10px;
  background: #f1f5f9;
}
.compare-slip-thumb {
  max-width: 140px;
  max-height: 110px;
  border-radius: 8px;
  border: 1px solid #dce3eb;
  object-fit: contain;
  background: #fff;
  display: block;
}
.compare-diff-warn {
  color: #b45309 !important;
  font-weight: 700;
}

/* Application Review Page: soft pastel category cards, clear spacing, and back navigation */
.review-page .detail-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}
.review-page .detail-stack {
  gap: 26px;
}
.review-section {
  border: 1px solid #e2e8f0;
  border-top: 4px solid #cbd5e1;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 33, 58, 0.06);
  overflow: hidden;
  padding: 0;
}
.review-section-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid #e6edf3;
  background: #f8fafc;
}
.review-section-head h2 {
  margin: 0 0 2px;
  color: #152b49;
  font-size: 18px;
  line-height: 1.3;
}
.review-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}
.review-section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  background: #e2e8f0;
  color: #334155;
}
.review-section-body {
  padding: 22px 24px;
}

/* Soft pastel tones per category */
.review-section.tone-slate {
  border-top-color: #64748b;
}
.review-section.tone-slate .review-section-head {
  background: #f4f7fa;
}
.review-section.tone-slate .review-section-tag {
  background: #e2e8f0;
  color: #334155;
}

.review-section.tone-blue {
  border-top-color: #3b82f6;
}
.review-section.tone-blue .review-section-head {
  background: #f0f6ff;
  border-bottom-color: #dbeafe;
}
.review-section.tone-blue .review-section-tag {
  background: #dbeafe;
  color: #1d4ed8;
}

.review-section.tone-emerald {
  border-top-color: #10b981;
}
.review-section.tone-emerald .review-section-head {
  background: #eefaf4;
  border-bottom-color: #d1fae5;
}
.review-section.tone-emerald .review-section-tag {
  background: #d1fae5;
  color: #047857;
}

.review-section.tone-amber {
  border-top-color: #d97706;
}
.review-section.tone-amber .review-section-head {
  background: #fff8eb;
  border-bottom-color: #fde68a;
}
.review-section.tone-amber .review-section-tag {
  background: #fef3c7;
  color: #b45309;
}

.review-section.tone-indigo {
  border-top-color: #6366f1;
}
.review-section.tone-indigo .review-section-head {
  background: #f3f4ff;
  border-bottom-color: #e0e7ff;
}
.review-section.tone-indigo .review-section-tag {
  background: #e0e7ff;
  color: #4338ca;
}

.review-section.tone-teal {
  border-top-color: #0d9488;
}
.review-section.tone-teal .review-section-head {
  background: #eefbfa;
  border-bottom-color: #ccfbf1;
}
.review-section.tone-teal .review-section-tag {
  background: #ccfbf1;
  color: #0f766e;
}

.review-section.tone-neutral {
  border-top-color: #8b5cf6;
}
.review-section.tone-neutral .review-section-head {
  background: #f7f4ff;
  border-bottom-color: #ede9fe;
}
.review-section.tone-neutral .review-section-tag {
  background: #ede9fe;
  color: #6d28d9;
}

.review-section.tone-decision {
  border-top-color: #b78d43;
}
.review-section.tone-decision .review-section-head {
  background: #fdf8ec;
  border-bottom-color: #f3e4bd;
}
.review-section.tone-decision .review-section-tag {
  background: #f3e4bd;
  color: #8c651c;
}

.review-page .meta-table th,
.review-page .meta-table td {
  padding: 12px 10px;
}
.review-page .meta-table th {
  color: #526174;
  font-weight: 600;
}
.review-page .meta-table tbody tr:hover td,
.review-page .meta-table tbody tr:hover th {
  background: #f8fafc;
}
.review-sticky {
  position: sticky;
  top: 96px;
}
.review-footer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
  padding: 18px 22px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(16, 33, 58, 0.05);
}
.review-footer-bar .btn-pill-neutral {
  min-width: 196px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .review-page .detail-layout {
    grid-template-columns: 1fr;
  }
  .review-sticky {
    position: static;
  }
}
@media (max-width: 640px) {
  .review-section-head {
    padding: 14px 16px;
  }
  .review-section-body {
    padding: 18px 16px;
  }
  .review-footer-bar {
    justify-content: stretch;
  }
  .review-footer-bar > * {
    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Reports & Inspection Page */
.report-page {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.report-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.report-kpi-grid .staff-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.report-kpi-grid .staff-stat .stat-sub {
  margin-top: 8px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}

.alert-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.alert-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
}
.alert-card.is-ok {
  border-color: #d1fae5;
  border-left-color: #10b981;
  background: #f4fcf7;
}
.alert-card.is-warn {
  border-color: #fde68a;
  border-left-color: #d97706;
  background: #fffbf2;
}
.alert-card.is-danger {
  border-color: #fecaca;
  border-left-color: #dc2626;
  background: #fff5f5;
}
.alert-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.alert-card-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.35;
}
.alert-count-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.alert-count-badge.is-ok {
  background: #dcfce7;
  color: #15803d;
}
.alert-count-badge.is-warn {
  background: #fef3c7;
  color: #b45309;
}
.alert-count-badge.is-danger {
  background: #fee2e2;
  color: #b91c1c;
}
.alert-desc {
  margin: 0;
  color: #475569;
  font-size: 13.5px;
  line-height: 1.5;
}
.alert-list {
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.alert-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.alert-item-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
  font-size: 13.5px;
  color: var(--ink);
}
.alert-item-main strong {
  color: var(--navy);
}
.alert-item-main small {
  color: #64748b;
  font-size: 12.5px;
}

.report-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.report-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}
.report-chip.is-pending {
  background: #fff7e0;
  border-color: #f3d78a;
  color: #9a6700;
}
.report-chip.is-review {
  background: #eef5ff;
  border-color: #bfd8ff;
  color: #1d4ed8;
}
.report-chip.is-approved {
  background: #eaf8f0;
  border-color: #bbf7d0;
  color: #15803d;
}
.report-chip.is-rejected {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.report-total-row td {
  background: #f8fafc;
  border-top: 2px solid #cbd5e1;
  border-bottom: 0;
  color: var(--navy);
  font-weight: 600;
}

.report-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: 22px;
  align-items: start;
}
.log-list,
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0 4px 0 0;
  display: grid;
  gap: 10px;
  max-height: 540px;
  overflow-y: auto;
}
.log-item,
.comment-item {
  padding: 13px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
}
.log-item-top,
.comment-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.log-item-title {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--navy);
  font-size: 14px;
}
.log-item-title a,
.comment-item-top a {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}
.log-item-title a:hover,
.comment-item-top a:hover {
  text-decoration: underline;
}
.log-transition {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 700;
}
.log-item-meta,
.comment-item-meta {
  margin-top: 6px;
  color: #64748b;
  font-size: 12.5px;
}
.log-item-note,
.comment-item-body {
  margin-top: 8px;
  padding: 9px 12px;
  border: 1px solid #e6ebf1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.report-empty {
  padding: 28px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1024px) {
  .report-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 960px) {
  .alert-grid,
  .report-bottom-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .report-kpi-grid {
    grid-template-columns: 1fr;
  }
  .alert-list li {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media print {
  .report-page .header-actions,
  .report-page .staff-filter-bar,
  .report-page .btn-pill-action,
  .report-page .btn-pill-detail,
  .report-page .btn-pill-warning {
    display: none !important;
  }
  .log-list,
  .comment-list {
    max-height: none;
    overflow: visible;
  }
}
