/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[2]!../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[3]!./components/footer.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.footer_footer__mqdak {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  margin-top: auto;
}

.footer_inner__o6Jv8 {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer_top__ltdzl {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* ── Organization info ── */
.footer_org__DSheR h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer_org_en__FWmbq {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 12px;
  line-height: 1.4;
}

/* ── Contact ── */
.footer_contact__0CPlN {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer_contact_row__Qtyb1 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.footer_contact_row__Qtyb1 svg {
  flex-shrink: 0;
  color: var(--orange);
}

.footer_contact_row__Qtyb1 a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s;
}

.footer_contact_row__Qtyb1 a:hover {
  color: var(--orange);
}

/* ── Divider + copyright ── */
.footer_divider__tHcgX {
  border: none;
  border-top: 1px solid var(--navy-line);
  margin: 0;
}

.footer_copy__FuqJW {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin: 0;
}

@media (max-width: 600px) {
  .footer_top__ltdzl {
    flex-direction: column;
    gap: 20px;
  }
}

/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[2]!../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[7].use[3]!./components/navbar.module.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.navbar_navbar__vdWdK {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 245, 248, 0.85);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.navbar_container__dSoic {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ---------- Brand ---------- */
.navbar_brand__Fx_e1 {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.navbar_logo_icon__R1ic4 {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, #F0894E, #E8763A);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 6px 14px rgba(232, 118, 58, 0.35);
  flex-shrink: 0;
}

.navbar_brand_text__R8Puf h1 {
  font-size: 16px;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.1px;
}

.navbar_brand_text__R8Puf p {
  font-size: 11px;
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Spacer ---------- */
.navbar_spacer__DSAKl {
  flex: 1 1;
}

/* ---------- Nav Links ---------- */
.navbar_nav_links__TYrVX {
  display: flex;
  gap: 4px;
  align-items: center;
}

.navbar_link__dMU9o {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s;
}

.navbar_link__dMU9o:hover {
  color: var(--ink);
  background: #fff;
}

.navbar_link_active__UJMzX {
  color: var(--orange) !important;
  background: var(--orange-soft) !important;
}

/* ---------- User Pill ---------- */
.navbar_user_pill__yOYsu {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}

.navbar_user_pill__yOYsu:hover {
  border-color: var(--muted);
}

.navbar_avatar__g4orv {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
}

.navbar_user_pill_name__osqZ0 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.navbar_user_pill_email__Zbz8D {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
}

/* ---------- Dropdown ---------- */
.navbar_user_menu__OMHUB {
  position: relative;
}

.navbar_dropdown__43EV9 {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 1000;
  overflow: hidden;
  animation: navbar_dropIn__8Jp8M 0.15s ease;
}

@keyframes navbar_dropIn__8Jp8M {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.navbar_user_info__wkpZ5 {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.navbar_user_name__t_qJe {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

.navbar_user_email__LwskG {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.navbar_user_role__Kpygq {
  color: var(--muted);
  font-size: 11.5px;
  margin-top: 2px;
}

.navbar_dropdown_link__vtvKE {
  display: block;
  padding: 11px 16px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  transition: background 0.15s;
}

.navbar_dropdown_link__vtvKE:hover {
  background: var(--bg);
}

.navbar_logout_button__5eDuM {
  display: block;
  width: 100%;
  padding: 11px 16px;
  text-align: left;
  color: var(--reject-fg);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  background: none;
  border: none;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.15s;
}

.navbar_logout_button__5eDuM:hover {
  background: var(--reject-bg);
}

/* ---------- Login Button ---------- */
.navbar_login_button__cvMFD {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--orange);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 4px 12px rgba(232, 118, 58, 0.3);
}

.navbar_login_button__cvMFD:hover {
  background: var(--orange-dark);
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .navbar_nav_links__TYrVX {
    display: none;
  }

  .navbar_brand_text__R8Puf p {
    display: none;
  }
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/font/google/target.css?{"path":"app/layout.tsx","import":"Anuphan","arguments":[{"subsets":["thai","latin"],"weight":["400","500","600","700"],"display":"swap"}],"variableName":"anuphan"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* thai */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/b86b71495302ed8f-s.p.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/28ed2746e72fcf41-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/ce8d4b74114316ca-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/d877add5adc7a711-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/b86b71495302ed8f-s.p.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/28ed2746e72fcf41-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ce8d4b74114316ca-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/d877add5adc7a711-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/b86b71495302ed8f-s.p.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/28ed2746e72fcf41-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/ce8d4b74114316ca-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/d877add5adc7a711-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* thai */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/b86b71495302ed8f-s.p.woff2) format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* vietnamese */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/28ed2746e72fcf41-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/ce8d4b74114316ca-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: '__Anuphan_88e1f9';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_next/static/media/d877add5adc7a711-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: '__Anuphan_Fallback_88e1f9';src: local("Arial");ascent-override: 101.32%;descent-override: 27.18%;line-gap-override: 0.00%;size-adjust: 101.17%
}.__className_88e1f9 {font-family: '__Anuphan_88e1f9', '__Anuphan_Fallback_88e1f9';font-style: normal
}

/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!../../node_modules/.pnpm/next@14.2.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./styles/globals.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Design System — matching kmitl_user_flow.html prototype */
:root {
  --orange: #E8763A;
  --orange-dark: #D2692F;
  --orange-soft: #FBEADD;
  --navy: #1C2632;
  --navy-2: #26333F;
  --navy-line: #33414F;
  --bg: #F3F5F8;
  --card: #FFFFFF;
  --ink: #1C2632;
  --fg: #1C2632;
  --muted: #6E7A89;
  --line: #E7EBF0;

  --ready-bg: #E4F4EA;
  --ready-fg: #2C7A50;
  --pend-bg: #FDEEDC;
  --pend-fg: #BE742A;
  --info-bg: #E8EEF8;
  --info-fg: #2E5C8A;
  --reject-bg: #FBE6E6;
  --reject-fg: #C0392B;

  --radius: 16px;
  --shadow: 0 1px 2px rgba(28, 38, 50, 0.06), 0 8px 24px rgba(28, 38, 50, 0.05);
  --shadow-lg: 0 14px 30px rgba(28, 38, 50, 0.10);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Anuphan", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > main,
body > div {
  flex: 1 1;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 3px solid rgba(232, 118, 58, 0.45);
  outline-offset: 2px;
  border-radius: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--orange);
}

textarea {
  min-height: 78px;
  resize: vertical;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px 64px;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: var(--muted);
  font-size: 1.1rem;
}

.error {
  background-color: var(--reject-bg);
  color: var(--reject-fg);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  border-left: 4px solid var(--reject-fg);
}

.success {
  background-color: var(--ready-bg);
  color: var(--ready-fg);
  padding: 1rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  border-left: 4px solid var(--ready-fg);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin: 0 0 6px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}

.page-sub {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 15px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 14px;
  text-decoration: none;
}

.back-link:hover {
  color: var(--orange);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
}

.btn-pri {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(232, 118, 58, 0.30);
}

.btn-pri:hover {
  background: var(--orange-dark);
}

.btn-pri:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--muted);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-2);
}

.btn-danger {
  background: #fff;
  border: 1px solid #E7C3C3;
  color: var(--reject-fg);
}

.btn-danger:hover {
  background: var(--reject-bg);
}

.btn-block {
  width: 100%;
}

/* ---------- Cards & Panels ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Badge System ---------- */
.badge {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-block;
}

.badge.ready {
  background-color: var(--ready-bg);
  color: var(--ready-fg);
}

.badge.pending {
  background-color: var(--pend-bg);
  color: var(--pend-fg);
}

.badge.info {
  background-color: var(--info-bg);
  color: var(--info-fg);
}

.badge.reject {
  background-color: var(--reject-bg);
  color: var(--reject-fg);
}

/* ---------- Condition Chips ---------- */
.cond-chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 7px;
  background: #F1F4F8;
  color: #4B5A69;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---------- Grid System ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 18px;
  gap: 18px;
}

@media (max-width: 880px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

.cols-2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-gap: 22px;
  gap: 22px;
}

@media (max-width: 820px) {
  .cols-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Form Fields ---------- */
.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 7px;
}

.field .hint {
  color: var(--muted);
  font-weight: 400;
  font-size: 12.5px;
  margin-left: 4px;
}

/* ---------- Gate / Info Boxes ---------- */
.gate {
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  margin-bottom: 18px;
}

.gate.ok {
  background: var(--ready-bg);
  color: #1f5d3b;
}

.gate.warn {
  background: var(--pend-bg);
  color: #8a5418;
}

.gate.info {
  background: var(--info-bg);
  color: #274a6e;
}

/* ---------- KV Tags ---------- */
.kv-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.kv-tags span {
  font-size: 13px;
  color: var(--muted);
  background: #F4F6F9;
  padding: 7px 12px;
  border-radius: 9px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

